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

13469 Commits

Author SHA1 Message Date
LB Johnston
18ad15a18f changelog entry for #8922
- resolves #8818
2022-07-31 04:11:07 +10:00
LB Johnston
22e904fb01 Refine dashboard design - summary panels
* Update colours and icons for summary panels
* add h1 id for aria referencing
* rework layout to use flex box & not floats
* move summary styles to own component scss file
* now functions correctly in RTL mode
2022-07-31 04:11:07 +10:00
PaarthAgarwal
684c173729 Refine dashboard design - header
* Updated header - updated avatar alignment, use theme variables
* pulled header_description out of h1, added info of header_description
* #8818
2022-07-31 04:11:07 +10:00
Jaap Roes
649a8623a0 Correctly validate from/to column index in redirect import
- fixes #8813
- relates to #6913 #8814
- add file hash check to ensure that no content can be tampered with mid-request after form submis
2022-07-30 17:54:02 +10:00
PaarthAgarwal
37b83a3976 updated page listings header to new designs
- fixes #8868
2022-07-30 17:30:21 +10:00
Scott Cranfill
f72aec9b61 Ensure consistent sidebar icon position whether expanded or collapsed
Adding vertical margin gives them same height when collapsed as the text with line-height when expanded.
2022-07-30 17:22:49 +10:00
PaarthAgarwal
bcb5b2baac fix breadcrumbs for root page on page listing
- when breadcrumbs show in the root page - it is the only item
- ensure the content is inset so that it shows correctly
2022-07-26 22:46:24 +10:00
PaarthAgarwal
887a259723 added translate button to header actions dropdown, removed all the instances of is_parent
- Fixed failing tests, added check for simple_translations enabled
- resolves #8866
2022-07-26 22:36:35 +10:00
PaarthAgarwal
2a751e9b00 updated help block colours & link styles
- resolves #8896
2022-07-26 22:01:12 +10:00
LB (Ben Johnston)
7313419fc9
add links to styleguide help blocks for easier validation (#8899) 2022-07-25 13:59:55 -04:00
LB Johnston
dc61036614 changelog for #8777 & #8778 2022-07-23 11:33:01 +10:00
Matt Westcott
157f7674bc Eliminate the custom response name 'imageChosen' 2022-07-23 11:33:01 +10:00
Matt Westcott
dec7cdd9bf Deprecate createImageChooser 2022-07-23 11:33:01 +10:00
Matt Westcott
89d89334ca Make ImageChooser a subclass of Chooser
Need to split out a Chooser.initHTMLElements method so that we can set up this.previewImage before using it in getStateFromHTML.
2022-07-23 11:33:01 +10:00
Matt Westcott
20d941cfbf eliminate jquery from ImageChooser 2022-07-23 11:33:01 +10:00
Matt Westcott
57562c0f3a Refactor an ImageChooser class out of createImageChooser
Use the client/src/components/ChooserWidget Chooser class as a guide, but don't copy code from there (so that any image-specific customisations don't get lost in translation)
2022-07-23 11:33:01 +10:00
Matt Westcott
870b1df5e7 Rename getStateFromHtml to getStateFromHTML
because that matches things like innerHTML, and it'll be annoying to change once it's used in the wild
2022-07-23 11:11:08 +10:00
Matt Westcott
6dba0cf447 Eliminate the custom response name 'documentChosen' 2022-07-23 11:11:08 +10:00
Matt Westcott
61d45e3150 Deprecate createDocumentChooser 2022-07-23 11:11:08 +10:00
Matt Westcott
049bb340c9 Make DocumentChooser a subclass of Chooser
Remove pretty much the entire implementation because it's identical :-)
2022-07-23 11:11:08 +10:00
Matt Westcott
b87585d044 eliminate jquery from DocumentChooser 2022-07-23 11:11:08 +10:00
Matt Westcott
96c92d4a68 Refactor a DocumentChooser class out of createDocumentChooser
Use the client/src/components/ChooserWidget Chooser class as a guide, but don't copy code from there (so that any snippet-specific customisations don't get lost in translation)
2022-07-23 11:11:08 +10:00
LB Johnston
1849122e5f documentation - update reference/contrib content to markdown 2022-07-23 10:42:06 +10:00
LB Johnston
4169d959fc documentation - rename reference/contrib files to .md 2022-07-23 10:42:06 +10:00
Sage Abdullah
c111deef03 Add _view suffix to SnippetViewSet views 2022-07-22 12:58:12 +01:00
Sage Abdullah
051d21743f Add tests for multiple preview modes on pages 2022-07-22 12:58:12 +01:00
Sage Abdullah
93ef5fba3c Add tests for previewable snippets 2022-07-22 12:58:12 +01:00
Sage Abdullah
4def3d5054 Add test to ensure userbar is not rendered in preview panel 2022-07-22 12:58:12 +01:00
Sage Abdullah
468d397fc0 Use is_previewable() to determine preview availability 2022-07-22 12:58:12 +01:00
Sage Abdullah
9e33c69bf2 Hide search bar in snippet history page 2022-07-22 12:58:12 +01:00
Sage Abdullah
718e5c6a02 Add support for previewing snippet revisions 2022-07-22 12:58:12 +01:00
Sage Abdullah
4c26421b1f Extract generic preview revision view from page views 2022-07-22 12:58:12 +01:00
Sage Abdullah
49515f16e4 Add preview panel support to snippet models that extend PreviewableMixin 2022-07-22 12:58:12 +01:00
Sage Abdullah
1d7a4b64e3 Extract generic preview views from page preview 2022-07-22 12:58:12 +01:00
dependabot[bot]
6133824083 Bump terser from 4.8.0 to 4.8.1
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 07:08:42 +10:00
Sage Abdullah
0505e5e99c Explicitly add Meta class in RedirectsReportFilterSet 2022-07-21 09:40:05 +01:00
Sage Abdullah
fa31053581 Add tests for filterable snippets 2022-07-21 09:40:05 +01:00
Sage Abdullah
99aa7adc0b Add filtering support to Snippets listing view 2022-07-21 09:40:05 +01:00
Sage Abdullah
dc525f56ae Extract filters styles and template from report to its own component 2022-07-21 09:40:05 +01:00
Sage Abdullah
5a957a629a Retain other query params in header search behaviour 2022-07-21 09:40:05 +01:00
Sage Abdullah
4bedf6e045 Extract queryset filtering code from ReportView to generic IndexView 2022-07-21 09:40:05 +01:00
Sage Abdullah
17ca97e0ab Remove SearchableListMixin
Functionality is already covered by IndexView, and we can't make
IndexView extend from SearchableListMixin because the queryset still needs to
be manipulated (e.g. for filtering).

Calling get_queryset() from SearchableListMixin (using super().get_queryset())
will return a search result object instead of a queryset.
2022-07-21 09:40:05 +01:00
Sage Abdullah
f1627195f3 Allow searching on non-indexed models in generic IndexView 2022-07-21 09:40:05 +01:00
Sage Abdullah
1cf7713a38 Move snippets' get_queryset and paginate_queryset methods to generic IndexView 2022-07-21 09:40:05 +01:00
Thibaud Colas
4a7892a9b5 Add release notes for #8874 and rework existing WHCM release notes 2022-07-20 21:55:09 +01:00
anujaraj
10afd9d7ed
Add a border around modal dialogs so they can be identified in forced colors mode. Fixes #8833 (#8874) 2022-07-20 21:53:41 +01:00
anujaraj
df50d8a1a4
Add bottom border to messages. Fixes #8836 (#8875)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-20 21:34:23 +01:00
LB (Ben Johnston)
aa55457c82
Convert reference pages documentation section to Markdown (#8881)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-20 16:49:25 +01:00
LB Johnston
a24a5f204b remove original POC wagtail_icon shared template
- added in 4e7ccdcdc9 / #4381
- replaced in  eed16e0034 but the original template was never removed
2022-07-20 15:22:14 +01:00
LB Johnston
8bce3c5a05 fix up icon usage to use the icon template tag
- follow up from #8743
- found two other icon usages that should be updated
2022-07-20 15:22:14 +01:00