Commit graph

6019 commits

Author SHA1 Message Date
Karl Hobley
33ecf4181e Changelog/release note for #2615 2016-05-19 11:46:32 +01:00
Matt Westcott
b3c5519448 Restore browser interface in the page chooser when the search box is cleared.
This also fixes #2608, which is caused by IE's buggy 'oninput' event handling - it treats the
clearing of the placeholder text when the search box is focused as a user input action, and
thus immediately fires off an empty search query. This change means that the empty search has
no effect.
2016-05-19 11:35:48 +01:00
Matt Westcott
f26f2c62b6 Handle blank forms in page / collection permission formsets - fixes #2389 (#2540) 2016-05-19 11:35:43 +01:00
Matt Westcott
a0ae61d05d Add BASE_URL setting back to project template 2016-05-18 22:11:51 +01:00
Matt Westcott
d1acd84510 Account for deletions when constructing page paths for preview_on_create - fixes #2599 2016-05-17 16:03:32 +01:00
Matt Westcott
a91ca87639 Release note for #2614 2016-05-17 15:59:08 +01:00
Matt Westcott
26d7e27327 Prevent unsaved edit warning following validation errors on preview - fixes #2602 2016-05-17 15:58:48 +01:00
Matt Westcott
042ab43e4d Release note for #2613 2016-05-17 15:55:13 +01:00
Matt Westcott
4ee93914ce Make preview window work on IE11
IE doesn't provide standard onload event listeners on opened windows, so this code did user-agent sniffing
on the string 'MSIE' to bypass the onload animation. This failed on IE11, which drops 'MSIE' from the
user agent string. The code now checks for the presence of addEventListener instead.

As a bonus, it now falls back on IE's (non-standard?) attachEvent method, so the animation now works on IE
after all.
2016-05-17 15:55:05 +01:00
Matt Westcott
6081ab5480 Release note for #2623 2016-05-16 18:08:26 +01:00
Matt Westcott
6f8aa51975 Stop up/down/delete controls on wagtailsearchpromotions from submitting the form 2016-05-16 17:49:38 +01:00
riceyrice
396d1ac622 Use cross-browser document.activeElement instead of (non-IE) event.target.activeElement 2016-05-12 20:31:05 +01:00
Matt Westcott
4b775dbdc8 Release note for #2605 2016-05-12 17:01:39 +01:00
Matt
a049721358 Force hallo to save changes after a paste or drag 2016-05-12 16:34:37 +01:00
Matt Westcott
b2962955e3 Version bump for 1.4.4 release 2016-05-10 12:39:28 +01:00
Matt Westcott
7c55ce3256 Pull translations from Transifex 2016-05-10 11:24:49 +01:00
Matt Westcott
6b35aa74a6 CSS lint fix 2016-05-09 19:05:43 +01:00
Matt Westcott
3ac9c457eb Add semi-transparent border around explorer menu
Fixes #2519. Fix provided by @alexgleason
2016-05-09 19:03:34 +01:00
Matt Westcott
b3ffe2baf0 Avoid relying on permission_types ordering in test_group_edit_loads_with_page_permissions_shown 2016-05-03 20:50:18 +01:00
Matt Westcott
a171cb0743 Forcibly delete ELASTICSEARCH_URL from environment to skip those tests unless --elasticsearch specified
Conflicts:
	runtests.py
2016-05-03 19:19:18 +01:00
Matt Westcott
e3fbe06f81 version-bump gulp-sass (the latest node-sass breaks compatibility with 2.0... I think) 2016-05-03 16:48:41 +01:00
Matt Westcott
2e48901f38 Make elasticsearch switchable in tox, allow ES failures in travis 2016-05-03 15:02:46 +01:00
Matt Westcott
5976e66cfb Move tests for Page.base_form_class / get_form_class to wagtailadmin - fixes #2428 2016-05-03 12:13:37 +01:00
Tim Heap
f9b39e5890 Do not get message classes from MESSAGE_TAGS
If the developer had overridden MESSAGE_TAGS in their site, Wagtail
messages used these classes in the admin. This caused the messages to
lose their styles.

Wagtail now ignores the MESSAGE_TAGS setting, using the default classes
defined in `django.contrib.messages.constants.LEVEL_TAGS`.

Fixes #2551

Conflicts:
	wagtail/tests/testapp/urls.py
	wagtail/wagtailadmin/templatetags/wagtailadmin_tags.py
2016-05-03 11:52:09 +01:00
kapito
7a0d37f6e9 Prevent spinner from spinning on required form entry 2016-05-03 00:08:37 +01:00
Matt Westcott
9bf921f611 Release note for #2499 2016-04-28 16:25:01 +01:00
Robert Rollins
efceeba241 Updated Page.dummy_request() to be able to handle ALLOWED_HOSTS = ['*']. 2016-04-28 16:24:56 +01:00
Matt Westcott
e70bd15179 Tests for Page.dummy_request, including failing test for #2499 2016-04-28 16:24:50 +01:00
Matt Westcott
b42cceb14f Release note for #2501 2016-04-28 15:20:27 +01:00
Jason Morrison
307364e3cd Check before unregistering Group model admin
Fixes exception:
    django.contrib.admin.sites.NotRegistered: The model Group is not registered
2016-04-28 15:17:59 +01:00
Matt Westcott
90742f2b59 Release note for #2495 2016-04-28 14:55:06 +01:00
Nick Smith
d01a5ef8be #2281 add tests, and refactor redirects, to handle duplicates with query strings 2016-04-28 14:51:47 +01:00
Nick Smith
e5e95b5bce #2281 fix issue when multiple redirects are returned for a path 2016-04-28 14:51:40 +01:00
Matt Westcott
e475f736d0 Release note for #2526 2016-04-28 13:12:32 +01:00
Matt Westcott
4c96595d90 Add a disableDirtyFormCheck function so we're not relying on sharing variables between scripts 2016-04-28 13:09:52 +01:00
kapito
cc7e6196c5 Fix keyboard shortcuts such as Ctrl+S giving unnecessary warning 2016-04-28 13:09:46 +01:00
kapito
15e5225d4b Add global declaration to $prop assignment. 2016-04-27 21:32:31 +01:00
Matt Westcott
ad7264fffb failing test for #2511 for document uploader
Make collection field on document chooser upload respect user permissions

failing test for #2511 for image uploader

Make collection field on image chooser upload respect user permissions
2016-04-26 19:48:34 +03:00
Tim Heap
aaefb81b60 Correctly construct Meta class for multi-inherited Blocks
Conflicts:
	CHANGELOG.txt
	docs/releases/1.5.rst
	wagtail/wagtailcore/blocks/base.py
2016-04-19 14:13:10 +01:00
Karl Hobley
0011fc08a1 Extra space 2016-04-18 23:21:24 +01:00
Karl Hobley
333aac4b99 Changelog for #2488 2016-04-18 23:19:21 +01:00
Matt Westcott
52e38f2024 Make wagtailuserbar tag gracefully handle the absence of a 'request' variable (#2488) 2016-04-18 23:13:30 +01:00
Karl Hobley
0519cea232 Prepare for 1.4.3 release 2016-04-04 21:38:24 +01:00
Karl Hobley
a0916b1c4c Changelog/release note for #2438 2016-04-04 17:17:13 +01:00
Karl Hobley
2b936a00e5 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:05:48 +01:00
Karl Hobley
7dbe8d6d60 Version bump to 1.4.2 2016-03-31 10:10:19 +01:00
Karl Hobley
3df3d5bfb5 1.4.2 no longer in development 2016-03-31 10:09:35 +01:00
Karl Hobley
45e170eeae Tweaks to changelog message 2016-03-30 22:29:06 +01:00
Karl Hobley
cad9f22eb1 Removed unused import 2016-03-30 22:09:46 +01:00
Tim Heap
e00314055c Use add_arguments over deprecated option_list 2016-03-30 22:00:13 +01:00