0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

8512 Commits

Author SHA1 Message Date
Bertrand Bordage
3d3a25a8e1 Fixes Elasticsearch 6 tests. 2018-06-20 15:24:08 +02:00
Bertrand Bordage
6bdb4cf97f Fixes PostgreSQL search faceting. 2018-06-20 15:00:56 +02:00
Karl Hobley
fe76c11043 Implemented facet() method on search results
Add error handling for when facet field doesnt exist

Count('id' -> 'pk')

Use assertDictEqual

Fix indexing related fields using FilterField
2018-06-20 14:59:57 +02:00
Allen, Timothy
3cd18f3c1f Add trove classfier for Wagtail... to Wagtail. 2018-06-19 14:45:41 +01:00
Matt Westcott
8f9ca18c70 Release note for #4628 2018-06-18 17:58:06 +01:00
Matt Westcott
88dc3d978e Standardise on 'colour' for user-facing text 2018-06-18 17:55:40 +01:00
Catherine Farman
d1d1990ffc add empty line before rule to pass linter 2018-06-18 17:39:57 +01:00
Catherine Farman
5836dfa6ab make accessible colors its own section, add large font size combos 2018-06-18 17:39:57 +01:00
Catherine Farman
37ca88bf51 add remaining small text accessible color combos 2018-06-18 17:39:57 +01:00
Catherine Farman
29c82eb7f8 add initial small text accessible color contrast combinations 2018-06-18 17:39:57 +01:00
Matt Westcott
48b5740d03 Merge branch 'docs-divio-cloud' of https://github.com/evildmp/wagtail into evildmp-docs-divio-cloud 2018-06-18 15:45:38 +01:00
Matt Westcott
e1a0fc1fab Add Strother Scott to contributors 2018-06-18 15:07:05 +01:00
strotherscott
c5357dd271 second attempt ro clarify issue #4620 2018-06-18 15:04:41 +01:00
Andy Babic
5151c5cff2 Fix queryset ordering and add a test to confirm ordering matches expectation in all setups 2018-06-18 16:18:10 +10:00
ed@sharpertool.com
4539ced8cc Added documentation for new JS/CSS media files association with Draftail feature definitions (#4627)
Add more documentation for #4568
2018-06-17 00:13:38 +03:00
Daniele Procida
b1db6c5882 Added Divio Cloud notes to documentation 2018-06-16 15:51:06 -04:00
Craig Loftus
8270a117f5 Update Unidecode version 2018-06-15 16:44:32 +01:00
Benjamin Thurm
4a7e455004 Remove duplicate border radius of avatars 2018-06-15 10:47:01 +02:00
Matt Westcott
c4325fd4e9 Release note for #4516 2018-06-14 16:33:36 +01:00
Karl Hobley
2c2ef3465f Set Image.file_hash in the multi image uploader 2018-06-14 15:57:01 +01:00
Karl Hobley
507192f5be Added file_hash field to Image 2018-06-14 15:57:01 +01:00
Michael Harrison
e2b1c66a92 Add max_length option to redirect URL field 2018-06-14 15:02:06 +01:00
Matt Westcott
368e3b3adb Release note for #3802 2018-06-14 14:54:49 +01:00
LB
b5bfb66a11 Add note about deleting in docs 2018-06-14 14:54:49 +01:00
LB
d05734c934 add selection checkboxes to snippet listing view 2018-06-14 14:54:49 +01:00
LB
4a3590d53b rework delete function to handle cases of multiple snippets 2018-06-14 14:54:49 +01:00
LB
316b25e477 use consistent terminology for 'format' + add link to explain alt text 2018-06-14 12:40:28 +01:00
LB
dd4fb080e0 rename docs image 2018-06-14 12:40:28 +01:00
Thibaud Colas
b92847cacf Upgrade Draftail to latest, fixing copy-paste between editors losing formatting/content. Fixes #4432 2018-06-14 11:29:57 +01:00
Matt Westcott
ac8905b125 Release note for #3355 2018-06-11 19:02:18 +01:00
Matt Westcott
78e931fb21 fixup! Add rudimentary benchmarking code and a couple of benchmarks 2018-06-11 18:10:13 +01:00
Karl Hobley
2b33547dc0 Defer specific page fields in the explorer
We have a client site which has many quite heavy article pages. We found
that the server used a lot of memory on this particular view as it was
pulling in all the content for 50 of these pages and not even using it.

This commit prevents Wagtail from loading any specific fields in the
explorer. Any fields required by URL generation logic will be loaded at
a point in the future.
2018-06-11 17:49:31 +01:00
Karl Hobley
e5a4208774 Add rudimentary benchmarking code and a couple of benchmarks
This commit implements a '--bench' argument for runtests.py. When
specified, this runs a couple of special "benchmark" tests that are
specifically created for testing performance of the explorer page.

It's very rudimentary at the moment as I needed something quickly to
implement the performance improvement in this PR. It gets the job done
though.
2018-06-11 17:49:31 +01:00
Karl Hobley
c24fabe1d5 Added "defer" keyword argument to PageQuerySet.specific()
Setting this to True will tell Wagtail to defer all the specific fields
for each page. Each page will still be loaded in their correct class,
but only the fields defined on Page will be loaded in the initial query.

This gives a performance improvement when dealing with pages that have large
amounts of body text which we don't need to display in the admin.

Values of specific pages will continue to work, but will add extra
queries at the point of accessing them.
2018-06-11 15:38:08 +01:00
LB
b2e139bbd3 update changelog/releases for #4535 2018-06-10 12:52:10 +10:00
Matt Westcott
c3dc86c0e5 Add full documentation for WAGTAILADMIN_RICH_TEXT_EDITORS. Fixes #4555 2018-06-10 12:45:48 +10:00
Matt Westcott
b629563fb3 Remove reference to WAGTAILIMAGES_BACKENDS 2018-06-10 12:45:48 +10:00
LB
740bbb6c39 fix typos 2018-06-10 12:45:48 +10:00
LB
c886d1ab4f add missing settings 2018-06-10 12:45:48 +10:00
LB
8d2ee74be0 add reference anchors 2018-06-10 12:45:48 +10:00
Karl Hobley
ea7237ec9f Moved some documents tests to correct place 2018-06-07 16:10:54 +01:00
Karl Hobley
7bb60644dd Add file_size field to Document 2018-06-07 15:53:57 +01:00
Matt Westcott
6f92f9a23a Add default_features step to strikethrough example 2018-06-07 11:48:55 +01:00
Matt Westcott
fe99aca27b Move page chooser widget JS from _editor_js.html into widget media 2018-06-04 15:03:09 +01:00
Matt Westcott
d14afdc2c3 Ensure that group add/edit forms import form media js/css 2018-06-04 15:03:09 +01:00
Matt Westcott
994e793773 Move chooser widget JS from insert_editor_js hook into widget media 2018-06-04 15:03:09 +01:00
Matt Westcott
67795603fb Ensure that all templates currently including _editor_js.html are outputting form media
This ensures that if they're relying on _editor_js.html to provide form widget JS,
it won't break when that JS code is moved into form widget media.
2018-06-04 15:03:09 +01:00
Karl Hobley
590d848047 Tweaked wording of error message (#4581) 2018-06-04 15:02:31 +01:00
Karl Hobley
50bff8ad5d Changelog/release note for #4500 2018-06-04 09:57:12 +01:00
Samir Shah
491c51f2c2 Make slugurl template tag site-aware. 2018-06-04 09:54:45 +01:00