Yannick Chabbert
4ae735fae2
image serve view refactor for better DRY override
2016-05-17 16:34:21 +01:00
Matt Westcott
06af3fe33d
Account for deletions when constructing page paths for preview_on_create - fixes #2599
2016-05-17 16:03:15 +01:00
Matt Westcott
95aeda48f3
Release note for #2614
2016-05-17 15:58:30 +01:00
Matt Westcott
20f0140711
Prevent unsaved edit warning following validation errors on preview - fixes #2602
2016-05-17 15:56:41 +01:00
Matt Westcott
fc814298d1
Release note for #2613
2016-05-17 15:54:47 +01:00
Matt Westcott
b1c6063b41
Make preview window work on IE11
...
IE doesn't provide standard onload event listeners on opened windows, so this code did user-agent sniffing
on the string 'MSIE' to bypass the onload animation. This failed on IE11, which drops 'MSIE' from the
user agent string. The code now checks for the presence of addEventListener instead.
As a bonus, it now falls back on IE's (non-standard?) attachEvent method, so the animation now works on IE
after all.
2016-05-17 15:54:01 +01:00
Matt Westcott
83a11ecee4
Fix JS syntax error in DropDownController
2016-05-17 15:46:56 +01:00
Matt Westcott
a0c4dbd2d4
Release note for #2623
2016-05-16 18:09:16 +01:00
Matt Westcott
be1b2d3cad
Add some missing class="button" styles.
...
Also added type="button" to the up/down/delete controls in wagtailsearchpromotions, so that they don't get treated as submit buttons.
2016-05-16 18:09:16 +01:00
Matt Westcott
b8c1a0895e
Add default table icon for TableBlock
2016-05-16 14:57:24 +01:00
Mikalai Radchuk
1496f18977
Fixes buttoms in modeladmin
2016-05-13 13:27:48 +03:00
Mikalai Radchuk
477bb657c8
Fixes preview buttons for create page view
2016-05-13 12:39:15 +03:00
Mikalai Radchuk
7d4b01f07d
Fixes buttons for wagtailsnippets
2016-05-13 12:10:42 +03:00
riceyrice
0899c48117
Use cross-browser document.activeElement instead of (non-IE) event.target.activeElement
...
Conflicts:
CONTRIBUTORS.rst
2016-05-12 20:32:15 +01:00
Matt Westcott
0eaac1882c
Release note for #2605
2016-05-12 17:03:29 +01:00
Matt
a7262783f3
Force hallo to save changes after a paste or drag
2016-05-12 17:02:05 +01:00
Matt Westcott
024b96d0ed
Release note for #2414
2016-05-12 15:34:14 +01:00
Matt Westcott
6ff98a543b
Move custom user forms example to a new page under advanced_topics/customisation
2016-05-12 15:34:14 +01:00
nfletton
c4feb6462f
Add ability to override user creation and edit forms to allow custom user model
...
fields to be edited via Wagtail admin.
2016-05-12 15:34:14 +01:00
Mikalai Radchuk
4392680067
Fixes UnicodeEncodeError in wagtailforms
...
If you will create form field entry with unicode characters,
you will get `UnicodeEncodeError`. This commit fixes this bug.
2016-05-12 11:00:03 +01:00
Karl Hobley
d90c2a6c71
Changelog for #2476
2016-05-12 10:39:31 +01:00
Matt Westcott
72cf8c7bdb
Add Robert Moggach to contributors (ref #2165 , original suggestion for #2476 )
2016-05-12 10:34:49 +01:00
Matt Westcott
2de05fb14f
Make get_upload_to an overrideable method of AbstractRendition
2016-05-12 10:33:59 +01:00
Karl Hobley
9cd2bf6447
Changelog for #2585
2016-05-12 10:25:56 +01:00
Bojan Mihelac
0467e47951
Fixes RoutablePage throws a TypeError ( #2584 ) ( #2585 )
...
* Fixes RoutablePage throws a TypeError (#2584 )
FIX: RoutablePage throws a TypeError if index route is not set
* Reorder imports to prevent isort fail
2016-05-12 10:19:01 +01:00
Matt Westcott
e4ae108daa
Generate new strings for translation
2016-05-11 21:29:34 +01:00
Matt Westcott
41dd5e89c8
Set up translations for modeladmin and table_block apps
2016-05-11 21:17:56 +01:00
Juha Yrjölä
616a18aeff
Replace calls to __() with ugettext_lazy()
...
This makes xgettext discover the translatable strings.
2016-05-11 21:08:36 +01:00
Vincent Audebert
42b9fb893c
Fixing #2560 - changing z-index on class sequence-controls so we can see the controls on top of stream field menu
2016-05-11 17:17:15 +01:00
Mikalai Radchuk
7d9e297e75
Adds tests for form submissions filtering
...
Adds extra tests to `wagtailforms` for form submission filtering.
2016-05-11 17:04:28 +01:00
Matt Westcott
ac5aa73de9
add release note for link tooltips ( #2147 )
2016-05-11 16:58:00 +01:00
Matt Westcott
8ab3184731
Release note for #2147
2016-05-11 16:56:19 +01:00
Loic Teixeira
3e603edfc9
Add destination tooltip on links hover in RichText fields
2016-05-11 16:23:48 +01:00
Loic Teixeira
32c68b5060
Add ability to edit links in RichText editor
...
Instead of having the link button to remove an existing link,
it will open the chooser on the corresponding tab (page, link, email)
and pre-populate the form.
Therefore, a second button has been added to remove a link.
2016-05-11 16:23:47 +01:00
Matt Westcott
54e9e9c918
isort fix
2016-05-11 16:19:19 +01:00
Matt Westcott
9338fc2ac4
Release note for #1705
2016-05-11 15:45:42 +01:00
Moritz Pfeiffer
1525b8d7d1
Fixed continuous integration complaints.
2016-05-11 15:16:07 +01:00
Brad Busenius
53dfe6f5de
Added documentation for table_block.
2016-05-11 15:16:06 +01:00
Brad Busenius
5de352e41a
Moved the code in __init__.py to a module in order to fix the
...
AppRegistryNotReady error in Django 1.9.
2016-05-11 15:16:06 +01:00
Brad Busenius
78940e8be8
Added unit tests for table_block.
2016-05-11 15:16:06 +01:00
Brad Busenius
180001da95
Fixed an issue with the vertical resizing of tables after cell events,
...
fixed the responsive behaviour.
2016-05-11 15:16:06 +01:00
Brad Busenius
39a8713118
Added vertical spacing between checkbox clusters in the admin.
2016-05-11 15:16:05 +01:00
Brad Busenius
0d301d1d7c
Set the default cell renderer to "text" for handsontable and added an
...
"html" cell rendering option for those who need to override.
2016-05-11 15:16:05 +01:00
Brad Busenius
c8b42fa8cb
Fixed a bug with template rendering.
2016-05-11 15:16:05 +01:00
Brad Busenius
6e66b74a8d
Upgraded to handsontable 0.24.2.
2016-05-11 15:16:05 +01:00
Brad Busenius
1431876209
Added code to for resizing the table as rows are added.
2016-05-11 15:16:05 +01:00
Brad Busenius
21bc99c11d
Changed the way width is defined in getWidth to prevent the 'delete'
...
button from being pushed off the edge of the window.
2016-05-11 15:16:04 +01:00
Brad Busenius
126a073ecb
Removed "safe" filters to disallow HTML tags in the table cells.
2016-05-11 15:16:04 +01:00
Moritz Pfeiffer
311c2da421
Initial idea for a table stream field block using handsontable.js.
...
Fixed TableBlock exception at module load time.
Refactored table block into wagtail.contrib.table_block.
Removed unused imports.
2016-05-11 15:16:04 +01:00
Matt Westcott
4b7d691908
Avoid relying on non-deterministic ordering on test_group_edit_loads_with_page_permissions_shown
2016-05-11 11:25:01 +03:00