Wykres commitów

8496 Commity (b1db6c5882b2074d4912515561176cb61b168a80)

Autor SHA1 Wiadomość Data
Daniele Procida b1db6c5882 Added Divio Cloud notes to documentation 2018-06-16 15:51:06 -04: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
Matt Westcott 607f2ec067 Allow specifying js/css imports against Draftail features 2018-05-31 17:13:33 +01:00
LB bcf6b6da77 Fixes breadcrumbs on ModelAdmin inspect and choose parent view (#4029) 2018-05-29 17:34:47 +01:00
Karl Hobley b38271fd27 Changelog/release note for #4550 2018-05-29 10:31:14 +01:00
Dmitry Vasilev 73cca8cbed Optimize PNGs as well 2018-05-29 10:28:08 +01:00
Andy Chosak 7034cd1317 Fixes RST code syntax.
32148b2 used single backticks instead of double in the release notes.
2018-05-25 12:07:40 -04:00
Andrew Plummer 24712b4d8b Images: handle all not found errors in get_file_size 2018-05-25 11:56:00 -04:00
Bertrand Bordage a541f2c918 Fixes the order of preferred languages for uppercase languages. 2018-05-23 11:46:34 +02:00
Bertrand Bordage 03d361b055 Adds missing i18n & avoids an heretic non-method class function. 2018-05-23 11:45:43 +02:00
Matt Westcott 44476de07e Fetch new translations from Transifex 2018-05-22 16:14:59 +01:00
Matt Westcott 8285ba4e69 Fill in release date for 2.1
Conflicts:
	CHANGELOG.txt
2018-05-22 16:14:47 +01:00
Matt Westcott e8711a5bc2 Remove release notes for 2.0.2
There are no current plans to create another 2.0.x bugfix release; users on 2.0.x should upgrade to 2.1 instead.
2018-05-22 16:14:10 +01:00
Matt Westcott 8d786c3534 Reference the `get_url` method in Page model reference docs
Fixes #4424. As of #3354, `get_url` is the preferred way of obtaining a page URL, rather than the `.url` property;
.url is just a wrapper around get_url (which meant that the docstring for `get_url` was erroneously being picked up).
2018-05-18 15:26:06 +01:00
DanAtShenTech 53881ebd0b Small wording, spelling, grammar edits (#4543) 2018-05-18 14:59:06 +01:00
DanAtShenTech f58e85fa0f Fix wording 2018-05-18 14:55:29 +01:00
Alex Gleason 1c7e90c3ee Change wagtailimages.Image on_delete CASCADE to SET_NULL in docs 2018-05-18 14:51:50 +01:00
Victor Miti c38b172793 updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00