0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

8751 Commits

Author SHA1 Message Date
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
Matt Westcott
2cbc5dc88b Move SearchForm to wagtail.admin.forms.search 2018-09-28 16:44:26 +01:00
Matt Westcott
6fb8b3482f Move chooser forms into wagtail.admin.forms.chooser 2018-09-28 16:44:26 +01:00
Matt Westcott
7c74e630d1 Move auth forms into wagtail.admin.forms.auth 2018-09-28 16:44:26 +01:00
Matt Westcott
765c4fd74e Move wagtail.admin.forms into a submodule 2018-09-28 16:44:25 +01:00
Janneke Janssen
4134288700 Add autocomplete off to custom datetime widgets 2018-09-28 16:23:48 +01:00
Matt Westcott
b2b42faf14
Fix note about update_index not being required for the db backend 2018-09-21 10:59:52 +01:00
Matt Westcott
6454e500ab
Fix module path (wagtailforms.models should be wagtail.contrib.forms.models) 2018-09-21 10:53:51 +01:00
Meteor0id
088d3ffc21 missing quotation, not that it matters
award of smallest contribution of the year goes to..
2018-09-13 13:00:57 +01:00
Ben Dickinson
4c72f767ea Add HTTP_AUTHORIZATION to values copied to dummy preview requests 2018-09-12 16:37:55 +01:00
Michael Harrison
8ef0edb371 Add file download url to Imagesv2 API endpoint 2018-09-06 17:12:02 +01:00
Samir Shah
265d4baaf2 Add a title attribute to the image displayed in an ImageChooserBlock. 2018-09-06 16:13:38 +01:00
Dan Braghis
5ddba47cc3 Add Auto-Submitted: auto-generated header to admin utils send_mail 2018-09-06 15:58:24 +01:00
Michael Borisov
38b2defc7f Check key value
It fixes issue when press 'б' in russian keyboard it's trigger ','
2018-09-05 15:07:45 +01:00