Akash-Kumar-Sen
827bcf3dbf
Documentation - improve organisation of settings reference #8950
...
- fixes #8863
2022-08-06 21:20:22 +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
3d96e7fbe7
Implement collapsible and linkable panels
...
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Thibaud Colas
af9b16e93d
Re-implement base form field styles based on new page editor designs
...
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Matt Westcott
5521e3b59f
Update panel templates for new designs (EditHandler rewrite)
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-08-05 10:36:52 +02:00
Matt Westcott
02d836fe3e
Make per_page configurable on viewsets
2022-08-05 08:34:14 +10:00
Matt Westcott
9667088e98
Move setting metadata / reindexing into form.save()
2022-08-02 18:53:56 +02:00
PaarthAgarwal
887a259723
added translate button to header actions dropdown, removed all the instances of is_parent
...
- Fixed failing tests, added check for simple_translations enabled
- resolves #8866
2022-07-26 22:36:35 +10:00
LB Johnston
1849122e5f
documentation - update reference/contrib content to markdown
2022-07-23 10:42:06 +10:00
LB Johnston
4169d959fc
documentation - rename reference/contrib files to .md
2022-07-23 10:42:06 +10:00
LB (Ben Johnston)
aa55457c82
Convert reference pages documentation section to Markdown ( #8881 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-20 16:49:25 +01:00
Matt Westcott
8f34e47b68
Note that paragraph / line breaks are not counted toward the limit
2022-07-20 13:59:03 +01:00
Matt Westcott
3fa5eb125c
Implement max_length validation on RichTextBlock
2022-07-20 13:59:03 +01:00
LB Johnston
c8d1a6b00a
documentation - fix a few internal references
2022-07-20 17:30:08 +10:00
LB Johnston
0c9d72669c
documentation - fix table of contents issue for pages reference
2022-07-20 17:11:23 +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
Paarth Agarwal
35b5ed350a
Adopt slim header in page listing views ( #8792 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-18 18:28:51 +01:00
Matt Westcott
d07ff422d8
Documentation and release note for #8703
2022-07-18 15:53:32 +01:00
vupham04
53e2bdbd0d
Add option to set name to MenuItems generated by modeladmin ( #8553 )
...
Co-authored-by: Alexander Rogovskyy <A.rogovskyy@intershop.de>
2022-07-18 14:44:58 +01:00
Karl Hobley
ed239157fd
Release note for #8327 ( #8825 )
...
* Delete unused settings.rst
* Release note for #8327
* Use single backticks in changelog/release notes
2022-07-18 13:01:29 +01:00
sage
5ee5acb7ce
Introduce a new auto-updating preview panel inside the page editor ( #8671 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-14 13:59:05 +01:00
Kyle
d967eccef2
Add generic settings to compliment site-specific settings ( #8327 )
2022-07-06 11:01:02 +01:00
Sandeep M A
bc0f561240
documentation - migrate reference/pages/theory + index to markdown
2022-07-05 22:05:20 +10:00
LB Johnston
77a8f76c97
documentation - add cross-reference to field panel permissions
...
- permissions page had no reference to the newly introduced permission kwarg on FieldPanel
- fix minor typo
2022-07-05 20:45:13 +10:00
Matt Westcott
30054eda39
Add a 'create' view with a GET request handler
2022-07-04 13:48:35 +01:00
Matt Westcott
4dd3483617
Add a (non-functional) 'create' form to generic chooser modal
2022-07-04 13:48:35 +01: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
LB Johnston
0afe2f9c89
Documentation - rename docs/reference/**
...
- rename all files from rst to md so git history is preserved
2022-06-30 09:57:26 +10:00
LB Johnston
86cb09a534
Documentation - fix streamfield reference issue
...
- myst was building a doc link `streamfield` and also had a ref link `streamfield` which was causing conflicts
2022-06-30 09:57:26 +10:00
Josh Michael Karamuth
3374ccee5e
Make password reset form customisable
...
- Use a setting called WAGTAILADMIN_USER_PASSWORD_RESET_FORM to allow
users to specify a custom form for use in PasswordResetView
- Add an extra_fields property so that fields other than the
mandatory email field can be easily rendered in the template.
- Add extra blocks to the default template to allow users to
easily add their own stuff.
- Render extra fields in the template like we're doing in the
login template.
2022-06-29 14:40:24 +10: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
LB Johnston
c76579fc1e
migrate docs contrib redirects & searchpromotions to md
...
- relates to #8383
2022-06-24 22:01:53 +10:00
LB Johnston
58095cde30
documentation minor fixes
2022-06-23 08:12:07 +10:00
Andy Babic
9ac3877980
Use iterator() wherever PageQueryset result caching is not needed ( #8722 )
2022-06-22 11:03:17 +01:00
Sage Abdullah
dba42161e7
Move revision ForeignKey from PageLogEntry to BaseLogEntry
2022-06-22 09:31:25 +01:00
Sævar Öfjörð Magnússon
9dd4d6c6c4
Update documentation for the serve method override so that it does not mention a specific demo site. ( #8714 )
2022-06-21 09:13:58 +01:00
Oliver Parker
97d0d14cd8
Add add_to_admin_menu option for modeladmin ( #8634 )
2022-06-20 14:10:18 +01:00
Noble Mittal
0be024e024
documentation - migrate docs/extending/ to md
2022-06-20 16:36:25 +10:00
Matt Westcott
372965ef6a
Put headers in markdown rather than rst
2022-06-12 15:47:24 +10:00
Matt Westcott
865df1153b
Documentation for ChooserViewSet
2022-06-12 15:47:24 +10:00
Matt Westcott
b00d19b3a0
Documentation for ModelViewSet
2022-06-12 15:47:24 +10:00
Matt Westcott
b4d3cf1c30
Docs for base ViewSet class
2022-06-12 15:47:24 +10:00
BenedictFaw
952e57b916
Migrate docs for StreamField from md to rst
...
- relates to #8383
2022-06-09 20:21:50 +10:00
Matt Westcott
a3b1cb6c28
Add a page_type_display_name shortcut property
2022-06-08 17:35:40 +01:00
LB Johnston
fd5218220e
form builder - allow clean_name generation to be overridden
...
- adds a new class method to AbstractFormField `get_field_clean_name`
- resolves #6903
2022-06-02 08:07:24 +10:00
Dan Swain
b53f12d394
Include missing import of FieldPanel
2022-05-28 06:40:25 +10:00
Tibor Leupold
4f5d688021
Add ability for upgrade notification to show the relevant release to the user
...
This now implements the logic to link to the next minor's release notes
when such a version difference is computed. If a patch release
difference is computed, then those release notes are linked.
The utils.tests.js seemed a bit unexpected location, because there is no
`utils.js` module. Now the module defining the tests and the one
defining the functionality are named similarly, as is common in the rest
of the code base.
- resolves #7336
- resolves #7405
- resolves #3938
- fixes #8537
Fix issue where upgrade notification was not using translated content.
2022-05-26 19:57:46 +10:00
sage
f4d5207fbd
Use GenericForeignKey
and GenericRelation
for Revision
( #8571 )
2022-05-26 00:08:30 +01:00
thoang43
2fbac52532
Documentation - Convert rst to md for ModelAdmin section
...
- Co-authored-by: Vu Pham
- relates to #8383
2022-05-20 08:32:21 +10:00
sage
52e5abfe62
Replace PageRevision
with generic Revision
model ( #8441 )
2022-05-17 11:46:30 +01:00
Paarth Agarwal
a98f047950
removed trailing slash
2022-05-14 15:50:10 +10:00
Fabien Le Frapper
aad51b2bb2
Update docs/reference/contrib/frontendcache.rst
...
Co-authored-by: Jake Howard <RealOrangeOne@users.noreply.github.com>
2022-05-13 08:15:35 +10:00
Fabien Le Frapper
aff9b9a623
fix linting issues
2022-05-13 08:15:35 +10:00
Fabien Le Frapper
44456ff4dd
Fix typo that broke a link
2022-05-13 08:15:35 +10:00
Fabien Le Frapper
b54e9cbc62
Add instructions about where to find cloudflare zone id
2022-05-13 08:15:35 +10: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
Matt Westcott
37784643e9
API docs for Panel
2022-04-22 17:25:30 +01:00
Vu Pham
68287e97e1
Add base_url_path functionality to ModelAdmin
...
- Co-Authored-By: Khanh Hoang <39248704+thoang43@users.noreply.github.com>
- adds ability to set `base_url_path` on ModelAdmin to override the `app_name`/`model` URL building behaviour
- fixes #8038
2022-04-18 14:32:18 +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
Dan Braghis
4cc10322a1
Sync tree: cascade unpublish, move and delete ( #7984 )
...
* Add construct_synced_page_tree_list hook and use in page unpublish view
* Implement construct_synced_page_tree_list in simple_translation
but only when sync page tree is enabled
* Add hook documentation
* Add construct_synced_page_tree_list hook tests (#8058 )
* Move translated and alias pages when WAGTAIL_I18N_ENABLED and WAGTAILSIMPLETRANSLATION_SYNC_PAGE_TREE are enabled
Co-Authored-By: Kalob Taulien <4743971+KalobTaulien@users.noreply.github.com>
* Delete corresponding translations when WAGTAIL_I18N_ENABLED and WAGTAILSIMPLETRANSLATION_SYNC_PAGE_TREE are true
Co-Authored-By: Kalob Taulien <4743971+KalobTaulien@users.noreply.github.com>
* Rename the hook to be more specific
* Update singular string version in confirm_move.html
* Update test test_translation_count_in_context
Co-authored-by: Kalob Taulien <4743971+KalobTaulien@users.noreply.github.com>
Co-authored-by: Karl Hobley <karl@kaed.uk>
2022-04-17 17:34:38 +01:00
Matt Westcott
6d2dcee4b9
Remove a stray reference to ChooserPanels ( #8360 )
...
These are no longer required in Wagtail 3
2022-04-14 11:09:31 +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
Jake Howard
59f901fb82
Use JSONField
to store form submissions
2022-04-13 23:40:56 +10:00
Thibaud Colas
4dc5f3c595
Remove legacy sidebar, refactoring slim sidebar implementation
2022-04-08 11:51:09 -04:00
Hitansh Shah
0b8a8c2024
Added image management command to purge and regenerate renditions
...
- resolves #8107
2022-04-07 23:57:44 +10:00
eevel
1c7c5cfc0b
Allow specifying an alternative storage backend for image renditions
...
- add setting `WAGTAILIMAGES_RENDITION_STORAGE`
- add AbstractRendition file storage to use new setting
- resolves #3183
2022-04-07 23:33:46 +10: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
Sandil Ranasinghe
cb7fc4cb14
Rename BASE_URL to WAGTAILADMIN_BASE_URL & add docs
...
- add documentation for WAGTAILADMIN_BASE_URL
- ensure that WAGTAILADMIN_BASE_URL is used via a util so that it can fallback from request
- resolves #3248
- remove settings URL from pagination template - not required for query string URLs
2022-04-06 19:43:46 +10:00
Abdul
9007bda686
documentation - add admin tag manager doc
...
- add documentation that describes how to use `ModelAdmin` to manage tags
- resolves #1220
2022-04-06 07:21:34 +10:00
Matt Westcott
97e781e31c
Renumber Wagtail 2.17 to 3.0
...
As per discussion on https://github.com/wagtail/wagtail/discussions/7732 , the changes in the upcoming release (sidebar redesign, removal of hallo.js, module reorganisation) warrant a version bump to 3.0 if we're following semantic versioning.
2022-03-31 06:38:27 +10:00
Sage Abdullah
dcae64c255
Allow StreamField
to use JSONField
internal type via use_json_field
kwarg
...
Add system check for use_json_field in StreamField
Change system check level to Warning
Add use_json_field argument to StreamField in test models
Use RemovedInWagtail219Warning instead of a system check
Handle unpacked values in to_python when use_json_field is True
Duplicate models and tests for JSONField-based StreamField
Add basic tests for JSONField-based StreamField
Add json_field property in StreamField to unify JSONField usage
Add docs
Don't use destructuring for kwargs in deconstruct
Add versionchanged note to StreamField reference
2022-03-29 18:18:08 +01:00
Matt Westcott
6bb26c774e
Move template paths from edit_handlers to panels
2022-03-25 10:44:25 -04:00
Matt Westcott
c7774ba0be
Move wagtail.contrib.forms.edit_handlers to wagtail.contrib.forms.panels
2022-03-25 10:44:25 -04: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
Matt Westcott
dd37901428
Add documentation for the permission kwarg on FieldPanel
2022-03-16 11:47:51 +00:00
Serafeim Papastefanos
93da5bc793
Documentation - modelAdmin - add form clean example
2022-03-16 21:16:28 +10:00
LB Johnston
7c3ddb3bfc
documentation - adopt MyST syntax for form builder section
...
- the original conversion to markdown happened around the same time as the MyST conversion
- this meant that the syntax was not in sync
- also run prettier over markdown for consistent formatting & whitespace
- see #8007
2022-03-16 20:51:43 +10: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)
70aabb5d34
Refine documentation for show_in_menus
( #8072 )
...
- this appears to be a point of confusion, where developers are unsure what this field does
- this update makes it more explicit that this field does not do anything, except the queryset usage, by default
2022-03-04 14:34:21 +00:00
Matt Westcott
31139e8b24
Remove references to StreamFieldPanel and ChooserPanels from docs
2022-03-02 15:55:25 +00:00
Matt Westcott
c6f3b9982c
Fix / remove broken documentation links
2022-03-02 11:48:06 +00:00
LB Johnston
6ecdc16bd4
remove Hallo references in the documentation
2022-03-02 20:15:33 +10:00
Sage Abdullah
bf8d5b3f94
Replace data_json
TextField
with data
JSONField
in BaseLogEntry
2022-02-28 10:27:07 +00:00
Sage Abdullah
bae76a2af0
Replace content_json
TextField
with content
JSONField
in PageRevision
2022-02-25 11:39:47 +00:00
Andy Babic
963c739f03
Remove a reference to the recipe from redirects.rst
2022-02-22 16:18:46 +10:00
Andy Babic
2c33c98eb4
Remove redirect auto-creation recipe from docs, as wagtail has this covered.
2022-02-22 16:18:46 +10:00
Matt Westcott
8d40a978ef
Remove old versionadded / versionchanged notes
2022-02-08 19:00:47 +00:00
Matt Westcott
00582ba35a
Remove 'db' and 'postgres_search' search backends
2022-02-08 19:00:47 +00:00
LB Johnston
5258f2899b
hooks - update unnecessary format_html to mark_safe
2022-01-26 11:19:27 +00:00
Andy Babic
236af3607f
Documentation for #7827
2022-01-21 12:53:37 +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
Thibaud Colas
20a7d1ef3a
Mention WAGTAIL_SLIM_SIDEBAR will go away in Wagtail 2.18
2022-01-21 10:24:02 +00:00
Thibaud Colas
2e6378aa19
Add WAGTAIL_SLIM_SIDEBAR = False setting to switch back to legacy sidebar
2022-01-21 10:24:02 +00:00
Thibaud Colas
71be900e25
Update MenuItem API documentation
2022-01-21 10:24:02 +00:00
Naomi I. Morduch Toubman
9b1a05a55d
Change webmaster to website administrator in the admin ( #6857 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-20 20:39:09 +00:00
Vladimir Tananko
e07e1994de
A Jinja2 version of wagtail_site tag
2022-01-20 14:05:13 +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