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
Matt Westcott
3a6018e7d4
Display username in password reset email - fixes #2240
2016-05-04 11:17:33 +01:00
Matt Westcott
5945ad8b28
upgrade gulp to 3.9.1
2016-05-03 21:50:45 +01:00
Matt Westcott
ab70c3c885
Avoid relying on permission_types ordering in test_group_edit_loads_with_page_permissions_shown
2016-05-03 20:49:02 +01:00
Matt Westcott
58f747b955
Forcibly delete ELASTICSEARCH_URL from environment to skip those tests unless --elasticsearch specified
2016-05-03 17:19:29 +01:00
Matt Westcott
eede616086
CSS lint fix
2016-05-03 16:53:06 +01:00
Matt Westcott
fcce9b8dc1
version-bump gulp-sass (the latest node-sass breaks compatibility with 2.0... I think)
2016-05-03 16:48:24 +01:00
Matt Westcott
796239b7d9
Add semi-transparent border around explorer menu
...
Fixes #2519 . Fix provided by @alexgleason
2016-05-03 15:49:54 +01:00
Tim Heap
b727ec4064
Add documentation on the base_form_class attribute
2016-05-03 14:00:21 +01:00
Matt Westcott
c495f02baf
Make elasticsearch switchable in tox, allow ES failures in travis
2016-05-03 13:54:26 +01:00
Matt Westcott
a226c7f5af
Handle blank forms in page / collection permission formsets - fixes #2389 ( #2540 )
2016-05-03 12:35:30 +01:00
Matt Westcott
db1e4aad15
Move tests for Page.base_form_class / get_form_class to wagtailadmin - fixes #2428
2016-05-03 12:12:10 +01:00
Tim Heap
80ad8ffc94
Do not get message classes from MESSAGE_TAGS
...
If the developer had overridden MESSAGE_TAGS in their site, Wagtail
messages used these classes in the admin. This caused the messages to
lose their styles.
Wagtail now ignores the MESSAGE_TAGS setting, using the default classes
defined in `django.contrib.messages.constants.LEVEL_TAGS`.
Fixes #2551
2016-05-03 11:42:26 +01:00
kapito
7de9b51f6f
Prevent spinner from spinning on required form entry
2016-05-03 00:03:38 +01:00