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

9020 Commits

Author SHA1 Message Date
Karl Hobley
50e72dc58b Allow disabling search auto-update on a per-model basis (#4946) 2019-01-29 17:06:41 +00:00
Asanka Lihiniyagoda
8c4b3fe669 'Parent' link in page chooser search should not navigate away (#5011) 2019-01-29 16:36:34 +00:00
Bertrand Bordage
437f641977 Release notes for #4994. 2019-01-26 16:39:45 +01:00
Bertrand Bordage
3e86eb3a9d Changelog for #4994. 2019-01-26 16:36:49 +01:00
Matt Westcott
67940973b5 Fetch new translations from Transifex 2019-01-25 10:38:22 +00:00
Matthew Linares
a0b4efd414 Recipe: automatic redirect creation on url edit (#5002) 2019-01-24 14:06:44 +00:00
aidarbek
6890f8ef76 Removing confirmation of publishing from documentation (#5006) 2019-01-24 12:18:47 +00:00
frmdstryr
5fcaa64d81 Avoid a pop from an empty list in HTMLToContentStateHandler (#5004) 2019-01-24 12:09:33 +00:00
Coen van der Kamp
a26a3309ee Add Wagtail Space Arnhem banner to documentation 2019-01-24 11:28:56 +00:00
Hammy Goonan
8fa7a41011 moving tsvector query sanitation to 2019-01-20 16:43:22 +01:00
Hammy Goonan
be02bcef3c removing trailing whitespace 2019-01-20 16:43:22 +01:00
Hammy Goonan
7c749e1373 adding test 2019-01-20 16:43:22 +01:00
Hammy Goonan
af6bf164ec remove backslash from string to prevent syntax error in tsquery 2019-01-20 16:43:22 +01:00
Sergey Fedoseev
057690815b Made HTTP_HOST of page dummy request include port. (#4954) 2019-01-17 12:34:04 +00:00
Matt Westcott
dc2f487391 Release / deprecation note for #4749 2019-01-11 15:22:37 +00:00
Matt Westcott
5802314b3e Add tests for per-request custom behaviour in edit handlers 2019-01-10 17:35:27 +00:00
Bertrand Bordage
4a8fdb1c18 Binds instances to EditHandlers before generating forms. 2019-01-10 17:27:04 +00:00
Bertrand Bordage
cc8eaf039a Updates tests to use EditHandler.bind_to. 2019-01-10 17:26:50 +00:00
Bertrand Bordage
b599fce714 Allows binding instance and request to EditHandler before form. 2019-01-10 17:26:50 +00:00
Sergey Fedoseev
f271c40cea Simplified Site.find_for_request(). (#4951)
Handling of AttributeError is unneeded since support for Django 1.8 is dropped and handling of KeyError is unneeded because both hostname and port are obtained now via Django API (its current implementation can raise KeyError if SERVER_NAME or SERVER_PORT are absent, but they are required per PEP 3333).

Updated tests to include SERVER_NAME / SERVER_PORT when manually constructing HttpRequest objects, and removed tests that explicitly test the absence of these.
2019-01-10 15:37:35 +00:00
Mukesh
fa5deb6b44 More informative error for invalid values passed to |richtext (#4971)
Fixes #4958
2019-01-10 12:35:12 +00:00
Matt Westcott
5f0fa624f9 Add Thijs Walcarius to contributors 2019-01-10 11:38:33 +00:00
Thijs Walcarius
5738f0dae4 Also fix /media/images/ path 2019-01-10 11:37:32 +00:00
Thijs Walcarius
71eca17d0d Fix example alias URL 2019-01-10 11:37:32 +00:00
Matt Westcott
d731ea6c9f Add missing null=True and imports to modeladmin example code 2019-01-10 10:59:05 +00:00
Coen van der Kamp
5e5484d4d7 Minor Python fixes identified by SonarQube.
1. Remove return from EmptySearchResults.__init__. Init method is
required to return None.
2. Remove useless self-assignment from BaseSearchBackend.
3. Remove useless self-assignment from wagtail.tests.settings.
2019-01-02 15:27:06 -05:00
Matt Westcott
8afbc6c3ec Document extended LTS date of Wagtail 1.13 2018-12-19 15:13:39 +00:00
Matt Westcott
9b24ca989f Fill in release date for 2.4 2018-12-19 15:13:28 +00:00
Matt Westcott
e224d0f3a9 Fetch new translations from Transifex 2018-12-19 15:13:00 +00:00
Matt Westcott
4997d1e922 Revert release note for #4916 2018-12-19 12:27:28 +00:00
Matt Westcott
c6a6fb3e33 Revert "Create new squashed migration for wagtailcore (#4916)"
This reverts commit b5f38c7d81.
2018-12-19 12:27:28 +00:00
Matt Westcott
a11f7ee015 Exclude the error messages from the count of inline panel elements (#4957)
Ref #4304 ; explicitly identify and count inline-panel-child elements as per https://github.com/wagtail/wagtail/pull/4304#discussion_r169149310
2018-12-17 17:15:40 +00:00
Sergey Fedoseev
5f7b7230a2 Fix SERVER_PORT for Page.dummy_request() when page is attached to Site with 443 port. (#4950) 2018-12-11 12:39:20 +00:00
Matt Westcott
056096c2de Remove old versionchanged note 2018-12-07 11:59:55 +00:00
Matt Westcott
26de8edf79 Add release note stubs for 2.5 2018-12-07 11:59:55 +00:00
Matt Westcott
abf753b5ad Rotate deprecation warnings 2018-12-07 11:59:55 +00:00
Matt Westcott
c487062fa8 Remove deprecated imports from wagtail.admin.forms 2018-12-07 11:59:55 +00:00
Matt Westcott
2101cc164c Version bump to start work on Wagtail 2.5 2018-12-07 11:59:55 +00:00
Matt Westcott
682333f8b1 Generate new source strings for translation 2018-12-06 16:54:15 +00:00
Matt Westcott
d3b6bf99c2 Fetch new translations from Transifex 2018-12-06 16:54:14 +00:00
Matt Westcott
9db37023c4 Mark 2.4 as still in development 2018-12-06 16:54:02 +00:00
Janneke Janssen
a9f33aa99e [QA] Module fix for browser module loading (#4939) 2018-12-04 17:31:12 +00:00
Karl Hobley
4abfbf89a0 Hide "delete snippets" button when no snippets selected 2018-11-30 16:57:47 +00:00
Dan Braghis
12ac86217a Fix #4785 Wagtail Sitemaps does not allow for Django Sitemap instances 2018-11-30 16:35:52 +00:00
Alex Gleason
e5f9c122ab Use better examples in ModelAdmin docs, add info about FieldPanels 2018-11-30 13:11:53 +00:00
Matt Westcott
44c905bf69 Release note for #4884 2018-11-30 12:11:14 +00:00
Janneke Janssen
84808ef039 Add a tests example for ancient javascript 2018-11-30 11:45:23 +00:00
Andy Chosak
b4bb97336f allow pages to have stopword-only slugs
This change modifies the cleanForSlug function used when creating a
page's slug from its title. The current behavior uses the Django URLify
function, which removes stopwords like "before". If a page title
consists only of such stopwords, the generated slug will be blank, thus
confusingly preventing page save.

This change handles this case by falling back to an alternate slug
generation approach that allows the stopwords to be used.

This does unfortunately introduce some potentially inconsistent
behavior; for example, a page titled "Before me" will be given a slug of
"me" and a page titled "Before" will be given a slug of "before".
(Honestly, the inclusion of "before" as a stopword is somewhat
unexpected.)

Fixes #4881.
2018-11-30 11:45:22 +00:00
Matt Westcott
b81e5c6b85 avoid referring to an internal function name in hook docs 2018-11-30 11:29:21 +00:00
Matt Westcott
23c02ecfa1 Release note for #4924 2018-11-30 11:27:35 +00:00