Matt Westcott
12c0fe2556
Stop ignoring failures on Django 2.1 / specify Django 2.1 in project template
2018-08-09 00:34:38 +01:00
Matt Westcott
90201afbd7
Upgrade mysqlclient to a supported version
2018-08-09 00:34:38 +01:00
Matt Westcott
6604cdfdae
Update documentation to indicate Django 2.1 support
2018-08-09 00:34:38 +01:00
Matt Westcott
deb7f7ecc6
Upgrade to Django-2.1-compatible versions of modelcluster and taggit
2018-08-09 00:34:38 +01:00
Matt Westcott
939e031760
Fix passwordless user creation tests for Django 2.1 and clarify WAGTAILUSERS_PASSWORD_REQUIRED docs
...
The behaviour of `has_usable_password` has changed in Django 2.1, such that `None` is no longer considered a 'non-usable' password: https://docs.djangoproject.com/en/2.1/ref/contrib/auth/#django.contrib.auth.models.User.has_usable_password
As a consequence of the fix applied in Django https://code.djangoproject.com/ticket/28718 , Wagtail users created without a password will now be able to complete the password reset process to gain access to Wagtail. Sites that do not want this behaviour (e.g. because those users should be using an LDAP login instead) should disable password changes via WAGTAIL_PASSWORD_MANAGEMENT_ENABLED and WAGTAIL_PASSWORD_RESET_ENABLED.
2018-08-09 00:34:38 +01:00
Matt Westcott
80a2389a26
Cast values to string when writing to querystring
...
Mitigation for https://code.djangoproject.com/ticket/29627 in Django 2.1
2018-08-09 00:34:38 +01:00
Matt Westcott
b75e484717
Define sortable_by on modeladmin.views.IndexView for Django 2.1 compatibility
2018-08-09 00:34:38 +01:00
Matt Westcott
4b35053a92
Update BlockWidget to accept a renderer kwarg to render and render_with_errors
...
In this case we just ignore the renderer; blocks have their own separate rendering mechanism, so it's not meaningful for that to be controlled by Django widget renderer classes.
2018-08-08 19:47:00 +01:00
Matt Westcott
72bc5fff6f
Convert DraftailRichTextArea to template rendering
2018-08-08 19:47:00 +01:00
Matt Westcott
52adc302ca
Perform rich text data conversion in the standard format_value method
...
This is called as part of Django's widget rendering process, so avoids the need for an explicit conversion within the render method.
2018-08-08 19:47:00 +01:00
Matt Westcott
c7d5223939
Fix WidgetWithScript to accept renderer kwarg
2018-08-08 19:47:00 +01:00
Matt Westcott
1478d324d1
Security audit of npm packages ( #4709 )
...
* Upgrade gulp-sass to 4.0.1 and rebuild package-lock.json with npm 6
The only difference to the generated code appears to be in sourcemap data.
* Run npm audit to fix most vulnerable packages
Generated static files are unchanged by this update.
* Revert package-lock.json to npm 5 format
2018-08-08 01:43:58 +03:00
Matt Westcott
a551b9a677
Fetch new translations from Transifex
2018-08-06 13:11:23 +01:00
Matt Westcott
e28baaff72
Release notes for 2.1.2
2018-08-06 13:11:11 +01:00
Matt Westcott
fcdb1bd2b7
add indirect dependencies from l18n
2018-08-06 13:11:01 +01:00
Matt Westcott
a34c87f080
Exclude wagtail/utils/l18n from linting
2018-08-06 12:39:45 +01:00
Matt Westcott
6793f76890
Bundle the l18n library to prevent installation issues
...
https://bitbucket.org/tkhyn/l18n/issues/4/setuppy-raises-unicodedecodeerror-trying prevents the l18n library from being installed on certain setups with non-Unicode locales:
https://groups.google.com/d/msg/wagtail/X5d8CL3DxUs/httaLso4DAAJ
As a temporary measure until a fixed version of l18n is released, bundle the library into wagtail.utils.l18n.
2018-08-06 12:39:45 +01:00
Janneke Janssen
78442e0a00
Migrate to circleci 2.0
2018-08-01 23:30:28 +01:00
Matt Westcott
4986381a58
Test against Django 2.1 final
2018-08-01 15:21:45 +01:00
Thibaud Colas
bb14ba2ced
Revert "Upgrade gulp-sass to 4.0.1 and rebuild package-lock.json with npm 6"
...
This reverts commit 497207735a
.
2018-07-31 23:53:05 +03:00
Thibaud Colas
7ba4c448f3
Revert "Run npm audit to fix most vulnerable packages"
...
This reverts commit f283c8bcdd
.
2018-07-31 23:52:51 +03:00
Matt Westcott
f283c8bcdd
Run npm audit to fix most vulnerable packages
...
Generated static files are unchanged by this update.
2018-07-31 23:48:57 +03:00
Matt Westcott
497207735a
Upgrade gulp-sass to 4.0.1 and rebuild package-lock.json with npm 6
...
The only difference to the generated code appears to be in sourcemap data.
2018-07-31 23:48:57 +03:00
Matt Westcott
ef89d4b693
Specify postgresql 9.6 on Travis for Django 2.1 support
2018-07-31 18:49:01 +01:00
Ryan Verner
a657a75cd7
Fixes Django 2.1 breaking changes; QUERY_TERMS & auth_views.login()
2018-07-31 18:49:00 +01:00
Matt Westcott
986f03748a
Rotate deprecation warnings
2018-07-31 10:57:00 +01:00
Matt Westcott
7d711f16be
Version bump to start work on 2.3
2018-07-31 10:55:04 +01:00
Matt Westcott
32fbbc8aed
see if requirements_file: null makes readthedocs happy
2018-07-30 22:29:06 +01:00
Matt Westcott
86ce571b93
Version bump to 2.2rc1
2018-07-30 21:18:44 +01:00
Matt Westcott
26d897174e
Generate new strings for translation
2018-07-30 17:33:01 +01:00
Matt Westcott
82b87f3989
Fetch new translations from Transifex
2018-07-30 17:29:50 +01:00
Matt Westcott
93e079bc6c
Block installation of beautifulsoup4==4.6.1
...
It contains a critical bug that breaks Wagtail: https://bugs.launchpad.net/beautifulsoup/+bug/1784408
2018-07-30 16:28:30 +01:00
Matt Westcott
f0cff6db3a
Un-deprecate index methods from Elasticsearch2SearchBackend
...
As discussed at https://github.com/wagtail/wagtail/pull/3975#issuecomment-389961302 - the base search backend class now implements generic versions of these methods so that they can be removed from the ES2-specific code without any loss of functionality.
2018-07-30 15:16:00 +01:00
Matt Westcott
7c38c5ad56
Fix typo preventing facet example from displaying
2018-07-27 12:00:38 +01:00
Matt Westcott
bf5d6e3363
Release note for #4524
2018-07-27 11:58:21 +01:00
Karl Hobley
4b91f6f6dc
Implement custom ordering in page search
2018-07-27 11:45:11 +01:00
Karl Hobley
ce2bdb9644
Implement filter by content type on page search
2018-07-27 11:45:10 +01:00
Matt Westcott
bb8df218e5
Make checkbox/radio alignment on Firefox consistent with Webkit
2018-07-25 11:26:15 +01:00
Karl Hobley
3d4055e465
Always index the specific version of the book
2018-07-23 13:45:59 +01:00
Karl Hobley
bf2661c952
Support indexing ForeignKeys which point to models with custom PK type
2018-07-23 13:45:59 +01:00
Karl Hobley
f67f0e39c3
Allow indexing arrays of model instances in FilterField
2018-07-23 13:45:59 +01:00
Karl Hobley
a68597dadf
Add "missing value" bucket to Elasticsearch facet
...
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#_missing_value_12
2018-07-23 13:45:59 +01:00
Karl Hobley
5c0c91dce7
Index tag IDs when indexing tags fields
2018-07-23 13:45:59 +01:00
Karl Hobley
dd9f155c06
Find underlying type of related fields
...
We currently guess that all OneToOneFields are integers and use string
for everything else.
This is usually not an issue as Elasticsearch coerces between strings an
integers automatically. But this causes issues for the new facet feature
as Elasticsearch returns strings for ID fields that are actually
integers.
The field type changes shouldn't cause any trouble for existing indices
as Elasticsearch will continue to automatically coerce the types. Users
who want to use the new facet feature on related fields will have to
rebuild their index.
2018-07-23 13:45:59 +01:00
Karl Hobley
dca01c3f4d
Reindex books when adding tags
2018-07-23 13:45:59 +01:00
Bertrand Bordage
0161f2664b
Merge branch 'master' of github.com:wagtail/wagtail
2018-07-14 14:56:24 +02:00
Bertrand Bordage
aa5f2497ea
Changelog for PostgreSQL autocomplete.
2018-07-14 14:54:48 +02:00
Bertrand Bordage
1130209823
Builds a single tsquery to handle complex negations.
2018-07-14 14:54:23 +02:00
Bertrand Bordage
f0d25f7443
Tests negating the search of multiple words (should fail on PostgreSQL).
2018-07-14 14:52:35 +02:00
Meteor0id
d49bc21469
one letter spelling mistake
...
Had been merged by the time I noticed my own mistake. Corrected 1 letter.
2018-07-14 13:29:37 +02:00