Commit graph

9539 commits

Author SHA1 Message Date
jacobtm
1c94a9cd53 Create base ReportView and refactor locked_pages into subclass LockedPagesView, with a base template base_reports.html for simple listing reports 2019-10-31 10:05:38 +00:00
jacobtm
d06e7d8462 Refactor reports out of pages and into reports-specific files 2019-10-30 14:39:32 +00:00
jacobtm
0db98757b4 Add reports submenu with locked pages as item 2019-10-30 13:06:40 +00:00
jacobtm
d50a9eb11a Add link to all locked pages under 'Your Locked Pages' 2019-10-30 12:09:58 +00:00
jacobtm
91f3d093ce Change locked pages view icon 2019-10-30 12:01:51 +00:00
jacobtm
430b50424e Include scss formatting and add bold formatting to locking messages 2019-10-30 11:58:50 +00:00
jacobtm
7914c601e1 Remove default locked message 2019-10-30 11:37:24 +00:00
jacobtm
46c13d1d7d Add messages with lock and unlock icons depending on page's lock state 2019-10-30 11:35:58 +00:00
jacobtm
612e376290 Add a way to include extra tags in messages, and use it to add unlocked icon to unlock success message 2019-10-30 10:37:17 +00: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
Karl Hobley
221c3a6da0 Add to settings docs 2019-10-29 13:58:46 +00:00
Karl Hobley
2f93ae56e5 Upgrade consideration 2019-10-29 11:01:44 +00: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
Karl Hobley
e4dfbac2b8 Use page_perms directly instead of copying into template context 2019-10-28 11:27:13 +00:00
Karl Hobley
52638a1a6c Remove page locked check from modeladmin edit template 2019-10-28 11:19:14 +00:00
Karl Hobley
ed32bc8444 fixup! Record time and user when a page is locked 2019-10-28 11:16:54 +00: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
Karl Hobley
f09919a0f9 Add "Locked pages" view 2019-10-18 13:14:12 +01:00
Karl Hobley
ffd81242c3 Added "Your locked pages" dashboard panel 2019-10-18 10:03:54 +01:00
Karl Hobley
2f0c7c3f43 Implement 'Unlock' page permission 2019-10-18 10:03:54 +01:00
Karl Hobley
ec2feb24c5 Allow global locks to be re-enabled with a setting 2019-10-18 10:03:10 +01:00
Karl Hobley
f4a1467b7e Implement author specific locking 2019-10-18 10:03:08 +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