Wykres commitów

1517 Commity (6c57b5b2806b0ceab5a8246f7f6baf28efe2a348)

Autor SHA1 Wiadomość Data
Karl Hobley 6c57b5b280 Docs for format and jpegquality image filters
This also fixes #1205
2016-10-05 15:54:05 +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
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 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
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
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
Matt Westcott 869349f86c Release note for #3017 2016-09-30 10:06:44 +01:00
Andy Babic 0c1b67bc16 Add documentation to help with customisation of `contrib.modeladmin` 2016-09-28 20:52:19 +01:00
Matt Westcott e31b26c4db Eliminate dependencies on `__latest__` migrations
See https://groups.google.com/d/msg/wagtail/a1lbdKe-QPk/GefsBFnRBgAJ - using __latest__ prevents us from ever applying migrations that are subsequently added to the referenced apps, since logically those migrations must have been applied before the current one (which they weren't, because they didn't exist). This logic is enforced as of Django 1.10.
2016-09-26 17:57:52 +01:00
Matt Westcott 674af5586b Prevent USE_THOUSAND_SEPARATOR from breaking the rendering of maxForms in InlinePanel's JS code
Fixes #2699. Thanks to Mattias Loverot for the report and original fix.
2016-09-22 15:07:23 +01:00
riceyrice 5869bc37bb Allow configuration or override of QueryDailyHits garbage collection 2016-09-22 14:21:38 +01:00
Mikalai Radchuk 48296e7568 Release notes for #3016 2016-09-22 14:43:53 +03:00
Mikalai Radchuk fb93a6d6b9 Allow to limit access to form submissions (#3016)
Add the filter_form_submissions_for_user hook

Thanks @kaedroho for the code review and docs.
2016-09-22 14:36:39 +03:00
Karl Hobley 9a57e39cfd Implemented annotate_score on SearchResults
This allows the user to retrieve the scores for each search result:

    for page in Page.objects.search("Hello").annotate_score('_score'):
        print(page.title, page._score)
2016-09-22 12:03:23 +01:00
Nick Smith 504759d267 #1446 add pagination to wagtailadmin.views.pages.move_choose_destination 2016-09-22 11:53:38 +01:00
Karl Hobley ebe597610e API v2 docs (#2940) 2016-09-22 11:15:18 +01:00
Mikalai Radchuk ae33f7192d Adds "Supported versions of Django"
Adds "Supported versions of Django" section
into "Wagtail's release process" document.
2016-09-21 18:50:44 +01:00
Mikalai Radchuk d3568df5b3 Adds docs about release process 2016-09-21 18:50:21 +01:00
Karl Hobley 9d655a9f8a Changelog/release note for #2975 2016-09-21 13:33:13 +01:00
Stein Strindhaug ffa21943d0 Increase legibility by increasing contrast
Raise contrast by slightly adjusting font-weight, color and font size (from 12.2px to 12.8px in the menu)
2016-09-21 12:02:23 +01:00
Matt Westcott 8dc1d9c342 Document the steps for creating a filter_spec migration for a custom image model 2016-09-20 15:38:36 +01:00
Mikalai Radchuk b1d10db7f2 Release notes for #3002 2016-09-19 19:31:37 +03:00
Matt Westcott 89f4699a91 Fix underlines 2016-09-19 13:51:04 +01:00
Matt Westcott 86e60fd4a3 Mention where to access the styleguide - fixes #3009 2016-09-19 13:49:52 +01:00
Matt Westcott c6666c6de5 Disable escape key on rich text fields - fixes #2998 2016-09-16 15:19:12 +01:00
Matt Westcott 8aa316c575 Correct description of 'title' class on FieldPanel - fixes #2990 2016-09-15 17:02:25 +01:00
Matt Westcott b0aa210078 Recognise classname parameter on InlinePanel. Fixes #1316 2016-09-15 16:44:51 +01:00
Karl Hobley 4dc1ef05f8 Removed unused import from example
Thanks @timheap for spotting
2016-09-15 09:18:04 +01:00
Matt Westcott a7af8f7da3 Release note for #2997 2016-09-14 16:54:02 +01:00
Karl Hobley 8b9b2ced36 Docs for new hooks 2016-09-14 16:52:28 +01:00
Matt Westcott 3b4c24e0b5 Release note for #2619 2016-09-08 12:10:53 +01:00
Matt Westcott 6c57aba8a2 Mark 1.7 as in development 2016-09-06 14:46:13 +01:00
Matt Westcott 1181a4ea8e Add content_panels declarations to i18n duplicate tree example code - fixes #2981 2016-09-06 10:44:33 +01:00
Tobias ceec8c2d9f Update settings.rst
Fix typo.
2016-09-05 14:24:33 +02:00
Matt Westcott 29e7c0740b Release note for #2971 2016-09-05 11:48:26 +01:00
Luiz Boaretto 24feca5333 Fix typo on modeladmin docs 2016-09-04 12:43:39 -03:00
Matt Westcott 1d5475672e Release note for #2577 2016-09-01 16:20:57 +01:00
dirtycoder 959723eddb Create a panel to display informations about the submissions for form pages, fix #406 2016-09-01 15:22:30 +01:00
Matt Westcott 57b7f4b56e Release note for #2963 2016-09-01 15:07:05 +01:00
Janneke Janssen 722ea1d3d8 Update the docs for the custom image model to mention post_delete instead of pre_delete 2016-09-01 15:07:05 +01:00
Mikalai Radchuk 8a41baa87d Release notes for #2966 2016-09-01 17:02:55 +03:00
Mikalai Radchuk 7c3b38ad40 Move release notes for #2573 to the top
[skip ci]
2016-08-31 14:57:59 +03:00
Mikalai Radchuk 5598910a2b Release notes for #2573 2016-08-31 14:13:47 +03:00
Karl Hobley daa82936d7 Elasticsearch 2 support (#2573)
* Created Elasticsearch 2 backend

* Added tests for Elasticsearch 2 backend

* Split models up into different indices

pages, images and documents are now in separate indices

* Prefix fields of child models to prevent mapping clashes

* Replaced index_analyzer with analyzer/search_analyzer

index_analyzer has been removed in Elasticsearch 2.0

https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html#_analyzer_mappings

There's no indication in Elasticsearch's docs that this wouldn't work on Elasticsearch 1.x. However, we found that the new configuration isn't reliable on Elasticsearch 1.6 and below (causes the test_query_analyzer test to fail randomly).

* Implemented new way of representing content types in search index

Instead of using a long string of model names that is queried using a
"prefix" query, we instead use a multi-value string field and query it
using a simple "match" query.

The only reason why this isn't implemented in the Elasticsearch 1.x
backend yet is backwards compatibility

* Added another child model of SearchTest with clashing field mapping

This checks that the namespacing of fields on child models is working properly (if it doesn't the update_index tests will fail)

* Added tests for get_model_root function

* fixup! Added tests for get_model_root function

* Docs updates for Elasticsearch 2 support

Also tweak examples to use elasticsearch2 backend by default

* Test against Elasticsearch 2 on travis
2016-08-31 13:46:57 +03:00
Karl Hobley e29f9b2423 No longer say that ATOMIC_REBUILD is "Experimental"
We've used this in production on a few sites for over a year now and haven't hit any problems.
2016-08-31 09:54:35 +01:00