Karl Hobley
2444ee6e8d
Replace {% load static %} with {% load staticfiles %}
2016-02-03 16:17:06 +00:00
Karl Hobley
be82fa975d
Removed django-compressor
2016-02-03 16:16:11 +00:00
Karl Hobley
c928338cec
Removed all {% compress %} tags
2016-02-03 16:14:10 +00:00
Karl Hobley
c663ed7ff4
Move tagit into admin_base
2016-02-03 16:14:10 +00:00
Matt Westcott
03c623b467
Add Contributor Covenant
2016-02-03 15:47:50 +00:00
Tom Dyson
76c6a541f1
Create CONTRIBUTING.md
2016-02-03 07:59:29 +00:00
Karl Hobley
654347d65f
Drone: Remove need for wagtail-jscs image
2016-02-01 12:29:07 +00:00
Karl Hobley
7979dffdaa
Drone: Remove need for wagtail-flake8 image
2016-02-01 12:29:03 +00:00
Mitchel Cabuloy
d09d403d54
Fix frontend cache code example
2016-01-31 13:21:57 +08:00
Matt
0845f1e1c1
Fix notification errors when there are multiple moderation groups
...
On SQLite, not all moderators would receive a notification.
On Postgres, a “more than one row returned by a subquery used as an
expression” error was thrown.
2016-01-29 10:50:16 +00:00
Matt Westcott
6b78836d8d
Add missing backticks to 'Custom document models' release note
2016-01-28 13:05:50 +00:00
Mikalai Radchuk
3f2f5665b0
Allow specifying custom edit handlers for snippets
2016-01-28 13:03:27 +00:00
Matt Westcott
ca343e2358
Rewrite query for removing duplicate renditions as pure ORM code.
...
This will hopefully avoid the persistent issues with this query having to
be rewritten for different DB engines and versions (#827 , #1692 , #2105...)
Fixes #2105
2016-01-28 12:06:34 +00:00
Karl Hobley
0fe255be25
Run unit tests on Drone
2016-01-27 12:36:22 +00:00
Karl Hobley
ca6c43df48
👃
2016-01-27 11:45:20 +00:00
Karl Hobley
78b18feee7
✂️
2016-01-27 11:45:20 +00:00
Karl Hobley
0cf59107a7
Fix W503 warnings
2016-01-27 11:45:19 +00:00
Karl Hobley
ae957be7ed
Fixed E402 error
2016-01-27 11:45:19 +00:00
Karl Hobley
95ff74feeb
Moved advanced image topics into advanced topics
2016-01-27 11:27:16 +00:00
Karl Hobley
ae2e73b054
Rename "Creating your Wagtail site" to "Using Wagtail"
...
I think the words "Wagtail site" implies that Wagtail sites are a thing when they are in fact just Django projects with Wagtail installed.
So I think "Using Wagtail" is less likely to cause confusion.
2016-01-27 11:27:16 +00:00
Karl Hobley
8a9e65f92f
Change title of "topics" section to "Usage guide"
2016-01-27 11:27:16 +00:00
Karl Hobley
13217dd6ef
WAGTAILAPI_MAX_RESULTS is actually called WAGTAILAPI_LIMIT_MAX
...
Fixes #2156
2016-01-27 11:21:06 +00:00
Karl Hobley
df26c8de80
Added missing attributes to generic class based views
...
This lets us pass them as arguments to .as_view()
2016-01-27 11:19:09 +00:00
Karl Hobley
61593d38ad
Changelog/release note/contributor for #2153
2016-01-27 11:16:02 +00:00
Josh Schneier
941d3bec17
Fixes #2120 - bail out of RedirectMiddleware if request.site is not set
2016-01-27 11:12:13 +00:00
Karl Hobley
827ead12c2
Add on_delete=CASCADE to all ForeignKeys without on_delete action
...
Defining ForeignKeys/OneToOneFields without an on_delete action is deprecated in Django 1.9.
This commit adds on_delete=CASCADE to every ForeignKey that doesn't yet have an on_delete action.
2016-01-26 17:28:49 +00:00
Karl Hobley
8ef846d214
Set on_delete action to SET_NULL on Document.uploaded_by_user
...
This prevents deletion of users from deleting any Documents they have uploaded.
This is already the behaviour on images.
2016-01-26 17:13:57 +00:00
Karl Hobley
b70823f2aa
refactor(search/elastic): cleanup AtomicRebuilder.finish() method
2016-01-26 16:50:16 +00:00
Karl Hobley
27f50a527c
refactor(search/elastic): Removed CRUD methods from rebuilder classes
...
The .start() method now returns an ElasticSearchIndex object that you should perform CRUD operations against instead
This commit removes a nice test that will be reintroduced later
2016-01-26 16:50:16 +00:00
Karl Hobley
4441232fe3
refactor(search/elastic): Added ElasticSearchIndex class
...
This class represents an individual index in Elasticsearch.
This commit also refactors duplicated implementations of the CRUD methods for updating documents and mappings in the database. These now all live in the new index class.
2016-01-26 16:50:16 +00:00
Karl Hobley
c08f5b76a5
refactor(search/elastic): Moved INDEX_SETTINGS to ElasticSearch.settings
2016-01-26 16:50:15 +00:00
Karl Hobley
ba14487793
refactor(search/elastic): Lowercase type_map
2016-01-26 16:50:15 +00:00
Karl Hobley
6982a1f20a
refactor(search/elastic): Renamed attributes of ElasticSearch
2016-01-26 16:50:15 +00:00
Karl Hobley
e93ee241c2
docs(search/elastic): Fix capitalisation of Elasticsearch
2016-01-26 16:50:14 +00:00
Karl Hobley
9751e00c92
tests(search/elastic): Use swappable class names in tests
2016-01-26 16:50:14 +00:00
Karl Hobley
3bcb722a5f
refactor(search/elastic): Allow rebuilder classes to be swapped
2016-01-26 16:50:14 +00:00
Karl Hobley
ee10c18552
refactor(search/elastic): Allow mapping class to be swapped
2016-01-26 16:50:14 +00:00
Karl Hobley
45d8db71a0
refactor(search/elastic): Rebuilders now take index in __init__
2016-01-26 16:50:14 +00:00
Karl Hobley
3e218c4f96
refactor(search/backends): Removed search_ prefix from attributes
2016-01-26 16:50:14 +00:00
Chris Rogers
d754bac9bb
Changed success message for when a page is published with go_live_at
2016-01-26 10:31:38 +00:00
Tim Heap
66da5ad5ad
Remove double tagit initialisation
...
tagit was initialized from both the AdminTagWidget, and from the `done`
method in the image uploader. Initializing it twice led to strange
errors and ultimately the tags not being saved on the image model.
As the tag widget now contains its own initialisation <script>, tag
inputs do not need to be specially handled by AJAX code any more, so
this can simply be removed.
Fixes #2142
2016-01-25 18:56:11 +00:00
Karl Hobley
d68f4829c4
Allow importing embed finders by module
2016-01-25 18:11:01 +00:00
Karl Hobley
878975b1b8
Refactor get_default_finder to work without importing finders
2016-01-25 18:11:01 +00:00
Karl Hobley
5535e947a0
Tests for get_default_finder
2016-01-25 18:11:01 +00:00
Karl Hobley
12b8c60a8f
Remap old embed paths to new ones
...
For backwards compatibility
2016-01-25 18:11:01 +00:00
Karl Hobley
43b6545a5a
Moved get_default_finder into finders module
2016-01-25 18:11:01 +00:00
Karl Hobley
40778b538d
Moved embed finders into separate modules
2016-01-25 18:11:01 +00:00
Matt Westcott
8afe69fd72
Release note for #1867
2016-01-25 15:30:18 +00:00
Tim Heap
417cafe69b
Add @cached_classmethod, use instead of @classmethod/@lru_cache
2016-01-25 14:18:49 +00:00
Tim Heap
5714a6a3ab
Set base_form_class for SimplePage.edit_handler
2016-01-25 14:18:49 +00:00