Commit graph

2899 commits

Author SHA1 Message Date
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
Matt Westcott
af6bd8e195 Release note for #807 2014-11-15 16:55:55 +01:00
Matt Westcott
957e1709b5 Merge branch 'image-focal-point-chooser-fixes' of https://github.com/kaedroho/wagtail into kaedroho-image-focal-point-chooser-fixes 2014-11-15 16:38:12 +01:00
Matt Westcott
c3b98e4467 Fix some more python3.2-incompatible unicode strings in migration 11 2014-11-13 13:08:56 +00:00
Matt Westcott
80b05e0cd3 Add dependency on wagtailcore migration 0002 (necessary to cleanly merge the other migration 0005 being added in 0.9) 2014-11-13 13:05:21 +00:00
Matt Westcott
2f80223979 add migration to tests app to fix typo in formfield help text. (Most. Pointless. Migration. Ever.) 2014-11-13 12:55:22 +00:00
Matt Westcott
eca4e3b7ef add missing south migration - remove auto_add_now from page_revision.created_at and nullify page owner on user deletion 2014-11-13 12:28:17 +00:00
Karl Hobley
1619238ee6 Fixed focal point indicator positioning
The focal point indicator is always positioned as a percentage inside
the div.focal-point-chooser block.

For thin images, the image may not exactly fill this block causing the
indicated focal point to be too wide and often not even cover the image.

This commit fixes this by making sure the width and height of the
div.focal-point-chooser block are always the same as the image, even if
the image is too small.
2014-11-12 17:18:28 +00:00
Matt Westcott
fbfa60c454 release note for 35b8bc2 2014-11-12 16:23:42 +00:00
Matt Westcott
35b8bc2443 Change 'Field hasn't specified on_delete action' to a warning rather than an error, as per #792 2014-11-12 16:22:08 +00:00
Matt Westcott
0e38ecea5b Merge branch 'kaedroho-issue-786' into stable/0.8.x 2014-11-12 16:03:49 +00:00
Matt Westcott
66b1b7db5a Release notes for #802 2014-11-12 16:03:30 +00:00
Matt Westcott
8b70e39216 Merge branch 'issue-786' of https://github.com/kaedroho/wagtail into kaedroho-issue-786 2014-11-12 15:18:14 +00:00
Matt Westcott
ceb4c316ce Merge branch 'kaedroho-fix-fill-filter-zerodivisionerror' into stable/0.8.x 2014-11-12 11:26:39 +00:00
Matt Westcott
5a658a173d release note for #797 2014-11-12 11:25:06 +00:00
Matt Westcott
8709be6ea4 Merge branch 'fix-fill-filter-zerodivisionerror' of https://github.com/kaedroho/wagtail into kaedroho-fix-fill-filter-zerodivisionerror 2014-11-12 11:20:13 +00:00
Matt Westcott
677b92b130 Merge branch 'kaedroho-fix-form-submission-encoding' into stable/0.8.x 2014-11-11 16:58:58 +00:00
Matt Westcott
de9b35b0b8 Release note for #799 2014-11-11 16:58:41 +00:00
Matt Westcott
ce5bbc4956 Merge branch 'fix-form-submission-encoding' of https://github.com/kaedroho/wagtail into kaedroho-fix-form-submission-encoding 2014-11-11 16:15:04 +00:00
Karl Hobley
20f67b65e8 Various fixes to Elasticsearch configuration
- It's now possible to specify http auth paramters in the URL
- I've changed the default port to 443 to SSL connections and 80 for
  non-SSL connections. Previously, both were set to 9200.
2014-11-11 16:07:09 +00:00