Wykres commitów

3181 Commity (27048acda787d158a30433356a456e28aa3ab29c)

Autor SHA1 Wiadomość Data
Karl Hobley 325a61ad05 Merge pull request #808 from kaedroho/issue-800
Convert P images with transparency into RGBA
2014-11-18 15:01:49 +00:00
Karl Hobley 81503b2c32 Changelog/release note for #808 2014-11-18 15:00:29 +00:00
Matt Westcott f64ce6ccb2 Version bump Pillow to avoid #800 2014-11-18 14:44:09 +00:00
Matt Westcott ed3ca6454b set a non-black background colour on Jcrop so that transparent images don't look horrible 2014-11-18 14:44:09 +00:00
Matt Westcott 3b612062da Issue with transparency handling also affects image_data_as_rgb, so make the fix into a shared _to_rgb helper method 2014-11-18 14:44:08 +00:00
Matt Westcott 9fe70660fe do not convert images with palette-based transparency to RGBA, as that kills the background colour 2014-11-18 14:44:08 +00:00
Karl Hobley 876d995967 Convert P images with transparency into RGBA
Fixes #800
2014-11-18 14:44:08 +00:00
Karl Hobley ae4273e3a5 Release note for #811 2014-11-18 14:40:29 +00:00
Karl Hobley c51f29873a Changelog for #811 2014-11-18 14:39:49 +00:00
Karl Hobley dc497abe87 Merge remote-tracking branch 'torchbox/stable/0.8.x'
Pulling #811 into master
2014-11-18 14:35:46 +00:00
Karl Hobley 2eff5e85c9 Merge pull request #811 from gasman/fix/catch-missing-images
Render missing images within rich text as broken images, rather than throwing IOError during rendering
2014-11-18 14:34:24 +00:00
Karl Hobley a7d20f58a4 Release note for #818 2014-11-17 16:05:57 +00:00
Karl Hobley b36427f1b4 Changelog for #818 2014-11-17 16:05:48 +00:00
Dan Braghis 6eb119596e Fix 'TypeError at /admin/pages/ID/edit/preview/ serve_subpage() takes exactly 2 arguments (1 given)' error for RoutablePage previews 2014-11-17 16:05:14 +00:00
Karl Hobley a1e5587a77 Release note for #818 2014-11-17 16:01:04 +00:00
Karl Hobley 42d74aa607 Changelog for #818 2014-11-17 16:00:25 +00:00
Karl Hobley cf68ff6616 Merge remote-tracking branch 'zerolab/routable-preview' 2014-11-17 15:56:49 +00:00
Dan Braghis 96a80704fe Use request instead of self 2014-11-17 12:09:15 +00:00
Karl Hobley 2c3c788258 Merge pull request #817 from salvadormrf/master
Renames duplicate method on TestSnippetRegistering
2014-11-17 11:55:17 +00:00
Dan Braghis 75b76be063 Fix 'TypeError at /admin/pages/ID/edit/preview/ serve_subpage() takes exactly 2 arguments (1 given)' error for RoutablePage previews 2014-11-17 10:40:10 +00:00
Salvador Faria af49392442 Renames duplicate method on TestSnippetRegistering 2014-11-16 16:00:43 +00:00
Matt Westcott 5618e02e84 Merge branch 'kaedroho-image-focal-point-chooser-fixes' 2014-11-15 16:56:30 +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
Tim Heap 860f8224bf Add missing migration for wagtail.tests
It only appears in Python 3.x for some reason.
2014-11-14 14:27:45 +11:00
Tim Heap 1b7e6fac31 Made missing migration error message more verbose 2014-11-14 13:57:24 +11:00
Tim Heap 0cb10639bd Move RegisterDecorator model into wagtail.tests.models
For some reason, registering it via a decorator as part of a function
call caused it to register itself in the wagtail.wagtailsnippets app,
which caused a false positive in the missing migrations check. Moving it
to the wagtail.tests.models file means it is registered in the correct
location.
2014-11-14 13:28:42 +11:00
Tim Heap bc76f4a184 Fix wagtailimage migrations not using AUTH_USER_MODEL
This caused a false-positive when South checked for changes to models
and an AUTH_USER_MODEL was being used.
2014-11-14 12:32:59 +11:00
Tim Heap 4fe5b30005 Add a test that checks for missing migrations
If there are any outstanding model changes that have no migrations, the
tests will fail. Migrations *must* be up-to-date before any code changes
are accepted, or before a new version is released. If they are not, it
causes havoc for all users.

The bulk of the test code is taken from the Django 1.7 `makemigrations`
command, and the South `schemamigration` command.
2014-11-14 12:32:59 +11:00
Dave Cranwell 08a90b921c tweaks 2014-11-13 16:35:06 +00:00
Dave Cranwell 62f0cc338e Main submenu and explorer now disable eachother when clicked 2014-11-13 16:33:13 +00:00
Matt Westcott 222b548d9e catch SourceImageIOError when rendering image formats - fixes #801 2014-11-13 16:13:11 +00:00
Matt Westcott e3dab2af35 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-13 16:13:11 +00:00
Matt Westcott d4a9f14e41 add failing test for #801 2014-11-13 16:13:11 +00:00
Matt Westcott ff0c6db322 Add unit test for rendering image tag with a missing image 2014-11-13 15:15:25 +00:00
Matt Westcott c22e2e2914 Fix some more python3.2-incompatible unicode strings in migration 11 2014-11-13 13:09:19 +00: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 e1cc80f7eb Merge branch 'master' of github.com:torchbox/wagtail 2014-11-13 13:03:07 +00:00
Matt Westcott c52b48c9f2 merge parallel migrations in tests 2014-11-13 13:02:40 +00:00
Matt Westcott 2cb32a6f8f add migration to tests app to fix typo in formfield help text. (Most. Pointless. Migration. Ever.) 2014-11-13 12:56:44 +00:00
Matt Westcott eccd9797a0 add missing south migration - remove auto_add_now from page_revision.created_at and nullify page owner on user deletion 2014-11-13 12:56:40 +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
Dave Cranwell 9fe9369524 noscript message added to address issue #727 2014-11-12 17:26:28 +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 f1111f640e Merge branch 'fix/foreign_key_warning_only' 2014-11-12 16:24:21 +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 434597c859 Merge branch 'kaedroho-issue-786' 2014-11-12 16:05:43 +00:00