Matt Westcott
77877a48d5
Release note for #4003 / #4166
2018-01-04 13:51:02 +00:00
Matt Westcott
418af66f01
Ensure that snippet PKs are quoted in calls to reverse
2018-01-04 13:51:02 +00:00
Sævar Öfjörð Magnússon
4adf3ebc5d
Snippets with custom primary keys working now. Fixes #3104 .
2018-01-04 13:51:02 +00:00
Bertrand Bordage
c3b6966b31
Release notes for #4133 .
2018-01-04 14:16:40 +01:00
Bertrand Bordage
3ac349f34e
Merge pull request #4133 from BertrandBordage/fix-lock-button
...
Fixes page unlock button styling.
2018-01-04 14:15:01 +01:00
Bertrand Bordage
ca96902c56
Adds release notes for #4059 .
2018-01-04 14:06:17 +01:00
Bertrand Bordage
d1978995c2
Merge pull request #4059 from BertrandBordage/search-query-api
...
Adds search query API & implements at least PlainText & MatchAll.
2018-01-04 14:01:40 +01:00
Bertrand Bordage
14490978e5
Merges again QueryAPITestMixin and BackendTest.
2018-01-04 12:21:33 +01:00
Bertrand Bordage
8e6dedac67
Tests the search query API on Elasticsearch.
2018-01-04 12:14:45 +01:00
Bertrand Bordage
da4312703b
Elasticsearch test_delete should no longer fail.
2018-01-04 12:12:03 +01:00
Bertrand Bordage
f9cc020ded
Fixes an elasticsearch 5 test.
2018-01-04 12:11:09 +01:00
Karl Hobley
bd6cb6dad7
Implemented search query classes for Elasticsearch
...
# Conflicts:
# wagtail/search/backends/elasticsearch2.py
# wagtail/search/tests/test_backends.py
2018-01-04 11:27:52 +01:00
Karl Hobley
458ba92f05
Add _compile_query method
...
# Conflicts:
# wagtail/search/backends/elasticsearch2.py
2018-01-04 11:22:51 +01:00
Karl Hobley
52691766c5
Reorganise get_inner_query
...
# Conflicts:
# wagtail/search/backends/elasticsearch2.py
2018-01-04 11:21:39 +01:00
Bertrand Bordage
7915a8b127
Improves Flake8 happiness.
2018-01-03 20:49:48 +01:00
Bertrand Bordage
379c027e1e
Fixes the PostgreSQL search backend broken by 25901aa
.
2018-01-03 19:11:44 +01:00
Matt Westcott
9926745262
Specify oracle-java9 to make travis happy
2018-01-03 17:37:18 +00:00
Bertrand Bordage
e87ff07e7b
Merge branch 'master' into search-query-api
...
# Conflicts:
# wagtail/search/backends/db.py
# wagtail/search/backends/elasticsearch2.py
2018-01-03 18:36:57 +01:00
Bertrand Bordage
924d65dce3
Breaks down QueryAPITestMixin.test_plain_text()
.
2018-01-03 18:33:13 +01:00
Bertrand Bordage
5ba8341de2
Separates query API tests in a mixin.
2018-01-03 18:31:24 +01:00
Matt Westcott
0007041386
fix formatting
2018-01-03 15:57:52 +00:00
Mike Dingjan
ef27853a05
Allow overriding login form via `WAGTAILADMIN_USER_LOGIN_FORM
` setting
2018-01-03 15:57:40 +00:00
Bertrand Bordage
3097e5e610
Changelog for #3911 .
2018-01-03 11:32:22 +01:00
Bertrand Bordage
317ea80a7e
Doc typos.
2018-01-03 11:29:23 +01:00
Karl Hobley
1e332b4b67
Implement 'bgcolor' image operation.
...
Also fixes #3713 .
Remove alpha channel if converting transparent image to JPEG
2018-01-03 11:26:14 +01:00
Matt Westcott
c10e050076
Add misraX to contributors
2018-01-02 23:37:56 +00:00
misraX
c48a2ef501
Fixing search url for django 1.10 and above.
...
For django 1.10 and above the search url will fail with a TypeError since there is no support for views as string insider urlpatterns, It will raise TypeError('view must be a callable or a list/tuple in the case of include().')
TypeError: view must be a callable or a list/tuple in the case of include().
2018-01-02 23:37:10 +00:00
Matt Westcott
cca7653839
Specify django-taggit 0.22.2 for Django 2.0 support
2018-01-02 14:47:07 +00:00
kevin howbrook
0b44392c3d
Add missing import to tagging docs ( #4158 )
2017-12-29 17:54:38 +01:00
Andy Babic
4a7320a0db
Use master branch of taggit for django 2.0 tests (jdufresne's pull has been merged, and the branch deleted)
2017-12-21 23:54:23 +00:00
Thibaud Colas
4a18b2f39f
Update test coverage link from coveralls to codecov. Fix #4143
...
Uses the same link as the badge at the top of the README.
2017-12-20 14:11:40 +02:00
LB (Ben Johnston)
177ed19e7f
Revise link to issues for contributing ( #4145 )
...
* Revise link to issues for contributing
We are now using the label `good first issue` instead of
`difficulty:Easy` as that is what Github is promoting more.
* Revisit link to starter issues in CONTRIBUTING guidelines as well.
2017-12-20 14:07:09 +02:00
Matt Westcott
fd2753667b
Add test for ordering Page search by title
2017-12-18 11:37:35 +00:00
Matt Westcott
2e44dc3c8e
Add tests for searching on the Page model
2017-12-18 11:37:35 +00:00
Karl Hobley
dd54f5bdca
Handle search FieldErrors in the API
2017-12-18 11:37:35 +00:00
Karl Hobley
25901aad05
Make the search() method raise FieldErrors
...
Before, they were being raised at the point of evaluating the
SearchResults set. This makes the errors get raised at the point of
constructing the set so it's easier to catch and handle them.
2017-12-18 11:37:35 +00:00
Karl Hobley
aefa7b5469
Fix test_delete for Elasticsearch
2017-12-18 11:37:35 +00:00
Karl Hobley
9d745541c8
Recategorise an expectedFailure test
...
This test won't work even if the index API was implemented for the DB
backend
2017-12-18 11:37:35 +00:00
Bertrand Bordage
06833b3e09
Merge pull request #4139 from gasman/cleanup/lru_cache
...
Replace use of django.utils.lru_cache with functools.lru_cache
2017-12-15 18:42:44 +01:00
Matt Westcott
38e03c8fd1
Replace use of django.utils.lru_cache with functools.lru_cache
2017-12-15 17:31:35 +00:00
Karl Hobley
4336ada482
Fix Elasticsearch tests on Django 2.0
...
Fixes #4137
2017-12-15 14:25:00 +00:00
Matt Westcott
be2b5a7981
Release notes for #4060
2017-12-15 13:50:36 +00:00
Matt Westcott
f9ec1a4296
Ensure that expanding image embeds doesn't break if alt attribute is missing
...
This could potentially happen on earlier versions of Wagtail if the whitelister decided to escape the alt attribute with single-quotes instead of double, meaning that our regexps fail to pick it up
2017-12-15 13:46:58 +00:00
Matt Westcott
2b1dadcb05
Make link / embed handlers consistently work with unescaped versions of attributes. Fixes #2669 and #3126
2017-12-15 13:46:58 +00:00
Matt Westcott
0cd53a766e
Make whitelister consistently use double-quotes on attributes
2017-12-15 13:46:58 +00:00
LB
6866fa0d8d
add Django 2.0 note
2017-12-15 10:33:09 +00:00
LB
70eb2b6ae3
add on_delete argument to ParentalKey & ForeignKey
2017-12-15 10:33:09 +00:00
Bertrand Bordage
c0f5a8de36
Fixes lock button on Firefox.
2017-12-15 11:27:20 +01:00
Bertrand Bordage
ae3fc1f2a6
Fixes disabled lock button.
2017-12-15 11:27:02 +01:00
Bertrand Bordage
07f157a4e8
Fixes page unlock button styling.
2017-12-15 02:06:44 +01:00