Wykres commitów

5380 Commity (a205dc5b5212012c13c2e1133ce938d56f64a749)

Autor SHA1 Wiadomość Data
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
Matt Westcott b0878b1534 Make site field editable on redirects 2015-10-27 00:36:33 +00:00
Matt Westcott 93cf24df73 Add tests for page redirects and redirects with specific sites 2015-10-27 00:18:20 +00:00
Matt Westcott d76ada4636 No need to create our own Client instance when using django.test.TestCase 2015-10-26 22:47:28 +00:00
Matt Westcott 6cba9ff204 PEP8 on wagtailredirects/tests.py 2015-10-26 22:47:27 +00:00
Matt Westcott cdf8467bd2 Remove redundant use of EditHandler in wagtailredirects 2015-10-26 22:47:27 +00:00
Matt Westcott 13c8e4da58 Merge branch 'vden-gravatar-idn-email-fix' 2015-10-26 12:58:53 +00:00
Matt Westcott 566fa3a26f Release note for #1670 / #1850 / #1854 2015-10-26 12:58:36 +00:00
Matt Westcott d1ef42fe9b test for #1670 2015-10-26 12:35:58 +00:00
Denis Voskvitsov 0deb2da1af More readable gravatar url formatting 2015-10-26 12:35:58 +00:00