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

5987 Commits

Author SHA1 Message Date
Karl Hobley
dcc89ce9b1 Set explorer menu media with property instead of class
Fixes #2369

The static() function was being called during app load which caused a crash when the user is using STATICFILES_STORAGE=ManifestStaticFilesStorage, DEBUG=False and haven't yet collected static files.

I've moved it into a property and it's now only called when a view is being rendered. This also is more consistent because we usually set media using properties (and so does Django admin).
2016-03-30 17:06:29 +03:00
Tim Heap
5a6afd32f2 Fix import order 2016-03-30 15:05:49 +01:00
Karl Hobley
0dc8fdb3b3 Split up TestFindSiteForRequest 2016-03-28 11:45:57 +01:00
Alex Gleason
7296a1dd71 Added tests for Site.find_for_request 2016-03-28 11:45:57 +01:00
Tim Heap
27db7fb69e Add @danni to CONTRIBUTORS.rst
See #2359
2016-03-28 02:49:07 +02:00
Karl Hobley
77f143ab8f Changelog/release note for #2386 2016-03-27 14:33:27 +01:00
Josh Barr
0b9f78ef9d replace classic logical fallacy in touch event detection with the recommended solution. 2016-03-27 14:28:28 +01:00
Timo Rieber
9bdc843c8f Clarified wagtail userbar options and positioning 2016-03-27 14:23:47 +01:00
Tim Heap
4b46ff341d Add docs on making Wagtail compatible with multiple Django versions 2016-03-27 07:15:56 +02:00
Chris Townsend
8ac23d0554 Updated to include TEMPLATE requirement for Django 1.9+
In Django 1.9+ if you do not add: 'builtins': ['overextends.templatetags.overextends_tags'], to your TEMPLATES section you will receive a TemplateSyntaxError when the overextends template files are rendered: "Invalid block tag on line".  Including 'builtins': ['overextends.templatetags.overextends_tags'], per the overextends docs (and experience) resolves this error.

https://github.com/stephenmcd/django-overextends
2016-03-24 21:38:58 +00:00
Karl Hobley
729ec8bfab Changelog/release note/upgrade consideration for #2388 2016-03-24 21:21:05 +00:00
Tim Heap
6bd168580e Change Indexed.search_fields to be a listish thing
Indexed.search_fields used to be a tuple. This is incorrect, and it
should have been a list.  Changing it to be a list now would be a
backwards incompatible change, as people do

    search_fields = Page.search_fields + (
        SearchField('body')
    )

Adding a tuple to the end of a list causes an error, so this would
cause all old code that used tuples to throw an error. This is not
great.

A new ThisShouldBeAList class, which subclasses list, has been added.
It additionally allows tuples to be added to it, as in the above
behaviour, but will raise a deprecation warning if someone does this.
Old code that uses tuples will continue to work, but raise a deprecation
warning.

See #2310
2016-03-24 21:05:09 +00:00
Karl Hobley
63a891266a Changelog/release note for #2382 2016-03-24 20:58:31 +00:00
Karl Hobley
9e1e12b5a6 Fixed syntax of jQuery selector
We recently updated to jQuery 2.x and this requires quotes around attribute values.

Fixes #2380
Fixes #2381
2016-03-24 20:51:03 +00:00
Matt Westcott
959d72c30c Remove deprecated features for 1.5; update deprecation warning versions 2016-03-22 22:44:18 +00:00
Tim Heap
e001cac581 Release notes for #2260 2016-03-22 14:36:21 +11:00
Jonas Lergell
78a489b53f Remove highlighting for calendar day when switching months in the datetimepicker 2016-03-22 14:30:44 +11:00
Jonas Lergell
5b10a4969d Show todays date in the datetimepicker, even if it is not currently selected 2016-03-22 14:30:44 +11:00
Math1985
03cba5b91c Ask user for old password when changing password
This is accomplished by using PasswordChangeForm instead of SetPasswordForm.

This adds extra security, as without this commit, an attacker that has access to
a user's session at one point in time will be able to change the user's password
and gain permanent access.
2016-03-22 11:50:18 +11:00
Danielle Madeley
6fde6863c5 Get the request host from request.get_host
Fixes #2358
2016-03-19 23:23:06 -04:00
Rob Moorman
5158ee7aad Removed arrow-up after selector issue #2365 2016-03-17 01:25:26 +00:00
Matt Westcott
8976453dfc Add Antonin Enfrun and Edd Baldry to French translators list 2016-03-16 12:33:21 +00:00
Matt Westcott
5f67ce2c4b 1.4 no longer 'in development' 2016-03-16 11:31:20 +00:00
Matt Westcott
bd1456c793 Pull new translations from Transifex 2016-03-16 11:04:04 +00:00
Matt Westcott
679df7e985 Add missing quoting to icon-*-after CSS 2016-03-15 17:07:10 +00:00
Tim Heap
84432fbfd6 Add docs on how to build docs
I put some docs in your docs on building docs, so now I can build docs
about my docs from my docs.
2016-03-11 17:24:38 +00:00
Matt Westcott
83ab0746bc Release note for #2333 2016-03-11 17:21:53 +00:00
Tom Dyson
6dcb433215 CamelCase JavaScript in hooks documentation 2016-03-11 17:19:45 +00:00
Tom Dyson
43cb7f8e83 Hook for adding JS to all admin pages
Like insert_editor_js but not just for edit pages.
2016-03-11 17:19:45 +00:00
Matt Westcott
6803075188 Release notes for #1940 2016-03-11 15:43:43 +00:00
Josh Barr
a7d8a7bd4d added documentation for page listing buttons 2016-03-11 15:43:42 +00:00
Mikalai Radchuk
e2327675e1 Adds tests for buttons hooks
Tests folowing:
 * `register_page_listing_buttons`
 * `register_page_listing_more_buttons`
 * Custom hook produced by non-default `ButtonWithDropdownFromHook` instance

organised indicator color state variables into main variables.scss file
2016-03-11 15:43:42 +00:00
Josh Barr
29f92d25d2 organised indicator color state variables into main variables.scss file 2016-03-11 15:43:41 +00:00
Josh Barr
1119891acb added lint configuration for BEM, fixed other lint issues 2016-03-11 15:43:40 +00:00
Tim Heap
ba4983ca21 Add styles for dropdown buttons 2016-03-11 15:43:39 +00:00
Tim Heap
f972579844 Add hook to allow adding buttons to page listing
The 'register_page_listing_buttons' hook allows plugin developers to add
buttons to the actions list on the page listing in the admin.
2016-03-11 13:48:51 +00:00
Matt Westcott
1c61b2316c Version-bump to start work on 1.5 2016-03-11 13:43:00 +00:00
Tim Heap
861bd2de14 Sort imports using isort
```
$ pip install isort -e .[testing,docs]
$ isort --recursive wagtail/
$ git add wagtail
$ git commit
```
2016-03-11 10:48:00 +00:00
Tim Heap
31972dfd9e Check imports with isort on drone 2016-03-11 10:47:59 +00:00
Josh Barr
aa609c4eb5 added more defensive CSS to the userbar 2016-03-11 10:06:55 +00:00
Robert Rollins
b94ff6a952 Searchly no longer supports Elasticsearch 1.x, so I switched the suggested development service to Bonsai. 2016-03-10 15:11:42 +00:00
Robert Rollins
6446c42132 Various typo fixes and grammar/clarity improvements. 2016-03-10 15:11:41 +00:00
Matt Westcott
d134eadb2a Version bump for 1.4rc1 2016-03-09 14:36:11 +00:00
Karl Hobley
9393b93538 Improvements to MANIFEST.IN
Reduces size of wheel files to 5.7MB from 9.3MB
2016-03-09 14:30:25 +00:00
Matt Westcott
7166dff86d Generate new translation strings 2016-03-09 13:56:33 +00:00
Matt Westcott
78bd519fb5 Update translator list in contributors.rst 2016-03-09 12:26:15 +00:00
Matt Westcott
3129d72151 Sort languages by English name 2016-03-09 12:18:32 +00:00
Matt Westcott
c18a436b94 Pull translations from transifex (including languages that were previously below the 30% coverage threshold) 2016-03-09 12:09:43 +00:00
Matt Westcott
23af4e4251 Remove 30% coverage threshold from fetch-translations
It wasn't an effective rule for weeding out inactive translations - a 20% coverage of wagtailadmin is better than 100% coverage of wagtailsites.
(minimum-perc=1 is required because otherwise it'll pull in languages with no coverage at all, which includes a lot of junk)
2016-03-09 11:36:30 +00:00
Matt Westcott
eb78c9e235 Update Benjamin Bach's name in changelog 2016-03-08 15:59:48 +00:00