0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

6027 Commits

Author SHA1 Message Date
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
Matt Westcott
e0ad2a720e Demote construct_explorer_page_queryset to a minor feature 2016-03-08 15:55:34 +00:00
Matt Westcott
bc34f312ad Formatting fixes to changelog 2016-03-08 15:51:56 +00:00
Matt Westcott
2cbbad492e Update Benjamin Bach's name in contributors 2016-03-08 15:49:10 +00:00
Matt Westcott
5410294836 Promote the redesigned userbar to a major feature 2016-03-08 15:48:24 +00:00
Matt Westcott
5e07bead42 Release note for #2170 2016-03-08 15:06:29 +00:00
Matt Westcott
1dab8eb469 Add tests for revision views 2016-03-08 15:06:28 +00:00
Matt Westcott
56b242bca1 Reorganise notification messages on page saving, so that we aren't translating sentence fragments in isolation
Also shorten some over-long code lines
2016-03-08 15:06:27 +00:00
Dave Cranwell
d9e5a8c8e9 fixed a regression in styling of explorer .index row 2016-03-08 15:06:27 +00:00
Dave Cranwell
e556de2ecd added revision field to revision review form so notification messages can be customised to better reflect what user has done. 2016-03-08 15:06:26 +00:00
Dave Cranwell
148a0d54cc made warning dropdowns a thing 2016-03-08 15:06:24 +00:00