Wykres commitów

1344 Commity (f4273fa6833154c05e190c970cdf4ab6a72b9871)

Autor SHA1 Wiadomość Data
Johannes Vogel 4a1b337461 add etag support for documents 2019-12-18 15:28:23 +00:00
Matt Westcott 110101d96e Make Django 3.0 support official 2019-12-17 14:24:31 +00:00
Janneke Janssen 146853914e Add verbose_name_plural to form submission due to translation mismatch 2019-12-17 12:28:56 +00:00
Nick Smith 7acf4889db Move wagtail_urls to the end of template urls.py (#5733)
The `wagtail_urls` patterns is a catch-all list of urlpatterns, and will
prevent any patterns later in the list from being matched. The default
case when Django is in debug mode for local development is to use
`django-admin.py runserver`, and in this case the static patterns in the
example [are redundant][1]. However for anyone using a different server
for local development, this makes them work again.

[1]: https://docs.djangoproject.com/en/3.0/howto/static-files/#serving-static-files-during-development
2019-12-17 12:24:24 +00:00
Matt Westcott 4001516a27 Add formal support for nested InlinePanels
Fixes #1952 and #5511
2019-12-02 10:20:45 +10:00
Benedikt Willi 233e7f5189 Add ability to filter image index by a tag
- Fixed error when searching and filtering by tag at the same time
2019-12-02 09:54:35 +10:00
Dan Swain 749d0172e5 Documentation - include {{ block.super }} example in modelAdmin 2019-12-02 09:43:33 +10:00
Andreas Bernacca 4945acf2db Update document size & hash when changing document file
Resolves #5704
2019-12-01 19:00:57 +10:00
Andreas Bernacca 5a8f468c2d Fix layout issue when using FieldRowPanel with a heading
Resolves #5691
2019-12-01 18:20:44 +10:00
Pete Andrew abd8320dc3 Update links in docs to point at stable Django version 2019-12-01 13:19:40 +10:00
Karl Hobley 0dbe25c512 Changelog/release note for #5721 2019-11-26 15:50:44 +00:00
Andreas Bernacca 3cb59c2667 Remove Page & Site models from Django admin
- added instructions to release notes on how to reinstate on a per project basis
- Resolves #5703
2019-11-26 22:49:48 +10:00
Timothy Bautista 1b0aed7b20 use block.super in extra CSS/JS blocks
- ensure templates that have extra css/js blocks call {{ block.super }} in them
- wagtail.contrib.settings edit
- modeladmin templates
2019-11-20 20:34:00 +10:00
Karl Hobley d37d5c1c60 Changelog/release notes for #5676 and #5688 2019-11-19 14:50:01 +00:00
Tom Usher 644ee86e00 Add support for cloudflare API tokens (#5688) 2019-11-19 14:47:52 +00:00
LB 9b64a8647c Update contributor name 2019-11-16 18:28:21 +10:00
Brady Moe f8c7d7f5f7 adds mark_safe to the render_form method on the structblock (#5687) 2019-11-08 11:03:09 +00:00
WinterComes 06fb0764e0 Move get_document_model to __init__ & add get_document_model_string
Avoids issues where models are not yet loaded and document model is needed.

- apply isort
- fix minor typos
- fixes #5614
2019-11-07 07:47:12 +10:00
Matt Westcott e756a1879d Add release note for dropping Django 2.0 support 2019-11-06 17:10:32 +00:00
Fidel Ramos b9f585a6c9 Compare foreign keys using pk, not id (#5681)
Trying to compare revisions of a page that includes changes to a foreign key
field of a related model that declared a custom primary key failed with an
uncaught exception.

The root cause was ForeignObjectComparison filtering by the id field, which is
not present in models that declare a custom primary key.

The solution is simply to filter by pk instead of id, which always maps to the
primary key of the corresponding model.

Include a regression unit test.
2019-11-06 17:00:41 +00:00
Matt Westcott 39422b259e Fill in release date for 2.7 2019-11-06 13:06:22 +00:00
Nick Smith 1c1341e477 Improve contrast of disabled inputs
Fixes #5649
2019-11-03 07:41:08 +10:00
Matt Westcott 6ce9f3a717 Unbundle the l18n library
This was previously bundled in #4721 to avoid installation errors on non-Unicode locales. As of v2018.5, this has now been fixed upstream: https://bitbucket.org/tkhyn/l18n/issues/4/setuppy-raises-unicodedecodeerror-trying

isort fix
2019-10-30 08:03:41 +10:00
Karl Hobley 40dbb940e7 Improve diffing behavior for text fields 2019-10-29 17:22:49 -04: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 a5d54a587b Mark Python 3.8 support as official in changelog 2019-10-22 16:25:59 +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 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 302d22e252 Release note for #5249 / #5629 2019-10-16 16:21:26 +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 ddbbaea288 Formalise Python 3.8 support 2019-10-15 20:08:04 +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 ee68d2214a Release note for #5500 / #5612 2019-10-11 12:18:34 +01:00
Karl Hobley 0507ec5377 Release notes for #5611 2019-10-10 11:03:39 +01:00
Matt Westcott e1d3390a1f Release note for #5527 2019-10-09 12:53:58 +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