Commit graph

2631 commits

Author SHA1 Message Date
Matt Westcott
f3f7b466b1 When generating dummy requests for pages with no routable URL, fall back on a hostname from ALLOWED_HOSTS and finally localhost 2014-06-03 14:15:18 +01:00
Tom Dyson
c052214880 Grammar fixes in FE docs 2014-06-03 13:30:45 +01:00
Dave Cranwell
e24e68fced Update CHANGELOG.txt 2014-06-03 12:59:49 +01:00
Karl Hobley
c7e6c42954 A couple of minor coding style fixes 2014-06-03 12:56:15 +01:00
Chris Rogers
0a7eac11ed Merge pull request #280 from kaedroho/issue-25
Made login view redirect already logged in users to dashboard
2014-06-03 12:37:18 +01:00
Chris Rogers
e144954b6e Merge pull request #276 from mope/snippets-unit-tests
Added tests for snippets edit_handlers.py
2014-06-03 12:35:25 +01:00
Chris Rogers
8ce045b150 Merge pull request #272 from mope/94-fix-spurious-validation-error-after-related-link-deleted
Fix #94
2014-06-03 12:33:47 +01:00
Matt Westcott
c7b997bd02 When previewing a page creation, populate url_path.
This ensures that Page.dummy_request can infer a sensible hostname rather than falling back on example.com, which fails when ALLOWED_HOSTS is enforced.
2014-06-03 11:50:38 +01:00
Karl Hobley
610ac3fc4b Merge branch 'master' into scheduled-publishing
Conflicts:
	wagtail/wagtailadmin/tests.py
	wagtail/wagtailcore/tests.py
2014-06-03 10:46:57 +01:00
Karl Hobley
e530531cb9 Cleanup of scheduled publishing tests 2014-06-03 10:37:39 +01:00
Karl Hobley
97ab613f88 Moved tests for publish pages command into wagtailcore 2014-06-03 10:28:00 +01:00
Karl Hobley
ad3c62fed5 Added go_live_at and expire_at to common page configuration 2014-06-03 10:22:14 +01:00
Karl Hobley
3fa98ef82e Renamed scheduled publishing fields 2014-06-03 10:21:21 +01:00
Karl Hobley
6107fa0bcf Removed unittest2 from .travis.yml 2014-06-03 09:43:10 +01:00
Karl Hobley
83ecd86937 Fixed unit test 2014-06-03 09:37:01 +01:00
Karl Hobley
406218438e Merge pull request #279 from kaedroho/requirements-change
unittest2 no longer an 'essential' requirement for developers
2014-06-03 09:14:54 +01:00
Jeffrey Hearn
1be56484b4 Updated hallo.js library to 1.0.4 from unknown version 2014-06-02 13:47:30 -04:00
Karl Hobley
414b3684b9 Don't paginate if the user is reordering 2014-06-02 17:15:28 +01:00
Karl Hobley
8b1db37b44 Keep ordering when paginating pages 2014-06-02 17:10:11 +01:00
Karl Hobley
12b81cb857 Added page pagination 2014-06-02 17:06:18 +01:00
Dave Cranwell
1207342f20 wording tweak 2014-06-02 16:34:45 +01:00
Dave Cranwell
09f1300f89 wording tweak 2014-06-02 16:26:46 +01:00
Karl Hobley
94f14ab12a Added changelog entry for #280 2014-06-02 16:17:40 +01:00
Dave Cranwell
e7e63e605e added a note about the image tag 'as' syntax 2014-06-02 16:15:49 +01:00
Karl Hobley
eddc3fc917 Always use login method from WagtailTestUtils 2014-06-02 16:07:31 +01:00
Dave Cranwell
4c8ae31b6f removed under construction notice. I consider it complete-ish. Otherwise it'll never be removed 2014-06-02 15:56:16 +01:00
Karl Hobley
f4ee926ffa Added URL assertions to tests which test redirecting 2014-06-02 15:56:14 +01:00
Dave Cranwell
3fb8dc03e5 updates to FE docs 2014-06-02 15:54:26 +01:00
Karl Hobley
106b27a5a5 Added template used assertions into many tests 2014-06-02 15:23:32 +01:00
Karl Hobley
d9825e9531 Fixed missing import 2014-06-02 14:03:02 +01:00
Karl Hobley
301fd6ec3c Made WagtailTestCase a mixin and renamed to WagtailTestUtils. 2014-06-02 13:59:06 +01:00
Karl Hobley
00a06856a8 Use WagtailTestCase class in admin page views tests 2014-06-02 13:56:54 +01:00
Karl Hobley
a8ca4f14da Return user object from login method 2014-06-02 13:56:19 +01:00
Tom Dyson
13c1af3d97 Don't be coy about our test coverage 2014-06-02 13:49:10 +01:00
Karl Hobley
765f90746a Use new WagtailTestCase class for checking redirect URLs in account management tests 2014-06-02 13:45:25 +01:00
Karl Hobley
7e7910ba3b Added LOGIN_REDIRECT_URL to runtests.py settings 2014-06-02 13:41:00 +01:00
Karl Hobley
7ba7ded7c6 Added WagtailTestCase class with a couple of useful methods 2014-06-02 13:40:34 +01:00
Karl Hobley
3f9cb2da6f Made login view redirect already logged in users to dashboard.
Fixes #25
2014-06-02 13:27:39 +01:00
Karl Hobley
337f5d4146 unittest2 no longer an 'essential' requirement for developers 2014-06-02 12:42:59 +01:00
Karl Hobley
b5586102ed Cleanup Filter.process_image a bit 2014-06-02 10:52:34 +01:00
Karl Hobley
e438a6d99b Minor wagtailimages cleanup 2014-06-02 10:51:47 +01:00
Karl Hobley
351b74c94b Wand image backend: Always clone images before performing oprations on them 2014-06-02 09:52:33 +01:00
Karl Hobley
d88a5e596b Cleanup wagtailimages backends code 2014-06-02 09:36:06 +01:00
Neal Todd
9ccdcc604e Recache coverage badge 2014-05-30 17:24:37 +01:00
Tom Talbot
4887bb7cf7 Added tests for snippets edit_handlers.py 2014-05-30 17:13:07 +01:00
Neal Todd
ad488fd6a4 Merge pull request #275 from kaedroho/core-tests
Core tests
2014-05-30 17:02:05 +01:00
Neal Todd
31bc3b0ba7 Merge pull request #274 from mope/snippets-unit-tests
WIP: Unit tests for snippets views
2014-05-30 17:01:54 +01:00
Neal Todd
adee0b5cf6 Merge pull request #273 from kaedroho/admin-tests
Admin tests
2014-05-30 17:01:36 +01:00
Karl Hobley
85ef536f05 Added test for send email task 2014-05-30 16:45:27 +01:00
Karl Hobley
370442d13d Added missing template 2014-05-30 16:38:32 +01:00