Wykres commitów

5363 Commity (23ed5392de1dfc67031aa04190c2097d74f7ae5c)

Autor SHA1 Wiadomość Data
Matt Westcott 23ed5392de Merge branch 'python-35' of https://github.com/kaedroho/wagtail into kaedroho-python-35 2015-11-12 16:33:29 +00:00
Neal Todd ae50256ec3 Merge pull request #1920 from timgraham/add-django-trove
Add Django version trove classifiers.
2015-11-12 09:25:54 +00:00
Tim Graham 2294520032 Add Django version trove classifiers. 2015-11-11 17:37:30 -05:00
Matt Westcott 19f370c20a Add pointers to the new integrating-with-Django docs 2015-11-10 21:45:21 +00:00
Matt Westcott 96e9a67b75 Add 'integrating into Django' docs 2015-11-10 21:30:10 +00:00
Matt Westcott a8d3aca007 Merge branch 'start-13' of https://github.com/kaedroho/wagtail 2015-11-07 16:54:28 +01:00
Karl Hobley 40a56f94f6 Advertise Python 3.5 support 2015-11-05 16:19:52 +00:00
Karl Hobley 689367dce7 Don't allow failures for Python 3.5 in travis 2015-11-05 16:19:20 +00:00
Dave Cranwell e0e3cdc824 Merge pull request #1902 from ratmcarlo/evilpixelborder
Remove the evil pixel border
2015-11-04 17:09:57 +00:00
Carlo Ascani dce396a156 Remove the evil pixel border 2015-11-04 17:45:34 +01:00
Karl Hobley 0293226a06 Updated deprecaction warning classes 2015-11-04 15:47:32 +00:00
Karl Hobley 66a8f65f78 Removed backwards compatibility for is_abstract 2015-11-04 15:47:32 +00:00
Karl Hobley 3bfd9fca9f Created 1.3 changelog and release notes 2015-11-04 12:20:07 +00:00
Matt Westcott e1a64a1802 version-bump master to 1.3a1 2015-11-04 11:28:09 +00:00
Karl Hobley 255d5b789b Merge pull request #1899 from takeflight/bug/images-in-groups
Remove unused wagtailimages_tags from group edit page
2015-11-04 10:26:14 +00:00
Tim Heap 8273647b64 Remove unused wagtailimages_tags from group edit page
The `wagtailimages_tags` library was needlessly loaded on the group edit
page. This causes an error on installations that do not use
`wagtailimages`, or test suites for Wagtail plugins that do not use
images directly.
2015-11-04 11:00:23 +11:00
Matt Westcott fb063dea26 Add browsable API to changelog 2015-11-02 16:30:49 +00:00
Matt Westcott 880d07811b Bump version to 1.1rc1 2015-11-02 16:25:15 +00:00
Matt Westcott 257baedb5d Release notes for #1837 and #1888 2015-11-02 16:10:18 +00:00
Matt Westcott 7c6d309682 Reword get_latest_revision_as_page release note to clarify who/what it affects 2015-11-02 16:04:46 +00:00
Karl Hobley 2851c58a5a Merge pull request #1837 from gasman/fix/disallow-choosing-root
Add flag to AdminPageChooser to specify whether the root page can be chosen
2015-11-02 15:42:18 +00:00
Karl Hobley 5a9db599ec Merge pull request #1890 from gasman/fix/structblock-template-gets-structvalue
Pass the original StructValue to StructBlock templates so that value.bound_blocks works
2015-11-02 15:24:36 +00:00
Matt Westcott f668922893 Add a can_choose_root flag to PageChooserBlock 2015-11-02 15:12:42 +00:00
Matt Westcott c025e1d3e5 Add a can_choose_root flag to PageChooserPanel.
This restores the previous behaviour, since there are plausible scenarios where choosing the root might be appropriate.
2015-11-02 15:12:42 +00:00
Matt Westcott b534d64d8c Add can_choose_root flag to AdminPageChooser widget
Also enable it in the relevant places: permission chooser, and selecting destination for copy page
2015-11-02 15:12:42 +00:00
Matt Westcott 340dd73602 Add canChooseRoot flag to createPageChooser JS function 2015-11-02 15:12:41 +00:00
Matt Westcott 22d1dd7c7e Add can_choose_root flag to page chooser views 2015-11-02 15:12:41 +00:00
Karl Hobley 8ca01a8428 Merge pull request #1888 from gasman/fix/report-embed-errors
Ensure errors in embed chooser are propagated back to the form
2015-11-02 14:50:04 +00:00
Karl Hobley 0eb3aee752 Fix typos in release note 2015-11-02 12:18:11 +00:00
Karl Hobley 43a2e901f8 Changelog/release notes for #1873, #1879 and #1881 2015-11-02 12:16:05 +00:00
Matt Westcott f6e3c9aa81 Ensure errors in embed chooser are propagated back to the form - fixes #1885 2015-11-02 12:15:33 +00:00
Karl Hobley 4f7f01b1f2 Merge pull request #1893 from gasman/translations/1.2rc1
Pull translations from Transifex (pre 1.2 release)
2015-11-02 11:57:25 +00:00
Matt Westcott 8d96a24e49 Update translator list and add release note for new translations.
The translator list now only includes translators specifically identified in the .po files, so that we're not listing dormant Transifex accounts that didn't actually do anything :-)
2015-11-02 11:52:51 +00:00
Matt Westcott e868f47852 add script for extracting a list of translators from the .po files 2015-11-02 11:52:51 +00:00
Matt Westcott 0e9debfc2d Pull new translations from Transifex 2015-11-02 11:52:50 +00:00
Karl Hobley bdf52d5439 Merge pull request #1882 from gasman/pagination-fixes
Fix regressions in page chooser navigation
2015-11-02 11:52:31 +00:00
Karl Hobley ed920aff7f Merge pull request #1881 from gasman/fix/use-live-revision-when-available
Show the live database record in the page editor if there are no draft edits
2015-11-02 11:19:18 +00:00
Karl Hobley f8855168db Merge pull request #1879 from gasman/fix/copy-page-with-m2m
Prevent page copy from breaking when M2M / tag fields are present - fixes #1852
2015-11-02 10:50:35 +00:00
Matt Westcott b041f2e740 Test that value.bound_block is available on struct_block templates 2015-10-31 19:01:39 +00:00
Matt Westcott 019778bca8 Update StructBlock rendering tests to call block.to_python().
These tests were mis-specified; calling render methods on a value that has not been provided by the block itself (e.g. returned from to_python) has undefined behaviour. In the case of StructBlock, the values passed to render() must be of type StructValue.

This change makes the fix for test_render_unknown_field in #1793 unnecessary (because the other methods take care of eliminating unknown fields), and so this has been reverted.
2015-10-31 09:01:54 +00:00
Matt Westcott 20655941e9 Use {% querystring %} tag for breadcrumb links in the page chooser
We can't use {{ querystring }} any more, as that context var has been removed. We nullify the p (page number) parameter in this link as it doesn't make sense to persist this when navigating up/down the tree.
2015-10-30 01:09:16 +00:00
Matt Westcott 7df701e88d Nullify the 'p' parameter in child navigation links in the page chooser
The correct querystring param to nullify is 'p', not 'page'; failure to set this to none means that e.g. viewing page 2 of a listing then browsing to a child page will wrongly take you to page 2 of the child page's listing.
2015-10-30 01:01:08 +00:00
Matt Westcott 52cf28429f Use {% querystring %} tag to propagate querystring in the link chooser 'link type' nav links.
This is necessary now that we don't pass a 'querystring' context var any more. We set p (the page number param) to None because the tree browser's parent page ID is not preserved in this navigation (it's part of the URL path rather than the querystring), so there's no point preserving the page number.
2015-10-30 00:54:39 +00:00
Matt Westcott d2ad85d0d2 querystring tag provides the '?' character itself, so no need to duplicate it 2015-10-30 00:41:47 +00:00
Matt Westcott bd6a7c768f Use the live database record as the result of get_latest_revision_as_page if there are no draft edits.
This ensures that the live database state will be reflected in the page editor, which provides two benefits:
* any changes made directly at the model / database level (e.g. automated data imports) will be visible in the editor
* inline child objects will be associated with their actual database IDs even if this information is missing from the revision record. This ensures that their IDs will be preserved on next publish, rather than the records being deleted and recreated (#1853)
2015-10-29 17:16:07 +00:00
Matt Westcott 9db24387fe Add test for copying a page containing a generic foreign key 2015-10-29 15:59:02 +00:00
Karl Hobley 26857f525d Fix DeprecationWarning
``django.utils.importlib`` will be removed in Django 1.9. This causes a ``DeprecationWarning`` to be raised for Django 1.8 users.
2015-10-29 15:05:36 +00:00
Matt Westcott b77dfd20d7 Test that copying pages with M2M relations doesn't break 2015-10-29 13:17:16 +00:00
Matt Westcott cd168a2b41 Skip M2M relations in the field list when copying pages - fixes #1852 2015-10-29 12:10:46 +00:00
Matt Westcott 865ee4aab0 failing test for copying a page with tags (#1852) 2015-10-29 11:24:16 +00:00