0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

12538 Commits

Author SHA1 Message Date
Matt Westcott
5ce89f11ff Split ajaxify code for the 'new' tab into its own function
This will be useful shortly when we move the form handling into its own view that renders that tab independently
2022-01-16 14:27:59 +10:00
Matt Westcott
284380672d add another helper method get_task_type_filter_choices 2022-01-16 14:27:59 +10:00
Matt Westcott
60ba39ffb5 replace get_task_result_data helper with more useful one get_task_chosen_response 2022-01-16 14:27:59 +10:00
Matt Westcott
2af6b35203 Move get_chooser_context helper inline
It's only used in one place
2022-01-16 14:27:59 +10:00
Matt Westcott
fb48f9863d Split out data retrieval methods from BaseTaskChooserView.dispatch
This ensures that we don't do redundant setup for sub-views that don't need it, e.g. setting up creation forms for the results-only view.
2022-01-16 14:27:59 +10:00
Matt Westcott
b3c765f14d Split search/pagination actions into their own view
rather than switching behaviour based on the presence of certain URL parameters
2022-01-16 14:27:59 +10:00
Matt Westcott
889ce5945a Move 'choose a different task type' link to create_form.html
This will let us refactor to only refresh the 'create' tab on the creation-related actions.
2022-01-16 14:27:59 +10:00
Matt Westcott
dd612b100c Use can_create as the condition for displaying the 'create one now' message
There are several cases where createform is unavailable here even if creation is possible: namely, when displaying the results partial response, and when the 'select task type' view is shown
2022-01-16 14:27:59 +10:00
Matt Westcott
225f0b12bf split up GET and POST cases 2022-01-16 14:27:59 +10:00
Matt Westcott
43c6a525a4 Split response rendering into its own method 2022-01-16 14:27:59 +10:00
Matt Westcott
04a08a7040 Swap around if/else clauses for request==POST and createform_class
This will make it easier to splitout the POST case later...
2022-01-16 14:27:59 +10:00
Matt Westcott
6c5f82bb7b Don't use HTTP 201 to distinguish creations versus validation errors
That's what 'step': 'task_chosen' versus 'step': 'chooser' in the modal response is for...
2022-01-16 14:27:59 +10:00
Matt Westcott
1437484260 Convert task chooser to a class-based view 2022-01-16 14:27:59 +10:00
Andy Babic
0063484368 Fix incorrect logging of 'move' actions as 'reorder' actions when target is an intended sibling 2022-01-16 14:26:25 +10:00
Jason Attwood
10f9de2459 Fix Dropdown issues in windows High contrast mode
- Fixes #7450
2022-01-16 14:09:45 +10:00
LB Johnston
efa21b7bf7 fix typo in release notes 2022-01-15 23:52:32 +10:00
Jason Attwood
a0e55cedee Fix comment buttons not displaying correctly in high contrast mode
- fixes #7459
2022-01-15 23:41:42 +10:00
Shariq Jamil
28d9ded998 Add border to help/warning blocks for high contrast mode
- ensures the content has visible separation in windows high contrast mode
- fixes #7447
2022-01-15 23:37:05 +10:00
Jérôme Lebleu
318d3d81a9 Make homepage site summary items responsive 2022-01-15 22:45:20 +10:00
Jérôme Lebleu
55be8f3763 Use SVG icon in homepage's site summary items 2022-01-15 22:45:20 +10:00
Krzysztof Jeziorny
8fa614eaf7 Render horizontal listing as a flex container
- Don't set fixed height on listed images
- Improve display of image listing for long image titles
2022-01-15 22:21:46 +10:00
Jason Attwood
bc3ce80f8c Fix gulp to correctly watch files 2022-01-15 22:11:48 +10:00
Matt Westcott
064f1926cd Set default submit button label on generic create views to 'Create' instead of 'Save'
As per #7763
2022-01-15 22:02:53 +10:00
LB Johnston
7def921880 update changelog for #7751 2022-01-15 21:46:21 +10:00
Thibaud Colas
a5b563fc07 Switch to npm ci instead of npm install 2022-01-15 21:44:36 +10:00
Thibaud Colas
940fd1d041 Document full integration test steps 2022-01-15 21:44:36 +10:00
Thibaud Colas
1c2ef89957 Support changing which origin the integration tests are run on 2022-01-15 21:44:36 +10:00
Thibaud Colas
7630bcf231 Fix package-lock.json package name 2022-01-15 21:44:36 +10:00
Thibaud Colas
60fe493999 Skip editbird tests 2022-01-15 21:44:36 +10:00
Thibaud Colas
44fd1852ee Trial browser tests in CircleCI 2022-01-15 21:44:36 +10:00
Scott Cranfill
bc7566104c
TypedTableBlock: Add borders to help visualize rows and columns (#7670)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-15 10:57:12 +00:00
Jake Howard
0a9b23979b Update links to wagtail.io website to point to wagtail.org
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
Jake Howard
e9183a95c8 Update docs links to reference new domain 2022-01-15 20:04:24 +10:00
LB (Ben Johnston)
1deed5f5af
Rename admin/expanding-formset.js (using kebab-case file) (#7833) 2022-01-15 01:00:02 +00:00
LB (Ben Johnston)
a7aabf76ac
modal-workflow - block additional opens & add trigger focus management (#7568). Fix #4006
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-15 00:47:23 +00:00
Matt Westcott
317f100a78 Release note for #7805 2022-01-14 17:21:27 +00:00
Matt Westcott
ec84b35761 Update move_breadcrumb markup to match explorer breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
d2c1392281 Include root and current section in breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
d927343ca8 Add test 2022-01-14 17:07:50 +00:00
Tidiane Dia
bc7e116c75 Style move breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
92477fb840 Add move breadcrumb 2022-01-14 17:07:50 +00:00
Tidiane Dia
a78996042e Set default page level to parent of page to move instead of root 2022-01-14 17:07:50 +00:00
Thibaud Colas
4809621259 Use more findable token for code to be removed
Co-authored-by: Karl Hobley <karl@kaed.uk>
2022-01-14 15:59:37 +00:00
Thibaud Colas
1547f0a6d3 Add borders to critical sidebar components for high-contrast mode 2022-01-14 15:59:37 +00:00
Thibaud Colas
df47d8650e Improve focus outline styles within sidebar 2022-01-14 15:59:37 +00:00
Thibaud Colas
1341b3c9c9 Implement support for branding_logo sidebar customisation in slim sidebar 2022-01-14 15:59:37 +00:00
Thibaud Colas
036fd3a4ac Fix visible scrollbars in new slim sidebar. Fix #7742 2022-01-14 15:59:37 +00:00
Karl Hobley
5e9525c92f Make API representation of Page.alias_of more consistent
This commit changes the API representation of Page.alias_of to match
Page.parent to improve consistency.

As the current implementation of Page.alias_of isn't released yet, we
can update this without concern for backwards compatibility.
2022-01-14 15:53:55 +00:00
Matt Westcott
917561355a Skip WAGTAILFORMS_HELP_TEXT_ALLOW_HTML test on Django 4.0 - 4.0.1
An unintended regression in these versions causes help text to be always escaped: https://code.djangoproject.com/ticket/33419
2022-01-14 14:23:56 +00:00
Matt Westcott
d596c4b99e Use assertTemplateUsed for redirect import view tests
In Django 4.0 the page template is not consistently the first item in response.templates.
2022-01-14 14:23:56 +00:00