Wykres commitów

3856 Commity (470fb33b408996ebb70d20a8c19fce5938707f4a)

Autor SHA1 Wiadomość Data
Matt Westcott 470fb33b40 fix URL escaping for Django 1.8 2015-04-13 20:47:04 +01:00
Matt Westcott f9185485a5 test _auth_user_id as a string value 2015-04-13 20:47:04 +01:00
Matt Westcott d9accc653c Test the HTML output of test_request_serving rather than the template name
Digging around in the response to determine the template used involved an internal API that was changed in Django 1.8, but in any case we should be testing the actual output, not some invisible parameter of it
2015-04-13 20:47:03 +01:00
Matt Westcott 2abe269b75 Update test_create_link to test against a URL with a trailing slash
This means that our test is no longer implicitly depending on a Django quirk that was removed in 1.8: https://docs.djangoproject.com/en/1.8/releases/1.8/#miscellaneous "URLField.to_python no longer adds a trailing slash to pathless URLs."
2015-04-13 20:47:02 +01:00
Matt Westcott e32e050b30 Add conditionals to test migrations so that they report as up-to-date on both Dj1.7 and 1.8
This would be a bad idea if we were using these migrations for real (because different versions of Django would have different interpretations about what the 'correct' state of the database is), but it doesn't matter for tests because the database is created/torn down on every invocation.
2015-04-13 20:46:04 +01:00
Karl Hobley bb61b33783 Update tox pip requirements 2015-04-13 20:44:40 +01:00
Karl Hobley 7a830bbe35 Call super setUpClass
Fixtures are now loaded in setUpClass so we must make sure it gets called
2015-04-13 20:44:35 +01:00
Karl Hobley 3efbb152ca Django 1.8 support for API 2015-04-13 20:44:28 +01:00
Karl Hobley ee2f5530cf Set pk of page in PageRevision.as_page_object
Otherwise, Django sees it as unsaved and doesn't allow any foreign keys to point to it
2015-04-13 17:28:30 +00:00
Karl Hobley 536c09f81f Don't run flake8 test on travis
Running on drone instead
2015-04-13 11:11:10 +01:00
Karl Hobley aec309cbdc Update .drone.yml 2015-04-12 18:40:01 +01:00
Matt Westcott 92bb4f980b Merge branch 'master' of github.com:torchbox/wagtail 2015-04-10 15:37:47 +01:00
Karl Hobley 4b5341fd79 Implemented get_related_model in utils.compat 2015-04-10 14:49:13 +01:00
Karl Hobley 012209cc24 Django 1.8 support in edit handlers 2015-04-10 14:49:04 +01:00
Karl Hobley 4f2affcb60 Update get_object_usage to work on Django 1.8 2015-04-10 14:48:51 +01:00
Karl Hobley 11a95a4948 Add args attribute to move_pages and replace_text
Django no longer implicity accepts positional arguments without args being set.
See: https://docs.djangoproject.com/en/dev/releases/1.8/#management-commands-that-only-accept-positional-arguments
2015-04-10 14:33:37 +01:00
Karl Hobley 944017d2c0 Don't set ContentType.name on Django 1.8+
This is now a property rather than a field
2015-04-10 14:08:48 +01:00
Matt Westcott 464dbc9ae2 bump/un-pin versions of modelcluster and taggit 2015-04-10 14:01:09 +01:00
Karl Hobley b6b685a1e1 Test flake8 on drone 2015-04-10 09:47:11 +01:00
Matt Westcott bbc0c85193 Merge pull request #1169 from kaedroho/docs-version-changes
Docs versionadded/changed changes
2015-04-09 17:10:07 +01:00
Karl Hobley df446f1475 0.9 => 1.0 2015-04-09 17:06:32 +01:00
Karl Hobley 0e67d5b3ca Removed all versionchanged older than 0.7 2015-04-09 17:05:26 +01:00
Karl Hobley 8d162d0a86 Removed all versionadded older than 0.7 2015-04-09 17:03:33 +01:00
Matt Westcott 4c03e39362 Merge branch 'zerolab-update-hook-names' 2015-04-09 14:13:23 +01:00
Matt Westcott bb7076f978 better heading 2015-04-09 14:13:11 +01:00
Matt Westcott 42f96668ee Merge branch 'update-hook-names' of https://github.com/zerolab/wagtail into zerolab-update-hook-names
Conflicts:
	CHANGELOG.txt
2015-04-09 14:13:01 +01:00
Dan Braghis 5c197593bc Add upgrade considerations 2015-04-09 14:09:30 +01:00
Karl Hobley 5ac1bc217a Revert "Recommend defining subpage_urls as a property"
This reverts commit 4c0803ccc4.
2015-04-09 14:07:53 +01:00
Karl Hobley 09835326d7 Revert "Make subpage_urls a property on RoutablePageTest"
This reverts commit d80a92cfe4.
2015-04-09 14:07:41 +01:00
Karl Hobley 0262a55541 Updated API usage docs 2015-04-09 12:13:43 +01:00
Karl Hobley 69cabffb39 Merge pull request #1145 from kaedroho/images-docs
Some image docs tweaks
2015-04-09 11:55:43 +01:00
Karl Hobley 5d9eeb25ae Fix flake8 travis config
Accidentally put in wrong section...
2015-04-08 22:40:20 +01:00
Matt Westcott 29b7ba49d6 Merge branch 'kaedroho-flake8' 2015-04-08 21:27:05 +01:00
Matt Westcott 43d1261c2f Merge branch 'flake8' of https://github.com/kaedroho/wagtail into kaedroho-flake8
Conflicts:
	wagtail/wagtailadmin/views/account.py
2015-04-08 21:26:57 +01:00
Matt Westcott 74273275e4 Merge branch 'kaedroho-issue-1124' 2015-04-08 11:49:41 +01:00
Matt Westcott 7ff9f3ee50 Release note for #1147 2015-04-08 11:49:19 +01:00
Matt Westcott c53ffbf929 Merge branch 'issue-1124' of https://github.com/kaedroho/wagtail into kaedroho-issue-1124 2015-04-08 11:45:43 +01:00
Karl Hobley bda345c9de Cleaned up E701 errors 2015-04-03 19:31:43 +01:00
Karl Hobley 5b49ddb5e3 Cleaned up E703 Error
Not Javascript!
2015-04-03 19:31:43 +01:00
Karl Hobley b76b64ae39 Clean up W601 error 2015-04-03 19:31:43 +01:00
Karl Hobley 82fef49c37 Silence an F403 error 2015-04-03 19:31:43 +01:00
Karl Hobley cdd8528ed9 Clean up E122 errors 2015-04-03 19:31:43 +01:00
Karl Hobley 9ca401176e Clean up E112 error 2015-04-03 19:31:43 +01:00
Karl Hobley dd61cc799e Clean up E127 errors 2015-04-03 19:31:43 +01:00
Karl Hobley 8013c9400c Clean up E201 error 2015-04-03 19:31:43 +01:00
Karl Hobley 80c2b00e74 Clean up E265 errors 2015-04-03 19:31:43 +01:00
Karl Hobley 0143fb9944 Clean up E226 errors 2015-04-03 19:31:43 +01:00
Karl Hobley 71441defc4 Fixed missing newline (W292) 2015-04-03 19:31:43 +01:00
Karl Hobley 66b7f71687 Fix local variable name clash (F812) 2015-04-03 19:31:43 +01:00
Karl Hobley 88ef591b84 Fixed a couple of clashing test names (F811) 2015-04-03 19:31:43 +01:00