Wykres commitów

6223 Commity (e4735abc200f66df1aafe995f33ea740c40f830a)

Autor SHA1 Wiadomość Data
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
Charlie Hornsby 5cb7ae01f6 FIx incorrect paginator label in example code (#2468) 2016-04-10 11:06:51 +01:00
Timo Rieber 1eae1ad390 Removed redundant debug settings from project template (#2465) 2016-04-09 17:35:37 +01:00
Tomas Olander 196250fd47 Remove unused import in project template (#2466) 2016-04-09 17:32:39 +01:00
Karl Hobley 877c8015d7 Fixed import order in core/models.py 2016-04-09 17:32:14 +01:00
Chris Rogers 26f5016bb5 Use site_name for display for sites if available 2016-04-08 16:50:58 +01:00
Matthew Downey 9bbf1ba9a0 updated Site.find_for_request() to only hit the database once, and related unit tests 2016-04-08 12:15:23 +01:00
Liam Brenner 8b2a58ecae Changed button class for saving settings 2016-04-06 14:56:31 +01:00
Matthew Downey c289028cd9 updated changelog for registered settings menu items 2016-04-06 14:14:21 +01:00
Matthew Downey cc509f226a ensure admin settings urls start with app label and model name, so they show as highlighted 2016-04-06 14:10:28 +01:00
Matt Westcott 32d6d43692 Add test for #2308 2016-04-06 14:10:28 +01:00
Timo Rieber 31119b5954 Added openshift deployment infos using wagtail-openshift-quickstart 2016-04-06 11:44:25 +01:00
Matt Westcott 1e3c498c34 Set 'identifier' as the PK in the initial CustomUser migration
MySQL breaks when trying to rename it, and we don't need to worry about doing migrations properly
because test databases are only temporary anyway...
2016-04-05 19:11:28 +01:00
Matt Westcott 3b09ffaee5 Fix remaining references to User.id caught by tests 2016-04-05 16:36:27 +01:00
Matt Westcott 4f50e576aa Use a non-standard primary key name on CustomUser, to catch misuse of 'id' instead of 'pk' 2016-04-05 16:16:56 +01:00
Mikalai Radchuk 1172349cca Replaces some usages of "id" field with "pk" field 2016-04-05 16:00:20 +01:00
Roel Bruggink bedde59aaa Add 'revisions' action to 'more'. 2016-04-05 15:43:24 +01:00
Josh Schneier 0855f59500 Fix deprecated usage of register.assignment_tag 2016-04-05 15:40:13 +01:00
Matt Westcott c428f92711 Add Janneke Janssen to contributors 2016-04-05 15:04:10 +01:00
Janneke Janssen 4b4b5fd601 Fixes regression padding on messages after (partially) moving to a mixin 2016-04-05 14:41:40 +01:00
Karl Hobley b6c80cde36 1.4.3 no longer in development 2016-04-04 21:39:58 +01:00
Karl Hobley 81cdca1a91 Changelog/release note for #2438 2016-04-04 17:15:24 +01:00
Karl Hobley 1e44d78a02 Simplified _get_lowest_common_page_class 2016-04-04 17:06:40 +01:00
Tim Heap 09878fcfd8 Do not use ContentTypes in PageChooserPanel
Using ContentTypes can lead to the awkward case where they are used
before the database is migrated, leading to errors on start up. Removing
ContentTypes and using plain Model classes instead makes this
impossible, and also makes the code clearer.

Fixes #2433
2016-04-04 17:06:40 +01:00