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

13337 Commits

Author SHA1 Message Date
anujaraj
3f0a648181
Make progress bars’ progress visible in forced colors mode (#8719)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-10 00:18:39 +01:00
Jaap Roes
12ba7d8161 Fixed #8809 -- ExcelDateFormatter generates invalid format strings (#8811)
The format strings generated previously would not work correctly in macOs Preview and Numbers
2022-07-07 13:23:54 +01:00
Kyle
d967eccef2
Add generic settings to compliment site-specific settings (#8327) 2022-07-06 11:01:02 +01:00
LB Johnston
dbac4335c2 update changelog for eslint clean up items
- #8749
- #8764
- #8750
- #8748
- #8737
2022-07-06 19:28:25 +10:00
LB Johnston
d57021e1cc clean up eslint for test files
- disable general rules to make writing tests simpler
2022-07-06 19:28:25 +10:00
LB Johnston
b66d2232d0 remove needless stylelint disables 2022-07-06 19:23:38 +10:00
LB Johnston
220fedaec9 cleanup - add noop function for common usecase
- this avoids the need to add ignoring where used legitimately
2022-07-06 19:23:14 +10:00
LB Johnston
510a6bf350 utils/text - move cleanForSlug into same file & add tests/jsdoc 2022-07-06 19:22:04 +10:00
LB Johnston
0dfa39d3c5 eslint - remove react/jsx-no-useless-fragment ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
f6107166ed eslint - remove react/jsx-filename-extension ignoring as already set up in global 2022-07-06 19:21:35 +10:00
LB Johnston
441a32fb22 eslint - remove react/jsx-curly-brace-presence ignoring & format 2022-07-06 19:21:35 +10:00
LB Johnston
14c4bcff68 eslint - remove anchor-is-valid ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
8e13985bc0 eslint - remove jsx-a11y/alt-text ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
3bd71ec03c eslint config - move react specific legacy ignoring to separate section 2022-07-06 19:21:35 +10:00
PaarthAgarwal
79a212b4b5 added prefix w- before header classes
- refine existing scss to use classes & remove unused scss
2022-07-06 19:13:19 +10:00
LB Johnston
cff9aac514 remove commented out css 2022-07-06 19:13:19 +10:00
PaarthAgarwal
3b9c9fce5b adopt the shared header include in the dashboard (home) view 2022-07-06 18:30:08 +10:00
PaarthAgarwal
e2d4cb7745 add classnames template tag for generating classnames
- use classnames template tag in shared header template
- add classname as documented variable for the shared header template
2022-07-06 18:30:08 +10:00
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