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

1172 Commits

Author SHA1 Message Date
Bertrand Bordage
ca96902c56 Adds release notes for #4059. 2018-01-04 14:06:17 +01:00
Mike Dingjan
ef27853a05 Allow overriding login form via `WAGTAILADMIN_USER_LOGIN_FORM` setting 2018-01-03 15:57:40 +00:00
Bertrand Bordage
3097e5e610 Changelog for #3911. 2018-01-03 11:32:22 +01:00
Matt Westcott
be2b5a7981 Release notes for #4060 2017-12-15 13:50:36 +00:00
Karl Hobley
26d9fb42a3 Changelog/release notes for #3947 2017-12-14 15:22:29 +00:00
Karl Hobley
91eb6b0f6c Changelog/release note for #4128 2017-12-14 11:36:12 +00:00
LB
4ea8365203 Add ability to set custom value_class on StructBlock 2017-12-13 00:00:35 +00:00
LB
78cd642def Release notes for #4093 2017-12-06 13:29:41 +08:00
Matt Westcott
733f487dc0 Enable password validators on the project template.
Thanks to @tmsndrs for the heads-up!
2017-12-04 22:49:09 +00:00
Janneke Janssen
91d1150fc4 Release notes for #3592 2017-12-01 16:24:05 +01:00
LB
7c54c14709 search on changed query only
linting
2017-12-01 12:52:57 +01:00
Janneke Janssen
2cd6086f0b Fix revisions link collapsing 2017-12-01 10:37:11 +01:00
LB
a42893f497 FormSubmissionsPanel to use get_submission_class 2017-11-30 12:42:49 +00:00
Matt Westcott
9610c2d3af Make InlinePanel heading independent of label. Original commit by @Adrian-Turjak 2017-11-30 12:08:19 +00:00
LB
f0bdfcb22f Release notes for #4024 2017-11-28 22:11:21 +08:00
Karl Hobley
49b28311fc Changelog/release note for #3951 2017-11-23 09:48:19 +00:00
Bertrand Bordage
50a52c20a6 #3583 release notes. 2017-11-22 18:06:25 +01:00
Bertrand Bordage
c5593ac49a Changelog for #3936. 2017-11-22 17:04:48 +01:00
Matt Westcott
97c98e170a Fill in release date for 1.13.1 2017-11-17 11:15:34 +00:00
Matt Westcott
ae0d7e6149 Fill in release date for 1.12.3 2017-11-17 11:15:11 +00:00
Matt Westcott
9613bc087d Release notes for #4028 2017-11-17 10:58:05 +00:00
Matt Westcott
b4f2017123 Release notes for #4027 2017-11-17 10:58:05 +00:00
Matt Westcott
970f26249b Release note for #4017 2017-11-16 17:08:34 +00:00
Matt Westcott
4cceba80f1 Release note for #4018 2017-11-16 17:08:34 +00:00
Matt Westcott
e8720c7627 Release note for #4007 2017-11-14 20:12:32 +00:00
Matt Westcott
501273f3d8 release note for #3987 2017-11-10 11:14:27 +00:00
Matt Westcott
c9b6d3a4e6 Release note for #3999 backported to 1.13.x 2017-11-07 16:48:26 +00:00
Matt Westcott
e603080092 Release note for #3999 2017-11-07 16:45:55 +00:00
Matt Westcott
fa0734b4b2 Release note for #3981 2017-11-06 14:30:04 +00:00
Matt Westcott
e5ecc6318b Release note for #3965 2017-11-03 18:12:41 +00:00
Jonathan Carmack
7859627a6e Added hooks for user for create, delete, and edit actions 2017-11-03 16:53:32 +00:00
Edd Baldry
a28fa5e8c8 Amends label for when user changes images closes #3955 2017-11-03 16:12:22 +00:00
Matt Westcott
31294f3b38 Release note for #3974 backport to 1.13.x 2017-11-03 15:44:20 +00:00
Matt Westcott
ced5cf2fe8 Release note for #3974 backport to 1.12.x 2017-11-03 15:44:14 +00:00
Matt Westcott
e61481442e Release note for #3912 backported to 1.12.x 2017-11-03 15:04:04 +00:00
Matt Westcott
3a017fc00d Add release note for #3973 backported to 1.13.x 2017-11-03 15:03:55 +00:00
Matt Westcott
77093a8cc6 Add release note for #3973 backported to 1.12.x 2017-11-03 15:02:48 +00:00
Matt Westcott
022c31d91e Release note for #3973 2017-11-03 14:43:32 +00:00
Tim Heap
1f2b8ccaf1 Filter pop-out explorer pages using 'construct_explorer_page_queryset'
The pages listed when browsing the /admin/pages/ explorer differed from
the pages listed in the new React/admin API powered pop-out explorer.
The latter did not pass the queryset through the
'construct_explorer_page_queryset' hook, so pages that should have been
hidden were visible. Visiting these pages in the explorer could then
lead to unexpected behaviours, as hidden sections of the site became
browsable.

A new `for_explorer=1` query parameter has been added to the admin API,
which will pass the page queryset through the
'construct_explorer_page_queryset' hooks.
2017-10-31 15:55:01 +00:00
Karl Hobley
0fb6edcf5f Changelog/release notes for #3979 and #3983 2017-10-30 10:17:12 +00:00
Karl Hobley
1c9c934f9f Changelog/release notes for #3856 and #3946 2017-10-26 16:53:09 +01:00
Karl Hobley
030c6b9548 Changelog/release notes for #3925, #3930 and #3974 2017-10-26 13:55:21 +01:00
Karl Hobley
499ef19a9b Changelog/release note for #3521 2017-10-25 15:28:32 +01:00
Karl Hobley
328e337395 Changelog and release notes for #3940 and #3968 2017-10-25 11:56:39 +01:00
Kees Hink
c03f43a70b Also show link to image usage page on confirm_delete page 2017-10-19 10:23:36 +01:00
Matt Westcott
fd9d36d66b Mark 1.13 as no longer in development
Conflicts:
	CHANGELOG.txt
2017-10-16 19:03:47 +01:00
Ross Crawford-d'Heureuse
32555f7a1c Added hiddenfield 2017-10-13 17:26:20 +01:00
Sævar Öfjörð Magnússon
9ac07d0a75 Bypass removelist in urlify when dealing with unicode characters. Fixes #3915 2017-10-13 16:57:20 +01:00
Matt Westcott
2b64922a05 Add release note re removal of Python 2.7, Django 1.8 and Django 1.10 support 2017-10-11 17:31:08 +01:00
Matt Westcott
f69c73ef66 Version bump to begin work on 2.0 2017-10-09 18:34:43 +01:00
Matt Westcott
e93b21036e Allow navigation from page usage/search results
Remove the allow_navigation flag from the 'explore' page listing, and have navigation always enabled - there's no good reason to leave it out, and people have asked for it. Fixes #952
2017-10-06 14:17:41 +01:00
Matt Westcott
be73f16e14 Make custom PageManagers return the correct PageQuerySet subclass
As reported in https://github.com/wagtail/wagtail/issues/3250#issuecomment-284988695, custom page managers created with PageManager.from_queryset(CustomPageQuerySet) fail to return instances of CustomPageQuerySet. This breaks the EventPageQuerySet example given at http://docs.wagtail.io/en/v1.9/topics/pages.html#custom-page-managers.
2017-10-06 13:06:18 +01:00
Matt Westcott
700864bb2a Release note for #3794 2017-10-06 00:37:47 +01:00
Matt Westcott
de3f9550b4 Release note for #3824 2017-10-05 15:40:55 +01:00
Samir Shah
62b8caedd5 Remove SessionAuthenticationMiddleware from project template and docs.
The project template assumes Django 1.11, where SessionAuthenticationMiddleware is redundant (see https://docs.djangoproject.com/en/1.11/releases/1.10/#features-removed-in-1-10).

Also update the documentation to consistently refer to MIDDLEWARE instead of MIDDLEWARE_CLASSES.
2017-10-04 16:14:34 +01:00
Mikalai Radchuk
ddb0665f79 Make last_published_at filterable 2017-10-02 21:39:31 +01:00
Matt Westcott
ce0e88c3ae Release note for #3893 2017-10-02 21:15:36 +01:00
Mikalai Radchuk
bcf3a8f364 Release notes for #3792 2017-10-02 10:20:17 +01:00
Janneke Janssen
b3e126d6b9 Update React to 15.6.2 due to relicensing (#3884) 2017-09-29 18:18:16 +13:00
Matt Westcott
46ce262bc0 changelog note for #3878 2017-09-27 14:46:33 +01:00
Matt Westcott
c19bea67b9 Stop breadcrumb home icon from showing as ellipsis in Chrome 2017-09-26 16:18:22 +02:00
Matt Westcott
f9de02b806 Release note for #3705 2017-09-21 15:00:10 +01:00
Matt Westcott
6570cf1a76 Release note for #3442 2017-09-20 20:48:03 +01:00
Matt Westcott
37be77143d Release note for #3822 2017-09-20 16:08:58 +01:00
Matt Westcott
65e833603a Release note for #3821 2017-09-20 15:59:57 +01:00
Matt Westcott
5232a3aa7c Fill in release date for 1.12.2 2017-09-18 21:44:48 +01:00
Matt Westcott
563b8e48ef Release notes for #3541 2017-09-13 21:41:35 +01:00
Matt Westcott
2a9ec51995 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:47:48 +01:00
Mitchel Cabuloy
83e6a551fe Fix OEmbed endpoints 2017-09-08 17:55:35 +01:00
Matt Westcott
92b4f68c67 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:21:24 +01:00
Venelin Stoykov
90ce50307e Make it possible to reverse migrations
Conflicts:
	CONTRIBUTORS.rst
2017-09-06 16:37:31 +01:00
Matt Westcott
1aaf7b17ef Add release note sections for 1.12.2 2017-09-06 16:30:13 +01:00
Matt Westcott
e64762acbb fill in release date for 1.12.1 2017-08-30 17:24:04 +01:00
Matt Westcott
ca589a56f3 Move release note for #3790 to 1.12.1 2017-08-30 16:55:54 +01:00
Matt Westcott
c87b400c7a Release note for #3799/#3820 2017-08-30 16:54:48 +01:00
Matt Westcott
a7820a2e90 Release note for #3785
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2017-08-29 11:49:45 +01:00
LB
0b90ee15fa add request.FILES to form 2017-08-29 10:55:28 +01:00
Janneke Janssen
3baf087979 Update changelog with correct contributors for #2189 2017-08-27 20:28:52 +02:00
Vincent Audebert
a10e1f0761 Add CSS minification and source maps for Sass 2017-08-27 20:25:53 +02:00
Jack P
981108919a Fix avatar position in footer on mobile (#3781)
* Fix avatar unnecessarily shifting by 50px in the footer on mobile

* Update _formatters.scss

* Move mobile menu on homepage override to col1 on homepage instead of avatar

* Add release notes for #3781
2017-08-27 01:04:17 +03:00
kapito
8ff650a5b4 Fix form submission page header class 2017-08-25 16:20:15 +01:00
Lucas Moeskops
f7024a4193 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-25 16:12:35 +01:00
Mikalai Radchuk
2cba1b13bf Release notes for #3789 2017-08-25 09:34:50 +01:00
Bertrand Bordage
894887e7da [Postgres_search] Adds a default ordering when ranking of objects is the same. 2017-08-24 11:52:21 +01:00
Joe Cronyn
d56f1069ef Updating to allow no limit max 2017-08-22 12:09:05 +01:00
Matt Westcott
28d8f80a23 Fill in release date for 1.12 final 2017-08-21 14:38:05 +01:00
Bertrand Bordage
31e025032c Adds changelog notes for 29360a4. 2017-08-21 14:06:39 +02:00
Bertrand Bordage
72f0a3a2fc Adds release notes for #3726. 2017-08-16 18:12:08 +02:00
Thibaud Colas
b0b5e25e97 Release note for #3763, in 1.13 2017-08-16 00:40:49 +03:00
Thibaud Colas
6b605aaa0d Create new release note sections for Wagtail 1.13 2017-08-16 00:38:09 +03: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
Karl Hobley
2e81c30ca5 Changelog/release note for #3344 2017-08-11 10:18:21 +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
kapito
aed6791088 Optimise caudal oscillation parameters on logo (#3740) 2017-08-10 15:31:29 +01:00
Matt Westcott
ccd7402471 Release note for #3736 2017-08-10 14:19:35 +01:00
Matt Westcott
0f5db96364 Add WAGTAILUSERS_PASSWORD_ENABLED and WAGTAILUSERS_PASSWORD_REQUIRED settings
Fixes #3706. These options restore the ability to create users with no password set on the Django side, for setups where authentication is managed externally (e.g. LDAP) - this was inadvertently dropped in Wagtail 1.10 when the form validation was tightened up (#3007). Additionally, the password fields can now be removed entirely, to enforce the use of an external auth setup.
2017-08-10 10:11:47 +01:00
Jack P
f9aebb77d7 Fix inconsistent footer width (#3723) 2017-08-08 21:55:08 +03:00
Thibaud Colas
85286699d2 Release notes for #3748 2017-08-08 21:41:37 +03:00
Karl Hobley
3163f77d2a Changelog/contributor/release note for #3701 2017-08-04 14:32:57 +01:00
kapito
b6e01515cb fix deprecated load() function 2017-08-03 19:47:16 +01:00
Matt Westcott
8a055addad Don't render a StructValue's template on calls to str(value)
This is liable to cause infinite loops on debug / logging code that attempts to log the fact that it's rendered a template with this value in the context.

Fixes #2874, https://github.com/jazzband/django-debug-toolbar/issues/950
2017-08-02 14:04:47 +01:00
Matt Westcott
17939e5190 release note fixup 2017-08-02 12:28:28 +01:00
Stein Strindhaug
f663c76490 Prevent users from demoting or deactivating themself
Remove is_active and is_superuser fields completely when editing
oneself, to avoid locking oneself out.
2017-08-02 00:13:05 +01:00
Matt Westcott
2021042d57 Release note for #3605 2017-08-01 15:03:07 +01:00
Matt Westcott
14a36f29c0 add missing changelog item for #3315 2017-08-01 10:36:26 +01:00
Levi Adler
6bd7515663 Reduce queries and speed up sitemap generation with PageQuerySet.specific (#3727) 2017-07-28 16:07:16 +01:00
Eugene Morozov
f85f186cea Hide wagtail icon from printed page representation. 2017-07-14 11:49:52 +02:00
Matt Westcott
2bd54431b4 fill in release date for 1.11.1
Conflicts:
	CHANGELOG.txt
2017-07-07 14:40:16 +01:00
Matt Westcott
a0c6e46580 Release note for #3694
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2017-07-07 14:39:28 +01:00
Matt Westcott
8003185ac2 Release note for #3569 2017-07-06 15:23:40 +01:00
Matt Westcott
4caa860149 Mark 0.8, 1.4, 1.8 and 1.12 as LTS releases in release notes 2017-07-04 15:20:44 +01:00
Karl Hobley
01e2d5f4a0 Class based embed finders and new embed finder configuration (#2127)
* Allow additional oembed providers to be used (currently all are hardcoded)
 * Make per-provider configuration possible
    * Choose which finders get used for which provider (eg, force use of oembed for instagram but use embedly for everything else)
    * Allow specifying additional parameters for certian providers such as scheme=https to YouTube
2017-07-03 18:28:13 +01:00
Mikalai Radchuk
cc4f941c0a Add release notes for #3285 2017-07-03 10:14:16 +01:00
Matt Westcott
4bcd4b1834 Fill in release date for 1.11
Conflicts:
	CHANGELOG.txt
2017-06-30 14:39:07 +01:00
Karl Hobley
ae070c688e Changelog/release note for #3670 2017-06-30 09:33:35 +01:00
David
240fa9153b Added multiselect form field 2017-06-28 17:25:25 +01:00
Matthew Downey
27808a9fe1 Respect max_num when setting initial disabled state for InlinePanel add button #3316 2017-06-28 15:56:50 +01:00
Tim Heap
55a56416f5 Call Field.prepare_value from FieldBlocks
This is used by some form fields to convert from the internal Python
value to the value used by a widget, much like `Block.get_prep_value`
for blocks or `Field.get_prep_value` for model fields.
2017-06-26 23:21:13 +01:00
Matt Westcott
8a07ce57f4 Version bump to start work on Wagtail 1.12 2017-06-22 18:33:48 +01:00
Matt Westcott
3d9159c0b4 Release note for #3663 2017-06-19 16:57:05 +01:00
Mikalai Radchuk
5f651299df oEmbed: Add support of Tumblr 2017-06-19 15:10:54 +01:00
Matt Westcott
0611a1b2cd Release note for #3545 2017-06-19 15:08:24 +01:00
Bertrand Bordage
729bee6c14 Changelog for #2547. 2017-06-19 03:34:16 +02:00
Matt Westcott
4e5fff7e41 Release note for #3245 / #3644 2017-06-16 15:33:54 +01:00
Matt Westcott
980f979d90 Release note for #3492 2017-06-12 19:08:33 +01:00
LB
18cb0245fc allow default for show_in_menus 2017-06-09 12:50:39 +01:00
Jeffrey Chau
0c9ad90edd Fix document chooser template to account for hidden fields 2017-06-09 12:31:33 +01:00
Matt Westcott
0c745855ff Add release note re wagtailsitemaps fix 2017-06-02 10:59:54 +01:00
Matt Westcott
927770eaab Release note / docs for #3608 2017-06-02 10:58:34 +01:00
Mikalai Radchuk
9d64068082 Release notes for #3588 2017-05-23 20:55:43 +01:00
Matt Westcott
3b44b354e3 Update release date for 1.10.1 2017-05-19 12:54:52 +01:00
Matt Westcott
188a24e04c Release note for #3603 2017-05-19 12:54:15 +01:00
Karl Hobley
415a6b2fbe Changelog/release note for #3593 2017-05-18 09:56:10 +01:00
Matt Westcott
e96ee76c3d Add release note for #3586 2017-05-17 16:35:50 +01:00
Matheus Bratfisch
41c8bfced9 Add live_revisions fk on Page, tests, migrations, update template 2017-05-16 17:06:02 +01:00
Matt Westcott
1f8edc8984 Cache Site.get_site_root_paths in the request scope (#3354) 2017-05-16 15:24:48 +01:00
Thibaud Colas
b17d11af05 Release notes for #3012 2017-05-13 23:53:10 +03:00
Matt Westcott
d37838711b fill in release date for 1.10 2017-05-03 12:56:55 +01:00
Matt Westcott
b5ba99bc14 Fill in release date for 1.9.1 2017-04-21 15:22:37 +01:00
Matt Westcott
f9e9f6768b Fill in release date for 1.8.2 2017-04-21 15:22:36 +01:00
Matt Westcott
6d31b9dc8e Release note for #3252 backport to 1.9.x 2017-04-21 15:15:23 +01:00
Matt Westcott
b04b31dc90 Release note for #3252 backport to 1.8.x 2017-04-21 15:15:22 +01:00
Matt Westcott
a1ba54038f Release note for #3277 backport to 1.8.x 2017-04-21 14:54:57 +01:00
Matt Westcott
7c5d1b2ddb Release note for backported |safe filter fix (789872d84e) 2017-04-21 14:43:34 +01:00
Matt Westcott
a515b7019e Release note for backported |safe filter fix (bbcbb5d) 2017-04-21 14:42:59 +01:00
Matt Westcott
f99bc700b8 Doc placeholders for 1.8.2 2017-04-21 14:42:26 +01:00
Matt Westcott
c27855332e Release note for 9e51c7a 2017-04-21 14:09:09 +01:00
Loic Teixeira
6e42a7755a Allow default JS options to be overwritten for TableBlocks 2017-04-21 11:54:23 +01:00
Matt Westcott
579d02246a Release note for #3046 2017-04-20 16:58:05 +01:00
Matt Westcott
b6ee2db6ac Create new release note sections for Wagtail 1.11 2017-04-20 16:52:28 +01:00
Matt Westcott
50ef80f7c1 Promote user language preference to a headline feature in release notes 2017-04-19 15:14:02 +01:00
Bertrand Bordage
29767b1f7a Fixes typos from #3310 release notes. 2017-04-19 15:51:50 +02:00
Janneke Janssen
c1a751e6c0 Fix reorder past a deleted item 2017-04-19 14:42:11 +01:00
Bertrand Bordage
c965212003 Updates release notes for #3310. 2017-04-19 15:16:54 +02:00
Karl Hobley
ef1cd3d51a Changelog/release note for auto update preview 2017-04-12 17:09:05 +01:00
Karl Hobley
554ce992da Changelog/release note for postgres search engine 2017-04-12 16:30:25 +01:00
Bertrand Bordage
c3ca99cd3c Adds upgrade notes for #3528. 2017-04-12 11:54:44 +02:00
Matt Westcott
3cf7006a86 Release note for #3252 2017-04-10 21:55:13 +01:00
Andreas Nüßlein
bfd4a2ef4b Adding the Meta attribute group to Blocks.
The idea is that Streamfield-Blocks can be grouped in the CMS
by setting Meta's `group` attribute.
This gives a better overview, particularly with many blocks.
If the attribute remains unset, nothing changes.
2017-04-10 20:27:32 +01:00
Matt Westcott
922260833b Release note for #3423 2017-04-10 19:18:37 +01:00
Bertrand Bordage
263b91b69a Update CHANGELOG.txt 2017-04-08 21:09:39 +02:00
Bertrand Bordage
e952f35c9d Update CHANGELOG.txt 2017-04-08 14:37:00 +02:00
Matt Westcott
fb82650943 Release note for Django 1.11 compatibility - fixes #3314 2017-04-07 16:52:31 +01:00
Bertrand Bordage
2c240631bb Adds CHANGELOG notes for #3462 & #3523. 2017-04-06 20:02:17 +02:00
Bojan Mihelac
0f53afc5a6 Adds support for custom date and datetime formats (#2595)
It is possible to set default format for date/datetime inputs. This works together
with standard django localization.

    # django settings
    USE_I18N = True
    LANGUAGE_CODE = 'sl'

    # wagtail settings
    WAGTAIL_DATE_FORMAT = '%d.%m.%Y.'
    WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M'

DateBlock, DateTimeBlock accepts additional keyword argument `format`.
2017-03-31 16:30:27 +01:00
Matt Westcott
72a1b82e3e Release note for #3068 2017-03-30 17:38:44 +01:00
Andreas Nüßlein
421eb9ef8a a few too many quote's
pk = quote(getattr(obj, self.opts.pk.attname))
    self.url_helper.get_action_url('edit', quote(pk))   # < this was a little unneccessary, double function calls in multiple locations
2017-03-30 17:06:01 +01:00
Karl Hobley
babe8a0c09 Fix annotate_score followed by slice (#3518)
This fixes the bug reported by @nimasmi in
https://github.com/wagtail/wagtail/issues/3431#issuecomment-288051751

Slicing creates a new SearchResults object but the ``score_field`` (set
by ``.annotate_score()`` wasn't being passed along to the new
SearchResults causing the score to not be annotated.
2017-03-30 14:24:17 +01:00
Matt Westcott
cc52c1b1ca Revert "Fixes ticket #2251. Implemented is_multipart on EditHandler and created tests." (#3519)
See https://github.com/wagtail/wagtail/pull/3501#issuecomment-290380892 - this change wrongly assumes that edit handlers will always be used with a ClusterForm, and a fix isn't required here anyway because it was fixed separately as https://github.com/wagtail/django-modelcluster/pull/73.

This reverts commit a6bb67f75d.
2017-03-30 14:16:46 +01:00
thenewguy
77c00ee77e Use field prep_db_value for raw query expansion (#3510)
Since the user model can be swapped out the primary key cannot be naively converted to string this way.  Call db_prep_value first.
2017-03-29 17:35:24 +01:00
Thijs Kramer
6a87e90171 Adjust the filter button height to match the height of the input fields next to it 2017-03-28 19:54:46 +02:00
Mikalai Radchuk
35a1af2b3b Release notes for #3482 2017-03-27 20:28:45 +03:00
Janneke Janssen
4ab57ddd1f Fixes invalid focal_point for hiding the marker if no focal point is applicable 2017-03-26 13:30:56 +02:00
Wietze Helmantel
a6bb67f75d Fixes ticket #2251. Implemented is_multipart on EditHandler and created tests. 2017-03-25 13:20:24 +01:00
Christine Ho
78a2e8ae96 Display a comma separated string for fields returning content as lists 2017-03-24 14:30:01 +01:00
Ralph Jacobs
87a7a798c9 Change scroll factor to make it more userfriendly 2017-03-24 14:01:17 +01:00
Kees Hink
6961f33078 Restrict view_draft to can_publish / can_edit permissions (#3474) 2017-03-24 11:54:10 +01:00
Janneke Janssen
20e8aabdf9 Release notes for #3291 / #3481 2017-03-24 11:52:38 +01:00
Matt Westcott
b229953c0f Release note for #3439 / #3495 2017-03-24 11:41:45 +01:00
Matt Westcott
6aea6a6856 Release note for #3425 / #3494 2017-03-24 11:06:42 +01:00
maartenkling
c0c0a58c44 Change buttons for mobile #2780 2017-03-24 10:11:56 +01:00
Wietze Helmantel
285d9f0b43 Ticket #2918 added is_preview flag to serve_preview methods 2017-03-23 17:58:18 +01:00
Christine Ho
67ff4c26df Add Page type to PageChooser button label 2017-03-23 17:40:27 +01:00
Alex Gleason
bbdbf3fd81 Allow spaces in tag fields 2017-03-23 17:19:47 +01:00
Matt Westcott
eb9cc639d2 Link to the full Elasticsearch setup docs from the Performance page 2017-03-23 15:51:11 +01:00
Matt Westcott
00c6a5f220 Don't set is_staff flag on users
Wagtail doesn't routinely require access to Django admin, so it makes sense for Wagtail to not enforce an opinion on who does or doesn't get access.

Fixes #970 and #2777
2017-03-23 15:39:51 +01:00
Rob Moorman
c7b778c4e9 Removed docs
Added release docs with upgrade consideration of alternative to django-medusa
2017-03-23 12:30:21 +01:00
Ralph Jacobs
cf815e8897 Change event handler to keyup. This fixes the IE10 + IE11 submit issue 2017-03-23 12:04:04 +01:00
Matt Westcott
31f4ac18c6 Release note for #3478 2017-03-23 11:50:57 +01:00
Rob Moorman
82a8202bb2 Release notes for #3483 2017-03-22 20:56:30 +01:00
Christian Peters
9257a4a1dc Switching from undefined/indeterminate queryset to a defined one. (#3468) 2017-03-21 10:38:31 +01:00
Janneke Janssen
a2d7b133fc Release notes for #3440 2017-03-13 17:18:25 +01:00
hyden
01e891d0c4 Convert every Cloudflare API error message into string (#3436) 2017-03-09 19:36:08 +00:00
Andy Babic
3348cd5c89 Reduce modeladmin’s dependency on wagtail.wagtailimages and wagtail.wagtaildocs
- Remove imports at the top of options.py and views.py that result in ImportError when those apps aren’t installed
- Alter ThumbnailMixin and InspectView to use the `wagtail.wagtailimages.shortcuts.get_rendition_or_not_found()` method to render images, which handles missing image source files gracefully, and reduces code duplication.
- Simplify `get_field_display_value()` by not limiting image and document rendering to ForeignKey fields. It should work consistently for property methods or other attributes too.
2017-03-03 15:33:17 +00:00
Trent Holliday
f28130647a Title not displaying page name
The `page` context variable does not exist for that view.
2017-03-03 09:56:05 +01:00
Janneke Janssen
6e9965d47f Fix possibility of tabbed interface conflicting with regular IDs 2017-03-01 16:57:09 +00:00
Stein Strindhaug
35305e1649 Fix for #3268 : Make file-label translated 2017-03-01 15:50:42 +00:00
Matt Westcott
d4114ff4ae Release note for #3007 2017-02-23 12:23:03 +00:00
Matt Westcott
63d52af0a3 Release note for dropping Django 1.9 and Python 3.3 (#3376) 2017-02-22 17:40:09 +00:00
Janneke Janssen
23649990c2 Fixes the search promotion query popup from throwing an unexpected error. (#3395)
Fixes #3384
2017-02-22 16:16:36 +00:00
Matheus Bratfisch
ca16e9187f Add exclude_fields to ModelAdmin and ModelFormView, tests and doc 2017-02-22 11:41:44 +00:00
Janneke Janssen
493a30bcf9 Add nvmrc to the project and updated developing docs 2017-02-20 11:14:33 +01:00
Andy Babic
0c056552eb Style amends for modeladmin.view.IndexView:
- Removes unnecessary right padding from result list when listing is supposed to be full-width (no filters) on desktop
- Removes unnecessary left/right padding from result list on mobile (the table cells have padding of their own)
- In order to be more consistent with the Explorer list view, only make orderable column header links 'teal' if the listing is currently ordered by that field
- Better use of scss hierarchy to improve readability
- Remove the ‘teal’ CSS class from orderable header links
2017-02-17 21:08:13 +01:00
Mikalai Radchuk
eb47526888 Enhancement for PageChooserBlock
Allow the target_model argument to be a list or tuple.
2017-02-17 11:30:32 +00:00
Gagaro
46c9cdda15 feat: Added construct_image_chooser_queryset, construct_document_chooser_queryset and construct_page_chooser_queryset hooks 2017-02-17 10:40:03 +00:00
Mike Dingjan
8c970e4848 Update documentation 2017-02-16 16:54:36 +00:00
Matt Westcott
ea2c041c6e Set release date for 1.9
Conflicts:
	CHANGELOG.txt
2017-02-16 10:47:34 +00:00
Matt Westcott
14f991df14 Allow pageurl / slugurl tags to function when request.site is not available
Fixes #3352

Conflicts:
	CONTRIBUTORS.rst
2017-02-16 10:15:39 +00:00
Matt Westcott
8f25cd9b92 Release note for #3067 2017-02-15 15:20:38 +00:00
Karl Hobley
c900f71117 Rename project_template homepage to "Home" 2017-02-14 17:20:19 +00:00
LB (Ben Johnston)
5aa8e00d77 fix location of {{ block.super }}
Fix: extra_js in snippets type_index `{{ block.super }}` should be outside script tags.
All other locations of block.super are outside of script tags
2017-02-14 10:45:25 +00:00
Janneke Janssen
5d706d2542 Release notes for #3359 2017-02-13 11:21:40 +01:00
Gagaro
4fadecebd6 Added a submit_buttons block to login template 2017-02-11 22:58:53 +00:00
Florian Vogt
ff9ef9068b Mark wagtailforms-date-filter-placeholder for translation 2017-02-11 22:27:03 +00:00
Gagaro
ac7ad067d2 feat: can order hooks 2017-02-10 10:06:43 +00:00
Thibaud Colas
72036501e7 Release note for #3353 2017-02-10 09:40:36 +00:00
Matt Westcott
ae95bd5685 Add new release note sections for 1.10 2017-02-08 23:42:35 +00:00
Matt Westcott
de9ffaab49 Release note for #3170 2017-02-06 11:59:31 +00:00
Andy Babic
e771fefa5f - Fix positional argument order when calling ModelAdmin.get_extra_class_names_for_field_col() and ModelAdmin.get_extra_attrs_for_field_col() from items_for_result() in template tags.
- Added new tests to confirm the things are now correct.
2017-02-06 10:48:48 +00:00
Matt Westcott
b3e723eea3 Release note for #3305 2017-02-03 21:24:57 +00:00
Matt Westcott
753efbb29e Release note for #3320 2017-02-03 09:57:11 +00:00
Karl Hobley
6cf341d28b Changelog/release note for #3304 2017-01-27 15:10:07 +00:00
Karl Hobley
a7a88ac95c Changelog/release note for #3237 2017-01-26 19:50:05 +00:00
Matt Westcott
e77da0a1a1 remove 'IN DEVELOPMENT' text from 1.8.1
Conflicts:
	CHANGELOG.txt
2017-01-26 16:18:31 +00:00
Matt Westcott
84efa88883 Release note for #3256
Conflicts:
	CHANGELOG.txt
	CONTRIBUTORS.rst
	docs/releases/index.rst
2017-01-26 12:38:11 +00:00
Thibaud Colas
c0cd53918e Release notes for #3021 2017-01-26 01:34:37 +02:00
Mikalai Radchuk
6ee25ccab9 Release notes for #3242 2017-01-25 21:58:58 +03:00
Karl Hobley
4ea06426ab Changelog/release note for #3277 2017-01-24 16:07:16 +00:00
Jeffrey Chau
47f7d79aec Add convenience method for finding root page to navigation.py. Add context variables to home renderer. 2017-01-24 14:16:31 +00:00
Robert Rollins
fab11259bc Maintain the 'next' GET argument through the add_subpage workflow.
Every other Page workflow seems to maintain this argument, to ensure that the
user ends up back at the page they were on when they started. This patch enables
the add_subpage workflow to do the same.
2017-01-24 11:48:21 +00:00
Karl Hobley
4f1d3509ff Bulk deletion of form submissions (#3233)
Remove actions column

Basic implementation of bulk deletion of form submissions

Moved select all checkbox

Pluralised messages

Hide delete button when it's not needed

Test updates for multiple form submission delete

Use checkbox value instead of submissionId data attribute

Simplify way submission IDs are sent to the server

As per https://github.com/wagtail/wagtail/pull/3233#discussion_r94417831

Removed inline styling

Simplify state management logic

As per:
https://github.com/wagtail/wagtail/pull/3233#discussion_r94426467

Call updateActions on load to bring checkboxes and delete button in sync

Release note for #3233
2017-01-16 20:50:10 +00:00
Matheus Bratfisch
b01376ad72 Add after/before_copy_page hooks, test and docs 2017-01-16 19:00:29 +00:00
Matt Westcott
19310a84ed Documentation and release notes for #3275 2017-01-16 18:51:42 +00:00
Janneke Janssen
0e9c255b03 Marked text for translation 2017-01-06 12:45:17 +00:00
Matt Westcott
b006b19582 Release note for #3168 2017-01-04 17:35:12 +00:00
Andreas Nüßlein
2734dfca8b added default argument to ChoiceBlock.
If default is not None and required is True,
don't render a blank option.
2017-01-04 16:09:30 +00:00
Matt Westcott
762355382f set release date for 1.8 2016-12-15 12:01:12 +00:00
Marco Fucci
2f06afe6e1 Make all live and draft links open in a new win
Some 'live' and 'view draft' links were opening in a new window
and some weren't for no apparent reason.

This fixes that inconsistency.
2016-12-12 19:04:27 +00:00
Matt Westcott
d5ef2edc8f Version bump to begin work on 1.9 2016-12-09 15:43:53 +00:00
Matt Westcott
f2fcfe54a2 Release note for #3193 2016-12-05 19:23:29 +00:00
pyMan
7d1114c1a1 Extra ES params passed through new OPTIONS key
Closes #2778

Extra ES params are now passed through new OPTIONS key in the
WAGTAILSEARCH_BACKENDS setting.

It's backward compatible: if no OPTIONS key is found and some parameters
still exist, those parameters are used for the ES constructor..
2016-12-01 12:04:14 +00:00
Chris Rogers
89e985d02a added convenience method in_site and tests 2016-11-30 18:45:14 +00:00
Edd Baldry
cb268c233a Disable editing when page lock turned on 2016-11-30 17:16:47 +00:00
Matt Westcott
6fda0dc01f Release note for #3139 2016-11-30 17:00:30 +00:00
Matt Westcott
5df8f1e34e Release note for #3145 2016-11-30 16:35:21 +00:00
Diederik van der Boor
f960753d74 Add the alters_data attribute on Page.copy().
This makes sure the variable can't be printed in the template,
performing an accidental copy of the page. That also happened when using
the `{% print %}` tag from my django-debugtools package
2016-11-29 11:39:37 +00:00
Scot Hacker
2882775842 Add BlockQuoteBlock to core block types 2016-11-29 10:13:10 +00:00
Morgan Aubert
4e23e46159 Fix #3167 - Ensure TableBlock content is indexed
Changes include:
* adding the 'get_searchable_content' method on the TableBlock
* ... and the related test
2016-11-28 20:40:47 +00:00
Mikalai Radchuk
55bdae573b Add support of callable choices for ChoiceBlock
Fixes #2809
2016-11-28 17:44:35 +00:00
Tim Heap
2f8a43cd66 Document new blocks in login template
The old `branding.rst` docs were combined with the new docs on
customising the login page in a new `admin_templates.rst` document.
2016-11-28 12:41:06 +00:00
Diederik van der Boor
d21171c1b0 Fix errors by settings context processor in out-of-request templates
When templates are rendered outside the request cycle,
the `settings` context processor fails because `request.site` is not
created because `SiteMiddleware` was not processed.

This happens whenever requests are mocked for rendering.
For example email rendering by third party packages or unittests
that mock a request object without taking all middleware into account.
2016-11-24 12:14:58 +00:00
Andy Babic
23eced1fcd `Added support for 'exclude_from_explorer' attribute on ModelAdmin class 2016-11-23 16:51:08 +00:00
Morgan Aubert
51b4f0f53d Fix #3134
Changes include:
* fixing the FieldError exception that can occur as described in #3134
* add tests for the "search_garbage_collect" command
2016-11-17 14:34:56 +00:00
Albert O'Connor
a5b544631b Update the Cloudflare backend to use the v4 API
Fixes #3146
2016-11-17 12:01:57 +00:00
Benoit Vogel
2fba07ad8e Implemented StaticBlock
Uses admin_text which is a Meta attribute.
* StaticBlock code in wagtailcore/blocks + tests
* StaticBlock in Streamfield docs
2016-11-15 10:29:06 +00:00
Thejaswi Puthraya
6821c763ea Refs #2717. Custom forms for modeladmin. 2016-11-11 15:30:44 +00:00
Matt Westcott
8de1b1b16f Release note for #3035 2016-11-03 16:58:54 +00:00
Matt Westcott
c9137d1dc0 Update release note and credits for #3071 2016-11-01 14:05:05 +00:00
Ducky
76ffc972a5 fixes issue where closing the 'MORE' action scrolls to the top of page.
fixes #3076
2016-10-27 20:47:16 +01:00
Sævar Öfjörð Magnússon
169045b186 Loop through all multiple value fields when sending form submission by email.
A form field with multiple checkboxes may introduce submissions that have more than one value. The `send_email` function would loop through all form fields and grab only the first item of each field, ignoring fields that may have multiple values selected. This is a side effect of using `QueryDict.get()`, which will only return the last value of a list.

This commit fixes that by first converting the `QueryDict` instance to a regular dict of lists so that `get` will return all values, then joining multiple items if needed.
2016-10-27 20:24:25 +01:00
Mikalai Radchuk
b4d17d8377 Changelog for #3071 2016-10-27 16:46:38 +03:00
Matt Westcott
2442416e93 Release notes for #3072 2016-10-26 13:09:40 +01:00
Benjamin Bach
4a92505c3b set_url_paths Django 1.10 friendly, add a test 2016-10-26 09:59:53 +01:00
Nick Smith
992b315be6 Use paginator.count, not page|length, in header
Fixes #3097
2016-10-25 15:29:29 +01:00
Andy Babic
9f92f894b8 Improve consistency of modeladmin views 2016-10-24 22:10:34 +01:00
Andy Babic
78f67f8fdb * Gives the result_row_display control over the <tr> element for each row in IndexView by shifting the <tr> out of result_list.html and into result_row.html
* `result_row_display` adds a `data-object_pk` attribute to each row, to make items easier to identify with JS
* Adds `get_extra_attrs_for_row()` method to `ModelAdmin`, to give developers a way of adding further attributes to the `<tr>` element
2016-10-21 17:20:54 +01:00
Matt Westcott
2ce6ec8046 Mark 1.7 as no longer in development
Conflicts:
	CHANGELOG.txt
2016-10-20 10:25:18 +01:00
Dan Braghis
e0e957f92a Fix page chooser parent link on row hover [#3080] 2016-10-14 10:39:09 +01:00
Gagaro
1d33cc7838 Fix: remove responsive behavior in embed when there is no ratio available 2016-10-13 17:40:30 +01:00
Gagaro
49421e5a41 Fix: Use specific page model for the parent page in the explore index 2016-10-13 16:28:48 +01:00
Henk-Jan van Hasselaar
8a3c47f76a Use get_admin_display_title in admin 2016-10-13 15:46:12 +01:00
Gagaro
9710c292eb Added getters for templates in AbstractForm 2016-10-13 15:08:49 +01:00
Mikalai Radchuk
2e1c58a586 Release notes for #3047 2016-10-10 14:24:01 +03:00
Axel Haustant
e893dd895b Allows to define custom site settings edit handler
Added site settings edit handler tests

Ensure proper setting rendering with tabs
2016-10-10 14:23:57 +03:00
Matt Westcott
a3ba533afb start work on 1.8 / remove deprecated features (#3058)
* Version bump to start work on Wagtail 1.8

* Remove features deprecated in Wagtail 1.8
2016-10-07 16:02:04 +01:00
Matt Westcott
534b5d1fd9 Release note for #2474 2016-10-05 16:03:54 +01:00
Ricky Robinett
9c0968ad12 Fix bug where filenames with no extension cause an infinite loop 2016-10-05 15:26:29 +01:00
Aymeric Augustin
a108f16eff Fix preview when SECURE_SSL_REDIRECT = True.
Fix #3048.
2016-10-05 15:01:36 +01:00
Karl Hobley
882facf352 Optimise JPEG images when generating renditions
We've recently added support in Willow to make use of Pillow's image optimisation. This commit enables this in Wagtail.

All JPEGs are now optimised and saved in progressive format.
2016-10-05 12:24:11 +01:00
Matt Westcott
5dc5a32adc release note for #3039 2016-10-05 12:17:57 +01:00
Matt Westcott
f45181764b Set a related_name of wagtail_userprofile on wagtailusers.UserProfile
This prevents it from clashing with other userprofile models defined elsewhere in the project. Fixes #3025
2016-10-05 12:13:53 +01:00
Bojan Mihelac
51bcecf368 Fixes Images / documents pagination (#2700)
Refactored pagination_nav template to allow empty linkurl in which case
url is created replacing page in QUERY_STRING.
2016-10-03 18:31:17 +01:00
Janneke Janssen
2992d90e97 Account settings button (#2805) 2016-10-03 12:21:38 +01:00
Nick Smith
df9a5e31fa Allow referencing models by string representation in SnippetChooserBlock 2016-09-30 17:11:51 +01:00
Matt Westcott
17c7445d47 Fill in release date for 1.6.3 2016-09-30 10:39:29 +01:00
Matt Westcott
869349f86c Release note for #3017 2016-09-30 10:06:44 +01:00
Matt Westcott
e31b26c4db Eliminate dependencies on __latest__ migrations
See https://groups.google.com/d/msg/wagtail/a1lbdKe-QPk/GefsBFnRBgAJ - using __latest__ prevents us from ever applying migrations that are subsequently added to the referenced apps, since logically those migrations must have been applied before the current one (which they weren't, because they didn't exist). This logic is enforced as of Django 1.10.
2016-09-26 17:57:52 +01:00
Matt Westcott
674af5586b Prevent USE_THOUSAND_SEPARATOR from breaking the rendering of maxForms in InlinePanel's JS code
Fixes #2699. Thanks to Mattias Loverot for the report and original fix.
2016-09-22 15:07:23 +01:00
riceyrice
5869bc37bb Allow configuration or override of QueryDailyHits garbage collection 2016-09-22 14:21:38 +01:00
Mikalai Radchuk
48296e7568 Release notes for #3016 2016-09-22 14:43:53 +03:00
Karl Hobley
9a57e39cfd Implemented annotate_score on SearchResults
This allows the user to retrieve the scores for each search result:

    for page in Page.objects.search("Hello").annotate_score('_score'):
        print(page.title, page._score)
2016-09-22 12:03:23 +01:00
Nick Smith
504759d267 #1446 add pagination to wagtailadmin.views.pages.move_choose_destination 2016-09-22 11:53:38 +01:00
Karl Hobley
9d655a9f8a Changelog/release note for #2975 2016-09-21 13:33:13 +01:00
Stein Strindhaug
ffa21943d0 Increase legibility by increasing contrast
Raise contrast by slightly adjusting font-weight, color and font size (from 12.2px to 12.8px in the menu)
2016-09-21 12:02:23 +01:00
Mikalai Radchuk
b1d10db7f2 Release notes for #3002 2016-09-19 19:31:37 +03:00
Matt Westcott
c6666c6de5 Disable escape key on rich text fields - fixes #2998 2016-09-16 15:19:12 +01:00
Matt Westcott
b0aa210078 Recognise classname parameter on InlinePanel. Fixes #1316 2016-09-15 16:44:51 +01:00
Matt Westcott
01d63bfb61 fix double-backticks 2016-09-14 16:54:30 +01:00
Matt Westcott
a7af8f7da3 Release note for #2997 2016-09-14 16:54:02 +01:00