Wykres commitów

9417 Commity (8577cc2d021ff7ee0d614bac46b82f5c2d058861)

Autor SHA1 Wiadomość Data
Matt Westcott 8577cc2d02 Remove old versionadded tags in the docs 2019-10-29 08:56:12 +00:00
Matt Westcott 95299e76b9 Rotate deprecation warnings 2019-10-29 08:51:15 +00:00
Matt Westcott 8cc7e942f5 Version bump to 2.8a0 2019-10-29 08:48:20 +00:00
LB 34db9a394f Fix contributor name
- incorrectly added the issue creator not the PR creator
- updated name to the correct one - Stefani Castellanos
2019-10-29 08:23:44 +10:00
Stefani Castellanos 92864f22b4 Added label 'URL' for external link
- Regression - missing label for external link URL field in link chooser
- Resolves #5656
2019-10-29 08:19:31 +10:00
Igoranze a459e91692 Fix submenu footer blocking items in admin
- items longer then the page height are no longer broken by the submenu footer
- long lists of submenu items are no longer blocked by the footer (version number)
2019-10-24 08:17:55 +10:00
David b6c5eaccfc Fixed 2.6.3 date in Changelog and updated username on Contributors 2019-10-24 07:42:16 +10:00
LB 57d44a38bd Admin documents listing - rename 'uploaded' to 'created
Other changes

- documents listing template - clean up white space

Documentation changes (editors manual)

- update images
- remove popular tags mention as this is no longer applicable
- add references to 'collection'

Resolves #2827
2019-10-24 07:40:59 +10:00
Sergey Fedoseev eab9198f4c Move flake8 config to setup.cfg 2019-10-23 18:09:07 +02:00
Sergey Fedoseev 40e56cbd7a Remove RichText.__nonzero__() unused on Python 3 2019-10-23 18:05:42 +02:00
Loic Teixeira 80c70c5de8 Add 2.8 section to changelog and release notes 2019-10-23 17:52:20 +02:00
Matt Westcott dda048c6b3 Fetch new translations from Transifex 2019-10-23 11:11:53 +01:00
Matt Westcott ffdbe3e26c Avoid calling versioned_static from static form media definitions (#5644)
* Avoid calling versioned_static from static form media definitions

Fixes #5632

Defining media definitions with `class Media:` means that those lines are evaluated on application startup; this means that they cannot contain calls to the Django static file finder, because ManifestStaticFilesStorage doesn't work until collectstatic has completed. Fix this by making those definitions into `def media(self):` methods.

* Add test to confirm that inheritance still works with dynamic form media definitions
2019-10-23 11:52:56 +02:00
Matt Westcott a5d54a587b Mark Python 3.8 support as official in changelog 2019-10-22 16:25:59 +01:00
Matt Westcott 69e96a9227 Formalise Python 3.8 support 2019-10-22 16:23:44 +01:00
Matt Westcott 96c1c41daa Release note for #5643 in 2.7 2019-10-22 16:14:25 +01:00
Matt Westcott f1c79e169a Release note for #5643 in 2.6.3 2019-10-22 16:14:17 +01:00
Matt Westcott 605cedca78 Ensure admin API always uses SessionAuthentication backend
Fixes #5585 and (at least partly) #5628
2019-10-22 16:14:09 +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