Michael van Tellingen
2f79e42948
Refactor the wagtail sitemap generator.
...
This new version is based on the Django sitemaps and therefore can be
easily mixed with other sitemaps in one index. It should be completly
backwards compatible.
This also implements support for pagination (see #1698 )
2017-04-19 13:40:43 +02:00
Karl Hobley
ef1cd3d51a
Changelog/release note for auto update preview
2017-04-12 17:09:05 +01:00
Bertrand Bordage
511c158b18
New admin preview ( #3383 )
...
* Rewrites the page preview to make it reliable.
* Updates preview tests.
* Fixes View import on Django 1.8 & 1.9.
* Starts sending preview auto-update data only after clicking on preview.
* Changes the preview session key prefix.
2017-04-12 16:35:38 +01:00
Karl Hobley
0d1c277e85
Added versionadded tag to postgres search doc
2017-04-12 16:30:45 +01:00
Karl Hobley
554ce992da
Changelog/release note for postgres search engine
2017-04-12 16:30:25 +01:00
Bertrand Bordage
e62d67bd73
Adds PostgreSQL search backend. ( #3515 )
...
* Adds PostgreSQL search backend.
* Isort nitpicks.
* Fixes PostgreSQL versions incompatibilities.
* Uses Django lru_cache instead of building our own.
* Fixes PostgreSQL search index on some empty vector & query cases.
* Never sets the PostgreSQL search vector to NULL.
* Simplification + removes caching on two fast enough functions.
* Rewrites stale entries deletion to use the ORM.
2017-04-12 16:16:16 +01:00
Bertrand Bordage
c3ca99cd3c
Adds upgrade notes for #3528 .
2017-04-12 11:54:44 +02:00
Bertrand Bordage
ec0e9ee5f1
Merge pull request #3535 from BertrandBordage/remove-110head
...
Removes Django 1.10 HEAD from test matrix.
2017-04-12 11:36:56 +02:00
Bertrand Bordage
d1b2d0eb91
Merge pull request #3528 from savoirfairelinux/fix-3524
...
Fixed #3524 -- Ensured that filenames are checked when downloading documents
2017-04-12 11:35:41 +02:00
Bertrand Bordage
c577d15f13
Removes Django 1.10 HEAD from test matrix.
2017-04-12 01:42:40 +02:00
Matt Westcott
6630d4b66c
Remove redundant check for classList property, as per #3531
2017-04-10 22:41:19 +01:00
Matt Westcott
3cf7006a86
Release note for #3252
2017-04-10 21:55:13 +01:00
Matt Westcott
2b7f9eacbf
Throw a form validation error when recursively copying a page to self
2017-04-10 21:50:23 +01:00
Matheus Bratfisch
8376a62c8d
Fix #3240 - Implement is_descendant_of on copy to check to node
2017-04-10 21:50:21 +01:00
Andreas Nüßlein
bfd4a2ef4b
Adding the Meta attribute group
to Blocks.
...
The idea is that Streamfield-Blocks can be grouped in the CMS
by setting Meta's `group` attribute.
This gives a better overview, particularly with many blocks.
If the attribute remains unset, nothing changes.
2017-04-10 20:27:32 +01:00
Matt Westcott
922260833b
Release note for #3423
2017-04-10 19:18:37 +01:00
Andy Babic
aef2428072
Improve rendering of ManyToManyField values (or any other property / attribute that returns a Manager) in InspectView ( #3423 )
...
* Fix for #3298
* Improve rendering of ManyToManyField values (or any other property / attribute that returns a Manager) in InspectView
2017-04-10 19:14:40 +01:00
Bertrand Bordage
9132bcc23d
Adds Ross Curzon-Butler to CONTRIBUTORS.
2017-04-08 21:41:52 +02:00
Bertrand Bordage
985ac8d1c4
Update 1.10.rst
2017-04-08 21:10:30 +02:00
Bertrand Bordage
263b91b69a
Update CHANGELOG.txt
2017-04-08 21:09:39 +02:00
Bertrand Bordage
49d804d831
Merge pull request #3415 from jjanssen/fix/1511
...
Fixes hallotoolbar misplacement within StreamField StructBlock
2017-04-08 21:06:51 +02:00
Janneke Janssen
b4beb864dd
Update PR with feedback
2017-04-08 15:44:58 +02:00
Janneke Janssen
0f39001e46
Fixes hallotoolbar misplacement within StreamField StructBlock
2017-04-08 15:38:29 +02:00
Bertrand Bordage
ce251fbd96
Update 1.10.rst
2017-04-08 14:37:44 +02:00
Bertrand Bordage
e952f35c9d
Update CHANGELOG.txt
2017-04-08 14:37:00 +02:00
Bertrand Bordage
c707f6c0b7
Merge pull request #3445 from cho-leukeleu/patch-2
...
StreamFieldPanels do not accept classname attribute
2017-04-08 14:28:46 +02:00
Bertrand Bordage
8cf37bc877
Merge pull request #3460 from rosco77/patch-1
...
[Docs] Removes common prefix from i18n_patterns.
2017-04-08 01:53:18 +02:00
Matt Westcott
084cf0a56f
Require modelcluster >= 3.1
2017-04-07 16:52:59 +01:00
Matt Westcott
fb82650943
Release note for Django 1.11 compatibility - fixes #3314
2017-04-07 16:52:31 +01:00
Bertrand Bordage
c2638fc3ad
Stop allowing failures on Django 1.11 (except with elasticsearch).
2017-04-06 22:49:24 +02:00
Bertrand Bordage
8ed083fc36
Updates 1.10.rst.
2017-04-06 20:10:10 +02:00
Bertrand Bordage
2c240631bb
Adds CHANGELOG notes for #3462 & #3523 .
2017-04-06 20:02:17 +02:00
Morgan Aubert
f0bfadf83e
Updated TestServeViewWithSendfile testcase
2017-04-06 13:51:54 -04:00
Bertrand Bordage
6dbe070e27
Merge pull request #3523 from savoirfairelinux/fix-3513
...
Fixed #3513 -- Fixed API pagination for empty searches
2017-04-06 19:47:06 +02:00
Bertrand Bordage
d36fe2b253
Merge pull request #3462 from kaedroho/feature/images-in-api-simple
...
Allow custom field classes to be used in api_fields
2017-04-06 19:41:29 +02:00
Morgan Aubert
7484f2ea1e
Updated the message for the Http404 error raised in the wagtaildocs's serve view
2017-04-06 13:36:28 -04:00
Morgan Aubert
d4f11f13f1
Fixed #3524 -- Ensured that filenames are checked when downloading documents
2017-04-06 13:09:37 -04:00
Morgan Aubert
0cb16f2a01
Ensured BaseSearchBackend.search method always return BaseSearchResults subclasses
2017-04-06 12:49:15 -04:00
Morgan Aubert
2b09cdaef2
Refactored total_count computation line
2017-04-06 10:40:48 -04:00
Karl Hobley
fd9db9335a
Docs edits
2017-04-06 15:27:34 +01:00
Karl Hobley
141c1d6568
Fixed admin API tests
2017-04-06 15:21:43 +01:00
Karl Hobley
7e160edad6
Docs
2017-04-06 15:17:57 +01:00
Morgan Aubert
9be68178e4
Fixed #3513 -- Fixed pagination for empty searches
2017-04-06 10:03:34 -04:00
Karl Hobley
12fa1ebee8
Fix API v1 tests
...
We're updated the BlogEntryPage model to use class-based api_fields but
API v1 doesn't support them. This commit adds enough compatibility to
make the v1 API tests work but issues a warning if the v1 API module
encounters any new style configs that it doesn't support.
2017-04-06 10:22:02 +01:00
Karl Hobley
726e85f4a6
Simplified API fields getter methods
2017-04-06 09:41:19 +01:00
Bertrand Bordage
eef46dde92
Fixes the Django 1.11 ORM compatibility issue. ( #3499 )
...
* Fixes the Django 1.11 ORM compatibility issue.
* Fixes non-subquery __in search queries in elasticsearch.
* Code styling.
* Import order issue.
2017-04-06 09:29:00 +01:00
Matt Westcott
e62663e2b3
update modelcluster/taggit in doc dependencies
2017-04-05 22:08:38 +01:00
Matt Westcott
6d553ab396
Document that 'format' on Date(Time)Block must be one of the recognised DATE(TIME)_INPUT_FORMATS
2017-03-31 16:46:00 +01:00
Matt Westcott
884eb631c7
Remove help text from golive / expiry date fields
...
The only purpose it served was to tell you the date format - which is redundant since the date picker does that for you, and is no longer accurate when the format has been customised.
2017-03-31 16:30:28 +01:00
Bojan Mihelac
0f53afc5a6
Adds support for custom date and datetime formats ( #2595 )
...
It is possible to set default format for date/datetime inputs. This works together
with standard django localization.
# django settings
USE_I18N = True
LANGUAGE_CODE = 'sl'
# wagtail settings
WAGTAIL_DATE_FORMAT = '%d.%m.%Y.'
WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M'
DateBlock, DateTimeBlock accepts additional keyword argument `format`.
2017-03-31 16:30:27 +01:00