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
Meteor0id
ddd63bdb59
Update integrating_into_django.rst ( #4686 )
...
* Update integrating_into_django.rst
flaw in url, was still referencing depreciated method, fixed.
* Update integrating_into_django.rst
Add important notice that versions of Django earlier than 2.0 require url() instead of re_path()
2018-07-13 20:58:21 +02:00
Bertrand Bordage
8f4e5278de
Makes PostgreSQL autocomplete work with tsquery special chars.
2018-07-13 20:38:38 +02:00
Bertrand Bordage
a0283a9d8f
Implements query boost in PostgreSQL.
2018-07-13 20:22:23 +02:00
Bertrand Bordage
53c0e3aab7
Flake8.
2018-07-13 15:36:05 +02:00
Bertrand Bordage
cf2c9f5af4
Adds PostgreSQL support for the autocomplete method.
2018-07-13 15:11:39 +02:00
Karl Hobley
f75d2c49bf
Fix autocomplete API for Elasticsearch 6
2018-07-13 14:15:44 +02:00
Karl Hobley
5f1b473020
Simplify combinator query definitions
...
Happy to accept a little bit of repeated code here
2018-07-13 09:47:29 +01:00
Karl Hobley
c12bfbbc55
Remove unneeded methods on query classes
2018-07-13 09:47:29 +01:00
Karl Hobley
633aae46d4
Remove call to get_children() from Elasticsearch
2018-07-13 09:47:29 +01:00
Karl Hobley
d74cdb9a78
Merge pull request #4682 from gasman/admin/reapply-4593
...
Reapply #4593 (Update search query classes for RFC 25)
2018-07-12 16:51:51 +01:00
Bertrand Bordage
a3fe8eb3b1
Improves sitemap to avoid passing site now that request is used.
2018-07-11 20:17:48 +02:00
Karl Hobley
bd4729144e
Minor python optimisation
2018-07-11 18:28:14 +01:00
Karl Hobley
0b85b3a4eb
Reorder query classes
2018-07-11 18:28:14 +01:00
Karl Hobley
7f15bc500b
Reorder tests
2018-07-11 18:28:14 +01:00
Karl Hobley
939a678d99
Remove term level query classes
2018-07-11 18:28:14 +01:00
Karl Hobley
37f2b77e81
Remove shortcut queries
2018-07-11 18:24:59 +01:00
Karl Hobley
03ccd2e55d
Rewrite Boost to no longer be a shortcut
2018-07-11 18:24:59 +01:00
Karl Hobley
0ab6f096cd
Fix typo in Elasticsearch backend
...
Caused crash when PlainText was used in a combinator query
2018-07-11 18:20:56 +01:00
Karl Hobley
fc416f2fc3
Rewrite PlainText to no longer be a shortcut
2018-07-11 18:20:56 +01:00
Karl Hobley
a1c96ac23b
Remove Filter query class
2018-07-11 18:20:56 +01:00
Bertrand Bordage
88d5a8cfee
Release notes for #4575 .
2018-07-11 18:25:09 +02:00
Karl Hobley
90cc9c54ba
Added AutocompleteField & autocomplete().
...
Squashes these commits:
Added AutocompleteField
Implemented AutocompleteField for Elasticsearch
Add autocomplete() method to search backends
Implement autocomplete API for Elasticsearch
Allow partial match to be disabled on search()
Refactor search/autocomplete methods on base search backend
2018-07-11 18:22:37 +02:00
Matt Westcott
1d517dd0d8
Mark test_facet_tags as expected failure on Elasticsearch
2018-07-11 15:11:45 +01:00
Matt Westcott
a507cb9114
Revert "Update search query classes for RFC 25"
2018-07-11 13:48:40 +01:00