0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

13319 Commits

Author SHA1 Message Date
Thibaud Colas
524cab82e3 Introduce new template fragment composition tags 2022-07-06 18:18:21 +10:00
sag᠎e
952edd84c7
Add breadcrumbs and new Page Editor side panels to Snippets views (#8623) 2022-07-05 17:37:14 +01:00
Sandeep M A
bc0f561240 documentation - migrate reference/pages/theory + index to markdown 2022-07-05 22:05:20 +10:00
Sævar Öfjörð Magnússon
4ef7323fdb documentation - convert contributing files from rst to markdown 2022-07-05 21:45:28 +10:00
Sævar Öfjörð Magnússon
a33563b685 documentation - contributing - rename files to markdown 2022-07-05 21:45:28 +10:00
Matt Westcott
2eac872e82 Bump beautifulsoup4 to 4.11.x
Fixes #8797
2022-07-05 12:06:47 +01:00
LB Johnston
77a8f76c97 documentation - add cross-reference to field panel permissions
- permissions page had no reference to the newly introduced permission kwarg on FieldPanel
- fix minor typo
2022-07-05 20:45:13 +10:00
LB Johnston
bdf0f21fdb add file names to general guidelines 2022-07-05 20:44:10 +10:00
LB Johnston
286a26a23d rename files to lower_snake_case 2022-07-05 20:44:10 +10:00
LB Johnston
6b4a551c0b Revert "Add legacy and new status tags to the pattern library" #8665
This reverts commit daa47baddd.
Resolves #8798
2022-07-05 20:41:17 +10:00
Matt Westcott
c0fc2c984e Consistently prefix document chooser views with Document 2022-07-04 19:01:28 +01:00
Matt Westcott
dbdd218864 Upgrade consideration note for change of document/snippet URL route names 2022-07-04 19:01:28 +01:00
Matt Westcott
c4759192e3 Use chooser viewset to construct document chooser widget 2022-07-04 19:01:28 +01:00
Matt Westcott
4e1a1eea30 move view properties to viewset where possible 2022-07-04 19:01:28 +01:00
Matt Westcott
f2797d49b6 Register document chooser views as a viewset 2022-07-04 19:01:28 +01:00
Matt Westcott
186711057a derive DocumentChooseViewMixin from ChooseViewMixin 2022-07-04 19:01:28 +01:00
Matt Westcott
6651fc5087 Derive BaseDocumentChooseView from BaseChooseView 2022-07-04 19:01:28 +01:00
Matt Westcott
16ea847aca Split out a method for getting json_data to pass to chooser view 2022-07-04 19:01:28 +01:00
Matt Westcott
b301fb17a7 Further reshuffles to match generic views as closely as possible 2022-07-04 19:01:28 +01:00
Matt Westcott
e52a56d0a9 shuffle out a columns property and make code match generic view code a bit more 2022-07-04 19:01:28 +01:00
Matt Westcott
036a2f5afa drop the now-redundant wagtaildocs/chooser/chooser.html template 2022-07-04 19:01:28 +01:00
Matt Westcott
f83357eea2 Make a can_create flag available on the generic chooser view
to be used for "would you like to create one now?" messages
2022-07-04 19:01:28 +01:00
Matt Westcott
84cb4b6ffa Add filter_form accessors to document BaseChooseView to match the generic view code 2022-07-04 19:01:28 +01:00
Matt Westcott
dc99bd02c1 Change create tab ID back to 'upload'
This allows the 'upload one now' link to work again without having to update the translation string (which has tab-upload hard-coded)
2022-07-04 19:01:28 +01:00
Matt Westcott
cbe8e3e794 move collection chooser into filter form 2022-07-04 19:01:28 +01:00
Matt Westcott
7fd45a6693 Use a CollectionQuerySet method to simplify displaying indented collection lists 2022-07-04 19:01:28 +01:00
Matt Westcott
988b7c8c39 Use ChooseResultsViewMixin for document chooser results view 2022-07-04 19:01:28 +01:00
Matt Westcott
f130141147 Use CreateViewMixin for document upload view 2022-07-04 19:01:28 +01:00
Matt Westcott
89de23de58 Use CreationFormMixin for document chooser views that work with upload forms 2022-07-04 19:01:28 +01:00
Matt Westcott
52696c467c Add CreationFormMixin to ChooseResultsView
Among other creation-form-related methods, this makes `can_create` available on the results view, which is useful for selectively outputting the "no objects found; would you like to create one now?" message.
2022-07-04 19:01:28 +01:00
Matt Westcott
ee1867e766 Add some more customisation hooks to creation form handling 2022-07-04 19:01:28 +01:00
Matt Westcott
7563b3d52b Use DocumentChosenResponseMixin for upload view 2022-07-04 19:01:28 +01:00
Matt Westcott
e23bb1cec6 Convert document chooser upload view to a class-based view 2022-07-04 19:01:28 +01:00
Matt Westcott
0159913261 use generic creation_form.html for document chooser upload template 2022-07-04 19:01:28 +01:00
Matt Westcott
5244d005ce Use generic ChosenView on document chooser 2022-07-04 19:01:28 +01:00
Matt Westcott
3b993611b0 Inherit from generic chooser.html template 2022-07-04 19:01:28 +01:00
Matt Westcott
aa42e075f3 Inherit from generic chooser results template 2022-07-04 19:01:28 +01:00
Matt Westcott
a39e12433b Use ContextMixin for document chooser views 2022-07-04 19:01:28 +01:00
Matt Westcott
14a56b99b0 Split out a get_object_list method 2022-07-04 19:01:28 +01:00
Matt Westcott
20ffd8cf9c Add permission check for creation form 2022-07-04 13:48:35 +01:00
Matt Westcott
f1bf6b3463 Add POST handling to create view 2022-07-04 13:48:35 +01:00
Matt Westcott
30054eda39 Add a 'create' view with a GET request handler 2022-07-04 13:48:35 +01:00
Matt Westcott
4dd3483617 Add a (non-functional) 'create' form to generic chooser modal 2022-07-04 13:48:35 +01:00
Matt Westcott
960dba276e Add ID for "non-existent field" system check
Partially addresses #8762.
2022-07-04 12:02:04 +01:00
LB Johnston
04839f7caf Migrate Portal React component to Typescript 2022-07-04 11:57:28 +01:00
LB Johnston
d9350bc91b add react-dom types so that Portal is correctly recognised 2022-07-04 11:57:28 +01:00
Sage Abdullah
291538ca1d Add test for ensuring side panel ordering 2022-07-04 11:43:15 +01:00
Sage Abdullah
c6e6f46c29 Sort side panels by order 2022-07-04 11:43:15 +01:00
Sage Abdullah
80643e0680 Extract BaseSidePanels from PageSidePanels 2022-07-04 11:43:15 +01:00
Sage Abdullah
dcc91b7857 Extract get_status_templates() to define status templates to include 2022-07-04 11:43:15 +01:00