Wykres commitów

530 Commity (6ec734f836b10da3057a9bec32f18b4adf40ecea)

Autor SHA1 Wiadomość Data
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
LB Johnston cda437804e fix up markdown docs conversion issues
- introduced in #8759 & #8569
2022-06-30 16:36:37 +10:00
SilvestriStefano f535a0cc43 Documentation - migrate reference/** files to markdown content
- relates to #8383
2022-06-30 09:57:26 +10:00
Sævar Öfjörð Magnússon 0705f1d765
Document the prefix_default_language parameter to i18n_patterns (#8763)
* Document the prefix_default_language parameter to i18n_patterns
* Update docs/advanced_topics/i18n.md

Co-authored-by: Dan Braghis <dan@zerolab.org>
2022-06-28 10:41:08 +01:00
LB Johnston e140c41a89 documentation - markdown formatting
- apply general fixes to existing markdown documentation
- various cases of rst syntax still used
- update some links to be the new format
- clean up line breaks (prettier)
2022-06-25 22:44:42 +10:00
igor fd7ef0a68a
Fix assert type in test_content_page_subpages method (#8725)
Co-authored-by: Igor Strapko <igor@goodpraxis.coop>
2022-06-22 11:03:50 +01:00
Noble Mittal 0be024e024 documentation - migrate docs/extending/ to md 2022-06-20 16:36:25 +10:00
Karl Hobley 996866fc06 Changelog/release note for #8686 2022-06-16 10:10:00 +01:00
Sævar Öfjörð Magnússon e660326075
Adding multi site support to the pages API. (#8686) 2022-06-16 09:33:47 +01:00
Thiago Costa de Souza f42ec9ed6b convert documentation in advanced_topics from rst to md
- relates to #8383
2022-06-09 20:32:56 +10:00
LB Johnston 6d0659333d fix spelling - behaviour vs behavior
- documentation should be using the British english spelling
- most other spelling is `behaviour` so this aligns with the majority
2022-06-02 07:56:05 +10:00
Tidiane Dia 25c43273a9 Add docs and releases notes for `prefetch_renditions` method
Also add tests to ensure example in docs works fine.
2022-06-01 16:51:35 +01:00
Thiago Costa de Souza e6865e7b0f documentation - migrate advanced_topics/customisation/** to md 2022-05-27 08:02:16 +10:00
Thiago Costa de Souza 4424d23fa4 documentation - migrate advanced_topics/images/** to md 2022-05-27 07:51:45 +10:00
Thiago Costa de Souza 7e73349dc1 documentation - migrate api section to markdown 2022-05-25 21:01:38 +10:00
LB (Ben Johnston) 9f206d258c
Make it possible to reuse and customise Wagtail’s fonts with CSS variables. Fix #8406 (#8544)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-20 14:19:30 +01:00
LB Johnston d9981e0ec7 fix up spelling in documentation & docstrings (should be en-GB not en-US)
- customize -> customise
- color -> colour
- customizing -> customising
- organize -> organise
2022-05-13 08:13:06 +10:00
Paarth Agarwal da78e0f449 added full_url field for image rendition field api
- resolves #7558
2022-04-20 07:08:24 +10:00
Simon Krull 4f3ec696ff Fix minor typo in the documentation - third party tutorial 2022-04-18 08:26:22 +10:00
luz paz 5c894345b9 Fix various user-facing and non-user-facing typos
- Found via `codespell -q 3 -S *.po,*.js`
2022-04-18 08:18:03 +10:00
Daniel Kirkham c877bf9886 convert various documentation pages to Markdown
- Removes use of topic:: in docs as this directive is not needed
- resolves #8323
2022-04-18 08:16:27 +10:00
Andy Babic 0c1ecc35f1
Add guidance on rendition prefetching to docs (#8363) 2022-04-16 11:18:23 +01:00
Andy Babic 2d5571f316 Include the new methods in the docs 2022-04-14 12:12:23 +01:00
Matt Westcott cdeb1cf479
Add use_json_field=True to all StreamField examples (#8359)
This argument should be used on all new StreamFields created under Wagtail 3. It does add some clutter to the examples, but only using it in select cases would create more confusion...
2022-04-14 11:09:19 +01:00
Kevin 0ed4375c3d Fixes incorrect link to Wand docs 2022-04-07 16:20:43 +01:00
LB Johnston 5f4942f9ad documentation - fix broken docs references
- remove 2.16 reference to setting that no longer exists
2022-04-07 12:52:03 +01:00
Caio Jhonny 21202e421e Add missing import django models (#8301)
Django models need to be imported
2022-04-07 12:18:37 +01:00
saurabh a641057fc2 fixed the errors in deploying.rst and i18n.rst 2022-04-04 06:48:02 +10:00
Saurabh a70aefe243
fixed punctuation issues and modified text in wagtail documentation. (#8262) 2022-04-01 17:12:57 +01:00
Matt Westcott b189ab8382 Move wagtail.admin.edit_handlers to wagtail.admin.panels 2022-03-25 10:44:25 -04:00
Karl Hobley 75cc7da38a Move wagtail.core to wagtail 2022-03-17 17:19:59 +00:00
Karl Hobley 0fd99886a2 Move tests to test 2022-03-17 17:19:59 +00:00
p0lygun fda36c7343 Documentation - convert advanced topics docs to markdown 2022-03-16 20:48:03 +10:00
Nicolas Ferrari 11e7936562
Add alwaysdata among Cloud providers in documentation (#8070)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 12:29:59 +00:00
LB (Ben Johnston) e3b6e79a8e
Documentation - migrate form builder docs to markdown (#8007)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-10 08:43:49 +00:00
LB (Ben Johnston) 6ed65f14c6
Move Markdown docs to MyST parser. Fix #8074 (#8084) 2022-03-09 11:48:19 +00:00
LB (Ben Johnston) 58a8a31dd6
docs - add third party tutorials Jan/Feb 2022 (#8067) 2022-03-09 09:19:43 +00:00
Matt Westcott 31139e8b24 Remove references to StreamFieldPanel and ChooserPanels from docs 2022-03-02 15:55:25 +00:00
LB Johnston 6ecdc16bd4 remove Hallo references in the documentation 2022-03-02 20:15:33 +10:00
Matt Westcott 8d40a978ef Remove old versionadded / versionchanged notes 2022-02-08 19:00:47 +00:00
LB (Ben Johnston) b297d521c1
update a few wagtail.io references to wagtail.org (#7905) 2022-02-02 10:39:14 +00:00
Cynthia Kiser 82d9330d77 Added a section to deployment docs about configuring serving of user uploaded files (#7553) 2022-01-21 11:21:53 +00:00
LB (Ben Johnston) 83dd59aef6
documentation - third party tutorials (#7869) 2022-01-21 07:31:00 +00:00
Jake Howard 0a9b23979b Update links to wagtail.io website to point to wagtail.org
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
Matt Westcott d6d43338ef Drop support for Django <3.2 2022-01-14 14:23:56 +00:00
Matt Westcott 07f1c777e7 Document the bound_blocks property of ListValue 2022-01-07 16:11:45 +00:00
LB (Ben Johnston) c9aa26e887
Documentation - remove all jQuery usage (#7658) 2021-12-07 15:37:33 +00:00
Dmitrii Faiazov b314f28f37
Add `alias_of` field into pages API 2021-12-02 13:36:55 +00:00
JS 40e6e1c803 Docs - Update API configuration example
Code correction - date format was incorrect.
2021-11-30 07:58:13 +10:00
LB Johnston 307d0126a2 add ability to customise the pre-filled document title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- add documentation
- fixes #7508
- see also #4945
- update image docs for same behaviour to be more readable
2021-10-15 18:25:23 +10:00
LB Johnston e03c86f3f8 add ability to customise the pre-filled Image title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- multiple image upload (view) needs to be able to read the title POST data
- add documentation
2021-10-06 19:53:30 +10:00
LB (Ben Johnston) 2eb7232055 Deployment docs - update wagtail getting started 2021-10-05 21:00:48 +10:00
LB Johnston 3e2012373a update documentation & 2.15 release to drop IE11 support
- update browserslist
- fixes #6170
2021-10-04 12:35:58 +01:00
Nick Smith 781c2d14d3 Add How-To instructions for landing-page redirects
This uses both the forms and routable_page contrib modules to redirect
without using a separate landing page.
2021-10-04 14:12:28 +10:00
LB Johnston 8d36168c5c documentation - add third party tutorials from late 2020 to now 2021-08-19 18:53:20 +01:00
Jannis Vajen fd42d192c9 Fix typo in StructBlock documentation
The StructValue class `LinkValue` is refrerenced as `LinkStructValue` in the Meta class.
2021-08-19 14:48:16 +01:00
Matt Westcott 4e2685f47d Add an 'Extending Wagtail' section to the docs 2021-08-03 16:07:18 +01:00
Karl Hobley beeb6066ad Changelog / release note for #6843 2021-07-30 11:22:59 +01:00
Karl Hobley 2b2256a31f Implemented background_position_style property on renditions 2021-07-30 11:08:44 +01:00
Karl Hobley 750ecf50b6 Transform focal point 2021-07-30 11:08:44 +01:00
Naomi I. Morduch Toubman 99f05d67cb
Change `master` to `main` (in more places) (#7358)
* Update references to branches now named `main`

* Change unnecessary use of `master`

* Change link to be to specific ES docs version

Old release notes should link to contemporaneous docs when possible
2021-07-21 14:09:31 -04:00
Karl Hobley bea17ac8b6 Add a log action for copy_for_translation operation (#7352)
Currently, when a user copies a page for translation, the 'copy' log action is used.

This adds a more specific 'copy_for_translation' operation to be used instead when the user is translating.
2021-07-21 16:22:55 +01:00
Matt Westcott bdfa3811d1 Remove outdated versionadded/versionchanged annotations 2021-07-13 17:10:56 +01:00
Nick Smith 1d03c36421 Change some word choices in the docs
This replaces several US English dialectical uses of _regular_ with
British English equivalents _normal_ or _standard_. This is the result
of a search of the docs for the string 'regular', rather than due to any
US English seen in the user interface.

This search also found one use of _regularly_ where _often_ was closer
to the intended meaning, a change which is less about dialect than about
word choice.
2021-07-13 10:51:46 +01:00
Matt Westcott be857cc5e9 Release note / Upgrade consideration note for #7292 2021-07-12 16:55:21 +01:00
Thomas Kremmel 9b387625ca docs: add facebook and instagram oembed change docs 2021-07-12 15:31:31 +01:00
Coen van der Kamp 3f24beaae6 Add background information on multi site, multi instance and multi tenancy (#7228) 2021-07-09 17:05:28 +01:00
Matt Westcott 9fad84b768 Refactor getChooserConfig / filterEntityData into subclasses of ModalWorkflowSource
This means we're not artificially forcing four different entity types into the same code path, and makes it possible to define new entity types outside of this module.

Also relax the eslint no-unused-vars to allow unused function parameters - having multiple classes following the same interface is a legitimate use of this.
2021-06-28 12:25:29 +01:00