Matt Westcott
04df875d17
Fix assertCanCreate to publish by default
...
Fixes #9939
Also remove the mentions of redirects from the documentation - the fact that the method has to check for a different redirect URL is an internal implementation detail, and not relevant to what the assertion is intending to test (namely that a page is successfully created).
2023-01-25 08:14:15 +10:00
4the4ryushin
529d2feb49
Add docs example for how to configure API renderer_classes
...
- Update docs/advanced_topics/api/v2/configuration.md
- Fixes #6066
- Fix up spelling of customise (UK English not US)
2023-01-19 20:43:45 +10:00
Sandil Ranasinghe
3ed84b36da
make streamfield migration names from operations
...
- `operation_name_fragment` property added to operations
- `migration_name_fragment` property added to MigrateStreamData
- added tests, docs updated
- BaseBlockOperation inherits from `abc.ABC`
2023-01-18 19:29:56 +00:00
Jhonatan Lopes
7a6feb188f
Link django docs to stable version
2023-01-11 20:18:04 +10:00
Jhonatan Lopes
a045bc38c4
Change Facebook company name to Meta
2023-01-11 20:18:04 +10:00
Jhonatan Lopes
68900b069a
Change "note that.." to a note
2023-01-11 20:18:04 +10:00
Jhonatan Lopes
532f17bad7
Remove broken Divio bakery demo
2023-01-11 20:18:04 +10:00
Albina
a37c4bab3d
Re-implement design system colors so HSL values exactly match the desired RGB. Fix #9571 ( #9856 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Fixes https://github.com/wagtail/wagtail/issues/9571
2023-01-10 08:31:51 +00:00
LB Johnston
edb86a7e8f
Documentation - Fix missing links / images
...
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
Jake Howard
0f209ee848
Add {% fullpageurl %}
for resolving absolute URLs to pages
2023-01-04 16:13:56 +00:00
LB Johnston
8678cad90b
Update third party tutorials for December 2022
2023-01-03 10:13:51 +00:00
LB Johnston
da90061ca8
Docs - formatting - clean up whitespace
2022-12-11 18:43:50 +10:00
Damascene
5d78e03084
Docs - Update PASSWORD_REQUIRED_TEMPLATE example
...
- Add messaging for signed in users that do not have permission for a page
2022-12-11 15:33:30 +10:00
Matt Westcott
f635038e13
Release note for StreamField data migration helpers ( #9694 )
2022-12-09 16:40:07 +00:00
Joshua Munn
e84cdc4e2c
Add wagtail-streamfield-migration-toolkit docs
...
- Move RichText -> StreamField migration guide into
advanced/streamfield_migrations.md
2022-12-09 16:40:07 +00:00
LB Johnston
3d484e133d
Update icon template to allow classname
...
- Preserve the existing `class_name` behaviour in most other cases
- Update only docs reference to use `classname`
- Relates to #6107 & #6028
2022-12-09 20:13:33 +10:00
Sævar Öfjörð Magnússon
629b8e7a55
Add ability to easily use Form Page fields in API
...
Improve documentation. Adding information about how to retrieve form fields from the API.
Include the API fields on the form field model
2022-11-18 06:58:16 +10:00
4the4ryushin
35a2f2cb7e
Add purge_embeds management command
...
- Fixes #1267
- Caching OEmbed markup prevents markup changes for existing embeds so allow an easy way to clear these if needed
2022-11-11 08:00:50 +10:00
Jake Howard
66421dac13
Performance page cleanup ( #9362 )
...
* Clean up the performance page structure
Many of the sections mentioned here will improve performance for much more than just the editor experience.
* Link to Django's performance page
2022-10-28 10:33:00 -04:00
Jake Howard
c6afb0069d
Performance docs - Mention the importance of passing request
and current_site
to get_url
...
- Co-authored-by: Andy Babic <ababic@users.noreply.github.com>
2022-10-28 06:24:38 +10:00
DokuaAsiedu
af9f7ecbb3
Add docs & unit tests for assertCanCreate with publish ( #9458 )
...
- Builds on #9458
2022-10-27 07:54:32 +10:00
Ogunbanjo oluwadamilare
1428333af8
Documentation - added contributing translations guide
...
- Fixes #7115
2022-10-26 08:29:29 +10:00
Toyibat Adele
33c381f95c
Corrected typos and added punctuation marks to sentences missing them. ( #9422 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-25 07:26:59 +01:00
Damilola Oladele
64e3595c6e
Grammatical adjustments of advanced topic Documents
( #9426 )
2022-10-21 00:32:50 +01:00
Damilola Oladele
de28bca258
Grammatical adjustments of advanced topic images
, to resolve issue #9407 ( #9408 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-21 00:30:13 +01:00
Jake Howard
55f42d29c8
Mention using the image_url
tag for increased performance on image URLs
2022-10-18 08:16:02 +10:00
Andy Babic
c94ba56128
Documentation - update testing page with WagtailPageTestCase
...
- Docs for #9294
2022-10-18 08:00:20 +10:00
LB (Ben Johnston)
18371e2113
Documentation - adopt consistent sh
console code snippets ( #9321 )
2022-10-13 07:25:19 +01:00
LB (Ben Johnston)
cd88d1191d
Add recent third party tutorials (October 2022) ( #9307 )
2022-10-13 07:19:36 +01:00
LB Johnston
2e8709e0d6
Documentation - update dead/redirected links
2022-10-11 20:44:08 +10:00
Haydn Greatnews
02b2b7c9f2
Fix some casing code in examples in API configuration docs
2022-10-01 17:56:08 +10:00
Storm Heg
6a8ce3161e
Fix code style of example in Wagtail API docs
...
Example code should be compliant with PEP-8.
2022-09-19 21:49:01 +10:00
Christophe Bastin
5dad39fb57
docs: APIField naming ( #9173 )
2022-09-09 13:47:46 +01:00
Jake Howard
5108b5f82a
Add ability to set default configurable attributes to image tags
...
- Allow users to override the default attributes given to an image
- Update tests to account for new tags
- Add documentation for custom image attributes
- Recommend that loading=lazy & decoding=async be considered for performance in front-end sites
2022-08-25 18:20:45 +10:00
Mehrdad Moradizadeh
b92dcc11b4
Documentation - add WAGTAILADMIN_RICH_TEXT_EDITORS reference ( #9079 )
...
- Mention settings on admin customisation page
- fixes #9070
2022-08-25 06:31:04 +10:00
LB Johnston
666cc5e8e5
fix up legacy release note refs & use consistent format
...
- fix some broken refs that were lost in the migration to markdown files
- use lower_snake_case for all internal refs (most follow this convention)
- release process sub-section in docs should be named release schedule instead
2022-08-16 12:42:42 +01:00
Thibaud Colas
ca7f23d176
Update InlinePanel and StreamField styles for new designs ( #8983 )
2022-08-12 13:17:40 +01:00
LB Johnston
fd9a4a8745
add documentation for overriding the password reset form content
...
- relates to work done via #8925
- relates to request for override capacity in #2309
2022-08-10 20:32:35 +01:00
Matt Westcott
5de877967d
Reword static files docs to fix formatting error
2022-08-10 20:01:17 +01:00
tijani
61f6aeeb1a
Add path & re_path pattern types for RoutablePageMixin
...
* Modified route decorator so it adds new route to view depending on pattern type; default to path
* Made a separate decorator
* Renamed route to path and updated RoutablePage models
* Added a check to warn user when using regex with path decorator
* Made @route alias of @re_path, added tests for @re_path
* resolves #7031
2022-08-08 20:09:38 +10:00
PaarthAgarwal
d2529cad92
Restyling all log in & password reset flow pages
...
- add id=main to all login flow form templates for non-JS skip link usage
- remove inline script to focus on username field in login form
- adopt a consistent DOM layout for all log in & password reset flow forms
- ensure h1 is at the top of the DOM in all forms
- add wagtail logo to sign in form and document the ability to override it
- fixes #2309
2022-08-06 19:06:19 +10:00
Thibaud Colas
eac5e0bc2c
Finish re-implementing form styles based on design feedback & code review
...
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Thibaud Colas
8a7e0884d7
Finish implementing rich text max length with identical client & server count
2022-08-04 16:59:31 +02:00
Jacob Topp-Mugglestone
0cdb9d8915
Implement combined rich text split and block insertion ( #8923 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-08-02 18:31:32 +01:00
LB (Ben Johnston)
8cda62471d
Add third party tutorials ( #8924 )
2022-08-01 09:25:41 -04: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
LB Johnston
c8d1a6b00a
documentation - fix a few internal references
2022-07-20 17:30:08 +10:00
Dolidodzik
b131b4813e
replace latin abbreviations with english phrases & updated docs guidelines
...
- added sub-section to language part of general_guidelines.md
- fixes #8860
2022-07-20 16:11:38 +10:00