Wykres commitów

157 Commity (main)

Autor SHA1 Wiadomość Data
Artem Kamyshansky f90fae1aee typo fix 2025-01-02 09:16:07 +00:00
Sage Abdullah 533481b0f4
Add note about extending section not subject to deprecation policy 2024-11-08 20:09:39 +00:00
Sage Abdullah 503d1a743a
Replace hardcoded Python docs links with intersphinx 2024-11-05 10:44:40 +00:00
Sage Abdullah 857b26e5a0
Replace hardcoded Django docs links to intersphinx links 2024-11-05 10:44:39 +00:00
Aayushman Singh 7f6e7d4062 Docs - Improve hooks & extending pages with CSP compliant examples
- Avoid `mark_safe` and use `format_html` where possible
- Avoid inline scripts, instead ensure the example shows external script usage
2024-11-02 10:29:19 +10:00
Aayushman Singh b0479592ff Docs - Update extending/admin_views to have CSP compliant examples
- Changed style tag, to an external style file
- Also fixed minor spelling mistake "calender" -> "calendar" in line 190
- Avoid inline styles, instead ensure the example shows external style usage
2024-11-02 10:29:19 +10:00
LB b6b9c003ff Doc - Fix minor spelling inconsistency 2024-10-29 15:47:39 +00:00
Srishti-j18 fd9b1ca22b Docs - Update spelling to US customize variants
Fixes #12476
2024-10-29 18:47:43 +10:00
Srishti-j18 d2f476c050 Documentation - Update page titles to align with Style Guide
- Use sentence case for headings and titles. (as per the Google Developer Documentation Style Guide)
- Fixes #12466
2024-10-27 15:27:03 +10:00
Alessandro Chitarrini b9e13077bb Documentation - Refine the adding reports page
- Move all generic (page/non-page) class references to the top of the documentation
- Use better heading level nesting cleanly isolate the full page report example
- Relates to #12428
2024-10-25 20:40:02 +10:00
Srishti-j18 f588fcf249 Documentation - Reposition model & panel references
- Move model reference to directly under the references section, not the reference/pages section
- Move panel reference to directly under the references section, not the reference/pages section
- Merge panel API with panels reference pages
- Fix confusing heading levels in the page model recipes page
- Fix title in model reference to align with docs style guide
- Adopt US spelling for customize (panels) reference key
2024-10-25 20:30:12 +10:00
Matt Westcott bbb50459c9 Remove versionadded / versionchanged notes for 6.2
However, leave behind notes that mark settings/features that are deprecated but not yet removed, as this would be removing information that isn't in the main body of the text (and moving it out of a versionchanged note would make it harder to find when we come to remove it properly in 7.0).
2024-10-23 16:45:46 +10:00
LB Johnston 8b3540de0d Simplify Wagtail docs section titles
- Avoid additional 'Wagtail' names in the docs titles (inc. contributing)
2024-09-19 10:09:46 +01:00
LB Johnston 1790bdd158 Align recent docs & release notes to US spelling 2024-08-29 18:28:07 +01:00
smark-1 6672f4b518
Fix typo in admin url finder docs (#12193) 2024-08-01 11:48:20 +01:00
Sage Abdullah b757524708 Do not suggest using the custom user model's app config as the custom wagtail.users app config
Doing so would mean the "models" module of the app that contains the
custom user model will be used in favour of the models module of the
wagtail.users app, which contains the UserProfile model. As a result,
the UserProfile model becomes mistakenly picked up by the wagtailcore
app, creating a bogus migration when makemigrations is run.

This partially reverts the docs to the version before
449a48d7f9, in particular the paragraphs
about creating the custom AppConfig subclass for wagtail.users.
2024-07-29 17:35:08 +01:00
Nathanaël Jourdane 5a8c33f34a doc: fix pdf export (#12076) 2024-07-19 01:27:07 +01:00
Himanshu Garg e02ca6ce62 fixes some of errors by removing directives 2024-07-18 23:13:26 +01:00
Sage Abdullah 063c52e1f2 Move inline script for activating workflow actions to workflow-action.js
Also deprecate the `window.ActivateWorkflowActionsForDashboard` and
`window.ActivateWorkflowActionsForEditView` functions as they no longer
need to be globally-accessible
2024-07-16 08:08:26 +01:00
Sage Abdullah 449a48d7f9 Reorganise docs for custom user forms to prefer UserViewSet customisation
And make small tweaks to the GroupViewSet docs so the custom apps
examples align.
2024-07-10 17:10:36 +02:00
Sage Abdullah dc892ac232 Document UserViewSet customisation 2024-07-10 17:10:36 +02:00
Daniel Kirkham d00df53a62 Document the vary_fields property for custom image filters 2024-07-09 06:53:27 +10:00
smark-1 ad884fe8d5 Add better docs for generating URLs on creating admin views
- Fixes #11963
2024-07-09 06:38:51 +10:00
Sage Abdullah 94baf0645a
Deprecate ReportView.title in favour of page_title
The latter is enforced by WagtailAdminTemplateMixin
2024-07-02 10:49:32 +01:00
Sage Abdullah c18068c079
Add upgrade considerations for migrating report views to universal listings 2024-07-02 10:49:32 +01:00
Sage Abdullah 7ab8e6932f
Add breadcrumbs and new AJAX-based filtering to built-in report views
The export buttons, while working correctly on initial load, is still
broken upon filtering on the client-side. This is because the base
listing results template has yet to include the re-rendered header
buttons. As a result, the export links won't be updated on filter.

This will be fixed in the next commit.

Also, the "by task" and "by workflow" links in the workflow reports are
gone because the slim header doesn't support passing arbitrary actions
fragment. This will be fixed in another commit using header_buttons.
2024-07-02 10:49:30 +01:00
Sage Abdullah 245baa9065
Consolidate base_page_report.html into base_report.html
The template is no longer used in Wagtail itself, but we
keep it around for now so that custom page reports don't
immediately raise an error.
2024-07-02 10:49:30 +01:00
Sage Abdullah e3dfcc099c
Use separate results template for PageReportView
While in theory it should work, we haven't actually added tests to ensure
the tables framework can be used in ReportView.
2024-07-02 10:49:30 +01:00
Matt Westcott 9d24ac4e39 Release note for CVE-2024-32882 in 6.0.3 2024-05-01 12:18:47 +01:00
Sage Abdullah fd659ae767
Remove versionadded / versionchanged annotations for 6.0 2024-04-22 09:00:36 +07:00
Andy Chosak e9dcf7ca01 Documentation updates 2024-04-12 20:46:25 +01:00
Andy Chosak 47f0e533b6 Update docs/extending/rich_text_internals.md
Co-authored-by: Dan Braghiș <dan@zerolab.org>
2024-04-12 20:46:24 +01:00
Andy Chosak cacfa820b8 Documentation 2024-04-12 20:46:24 +01:00
John-Scott Atlakson 068c3f2964 Added `AbstractGroupApprovalTask` to simplify customizing behavior 2024-03-14 07:38:07 +10:00
Tibor Leupold d26b2ced77 Update template components & Laces references
- Turn laces reference into link to package in the release notes
- This is so that interested parties have an easy path to find more information about the library.
- Add note referencing that implementation are now found in Laces
- Add note about components not being limited to the admin
2024-02-29 07:50:46 +10:00
LB Johnston f9928b5c95 Add changelog & upgrade considerations for removal of window.chooserUrls
- Fixes #11586
- Fixes #11421
- Fixes #10377
2024-02-28 21:36:49 +10: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
Matt Westcott c1ad975b3b Remove versionadded / versionchanged annotations for 5.2 2024-02-01 16:24:12 +00: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 f341f6bee5 Fixed issues preventing build
- html+django snippets are not parsing correctly due to script usage, replace with simple text snippets
- Fix up incorrect link added in extending_client_side
2024-01-24 10:42:51 +10:00
LB Johnston a17f7c3e1c Documentation - client-side Stimulus - add detailed integration example 2024-01-23 16:49:47 +00:00
Cynthia Kiser e4c80fd2c3 Allow ordering from IndexView to work but still be overridden by ordering set in ModelViewSet (#11367)
Fixes #11165
2024-01-23 14:14:32 +00:00
Neeraj P Yetheendran 7fa335c20d Update Django intersphinx references to new format 2024-01-21 10:09:21 +10:00
Cynthia Kiser 1b76b8154f Fix additional ambiguous reference warnings during sphinx build 2024-01-02 06:14:24 +00:00
Cynthia Kiser a69586f61c Renamed rich_text reference to eliminate ambiguous reference warnings 2024-01-02 06:14:24 +00:00
Andy Chosak c109c661c1 Docs: Clarify appropriate use of MultipleChooserPanel
This documentation change clarifies that MultipleChooserPanel can only
be used when the inline model has a ForeignKey to a model that
implements Wagtail's chooser interface. Currently the docs mention
"a chooser for a ForeignKey relation" but it's not obvious how that
restricts which models can be pointed to or how to implement this for a
non-(image, document, snippet, page) model.

Relates to #10646.
2023-12-13 07:32:00 +10:00
Sage Abdullah 336ec6ea10
Render form using top-level panel if available in generic CreateView/EditView templates 2023-11-28 09:26:33 +00:00
LB Johnston 2e2e8f4452 Minor documentation formatting (Prettier) 2023-11-13 09:53:38 +11:00