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

567 Commits

Author SHA1 Message Date
Matt Westcott
c49ec1bb06 Remove use_json_field parameter from StreamField 2023-11-01 16:52:20 +00:00
Matt Westcott
c363f6dd27 Remove ModelAdmin 2023-11-01 16:52:20 +00:00
LB Johnston
145e33de9d
5.2 release notes - add supporting links and fix typos 2023-10-20 10:13:27 +01:00
Ihedioha Chinedu Innocent
26a89cf37d Updated FieldPanel to TitleFieldPanel in docs
- Closes #11078
2023-10-19 22:36:15 +11:00
LB Johnston
8002e75775 Documentation - Add initial Stimulus docs
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
Paarth Agarwal
41dac89e1d Add srcset_image tag for responsive images 2023-10-17 16:09:06 +01:00
LB Johnston
1c4e69dbce Add better docs & cross-linking for how PanelGroup permission kwarg works
Adds more details on how to use the feature added in #8846
2023-10-09 22:50:11 +11:00
rohitsrma
15642124b6 API - Allow ordering by multiple fields
- Closes #7429
- Builds on original PR #7433 (Jake Howard)
2023-10-09 22:16:31 +11:00
LB Johnston
d6888e05e4 Update Format.classnames to be Format.classname
- Aligns with the naming convention set from Wagtail 4.2
- Add deprecation warnings if classnames is accessed & unit tests for this
- Update other unit tests to use the naming
2023-10-05 21:10:39 +11:00
Nick Moreton
f58c896d5a
Add PythonAnywhere deployment tutorial to third party tutorials (#10958) 2023-09-28 09:52:04 +01:00
Andreas Nüßlein
6eda5d5d12 fix typo 2023-09-21 16:45:57 +01:00
Neeraj P Yetheendran
cdd6f1800c Allow subclasses of PagesAPIViewSet override default Page model
- Built on original PR #7372 and feedback on that solution
- Add unit tests and documentation
- Fix typo in API documentation for `CustomPagesAPIViewSet`
- Ensure that pk is used (not id) while filtering to prevent assumption that id is pk
2023-09-20 08:13:19 +10:00
Andy Chosak
dbc130e565 Fix minor typos in the docs
"JavasScript" -> "JavaScript"
2023-09-14 06:36:46 +10:00
Hatim Makki Hoho
bf709279d5 Update focal_points.md (#10878)
corrected the load from {% load wagtailimages %} to {% load wagtailimages_tags %}
2023-09-11 20:13:19 +01:00
Sage Abdullah
65739c6925
Add ModelViewSet.add_to_reference_index to allow opting out of the ReferenceIndex 2023-08-16 11:42:11 +01:00
Jake Howard
69724e4e3a Create preview-aware & page-enhanced cache template tags
This can be used in other places, but ensures caches are invalidated
whenever something about a page changes.

- Add a util to get wagtail-specific fragment cache keys
- Don't pollute context when injecting site variable
- Add documentation on wagtail fragment caching
- Define an intelligent cache key for pages
- Allow the components of the cache key to be easily modified
- Note that some manual changes may not create a new cache key

Co-authored-by: Andy Babic <andyjbabic@gmail.com>

Closes #5074
2023-07-20 08:24:09 +10:00
Dan Hayden
2ed1b33bb8 fix code block typo in streamfield_migrations.md 2023-07-20 07:48:09 +10:00
Sage Abdullah
64f496a2e1 Remove old versionadded / versionchanged notes 2023-07-19 17:53:26 +10:00
LB Johnston
ad6fd746b9 Documentation - Add recent third party tutorials 2023-07-18 21:48:59 +10:00
Matt Westcott
d05c0c1bc1 Update docs to cover Elasticsearch 8 support 2023-07-17 16:18:37 +01:00
LB Johnston
3d471edbcf Clean whitespace formatting in docs
- Update formatting with prettier in the documentation
2023-07-17 22:24:54 +10:00
LB Johnston
0f97838381 Documentation - revise usage of e.g.
- Replace one usage of 'eg' with more suitable alternatives
- As per guidelines https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#latin-phrases-and-abbreviations
2023-07-17 15:13:30 +10:00
zerolab
ce4afcd578 Update documentation for AVIF support
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
zerolab
6345c8c4c1
Release notes for #10612 2023-07-12 16:59:53 +01:00
Jake Howard
27a203f697
Always cache renditions
This should provide a big performance boost to those who don't set the cache, with minimal extra overhead.
2023-07-12 16:35:06 +01:00
LB Johnston
6491ae49ce Docs - Align on client-side & fix Draftail typos
- Prep for #10197
- Fix a few cases where Draftail was spelt incorrectly
- Align with `client-side` not `clientside` as this is used most commonly
- fix javascript code snippet
2023-07-03 19:18:44 +10:00
Jake Howard
ef27a27c1a Docs - Add more details to the performance page & update getting started link
- Link getting started section to elasticsearch backend, not performance page as this is more relevant.
- Mention frontend caching on performance page
- Mention prefetching image renditions on performance page
2023-07-03 08:33:23 +10:00
Jake Howard
c2875179b3 Documentation - Clean up and update deployment page
This cleans out some very old, potentially out of scope content, and makes way for the page being much easier to contribute to and extend in future.
Move deploy tutorials to 3rd-party tutorials page
2023-07-01 16:35:57 +10:00
Andy Babic
659c46042e
Add documentation for Image.get_renditions() (#9550) 2023-06-29 16:22:16 +01:00
LB Johnston
96a494581c Documentation - clean up last two internal refs to use underscore
- As per https://docs.wagtail.org/en/latest/contributing/documentation_guidelines.html#reference-links - refs should be `lower_snake_case`
2023-06-19 15:18:02 +01:00
Thibaud Colas
268b038ea8 Update documentation for color customisations 2023-06-12 10:55:12 +01:00
Thibaud Colas
fe3d0c423f
Add new Sustainability considerations page (#10527)
Co-authored-by: sag᠎e <laymonage@gmail.com>
2023-06-09 12:04:13 +01:00
LB Johnston
d5bd828b8e Docs - update Django urls to shorthand method 2023-06-01 16:50:03 +01:00
Etty
c5f238f98d Deprecate insert_editor_css in favor of insert_global_admin_css (#10499)
Fixes #10402
2023-06-01 16:28:00 +01:00
LB Johnston
aa9e9cddc7 Resolve multiple typos (spelling and grammar)
- Optimized/Customized/Catregorize -> Optimised/Customised/Categorise
- Github -> GitHub (80% were spelt with capital H, this is the way GitHub spells itself)
- GitPod -> Gitpod (most were without the capital P, Gitpod's site does not use capital P)
- Remove duplicate words (to to, the the)
- De-coupled -> decoupled
- implementors -> implementers (all other references used 'site implementers' so just aligning with the common case)
- Fix a/an usage in one case
- Fix one comment usage of ok, replace with OK
2023-05-30 21:07:37 +10:00
LB Johnston
5292f7dc1f Docs - fix whitespace formatting (Prettier) 2023-05-30 07:25:21 +10:00
Sage Abdullah
f2accc89e3 Add link to snippets icon customisation from icons documentation 2023-05-24 11:06:00 +01:00
Krzysztof Jeziorny
0552af3c30 Update third_party_tutorials.md
The article "10 (recommended) Wagtail Best Practices" is gone and not to find on the origin website.
2023-05-03 10:34:03 +01:00
Matt Westcott
4a47bc611b Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01:00
LB Johnston
b6392eab05 Docs - Add recent third party tutorials 2023-04-20 18:12:47 +01:00
Matt Westcott
85c9b6689f Ensure that models can still be registered with ReferenceIndex.register_model after the initial set of signals has been connected 2023-04-20 11:21:43 +01:00
Daniel Kirkham
659251b8a7 Added Documentation 2023-04-20 11:21:03 +01:00
sag᠎e
ed36b5b9b6
Improve customisability of the accessibility checker configuration. Fix #10137 (#10333)
* Extract userbar BaseItem.get_context_data()
* Extract Axe config into smaller attributes and methods for easier overrides
* Add TypeScript interface for WagtailAxeConfiguration
* Improve typings for userbar.ts
* Separate Axe `runOnly` and `rules` options
* Pass request object to all axe configuration methods
* Remove Axe runOnly option if it's falsy
* Add docs for customising the accessibility checker
* Use lists for Axe include and exclude selectors
* Parse JSON script when testing accessibility checker config
* Add tests for customising accessibility checker configuration

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-20 07:46:56 +01:00
Thibaud Colas
567b999548 Set up new color design tokens for light and dark themes 2023-04-19 13:38:23 +01:00
Sage Abdullah
64ea6dd8b8 Fix missing newline in editing interface customisation docs
Regression in 2abd7916af
2023-04-18 19:14:02 +10:00
Sage Abdullah
eb49f3cdf0 Add docs for FieldPanel's icon parameter 2023-04-18 02:49:04 +01:00
Sage Abdullah
b017157818 Fix extraneous period typo in page editing interface docs 2023-04-18 02:49:04 +01:00
Thibaud Colas
93732690a3 Update icon visuals to FontAwesome 6, with deprecation warnings for removed icons 2023-04-14 08:38:01 +01:00
Joshua Munn
196ed4162d Add SVG docs 2023-03-30 10:19:43 +01:00
Thibaud Colas
d856e702e1 Update documentation on icons management, with available icons 2023-03-28 16:13:35 +01:00