0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

247 Commits

Author SHA1 Message Date
Karl Hobley
19730bea53 Renamed wagtail.wagtailsearch to wagtail.search
Conflicts:
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/topics/pages.rst
	docs/topics/search/searching.rst
	tox.ini
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/views/mixins.py
	wagtail/api/v2/filters.py
	wagtail/contrib/wagtailsearchpromotions/forms.py
	wagtail/contrib/wagtailsearchpromotions/views.py
	wagtail/documents/models.py
	wagtail/documents/views/chooser.py
	wagtail/documents/views/documents.py
	wagtail/documents/views/multiple.py
	wagtail/images/migrations/0001_initial.py
	wagtail/images/models.py
	wagtail/images/views/chooser.py
	wagtail/images/views/images.py
	wagtail/images/views/multiple.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/project_template/search/views.py
	wagtail/search/tests/test_frontend.py
	wagtail/search/tests/test_index_functions.py
	wagtail/search/views/frontend.py
	wagtail/search/views/queries.py
	wagtail/search/wagtail_hooks.py
	wagtail/tests/demosite/models.py
	wagtail/tests/modeladmintest/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/migrations/0001_initial.py
	wagtail/tests/testapp/migrations/0020_customdocument.py
	wagtail/tests/testapp/models.py
	wagtail/tests/urls.py
	wagtail/wagtailsnippets/views/chooser.py
	wagtail/wagtailsnippets/views/snippets.py
2017-11-26 22:43:47 +00:00
Karl Hobley
bf0f3e02ba Rename wagtail.wagtailimages to wagtail.images
Conflicts:
	docs/advanced_topics/api/v2/configuration.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	gulpfile.js/config.js
	tox.ini
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_streamfield.py
	wagtail/documents/tests/test_models.py
	wagtail/images/models.py
	wagtail/images/permissions.py
	wagtail/images/tests/test_admin_views.py
	wagtail/images/tests/test_image_operations.py
	wagtail/images/tests/test_models.py
	wagtail/images/tests/test_signal_handlers.py
	wagtail/images/views/chooser.py
	wagtail/images/views/images.py
	wagtail/images/views/multiple.py
	wagtail/images/wagtail_hooks.py
	wagtail/images/widgets.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/migrations/0001_initial.py
	wagtail/tests/testapp/migrations/0008_inlinestreampage_inlinestreampagesection.py
	wagtail/tests/testapp/migrations/0009_defaultstreampage.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
78b1372cd4 Rename wagtail.wagtaildocs to wagtail.documents
Conflicts:
	docs/advanced_topics/i18n/index.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	gulpfile.js/config.js
	wagtail/admin/tests/test_collections_views.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_collection_permission_policies.py
	wagtail/documents/permissions.py
	wagtail/documents/tests/test_admin_views.py
	wagtail/documents/tests/test_collection_privacy.py
	wagtail/documents/tests/test_models.py
	wagtail/documents/views/chooser.py
	wagtail/documents/views/documents.py
	wagtail/documents/views/serve.py
	wagtail/documents/wagtail_hooks.py
	wagtail/documents/widgets.py
	wagtail/project_template/project_name/urls.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/models.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
062d05189b Rename wagtail.wagtailadmin to wagtail.admin
Conflicts:
	docs/advanced_topics/customisation/admin_templates.rst
	docs/advanced_topics/customisation/page_editing_interface.rst
	docs/advanced_topics/i18n/duplicate_tree.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/reference/hooks.rst
	docs/reference/pages/panels.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	wagtail/admin/blocks.py
	wagtail/admin/checks.py
	wagtail/admin/edit_handlers.py
	wagtail/admin/forms.py
	wagtail/admin/rich_text.py
	wagtail/admin/search.py
	wagtail/admin/site_summary.py
	wagtail/admin/templatetags/wagtailadmin_tags.py
	wagtail/admin/tests/test_admin_search.py
	wagtail/admin/tests/test_buttons_hooks.py
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/admin/tests/test_page_chooser.py
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/tests/test_rich_text.py
	wagtail/admin/tests/test_widgets.py
	wagtail/admin/tests/tests.py
	wagtail/admin/urls/__init__.py
	wagtail/admin/views/account.py
	wagtail/admin/views/chooser.py
	wagtail/admin/views/collection_privacy.py
	wagtail/admin/views/collections.py
	wagtail/admin/views/home.py
	wagtail/admin/views/page_privacy.py
	wagtail/admin/viewsets/model.py
	wagtail/admin/wagtail_hooks.py
	wagtail/admin/widgets.py
	wagtail/contrib/settings/registry.py
	wagtail/contrib/wagtailsearchpromotions/wagtail_hooks.py
	wagtail/contrib/wagtailstyleguide/wagtail_hooks.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/project_template/project_name/urls.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/models.py
	wagtail/tests/testapp/wagtail_hooks.py
	wagtail/tests/urls.py
	wagtail/wagtaildocs/models.py
	wagtail/wagtaildocs/views/chooser.py
	wagtail/wagtaildocs/wagtail_hooks.py
	wagtail/wagtailembeds/wagtail_hooks.py
	wagtail/wagtailforms/models.py
	wagtail/wagtailforms/tests/test_views.py
	wagtail/wagtailforms/views.py
	wagtail/wagtailforms/wagtail_hooks.py
	wagtail/wagtailimages/models.py
	wagtail/wagtailimages/views/chooser.py
	wagtail/wagtailimages/wagtail_hooks.py
	wagtail/wagtailredirects/forms.py
	wagtail/wagtailredirects/wagtail_hooks.py
	wagtail/wagtailsites/forms.py
	wagtail/wagtailsites/views.py
	wagtail/wagtailsites/wagtail_hooks.py
	wagtail/wagtailsnippets/tests.py
	wagtail/wagtailsnippets/wagtail_hooks.py
	wagtail/wagtailusers/forms.py
	wagtail/wagtailusers/views/groups.py
	wagtail/wagtailusers/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
4300e19da2 Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
LB
48b6a1b067 add note about django-treebeard api 2017-11-12 18:13:23 +00:00
LB
cd924d0948 add docs for exclude_fields_in_copy 2017-11-10 11:02:55 +00:00
Matt Westcott
aebb69a2ba Remove dead links to API v1 docs 2017-11-03 17:03:57 +00:00
Jonathan Carmack
7859627a6e Added hooks for user for create, delete, and edit actions 2017-11-03 16:53:32 +00:00
Karl Hobley
bf7936ade2 Replace django.core.urlresolvers with django.urls 2017-11-01 16:22:46 +00:00
Karl Hobley
b350672585 Merge pull request #3934 from gasman/cleanup/remove-python2
Remove Python 2 fallback code
2017-10-26 14:41:43 +01:00
Karl Hobley
fa302c0853 Remove wagtail.contrib.wagtailapi 2017-10-25 16:49:17 +01:00
Karl Hobley
bd38525e5b Merge branch 'master' into cleanup/remove-python2 2017-10-25 16:21:27 +01:00
Matt Westcott
60c26e5565 Remove note about Django 1.10 being required for postgres search backend 2017-10-25 16:15:02 +01:00
Matt Westcott
5f382d8784 Remove Python 2 references from docs 2017-10-13 12:24:42 +01:00
Matt Westcott
119d2334ac Replace insert_editor_js hook example with a non-registerHalloPlugin one
Fixes #3839
2017-10-10 11:51:45 +01:00
Matt Westcott
de3f9550b4 Release note for #3824 2017-10-05 15:40:55 +01:00
Karl Hobley
48cfb8e790 Tweaks to the docs 2017-10-05 15:15:21 +01:00
Karl Hobley
0cb63c72c5 Implemented suggestions from @chosak 2017-10-05 15:15:20 +01:00
Karl Hobley
8dc425660b Docs for batch cache invalidation 2017-10-05 15:15:20 +01:00
Matt Westcott
b0aedf02dc Remove old versionadded annotations from the docs 2017-08-22 14:08:44 +01:00
Joe Cronyn
d56f1069ef Updating to allow no limit max 2017-08-22 12:09:05 +01:00
Matt Westcott
b376da022f Grammar nitpick ('By default' sounds more natural than 'Per default') 2017-08-11 09:58:44 +01:00
Andreas Nüßlein
39bca11283 added default index_route for RoutablePageMixin
RoutablePageMixin has a default index_route method that is decorated
with `@route(r'^$')`. This way, including RoutablePageMixin doesn't
force you to re-enable the default functionality you would expect from a
Page anyways.
index_route behaves exactly like a standard Wagtail Page.
To override the default behaviour, one can simply override the route by
decorating another function with r'^$'.

(as disussed in issue #2866)
2017-08-11 09:58:44 +01:00
Matt Westcott
70aa876e55 Extra documentation / release note re the relationship between draft_title and get_admin_display_title 2017-08-03 12:05:52 +01:00
Eugene Morozov
7b55c5094f Backslash is not necessary when multi-line expression is parenthesized. 2017-07-18 09:56:42 +03:00
Matt Westcott
049b15f3fe Define a 'before_serve_document' hook 2017-06-16 14:50:47 +01:00
LB
18cb0245fc allow default for show_in_menus 2017-06-09 12:50:39 +01:00
Matt Westcott
927770eaab Release note / docs for #3608 2017-06-02 10:58:34 +01:00
Matt Westcott
2f2bfa0159 Make tagging example not rely on an unmentioned 'blogs' method - fixes #3602 2017-05-30 20:39:30 +01:00
iSar
411c117964 Fix typo in settings doc (#3595) 2017-05-15 09:12:16 +03:00
Sebastian
49d706b406 Update docs - run python manage.py migrate once
We have to run python manage.py migrate once, in order to create the necessary tables for the postgres search backend.
Otherwise we get an error, as the insert in the table is not possible.
2017-04-21 09:16:44 +01:00
Michael van Tellingen
7ad348ffa7 Minor documentation update for sitemaps 2017-04-19 13:40:43 +02:00
Michael van Tellingen
c6c2868c58 Update documentation related to the sitemaps
Since we now use regular Django sitemaps we can mostly just refer to the
Django documentation

Co-authored with @mikedingjan
2017-04-19 13:40:43 +02:00
Karl Hobley
0d1c277e85 Added versionadded tag to postgres search doc 2017-04-12 16:30:45 +01:00
Bertrand Bordage
e62d67bd73 Adds PostgreSQL search backend. (#3515)
* Adds PostgreSQL search backend.

* Isort nitpicks.

* Fixes PostgreSQL versions incompatibilities.

* Uses Django lru_cache instead of building our own.

* Fixes PostgreSQL search index on some empty vector & query cases.

* Never sets the PostgreSQL search vector to NULL.

* Simplification + removes caching on two fast enough functions.

* Rewrites stale entries deletion to use the ORM.
2017-04-12 16:16:16 +01:00
Andy Babic
37bbbb9dba Improved code separation in contrib.modeladmin (#3467)
* Split `helpers.py` into separate `url.py`, `permission.py` and `button.py`, dedicated to those separate concerns and update the docs accordingly

* Move `ThumbnailMixin` out to `mixins.py` and update documentation accordingly

* Ad #NOQA to import lines to hush pep errors

* Alphabetise helper import order

* - Delete `helpers/helpers.py`
- wagtal -> wagtail in docs
2017-03-28 10:34:03 +01:00
Rob Moorman
c7b778c4e9 Removed docs
Added release docs with upgrade consideration of alternative to django-medusa
2017-03-23 12:30:21 +01:00
Matt Westcott
60f28f8dc3 Mark API v1 documentation as deprecated (#3429) 2017-03-07 10:49:19 +00:00
Andy Babic
3348cd5c89 Reduce modeladmin’s dependency on wagtail.wagtailimages and wagtail.wagtaildocs
- Remove imports at the top of options.py and views.py that result in ImportError when those apps aren’t installed
- Alter ThumbnailMixin and InspectView to use the `wagtail.wagtailimages.shortcuts.get_rendition_or_not_found()` method to render images, which handles missing image source files gracefully, and reduces code duplication.
- Simplify `get_field_display_value()` by not limiting image and document rendering to ForeignKey fields. It should work consistently for property methods or other attributes too.
2017-03-03 15:33:17 +00:00
Matheus Bratfisch
ca16e9187f Add exclude_fields to ModelAdmin and ModelFormView, tests and doc 2017-02-22 11:41:44 +00:00
Gagaro
46c9cdda15 feat: Added construct_image_chooser_queryset, construct_document_chooser_queryset and construct_page_chooser_queryset hooks 2017-02-17 10:40:03 +00:00
Andy Chosak
b00bf70229 Document register_page_listing_more_buttons (#3377)
* add docs for register_page_listing_more_buttons
2017-02-16 21:40:57 +00:00
Gagaro
ac7ad067d2 feat: can order hooks 2017-02-10 10:06:43 +00:00
Matt Westcott
ee837dedc5 in Page reference docs, don't tell people to consult source code (#3303)
Stylistically this sentence is somewhat content-free (if the API is really "relatively straightforward", users can see that for themselves rather than us informing them of that fact...), and we don't want to encourage people to use undocumented methods (because we can't guarantee that the API for them will remain stable).
2017-01-28 00:11:52 +00:00
Kevin Whinnery
6402e56fb5 Update model_reference.rst 2017-01-26 20:05:35 +00:00
Mikalai Radchuk
e25d2fc025 Fix a typo in a docstring 2017-01-25 21:34:25 +03:00
Mikalai Radchuk
8cabddfda0 Fix grammar mistakes 2017-01-25 21:34:25 +03:00
Mikalai Radchuk
7f10938b57 Add docs about wagtailforms customisation
Fixes #2945
2017-01-25 21:34:25 +03:00
Matt Westcott
29645c0f6a Mention addition to INSTALLED_APPS in routablepage docs
Fixes #3286
2017-01-23 17:07:19 +00:00