Commit graph

7421 commits

Author SHA1 Message Date
Matt Westcott
d5964b3bfa Add release note for #3973 backported to 1.12.x 2017-11-03 14:47:06 +00:00
Karl Hobley
90153e31c8 Fix AttributeError in listing_view endpoint
Fixes #3967

If there was no site configured, the listing views in the API would
break with an AttributeError.

Now, the following happens if there is no site record:
 - In the Admin API, all pages are returned but links in the response do
not include a domain name
 - In the Public API, no pages are returned
2017-11-03 14:44:07 +00:00
Matt Westcott
7175cd8d9b Version bump to 1.12.2 2017-09-18 21:44:07 +01:00
Matt Westcott
976d915dd5 Fill in release date for 1.12.2 2017-09-18 21:43:44 +01:00
Matt Westcott
64f8e23f31 Change StreamField examples to use explicit required=False instead of required=True 2017-09-18 21:35:09 +01:00
Matt Westcott
b1b9775e52 Explicitly state that required defaults to true on StreamField blocks 2017-09-18 21:35:09 +01:00
Matt Westcott
06ea3fb301 Clarify interaction between StreamField's blank property and StreamBlock's required property 2017-09-18 21:35:08 +01:00
Matt Westcott
7cf38f115c Set preview dropdown button to 250px (desktop) / 100% (mobile)
Re-fixes #3784, without breaking non-dropdown save buttons as a side effect (#3836).
2017-09-13 15:48:36 +01:00
Matt Westcott
a1b395d851 Revert "Fix preview button dropdown styling (#3785)"
This reverts commit a60aa1bfe2.
2017-09-13 15:48:36 +01:00
Matt Westcott
1bdd26ea41 Fix test for Python 2.x 2017-09-09 00:43:09 +01:00
Mitchel Cabuloy
bdeb104804 Fix OEmbed endpoints 2017-09-08 17:56:15 +01:00
Matt Westcott
28907c14db Don't call static() when constructing HalloPlugins
This isn't necessary, since Django form media fills in static paths itself - and doing it at module level will break on startup with certain staticfiles configurations if collectstatic hasn't run yet. Fixes #3829
2017-09-07 16:22:13 +01:00
Venelin Stoykov
f0e9258af9 Make it possible to reverse migrations 2017-09-06 16:35:54 +01:00
Matt Westcott
d17caef271 Add release note sections for 1.12.2 2017-09-06 16:28:37 +01:00
Matt Westcott
42d34b66a6 version bump to 1.12.1 2017-08-30 17:23:18 +01:00
Matt Westcott
c122279852 fill in release date for 1.12.1 2017-08-30 17:22:39 +01:00
Lucas Moeskops
9d14d4ad74 Fixed wrong argument for datetimechooser widget
The argument for specifying the language of the DateTimeChooser is wrong, which makes it impossible to customise the language. Compare for reference the argument specification for the DateChooser and the TimeChooser :-)
2017-08-30 16:44:59 +01:00
Ben Sturmfels
95f41fd90c Remove unused import in docs snippet. 2017-08-30 16:26:52 +01:00
Ben Sturmfels
b26d711e56 Update docs for Amazon ElasticSearch service as backend.
This change moves the "connection_class" key into "OPTIONS", resolving error
``AttributeError: 'AWS4Auth' object has no attribute 'encode'``.
2017-08-30 16:25:41 +01:00
Timothy Allen
9959d65d5a Minor documentation example fix; bold and italic should be spelled out explicitly. (#3779) 2017-08-30 16:25:05 +01:00
Matt Westcott
e902d3bdf3 Release note for #3799/#3820 2017-08-30 16:18:25 +01:00
Matt Westcott
7cdf2f490e Make get_admin_display_title fall back on live title 2017-08-30 16:18:23 +01:00
Mikalai Radchuk
99fdd8db42 Fix project template
We should create a home page with the draft_title
2017-08-30 16:18:22 +01:00
Matt Westcott
f0c7d5dc08 Release note for #3785 2017-08-29 11:48:00 +01:00
Jack P
c50b0c7715 Fix preview button dropdown styling (#3785)
Fixes #3784
2017-08-29 11:41:43 +01:00
Matt Westcott
29cfe39ddf Fetch new translations from transifex 2017-08-21 14:27:31 +01:00
Matt Westcott
f8654625f0 Fill in release date for 1.12 final 2017-08-21 14:02:19 +01:00
Matt Westcott
ceb42f9d11 Version bump for 1.12 final 2017-08-21 13:56:35 +01:00
Matt Westcott
f10b4665cd Version bump for 1.12rc1 2017-08-11 12:02:52 +01:00
Tomasz Knapik
80c846a0cf Add help_text to DecimalBlock and RegexBlock 2017-08-11 11:48:51 +01:00
Jeffrey Chau
c26e019ed1 Followup to #3640. Fix hidden field rendering in other document forms 2017-08-11 11:25:04 +01:00
Matt Westcott
7a1455551b Move logo animation code to core.js, as per https://github.com/wagtail/wagtail/pull/3740#pullrequestreview-55668086 2017-08-11 11:04:18 +01:00
Karl Hobley
2e81c30ca5 Changelog/release note for #3344 2017-08-11 10:18:21 +01:00
Matt Westcott
b376da022f Grammar nitpick ('By default' sounds more natural than 'Per default') 2017-08-11 09:58:44 +01:00
Matt Westcott
913607c939 Take MRO into account when constructing RoutablePageMixin's list of routes
This ensures that routes can be overridden in subclasses, while still respecting the definition order within a class definition.
2017-08-11 09:58:44 +01:00
Andreas Nüßlein
44a1c28481 Update tests.py 2017-08-11 09:58:44 +01:00
Andreas Nüßlein
39bca11283 added default index_route for RoutablePageMixin
RoutablePageMixin has a default index_route method that is decorated
with `@route(r'^$')`. This way, including RoutablePageMixin doesn't
force you to re-enable the default functionality you would expect from a
Page anyways.
index_route behaves exactly like a standard Wagtail Page.
To override the default behaviour, one can simply override the route by
decorating another function with r'^$'.

(as disussed in issue #2866)
2017-08-11 09:58:44 +01:00
kapito
e008838d53 Non-obstructive navbar toggle icon
Changes the design of the navbar toggle slightly so that it no longer obstructs page headers.
Currently: https://cdn.pbrd.co/images/GAruhHC.png, https://cdn.pbrd.co/images/GArxXtn.png
With fix: https://cdn.pbrd.co/images/GArvF7ec.png, https://cdn.pbrd.co/images/GArwp3o.png
2017-08-11 03:41:51 +03:00
Matt Westcott
5c0fc1197b Generate new strings for translation again (for the word 'Swedish'...) 2017-08-10 17:06:06 +01:00
Matt Westcott
fd3ef0d8b0 Add Swedish to default wagtailadmin languages list 2017-08-10 16:58:36 +01:00
Matt Westcott
8e38f255de Generate new strings for translation 2017-08-10 16:55:11 +01:00
Matt Westcott
c5fb5cd6d2 Fetch new translations from Transifex 2017-08-10 16:52:02 +01:00
kapito
aed6791088 Optimise caudal oscillation parameters on logo (#3740) 2017-08-10 15:31:29 +01:00
Matt Westcott
f9824236a8 Fix Christine Ho's credit 2017-08-10 14:31:23 +01:00
Matt Westcott
ccd7402471 Release note for #3736 2017-08-10 14:19:35 +01:00
Matt Westcott
fb75faa694 Fix rich text feature tests
Now that the 'p' element (handled by halloheadings) is always-on, we can't use the presence or absence of halloheadings to test whether the default plugins are in force or have been overridden. Check for 'hallolists' instead.
2017-08-10 14:19:34 +01:00
Matt Westcott
9942822fca Make paragraph elements an always-on plugin rather than configurable with plugins 2017-08-10 14:19:34 +01:00
Matt Westcott
c1b9204615 Release notes for rich text features 2017-08-10 14:19:34 +01:00
Matt Westcott
7c99cad62b Documentation for rich text features 2017-08-10 14:19:34 +01:00
Matt Westcott
61149a72a7 Define ol/ul as rich text features 2017-08-10 14:15:22 +01:00