0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 11:10:43 +01:00
Commit Graph

9864 Commits

Author SHA1 Message Date
Matt Westcott
8d21ad6e5a Release note for #6176 in 2.10 2020-06-25 10:31:29 +01:00
Matt Westcott
0067194d71 Release note for #6176 on 2.9.1 2020-06-25 10:29:52 +01:00
Matt Westcott
5f31b644e7 Make wagtail.contrib.sitemaps work without SiteMiddleware (#6176)
Fixes #6174
2020-06-25 10:29:36 +01:00
Matt Westcott
216dfdf459 Add release notes for Wagtail 2.9.1 2020-06-25 10:29:15 +01:00
Matt Westcott
ce6b2fe97b Fix numbering of postgres search migrations 2020-06-18 10:56:55 +01:00
Tom Dyson
20b99d4386
Remove 'whitelist' from page reference docs (#6153) 2020-06-16 11:23:51 +01:00
Coen van der Kamp
ec88e4d390 Add userbar action icons 2020-06-15 14:34:37 +01:00
Coen van der Kamp
a05cd07340 Switch userbar icon to SVG 2020-06-15 14:34:37 +01:00
Coen van der Kamp
66da26b0c9 Fix icon tag docstring 2020-06-15 14:34:29 +01:00
Coen van der Kamp
8052c93795 Add svg icon mixin 2020-06-15 14:34:29 +01:00
Timothy Bautista
cfc2bc8470
Fix minor typo in 2.10 changelog (#6140)
XLX/XLXS -> XLS/XLSX
2020-06-12 09:30:39 +01:00
Karl Hobley
06303c7169 Change contributor name for mozgsml to Nikolay Lukyanov 2020-06-09 11:04:13 +01:00
Karl Hobley
8d84f6a415 Changelog/release note/contributor for #6040 2020-06-09 09:42:48 +01:00
mozgsml
4abeb8232d
WebP images quality/lossless compression parameters (#6040)
* Add WebP-image quality and lossless

* Add WebP-image quality and lossless to Docs

* add WebP quality tests

* Split image quality filter => jpegquality, webpquality

* WebP lossless to inage format options

* Update WebP quality/lossless docs

* Updated Willow version

* WebP quality/lossless minor fix
2020-06-09 09:29:48 +01:00
Matt Westcott
e10a9f26e7 Use standard subheading format for upgrade considerations 2020-06-08 14:08:17 +01:00
Martin Sandström
301d1bc7f5 Add ability to import redirects from a file wagtail.contrib.redirects
* Add support for importing redirects via tsv, csv, xls and xlsx files
* Add import_redirects management command to redirects documentation
2020-06-07 11:20:39 +10:00
Matt Westcott
6e9bcef5db Release note for #6013 2020-06-05 15:23:50 +01:00
Karl Hobley
0288241170 Clean text before indexing 2020-06-05 15:10:21 +01:00
Karl Hobley
581da602fe Make ADD/MULL/AND/OR operators combine query classes in a balanced way
To prevent recursion errors
2020-06-05 15:10:21 +01:00
Karl Hobley
ef8429cc1e Apply field length normalisation to title in PostgreSQL search 2020-06-05 15:10:21 +01:00
Thibaud Colas
df164a7e69 Fix JS not working in IE11 due to using unimplemented NodeList#forEach 2020-06-05 07:24:33 +10:00
Thibaud Colas
100edcdc09 Update npm dependencies with npm audit fix
Apply trickier gulp upgrades

Update react-streamfield, removing extraneous dependency

Upgrade to latest version of stylelint

Add package-lock.json changes from local npm install
2020-06-04 07:02:43 +10:00
Andrew Bunker
6fe9d0a23a Add note about Elasticsearch backend credentials to docs (#6097) 2020-06-03 17:37:26 +01:00
Matt Westcott
67fc0d7787 Release note for #6046 2020-06-03 17:28:34 +01:00
Yngve Høiseth
ff60a05e91 Fix _type ElasticsearchDeprecationWarning 2020-06-03 17:26:46 +01:00
Yngve Høiseth
fa203b1083 Fix ElasticsearchDeprecationWarnings 2020-06-03 17:26:46 +01:00
Matt Westcott
fb016b8053 Update elasticsearch / db backend test modules for new autocomplete tests / schema changes 2020-06-03 17:10:11 +01:00
Matt Westcott
e5bd7d71f6 Ensure PostgresAutocompleteQueryCompiler consistently uses AutocompleteFields
get_fields_vector relies on self.search_fields, which in the base PostgresSearchQueryCompiler constructor is a lookup of SearchFields - here we need to patch that behaviour to build a lookup of AutocompleteFields instead.
2020-06-03 17:10:11 +01:00
Karl Hobley
ade6b27f50 Always use 'simple' config for autocomplete
This prevents PostgreSQL from stemming words which causes issues when
searching on prefix
2020-06-03 17:10:11 +01:00
Karl Hobley
fbb70e0b5d Make .autocomplete() API only search AutocompleteFields
This API isn't documented yet so I'm not concerned about backwards
compatibility.
2020-06-03 17:10:11 +01:00
LB (Ben Johnston)
e3e46e23b7
Fix typo in request.site middleware deprecation warning (#6104) 2020-06-03 11:05:59 +01:00
Coen van der Kamp
eb9cff7bf3 Drop null=True from Site.site_name
* Avoid using null on string-based fields such as CharField and TextField. If a string-based field has null=True, that means it has two possible values for “no data”: NULL, and the empty string.
* See: https://docs.djangoproject.com/en/3.0/ref/models/fields/#django.db.models.Field.null
2020-06-02 20:42:29 +10:00
Timothy Bautista
48511a7457 Strip HTML tags search index for RichTextBlock & RichTextField
* Add get_searchable_content function to RichTextField
* Fixes #6098
2020-06-02 20:34:38 +10:00
Timothy Bautista
dd7a928353 Tweak Wagtail logo hover animation in docs
This matches the hover animation exactly the same as in Wagtail but without the "playful" wagtail Easter egg (where the original hover animation came from)
2020-06-02 20:34:20 +10:00
Dan Braghis
eabc9e4dac
Merge pull request #6092 from lb-/feature/gitignore-test-media
add gitignore to tests folder - ignore test-media sub-folder
2020-06-01 09:24:27 +01:00
LB
39502ab4f8 add gitignore to tests folder - ignore test-media sub-folder 2020-05-31 19:28:48 +10:00
LB
6d2bb66536 Update AbstractForm to use mode_name for preview mode
- clean up to align with other usage across Wagtail
2020-05-30 16:48:30 +01:00
jacobtoppm
94e9b4d4c1
Merge pull request #6081 from Cheradenine/6076-fix-list-export-methods
Fix for IndexView to allow AdminModel methods for fields #6076
2020-05-29 09:16:47 +01:00
John B
1a160dfef5 Serialize dates for Excel as isoformat strings via a custom IndexView 2020-05-28 13:28:49 -04:00
John B
e707b85ea3 remove force_str when serializing values. Workaround Excel / openpyxl date issue 2020-05-28 07:43:47 -04:00
John B
fd84ea5e61 linter error 2020-05-27 19:12:38 -04:00
John B
1b0d3a0564 pass model_admin down to label_for_field 2020-05-27 19:06:16 -04:00
Karl Hobley
88cff1f69e Remove extra quotes around query string when no matches found 2020-05-27 22:44:24 +01:00
Karl Hobley
8997370126 Return all results when no search terms specified
This lets search filters work when there is no search query.
2020-05-27 22:44:24 +01:00
Coen van der Kamp
afa640fa14 Translate site default label 2020-05-27 22:41:19 +01:00
Scott Cranfill
8c6c7b8c77 Fix JS linting issue that slipped into SVG icon PR 2020-05-27 18:57:03 +01:00
Matt Westcott
ab71e515e4 Release notes for #6057 2020-05-27 18:17:04 +01:00
Matt Westcott
c3a7efa7a1 Revert prioritisation of USE_L10N=True over WAGTAIL_*_FORMATS 2020-05-27 18:01:35 +01:00
jacobtoppm
ead6c8b2a6 Add WAGTAIL_TIME_FORMAT to settings reference 2020-05-27 13:55:52 +01:00
jacobtoppm
ba4a72d867 Add tests for new date/time widget behaviour 2020-05-27 13:55:51 +01:00