Commit graph

5972 commits

Author SHA1 Message Date
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
Tim Heap
904441de37 Use _meta.get_fields() over deprecated _meta.get_all_related_objects() 2016-03-30 21:59:03 +01:00
Tim Heap
90bcabd9cd Use field.rel over field.related, rel.model over rel.to 2016-03-30 21:58:56 +01:00
Tim Heap
c92ed903c6 Stop using methods deprecated in Wagtail
Some code was using methods from Wagtail, even though those methods were
deprecated with alternatives provided. Those alternatives are now used
instead.
2016-03-30 21:58:13 +01:00
Tim Heap
dff171e78b Update django-taggit version to 0.18.x branch 2016-03-30 20:04:13 +01:00
Karl Hobley
3f6efd18fa Changelog/release note for #2405 2016-03-30 19:59:06 +01:00
Tim Heap
9e6a56765f Add tests for snippet edit handler form classes 2016-03-30 19:53:19 +01:00
Tim Heap
56c5a78aa7 Check form class from Page edit handler for correct type
Forms for Page classes must subclass WagtailAdminPageForm. If they do
not, an error will be thrown for invalid arguments when the Page editor
is opened.

Partial fix for #2267.
2016-03-30 19:53:19 +01:00
Tim Heap
9b9eab6d4c Get EditHandler form class from model if not overridden
Unless overridden by passing `base_form_class=CustomFormClass` to an
EditHandler, the EditHandler now gets the base form class from the
model. People who override the EditHandler of a model no longer have to
also override the base_form_class if the model needs a custom one.

Fixes #2267
2016-03-30 19:53:19 +01:00
Karl Hobley
db269928e8 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:19:14 +03:00
Karl Hobley
d22be01d37 Changelog/release note for #2386 2016-03-27 14:32:46 +01:00
Josh Barr
2ce9bda1a3 replace classic logical fallacy in touch event detection with the recommended solution. 2016-03-27 14:29:24 +01:00
Timo Rieber
38e1fe7735 Clarified wagtail userbar options and positioning 2016-03-27 14:29:16 +01:00
Karl Hobley
4faa880796 Changelog/release note for #2382 2016-03-24 20:57:17 +00:00
Karl Hobley
17f4490ec9 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:53:34 +00:00
Matt Westcott
211a51f0fc Version bump to 1.4.1 2016-03-17 01:42:41 +00:00
Rob Moorman
287ca850bb Removed arrow-up after selector issue #2365 2016-03-17 01:23:12 +00:00
Matt Westcott
d0f52a1313 Add Antonin Enfrun and Edd Baldry to French translators list 2016-03-16 12:33:05 +00:00
Matt Westcott
920a79f223 Set version number to 1.4 2016-03-16 11:34:04 +00:00
Matt Westcott
de5a03d2fe 1.4 no longer 'in development' 2016-03-16 11:32:37 +00:00
Matt Westcott
1f01af73fe Pull new translations from Transifex 2016-03-16 11:02:50 +00:00
Matt Westcott
a713c3061b Add missing quoting to icon-*-after CSS 2016-03-15 17:07:49 +00:00
Josh Barr
ecacb60a4b added more defensive CSS to the userbar 2016-03-11 10:22:03 +00:00
Robert Rollins
0e78e04b6b Searchly no longer supports Elasticsearch 1.x, so I switched the suggested development service to Bonsai. 2016-03-10 15:14:19 +00:00
Robert Rollins
123e3692ab Various typo fixes and grammar/clarity improvements. 2016-03-10 15:14:12 +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
Dave Cranwell
1bc6f64738 made buttons in listing index rows more prominent 2016-03-08 15:06:24 +00:00
Dave Cranwell
53ab3c169c reworded publish button, also made warning a property of a dropdown 2016-03-08 15:06:23 +00:00
Dave Cranwell
fb934cbd85 removed back to current draft link as that's now unnecessary 2016-03-08 15:06:22 +00:00
Dave Cranwell
dbebf28da1 added ordering and current draft to list 2016-03-08 15:06:21 +00:00
Dave Cranwell
d69e95a07a allowed revisions to be ordered and added current draft to list 2016-03-08 15:06:21 +00:00