Tom Usher
644ee86e00
Add support for cloudflare API tokens ( #5688 )
2019-11-19 14:47:52 +00:00
Karl Hobley
127dcd9634
Implemented "ancestors" field in Admin API ( #5676 )
2019-11-19 14:08:32 +00:00
LB
9b64a8647c
Update contributor name
2019-11-16 18:28:21 +10:00
Karl Hobley
16bf4cac56
Delete the internationalisation docs
2019-11-09 15:34:51 +00:00
Brady Moe
f8c7d7f5f7
adds mark_safe to the render_form method on the structblock ( #5687 )
2019-11-08 11:03:09 +00:00
Martey Dodoo
229103ff2e
Update links in documentation. ( #5689 )
...
Use HTTPS links instead of non-secure HTTP links wherever possible in
documentation.
2019-11-08 09:15:01 +00:00
LB
985e5b2274
Update deprecation warning for get_document_model
...
- ensure warning is present for the next two releases
2019-11-07 12:35:55 +10: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
dependabot[bot]
01caaa0dc2
Bump eslint from 2.13.1 to 4.18.2 ( #5665 )
...
* Bump eslint from 2.13.1 to 4.18.2
Bumps [eslint](https://github.com/eslint/eslint ) from 2.13.1 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v2.13.1...v4.18.2 )
Signed-off-by: dependabot[bot] <support@github.com>
* fix up linting issues
2019-11-06 18:16:10 +00:00
Matt Westcott
94bb595d0c
Add Django stable/3.0.x to CI matrix ( #5685 )
2019-11-06 18:13:14 +00:00
Matt Westcott
e756a1879d
Add release note for dropping Django 2.0 support
2019-11-06 17:10:32 +00:00
Matt Westcott
3e98563340
Drop support for Django 2.0 ( #5684 )
2019-11-06 17:05:04 +00:00
Tom Readings
e75b74911e
Reference the embedly package requirement for embedly finder support ( #5680 )
2019-11-06 17:03:44 +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
Matt Westcott
8f70829911
Fetch new translations from Transifex
2019-11-06 13:05:43 +00:00
Karl Hobley
5845cfbfe9
Add Recipe doc for implementing AMP on a site ( #5626 )
...
* Add Recipe doc for implementing AMP on a site
* Fix typos
* Add section on using a different page template for AMP
* Move AMP recipe out of images
Not very image specific anymore
* Wording tweaks and grammar fixes
2019-11-05 15:28:45 +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
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