Matt Westcott
b593b43395
Release note for #5643 in 2.6.3
2019-10-22 16:11:36 +01:00
Matt Westcott
46615c2912
Ensure admin API always uses SessionAuthentication backend
...
Fixes #5585 and (at least partly) #5628
2019-10-22 16:10:43 +01:00
Matt Westcott
cfafb2b0a2
Version bump to 2.7rc1
2019-10-16 18:21:01 +01:00
Matt Westcott
c4506467b9
Generate new strings for translation
2019-10-16 18:19:00 +01:00
Matt Westcott
7cb7a37206
Remove redundant ugettext_lazy from non-text labels
2019-10-16 18:19:00 +01:00
Matt Westcott
12b4a0b8f5
Fetch new translations from transifex
2019-10-16 18:19:00 +01:00
Matt Westcott
fe9132823a
Changelog cleanup
...
* note Python 3.8 support as provisional
* Remove mentions of minor doc fixes (there are many more fixes beyond the ones mentioned here, and including them all in the release notes would add too much noise...)
2019-10-16 18:17:17 +01:00
Matt Westcott
142e133209
Rename wagtail/admin/locale.py to localization.py
...
Having a module called locale interferes with Django's makemessages / compilemessages commands :-(
2019-10-16 17:42:16 +01:00
Karl Hobley
8335eb5305
syntax => keyword
2019-10-16 16:24:24 +01:00
Karl Hobley
6727ded7bc
Improvements to "Alternative HTML tags" based on review feedback
2019-10-16 16:24:24 +01:00
Karl Hobley
abbbceb389
Add documentation for how to use alternative image tags
...
This adds documentation for alternative image tags such as `<picture>`
and `<amp-img>`.
2019-10-16 16:24:24 +01:00
Matt Westcott
302d22e252
Release note for #5249 / #5629
2019-10-16 16:21:26 +01:00
Matt Westcott
e496d18dc4
Add tests for webp format conversion
2019-10-16 15:11:03 +01:00
frmdstryr
01e0cd9dac
Support format-webp and allow changing default formatting
2019-10-16 15:02:59 +01:00
frmdstryr
8862dbdd80
Add webp support
2019-10-16 14:29:06 +01:00
Matt Westcott
3024e02481
Revert "Formalise Python 3.8 support"
...
This reverts commit ddbbaea288 .
2019-10-16 14:27:59 +01:00
Karl Hobley
b4ecead6d9
[5225] Take number of frames into account when limiting image size
2019-10-16 11:36:07 +01:00
Matt Westcott
3d5f55d731
Add thanks to squash.io
2019-10-16 10:54:44 +01:00
Matt Westcott
4d9e87e794
Replace rawgit.com links with jsdelivr
...
rawgit will be shut down soon
2019-10-16 10:54:44 +01:00
Andreas Bernacca
3fd3d97850
Add model to PersonAdmin in documentation
2019-10-16 10:54:05 +01:00
Thijs Baaijen
fe1434e8d2
Change string based reference to class based
2019-10-16 10:51:54 +01:00
Matt Westcott
fe9fcd5128
Make copy of ES6 settings before setting max_ngram_diff ( #5625 )
2019-10-16 09:22:43 +01:00
Matt Westcott
ddbbaea288
Formalise Python 3.8 support
2019-10-15 20:08:04 +01:00
Matt Westcott
34b3f0c0fc
Recommend signals rather than hooks for model-level customisations
...
As per #5620 - signals are often overlooked as a way of customising model-level behaviour. We should recommend them over admin hooks where possible, as they aren't reliant on users taking one particular path through the admin - for example, an 'add document' signal will be triggered regardless of whether a document is created through the single uploader, multiple uploader, chooser model or a scripted task, whereas a hook would not catch all of these cases.
2019-10-15 13:52:32 +01:00
LB (Ben Johnston)
03cd4056df
Docs - Add AbstractUser import to custom user model
...
- `from django.contrib.auth.models import AbstractUser`
- revise a previous changelog entry to clarify 'clean up' vs 'fix'
2019-10-12 09:57:47 +10:00
Matt Westcott
9d7d09bd75
Replace format() placeholders in translatable strings with % formatting
...
Fixes #5539 . Transifex and Django's makemessages command have validation to catch invalid placeholder variables within translated strings - for example, where the translator has translated the variable name - but these only recognise old-style `%` formatting, not the `format` method, and so it's better for us to standardise on % formatting.
To reduce the burden on translators having to re-translate these strings, only the ones using named placeholders (`"Edited page {title}"`) rather than numeric ones (`"Edited page {0}"`) have been changed - hopefully the latter give less room for error.
Also fixed some incorrect use of plurals (verbose_name vs verbose_name_plural) in snippet confirmation messages.
2019-10-12 09:46:57 +10:00
David Thompson
6a6555eb19
Fix multiple minor documentation issues
...
- Typo in readme (verb did not agree with the subject)
- Grammatical error in topics/pages
- #5364 - Update URL config code block in getting-started/integrating-into-django
2019-10-12 09:42:02 +10:00
a-mere-peasant
1eae1e4614
Added 'image uploads in forms' to third party tutorials
2019-10-12 09:31:19 +10:00
Matt Westcott
a0035c33c0
Add example of template rendering to TableBlock docs
...
Addresses #5540
2019-10-12 09:29:10 +10:00
Matt Westcott
72ba719ac8
Remove mentions of Django 3.0 compatibility from release notes
...
Work on compatibility is ongoing while Django 3.0 is still in development; we don't want this to be misinterpreted as a statement of formal Django 3.0 support (which we can't promise until the final release)
2019-10-11 12:28:01 +01:00
Matt Westcott
7aacade7ec
Add acknowledgement to The Motley Fool
2019-10-11 12:27:18 +01:00
Matt Westcott
ee68d2214a
Release note for #5500 / #5612
2019-10-11 12:18:34 +01:00
Matt Westcott
3557c954c0
Clarify that menu item order attribute is ignored in construct_page_action_menu
2019-10-11 12:17:52 +01:00
Matt Westcott
671698a59f
Add release note about template change for action menu items
2019-10-11 12:11:09 +01:00
Matt Westcott
6de06b6d04
Update construct_page_action_menu example
...
Now avoids redefining the whole list, and reflects the fact that the first (rather than last) item is picked as the default.
2019-10-11 12:11:09 +01:00
Matt Westcott
cbbddb5572
Revise action menu ordering so that the first (not last) item is picked as the default
...
Addresses backwards compatibility of existing action menu hooks, as per https://github.com/wagtail/wagtail/pull/5500#pullrequestreview-286868977
2019-10-11 12:11:09 +01:00
Matt Westcott
0bd6266736
Add 'Page locked' as a distinct menu item
2019-10-11 12:11:08 +01:00
Rahmi Pruitt
fe2f8644fa
Allow default item in action menu to be overridden with construct_page_action_menu hook
...
Fixes #5438
2019-10-11 12:11:08 +01:00
Karl Hobley
0507ec5377
Release notes for #5611
2019-10-10 11:03:39 +01:00
pySilver
0149eff66a
Implements ES7 support ( #5611 )
...
* Implements ES7 support
* Linter fix
* Adds docs
* isort fix
* Fixes typo
2019-10-10 11:00:14 +01:00
Matt Westcott
e1d3390a1f
Release note for #5527
2019-10-09 12:53:58 +01:00
Matt Westcott
0569960acc
Added upgrade note about disabling version strings
2019-10-09 12:16:59 +01:00
Matt Westcott
779620e53b
Disable querystrings if a storage backend with hashed filenames is active
2019-10-09 12:16:58 +01:00
Matt Westcott
8711050e49
Add cache-busting parameter to admin static files
...
Fixes #5493
2019-10-09 12:16:56 +01:00
Prithvi MK
f4cc454e13
Add separate GitHub issue templates for feature requests and bugs. Fix #5560 ( #5594 )
2019-10-02 16:27:31 +01:00
Sergey Fedoseev
b9c470df37
Output form media on add/edit/chooser document forms with custom models
...
Similar to eaad013081 , but for Document
2019-10-02 12:54:27 +01:00
Sergey Fedoseev
4d2956f7e7
Deduplicate creation of fake file in document tests
2019-10-02 12:54:27 +01:00
jacobtoppm
dd5cbd8d7a
Add new docs page 'Changing rich text representation' ( #5579 )
...
* Add new docs page 'Changing rich text representation' describing how to subclass Format to provide a custom image html representation in rich text
2019-10-02 12:12:38 +01:00
jacobtm
daba83aab1
Add a note on 'Previewing and Submitting for Moderation' page about potential disabled moderation
2019-10-02 10:48:15 +01:00
Mike Janger
747b5402d2
Changed height's description to match width's. ( #5593 )
2019-10-02 09:32:16 +01:00