Wykres commitów

221 Commity (045fda35950de8b37c45ffacd00fff613e1eb0d5)

Autor SHA1 Wiadomość Data
Matt Westcott 7ec734e925 Document how to chain image operations in the image serve view (ref #908) 2016-10-05 15:54:05 +01:00
riceyrice 5869bc37bb Allow configuration or override of QueryDailyHits garbage collection 2016-09-22 14:21:38 +01:00
Karl Hobley ebe597610e API v2 docs (#2940) 2016-09-22 11:15:18 +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
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
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
Matt Westcott fc308c9ced Add setting to disable Unicode slug support #2937
* Ship our own copies of urlify.js and xregexp.min.js

This avoids issues with missing files when using Django 1.8 or omitting django.contrib.admin from INSTALLED_APPS (#2927), and guards against any breaking changes to these files in future Django releases.

* Add a WAGTAIL_ALLOW_UNICODE_SLUGS setting
2016-08-25 19:03:37 +03:00
Matt Westcott 20df607918 Remove deprecated wagtail.wagtailimages.utils module 2016-08-09 20:11:31 +01:00
anatoly techtonik b3ab3c4e02 Add another tutorial (#2894) 2016-08-05 11:20:55 +03:00
Matt Westcott 6886e89e41 Tweak wording for include_block tag documentation 2016-07-27 17:04:19 +01:00
Mikalai Radchuk d696d6bf9f Adds docs for a Jinja2 version of include_block 2016-07-27 16:52:14 +01:00
Janneke Janssen 06bfa43782 Documented the settings variable for WAGTAIL_USAGE_COUNT_ENABLED (#2706) 2016-06-13 20:47:27 +01:00
Janneke Janssen 978cef5218 Documented the WAGTAILIMAGES_MAX_UPLOAD_SIZE (#2683) 2016-06-05 18:16:13 +01:00
Tomas Olander 5ebc7d5044 Update branding docs to remove django-overextends
Fixes #2609
2016-05-31 10:34:26 +01:00
Karl Hobley c63dcdfc15 Added a missing link to release notes 2016-05-17 16:55:59 +01:00
Karl Hobley f8d7276800 Release note for #2459 2016-05-17 16:39:11 +01:00
Yannick Chabbert 58dfea096e add a sendfile class based view implementation 2016-05-17 16:34:32 +01:00
Matt Westcott 6ff98a543b Move custom user forms example to a new page under advanced_topics/customisation 2016-05-12 15:34:14 +01:00
nfletton c4feb6462f Add ability to override user creation and edit forms to allow custom user model
fields to be edited via Wagtail admin.
2016-05-12 15:34:14 +01:00
Karl Hobley 948bdf8d3c Tweaks to image serve view docs (#2588)
- key => signature
- Added "Advanced configuration" section (the last bit of the docs doesn't really fit into the general usage section above)
-
2016-05-10 14:56:12 +01:00
Tim Heap b727ec4064 Add documentation on the base_form_class attribute 2016-05-03 14:00:21 +01:00
Karl Hobley 5eef0f0a24 Mention that ImageMagick must be installed in "Animated GIF support"
Fixes #2505. Thanks to Frank Wiles and @ghostwords for spotting
2016-04-29 16:23:27 +01:00
Robert Rollins 7523d7f57f Removed all uses of STATIC_URL from code samples, replaced with static().
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.

I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
2016-04-28 10:57:22 +01:00
Robert Rollins 11793f88c5 Changed indentation on all code samples to 4 spaces.
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Andrew T. Baker 228088d33d Add WAGTAIL_APPEND_SLASH setting 2016-04-25 23:12:57 +01:00
Timo Rieber 31119b5954 Added openshift deployment infos using wagtail-openshift-quickstart 2016-04-06 11:44:25 +01:00
Karl Hobley 81795200c4 Docs for dynamic image serve view 2016-04-04 10:20:52 +01:00
Chris Townsend 8ac23d0554 Updated to include TEMPLATE requirement for Django 1.9+
In Django 1.9+ if you do not add: 'builtins': ['overextends.templatetags.overextends_tags'], to your TEMPLATES section you will receive a TemplateSyntaxError when the overextends template files are rendered: "Invalid block tag on line".  Including 'builtins': ['overextends.templatetags.overextends_tags'], per the overextends docs (and experience) resolves this error.

https://github.com/stephenmcd/django-overextends
2016-03-24 21:38:58 +00:00
Robert Rollins 6446c42132 Various typo fixes and grammar/clarity improvements. 2016-03-10 15:11:41 +00:00
Loïc Teixeira 10791a9c0b Remove dead link
The raw html which can be found on the repository states:
	Update 08/09/2015: This tutorial has been written during the first days of Wagtail, when documentation and tutorials about it were sparce; right now it should be considered by all accounts obsolete and not be followed! Instead, you should read the official (and very well written) tutorial in the official Wagtail documentation!
2016-03-06 21:05:05 +00:00
Mikalai Radchuk 72d9ae81b5 Release notes for #2253 2016-03-04 00:02:09 +03:00
Mike Dingjan 1f65a4aae6 updated documentation regarding html notifications 2016-03-03 23:05:34 +03:00
Matt Westcott 6851bbf1a6 Fix custom image docs to indicate that fields must be non-required 2016-03-01 12:07:35 +00:00
Tim Heap 224f3f5c37 Remove final references to django-compressor
* Remove references from docs
* Fix comment in SCSS files, and fix related variable names
* Remove COMPRESS_ENABLED setting from tests
2016-02-09 18:41:56 +00:00
Matt Westcott 20b42ad7d9 Remove django-compressor references from the 'Configuring Django' docs 2016-02-04 15:31:03 +00:00
Karl Hobley be82fa975d Removed django-compressor 2016-02-03 16:16:11 +00:00
Mikalai Radchuk 3f2f5665b0 Allow specifying custom edit handlers for snippets 2016-01-28 13:03:27 +00:00
Karl Hobley 95ff74feeb Moved advanced image topics into advanced topics 2016-01-27 11:27:16 +00:00
Matt Westcott 88078ac389 Reorder INSTALLED_APPS to put most specific apps first 2016-01-21 10:18:48 +00:00
Matt Westcott 7c211e7ec0 Update settings in 'configuring Django' docs for Django 1.9 2016-01-20 20:11:40 +00:00
Tim Heap 2c76441186 Add docs for WagtailPageTests 2015-12-15 15:49:40 +00:00
Karl Hobley 960d7aa575 feat(django 1.9): Move jinja2 tags out of templatetags folders
Django 1.9 now automatically imports all models in templatetags. This causes ImportErrors to be raised for users who do not have jinja2 installed.
2015-12-09 11:40:35 +00:00
Tom Dyson ef58ea3429 Document setting for case-insensitive tags 2015-11-30 18:07:08 +00:00
Matt Westcott d24081e432 Set WAGTAIL_PASSWORD_RESET_ENABLED to default to the value of WAGTAIL_PASSWORD_MANAGEMENT_ENABLED 2015-11-18 12:07:49 +00:00
John Draper 673ea92ee2 Document password management settings 2015-11-18 12:03:52 +00:00
Karl Hobley 4a6f2b5b43 Reworded sentence about using "self" in templates 2015-10-13 09:55:23 +01:00
Karl Hobley 6eae465e64 Renamed "self" template variable to "page" in docs 2015-10-13 09:52:16 +01:00
Karl Hobley eb27195e8f Fixed typo in Jinja2 docs 2015-10-08 16:59:58 +01:00
Anurag Sharma 5915ec1f0e Changed EMBEDLY_KEY to WAGTAILEMBEDS_EMBEDY_KEY 2015-10-07 20:44:15 +05:30
Karl Hobley 4dc09dfb22 Merge pull request #1755 from takeflight/feature/jinja2-template-functions
Add rudimentary Jinja2 template tag support
2015-10-06 22:00:47 +01:00
Matt Westcott deee02e4d7 Release note for #1391 2015-10-05 18:41:48 +01:00
Matt Westcott a86b08a622 Add favicon as an overrideable branding block - fixes #1391 2015-10-05 18:20:08 +01:00
Tim Heap bc6b5a8a6c Normalise all code blocks in the docs
All `.. code::` instances have been changed to use `.. code-block::`,
and have been properly formatted. The syntax names have been normalised,
so all django templates use the `html+django` syntax, shell commands use
`sh`, and plain text uses `text`.
2015-10-05 16:55:58 +01:00
Tim Heap 21d290af12 Add references to Django documentation on configuring Jinja 2015-10-02 08:06:28 +10:00
Tim Heap e225481f2f Add documentation for using Jinja2 2015-10-01 16:00:40 +10:00
Alex Gleason 6fc2dd4904 Removed broken link to non-existent vagrant install script 2015-09-23 14:51:43 -05:00
Dave Cranwell 12fc3e6601 Fixes #1600. Adds documentation and caveats about image formats system within rich text 2015-09-21 14:01:18 +01:00
Matt Westcott 2ed16e3ee2 Update documentation to indicate that SnippetChooserPanel no longer requires a snippet_type argument 2015-08-28 10:57:31 +01:00
Karl Hobley 48b0f92961 Tweaks based on feedback from @tomdyson 2015-08-24 12:09:47 +01:00
Benedikt Breinbauer d8c58f10f1 Fix some typos in i18n docs 2015-08-21 16:05:44 +01:00
Karl Hobley b8d0541f39 Some edits 2015-08-21 16:00:26 +01:00
Benedikt Breinbauer 0d040564d6 Fix LocaleMiddleware path in i18n docs 2015-08-21 15:25:48 +02:00
Karl Hobley ee61839fd5 Improvements to internationalisation docs 2015-08-21 11:08:11 +01:00
Karl Hobley a57b432078 Created internationalisation section of the docs 2015-08-20 12:29:25 +01:00
Matt Westcott f99141afc2 'extremely basic information' -> 'the hostname of your Wagtail site' 2015-07-15 17:12:19 +01:00
Matt Westcott 66e6c58b5b Merge branch 'search-config-tweak' of https://github.com/kaedroho/wagtail into kaedroho-search-config-tweak
Conflicts:
	docs/search/backends.rst
	wagtail/wagtailsearch/tests/test_backends.py
2015-06-26 16:33:21 +01:00
Karl Hobley 201164ccb5 Moved page privacy to advanced topics 2015-06-02 09:14:55 +01:00
Karl Hobley f9f6d52670 Moved page editor customisation to customisation section 2015-05-30 23:17:39 +01:00
Karl Hobley 5d52ae949d Added customisation section 2015-05-30 23:10:48 +01:00
Karl Hobley 1ba7e645fd Renamed howto to advanced topics 2015-05-28 12:58:50 +01:00