Commit graph

893 commits

Author SHA1 Message Date
Doug Bell
19dedc0b7c fix problem revealed by tests
update() in a File asset would always create a storage location if one
was not yet saved. calling update() in a filter method would cause
another one to be created too, messing up the tests.
2010-11-16 20:54:49 -06:00
Doug Bell
270f52aaaa fix 11954 Can't clear packed head tags 2010-11-16 18:47:51 -06:00
Doug Bell
55920f59e0 fix #11964 files show in trash and old revisions 2010-11-16 17:54:08 -06:00
Colin Kuskie
f2ac0bc67c Shortcut uses the wrong date for the overridden getContentLastModified. Fixes bug #11935. 2010-11-01 10:26:08 -07:00
Colin Kuskie
04ec75719e Make a new storage location when an Event is duplicated. Fixes bug #11937. 2010-11-01 09:19:08 -07:00
Paul Driver
7219e21f86 Merge branch 'fork' 2010-11-01 08:20:38 -05:00
Paul Driver
fa471df450 Story Archive now plays nice with urlExtensions 2010-10-26 14:27:47 -07:00
Paul Driver
e67ad18517 fixed #11929: In/Out board breaks in Chrome sometimes 2010-10-26 13:16:57 -07:00
Paul Driver
0d46331745 fixed #11928: Story Archive breaks if url has extension 2010-10-26 11:09:11 -07:00
Paul Driver
c86ee12651 Fixing some failing tests 2010-10-07 16:14:48 -07:00
Scott Walters
8eb6de343b Load WebGUI::Test before other modules so that it can fix up @INC to point to the main, non-test, libs. Thanks, cj! 2010-09-30 12:01:30 -04:00
Colin Kuskie
0406e82546 Links in wiki search to add a missing page should encode the titles to make them URL safe. Fixes bug #11883. 2010-09-27 09:33:41 -07:00
Colin Kuskie
5faa77b2fb Also test for STYLE tags when making the DataForm form view. 2010-09-21 14:28:04 -07:00
Colin Kuskie
f34f8e59bd Add a test to make sure that view does not return CSS or JS links with src/href attributes. 2010-09-21 14:23:47 -07:00
Colin Kuskie
b4c20a1203 Fix importing an Archive in default order. Update the test to now explicitly test for archive order. Fixes bug #11866. 2010-09-20 11:45:30 -07:00
Colin Kuskie
2eed74891a Restore addAttachments and restoreAttachments to the 7.x series. In 8.x, the object property will act like an arrayref, so they won't be necessary. Fixes bug #11861. 2010-09-14 10:42:59 -07:00
Colin Kuskie
927b986795 Forbid pasting content below a shortcut, to prevent loops on purge and other operations. Fixes bug #11855. 2010-09-13 18:47:17 -07:00
Colin Kuskie
1d99ee451e Allow users to enter 24:00:00 by hand, and have the Event handle it correctly. Fixes bug #11788 2010-09-13 11:04:03 -07:00
Colin Kuskie
5608a43916 topStory template variables should be available in standAlone and not standAlone modes. Added template variables for delete and edit icons for the top story. Updated the tests, template and template variable help. Fixes bug #11851. 2010-09-09 11:56:50 -07:00
Colin Kuskie
c79bc75840 Fix encoding problems with the SC asset. Update the encodings test to no longer require an ENV variable to run. Fixes bug #11795 2010-08-24 16:53:35 -07:00
Colin Kuskie
f39a13912e Refactor SC tests, separating encodings out into their own test file. TEST_ENCODINGS=1 to run this new test. 8/13 tests fail. 2010-08-24 15:24:22 -07:00
Colin Kuskie
e0eaa2e13f Fix group permissions when editing/adding an Event. Fixes bug #11800. 2010-08-23 11:48:57 -07:00
Colin Kuskie
80c906b8eb Really fix sorting numerically for resolutions. Added tests to check it. 2010-08-17 13:30:39 -07:00
Colin Kuskie
eac7fe8a64 Gallery resolutions are integers. Fixed sorting the resolutions, and fixed the tests to not use bad resolutions. Fixes bug #11787 2010-08-17 11:16:58 -07:00
Colin Kuskie
7c3d572146 Add tests for attachment_loop handling in the Post. 2010-08-16 10:09:10 -07:00
Colin Kuskie
8f7bbdaa5d Fixes bug #11780: anchor filename regex to the end of the string. 2010-08-15 23:23:49 -07:00
Colin Kuskie
05c287cfc7 Thingy add/edit via AJAX returned nothing useful, and lied about error status. Fixes bug #11781. 2010-08-15 23:16:53 -07:00
Colin Kuskie
7251cc2c23 Secure and fix the Zip Archive. 2010-08-11 17:38:15 -07:00
Doug Bell
1f99da3315 fix syndicated content test with a new RSS url 2010-08-11 16:26:41 -05:00
Doug Bell
4e9a2c07c2 fix possible vulnerability loading template parser 2010-08-11 15:37:34 -05:00
Colin Kuskie
0f475dd013 Update the test to handle safe (- => _____) listingIds. 2010-08-11 13:17:27 -07:00
Colin Kuskie
19199cac9a Fix bugs in AssetReport code, and test. 2010-08-10 20:57:31 -07:00
Colin Kuskie
6eba088fe9 Update test to accomodate new restriction on uploading .pm files. 2010-08-10 20:50:00 -07:00
khenn
22da7c4114 initial release of Asset Report asset allowing reports to be created using asset properties. 2010-08-10 18:53:22 -05:00
Colin Kuskie
cb2bb75d23 Remove notes and diags 2010-08-10 16:32:10 -07:00
Doug Bell
bd4e7a2ec0 fix 11768 Edit Branch does not update wgaccess
I can't seem to reproduce this problem in the tests...
2010-08-10 18:21:16 -05:00
Colin Kuskie
ea1bb5f714 No more dash escaping for the Matrix. 2010-08-10 10:27:46 -07:00
Colin Kuskie
8a448e8f96 Tests for methods that die. Strange tom-foolery to get $@ into the logged message... 2010-08-10 10:27:45 -07:00
Colin Kuskie
3a9a3dd8e9 Add retry in case of problems in dispatch. Add tests for logging errors for bad templates. 2010-08-10 10:27:45 -07:00
Colin Kuskie
25fb019a18 Prepare a test method for throwing Template exceptions. Add code to handle HTTP 304 for visitors. 2010-08-10 10:27:45 -07:00
Colin Kuskie
08f453475e Add extra tests for denied www methods, checking asset state, add comments to test, and cleanup code. 2010-08-10 10:27:45 -07:00
Colin Kuskie
c987747409 Explicit return of undef in the fall through case. Test for notFound now look for undef. Added POD. 2010-08-10 10:27:45 -07:00
Colin Kuskie
7e96b15141 Check for fragment existance. Clarify a test. 2010-08-10 10:27:44 -07:00
Colin Kuskie
ead0c0d0e9 Fix test setup and lib dirs. 2010-08-10 10:27:44 -07:00
Doug Bell
9d6463f1e7 make sure something is returned 2010-08-10 10:27:44 -07:00
Doug Bell
2ccbdf4e19 fix %INC jiggery-pokery 2010-08-10 10:27:44 -07:00
Doug Bell
b5e1db8ff9 test default www_view with unhandled fragment 2010-08-10 10:27:44 -07:00
Doug Bell
b77f98ed6a test ?func= dispatch with unhandled fragment 2010-08-10 10:27:44 -07:00
Doug Bell
7ab4c2d95f test overridden dispatch should trump default 2010-08-10 10:27:44 -07:00
Doug Bell
2d8c354cb3 add tests for new dispatch system 2010-08-10 10:27:43 -07:00