LB
6b1c356b20
Add core util - string_to_ascii
...
* start to keep all unidecode usage in one central place for future replacement
2020-07-12 20:41:28 +10:00
LB
3d62f5e732
Add core util tests - camelcase_to_underscore
2020-07-12 20:41:28 +10:00
LB
abedff12cd
Add core util - safe_snake_case
...
* converts a string to ascii and parses through cautious slugify before replacing dashes with underscores
2020-07-12 20:41:28 +10:00
Storm Heg
8c306910dd
Fix incorrect urls in the docs
2020-07-06 13:15:40 +01:00
Storm Heg
98c66359a8
Replace a few instances of re_path with path
2020-07-06 13:15:39 +01:00
Storm Heg
4076b9ef5e
Replace calls to django.conf.urls.url with django.urls.path or django.urls.re_path
2020-07-06 13:15:37 +01:00
Matt Westcott
34785b9085
Release note for #6196
2020-07-03 19:19:41 +01:00
Matt Westcott
2b87454a95
Add non-field errors to document add/edit forms
2020-07-03 19:17:16 +01:00
Matt Westcott
18b8b9d5fc
Add non-field errors to image add/edit forms
2020-07-03 19:17:16 +01:00
Matt Westcott
8b1699437f
Release notes for 2.9.2
2020-07-03 12:58:19 +01:00
Matt Westcott
91085b7655
move import of Site to avoid error when wagtail.contrib.sitemaps is in INSTALLED_APPS
...
The sitemap_generator module is imported from wagtail/contrib/sitemaps/__init__.py, which causes it to be imported immediately if wagtail.contrib.sitemaps is in INSTALLED_APPS (which is not required or part of the setup docs, but is something people are understandably likely to do). This is too early in startup to import models, and fails with an AppRegistryNotReady exception.
There's probably a good case for not having that import in __init__.py, but some code/docs in the wild relies on it (e.g. https://stackoverflow.com/questions/44681046/how-to-join-wagtail-and-django-sitemaps ), so better to leave it in for now.
2020-07-03 12:56:57 +01:00
Maxxen
4afdbdea56
added maxNumChildBlocks property and callbacks to disable adding/removing child blocks to sequence. Also made streamfield add-buttons dissapear when capacity is reached ( #6070 )
2020-06-30 15:02:16 +01:00
Matt Westcott
ccbbe8b8ee
Release note for #6183 in 2.10
2020-06-30 14:25:30 +01:00
Andy Babic
58741d3989
Update Page.objects.specific() to warn instead of erroring when pages of the specific type cannot be found ( #5928 )
2020-06-30 14:23:25 +01:00
Matt Westcott
4ee07d8073
Fill in release date for 2.9.1
2020-06-30 11:53:42 +01:00
Matt Westcott
98301fe736
Release note for #6183 in 2.9.1
2020-06-30 11:49:55 +01:00
Matt Westcott
d6d357fee7
Purge image rendition cache on rendition deletion
...
Fixes #6096
2020-06-30 11:11:01 +01:00
Mike Monteith
e9fa7ea915
Remove Django 2.1 from install_requires
...
Since Wagtail 2.9, Django >=2.2 is required. https://docs.wagtail.io/en/v2.9/releases/upgrading.html#compatible-django-python-versions
2020-06-30 11:08:58 +01:00
LB (Ben Johnston)
80f7db750a
Fix gulp watch task ( #6117 )
...
- revise watch & task syntax for Gulp v4 requirements
- ensure only one watcher gets created for file type paths
2020-06-30 09:27:50 +01:00
Dan Braghis
b77f1b75ce
Fix MediaBlock SVG icon size in the rich text editor
...
Fixes #6142
2020-06-30 07:13:29 +10:00
Seb
b9347ee970
Add ability to extend EditHandler without a children attribute
...
- Only run checks on children for tabs that use BaseCompositeEditHandler (have children)
2020-06-30 07:08:03 +10:00
Matt Westcott
390a070494
Move pages summary item hook into wagtail.admin.wagtail_hooks
...
As per https://github.com/wagtail/wagtail/issues/6160#issuecomment-646080597 - this ensures that the hook will be triggered in the correct order with respect to INSTALLED_APPS.
2020-06-29 18:07:14 +01:00
Coen van der Kamp
b1d82cf2db
Switch messages icons to SVG ( #6124 )
2020-06-29 16:17:04 +01:00
Dan Braghis
bce1e440bd
Add spacing to daterange filter inputs ( #6182 )
2020-06-27 10:20:20 +01:00
Matt Westcott
1b92c0a9ea
Upgrade jquery to 3.5.1 ( #6167 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-06-27 08:22:13 +01:00
Dan Braghis
18fdd905d3
Release notes for #6125 and #6121
2020-06-26 11:12:35 +01:00
Coen van der Kamp
437e0a8ec9
Switch all header h1s icons to svg
2020-06-26 10:56:01 +01:00
Coen van der Kamp
073f072e07
Display header icon in styleguide
2020-06-26 10:55:27 +01:00
Coen van der Kamp
8a4234f83a
Switch header h1 to SVG icon
2020-06-26 10:55:27 +01:00
Samir Shah
30419231e5
Disable password auto-completion on UserForm password fields. ( #6175 )
2020-06-25 17:11:03 +01:00
Matt Westcott
3ec7eada56
Promote redirect importing to a major feature
2020-06-25 17:09:17 +01:00
Matt Westcott
e9e6a8d5e7
Add more detail to RoutablePageMixin example ( #6128 )
2020-06-25 16:57:58 +01:00
Gassan Gousseinov
a4e05f4538
I would like only add my own editor without to redefine a default one. ( #6118 )
2020-06-25 16:53:06 +01:00
Thibaud Colas
c58a681828
Optimise npm install in squash for speed & logs visibility ( #6158 )
...
* Optimise npm install in squash for speed & logs
- `--no-optional` prevents installing dependencies that shouldn’t be needed for a one-off build
- `--no-audit` prevents running the `npm audit`
- `--progress=false`
* Add additional --no-fund flag to npm install
* Add "CI=true" environment variable to Squash builds for Node tooling
* Move CI=true to commands that need it
* Remove options that did not work
2020-06-25 16:03:42 +01:00
Jean Zombie
9baf6ce62a
Update hooks.rst ( #6160 / #6161 )
...
This proposed update is in regard to Issue #6160
2020-06-25 14:54:16 +01:00
Matt Westcott
8d21ad6e5a
Release note for #6176 in 2.10
2020-06-25 10:31:29 +01:00
Matt Westcott
0067194d71
Release note for #6176 on 2.9.1
2020-06-25 10:29:52 +01:00
Matt Westcott
5f31b644e7
Make wagtail.contrib.sitemaps work without SiteMiddleware ( #6176 )
...
Fixes #6174
2020-06-25 10:29:36 +01:00
Matt Westcott
216dfdf459
Add release notes for Wagtail 2.9.1
2020-06-25 10:29:15 +01:00
Matt Westcott
ce6b2fe97b
Fix numbering of postgres search migrations
2020-06-18 10:56:55 +01:00
Tom Dyson
20b99d4386
Remove 'whitelist' from page reference docs ( #6153 )
2020-06-16 11:23:51 +01:00
Coen van der Kamp
ec88e4d390
Add userbar action icons
2020-06-15 14:34:37 +01:00
Coen van der Kamp
a05cd07340
Switch userbar icon to SVG
2020-06-15 14:34:37 +01:00
Coen van der Kamp
66da26b0c9
Fix icon tag docstring
2020-06-15 14:34:29 +01:00
Coen van der Kamp
8052c93795
Add svg icon mixin
2020-06-15 14:34:29 +01:00
Timothy Bautista
cfc2bc8470
Fix minor typo in 2.10 changelog ( #6140 )
...
XLX/XLXS -> XLS/XLSX
2020-06-12 09:30:39 +01:00
Karl Hobley
06303c7169
Change contributor name for mozgsml to Nikolay Lukyanov
2020-06-09 11:04:13 +01:00
Karl Hobley
8d84f6a415
Changelog/release note/contributor for #6040
2020-06-09 09:42:48 +01:00
mozgsml
4abeb8232d
WebP images quality/lossless compression parameters ( #6040 )
...
* Add WebP-image quality and lossless
* Add WebP-image quality and lossless to Docs
* add WebP quality tests
* Split image quality filter => jpegquality, webpquality
* WebP lossless to inage format options
* Update WebP quality/lossless docs
* Updated Willow version
* WebP quality/lossless minor fix
2020-06-09 09:29:48 +01:00
Matt Westcott
e10a9f26e7
Use standard subheading format for upgrade considerations
2020-06-08 14:08:17 +01:00