0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

6441 Commits

Author SHA1 Message Date
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
Liam Brenner
ca846a5941 Add logout success message 2016-05-10 20:08:57 +03:00
Liam Brenner
05be39e85f Add spinner/button longrunning class to settings save button 2016-05-10 19:59:07 +03:00
Karl Hobley
e72b25f61c Make api_fields a list
All other model attribute settings in Wagtail use lists now. This commit changes the api_fields docs to use a list as well.

Both list and tuple work, but list is now the recommended option
2016-05-10 19:35:41 +03:00
Karl Hobley
fcd2aa023c Support field widget media inside streamfield blocks 2016-05-10 17:17:41 +03:00
Karl Hobley
948bdf8d3c Tweaks to image serve view docs (#2588)
- key => signature
- Added "Advanced configuration" section (the last bit of the docs doesn't really fit into the general usage section above)
-
2016-05-10 14:56:12 +01:00
Karl Hobley
9dcc12ac55 Fix a typo in model reference 2016-05-10 14:28:34 +01:00
Karl Hobley
7d58b677ca RoutablePageMixin.subpage_urls no longer used (#2586) 2016-05-10 14:23:22 +01:00
Matt Westcott
703ee3edf5 Update release notes / contributors with new translations imported into 1.4.4 2016-05-10 11:28:46 +01:00
Matt Westcott
db449bff2a Remove 'perspective' declarations from explorer CSS - fixes #2549 2016-05-10 10:09:20 +01:00
Matt Westcott
7aaab7b52d Fix for #2519 is now in 1.4.x (and also fixes #2549) 2016-05-09 19:08:52 +01:00
Liam Brenner
75295209bb Added auto resizing text field, richtext field, and snippet chooser to styleguide
Fix button on styleguide linking to the add an image page
2016-05-09 12:56:47 +03:00
Tim Heap
facd66cf82 Use code-block:: python for a code example in docs 2016-05-08 04:59:34 +02:00
Philipp Dieter
d247fe9bf6 Fix name of ForeignKey object 2016-05-08 04:50:37 +02:00
Mario César
b95cc1e687 Update decorator patterns util to preserve original view method name when introspecting.
When decorate_urlpatterns apply a decorator to a view function it lost spec names, docs, and the module where it was imported, making it uneasy to inspect when debugging (Like getting the name view and docs when using django-debug-toolbar)

Using functools.update_wrapper it updates the resulting function to look like the original wrapped view function.

Without the use of this decorator factory, the name of the wrapped view function would have been 'decorated_view'.
2016-05-08 04:44:30 +02:00
Matt Westcott
6b6866345e freeze NPM packages at a point in time when they actually appear to collectively work 2016-05-04 16:24:37 +01:00
Matt Westcott
3b0c074ba7 Eliminate duplication of dependencies in tox.ini
Fixes #2317
2016-05-04 14:12:27 +01:00
Josh Schneier
6d1a9efbb6 Update documentation and code to put mixin first 2016-05-04 14:05:33 +01:00
Karl Hobley
629deeba68 Changelog/release note for #2528 2016-05-04 12:29:21 +01:00
Karl Hobley
fdfbe689b4 Use user.get_username() instead of custom template tag
As per Matthew's comment: https://github.com/torchbox/wagtail/pull/2528#issuecomment-215398952
2016-05-04 12:29:06 +01:00