Wykres commitów

6096 Commity (852e2b87e84a4661705305fd260cbeab5315b686)

Autor SHA1 Wiadomość Data
Tim Heap 852e2b87e8 Ensure image forms allow file uploads 2016-04-25 23:44:18 +01:00
Tim Heap 6f2099fb16 Ensure document forms allow file uploads 2016-04-25 23:44:18 +01:00
Tim Heap 9c670c646b Ensure snippet forms allow file uploads 2016-04-25 23:44:18 +01:00
Tim Heap 44198daaf6 Ensure setting forms allow file uploads 2016-04-25 23:44:17 +01:00
Andrew T. Baker 228088d33d Add WAGTAIL_APPEND_SLASH setting 2016-04-25 23:12:57 +01:00
nfletton 03e247396b Display the details of server errors when they occur in the multi-image uploader 2016-04-25 22:18:58 +01:00
Roel Bruggink ac59fc814c Improve L10N and I18N for revisions list. 2016-04-25 21:52:05 +01:00
Matt Westcott f9947b2c08 Release note for #2489 2016-04-25 21:00:30 +01:00
Tomas Olander 4bb2bf2bbd Don't import dev in project template settings
Developer settings were always imported whenever any portion of the
project template settings package itself was imported. Using production
settings would result in __init__.py importing the dev settings first,
*then* overriding those with the production settings.

This lead to somewhat counter-intuitive behaviour - dev settings that
weren't explicitly set again in production would tag along to prod.

To fix this, the project template settings package no longer imports
dev, and settings.dev is explicitly used in both manage.py and wsgi.py.
2016-04-25 20:39:16 +01:00
Matt Westcott d2f087f092 Remove useless get_indexed_objects method from TagSearchable (#2498)
Indexing the tags of TagSearchable subclasses (such as wagtailimages.Image) is done by following
the model's 'tags' relation, and wagtailsearch is smart enough to prefetch that automatically
(as the test demonstrates). Prefetching 'tagged_items__tag' just adds two useless queries :-)
2016-04-23 13:22:48 +01:00
Matt Westcott 73e1961f96 Shorten code for retrieving button title 2016-04-22 17:24:23 +01:00
Matt Westcott c35c1f360a Release note for #2439 2016-04-22 17:22:40 +01:00
Liam Brenner ca19cd4a8a Added a title to 'add child page', added translations 2016-04-22 17:06:09 +01:00
Liam Brenner da3d3c8585 Added title to menu dropdown button 2016-04-22 17:05:31 +01:00
Liam Brenner d5bbc8d687 Added titles to action buttons, made them display in the dropdown menu 2016-04-22 17:05:31 +01:00
Liam Brenner 0b212200f4 Add title to draft button 2016-04-22 17:04:53 +01:00
Matt Westcott a713fb7fe2 version-bump django-modelcluster to 2.0 2016-04-22 15:46:54 +01:00
Karl Hobley b94b1179fb Removed comment about Django 1.7 behaviour 2016-04-19 22:14:34 +01:00
Matt Westcott e5848941a0 #2456 is now in 1.4.x 2016-04-19 14:18:13 +01:00
Tim Heap 14398bfdd7 Correctly construct Meta class for multi-inherited Blocks 2016-04-19 11:26:25 +01:00
Karl Hobley 9fe6c7c494 Changelog for #2488 2016-04-18 23:20:26 +01:00
Matt Westcott 07056f05fa Make wagtailuserbar tag gracefully handle the absence of a 'request' variable (#2488) 2016-04-18 23:11:51 +01:00
Karl Hobley b96be5aa35 Modeladmin scss cleanups (#2481)
* Hyphenate classname: result_list => result-list

* Fixed gulp config for compiling scss

Was compiling to modeladmin/index.css instead of wagtailmodeladmin.css which caused the styles to not load

* Nest scss rules

Makes the scss easier to read I think

* Let choose_parent_page.scss use an id selector

* Converted ids to classes

* scss style tweaks

* Allow choose_parent_page.scss to use id selector

We should definitely solve this. But need to get Drone working right now
2016-04-16 17:15:47 +01:00
Karl Hobley 9e7c6204db More isort fixes 2016-04-16 15:27:49 +01:00
Karl Hobley 2b8ae21f34 A couple of isort fixes 2016-04-16 15:21:12 +01:00
Karl Hobley 62b8155792 Added missing import 2016-04-16 15:18:23 +01:00
Matt Westcott 566aa5a3c1 Remove duplicate imports 2016-04-14 17:36:23 +01:00
Andy Babic dcb67dcfdf Added wagtailmodeladmin to contrib with docs 2016-04-14 15:03:49 +01:00
Karl Hobley a31d4d32ce Fixed deprecation warning classes for wagtailimages/utils.py 2016-04-13 14:37:36 +01:00
Tim Heap 0097f770fd Add options to filter deprecation warnings in tests
The test output was extremely noisy with deprecation warnings. Half of
these warnings were caused by external modules like django-taggit, and
could be ignored. The warnings caused by Wagtail got lost in the noise
though, rendering the test output useless for finding warnings. By
default, the tests now only print deprecation warnings if raised by
Wagtail.

Use `./runtests.py --deprecation=all` if you want all the warnings to be
printed. This is useful when we want to fix third party packages before
they break from being too outdated.

Use `./runtests.py --deprecation=pending` if you want the default
behaviour.

Use `./runtests.py --deprecation=imminent` if you only want imminent
DeprecationWarnings, ignoring PendingDeprecationWarnings.

Use `./runtests.py --deprecation=none` if you want to ignore all
deprecation warnings.
2016-04-12 17:00:33 +01:00
Matt Westcott 41d1758738 remove extra backticks 2016-04-12 16:51:18 +01:00
Benjamin Bach dfd8a5cc2b add distinct icons to blocks 2016-04-12 16:50:48 +01:00
Karl Hobley b978fb826f Added --schema-only flag to update_index command 2016-04-12 16:21:46 +01:00
Karl Hobley fead70bee3 Tweaked wording of a couple of update_index messages 2016-04-12 16:15:55 +01:00
Karl Hobley 9de25998fe Cleanup update_index command 2016-04-12 16:15:55 +01:00
Matt Westcott 1aa0817a03 Release note for #2205 2016-04-12 16:07:09 +01:00
Matt Westcott 25165ea198 Suppress 'Failed to send rejection notifications' logging when running unit test 2016-04-12 16:03:00 +01:00
Matt b0f49e5c0f Prevent unsent emails from crashing the admin pages 2016-04-12 15:46:00 +01:00
Matt Westcott 1d2ec402fa Prefetch root page in Site.find_for_request. Thanks to Yannick Chabbert for the suggestion! 2016-04-12 12:54:14 +01:00
Karl Hobley 2e970f88ea Changelog and release note for #2451 2016-04-12 06:57:27 +01:00
Tim Heap 31d2d43d5b Add wagtail.contrib.settings.jinja2tags (#2451) 2016-04-12 06:49:32 +01:00
Karl Hobley eda39c85c8 Changelog for #2453 2016-04-11 22:46:42 +01:00
Matt Westcott 5de7be31be Recognise instagram embed URLs with www prefix (#2453) 2016-04-11 22:36:25 +01:00
Karl Hobley bc608b2a9a Fixed missing full stop
Thanks @tomdyson for spotting!
2016-04-11 20:09:39 +01:00
Benjamin Bach 512b96aa82 Guidance to acknowledge that models.PROTECT is also fine. 2016-04-11 18:09:06 +01:00
Mikalai Radchuk 6c53a439a5 Update CHANGELOG and release notes 2016-04-11 17:01:55 +01:00
Mikalai Radchuk 305a86a68a Updates API test_documents
Now `test_documents` uses `get_document_model` function to get document model class.
Same approach used in `test_images`.
2016-04-11 17:01:55 +01:00
Mikalai Radchuk 1599a69af6 Replaces direct usages of Document model
We need to use `get_document_model` instead of `Document` directly
because Wagtail provides ability to define custom document model.
2016-04-11 17:01:55 +01:00
Karl Hobley 869404032f Rebuilt translation sources for wagtailimages
For #2471
2016-04-11 13:57:38 +01:00
Mikalai Radchuk 37803fa3dd Changes messages in empty list of images\documents (#2471)
This commit introduces tiny UX improvements for empty lists of images and documents:
 * Same message in both lists
 * Gives link to multiple upload form in both lists
2016-04-11 13:55:43 +01:00