Commit graph

4112 commits

Author SHA1 Message Date
Matt Westcott
548b10a82a Merge pull request #732 from kaedroho/copy-revisions-created-at-bug
Don't overwrite created_at of copied page revisions
2014-10-24 10:42:48 +01:00
Karl Hobley
3503981802 Fix revisions still copying for child pages
When Page.copy runs recursively, it forgot to pass through the
copy_revisions value that the user specified causing revisions to always
be copied for subpages regardless of what the user wanted
2014-10-24 10:32:20 +01:00
Karl Hobley
13e8e73830 Project template: Fixed migration dependency
The project template currently crashes on first migrate because it tries
to run the create homepage migration before the Page.locked field is
created.

This commit fixes (and hopefully, future proofs) this by telling Django
that the core app migrations depend on the latest wagtailcore migration,
which should make Django fully migrate wagtailcore before starting the
core app.
2014-10-23 20:06:26 +01:00
Matt Westcott
1871a29f30 release note for #569 2014-10-23 17:31:54 +01:00
Matt Westcott
04f93e2bbf Merge branch 'kaedroho-logging' 2014-10-23 17:18:45 +01:00
Matt Westcott
1d54ebaabf Merge branch 'logging' of https://github.com/kaedroho/wagtail into kaedroho-logging 2014-10-23 17:10:36 +01:00
Matt Westcott
3f95387ba9 Merge branch 'nimasmi-login_page_tabindex' 2014-10-23 16:09:43 +01:00
Matt Westcott
9b3048a141 Merge branch 'login_page_tabindex' of https://github.com/nimasmi/wagtail into nimasmi-login_page_tabindex 2014-10-23 16:08:13 +01:00
Karl Hobley
3de6cb5ff4 Use new_url_path in page move log 2014-10-23 16:08:08 +01:00
Matt Westcott
f8f3fbd17e Merge branch 'logging' of https://github.com/kaedroho/wagtail into kaedroho-logging 2014-10-23 15:14:51 +01:00
Karl Hobley
df7110625a Added logging for moderation approval/rejection 2014-10-23 14:57:07 +01:00
Karl Hobley
4027262433 Log page deletions 2014-10-23 14:57:07 +01:00
Karl Hobley
568ba42c95 Added logging for most page operations 2014-10-23 14:56:15 +01:00
Matt Westcott
2bf8e44707 release note for #463 2014-10-23 12:57:04 +01:00
Matt Westcott
8bb1a8a459 Merge branch 'takeflight-bug/url-check' 2014-10-23 12:40:38 +01:00
Matt Westcott
4b466ae041 Merge branch 'bug/url-check' of https://github.com/takeflight/wagtail into takeflight-bug/url-check 2014-10-23 11:32:51 +01:00
Karl Hobley
bdcef9e05f Merge pull request #736 from jsma/py3-fix
`unicode()` doesn't exist in PY3, changed to `str()`
2014-10-23 09:46:35 +01:00
Karl Hobley
9d4d414933 Use specific page class in all admin actions. Fixes #737 2014-10-23 09:34:51 +01:00
John-Scott Atlakson
ad687c500f Switched usage of str() to six.text_type()
Removed unused import
2014-10-23 04:18:01 -04:00
John-Scott Atlakson
0edb1244a1 unicode() doesn't exist in PY3, changed to str() 2014-10-23 03:18:14 -04:00
John-Scott Atlakson
7d753fe99f Merge branch 'master' into custom-user-model-fixes 2014-10-22 17:21:54 -04:00
Karl Hobley
d633cbfd6c Added @edrex to contributors 2014-10-22 22:11:22 +01:00
Karl Hobley
cc2af2f4e2 Merge pull request #734 from edrex/patch-1
docs: fix code sample indentation
2014-10-22 22:10:05 +01:00
Karl Hobley
e43b3e25d5 Release note for #721 2014-10-22 22:08:40 +01:00
Karl Hobley
23c9589156 Changelog for #721 2014-10-22 22:07:59 +01:00
Karl Hobley
cff196699e Merge pull request #721 from jsma/patch-1
Fixed JSON Oembed error on Python 3
2014-10-22 22:06:20 +01:00
Eric Drechsel
b89f6ce00c fix code sample indentation 2014-10-22 11:25:18 -07:00
Karl Hobley
bbc8985968 Added Django 1.7 migration 2014-10-22 16:34:14 +01:00
Karl Hobley
c6462b8d38 created_at of PageRevisions is now copied on page copy 2014-10-22 16:25:20 +01:00
Karl Hobley
6e7a360cfe Added failing test 2014-10-22 16:17:57 +01:00
Karl Hobley
de6ff8b944 Wagtail 0.8 is in development 2014-10-22 10:58:11 +01:00
Karl Hobley
96ec356937 Auto register signals only works on Django 1.7 2014-10-22 10:56:50 +01:00
Karl Hobley
aa47a89e6d Added 0.8 release notes to index 2014-10-22 10:55:12 +01:00
John-Scott Atlakson
9bab86a223 Updated LoginForm to dynamically set placeholder text
Placeholder text is now determined from the verbose name of AUTH_USER_MODEL's USERNAME_FIELD
2014-10-21 20:22:33 -04:00
John-Scott Atlakson
ab7f3da7af Fixed failing oembed tests 2014-10-20 21:03:39 -04:00
John-Scott Atlakson
50663e47db Fixed JSON Oembed error on Python 3
=> TypeError: the JSON object must be str, not 'bytes'
2014-10-19 20:47:20 -04:00
John-Scott Atlakson
0a463fa185 Fixed login form to reference USERNAME_FIELD
Was hardcoded to say 'username' when USERNAME_FIELD may be 'email' etc.
2014-10-18 01:53:56 -04:00
Karl Hobley
7659bf23d3 Use latest_revision_created_at in sitemap gen
Much faster than looking it up manually for every page in the site
2014-10-17 17:16:36 +01:00
Karl Hobley
dc1b51a5be Merge pull request #700 from kaedroho/remove-features-08
Removed 'wagtailsearch.indexed' module and updated deprecation warnings
2014-10-17 16:55:08 +01:00
Karl Hobley
bd36438545 Added system check for ForeignKey cascade
Pages can be linked to other Pages, Images, etc through ForeignKeys. If
the object being referenced by a page gets deleted, the page itself will
be deleted as well. Also, the page will not be cleanly removed from the
tree (leaving orphans, out of date num_child, etc). It is very common to
accidentally forget to set the on_delete action to models.SET_NULL.

This pull request checks all ForeignKey fields on pages and makes sure
that they are not set to cascade. If they are set to cascade, the
developer will be warned of their mistake.

This only works for Django 1.7 users as it uses the system checks
framework.
2014-10-17 16:46:46 +01:00
Karl Hobley
34b5fad084 Search fields can be overridden again. Fixes #709 2014-10-17 14:55:55 +01:00
Karl Hobley
7a4651ad64 Search: Added new deduplication method Fixes #710 2014-10-17 13:39:56 +01:00
Karl Hobley
b4fdec74ac Make search signal handlers use get_indexed_objects 2014-10-17 13:39:56 +01:00
Karl Hobley
9bf6c18726 Added get_indexed_objects method to Page 2014-10-17 12:16:56 +01:00
Karl Hobley
d770e94687 Merge pull request #713 from nimasmi/fix_wagtailforms_formfields
Fix typo in wagtailforms.forms.FormBuilder.formfields
2014-10-17 12:14:33 +01:00
Nick Smith
0349b71766 Fix typo in wagtailforms.forms.FormBuilder.formfields 2014-10-17 10:57:42 +01:00
Karl Hobley
3d38e7dd1b Release note for 1377a6c 2014-10-17 09:02:38 +01:00
Karl Hobley
281e4e8908 Changelog for 1377a6c 2014-10-17 09:01:46 +01:00
Karl Hobley
994a919a25 Release note for #697 2014-10-17 09:00:12 +01:00
Karl Hobley
c84f04281c Changelog for #697 2014-10-17 08:59:43 +01:00