0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

7657 Commits

Author SHA1 Message Date
Bertrand Bordage
4e6f5cd878 Merge pull request #3939 from kaedroho/search-tests
Rewrite search tests
2017-10-20 16:49:53 +02:00
Karl Hobley
c0dc85d86a Remove unused imports 2017-10-20 15:44:10 +01:00
Karl Hobley
c7d37043ca Deduplicate Elasticsearch index rebuilder tests 2017-10-20 14:44:16 +01:00
Karl Hobley
ea585cb5a3 Use lists instead of sets in search tests
And a few other tweaks
2017-10-20 12:56:35 +01:00
Karl Hobley
c60bdbb8c7 Override test_search_all for Elasticsearch 2017-10-20 12:55:33 +01:00
Karl Hobley
a577595779 Fix spelling of consistent 2017-10-20 12:32:52 +01:00
Karl Hobley
d70e2ad4fc Mark test_filter_isnull_true as expectedFailure on ES5 2017-10-20 10:25:58 +01:00
Bertrand Bordage
0f5640b212 Fixes INDEX_SETTINGS docs. 2017-10-19 23:11:40 +01:00
Karl Hobley
8cf2c14619 Update test_single_result to use custom ordering
For consistency with other slicing tests
2017-10-19 16:58:13 +01:00
Karl Hobley
ecb52e9271 Enable tests that were fixed by #3940 2017-10-19 16:49:05 +01:00
Karl Hobley
3b26706957 Merge branch 'master' into search-tests 2017-10-19 16:29:20 +01:00
Karl Hobley
6514650aa4 Merge pull request #3940 from BertrandBordage/postgres_search_improvements
Postgres_search simplification.
2017-10-19 16:27:48 +01:00
Karl Hobley
73ffbc0d17 {} => set() 2017-10-19 16:22:37 +01:00
Karl Hobley
085f1e1678 Reorder character names alphabetically 2017-10-19 16:22:37 +01:00
Karl Hobley
26ebee4733 Fix lint errors 2017-10-19 16:22:37 +01:00
Karl Hobley
8c99ff2385 Update postgres search tests 2017-10-19 16:22:37 +01:00
Bertrand Bordage
52fd56e5e7 Use class_is_indexed. 2017-10-19 15:40:26 +01:00
Bertrand Bordage
bfbc7adcab Defines the GIN search index in the models. 2017-10-19 15:17:40 +01:00
Bertrand Bordage
74aaa91ef6 Moves PostgreSQL get_config to the search backend. 2017-10-19 15:02:09 +01:00
Karl Hobley
f52c8c4433 Rewrite Elasticsearch specific tests 2017-10-19 14:13:17 +01:00
Karl Hobley
6a52ae0494 Rewrite backend tests 2017-10-19 14:13:17 +01:00
Karl Hobley
208ca70b1f Run Elasticsearch tests with one shard 2017-10-19 14:13:17 +01:00
Karl Hobley
d067239dfe Update other tests 2017-10-19 14:13:17 +01:00
Karl Hobley
fc9708a2af Update Elasticsearch tests 2017-10-19 14:13:17 +01:00
Karl Hobley
fe1953a70c Replace search test models 2017-10-19 14:13:17 +01:00
Bertrand Bordage
781263d4e1 Optimizes the PostgreSQL search query generated by the ORM.
Makes queries at least as fast as before.
2017-10-19 11:44:43 +01:00
Matt Westcott
05adf2c85d recompile .mo files 2017-10-19 11:04:52 +01:00
Kees Hink
c03f43a70b Also show link to image usage page on confirm_delete page 2017-10-19 10:23:36 +01:00
Bertrand Bordage
77dfab5968 Removes a newline. 2017-10-18 22:21:32 +01:00
Bertrand Bordage
42c38a6af0 Adds back default primary key ordering. 2017-10-18 22:06:57 +01:00
Bertrand Bordage
d19934512d Only rank specific field search when order_by_relevance. 2017-10-18 21:49:19 +01:00
Bertrand Bordage
5fac10656d Removes useless code. 2017-10-18 21:21:50 +01:00
Bertrand Bordage
272bfba95d Fixes a QuerySet. 2017-10-18 21:16:40 +01:00
Bertrand Bordage
9db5b45ec7 Replace every remaining mention of postgresql_psycopg2.
PostgreSQL search backend were not running because of this since 67b1ddb665 (diff-c2cc727a5e1fca9050dea34af68aa13c)
2017-10-18 21:10:49 +01:00
Bertrand Bordage
780d06215e Fixes fetching results from a queryset directly. 2017-10-18 20:54:46 +01:00
Karl Hobley
522a6868af Delete backend tests 2017-10-18 16:28:42 +01:00
Bertrand Bordage
f16e8d14b8 Isort fixes. 2017-10-18 16:28:26 +01:00
Bertrand Bordage
f17ac6cedf Postgres_search simplification.
This also preserves the original queryset order when using
`order_by_relevance=False`.
2017-10-18 16:03:33 +01:00
Matt Westcott
fd9d36d66b Mark 1.13 as no longer in development
Conflicts:
	CHANGELOG.txt
2017-10-16 19:03:47 +01:00
Matt Westcott
54f362f2ac Fetch new strings for translation
Also remove tr_TR translations, as they will mask the more-complete TR translation due to #3600.
2017-10-16 19:03:21 +01:00
Ross Crawford-d'Heureuse
32555f7a1c Added hiddenfield 2017-10-13 17:26:20 +01:00
Sævar Öfjörð Magnússon
9ac07d0a75 Bypass removelist in urlify when dealing with unicode characters. Fixes #3915 2017-10-13 16:57:20 +01:00
Patrick Woods
fa853de486 Use parse_known_args so we can handle extra testrunner named parameters 2017-10-13 16:35:03 +01:00
Matt Westcott
ac80812d88 Remove unsupported environments from appveyor config 2017-10-13 12:27:09 +01:00
Matt Westcott
4089811aed Remove Python 2 fallback code 2017-10-13 12:27:08 +01:00
Matt Westcott
70e342a38d Remove python_2_unicode_compatible decorators 2017-10-13 12:24:44 +01:00
Matt Westcott
5f382d8784 Remove Python 2 references from docs 2017-10-13 12:24:42 +01:00
Matt Westcott
a789ec7b7f Un-pin Django Rest Framework <3.7. Reverses #3912 2017-10-11 20:57:16 +01:00
Matt Westcott
2b64922a05 Add release note re removal of Python 2.7, Django 1.8 and Django 1.10 support 2017-10-11 17:31:08 +01:00
Matt Westcott
2d2518a571 Remove now-redundant 'import django' lines 2017-10-11 17:04:06 +01:00