Matt Westcott
35a8255ded
Ditch all travis config except for elasticsearch 2 test
2020-11-05 12:04:12 +00:00
Matt Westcott
ea9298bd71
add Github Actions config
2020-11-05 12:04:12 +00:00
Sævar Öfjörð Magnússon
a541510417
Additional safeguard to check if a cached site is from an older version of Wagtail ( #6515 )
2020-11-04 12:22:43 +00:00
Matt Westcott
14f1d8d59a
Add release notes section for 2.11.1
...
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
2020-11-04 10:45:15 +00:00
Naglis Jonaitis
74c692ba21
Fix ModelAdmin documentation example
...
The `get_extra_class_names_for_field_col` seems to have an `if` missing
and uses an undefined `balance`.
2020-11-03 13:49:18 +00:00
Matt Westcott
39f953eca3
Release note for Python 3.9 support ( #6508 )
2020-11-03 11:58:01 +00:00
Matt Westcott
9bec60624c
Version bump mysqlclient for Django 3.1 compatibility
2020-11-02 18:40:58 +00:00
Matt Westcott
5bcfcdd315
Formalise support for Python 3.9
2020-11-02 17:29:58 +00:00
Matt Westcott
330f0dde15
Fill in release date for 2.11
2020-11-02 15:06:22 +00:00
Karl Hobley
12e8ee97bb
Check if new pages are site roots and clear the site_root_paths cache ( #6507 )
...
Previously, we were only doing this check for existing pages as there
was no way for a new page to be a site root.
But since internationalisation was implemented, new pages can be site
roots if they have a translation that is assigned in a `Site` record's
`root_page` field.
This commit removes a condition in `Page.save()` so `.is_site_root()` is
now called on new pages as well and the cache can get cleared if needed.
2020-11-02 14:31:00 +00:00
Matt Westcott
d56f8ea1c5
More prominent note about wagtail-localize in i18n docs ( #6506 )
2020-11-02 12:46:16 +00:00
Matt Westcott
f54f0942e0
Fetch new translations from Transifex
2020-11-02 12:45:05 +00:00
Karl Hobley
516150403b
Update 2.12.rst
2020-10-23 20:07:51 +01:00
Matt Westcott
4c66dc6197
Add back unidecode as a testing-only dependency
2020-10-23 18:57:32 +01:00
Matt Westcott
0e41104670
Rotate deprecation warnings
2020-10-23 18:33:06 +01:00
Matt Westcott
94f6b755b2
Version bump to start work on 2.12
2020-10-23 16:55:21 +01:00
Matt Westcott
e96f46c9e5
Version bump to 2.11rc1
2020-10-23 15:10:10 +01:00
Karl Hobley
d58f74f7bd
Implement locale selector in React page explorer ( #6481 )
2020-10-23 14:40:25 +01:00
Karl Hobley
6234023f39
Changelog / relase note for internationalisation ( #6492 )
...
* Changelog / relase note for internationalisation
* Apply suggestions from code review
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2020-10-23 14:26:44 +01:00
Matt Westcott
73f1223a75
Generate new translation strings
2020-10-23 12:35:59 +01:00
Matt Westcott
cacc639688
Fetch new translations from Transifex
2020-10-23 12:32:12 +01:00
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
Matt Westcott
ae7897c842
Refactor snippet create/edit headers to avoid duplication
2020-10-23 10:29:44 +01:00
Karl Hobley
bd70ecf318
Tweaks to internationalisation docs
2020-10-23 10:29:22 +01:00
Karl Hobley
123d9cef92
Add locale indication to the React page explorer
2020-10-23 09:09:52 +01:00
Karl Hobley
588deb93d3
Add locale selector to snippet create
2020-10-22 16:57:32 +01:00
Karl Hobley
e8e91fa1ac
Add locale selector to snippet edit
2020-10-22 16:57:32 +01:00
Karl Hobley
6a84461dbc
Add locale selector to snippet listing
2020-10-22 16:57:32 +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
Karl Hobley
76e8704c27
Fix docstring
2020-10-21 16:43:04 +01:00
Karl Hobley
aa4a1e37b6
Remove duplicate CONTRIBUTORS entry for @samgans
2020-10-21 16:20:10 +01: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
Karl Hobley
b0fa9c30d7
Update package-lock.json
2020-10-21 23:33:51 +10:00
Karl Hobley
1edea5edb2
Add root State/Action types
2020-10-21 23:33:51 +10:00
Karl Hobley
ae80df24b7
Add typings for API
2020-10-21 23:33:51 +10:00
Karl Hobley
61692b3ffa
Add typings for Redux actions
2020-10-21 23:33:51 +10:00
Karl Hobley
89d296c562
Merge all page state types into a single type
2020-10-21 23:33:51 +10:00
Karl Hobley
650045b573
Convert Explorer into TypeScript
...
And replace PropTypes with TypeScript annotations
2020-10-21 23:33:51 +10:00
Matt Westcott
60af9ccef3
Extend Pillow dependency range to include 8.x
2020-10-21 14:27:48 +01:00
Thibaud Colas
d316677b89
Switch from Babel to TypeScript
2020-10-21 12:48:40 +01:00
Matt Westcott
878f2784cb
Add config section for doc8 in setup.cfg and ignore _build dir
2020-10-21 12:39:32 +01:00
Thibaud Colas
8eb22d6f45
Update package-lock.json
2020-10-21 12:33:25 +01:00
Thibaud Colas
d7490de076
Disable Webpack performance hints
2020-10-21 12:33:25 +01:00
Thibaud Colas
e2bfeb1e20
Fix remaining reported vulnerabilities
2020-10-21 12:33:25 +01:00
Thibaud Colas
c24c326ec3
Change how IE11 polyfills are added to Webpack build
2020-10-21 12:33:25 +01:00
Thibaud Colas
5392891c5a
Upgrade to latest @wagtail/stylelint-config-wagtail to remove peerDependency warning
2020-10-21 12:33:25 +01:00
Thibaud Colas
582b9c61fd
Replace gulp-cssnano and gulp-autoprefixer with gulp-postcss and respective packages
2020-10-21 12:33:25 +01:00