0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

3132 Commits

Author SHA1 Message Date
Loic Teixeira
6c9478c139 Rework headings hierarchy
Initial hierarchy:

- Available panel types
    - FieldPanel
    - StreamFieldPanel
    - MultiFieldPanel
    - InlinePanel
    - FieldRowPanel
    - HelpPanel
    - PageChooserPanel
    - ImageChooserPanel
    - FormSubmissionsPanel
    - DocumentChooserPanel
    - SnippetChooserPanel
        - Built-in Fields and Choosers
        - Field Customisation
    - Full-Width Input
    - Titles
    - Placeholder Text
    - Required Fields
    - Hiding Fields
        - Inline Panels and Model Clusters

Revised Hierarcy:

- Panel types
    - Built-in Fields and Choosers
        - FieldPanel
        - StreamFieldPanel
        - MultiFieldPanel
        - InlinePanel
        - FieldRowPanel
        - HelpPanel
        - PageChooserPanel
        - ImageChooserPanel
        - FormSubmissionsPanel
        - DocumentChooserPanel
        - SnippetChooserPanel
    - Field Customisation
        - Full-Width Input
        - Titles
        - Placeholder Text
        - Required Fields
        - Hiding Fields
    - Inline Panels and Model Clusters
2020-10-23 10:36:01 +01:00
Karl Hobley
bd70ecf318 Tweaks to internationalisation docs 2020-10-23 10:29:22 +01:00
Matt Westcott
7d92e3982f Fix steps for adding translations to an existin snippet
* Fix BootstrapTranslatableMixin to skip TranslatableModel's system check for the missing unique constraint
* Fix incorrect import for BootstrapTranslatableModel and use of `--empty` in final schema migration
* Clarify handling of Meta classes, the fact that you need to run makemigrations for step 1, and what to do for the non-nullable 'locale' prompt
2020-10-22 16:44:54 +01:00
LB Johnston
f6dce3d6df Update changelog entries for @samgans 2020-10-22 19:46:07 +10:00
Karl Hobley
f0ce1f4775 Replace pushPage/popPage with more flexible gotoPage method
- page explorer
2020-10-22 19:45:34 +10:00
Anton Zhyltsou
41eccc72bc Consistently redirect to admin home on permission denied
* Catch PermissionDenied exceptions in require_admin_access decorator
* Fixed permissions errors for the documents views
* Added permissions tests for the images views
* Fixed some tests for limited permissions
* fixes #6352
2020-10-22 00:10:24 +10:00
Coen van der Kamp
fd5e6b657f Switch breadcrumb icons to SVG 2020-10-21 23:57:09 +10:00
Matt Westcott
878f2784cb Add config section for doc8 in setup.cfg and ignore _build dir 2020-10-21 12:39:32 +01:00
Matt Westcott
accdbd2174 Mark 2.11 as an LTS release 2020-10-21 12:14:04 +01:00
Matt Westcott
75f363ecf3 fix trailing whitespace 2020-10-21 12:12:34 +01:00
Thibaud Colas
6e404740c7 Implement admin-only IE11 support warning message, linking to support plans 2020-10-21 12:05:27 +01:00
meghanabhange
3a2f2a6ea3 form_classname meta in FieldBlock (#6470) 2020-10-20 19:17:54 +01:00
Sævar Öfjörð Magnússon
b7643f869d Fix spacing around the privacy indicator panel. (#6454) 2020-10-20 13:07:03 +01:00
Andy Babic
cbf65ba645 Release notes for #6386 2020-10-19 21:37:28 +01:00
David Bramwell
e28aa6b194 Document ModlelAdmin.prepopulated_fields 2020-10-19 21:36:05 +01:00
Matt Westcott
9947b955da Lint config fixes (#6473)
Ref #6463, #6428

* pin isort to 5.6.4
* update isort version mentioned in python_guidelines.rst
* make lint commands consistent between make lint and circleci
* fix isort errors on files outside of /wagtail
* speed up isort by ignoring additional directories and filetypes
2020-10-19 21:33:10 +01:00
Jim Jazwiecki
024717fe0f add support for natural keys to group collection permissions for use in fixtures (#6211) 2020-10-19 21:31:10 +01:00
Karl Hobley
0efe4a75a5
[RFC 54] Internationalisation reference docs (#6377)
* Reference docs for internationalisation

* Update docs/reference/pages/model_reference.rst

Co-authored-by: Dan Braghis <dan@zerolab.org>

* Update docs/reference/pages/model_reference.rst

Co-authored-by: Dan Braghis <dan@zerolab.org>

* Update docs/reference/pages/model_reference.rst

Co-authored-by: Dan Braghis <dan@zerolab.org>

* Apply suggestions from code review

Co-authored-by: Dan Braghis <dan@zerolab.org>

* Add missing comma

* Apply suggestions from code review

Co-authored-by: Matt Westcott <matthew@torchbox.com>

Co-authored-by: Dan Braghis <dan@zerolab.org>
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2020-10-19 18:40:58 +01:00
Matt Westcott
9fab50e87a remove trailing whitespace 2020-10-19 18:11:12 +01:00
Jean Zombie
b5cfca31eb Add example of updating a page within after_create_page (#6373)
This update intends to add the answer I got on my slack support request (https://wagtailcms.slack.com/archives/C81FGJR2S/p1599209092087000).
2020-10-19 18:01:49 +01:00
Matt Westcott
27432e6c3f Release note for #5976 2020-10-18 15:31:56 +01:00
Matt Westcott
5f712b803a fix duplicate target name enabling_internationalisation 2020-10-16 14:15:33 +01:00
Karl Hobley
82dafc7ef8 Add docs for new i18n API filters (#6452) 2020-10-16 13:57:37 +01:00
Karl Hobley
bdfee22e8b
New topic docs for internationalisation (#6436)
* New topic docs for internationalisation

* Spelling + Grammar fixes

* Clarity fixes

* Fix formatting issues
2020-10-16 13:36:19 +01:00
Karl Hobley
44d40292e8 Add release note for page aliases (#6468) 2020-10-16 11:01:10 +01:00
Karl Hobley
10137b0162 Changelog / release notes for #6440 and #6441 + some spelling fixes 2020-10-16 10:45:29 +01:00
Karl Hobley
7f7f9b4de1 Make snippets action menu hookable 2020-10-14 14:41:22 +01:00
Matt Westcott
7e74b2b5d9 Add migration to apply alphabetical collection ordering 2020-10-13 17:54:35 +01:00
Matt Westcott
906380486d isort new files added in #6428 2020-10-13 14:19:07 +01:00
Matt Westcott
7be5363dac
Avoid retranslating month / weekday names that Django already provides (#6301)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-09 14:16:40 +01:00
Karl Hobley
c170c50c78 Add view for converting aliases into regular pages 2020-10-08 10:24:58 +01:00
Karl Hobley
b5eddca28b Synchronise alias page content when the source is updated 2020-10-08 10:24:58 +01:00
Karl Hobley
674fa8e27a Add Page.create_alias method 2020-10-08 10:24:58 +01:00
Karl Hobley
17f63f0efc Add alias_of field to Page 2020-10-08 10:24:58 +01:00
Karl Hobley
77610d1e64 Changelog / Release notes for #6434 and #6442 2020-10-06 16:02:48 +01:00
Sævar Öfjörð Magnússon
9d10e28214
Update wagtail app list to match installed apps in documentation 2020-10-06 15:03:39 +01:00
Karl Hobley
f2dfff8061 Flake8 all other Python files 2020-10-05 14:27:50 +01:00
Matt Westcott
dd42d91663 Release note / additional fix for #6339 2020-10-05 14:25:33 +01:00
Frantisek Holop
07a4b41444 deprecated 2020-10-05 14:23:50 +01:00
Matt Westcott
dd442a3990 remove trailing whitespace to placate doc8 2020-10-05 12:44:57 +01:00
jacobtoppm
c5a7584553 Add changelog and contributor for #6423 2020-10-05 12:36:54 +01:00
Sævar Öfjörð Magnússon
610cf07a85 Remove reference to photographer credit in documentation, add reference to title 2020-10-05 12:34:26 +01:00
Sævar Öfjörð Magnússon
cbe5c109dc Fix incorrect reference to edit fields in image documentation 2020-10-05 12:34:26 +01:00
meghanabhange
f1fbbcbc24
Add validation for file extension in AbstractDocument using WAGTAIL_DOCS_EXTENSIONS setting (#6423) 2020-10-05 12:26:00 +01:00
Karl Hobley
aafb5fb1eb Change docs code block style to 'default' 2020-10-05 11:21:07 +01:00
Karl Hobley
cf38b2457d Put quotes around some inline code 2020-10-03 14:43:03 +01:00
Karl Hobley
181b523faf Add more names and jargon to spelling wordlist 2020-10-03 14:43:03 +01:00
Karl Hobley
72ef7a73e8 ElasticSearch => Elasticsearch 2020-10-03 14:43:03 +01:00
Karl Hobley
39d931d77d Javascript => JavaScript 2020-10-03 14:43:03 +01:00
Karl Hobley
6e5f89adf2 General spelling fixes 2020-10-03 14:43:03 +01:00