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
Thibaud Colas
f62b6dd565
Fix failing test cases after Jest upgrade
2020-10-21 12:33:25 +01:00
Thibaud Colas
de2d66e08e
Update Webpack config for Webpack 4 API
2020-10-21 12:33:25 +01:00
Thibaud Colas
ef2c177a7b
Remove only usage of Webpack aliases and resolver, incompatible with new setup
2020-10-21 12:33:25 +01:00
Thibaud Colas
d0dd6820c9
Update Webpack
2020-10-21 12:33:25 +01:00
Thibaud Colas
992ea2a0ef
Remove extra package.json which causes problems for Jest config resolution
2020-10-21 12:33:25 +01:00
Thibaud Colas
d41df6ca46
Combine all Webpack modes into single file
2020-10-21 12:33:25 +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
Karl Hobley
3e158ca2aa
Enable TypeScript ( #6472 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-21 00:51:09 +01:00
meghanabhange
3a2f2a6ea3
form_classname meta in FieldBlock ( #6470 )
2020-10-20 19:17:54 +01:00
Karl Hobley
0c2bae7941
Update to Babel 7 ( #6471 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-20 17:06:52 +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
Antoni Martyniuk
9c56dfc5d0
Adds ModelAdmin.prepopulated_fields
feature from django.admin
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
Matt Westcott
8e47b27ffc
Fixed -> Fix
2020-10-19 21:31:32 +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
05223db8c3
Add locale selector to page explorer
2020-10-19 20:15:34 +01:00
Karl Hobley
131f6870d5
Allow pages to be created in any locale at the root level
2020-10-19 20:15:34 +01:00
Karl Hobley
33c34c1230
Add locale selector to add subpage view
2020-10-19 20:15:34 +01:00
Karl Hobley
9e9e753f58
Add locale selector to page edit view
2020-10-19 20:15:34 +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
5e37414de4
Ensure that default values on StreamField blocks always use a distinct instance
2020-10-18 15:28:57 +01:00