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

444 Commits

Author SHA1 Message Date
Matt Westcott
395cecc642 Fixes to page ordering logic in explorer:
- keep ordering and pagination as two distinct operations
- only perform the 'annotate' hack when ordering by latest_revision_created_at
- entries with a null latest_revision_created_at should appear at the top when
  ordering oldest first
- don't uselessly call order_by twice
- actually test that the 'ordering' parameter orders the results :-)
2016-02-11 10:42:01 +00:00
Karl Hobley
11b9ed6732 Make user confirm before navigating away from changed page editor 2016-02-10 14:17:45 +00:00
Matt Westcott
68657338e7 Fetch new translations from Transifex 2016-02-05 16:52:10 +00:00
nfletton
94ba1c40e4 Add handling for server errors when uploading images and documents via a modal dialog 2016-02-05 16:21:58 +00:00
Matt Westcott
daba4aff84 release note for #2132 2016-02-04 17:35:59 +00:00
Matt
0845f1e1c1 Fix notification errors when there are multiple moderation groups
On SQLite, not all moderators would receive a notification.
On Postgres, a “more than one row returned by a subquery used as an
expression” error was thrown.
2016-01-29 10:50:16 +00:00
Matt Westcott
6b78836d8d Add missing backticks to 'Custom document models' release note 2016-01-28 13:05:50 +00:00
Mikalai Radchuk
3f2f5665b0 Allow specifying custom edit handlers for snippets 2016-01-28 13:03:27 +00:00
Karl Hobley
61593d38ad Changelog/release note/contributor for #2153 2016-01-27 11:16:02 +00:00
Karl Hobley
8ef846d214 Set on_delete action to SET_NULL on Document.uploaded_by_user
This prevents deletion of users from deleting any Documents they have uploaded.

This is already the behaviour on images.
2016-01-26 17:13:57 +00:00
Chris Rogers
d754bac9bb Changed success message for when a page is published with go_live_at 2016-01-26 10:31:38 +00:00
Tim Heap
66da5ad5ad Remove double tagit initialisation
tagit was initialized from both the AdminTagWidget, and from the `done`
method in the image uploader. Initializing it twice led to strange
errors and ultimately the tags not being saved on the image model.

As the tag widget now contains its own initialisation <script>, tag
inputs do not need to be specially handled by AJAX code any more, so
this can simply be removed.

Fixes #2142
2016-01-25 18:56:11 +00:00
Matt Westcott
8afe69fd72 Release note for #1867 2016-01-25 15:30:18 +00:00
Matt
e0a7a472e6 Clarify what the Administrator flag does 2016-01-21 12:48:34 +00:00
Karl Hobley
ec59c33ce5 Changelog/release note/contributor for #2134 2016-01-21 11:26:19 +00:00
Peter Quade
5c0063f429 making datetimepicker aware of FIRST_DAY_OF_WEEK 2016-01-20 16:30:22 +00:00
alexpilot11
5270c14444 ChooserBlock should use pk instead of id 2016-01-20 12:12:27 +00:00
Karl Hobley
690255c2ee Changelog/release note/contributor for #2111 2016-01-19 13:15:43 +00:00
Karl Hobley
62b996622a Changelog/release note for #2107 2016-01-18 13:16:52 +00:00
Karl Hobley
078491b6e0 Prevent cascade deletion of pages when a ContentType is deleted
Fixes #2024
2016-01-07 10:18:38 +00:00
Matt Westcott
bd0ad843fb Version bump to 1.3.1
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2016-01-05 17:19:08 +00:00
Karl Hobley
685592107a Changelog/release note/contributor for #2073 2016-01-04 12:19:19 +00:00
Karl Hobley
b375f37d80 Revert #2073 2016-01-04 10:33:47 +00:00
Karl Hobley
3540f2b080 Changelog/release note/contributor for #2073 2016-01-04 09:26:47 +00:00
Karl Hobley
d7a6e2d4ac Changelog/release note for #2069 2015-12-24 11:57:53 +00:00
Matt Westcott
4dfca33c9b Mark 1.3 as no longer in development / bump project template to require Wagtail 1.4a0 2015-12-23 17:49:30 +00:00
Karl Hobley
d29cca5113 Changelog/release note for #2051 2015-12-21 11:51:25 +00:00
Karl Hobley
157a063b19 Start 1.4 changelog and release notes 2015-12-21 09:58:09 +00:00
Matt Westcott
aedbb678a1 Pull translations from Transifex 2015-12-17 13:42:59 +00:00
shredding
c6b2cef575 implemented filter chaining 2015-12-17 12:12:24 +00:00
Eugene MechanisM
039db5ed89 "Signing in..." for translation 2015-12-17 01:50:03 +00:00
Karl Hobley
c3e62d1cb7 Changelog/release note for #2026 2015-12-16 16:29:15 +00:00
Karl Hobley
ac2a6cac23 Changelog/release note for #2041 2015-12-16 16:18:50 +00:00
Tim Heap
44564ea76a Link to homepage from dashboard page link if single site
If the Wagtail install has only one site, link to the homepage of that
site from the dashboard page summary instead of the root page of the
hierarchy.

Hopefully this will prevent some of the confusion causing people to
create pages under the root page, where they are inaccessible. See #1612
for more information around this issue.

Wagtail installs with multiple (or zero) sites retain the old behaviour
of linking to the root page.
2015-12-16 14:53:56 +00:00
shredding
2dd3f42e25 catch errors on non existing images 2015-12-16 13:14:11 +00:00
Denis Voskvitsov
ab45915a90 Set request.is_preview flag to show whether page is served as preview 2015-12-16 11:28:53 +00:00
Matt Westcott
d6715f80a1 Revert fix for Hallo toolbar button hover state from #1746 - fixes #2040 2015-12-16 09:19:51 +00:00
Jannis
42e1317a4e Add missing blocktrans to InlinePanel's add-button 2015-12-15 20:24:53 +00:00
Rich Atkinson
aaed92f301 do not delete uploaded images or page revisions when a user is deleted. fixes #1918 2015-12-15 17:06:37 +00:00
Karl Hobley
f436bc5c09 Changelog/release note/contributor for #1906 and #1998 2015-12-15 16:30:36 +00:00
Karl Hobley
c01a0952a2 Changelog/release note for #1864 2015-12-15 16:00:18 +00:00
Matt Westcott
086997c14a add missing backticks 2015-12-15 15:59:57 +00:00
Matt Westcott
e3269463d3 typo: 'attriutes' -> 'attributes' 2015-12-15 15:58:33 +00:00
Matt Westcott
0fe3572566 Release note for #1796 2015-12-15 15:57:24 +00:00
Karl Hobley
d160ea3ccf Release note for #2036 (and #2025) 2015-12-15 15:06:49 +00:00
Matt Westcott
9e5ba4bd3e Add system check to validate parent_page_types / subpage_types - fixes #1128 2015-12-15 14:32:39 +00:00
shredding
6422c7f618 added success message after image update 2015-12-15 00:21:34 +00:00
Matt Westcott
c65b155f2f Release note for #1814 2015-12-15 00:03:06 +00:00
Tim Heap
9e8c2c2d5f Allow custom Page Managers
Previously, if a developer wanted to use a custom Manager on their Page
subclass, some fairly hacky hacks were required. Now, the `objects`
attribute is only overridden if it is a plain `Manager`. If it is
anything else, it is left alone. A system check has been added to ensure
that all `Page` managers inherit from `PageManager`
2015-12-14 23:09:45 +00:00
Matt Westcott
da4f091466 Release note for #1800 2015-12-14 21:21:46 +00:00