Commit graph

7976 commits

Author SHA1 Message Date
Patrick Woods
c9704caf17 Documentation edits 2018-01-15 22:58:00 +00:00
Patrick Woods
7d43a45dd3 Specific messaging when scheduling revisions for live pages 2018-01-15 22:58:00 +00:00
Patrick Woods
3f0972507b Initial scheduled publishing documentation. 2018-01-15 22:58:00 +00:00
Patrick Woods
bb1094848f Unschedule view 2018-01-15 22:58:00 +00:00
Patrick Woods
e2b5f65a13 Unschedule buttons, url, and stub view 2018-01-15 22:58:00 +00:00
Patrick Woods
d44d43b8a7 Revisions list Scheduled revision indicator 2018-01-15 22:57:59 +00:00
Patrick Woods
ad440ff060 New status string to indicate [live + scheduled] 2018-01-15 22:57:59 +00:00
Patrick Woods
52e76095d9 We only need to test the writeability of first_published_at.
We don't need to update go_live_at and expire_at to test it.
2018-01-15 22:57:59 +00:00
Patrick Woods
0a6db9bd05 Tests to cover scheduling with already live pages 2018-01-15 22:57:59 +00:00
Patrick Woods
ec953d1ae8 Update Current Scheduling tests to have a non live Page 2018-01-15 22:57:59 +00:00
Patrick Woods
9a0e02c14f Don't run through publish workflow if page has existing live revision 2018-01-15 22:57:59 +00:00
Patrick Woods
702ac03f7e Store original revision go_live_at for messaging purposes 2018-01-15 22:57:59 +00:00
Matt Westcott
5fc191b116 Simplifies edit handlers by removing redundant classes.
This also allows to provide some missing arguments to panels like PageChooserPanel.
2018-01-13 17:21:36 +00:00
Chris Bledsoe
3d945d0255 extract get_template method to allow overriding template on instances of blocks
to allow for customization and make the Block type mirror how the Page model allows for a get_template method to override it.

add per contrib guidelines
2018-01-11 16:03:22 +00:00
Tom Dyson
49bc130b16 simple Dockerfile 2018-01-11 15:25:23 +00:00
Bruno Alla
be164048b8 Add setting to disable notification to superusers -- Fixes #3969
WAGTAILADMIN_NOTIFICATION_INCLUDE_SUPERUSERS, default to True
If set to False, superusers do not receive moderation notification,
only moderators do.
2018-01-10 17:26:02 +00:00
Matt Westcott
713520d197 Fix test migration sequence 2018-01-10 15:41:26 +00:00
Matt Westcott
7e66660b30 Add some rather important forgotten release notes 2018-01-10 15:40:11 +00:00
Matt Westcott
6537af0473 Release note for #4185 2018-01-10 15:33:20 +00:00
LB
29113e49e2 compare related models using PK not ID 2018-01-10 15:30:37 +00:00
LB
ee4358e7c0 add test model for related field using PK not ID 2018-01-10 15:30:37 +00:00
LB
3eac584c7c Make FormBuilder more easy to extend 2018-01-10 19:04:42 +10:00
LB
149a531852 Release note for #3812 2018-01-10 16:41:19 +10:00
Matt Westcott
d69f231cdd Add appconf for ModelAdmin 2018-01-10 00:31:25 +00:00
Matt Westcott
75c2f54e04 Fix default_app_config for wagtail.api.v2 2018-01-10 00:31:25 +00:00
Matt Westcott
61462401c7 Add missing appconfs for settings, table_block and sites 2018-01-10 00:31:25 +00:00
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