Commit graph

2918 commits

Author SHA1 Message Date
Karl Hobley
bd541a9858 Added @jerel to contributors 2015-01-15 14:02:51 +00:00
Karl Hobley
2f1421ffb7 Added test for #854 2015-01-15 14:02:22 +00:00
Jerel Unruh
fca5b702fd Fixed a bug that prevented sitemap url generation override in a Page subclass
If a developer wants to turn off urls for a specific page as documented in http://docs.wagtail.io/en/latest/contrib_components/sitemap_generation.html#customising they should be able to add:

    def get_sitemap_urls(self):
        return []

but get_urls() calls only the parent class rather than the specific child class. This bug is also mentioned in issue #833
2015-01-15 14:02:22 +00:00
Matt Westcott
d59ebdaed2 release note for #869 2014-12-16 16:59:32 +00:00
Matt Westcott
5b4463e0b6 #872 should be in 0.8.5, not 0.8.4 2014-12-16 16:48:32 +00:00
Matt Westcott
0fab9411bb release note for #872 2014-12-16 16:41:00 +00:00
Robert Rollins
bb26106ba4 add_subpage view now sorts content types by their verbose names. 2014-12-16 16:38:26 +00:00
Timo Rieber
02916e4a7a Exclude clicked item itself if already active 2014-12-15 16:53:59 +00:00
Timo Rieber
eecf62ff6d Fixed admin submenus not working correctly when more than one registered 2014-12-15 16:53:47 +00:00
Karl Hobley
154ce33c7e Added ISSUU oembed provider
http://developers.issuu.com/api/oembed.html
2014-12-11 10:53:33 +00:00
Matt Westcott
f0cecf2066 prepare for 0.8.4 release 2014-12-04 14:48:41 +00:00
Matt Westcott
ae1150cfd9 Document the necessary fix to custom image migrations - fixes #832 2014-12-04 13:18:31 +00:00
Karl Hobley
a74891a0a4 Release note for #844 2014-12-03 14:21:31 +00:00
Matt Westcott
faf20a4ebc TEST_NAME must differ from database name 2014-12-03 14:21:31 +00:00
Matt Westcott
f75887ddc4 Specify TEST_NAME in test settings to make concurrency tests work on sqlite.
Django 1.6 checks for this setting and defaults to None, which creates an in-memory database
when using sqlite. This causes our race condition test in wagtailimages to fail, since it's
not possible for multiple threads to share the same in-memory database.
2014-12-03 14:21:30 +00:00
Matt Westcott
92b890ab3f use Python3 compatible syntax for 'except' 2014-12-03 14:21:30 +00:00
Matt Westcott
275a5e19b2 accommodate custom user models in migration 2014-12-03 14:21:30 +00:00
Matt Westcott
d1d64c3a7d Add unique constraint to filter spec so that Filter.get_or_create avoids race condition as intended - fixes #312 2014-12-03 14:21:30 +00:00
Matt Westcott
67b9bd0d59 Add failing test for race condition in Filter.get_or_create 2014-12-03 14:21:30 +00:00
Matt Westcott
d3e4094464 Release notes for #842 2014-12-03 13:53:29 +00:00
Karl Hobley
555f09a60d Changed test to use eventmoderator user 2014-12-03 13:27:40 +00:00
Karl Hobley
2c010b07b6 Order by created_at when getting first revision 2014-12-03 13:27:21 +00:00
Karl Hobley
5d718cd818 Added user attribute to Page.copy
This is used for setting the owner of the new pages and the user for the
new revision that gets created

Conflicts:
	wagtail/wagtailadmin/views/pages.py
2014-12-03 13:26:50 +00:00
Karl Hobley
9083330536 Create new revision when copying pages
This serves two purposes:
 * It makes sure update_attrs gets applied to the latest revision so the
   changes are reflected in the editor
 * It bumps the last_revision_created_at value so the new page gets
   ordered as if it was just created
2014-12-03 13:21:30 +00:00
Karl Hobley
f8480c079b Update page IDs in revision JSON when copying
Fixes #837

When copying a page, all of its revisions are also copied. The revisions
are JSON encoded and include ID fields which point back to the original
page object. These IDs weren't being updated when the revision was
copied to a new page causing the editor to break when that new page is
edited.
2014-12-03 13:21:18 +00:00
Karl Hobley
855461f494 Fixes to 0.8.4 release notes 2014-12-02 15:18:25 +00:00
Karl Hobley
6289d2ce17 Added changelog/release notes for 0.8.4 2014-12-02 15:15:45 +00:00
Dave Cranwell
330f7ae698 Main submenu and explorer now disable eachother when clicked 2014-12-02 15:10:25 +00:00
Karl Hobley
dcf806c997 Removed bad migration 2014-11-20 17:17:18 +00:00
Matt Westcott
040bd411bc formally withdraw 0.8.2 release, move release notes to 0.8.3 2014-11-20 16:49:24 +00:00
Matt Westcott
45bea004a5 Merge branch 'stable/0.8.x' of github.com:torchbox/wagtail into stable/0.8.x 2014-11-20 16:41:13 +00:00
Karl Hobley
0fa19952ff Version bump to 0.8.3 2014-11-18 17:41:27 +00:00
Karl Hobley
301182e568 Version bump to 0.8.2 2014-11-18 17:35:16 +00:00
Karl Hobley
bb01930971 Added missing migration for tests 2014-11-18 17:35:16 +00:00
Karl Hobley
2557240118 Changelog/release note for #808 2014-11-18 17:35:16 +00:00
Matt Westcott
141b5ddcec Version bump Pillow to avoid #800 2014-11-18 17:35:16 +00:00
Matt Westcott
594829ae4c set a non-black background colour on Jcrop so that transparent images don't look horrible 2014-11-18 17:35:15 +00:00
Matt Westcott
50a896f2f9 Issue with transparency handling also affects image_data_as_rgb, so make the fix into a shared _to_rgb helper method 2014-11-18 17:35:15 +00:00
Matt Westcott
ac99270d83 do not convert images with palette-based transparency to RGBA, as that kills the background colour 2014-11-18 17:35:15 +00:00
Karl Hobley
c79a26e3be Convert P images with transparency into RGBA
Fixes #800
2014-11-18 17:35:15 +00:00
Karl Hobley
d86e7efb03 Release note for #811 2014-11-18 17:35:15 +00:00
Karl Hobley
2bdd572e7d Changelog for #811 2014-11-18 17:35:15 +00:00
Karl Hobley
372326eff7 Release note for #818 2014-11-18 17:35:14 +00:00
Karl Hobley
2668b66885 Changelog for #818 2014-11-18 17:35:14 +00:00
Dan Braghis
0ec89ddb88 Fix 'TypeError at /admin/pages/ID/edit/preview/ serve_subpage() takes exactly 2 arguments (1 given)' error for RoutablePage previews 2014-11-18 17:35:14 +00:00
Matt Westcott
6e232d74e1 catch SourceImageIOError when rendering image formats - fixes #801 2014-11-18 17:35:13 +00:00
Matt Westcott
fbf0d9002c Define a custom exception type for IO errors thrown when opening source images, and catch that in InageNode.render so that we're not masking unrelated IOErrors elsewhere in the get_rendition process 2014-11-18 17:35:13 +00:00
Matt Westcott
dcbaa851e4 add failing test for #801 2014-11-18 17:35:13 +00:00
Matt Westcott
072d5e099f Add unit test for rendering image tag with a missing image 2014-11-18 17:35:12 +00:00
Matt Westcott
1888c5e15d Merge branch 'kaedroho-image-focal-point-chooser-fixes' into stable/0.8.x 2014-11-15 16:56:11 +01:00