0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

3651 Commits

Author SHA1 Message Date
Matt Westcott
00c1b573f4 implement hooks for defining your own embed / link handlers for the rich text editor 2015-03-23 15:40:23 +00:00
Karl Hobley
ab3b53adfe Use mocks when testing signal handlers 2015-03-22 16:48:55 +00:00
Karl Hobley
0b9eeae1ad Removed roadmap
Moved to: https://github.com/torchbox/wagtail/wiki/Roadmap
2015-03-22 12:08:22 +00:00
Karl Hobley
667fee8d15 Replaced django-redis-cache with django-redis
Fixes #1068
2015-03-22 12:08:22 +00:00
Karl Hobley
b2b3801371 Fixed capitalisation of Elasticsearch 2015-03-22 12:08:22 +00:00
Karl Hobley
6a968049f7 Search urls have changed 2015-03-22 12:08:22 +00:00
Karl Hobley
adb703ca2b South/django admin no longer required 2015-03-22 12:08:22 +00:00
Matt Westcott
156f715be6 within StreamBlock's default rendering, call force_text on children to prevent spurious escaping - fixes #1078 2015-03-20 20:59:47 +00:00
Matt Westcott
7fdf7bb10c Merge pull request #1059 from kaedroho/warnings-cleanup
Warnings cleanup
2015-03-20 16:00:44 +00:00
Karl Hobley
b8f8b1082a Merge pull request #1071 from kaedroho/tests-changes
Tests changes
2015-03-19 13:38:38 +00:00
Matt Westcott
15810546c6 Merge branch 'fix/datetime-picker-no-seconds' 2015-03-19 11:57:26 +00:00
Matt Westcott
8e3ea58b25 release note for #1018 2015-03-19 11:53:43 +00:00
Matt Westcott
3d705dc43d renumber migration 2015-03-19 11:37:14 +00:00
Matt Westcott
550d4e94da Standardise date/time formats between admin datetime widgets and Javascript code.
The JS for the datetime picker was previously updated to include seconds, to match Django's default format and thus fix #479 - however, the same bug also affected the time picker, which was left unfixed. Since we typically don't want seconds in our datetimes anyhow, we reverse that fix here, and instead update AdminDateWidget / AdminTimeWidget / AdminDateTimeWidget to explicitly use the seconds-less format that the JS expects. This also ensures that the JS behaviour will not break as a result of a site owner setting a non-standard value for DATE_INPUT_FORMATS / TIME_INPUT_FORMATS / DATETIME_INPUT_FORMATS in their site settings.
2015-03-19 11:29:16 +00:00
Matt Westcott
6f23a5b37b Merge branch 'feature/autosize-text-fields-in-edit-handlers' 2015-03-19 11:13:15 +00:00
Matt Westcott
fc6fe17c8c release note for #1070 2015-03-19 11:12:44 +00:00
Karl Hobley
5705ace2c6 Move GroupPagePermissionFormSet into users/forms.py 2015-03-18 22:57:23 +00:00
Karl Hobley
5aa6ed2c2a Docs for running the tests
Fixes #1004
2015-03-18 20:53:33 +00:00
Karl Hobley
23ee87243b Added Pillow to dev requirements 2015-03-18 19:13:20 +00:00
Karl Hobley
55ce9f761e Added *.swp and /venv to gitignore
.swp files are made automatically by vim and are easy to accidentally commit
/venv is a very common place to put a virtual environment which we wouldn't want to be committed
2015-03-18 19:06:15 +00:00
Karl Hobley
bff488d8fb Removed .drone.yml 2015-03-18 19:05:31 +00:00
Karl Hobley
a447e53ba7 Run tests with SQLite by default
SQLite doesn't require any initial setup and is significantly faster than PostgreSQL

Also removed USER/PASSWORD/HOST vars. Postgres users can pass in PGUSER, PGPASSWORD and PGHOST environment variables instead
2015-03-18 19:03:43 +00:00
Matt Westcott
2b57c8c43f test for 838affa 2015-03-18 17:30:55 +00:00
Matt Westcott
838affad84 Use AdminAutoHeightTextInput on plain TextFields - fixes #1041 2015-03-18 17:19:58 +00:00
Matt Westcott
61511a01c9 Merge branch 'davecranwell-expanding-textblock' 2015-03-18 12:04:45 +00:00
Matt Westcott
9c1c1ca0d5 Merge branch 'expanding-textblock' of https://github.com/davecranwell/wagtail into davecranwell-expanding-textblock 2015-03-18 11:46:51 +00:00
Matt Westcott
bd28d9288a Increase the maximum length of a page slug from 50 to 255 characters - fixes #787 2015-03-18 10:49:46 +00:00
Karl Hobley
ed9aad1418 Move login url settings release note up one space 2015-03-18 10:12:39 +00:00
Karl Hobley
58f89d2a91 Admin menu => Left hand menu 2015-03-18 10:08:48 +00:00
Karl Hobley
62f755054a Add some more detail to a 0.9 release note
Fixes #1065
2015-03-18 10:08:01 +00:00
Matt Westcott
406cc10796 Merge branch 'kaedroho-page-published-date' 2015-03-17 16:26:57 +00:00
Matt Westcott
846b309593 Release note for #1054 2015-03-17 16:26:43 +00:00
Matt Westcott
651dd4d9f3 Merge branch 'page-published-date' of https://github.com/kaedroho/wagtail into kaedroho-page-published-date 2015-03-17 15:56:39 +00:00
Matt Westcott
3abfa63046 Specify 1.7.1 as the minimum supported Django version 2015-03-17 14:49:29 +00:00
Karl Hobley
24e633e8e7 Test republishing a page wont set first_published 2015-03-17 13:51:17 +00:00
Karl Hobley
6f916a611b Make sure first_published_at is using live copy
When publishing, the first_published at gets set on the live copy, not in the revision.

This caused it to be set again on next publish because it is reading from the revision.
2015-03-17 11:49:42 +00:00
Karl Hobley
af7c1de978 Removed page modes tests
These views were already being tested in TestFormSubmission. I don't think anyone will ever call the modes directly making these tests a bit pointless.

They also use the assertTemplateUsed method badly (these should be used on a response).
2015-03-16 11:58:34 +00:00
Karl Hobley
8d9e72de09 Pass fields attribute to inlineformset_factory 2015-03-15 20:14:20 +00:00
Karl Hobley
00e5138885 Some tests for first_published_at 2015-03-12 13:55:06 +00:00
Karl Hobley
0bbd8edf68 Set first_published_at on first publish 2015-03-12 13:54:23 +00:00
Karl Hobley
cdbae1f575 Added first_published_at field to Page 2015-03-12 10:57:54 +00:00
Matt Westcott
80cb6e16e7 prepare for 0.8.6 release
Conflicts:
	CHANGELOG.txt
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2015-03-10 17:32:14 +00:00
Matt Westcott
a3b39fa901 upgrade consideration note for #1044 2015-03-10 17:26:24 +00:00
Karl Hobley
4f7edeed1f Changelog/release note for #1037 2015-03-10 13:07:03 +00:00
Karl Hobley
7cf60b676d Merge pull request #1037 from gasman/fix/recursive-page-deletion-2
Ensure that deletions always happen on the base Page model, to work around treebeard bug
2015-03-10 13:03:37 +00:00
Karl Hobley
38b7afc8ed Changelog/release note for #1044 2015-03-10 12:07:16 +00:00
Karl Hobley
9300179159 Merge pull request #1044 from gasman/fix/fixorphanedpages-task
Update 'fixtree' task to support deleting orphaned pages
2015-03-10 12:04:15 +00:00
Karl Hobley
4357e36391 Tests for #1044 2015-03-10 10:12:31 +00:00
Karl Hobley
87703c95fd Tweaked fixtree command to make it more testable
We can now pass thorough a "delete_orphans" option from the test which simulates a user pressing "y" at the prompt
2015-03-10 10:10:56 +00:00
Karl Hobley
80b3665dfd Use functools.reduce instead of reduce
reduce() no longer exists in python 3
2015-03-10 09:44:35 +00:00