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
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