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

13597 Commits

Author SHA1 Message Date
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
Matt Westcott
3b99d2026e Release note for #8822 2022-07-20 13:59:03 +01:00
Matt Westcott
8f34e47b68 Note that paragraph / line breaks are not counted toward the limit 2022-07-20 13:59:03 +01:00
Matt Westcott
3fa5eb125c Implement max_length validation on RichTextBlock 2022-07-20 13:59:03 +01:00
Matt Westcott
8970568b93 Make max_length on RichTextField validate the length of the text, excluding HTML tags 2022-07-20 13:59:03 +01:00
Thibaud Colas
598071b7a2 Release notes for #8824. Fix #8424 2022-07-20 12:08:47 +01:00
Thibaud Colas
624ca4b7cc Add missing grey-150 and teal-75 2022-07-20 12:08:47 +01:00
Thibaud Colas
c87628758c Update documentation for custom admin colours, with live example
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2022-07-20 12:08:47 +01:00
Thibaud Colas
5c362bf831 Refactor all stylesheets to use CSS variables
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2022-07-20 12:08:47 +01:00
Thibaud Colas
758a40d650 Remove now-unneeded switch variant 2022-07-20 12:08:47 +01:00
Thibaud Colas
d43f5d7e77 Set up separate Sass-based color definitions for userbar 2022-07-20 12:08:47 +01:00
Thibaud Colas
0d1b76b58e Refactor existing usage of color utility classes 2022-07-20 12:08:47 +01:00
Thibaud Colas
08a7c9a4e4 Configure stylelint to pick up hard-coded colors 2022-07-20 12:08:47 +01:00
Thibaud Colas
73ce1b6f8e Remove now-unused color variables styles 2022-07-20 12:08:47 +01:00
Thibaud Colas
1b2aa07a57 Remove legacy colour palettes from styleguide 2022-07-20 12:08:47 +01:00
Thibaud Colas
8f96a5669d Switch Tailwind color theme to use customisable CSS variables
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2022-07-20 12:08:47 +01:00
Thibaud Colas
9b0c9010bd Update to latest Tailwind release 2022-07-20 12:08:47 +01:00
LB Johnston
f9648349d6 contributor - use Tidiane (preferred name) instead of Tidjani 2022-07-20 20:32:26 +10:00
LB Johnston
c8d1a6b00a documentation - fix a few internal references 2022-07-20 17:30:08 +10:00
tijani
8cdb3f3a60 Added blocks_by_name, first_block_by_name methods to StreamValue
- A shortcut for accessing StreamField blocks by name
2022-07-20 17:13:20 +10:00
LB Johnston
0c9d72669c documentation - fix table of contents issue for pages reference 2022-07-20 17:11:23 +10:00
LB Johnston
2bb18d7703 remove duplicate custom bulk actions docs
- introduced in #8574
- move snippets bulk actions docs to existing markdown docs variant
2022-07-20 17:10:45 +10:00
PaarthAgarwal
c404acb10d cleanup page listing styles
- fixes #8867
- relates to PR #8792
2022-07-20 16:27:19 +10:00