Matt Westcott
2f4018c0ae
Import translations from Transifex
2015-12-09 11:03:14 +00:00
Maris Serzans
32b4124767
Changed verbose names to start with lowercase when necessary
2015-12-08 17:33:19 +00:00
Maris Serzans
c92d12755c
pep8 compliance 120 characters / line
2015-12-08 14:50:32 +00:00
Matt Westcott
16787e7150
fix pep8 spacing fix broken while merging beb2b927d7
2015-12-08 14:46:10 +00:00
Ben Emery
beb2b927d7
Allow for overriding image upload path
2015-12-07 19:18:17 +00:00
Karl Hobley
8d91e72407
Changelog/release note for #1934
2015-12-04 11:07:43 +00:00
Matt Westcott
78ba194f48
Call Page.unpublish() on each page when unpublishing queryset
2015-12-04 11:06:20 +00:00
Karl Hobley
e09a56f51c
Changelog/release note/contributor for #1981
2015-12-04 11:02:08 +00:00
Matthew Downey
43f23a600e
include return value from django_send_mail
2015-12-04 10:59:51 +00:00
Matthew Downey
7887360429
allow kwargs to be passed through to send_mail, and renamed arguments to match those of django's send_mail
2015-12-04 10:59:43 +00:00
Dave Cranwell
88341b782b
removed unnecessary whitelist of sass files to compile. sass knows not to compile partials, which leaves all the _other_ files which it should compile
2015-12-04 10:54:38 +00:00
Dave Cranwell
fd05039c78
renamed all include files with the underscore prefix to identify them as 'partials'
2015-12-04 10:54:38 +00:00
Karl Hobley
78a5324435
Cleanup E128 errors
2015-12-04 10:00:15 +00:00
Karl Hobley
7175525d02
Cleanup E126 errors
2015-12-04 09:48:20 +00:00
Karl Hobley
6cd293f081
Cleanup E124 errors
2015-12-04 09:42:22 +00:00
Karl Hobley
1f81b934f6
Cleanup some E303 errors
...
There are others but I'd argue the extra spacing improves readability in some situations.
2015-12-04 09:38:43 +00:00
Karl Hobley
1957af9ea8
Cleanup E302 errors
2015-12-04 09:32:16 +00:00
Karl Hobley
113f8e59ff
Cleanup E261 errors
2015-12-04 09:20:22 +00:00
Matt Westcott
8a22c977a2
Release note for #1970
2015-12-03 19:43:31 +00:00
Lukasz Kozlowski
7a681f94f7
Update tags widget in Image and Douments forms.
...
AdminTagWidget provides initTagField function
that fixes issue with multiple-word tags.
2015-12-03 19:39:30 +00:00
Lukasz Kozlowski
f0df1cb1fe
Make initTagField accessible in every admin view.
2015-12-03 19:39:30 +00:00
Rich Brennan
11618f0c3d
Update content_panels and promote_panels.
...
If I'm right, the Echoer content_panels and promote_panels can be removed as they're defined on Page?
2015-12-03 18:55:01 +00:00
Jan Korte
56cfe02bae
snippet docs: loading the tags is necessary
2015-12-03 18:45:29 +00:00
Matt Westcott
ad7596a96d
Limit animation to the .wagtail-logo class so that custom logos don't nod
2015-12-03 18:43:33 +00:00
Matt Westcott
9f3ae3c51d
Release note for #1572
2015-12-03 13:19:44 +00:00
Tim Heap
0071d85aa0
Add Page methods can_move_to
and can_create_at
...
These two tests are used when checking if a new page type can be created
under a page instance, or if an existing page type can move under a page
instance.
2015-12-03 12:56:52 +00:00
Matt Westcott
c1c77e4e70
Update can_move_to logic to respect allowed_subpage_types business rules
2015-12-03 12:56:51 +00:00
Matt Westcott
3e127ebe03
add new fixtures to test subpage_types business rules when moving pages
2015-12-03 12:56:51 +00:00
Dave Cranwell
72892644bb
Merge pull request #1979 from tomdyson/nodding-bird
...
Make the bird nod on hover
2015-12-03 11:09:31 +00:00
Tom Dyson
8de12cdd41
Transition back, with a tiny bounce
2015-12-03 10:35:34 +00:00
Dave Cranwell
eb4c5a7ce2
nav-submenu required translate3d due to its fixed position in the presence of animation, apparently. Also animation vendor prefixing removed since autoprefixer handles this already
2015-12-02 17:39:26 +00:00
Dave Cranwell
eaeb589ebb
removed prefixed box-sizing
2015-12-02 14:55:06 +00:00
Dave Cranwell
97456de746
linted
2015-12-02 14:55:06 +00:00
Dave Cranwell
7bc1c2485a
mixins which only do prefixing removed in favour of depending more on autoprefixer
2015-12-02 14:55:06 +00:00
Matt Westcott
e671a83be5
Release note for #1978
2015-12-01 13:17:31 +00:00
Matt Westcott
f6d8bb3978
Enforce is_creatable rules in the page 'create' view
2015-12-01 12:35:31 +00:00
Matt Westcott
b1c75644f6
Stop replace_text from replacing multiple times on MTI subclasses.
...
Iterating over get_page_models means that these will be visited once
per superclass. To avoid this, we filter the page list to those exactly
matching the page class. This is done via a new `exact_type` method
on `PageQuerySet`.
2015-12-01 12:35:31 +00:00
Matt Westcott
1bb74ee4d0
Remove special case allowing all page types to be children of Page.
...
This was required when Page was absent from PAGE_MODEL_CLASSES (due to
it being 'abstract' / non-creatable) and thus never appeared in a
parent_page_types list. Now it appears in PAGE_MODEL_CLASSES, and is
a valid parent page type for page types that do not specify
parent_page_types (or explicitly include Page in the list).
2015-12-01 12:35:30 +00:00
Matt Westcott
5104643438
Change PAGE_MODEL_CLASSES to include is_creatable pages
2015-12-01 12:35:30 +00:00
Matt Westcott
11d7e35423
Merge pull request #1983 from kaedroho/drone-images
...
Added Drone Dockerfiles to /scripts
2015-12-01 11:01:40 +00:00
Karl Hobley
e8d022b398
Added Drone Dockerfiles to /scripts
2015-12-01 10:56:23 +00:00
Matt Westcott
60ea0427fb
Formally deprecate ContentType-returning methods in wagtailcore
2015-12-01 10:22:48 +00:00
Matt Westcott
9f1993ad10
Eliminate remaining uses of allowed_subpage_types
2015-12-01 10:22:48 +00:00
Matt Westcott
5e84900adb
Add tests for allowed_parent_page_models and allowed_subpage_models.
...
We don't want to only test these indirectly via allowed_*_types, because
allowed_*_models is the preferred interface.
2015-12-01 10:22:48 +00:00
Matt Westcott
4ce93ac381
Deduplicate code for converting a list of models to a list of ContentTypes
2015-12-01 10:22:48 +00:00
Matt Westcott
b572edbd9e
Remove _PAGE_CONTENT_TYPES cache.
...
No code within Wagtail uses get_page_types now, and it doesn't really matter if external code becomes infinitessimally slower...
2015-12-01 10:22:48 +00:00
Matt Westcott
e12523820d
Add an allowed_subpage_models method to supersede allowed_subpage_types
2015-12-01 10:22:48 +00:00
Matt Westcott
d182115d2a
Add an allowed_parent_page_models method to supersede allowed_parent_page_types
2015-12-01 10:22:48 +00:00
Matt Westcott
54ad787131
Add a clean_parent_page_models method to supersede clean_parent_page_types
2015-12-01 10:22:48 +00:00
Matt Westcott
71f970f9aa
Add a clean_subpage_models method to supersede clean_subpage_types
2015-12-01 10:22:48 +00:00