Commit graph

8764 commits

Author SHA1 Message Date
Matt Westcott
f73ca5e540 Catch empty non-StreamValues in get_prep_value. Fixes #4809 2018-10-16 13:01:00 +01:00
Matt Westcott
b5dd89f893 Fetch new translations from Transifex 2018-10-16 12:45:28 +01:00
Jorge Barata
8161d7c14c Fix get_permission_helper_class documentation typo 2018-10-16 11:29:05 +01:00
Andy Chosak
5f3458842b fixes wording in document upload message
Changes "Please update this documents" to "Please update this document".
2018-10-16 11:27:06 +01:00
Matt Westcott
7c82594c29 Trivial change to 2.3.rst to see if readthedocs picks it up 2018-10-11 17:23:27 +01:00
Matt Westcott
5b8031ee18 Move readthedocs.yml to project root
This is now required according to https://github.com/rtfd/readthedocs.org/issues/4668
2018-10-11 16:59:57 +01:00
Matt Westcott
523a014adb Add note that 2.3 is the last dj1.11-compatible release 2018-10-11 14:26:24 +01:00
Matt Westcott
679aeaf759 Generate new translation strings 2018-10-11 14:17:27 +01:00
Matt Westcott
b15c2c92d2 Fetch new translations from Transifex 2018-10-11 14:07:41 +01:00
Matt Westcott
56801cc0ce Release note for #4788 2018-10-11 12:46:21 +01:00
Matt Westcott
a7fd9a136e Update core team list 2018-10-11 12:22:04 +01:00
Coen van der Kamp
ffb4e3d286 Increase contrast to make tabs more distinct. Make tab highlight border darker 2018-10-11 12:07:51 +01:00
Coen van der Kamp
9ea40b71fb Darken button borders 2018-10-11 12:07:51 +01:00
Coen van der Kamp
30c21feda1 Add comment refering to Wagtail stylesheet back in 2018-10-11 12:07:51 +01:00
Coen van der Kamp
9eb776af90 Restore backgrounds, input highlight and tabs. Use a darker gray for text. 2018-10-11 12:07:51 +01:00
Coen van der Kamp
8cba2a1b1c Increase seach nav contrast and try to keep visual intensity as before 2018-10-11 12:07:51 +01:00
Coen van der Kamp
7a28c00437 Increase text on white contrast 2018-10-11 12:07:51 +01:00
Coen van der Kamp
0e1c6b953d Detach nav colors from color-grey vars gives fine grained color control 2018-10-11 12:07:51 +01:00
Coen van der Kamp
5356ff13c8 Simplify color functions and round numbers. 2018-10-11 12:07:51 +01:00
Coen van der Kamp
34769f6c02 Remove color from privacy icon to make hover state more notable and design less complex 2018-10-11 12:07:51 +01:00
Coen van der Kamp
1bd938477e Stop style bleeding on listing. Make Privacy text label white 2018-10-11 12:07:51 +01:00
Coen van der Kamp
fc7b26d3fe Increase breadcrumb contrast 2018-10-11 12:07:51 +01:00
Coen van der Kamp
b001d0f127 Drop redundant color color-grey-1-1 2018-10-11 12:07:51 +01:00
Coen van der Kamp
0970c760df Use color variable 2018-10-11 12:07:51 +01:00
Coen van der Kamp
d05eb8cdab Use color functions where there is a obvious relation between them 2018-10-11 12:07:51 +01:00
Matt Westcott
666876693b Do not log user out when changing their own password. Fixes #4200 and #4794 2018-10-10 20:52:00 +01:00
Matt Westcott
27bd9eb5fd Revert "Rewrite password change feedback message. Fix #4200 (#4364)"
This reverts commit 977dbae585.
2018-10-10 20:52:00 +01:00
Matt Westcott
2fe866e484 Release note for #4801 2018-10-10 16:09:59 +01:00
Andy Chosak
5b0a7fc4b5 cleanup StreamValue.get_prep_value 2018-10-10 15:53:26 +01:00
Andy Chosak
1670a08a29 add another unit test for nested streamfields 2018-10-10 15:53:26 +01:00
Andy Chosak
045fda3595 add unit test for get_prep_value with is_lazy=True 2018-10-10 15:53:26 +01:00
Matt Westcott
dc0ae76eec Reuse lazy StreamField values in get_prep_value. Fixes #2218 2018-10-10 15:53:26 +01:00
Thibaud Colas
6301eb4b75 Remove unused devDependency 2018-10-10 14:02:29 +01:00
Thibaud Colas
ad5a3bbdc2 Remove unused React component generator 2018-10-10 14:02:29 +01:00
Matt Westcott
bf870cecd3 Gracefully handle document links with missing ID attributes in rich text
Fixes #4791
Previously, our rich text conversion functions handled the case where a document link specified an ID which is not found in the database. However, they failed with a KeyError when the id attribute was missing completely; links of this second type would occur whenever a link of the first type was re-saved from the Draftail editor. The fix is two-fold:

1) Catch the "missing ID attribute" case - in this case, the resulting link will be missing both the href and id attributes
2) Update the handling of the "ID present but document not found" case so that the id attribute survives the round-trip to the editor and back. The final link as rendered on the front-end will still be an attribute-less <a> element, but the id will be retained in the database (and in the versions rendered within rich text editors) which may be useful for troubleshooting.
2018-10-10 12:54:52 +01:00
Thibaud Colas
7cd73c472f Add release notes for #4800 2018-10-07 22:27:51 +03:00
Thibaud Colas
3186950de4 Only render tooltip link if there is a label for it 2018-10-07 22:27:51 +03:00
Matt Westcott
aecc8f1a3b Prevent linking to root page in Draftail. Fixes #4605 2018-10-07 22:27:51 +03:00
Matt Westcott
2f96465150 Prevent Draftail from crashing on links to missing pages 2018-10-07 22:27:51 +03:00
Matt Westcott
6c7065ef99 Prevent Draftail from crashing on links to the root page 2018-10-07 22:27:51 +03:00
Mike Dingjan
19c04e8e6b Add template include page_switches in admin/edit.html
I'm working on a feature in wagtailtrans which allows the user to
easialy switch between languages in the admin. Having this include will
allow me to extend the page switches which will also provide an easy
method of switching when editing a page.
2018-10-05 10:56:47 +01:00
Matt Westcott
44e5beb481 Release / deprecation notes for #4777 2018-09-28 22:41:01 +01:00
Matt Westcott
69642a5184 Test the ability to import wagtail.admin.edit_handlers in a models file that defines a custom user model. Ref #4515 2018-09-28 17:00:16 +01:00
Matt Westcott
b3a6b7f55f Update imports of wagtail.admin.forms to use more specific sub-modules 2018-09-28 17:00:16 +01:00
Matt Westcott
dc4457d414 Deprecate definitions that previously existed in wagtail.admin.forms
Instead of unconditionally importing them from submodules using `from wagtail.admin.forms.foo import *` (which is susceptible to circular imports), we define a wrapper function for each one which imports the module on demand, along with producing a deprecation warning.

Fixes #4515
2018-09-28 16:44:27 +01:00
Matt Westcott
79e0361feb move WagtailAdminPageForm to wagtail.admin.forms.pages 2018-09-28 16:44:27 +01:00
Matt Westcott
36d56136e2 Move modelform customisation logic to wagtail.admin.forms.models 2018-09-28 16:44:27 +01:00
Matt Westcott
5fabaeb8db Move collection forms to wagtail.admin.forms.collections 2018-09-28 16:44:27 +01:00
Matt Westcott
94f092abb1 Move CopyForm and PageViewRestrictionForm to wagtail.admin.forms.pages 2018-09-28 16:44:27 +01:00
Matt Westcott
939a2e4ecf Move BaseViewRestrictionForm to wagtail.admin.forms.view_restrictions 2018-09-28 16:44:26 +01:00