0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

6154 Commits

Author SHA1 Message Date
Karl Hobley
7d58b677ca RoutablePageMixin.subpage_urls no longer used (#2586) 2016-05-10 14:23:22 +01:00
Matt Westcott
703ee3edf5 Update release notes / contributors with new translations imported into 1.4.4 2016-05-10 11:28:46 +01:00
Matt Westcott
db449bff2a Remove 'perspective' declarations from explorer CSS - fixes #2549 2016-05-10 10:09:20 +01:00
Matt Westcott
7aaab7b52d Fix for #2519 is now in 1.4.x (and also fixes #2549) 2016-05-09 19:08:52 +01:00
Liam Brenner
75295209bb Added auto resizing text field, richtext field, and snippet chooser to styleguide
Fix button on styleguide linking to the add an image page
2016-05-09 12:56:47 +03:00
Tim Heap
facd66cf82 Use code-block:: python for a code example in docs 2016-05-08 04:59:34 +02:00
Philipp Dieter
d247fe9bf6 Fix name of ForeignKey object 2016-05-08 04:50:37 +02:00
Mario César
b95cc1e687 Update decorator patterns util to preserve original view method name when introspecting.
When decorate_urlpatterns apply a decorator to a view function it lost spec names, docs, and the module where it was imported, making it uneasy to inspect when debugging (Like getting the name view and docs when using django-debug-toolbar)

Using functools.update_wrapper it updates the resulting function to look like the original wrapped view function.

Without the use of this decorator factory, the name of the wrapped view function would have been 'decorated_view'.
2016-05-08 04:44:30 +02:00
Matt Westcott
6b6866345e freeze NPM packages at a point in time when they actually appear to collectively work 2016-05-04 16:24:37 +01:00
Matt Westcott
3b0c074ba7 Eliminate duplication of dependencies in tox.ini
Fixes #2317
2016-05-04 14:12:27 +01:00
Josh Schneier
6d1a9efbb6 Update documentation and code to put mixin first 2016-05-04 14:05:33 +01:00
Karl Hobley
629deeba68 Changelog/release note for #2528 2016-05-04 12:29:21 +01:00
Karl Hobley
fdfbe689b4 Use user.get_username() instead of custom template tag
As per Matthew's comment: https://github.com/torchbox/wagtail/pull/2528#issuecomment-215398952
2016-05-04 12:29:06 +01:00
Matt Westcott
3a6018e7d4 Display username in password reset email - fixes #2240 2016-05-04 11:17:33 +01:00
Matt Westcott
5945ad8b28 upgrade gulp to 3.9.1 2016-05-03 21:50:45 +01:00
Matt Westcott
ab70c3c885 Avoid relying on permission_types ordering in test_group_edit_loads_with_page_permissions_shown 2016-05-03 20:49:02 +01:00
Matt Westcott
58f747b955 Forcibly delete ELASTICSEARCH_URL from environment to skip those tests unless --elasticsearch specified 2016-05-03 17:19:29 +01:00
Matt Westcott
eede616086 CSS lint fix 2016-05-03 16:53:06 +01:00
Matt Westcott
fcce9b8dc1 version-bump gulp-sass (the latest node-sass breaks compatibility with 2.0... I think) 2016-05-03 16:48:24 +01:00
Matt Westcott
796239b7d9 Add semi-transparent border around explorer menu
Fixes #2519. Fix provided by @alexgleason
2016-05-03 15:49:54 +01:00
Tim Heap
b727ec4064 Add documentation on the base_form_class attribute 2016-05-03 14:00:21 +01:00
Matt Westcott
c495f02baf Make elasticsearch switchable in tox, allow ES failures in travis 2016-05-03 13:54:26 +01:00
Matt Westcott
a226c7f5af Handle blank forms in page / collection permission formsets - fixes #2389 (#2540) 2016-05-03 12:35:30 +01:00
Matt Westcott
db1e4aad15 Move tests for Page.base_form_class / get_form_class to wagtailadmin - fixes #2428 2016-05-03 12:12:10 +01:00
Tim Heap
80ad8ffc94 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
2016-05-03 11:42:26 +01:00
kapito
7de9b51f6f Prevent spinner from spinning on required form entry 2016-05-03 00:03:38 +01:00
Matt Westcott
b39ff4a134 add note about Wagtail <=1.4 syntax for search_fields 2016-05-02 18:42:21 +01:00
Mikalai Radchuk
020279a8a6 Improves tests for wagtailforms (#2546) 2016-04-30 12:02:28 +01:00
Matt Westcott
b52ac6a1ea Test for choose_parent view with non-superuser 2016-04-29 17:14:51 +01:00
Karl Hobley
5eef0f0a24 Mention that ImageMagick must be installed in "Animated GIF support"
Fixes #2505. Thanks to Frank Wiles and @ghostwords for spotting
2016-04-29 16:23:27 +01:00
Matt Westcott
1de152c145 Release note for #2499 2016-04-28 16:24:08 +01:00
Robert Rollins
bd8aedbc71 Updated Page.dummy_request() to be able to handle ALLOWED_HOSTS = ['*']. 2016-04-28 15:50:57 +01:00
Matt Westcott
220dfb631d Tests for Page.dummy_request, including failing test for #2499 2016-04-28 15:50:57 +01:00
Matt Westcott
83d872b3a3 Release note for #2501 2016-04-28 15:22:10 +01:00
Jason Morrison
35c283fa2d Check before unregistering Group model admin
Fixes exception:
    django.contrib.admin.sites.NotRegistered: The model Group is not registered
2016-04-28 15:17:39 +01:00
Matt Westcott
139c8a1e76 Release note for #2495 2016-04-28 14:56:07 +01:00
Nick Smith
9ad6c82d03 #2281 add tests, and refactor redirects, to handle duplicates with query strings 2016-04-28 14:50:55 +01:00
Nick Smith
a318c5ba79 #2281 fix issue when multiple redirects are returned for a path 2016-04-28 14:50:55 +01:00
Matt Westcott
26f4b4868d Release note for #2526 2016-04-28 13:13:13 +01:00
Matt Westcott
9a60287e18 Add a disableDirtyFormCheck function so we're not relying on sharing variables between scripts 2016-04-28 13:08:27 +01:00
kapito
e59210ba39 Fix keyboard shortcuts such as Ctrl+S giving unnecessary warning 2016-04-28 11:55:34 +01:00
Matt Westcott
518abc2673 changelog entry for #2517 should be in 1.4.4 2016-04-28 11:45:41 +01:00
Robert Rollins
7523d7f57f Removed all uses of STATIC_URL from code samples, replaced with static().
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.

I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
2016-04-28 10:57:22 +01:00
Robert Rollins
11793f88c5 Changed indentation on all code samples to 4 spaces.
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Robert Rollins
1a9caccdcd The "code-block:: json" tag doesn't work for full HTML response text.
You get a lexer error from the document builder if you use "code-block:: json",
and the json-style highlighting ends up not being applied. So I switched it to
"code-block:: text".
2016-04-28 10:57:22 +01:00
Matt Westcott
91e81d6bc0 Upgrade consideration note for #2524 2016-04-28 10:52:10 +01:00
Josh Barr
2c69a720c1 added button classes to styleguide 2016-04-28 10:32:10 +01:00
Josh Barr
0ea84b9d18 additional button styles 2016-04-28 10:25:05 +01:00
Josh Barr
cc7a936cd5 added button classes to inputs 2016-04-28 10:25:05 +01:00
Vincent Audebert
ab53b1817f Fixing #2520
Switching explorer from position absolute to position fixed.
I did it in a pure CSS way but it would be good to be able to modify jquery.dlmenu.js line 213 to avoid it adding automatically a CSS property top on the element.
2016-04-27 22:05:17 +01:00