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

7950 Commits

Author SHA1 Message Date
Matt Westcott
ab93d58006 Remove MSSQL special-casing in _update_descendant_url_paths
Fixes #4183
2018-01-09 13:52:09 +00:00
Bertrand Bordage
5f465276a1 window.history.pushState → replaceState.
No longer floods the history.
2018-01-08 15:29:22 +01:00
Bertrand Bordage
bffd5a2c45 Partially reverts 07f157a to fix add buttons. 2018-01-08 15:09:54 +01:00
Matt Westcott
58a88c380c Fix test migration sequence 2018-01-08 10:02:23 +00:00
Johan Arensman
815cb6e405 Use class based views instead of function views
Changes `index`, `delete_submissions` and `list_submissions`.
Adjusted view tests to properly test the new class based structure.
remove get_field_ordering from FormPage model - now on view
2018-01-08 16:27:09 +10:00
LB
161b47d436 make font more readable 2018-01-06 11:00:08 +10:00
Matt Westcott
bcc93806bd Fix anchor syntax 2018-01-05 16:33:33 +00:00
Matt Westcott
3da8dce3fc Release note for #4079 2018-01-05 16:18:18 +00:00
Matt Westcott
b9a548f424 Update documentation for rich text element whitelisting 2018-01-05 16:15:59 +00:00
Matt Westcott
670bce0c4d Move admin-specific bits of rich text setup from wagtail.core.wagtail_hooks into wagtail.admin.wagtail_hooks 2018-01-05 16:15:59 +00:00
Matt Westcott
0f42c7af9e Replace register_link_handler_rules and register_embed_handler_rules with register_converter_rule 2018-01-05 16:15:59 +00:00
Matt Westcott
68d09e15e7 Register whitelister rules through register_converter_rule 2018-01-05 16:15:59 +00:00
Matt Westcott
0316b83541 rename expand_db_attributes_for_editor to expand_db_attributes, now it doesn't need to differentiate from front-end conversion 2018-01-05 16:15:59 +00:00
Matt Westcott
0262c7de00 Decouple frontend link/embed rewriters from editorHTML handling in FeatureRegistry 2018-01-05 16:15:59 +00:00
Matt Westcott
3e1ab7e74f Add a feature-aware HTMLConverter object to handle editorHTML / dbHTML conversion in both directions 2018-01-05 16:15:59 +00:00
Matt Westcott
e65c5a6106 Move DbWhitelister into wagtail.admin.rich_text.converters.editor_html 2018-01-05 16:15:58 +00:00
Matt Westcott
c60d9b7cc8 Move wagtail.admin.rich_text to a subdirectory 2018-01-05 16:15:58 +00:00
Matt Westcott
622d6511e5 Register embed/link handlers through rich text features instead of hooks
expand_db_html simply uses all registered handlers at this point, since it's a global function that can't be customised through features
2018-01-05 16:15:58 +00:00
Matt Westcott
28106a2227 Move expand_db_html logic into configurable 'rewriter' classes 2018-01-05 16:15:58 +00:00
Matt Westcott
a6eb279652 Split expand_db_attributes methods of link/embed handlers into for_editor and non-editor methods 2018-01-05 16:15:58 +00:00
Matt Westcott
81f7fc5968 Move FeatureRegistry to a submodule wagtail.core.rich_text.feature_registry 2018-01-05 16:15:58 +00:00
Matt Westcott
a6f5514941 Move PageLinkHandler to a submodule wagtail.core.rich_text.pages 2018-01-05 16:15:58 +00:00
Matt Westcott
443a046eb1 Make wagtail.core.rich_text into a subdirectory for reorganising further 2018-01-05 16:15:58 +00:00
Matt Westcott
2405183cc2 Allow whitelist element rules to be defined through rich text features 2018-01-05 16:15:57 +00:00
Matt Westcott
721bb538a0 Register default rich text features in wagtailcore rather than wagtailadmin 2018-01-05 16:15:57 +00:00
Matt Westcott
d79e180e1c Have DbWhitelister instances maintain their own embed_handlers / link_handlers lists 2018-01-05 16:15:57 +00:00
Matt Westcott
23be8493a4 Refactor whitelist classes to manage element_rules on a per-instance basis 2018-01-05 16:15:57 +00:00
LB
d6da38892a add wagtail colours to docs sidebar 2018-01-05 14:51:05 +10:00
Matt Westcott
21c5c7cc67 Release note for #4021 2018-01-04 15:31:17 +00:00
Janneke Janssen
c7a418b1c3 Remove jquery migrate URL from the template 2018-01-04 15:28:10 +00:00
Janneke Janssen
c1a606f5bf Remove previous jQuery versions which reappeared due to the rebase 2018-01-04 15:28:10 +00:00
Janneke Janssen
fa97e96cda Update rangy-core 2018-01-04 15:28:10 +00:00
Janneke Janssen
293bdf8a44 Replace instances of pipe in fileupload with then 2018-01-04 15:28:10 +00:00
Janneke Janssen
82e5cb2cf9 Revert to data.submit since data is an object and not a jQuery element 2018-01-04 15:28:10 +00:00
Janneke Janssen
9a2b1ee454 Replace $.parseJSON with JSON.parse 2018-01-04 15:28:10 +00:00
Janneke Janssen
cd9cb66ca6 Update migration warnings from jquery.fileupload 2018-01-04 15:28:10 +00:00
Janneke Janssen
fc142fcb81 [FIX] jquery.jcrop migration errors 2018-01-04 15:28:10 +00:00
Janneke Janssen
dbc83738d8 Do not use trigger since this.form is a DOM Element and not a jQuery element 2018-01-04 15:28:10 +00:00
Janneke Janssen
9fbb99217a Add upgraded jQuery and jQuery UI to the codebase 2018-01-04 15:28:10 +00:00
Janneke Janssen
3df9af69a0 jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack() 2018-01-04 15:28:10 +00:00
Janneke Janssen
fb9ccb8172 Hallo.js deprecation fixes 2018-01-04 15:28:10 +00:00
Janneke Janssen
f22bed7bbe Update modal choosers 2018-01-04 15:28:10 +00:00
Janneke Janssen
7ec6ec98c5 Update hallo.js and tag-it.js 2018-01-04 15:28:10 +00:00
Janneke Janssen
9d6eea52ee Replace jQuery.fn.event() shorthand with trigger 2018-01-04 15:28:10 +00:00
Janneke Janssen
3120cb47dc Replace jQuery.fn.bind() with jQuery.fn.on() and jQuery.fn.unbind() with jQuery.fn.off() 2018-01-04 15:28:10 +00:00
Janneke Janssen
8e62b215a4 Test the jQuery UI upgrade 2018-01-04 15:28:10 +00:00
Janneke Janssen
44cf610be7 Change method to on instead of trigger due to a method argument 2018-01-04 15:28:10 +00:00
Janneke Janssen
bb6ed6102e Replace jQuery.fn.event() shorthand with trigger if called without a method 2018-01-04 15:28:10 +00:00
Janneke Janssen
2803c47f08 Replace jQuery.fn.event() shorthand with on 2018-01-04 15:28:10 +00:00
Janneke Janssen
d4ce81b605 Migrate window.resize 2018-01-04 15:28:10 +00:00