Wykres commitów

13104 Commity (46977d6442fc7ffe6f49bb487b928e19f37f24ac)

Autor SHA1 Wiadomość Data
Stefan Hammer 46977d6442 Ignore common places for tests from makemessages
This also replaces some of the existing tweaks, which avoided strings
getting parsed by makemessages.
2022-06-12 15:34:39 +10:00
LB Johnston 2abe439064 ensure non-square avatar image will correctly overlay content
- fixes #8428
2022-06-12 15:26:11 +10:00
LB Johnston 06bf71296c redirects import page does not need header search JS
- relates to #7053
2022-06-12 15:23:59 +10:00
Lucie Le Frapper 1297b930e5 add accessible label for image focal point chooser input
- fixes #5309
2022-06-10 08:14:03 +10:00
Sage Abdullah 052115f261 Fix locale selector background color
- fixes #8588
2022-06-10 07:38:20 +10:00
Steve Steinwand ab92256b09 Fix sidebar rtl styles, add wagtail branding module to sidebar stories
- fixes #8641
2022-06-09 22:03:03 +10:00
PaarthAgarwal 1c3ae1ae92 Add tabs to pattern library
- Added tabbed interface to pattern library (storybook)
- Added tab nav link to pattern library (storybook)
- fixes #8632
2022-06-09 21:32:24 +10:00
Thiago Costa de Souza f42ec9ed6b convert documentation in advanced_topics from rst to md
- relates to #8383
2022-06-09 20:32:56 +10:00
BenedictFaw 952e57b916 Migrate docs for StreamField from md to rst
- relates to #8383
2022-06-09 20:21:50 +10:00
Sage Abdullah bd04b631b4 Make ReportView extend from generic IndexView 2022-06-09 20:06:17 +10:00
PaarthAgarwal 764d3bc1fd Adopted new Tabs in Workflow History Detail page
- resolves #8562
2022-06-09 17:32:47 +10:00
PaarthAgarwal dce74375d7 added new breadcrumbs to pattern library (storybook)
- resolves #8631
2022-06-09 17:23:30 +10:00
Thibaud Colas fbabd6ef5e Disable Webpack css-loader URL handling in Storybook. Fix #8646 2022-06-09 17:12:52 +10:00
Matt Westcott d641f6a9ac Restore previous styles for status tags in title cell 2022-06-08 17:35:40 +01:00
Matt Westcott c8c07839a0 Pick up show_locale_labels from the calling template 2022-06-08 17:35:40 +01:00
Matt Westcott 2ecb365da8 Remove unused _list_choose.html template 2022-06-08 17:35:40 +01:00
Matt Westcott ae57c0e5fb Convert browse results view to wagtail.admin.ui.tables framework 2022-06-08 17:35:40 +01:00
Matt Westcott d21cdad976 Convert search results view to wagtail.admin.ui.tables framework 2022-06-08 17:35:40 +01:00
Matt Westcott a3b1cb6c28 Add a page_type_display_name shortcut property 2022-06-08 17:35:40 +01:00
Matt Westcott b5a84ca46c Allow specifying classname on <tr> element 2022-06-08 17:35:40 +01:00
Matt Westcott 87db15927a Move _page_title_choose.html include contents into _list_choose.html 2022-06-08 17:35:40 +01:00
Matt Westcott 627cd12cec Incorporate parent_page into the main listing of the browse view
Rather than passing parent_page to the template separately and having to repeat the logic for what gets output, include it in the listing that we loop over.
2022-06-08 17:35:40 +01:00
Matt Westcott a3098acd53 Move parent page row into the `<tbody>` element
The general-purpose listing include put it in the `thead` to handle the explorer page design (where the parent page appears above the header row) - it isn't really meaningful for the chooser view to do that.
2022-06-08 17:35:40 +01:00
Matt Westcott f72d4d4437 Remove dead code from _list_choose.html
The context variables full_width, show_ordering_column, show_bulk_actions, parent_page_perms, page_perms, checkbox_aria_label, orderable, ordering are never used on any of the views in wagtail.admin.views.chooser (which are the only ones which use _list_choose.html), so any template code that switches on them is unused.
2022-06-08 17:35:40 +01:00
Matt Westcott a16d4e84ab Remove redundant parent_page argument when calling _list_choose.html from _search_results.html
_search_results.html is only called from wagtail.admin.views.chooser.search, which does not pass a parent_page context variable.
2022-06-08 17:35:40 +01:00
Matt Westcott 543e6d15e6 Expand template inheritance tree for _list_choose.html
No cleanup at this point - this is simply copying _list.html, pasting in _list_choose.html's block overrides at the appropriate points, and replacing the _navigation_choose.html and _page_parent_page_title_choose.html includes (which appear once here and nowhere else) with their full code.
2022-06-08 17:35:40 +01:00
Thibaud Colas 4eb35dbc0a Refactor styles to be loaded via single core.css file (#8419) 2022-06-07 13:26:58 +01:00
Thibaud Colas 2ab656a8d3 Move Wagtail’s stylesheets and vendor CSS & image files to client subfolder (#8419) 2022-06-07 13:26:58 +01:00
PaarthAgarwal 1f43d8ef51 Ensure TabbedInterface will not show a tab if no panels are shown
- If no panels show (due to permissions) the tab was still showing
- instead it is expected that the tabs should not show at all if empty
2022-06-02 22:12:55 +10:00
Stefan Hammer c2e366600f Add missing can_reorder_children() check, fixes #8458
Users which weren't allowed to reorder child pages (e.g. due to missing
"publish" permission), still saw the menu item to start reordering.
2022-06-02 08:26:31 +10:00
LB Johnston d253f4784f migrate Home (dashboard) to class based view
- resolves #8366
2022-06-02 08:17:37 +10:00
LB Johnston fd5218220e form builder - allow clean_name generation to be overridden
- adds a new class method to AbstractFormField `get_field_clean_name`
- resolves #6903
2022-06-02 08:07:24 +10:00
LB Johnston 6d0659333d fix spelling - behaviour vs behavior
- documentation should be using the British english spelling
- most other spelling is `behaviour` so this aligns with the majority
2022-06-02 07:56:05 +10:00
jacobtoppm a72b89b38d Tweak border: none to border: 0 to fix linting 2022-06-01 17:19:17 +01:00
Tidiane Dia 25c43273a9 Add docs and releases notes for `prefetch_renditions` method
Also add tests to ensure example in docs works fine.
2022-06-01 16:51:35 +01:00
Tidiane Dia 11bcfb1efc Prefetch renditions in image index and chooser views
Add tests
2022-06-01 16:51:35 +01:00
Tidiane Dia 2a4977eef2 Test prefetch_renditions_method 2022-06-01 16:51:35 +01:00
Tidiane Dia 6dd02460a8 Return all renditions when no filters are provided to the prefetch_renditions method 2022-06-01 16:51:35 +01:00
Tidiane Dia 52ace9eae7 Add prefetch_renditions method on Image queryset manager
Update logic when creating and looking for a rendtion
2022-06-01 16:51:35 +01:00
jacobtoppm ec649331a3 Release notes for #8590 and #8430 2022-06-01 16:51:33 +01:00
Tidiane Dia ffa4530d1e Update screenshots in the editor guide's section for images 2022-06-01 16:50:25 +01:00
Tidiane Dia 5af282625d Make images listing style consistent across views 2022-06-01 16:50:25 +01:00
Tidiane Dia 562518dcae Decrease horizontal space between dropdowns and remove grey lines around images 2022-06-01 16:50:25 +01:00
Tidiane Dia 1a4222c5ff Set default number of entries to 30 and update tests 2022-06-01 16:50:25 +01:00
Tidiane Dia 8eebe0f795 Add tests for number of images shown per page 2022-06-01 16:50:25 +01:00
Tidiane Dia 69eab15527 Update dropdown and listing style in images index view 2022-06-01 16:50:25 +01:00
Tidiane Dia a5e5f46b2d Group filter select fields in images listing view 2022-06-01 16:50:25 +01:00
Tidiane Dia 4452600dc9 Increase INDEX_PAGE_SIZE to widen choices in entries per page dropdown and update tests 2022-06-01 16:50:25 +01:00
Tidiane Dia cc09910eea Add ability to select number of images shown per page 2022-06-01 16:50:25 +01:00
Tidiane Dia bf0ecae7bf Drop jQuery-related usage in images index template 2022-06-01 16:50:25 +01:00