Matt Westcott
abde315c0b
Update deployment docs to cover XSS risks
2024-03-07 12:19:22 +00:00
Sage Abdullah
bded2cb98b
Allow displaying permissions linked to the Admin model's content type ( #11668 )
2024-02-27 22:16:51 +00:00
Sage Abdullah
3b87644e07
Prevent shadowing of permissions with the same codename action ( #11667 )
...
This can cause issues where e.g. stale permissions become the ones used
to render the checkboxes after a RenameModel operation (changing the
Python class name, not just the verbose_name).
A similar issue can also be triggered with custom permissions that share
the same codename action (first part of the codename before _) as the
built-in permissions.
2024-02-23 21:22:35 +00:00
EK303
bd065c17cd
Docs - Update and fix broken links
...
Fixes #11635
2024-02-16 17:23:53 +10:00
Buraah
bfa29201c3
Docs - Page names & reference section - Update British spelling to American
...
- Changed all British spellings to American spellings, in the Customizing admin templates section of the docs
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
- Update a series of other pages to use the spelling cutomize in the file name
Implemented all feedbacks on the usage guide and advanced topics section
2024-02-12 08:44:19 +10:00
Jake Howard
a204baddc0
Add support for ico files
2024-02-05 15:23:08 +00:00
Buraah
56335de636
Update documentation globally to use US spelling (not UK) + grammar fixes
...
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
2024-01-30 07:30:57 +10:00
Victoria Poromon
f4ce46602f
Update spelling of Customizing Admin Templates and Page Models sections in the docs ( #11544 )
...
* Change all British spelling to American, in the page model section of the docs
* Change all British spelling to American spelling in the Customizing admin templates section of the docs
---------
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2024-01-27 13:47:12 +01:00
LB Johnston
b81f369498
6.0 release - Add versionadded sections & release notes links
2024-01-24 13:54:48 +00:00
Shlomo Markowitz
7f6a2623d1
Add ability to use copy view for SnippetViewSet & ModelViewSet
...
Closes #10921
2024-01-24 22:47:34 +10:00
Neeraj P Yetheendran
7fa335c20d
Update Django intersphinx references to new format
2024-01-21 10:09:21 +10:00
Cynthia Kiser
a69586f61c
Renamed rich_text reference to eliminate ambiguous reference warnings
2024-01-02 06:14:24 +00:00
Matt Westcott
b4e7bae07b
Mention inheriting from ClusterableModel in the text too
2023-12-15 15:44:28 +00:00
Matt Westcott
fda09613a9
Add missing ClusterableModel import to snippet InlinePanel example
2023-12-15 15:44:28 +00:00
Sage Abdullah
31ed0f1707
Make recommendations to add GenericRelation in snippets more explicit
2023-12-06 07:39:43 +10:00
Kalob Taulien
fa1d79a432
End tag typo fix
...
Documentation typo. ¯\_(ツ)_/¯
2023-11-30 06:52:28 +10:00
Damilola Oladele
7e774971fa
Documentation: GSoD - A complete tutorial on how to build your Portfolio site with Wagtail ( #11217 )
...
Co-authored-by: Meagen Voss <45881480+vossisboss@users.noreply.github.com>
2023-11-17 16:39:37 +00:00
LB Johnston
2e2e8f4452
Minor documentation formatting (Prettier)
2023-11-13 09:53:38 +11:00
Matt Westcott
9fe2e6a419
Fix code example for {% picture ... as ... %} tag - fixes #11186
2023-11-06 16:35:28 +00:00
Matt Westcott
f71ecd9a75
Remove remaining occurrence of use_json_field
2023-11-02 17:05:41 +00:00
Matt Westcott
c49ec1bb06
Remove use_json_field parameter from StreamField
2023-11-01 16:52:20 +00:00
Matt Westcott
605c9cf1a6
Drop support for Elasticsearch 5 and 6
2023-11-01 14:57:15 +00:00
Thibaud Colas
567e84b4ea
Update image documentation to have more details for picture and srcset_image tags ( #11167 )
2023-11-01 12:11:46 +00:00
Jake Howard
daa82eb8d0
Note that the admin should be limited to "trusted" users
2023-10-31 18:39:11 +00:00
Sage Abdullah
31334f212f
Refer to ModelViewSet docs for similar SnippetViewSet customisations
2023-10-31 17:25:21 +00:00
Sage Abdullah
c7d4526826
Shorten links in snippet views customisation docs by setting currentmodule
2023-10-31 17:25:21 +00:00
Vedant Pandey
837d733097
Add search_index option to control search indexing of StreamField blocks ( #11135 )
2023-10-31 11:42:16 +00:00
Matt Westcott
aea258248c
Remove versionadded / versionchanged annotations for 5.1
2023-10-20 14:47:53 +01:00
Thibaud Colas
4bfbbae405
Add picture tag implementation and tests
2023-10-17 16:09:06 +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
Matt Westcott
30a489a51c
Document support for OpenSearch
...
Fixes #7920
2023-09-20 07:17:58 +10:00
LB Johnston
a19bae886d
Format markdown files
2023-08-31 08:21:36 +10:00
Matt Westcott
151a386ff5
Add note to clarify that blocks are not interchangeable with model fields
...
Prompted by https://stackoverflow.com/questions/76973112/unknown-fields-specified-for-a-page-model-in-wagtail-at-content-panels/76973226?noredirect=1#comment135693718_76973226 and similar misconceptions people have made in the past.
2023-08-30 18:47:57 +01:00
Sage Abdullah
9a2d53d0cf
Move SnippetViewSet.list_per_page to ModelViewSet
2023-08-30 10:31:16 +01:00
Sage Abdullah
66216852b8
Move SnippetViewSet.list_export and export_filename to ModelViewSet
2023-08-30 10:30:17 +01:00
Sage Abdullah
cd222898fd
Move SnippetViewSet.list_diplay definition to ModelViewSet
2023-08-22 16:34:51 +01:00
Sage Abdullah
fad37fd232
Add docs for migrating from modeladmin to snippets
2023-07-26 16:04:35 +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
Sage Abdullah
64f496a2e1
Remove old versionadded / versionchanged notes
2023-07-19 17:53:26 +10:00
sgfost
61594a2616
Add docs for managing stored queries in searchpromotions
...
and update docs about the search -> searchpromotions migration.
2023-07-18 15:00:56 +01:00
Sage Abdullah
0bebe532e8
Add docs and tests for snippets inspect view
2023-07-17 17:19:11 +01: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
96c3d719c2
Change the default WebP quality to 80
...
This is the value most used, and is the default in Willow too
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01: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
Sage Abdullah
0550b03dad
Allow customising the spreadsheet file name via SnippetViewSet.export_filename
2023-07-12 09:18:11 +01:00
Sage Abdullah
428b7914e2
Add docs and tests for exporting snippets listing
2023-07-12 09:18:09 +01:00
Vitaly Babiy
1042568e5c
Documentation - Fix mMissing Menu Prefix in example ( #10599 )
2023-06-27 07:53:52 +10:00