Wykres commitów

5739 Commity (074911d5043c5abe112d59319d2674db67ef208b)

Autor SHA1 Wiadomość Data
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
Karl Hobley f4706b8208 Ignore ResourceWarnings
This switches Python back to it's default behaviour. Elasticsearch creates a lot of noise with this warning switched on, hiding warnings that may be important.
2015-10-29 10:21:56 +00:00
Matt Westcott 0e7b92971a Release note for #1718 2015-10-29 00:12:02 +00:00
Matt Westcott b14d366c9b Merge pull request #1718 from gasman/feature/image-library-system-check
Add system check for presence of libjpeg / zlib
2015-10-29 00:07:54 +00:00
Karl Hobley a997cefa1a Merge pull request #1873 from gasman/fix/migrate-from-08
Make migrations depend on non-squashed versions
2015-10-28 09:22:40 +00:00
Matt Westcott d76471e77c Make migrations depend on non-squashed versions - fixes #1817 2015-10-27 22:36:58 +00:00
Karl Hobley 1cefa305ae Use Travis pip cache 2015-10-27 17:19:32 +00:00
Matt Westcott c813cf1e08 Merge branch 'alexgleason-admin-gui-fixes' 2015-10-27 11:51:20 +00:00
Matt Westcott 6dd69acd86 Release note for #1746 2015-10-27 11:51:07 +00:00
Alex Gleason 06984938bd Added code comment 2015-10-27 11:25:21 +00:00
Alex Gleason c73c8bc44e Refactored field animation and better block delete transition 2015-10-27 11:25:21 +00:00
Alex Gleason bad069ffb8 Reset the position of the Hallo bar after the input fields expand 2015-10-27 11:25:21 +00:00
Alex Gleason 015e9da9b8 Field expand animation and button hover fixes 2015-10-27 11:25:21 +00:00
Matt Westcott d089794953 Merge branch 'mrnix-stylefixes' 2015-10-27 11:19:59 +00:00
Matt Westcott e68d66a744 Release note for #1869 2015-10-27 11:19:44 +00:00
Sergey Nikitin 1742220c4e .xdsoft_datetimepicker z-index: 5 2015-10-27 13:47:25 +03:00
Karl Hobley 19d476b42a Changelog/release notes for #1857 and #1866 2015-10-27 10:22:40 +00:00
Karl Hobley ed9d3d72b9 Merge pull request #1857 from laidibug/issue/1690
Apply dropdown styling to foreign key fields
2015-10-27 10:17:22 +00:00
Karl Hobley 7a22d1c248 Merge pull request #1866 from gasman/feature/redirect-site-field
Make Site field editable on redirects
2015-10-27 10:16:39 +00:00
Matt Westcott 42860fba21 Merge branch 'vden-nodev4-support' 2015-10-27 10:05:21 +00:00
Matt Westcott ba8c02268d Merge branch 'nodev4-support' of https://github.com/vden/wagtail into vden-nodev4-support 2015-10-27 10:02:02 +00:00
Karl Hobley 3d5dd9edbd Merge pull request #1868 from takeflight/bug/remove-six
Use six from Django, remove six from tox.ini
2015-10-27 09:22:55 +00:00
Tim Heap b3560b7941 Use six from Django, remove six from tox.ini
All referencs to `six` were removed in #1411 favouring
`django.utils.six`, except for one in `tox.ini` where it was installed
as a dependency. Because it was still installed in the test environment,
a few references to `six` crept back in. These will cause an ImportError
when users do not have `six` installed.

These references have been fixed, and `six` has been removed from
`tox.ini`
2015-10-27 16:37:05 +11:00
Matt Westcott e0f7e3d11d Allow re-using the same redirect path on multiple sites - fixes #1672 2015-10-27 01:32:49 +00:00
Matt Westcott 1033897146 Add site column to redirects listing (and show redirects from all sites, not just current one) 2015-10-27 00:42:21 +00:00