0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

6640 Commits

Author SHA1 Message Date
Gagaro
1d33cc7838 Fix: remove responsive behavior in embed when there is no ratio available 2016-10-13 17:40:30 +01:00
Gagaro
49421e5a41 Fix: Use specific page model for the parent page in the explore index 2016-10-13 16:28:48 +01:00
Alex
ee4e2ed27b Add site name to <title> element in the project template 2016-10-13 16:21:50 +01:00
Henk-Jan van Hasselaar
8a3c47f76a Use get_admin_display_title in admin 2016-10-13 15:46:12 +01:00
Gagaro
9710c292eb Added getters for templates in AbstractForm 2016-10-13 15:08:49 +01:00
Matt Westcott
0cf3b13a1d Release note for #3075 2016-10-13 14:54:34 +01:00
Tim Heap
b6fe08a634 Docs for get_image_model/get_image_model_string 2016-10-13 11:55:21 +02:00
Tim Heap
1b8d307316 Import get_image_model from its new location 2016-10-13 12:33:09 +11:00
Tim Heap
29d138d16d Move get_image_model, add get_image_model_string
Having `get_image_model` at `wagtail.wagtailimages` is consistent with
django.contrib.auth.get_user_model, and means developers can import
`get_image_model` in an environment where models are not yet ready.

`get_image_model_string` has been added for uses where the model itself
is not required, and might not be available, but a reference to the
possibly swapped out Image model is required.
2016-10-13 12:33:09 +11:00
Mikalai Radchuk
84c36c1ec2 Fixup isort 2016-10-10 15:25:44 +03:00
Mikalai Radchuk
c416924246 Fixup flake8 2016-10-10 15:19:49 +03:00
Mikalai Radchuk
2e1c58a586 Release notes for #3047 2016-10-10 14:24:01 +03:00
Axel Haustant
e893dd895b Allows to define custom site settings edit handler
Added site settings edit handler tests

Ensure proper setting rendering with tabs
2016-10-10 14:23:57 +03:00
Matt Westcott
a3ba533afb start work on 1.8 / remove deprecated features (#3058)
* Version bump to start work on Wagtail 1.8

* Remove features deprecated in Wagtail 1.8
2016-10-07 16:02:04 +01:00
Matt Westcott
b658b44e1b Add upgrade consideration note re 'embed' becoming a template tag 2016-10-07 15:44:15 +01:00
Karl Hobley
07a4eca48f Fix typos
recieve => receive
2016-10-06 16:20:29 +01:00
Matt Westcott
f00fe21da2 Generate new strings for translation 2016-10-05 16:38:48 +01:00
Matt Westcott
cfc077b3c6 Fetch new translations from Transifex 2016-10-05 16:28:28 +01:00
Matt Westcott
534b5d1fd9 Release note for #2474 2016-10-05 16:03:54 +01:00
Matt Westcott
7ec734e925 Document how to chain image operations in the image serve view (ref #908) 2016-10-05 15:54:05 +01:00
Karl Hobley
2a6f908972 Various docs tweaks
Thanks @tomdyson for spotting!
2016-10-05 15:54:05 +01:00
Karl Hobley
a449e2d8b2 Added tests for jpegquality filter 2016-10-05 15:54:05 +01:00
Karl Hobley
af9d4ae5a3 Added tests for format filter 2016-10-05 15:54:05 +01:00
Karl Hobley
6c57b5b280 Docs for format and jpegquality image filters
This also fixes #1205
2016-10-05 15:54:05 +01:00
Karl Hobley
43e0b9d237 Added "original_format" into initial environment 2016-10-05 15:54:05 +01:00
Karl Hobley
f58eb6ef28 Added 'format' template filter
This allows the developer to change the output format of an image placement
2016-10-05 15:54:04 +01:00
Karl Hobley
b20cce01aa Added 'jpegquality' image filter
This allows the developer to adjust the output quality of JPEG images on a per-placement basis
2016-10-05 15:54:04 +01:00
Karl Hobley
79348d427f Backwards compatibility for 3-argument run methods 2016-10-05 15:54:04 +01:00
Karl Hobley
ee24881e71 Added new env argument to ImageOperation.run
This is set to a mutable dictionary that is passed between the image operations. It can be used for image operations to send messages to later operations and Wagtail.
2016-10-05 15:54:04 +01:00
Matt Westcott
42506e6fd8 rewrite get_upload_to logic to eliminate loop and avoid reinventing os.path.splitext 2016-10-05 15:44:20 +01:00
Ricky Robinett
9c0968ad12 Fix bug where filenames with no extension cause an infinite loop 2016-10-05 15:26:29 +01:00
Aymeric Augustin
a108f16eff Fix preview when SECURE_SSL_REDIRECT = True.
Fix #3048.
2016-10-05 15:01:36 +01:00
Matt Westcott
b4a4e5eb92 Pass update_all_types=True to put_mapping on ES2 - workaround for #2968 2016-10-05 13:45:43 +01:00
Karl Hobley
882facf352 Optimise JPEG images when generating renditions
We've recently added support in Willow to make use of Pillow's image optimisation. This commit enables this in Wagtail.

All JPEGs are now optimised and saved in progressive format.
2016-10-05 12:24:11 +01:00
Matt Westcott
5dc5a32adc release note for #3039 2016-10-05 12:17:57 +01:00
Matt Westcott
2992782c99 Unlink previously existing links when turning a selection into a link 2016-10-05 12:16:16 +01:00
Matt Westcott
09fccb2624 Rewrite hallo-wagtaillink.js logic to preserve existing link elements/content instead of replacing text
Fixes #3026
2016-10-05 12:16:16 +01:00
Matt Westcott
ca8e41de99 Add prefer_this_title_as_link_text hints to the external/email link responses
These indicate whether the user has explicitly entered something into the link text field,
and therefore we should use their text in preference to keeping the existing link/selection
content intact.
2016-10-05 12:16:16 +01:00
Matt Westcott
239145290f Refactor email/external link chooser views (no functional changes) 2016-10-05 12:16:16 +01:00
Matt Westcott
f45181764b Set a related_name of wagtail_userprofile on wagtailusers.UserProfile
This prevents it from clashing with other userprofile models defined elsewhere in the project. Fixes #3025
2016-10-05 12:13:53 +01:00
Mikalai Radchuk
3833b0cba8 Tests: New features for wagtailforms (#2978) 2016-10-04 14:59:21 +01:00
Matt Westcott
999281f05b Conditionally escape replace_page_param result for correctness on Django 1.8 2016-10-03 20:09:21 +01:00
Matt Westcott
0ba56b5d58 pep8 fix 2016-10-03 18:34:52 +01:00
Matt Westcott
561f0a7cff Add test for image pagination preserving URL params 2016-10-03 18:31:17 +01:00
Bojan Mihelac
51bcecf368 Fixes Images / documents pagination (#2700)
Refactored pagination_nav template to allow empty linkurl in which case
url is created replacing page in QUERY_STRING.
2016-10-03 18:31:17 +01:00
Thibaud Colas
5d84c666bb Trim trailing whitespace in all files but Markdown (#3044) 2016-10-03 14:57:08 +01:00
Janneke Janssen
2992d90e97 Account settings button (#2805) 2016-10-03 12:21:38 +01:00
Liam Brenner
769ad6deb8 Fix documentation typo (#3042) 2016-10-03 09:04:39 +01:00
Mikalai Radchuk
90552bedb5 Fix site ref in docs 2016-10-01 22:04:46 +03:00
Nick Smith
df9a5e31fa Allow referencing models by string representation in SnippetChooserBlock 2016-09-30 17:11:51 +01:00