Wykres commitów

4450 Commity (8145cc1a2cea236e8eb5c4d331285bf1a8284749)

Autor SHA1 Wiadomość Data
Matt Westcott eaa100367f Merge branch 'search-auto-update' of https://github.com/kaedroho/wagtail into kaedroho-search-auto-update 2015-05-29 15:58:29 +01:00
Karl Hobley 9885d2fb7d Fix typos 2015-05-29 14:21:08 +01:00
Karl Hobley d0df0c225b Merge pull request #1352 from gasman/block-value-conversion
Make Block value type handling more consistent
2015-05-29 14:06:26 +01:00
Karl Hobley 1e0a203f86 Added tests for get_search_backends 2015-05-29 14:05:11 +01:00
Karl Hobley 77d143a099 Some edits to model reference 2015-05-29 12:53:48 +01:00
Karl Hobley 16315403fc Added upgrade consideration for admin_form_fields 2015-05-29 12:05:52 +01:00
Karl Hobley afda401956 Document admin_form_fields 2015-05-29 11:57:25 +01:00
Karl Hobley c670f1a8e7 Indexing {non-page => custom} models 2015-05-29 11:23:31 +01:00
Karl Hobley e4ee711043 Removed Pagination from the example search view
Makes the searching bit easier to see. Leave pagination as an exercise for the reader
2015-05-29 11:20:05 +01:00
Karl Hobley e7c61b13b1 Improve docs for WAGTAILSEARCH_BACKENDS setting
Including docs for new AUTO_UPDATE parameter
2015-05-29 11:04:54 +01:00
Karl Hobley c837afdfa2 Disabled AUTO_UPDATE on Elasticsearch backend in tests 2015-05-29 10:49:39 +01:00
Karl Hobley 72db917ddc Add AUTO_UPDATE option to backend parameters
By default, Wagtail will keep all search indexes up to date using signal handlers.

This is sometimes not needed/wanted. This PR allows auto-update to be configured on a per-index basis.
2015-05-29 10:49:39 +01:00
Karl Hobley 640383ad29 Updates to search backends docs 2015-05-29 10:49:16 +01:00
Matt Westcott a91ad071c0 Avoid calling to_python when retrieving form field values in FieldBlock.
to_python and get_prep_value should only be used for serialising / deserialising between native block values and their JSONish representations. Instead, we add two new methods value_for_form and value_from_form to handle any necessary conversions between form values and block values.
2015-05-28 17:14:14 +01:00
Karl Hobley c3a4a30719 Wording tweak 2015-05-28 15:18:51 +01:00
Karl Hobley a0ddfc9fec Tweak to the RoutablePageMixin examples
Use view names as defined in the example above
2015-05-28 15:18:18 +01:00
Karl Hobley 0662f915ad Reordered 1.0 upgrade considerations 2015-05-28 15:03:48 +01:00
Dan Braghis bce460a09c Merge pull request #1351 from kaedroho/docs-restructure-again
Further docs restructuring
2015-05-28 14:15:41 +01:00
Karl Hobley 1ba7e645fd Renamed howto to advanced topics 2015-05-28 12:58:50 +01:00
Karl Hobley 2e0dcc88d5 Moved some of the reference docs into topics 2015-05-28 12:57:00 +01:00
Matt Westcott deb9df4185 Be consistent about what kind of value the 'default' of a Block is.
Most places assume that it's the block's native value type (e.g. ListBlock.html_declarations calls child_block.render_form with it), but StructBlock erroneously calls to_python on it (which would imply that it's expecting a JSONish value), and some native value types (e.g. StreamValue / StructValue) can't be passed as defaults because they contain a reference to the not-yet-constructed block object.

To get around this, we introduce a block.get_default() method which is guaranteed to return a native value (performing type conversions when the 'default' passed in the constructor / meta class isn't one already) and avoid calling to_python on this return value.
2015-05-28 11:53:42 +01:00
Dave Cranwell bd45a12efd Simplified getting started section 2015-05-28 10:13:05 +01:00
Karl Hobley ca0085c68d Update Willow to 0.2.1 2015-05-27 14:33:35 +01:00
Karl Hobley f2012bcde0 Merge pull request #1319 from kaedroho/more-pages-docs-tweaks
Various improvements to pages docs
2015-05-27 09:47:34 +01:00
Karl Hobley a177a69824 Merge pull request #1306 from kaedroho/custom-image-model-docs
Add docs for custom image models
2015-05-27 09:40:52 +01:00
Karl Hobley 30eed43d10 Merge pull request #1318 from kaedroho/frontend-search-docs
Update frontend search view docs
2015-05-27 09:40:39 +01:00
Karl Hobley dc6a53a5fb Missing comma 2015-05-26 16:13:34 +01:00
Karl Hobley 26245ab1d4 Moved apps into root directory 2015-05-26 16:13:34 +01:00
Karl Hobley b7b5aec0c7 Added search app 2015-05-26 16:13:34 +01:00
Karl Hobley effa01919f Added home app 2015-05-26 16:13:34 +01:00
Karl Hobley dc36328407 Added base templates 2015-05-26 16:13:34 +01:00
Karl Hobley f4af64c8b9 Split up settings files 2015-05-26 16:13:34 +01:00
Karl Hobley 97e793127e Add empty static files 2015-05-26 16:13:34 +01:00
Karl Hobley 9e0ed3df77 Tweaked project template so it works with Wagtail 2015-05-26 16:13:34 +01:00
Karl Hobley e0c8af0f39 Copied project template from Django 1.8.0 2015-05-26 16:13:34 +01:00
Karl Hobley accf6f96a2 Deleted old project template 2015-05-26 16:13:34 +01:00
Karl Hobley 9c48f65972 Changelog/release notes 2015-05-26 14:00:52 +01:00
Karl Hobley 2aecf870a6 Merge pull request #1297 from kaedroho/fetch-translations-script
Add fetch-translations.sh
2015-05-26 13:42:23 +01:00
Dave Cranwell c18bab66c6 Tracking/Phone Home/Upgrade notification 2015-05-26 13:35:07 +01:00
Karl Hobley 589bc3e562 Added a reason for skipping a test 2015-05-26 11:24:53 +01:00
Karl Hobley 99daa36e1d Fix a missing bracket 2015-05-26 11:21:37 +01:00
Karl Hobley ded91decb6 Skip a sendfile test under Django 1.8
As per bbdb4379a0 (commitcomment-11084140)
2015-05-26 11:18:37 +01:00
Matt Westcott 1248a0bab0 update comment on Block.clean re the use of ValidationError params 2015-05-26 01:06:13 +01:00
Matt Westcott 71af8b4817 Merge pull request #1337 from gasman/feature/lazy-streamvalue
Implement lazy evaluation in StreamValue - fixes #1200
2015-05-25 22:26:07 +01:00
Matt Westcott c4064024d0 Implement lazy evaluation of raw JSONish stream data in StreamValue - fixes #1200 2015-05-25 22:14:44 +01:00
Karl Hobley 2ef88b0307 Use wagtail-ci image on Drone 2015-05-25 16:13:12 +01:00
Matt Westcott c6e539db32 Failing tests for StreamField lazy evaluation, from #1335 2015-05-22 22:37:03 +01:00
Karl Hobley e068fa8290 Merge pull request #1327 from harrislapiroff/patch-1
Missing + in docs.
2015-05-20 17:26:07 +01:00
Harris L. de7f1b4456 Update creating_pages.rst
Restore a missing `+`.
2015-05-20 12:25:09 -04:00
Karl Hobley 7bbde20c95 Don't make universal wheel files
The wheel file for Python 2 and Python 3 need to be slightly different as unicodecsv cannot be a dependency when using Python 3 (issue #1295)
2015-05-20 10:56:56 +01:00