Wykres commitów

2966 Commity (13e5221746488582d1ec0337cb27617105e0881f)

Autor SHA1 Wiadomość Data
Matt Westcott 88f4ede60f Merge branch 'kaedroho-fix-form-submission-encoding' 2014-11-11 16:59:21 +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
Matt Westcott f4b27c8abd Create changelog / release notes section for 0.8.2 2014-11-11 14:59:45 +00:00
Matt Westcott bef7bb2ce6 Remove last remnants of fixPrefix.
In page_permissions_formset, fixPrefix is a null operation; in InlinePanel.buildExpandingFormset, it's only used within the function body (no longer passed on to the onAdd handler) and only needs to be applied to a single string, so wrapping it in an inner function is redundant.
2014-11-11 12:36:18 +00:00
Matt Westcott 09e4add28a Fix page chooser on sites interface 2014-11-11 11:51:47 +00:00
Matt Westcott 6ea15cfe01 Use jquery onready handlers so that editor's picks JS doesn't have to be placed after the HTML; fixes the editor's picks edit page. Also remove redundant closure-wrapping from page_permissions_formset 2014-11-11 11:43:54 +00:00
Matt Westcott f064fe93d0 Fix page permissions formset in groups edit interface to work with refactored javascript and AdminPageChooser widget 2014-11-11 11:29:22 +00:00
Matt Westcott 82832fe756 make InlinePanel check for the existence of an onAdd handler, so that we don't have to pass it an empty one 2014-11-11 11:17:10 +00:00
Karl Hobley 6e3a98c60b Use DjangoJSONEncoder for encoding form submission
Fixes #798
2014-11-11 10:51:08 +00:00
Karl Hobley 2776471a51 Created failing test for #798 2014-11-11 10:48:46 +00:00
Matt Westcott db552333ef Make AdminPageChooser's content_type default to Page if left unspecified 2014-11-11 10:45:48 +00:00
Karl Hobley aa554b39a5 Fixed ZeroDivisionError in fill filter
When a focal point matches the size of the image, the crop sizes are
also the same.

These sizes are subtracted from each other in the fill filter
(which would equal zero) and this number then gets used as the
denominator in a division causing the ZeroDivisionError to be raised.

The fix is simple, don't do any crop closeness calculations if the focal
point size equals the image size. Crop closeness wouldn't work anyway in
this case
2014-11-10 16:14:24 +00:00
Karl Hobley 63f1018bf4 Changelog for #796 2014-11-10 15:55:08 +00:00
Karl Hobley 5b390ccb9c Added @janrito to contributers 2014-11-10 15:50:14 +00:00
Karl Hobley d0bd658619 Merge pull request #796 from janrito/page_check_exception_squashed
added Page.check exceptions for all parent classes
2014-11-10 15:48:45 +00:00
Alejandro Giacometti 544fe11eac added Page.check exceptions for all parent classes
`Page.check` must be aware of all foreign keys which point
to parent classes. These keys are allowed to cascade on delete.
2014-11-10 14:42:30 +00:00
Dave Cranwell 102121a244 Added to wrong section previously 2014-11-07 11:53:37 +00:00
Dave Cranwell 36e0b7c3fe Update CHANGELOG.txt 2014-11-07 11:53:06 +00:00
Dave Cranwell d0d1df2ede resolving jquery ui css requesting missing images 2014-11-07 11:51:00 +00:00
Dave Cranwell 16893ed2ce Updated screenshot 2014-11-07 11:37:45 +00:00
Matt Westcott 48957a998f Prepare for 0.8.1 release 2014-11-05 22:05:48 +00:00
Karl Hobley 8a3ccbef26 Access feature attributes by index
When the FocalPoint class was removed, detect_features was updated to return tuples.

This commit fixes a typo where the x and y attributes were still being accessed as attributes.
2014-11-05 17:02:38 +00:00
Karl Hobley c506f6751f Update consideration for DB search API change 2014-11-05 14:47:34 +00:00
Matt Westcott 25c62356bf Set version numbers for 0.8 release 2014-11-05 14:34:40 +00:00
Matt Westcott 1350f7a835 Add Dutch to translations list 2014-11-05 10:47:13 +00:00
Matt Westcott cd299258fc Merge branch 'kaedroho-image-frontendserve-refactor' 2014-11-05 10:24:01 +00:00
Matt Westcott 66304ee71b Release note for #753 2014-11-05 10:23:50 +00:00
Matt Westcott 45b85c7d7d Front-end cache is no longer necessary for image generator 2014-11-05 10:13:39 +00:00
Karl Hobley 67e3ff5bb0 Send the file from the view without redirecting 2014-11-04 17:22:24 +00:00
Karl Hobley fbb061e2a0 Added preview view to admin
As the frontend serve view now uses renditions, previews are now
generated with their own view to prevent loads of unneeded renditions
being created.
2014-11-04 17:22:24 +00:00
Karl Hobley 34579b6d43 Serving images to external sites uses renditions
Previously, an image served to an external site was rendered on the fly.
This may have performance issues with large websites.

This commit changes the image serve view to use renditions so images are
only rendered when the url is first accessed. When the user hits the
url, they are now given a permanent redirect to the renditions image.
2014-11-04 17:22:24 +00:00
Karl Hobley 3bd6178f29 Merge pull request #783 from kaedroho/translations-08
Translation updates for wagtail 0.8
2014-11-04 17:20:41 +00:00
Matt Westcott 2bb56510c1 Merge pull request #752 from kaedroho/images-refactor
Images: Remove FocalPoint class
2014-11-04 17:18:22 +00:00
Karl Hobley 37ce659edd Run compilemessages 2014-11-04 17:16:17 +00:00
Karl Hobley 37ea75f8d7 Run makemessages 2014-11-04 17:14:20 +00:00
Karl Hobley 42d197b46f Fetched new translations from transifex 2014-11-04 17:11:45 +00:00
Karl Hobley 27832b3282 Return None when no features detected 2014-11-04 17:10:43 +00:00
Matt Westcott 0d25c1bd95 Merge pull request #637 from kaedroho/search/api-fixes
Search: Make database backend behave like Elasticsearch backend. Fixes #460
2014-11-04 16:20:33 +00:00
Matt Westcott 9f90f9e401 Merge branch 'bug/scripts-at-bottom' of https://github.com/takeflight/wagtail into takeflight-bug/scripts-at-bottom 2014-11-04 11:36:17 +00:00
Dave Cranwell 86fc1f0d1a Fixing meaningless test that would forever fail.
IE9 doesn't support conditional comments so testing "if IE 9" would always be false. Additionally this also meant no HTML tag was actually output for any other browser either! As we don't support IE8 either, testing for IE8 was also pointless.
2014-11-03 16:14:30 +00:00
Dave Cranwell 36a5a7704c Clarify how fill works with images that can't upscale. 2014-11-03 14:15:16 +00:00
Karl Hobley 638c6bc947 Removed wagtailimages/utils folder 2014-11-03 10:09:30 +00:00
Karl Hobley 4afdbaadca Added tests for set/get focal point methods 2014-11-03 10:09:30 +00:00
Karl Hobley 404615e1df Added tests for Rect class 2014-11-03 10:09:29 +00:00
Karl Hobley 58caa3566e Added get_rect method to image 2014-11-03 10:09:29 +00:00
Karl Hobley 293addd921 Removed FocalPoint class
And refactored code that used it to use Rect instead
2014-11-03 10:09:29 +00:00
Karl Hobley cd62c72dcc Changed API for setting/getting focal points
Previously, we used a property to do this. Heres the advantages of the
new way:
 - The old way felt a bit like it was pretending to be a database field
   when it wasn't. The new way makes it easier for the developer to
   understand that this is just a setter/getter for 4 fields and not a
   field itself.
 - Code looks nicer
 - Easier to override in subclasses
 - More like Django user model
2014-11-03 10:09:29 +00:00