0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
Hugh Rawlinson
8e4a4fae5d Add release dates to release notes (#8692)
Fixes #8691

* Add dates to markdown based release notes
* Add dates to rst based release notes
2022-06-16 14:04:18 +02:00
Storm Heg
24ef0e62e6 Fix documentation indentation
Fix code block indentation in tutorial.rst

Prevent it from being displayed as a quote.

Fix indentation in pages.rst

Fix indentation in indexing.rst

Fix indentation in searching.rst

Fix indentation in backends.rst

Fix indentation in renditions.rst

Fix indentation in custom_image_model.rst

Fix indentation in feature_detection.rst

Fix indentation in image_serve_view.rst

Fix indentation in custom_document_model.rst

Fix indentation in i18n.rst

Fix indentation in privacy.rst

Fix indentation in page_editing_interface.rst

Fix indentation in rich_text_internals.rst

Fix indentation in extending_hallo.rst

Fix indentation in configuration.rst

Fix indentation in usage.rst

Fix indentation in theory.rst

Fix indentation in model_reference.rst

Fix indentation in queryset_reference.rst

Configure editors to indent .rst files with 2 spaces

In order for the documentation to be styled correctly, the generator
depends on indentation. Too much indentation can result in the content
being wrapped in a quote block, which looks bad.

Fix indentation in sitemaps.rst

Fix indentation in frontendcache.rst

Fix indentation in routablepage.rst

Fix indentation in table_block.rst

Fix routablepage.rst autodocs disppearing

Fix indentation in table_block.rst

Fix indentation in redirects.rst

Fix indentation in table_documentation-modes.rst

Fix indentation in browser_issues.rst

Fix indentation in release_process.rst

Fix indentation of release notes

One more indent fix in the release notes

Fix indentation warnings

Fix warning about undefined label in docs

Error during `make html`:

  wagtail/docs/releases/1.7.rst:25: WARNING: undefined label: jpeg_image_quality
2021-02-26 09:17:00 +00:00
Karl Hobley
39d931d77d Javascript => JavaScript 2020-10-03 14:43:03 +01:00
Matt Westcott
386378fc34 Fill in release date for 2.2 2018-08-10 12:17:19 +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
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
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
ed9a3a2d69 Pass all necessary template context to chooser view after upload validation error
Fixes #4548
2018-07-03 15:26:28 +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
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
Matt Westcott
c4325fd4e9 Release note for #4516 2018-06-14 16:33:36 +01:00
Michael Harrison
e2b1c66a92 Add max_length option to redirect URL field 2018-06-14 15:02:06 +01:00
Matt Westcott
368e3b3adb Release note for #3802 2018-06-14 14:54:49 +01:00
Matt Westcott
ac8905b125 Release note for #3355 2018-06-11 19:02:18 +01:00
LB
b2e139bbd3 update changelog/releases for #4535 2018-06-10 12:52:10 +10:00
Karl Hobley
7bb60644dd Add file_size field to Document 2018-06-07 15:53:57 +01:00
Karl Hobley
50bff8ad5d Changelog/release note for #4500 2018-06-04 09:57:12 +01:00
Matt Westcott
607f2ec067 Allow specifying js/css imports against Draftail features 2018-05-31 17:13:33 +01:00
LB
bcf6b6da77 Fixes breadcrumbs on ModelAdmin inspect and choose parent view (#4029) 2018-05-29 17:34:47 +01:00
Karl Hobley
b38271fd27 Changelog/release note for #4550 2018-05-29 10:31:14 +01:00
Andy Chosak
7034cd1317 Fixes RST code syntax.
32148b2 used single backticks instead of double in the release notes.
2018-05-25 12:07:40 -04:00
Andrew Plummer
24712b4d8b Images: handle all not found errors in get_file_size 2018-05-25 11:56:00 -04:00
Matt Westcott
5db57bac93 Version bump to start work on 2.2 2018-05-18 11:43:28 +01:00
Bertrand Bordage
32148b2b24 Changelog for #4533. 2018-05-11 19:05:55 +02:00
Karl Hobley
0e19076b1c Moved changelog/release note for #4503 to version 2.2 2018-05-08 14:50:53 +01:00