0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

9525 Commits

Author SHA1 Message Date
Karl Hobley
5f68627950 Merge branch 'master' into author-specific-locking 2019-11-26 15:55:49 +00:00
Karl Hobley
0dbe25c512 Changelog/release note for #5721 2019-11-26 15:50:44 +00:00
Tom Usher
fe350af949 Chunk Cloudflare frontend cache purging to fit within API limits (#5721)
* Chunk Cloudflare frontend cache purging to fit within API limits

* Add exception to tests to catch if Cloudflare chunking isn't working
2019-11-26 15:48:23 +00:00
Karl Hobley
5aa60e6722 Add user_has_lock to PagePermissionTester 2019-11-26 14:25:52 +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
Matt Westcott
96965d2a3a Update link to settings reference doc 2019-11-20 17:54:43 +00:00
Karl Hobley
633ad38925 Rename settings how-to guide 2019-11-20 17:54:08 +00:00
Karl Hobley
23145382e9 Move settings reference into separate doc 2019-11-20 17:39:46 +00: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
Matt Westcott
dcf5722ebb Add Dawn Wages to core team 2019-11-19 23:33:37 +00:00
Tim Gates
c54c4aa4eb Fix simple typo: unpiblished -> unpublished 2019-11-19 23:30:29 +00: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
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
Karl Hobley
7fbdbb58d9
Merge pull request #52 from jacobtoppm/author-locking-ui
Add button styling and text for lock/unlock button
2019-11-07 09:10:46 +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
jacobtm
eb97574836 Add button styling and text for lock/unlock button 2019-11-04 17:18:17 +00:00
Karl Hobley
d5f945186a
Merge pull request #51 from jacobtoppm/author-locking-ui
Author locking ui
2019-11-04 10:17:20 +00:00
Karl Hobley
e9182553a4 Remove "The" 2019-11-04 10:16:29 +00:00
Nick Smith
1c1341e477 Improve contrast of disabled inputs
Fixes #5649
2019-11-03 07:41:08 +10:00
jacobtm
b98816ff0b Improve translation compatibility, and allow base_report's 'no pages found' message to be customised using a block 2019-10-31 13:06:09 +00:00
jacobtm
83d98d9166 Reformatting and remove LockedPagesMenuItem 2019-10-31 10:27:36 +00:00
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