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

1276 Commits

Author SHA1 Message Date
Alex Gleason
08ea980410 Fix missing comma in Draftail docs code 2018-11-14 17:11:49 -05:00
Janneke Janssen
b07b7a6e2a Revamp the image editing page (#4087)
Removed commented out code in _forms.scss
2018-11-08 23:56:54 -05:00
Janneke Janssen
487f1f47b8 Define proper breakpoint definitions rather then typing @media (#4860) 2018-11-04 23:46:42 +02:00
Meteor0id
1efad238e1 Allow nav menu to take up all available space instead of scrolling (#4746) 2018-11-02 00:57:55 +02:00
Hillary Jeffrey
8fd54fd71c Catch redirects that omit a destination link or point to a page with no routable URL (#4836)
Fixes #4815
2018-10-31 19:21:07 +00:00
Noah B Johnson
0dacda9133 Added handling for null last login on user list page 2018-10-31 17:46:23 +01:00
Karl Hobley
9a523dbf2e Add file_hash field to Document 2018-10-31 15:13:53 +00:00
Seb
aa2a973382 Ordr collection listings by name (#4874) 2018-10-31 11:29:49 +00:00
Benjamin Bach
5b0f2e1a54 First positional argument for tox as test module/case path 2018-10-30 12:16:45 +00:00
Mikalai Radchuk
a0a58d8396 Adds release notes for #4850 2018-10-28 17:28:53 +03:00
Mikalai Radchuk
41321158a5 Adds credits to the release notes 2018-10-28 16:23:40 +03:00
Mikalai Radchuk
604bc6c4c7 Adds release notes for #4856 2018-10-28 16:21:46 +03:00
Meteor0id
49b280ab0a Allow custom logos of any height in the admin menu (#4747) 2018-10-28 15:48:04 +03:00
Mikalai Radchuk
bfc41752e3 Adds release notes for #4859 2018-10-28 11:57:06 +03:00
Scott Cranfill
f1148e7f76 Address more feedback on new welcome page 2018-10-27 19:10:31 +03:00
Dzianis Sheka
70a9a5faf7 Fix help text positioning to avoid text cutting with narrow field (#4855, #3522) 2018-10-27 18:43:46 +03:00
Matt Westcott
cea4cbc836 Release note for #4854 2018-10-27 16:44:14 +03:00
Matt Westcott
66a428f741 Release note for #4840 2018-10-27 15:58:13 +03:00
Dan Braghis
3b1dc5be86 Add Page max_count 2018-10-27 15:13:16 +03:00
Anselm Bradford
303ee0f95b Add rel="noopener noreferrer" to target blank links 2018-10-27 12:46:49 +03:00
Brady Moe
95333ba8ec returns content_types as a list instead of dict_values 2018-10-27 12:34:29 +03:00
Matt Westcott
16bc148916 Fill in release date for 2.3 2018-10-23 15:39:56 +01:00
Matt Westcott
4bb8a5f420 Document Python 3.7 support 2018-10-17 18:23:35 +01:00
Matt Westcott
e844200f27 Remove Django 1.11 support from code and docs 2018-10-17 15:30:36 +01:00
Matt Westcott
771eb42d05 add 2.4 release notes page 2018-10-17 11:46:56 +01:00
Matt Westcott
5b7bf05db8 Version bump to start work on 2.4 2018-10-17 11:07:33 +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
523a014adb Add note that 2.3 is the last dj1.11-compatible release 2018-10-11 14:26:24 +01:00
Matt Westcott
56801cc0ce Release note for #4788 2018-10-11 12:46:21 +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
2fe866e484 Release note for #4801 2018-10-10 16:09:59 +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
Matt Westcott
44e5beb481 Release / deprecation notes for #4777 2018-09-28 22:41:01 +01:00
Janneke Janssen
4134288700 Add autocomplete off to custom datetime widgets 2018-09-28 16:23:48 +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
Matt Westcott
2947c584b0 Recommend the use of ManifestStaticFilesStorage. Fixes #3700 2018-09-04 12:56:11 +01:00
Matt Westcott
81bda3bb0c Fill in release date for 2.2.2
Conflicts:
	CHANGELOG.txt
2018-08-29 14:15:44 +01:00
Tomasz Knapik
7938e81ab4 Use Django defaults for not caching admin 2018-08-23 16:34:55 +01:00
Loic Teixeira
2b076b0a84 Release note for #4719 in 2.2.2 2018-08-23 11:16:57 +01:00
David
b34b547c6a Re-establish datetimepicker localisation. Fix #4584 2018-08-22 12:01:30 +01:00
Sævar Öfjörð Magnússon
6e60469142 Convert UUID primary key to string before serializing in json. Fixes #4616. 2018-08-21 17:17:03 +01:00
Matt Westcott
48a1d51377 Release note for #4739 in 2.2.2 2018-08-21 15:14:13 +01:00
Matt Westcott
bf4ea3766a Release note for #4739 in 2.3 2018-08-21 15:10:25 +01:00
Tomasz Knapik
361def81c2 Wrap deleting page into database transaction
Currently queries executed in the hooks don't run in the transaction
with the page deletion query and it's harder to write hook without
copying the whole view if you want to keep queries running in the hooks
integral with page deletion.
2018-08-16 17:18:02 +01:00
Bertrand Bordage
42caa586b4 Validates EmbedBlock URLs against providers. 2018-08-16 12:28:40 +01:00
Matt Westcott
7ad79c9a4a Release note for #4579 2018-08-14 17:20:57 +01:00
Matt Westcott
0baa35c52f Release note for #4730 2018-08-13 16:31:56 +01:00
Matt Westcott
5536422c4a Add release notes for 2.2.1 2018-08-13 15:14:00 +01:00
Matt Westcott
d3ad54b100 Add release notes for 2.1.3
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-08-13 15:13:05 +01:00
Matt Westcott
7ea465e694 Add release notes for 2.0.2 2018-08-13 15:12:47 +01:00
Matt Westcott
e4fe70701a Add release notes for 1.12.4 - 1.12.6 and 1.13.2 - 1.13.4
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst

Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-08-13 15:12:37 +01:00
Matt Westcott
1643fb3d0c Add release notes for 1.13.3
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-08-13 12:37:47 +01:00
Matt Westcott
b9998fe015 Add release notes for 1.12.5 2018-08-13 12:37:47 +01:00
Loic Teixeira
aac3335883 Respect redirect parameter after login 2018-08-10 10:20:40 -05:00
Matt Westcott
386378fc34 Fill in release date for 2.2 2018-08-10 12:17:19 +01:00
Karl Hobley
ebecaf6a5b Prevent search engines from indexing admin pages
According to a google search I just did, it seems a lot of people have forgotten to add ``Disallow: /admin`` in their robots.txt (or forgot to add robots.txt) at all.

Adding this meta tag into the head of all admin pages should prevent any admin pages being indexed even if this was missed.
2018-08-09 16:30:33 +01:00
Oliver Wilkerson
091ea75de7 Added a simple scale filter to image_operations. 2018-08-09 16:11:39 +01:00
Matt Westcott
6604cdfdae Update documentation to indicate Django 2.1 support 2018-08-09 00:34:38 +01:00
Matt Westcott
e28baaff72 Release notes for 2.1.2 2018-08-06 13:11:11 +01:00
Matt Westcott
7d711f16be Version bump to start work on 2.3 2018-07-31 10:55:04 +01:00
Matt Westcott
86ce571b93 Version bump to 2.2rc1 2018-07-30 21:18:44 +01:00
Matt Westcott
bf5d6e3363 Release note for #4524 2018-07-27 11:58:21 +01:00
Matt Westcott
bb8df218e5 Make checkbox/radio alignment on Firefox consistent with Webkit 2018-07-25 11:26:15 +01:00
Bertrand Bordage
a3fe8eb3b1 Improves sitemap to avoid passing site now that request is used. 2018-07-11 20:17:48 +02:00
Bertrand Bordage
88d5a8cfee Release notes for #4575. 2018-07-11 18:25:09 +02:00
Michael van Tellingen
bad95cf37c Optimize the querycount for the sitemap.xml page
By optionally passing the request object to Page.get_sitemap_urls() it
will now use the cached site root on the request object instead of
retrieving it for each call. This cuts the number of queries required
for a sitemap roughly in half.
2018-07-10 16:53:19 +01:00
Pomax
40981b0c65 replace my name with my name
I do not write code under my passport name, if I have to be in a changelog, please use "Pomax" =)
2018-07-10 11:20:28 +01:00
Thibaud Colas
2d9440f79c
Add release notes for #4582 (#4676) 2018-07-10 00:31:57 +03:00
kevin howbrook
cfcad4059b Update editor guide for embeds and documents in rich text, fix #4558 (#4632) 2018-07-09 10:07:03 +03:00
Matt Westcott
e53076d949 Release note for #4669 2018-07-06 17:01:43 +01:00
Matt Westcott
4f07f228b2 Fill in release date for 2.1.1 2018-07-04 15:36:49 +01:00
Matt Westcott
1fd111cf6a Fill in release date for 1.13.2 2018-07-04 15:36:08 +01:00
Matt Westcott
815b58fbda Fill in release date for 1.12.4 2018-07-04 15:36:07 +01:00
Matt Westcott
783b128fa2 Release note for #4496 in 2.1.1 2018-07-03 17:34:49 +01:00
Matt Westcott
048a4e83f1 Release note for #4496 in 1.13.2 2018-07-03 17:34:49 +01:00
Matt Westcott
7eab2ae793 Release note for #4496 in 1.12.4 2018-07-03 17:34:48 +01:00
Matt Westcott
ce4cd82bd9 Release note for #4496 in 2.2 2018-07-03 16:59:01 +01:00
Matt Westcott
3aff9f76e4 Revert "Strip Unicode NULL chars when normalizing paths"
This reverts commit 882f8f3cf8.

Conflicts:
	CHANGELOG.txt
	CONTRIBUTORS.rst
	docs/releases/2.2.rst
2018-07-03 16:45:27 +01:00
Matt Westcott
9ef8ee2d7f Release note for #4553 in 2.1.1 2018-07-03 16:10:59 +01:00
Matt Westcott
b329ed4b65 Release note for #4553 in 1.12.4 2018-07-03 16:10:21 +01:00
Matt Westcott
55ddab6d14 Release note for #4553 in 1.13.x 2018-07-03 16:10:12 +01:00
Matt Westcott
ed9a3a2d69 Pass all necessary template context to chooser view after upload validation error
Fixes #4548
2018-07-03 15:26:28 +01:00
Matt Westcott
b4a2e13cb0 Copy 1.13.2 release notes to master 2018-06-29 15:37:58 +01:00
Matt Westcott
6c3431580a Release note for #4480 in 1.12.4 2018-06-29 15:37:30 +01:00
Matt Westcott
1a4046a676 Copy 1.12.4 release notes to master 2018-06-29 15:36:43 +01:00
acrewdson
882f8f3cf8 Strip Unicode NULL chars when normalizing paths
After migrating a Wagtail-based site from MySQL to Postgres, we
noticed that malicious requests to the site that included percent-
encoded Unicode NULLs (`%00`) raised a `ValueError` exception that we
hadn't seen when using MySQL: `A string literal cannot contain NUL
(0x00) characters.` This appears to relate to `psycopg2`'s decision to
raise an exception in these situations, as discussed here:

    https://github.com/psycopg/psycopg2/issues/420

While newer versions of Django appear to provide some field validation
that addresses these characters, it doesn't look like Wagtail's
redirect middleware is making use of those validators, and so it seemed
reasonable to clean these characters in the context of 'normalizing'
the paths before looking for corresponding redirects -- especially
since a quick investigation on the internet suggests that U+0000 in
URLs can be used as a means of attack, and also since RFC 3986 says:

   Note, however, that the "%00" percent-encoding (NUL) may require
   special handling and should be rejected if the application is not
   expecting to receive raw data within a component.
2018-06-27 11:19:36 -04:00
Matt Westcott
0129e4ce77 Release note for #4648 2018-06-21 12:05:26 +01:00
Matt Westcott
ac84cea671 Add release note for #4612 in 2.1.1 2018-06-20 17:30:26 +01:00
Matt Westcott
fee77469b3 Release note for #4583 2018-06-20 15:57:29 +01:00
Matt Westcott
e68478777d Deprecate passing JS templates to render_modal_workflow 2018-06-20 15:35:41 +01:00
Bertrand Bordage
806ba75497 Adds release notes for #4508. 2018-06-20 15:31:55 +02:00
Matt Westcott
8f9ca18c70 Release note for #4628 2018-06-18 17:58:06 +01:00
Andy Babic
5151c5cff2 Fix queryset ordering and add a test to confirm ordering matches expectation in all setups 2018-06-18 16:18:10 +10:00
ed@sharpertool.com
4539ced8cc Added documentation for new JS/CSS media files association with Draftail feature definitions (#4627)
Add more documentation for #4568
2018-06-17 00:13:38 +03:00
Benjamin Thurm
4a7e455004 Remove duplicate border radius of avatars 2018-06-15 10:47:01 +02:00