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

7391 Commits

Author SHA1 Message Date
Loic Teixeira
6e42a7755a Allow default JS options to be overwritten for TableBlocks 2017-04-21 11:54:23 +01:00
Matt Westcott
5ba806efaa Use strftime for formatting datetimes in test form submissions
Datetime-related tests are intermittently failing on Appveyor; the error at https://ci.appveyor.com/project/wagtail/wagtail/build/1.0.141/job/30t7t1ydh78gupie implies that this is due to invalid datetime formats being returned from submittable_timestamp. Using strftime means that we're not reliant on the return value of str(timestamp) being formatted in a specific way.
2017-04-21 10:39:35 +01:00
Matt Westcott
18cf4fc5b6 Add Sebastian Bauer to contributors 2017-04-21 09:18:35 +01:00
Sebastian
49d706b406 Update docs - run python manage.py migrate once
We have to run python manage.py migrate once, in order to create the necessary tables for the postgres search backend.
Otherwise we get an error, as the insert in the table is not possible.
2017-04-21 09:16:44 +01:00
Matt Westcott
f983c500cd Specify Django 1.11 in project template requirements 2017-04-20 17:18:56 +01:00
Matt Westcott
579d02246a Release note for #3046 2017-04-20 16:58:05 +01:00
Karl Hobley
1ba9f02e27 Return 403 error when user's AJAX requests don't pass checks 2017-04-20 16:57:12 +01:00
Karl Hobley
1f84db8a24 Return a 403 response for unauthenticated ajax requests
At the moment, Wagtail redirects all requests (including AJAX) to the
login view. This is not usually the expected thing to do for AJAX and can
lead to the login page being nested in a component somewhere (which
looks horrible).

This changes the behaviour so requests that come from AJAX are given a
plain 403 error. This allows the code that performed the request to
handle the issue properly.
2017-04-20 16:57:12 +01:00
Matt Westcott
b6ee2db6ac Create new release note sections for Wagtail 1.11 2017-04-20 16:52:28 +01:00
Matt Westcott
4ee25c73f6 Rotate deprecation warnings / start work on 1.11 2017-04-20 16:52:26 +01:00
Michael van Tellingen
74d7c49267 Add codecov.yml to disable PR comments (#3556) 2017-04-20 14:29:18 +01:00
Matt Westcott
26eb481cf6 Update docs to mention Django 1.11 / Python 3.6 support 2017-04-20 10:57:22 +01:00
Matt Westcott
ae52fed0f9 scenarii -> scenarios 2017-04-20 10:52:25 +01:00
Matt Westcott
31bed83351 Add Medhat Assaad to contributors 2017-04-20 10:52:00 +01:00
Medhat Assaad
1862806283 update django requirement in setup.py to allow django 1.11 (#3555)
* update django requirement in setup.py to allow django 1.11

* update the django requirement in the project template to allow django 1.11
2017-04-20 10:50:51 +01:00
Matt Westcott
17f7eb6e28 Version bump to 1.10rc1 2017-04-19 23:38:14 +01:00
Matt Westcott
dc1195772f Generate new translation strings 2017-04-19 22:04:15 +01:00
Matt Westcott
812f1b97ce Sort preferred_language list by localised language name 2017-04-19 21:59:42 +01:00
Matt Westcott
d1108be87e Fetch new translations from Transifex 2017-04-19 20:39:30 +01:00
Matt Westcott
579ee5d4f0 Use ugettext_lazy for language name translations 2017-04-19 20:26:16 +01:00
Matt Westcott
4c71f05952 Enable template debugging when running tests
Otherwise, template errors are silently ignored
2017-04-19 19:35:33 +01:00
Bertrand Bordage
2b135a519c Doc typos. 2017-04-19 18:38:17 +02:00
Bertrand Bordage
769413dd2d Promotes new admin preview in release notes. 2017-04-19 18:37:54 +02:00
Matt Westcott
50ef80f7c1 Promote user language preference to a headline feature in release notes 2017-04-19 15:14:02 +01:00
Bertrand Bordage
29767b1f7a Fixes typos from #3310 release notes. 2017-04-19 15:51:50 +02:00
Janneke Janssen
c1a751e6c0 Fix reorder past a deleted item 2017-04-19 14:42:11 +01:00
Bertrand Bordage
c965212003 Updates release notes for #3310. 2017-04-19 15:16:54 +02:00
Bertrand Bordage
b866e5b934 Adds some missing versionadded in settings docs. 2017-04-19 15:13:02 +02:00
Bertrand Bordage
1a82c19191 Adds documentation for WAGTAILADMIN_PERMITTED_LANGUAGES. 2017-04-19 15:09:58 +02:00
Matt Westcott
88136dab73 Further typos for #3310. 2017-04-19 14:54:36 +02:00
Bertrand Bordage
15daeb80d2 Typos for #3310. 2017-04-19 14:48:20 +02:00
Daniel Chimeno
72a935a8f0 Adds user-prefered admin language (#3310).
added prefered language field and migration

added form and view to select prefered language

Added some tests

modified tests

fix styleguide errors

activate middleware only for authenticated users

fixed typos

fixed test undoing language preferences

fixed lint issues

fixed tests

fixed message

change behaviour and more test added

added utf8 coding

[skip ci] initial documentation for preferred language

added contributor

refactor get_available_admin_languages

refactor get_available_admin_languages

make language name language aware

translate notifications to recipient language

make language name language aware

fixed lint
2017-04-19 14:48:06 +02:00
Michael van Tellingen
911009473b Update release notes for sitemap update 2017-04-19 13:40:43 +02:00
Michael van Tellingen
7ad348ffa7 Minor documentation update for sitemaps 2017-04-19 13:40:43 +02:00
Michael van Tellingen
c6c2868c58 Update documentation related to the sitemaps
Since we now use regular Django sitemaps we can mostly just refer to the
Django documentation

Co-authored with @mikedingjan
2017-04-19 13:40:43 +02:00
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