Commit graph

2669 commits

Author SHA1 Message Date
Scott Walters
9287b818bf Account for additional form fields added at run-time in the tests. 2010-08-18 15:03:46 -04:00
Scott Walters
c54868e21e Give the tests for WebGUI::Asset::File::GalleryFile::Photo a storage location with a jpg in it so it can do its naughty business. 2010-08-18 14:48:31 -04:00
Colin Kuskie
113f9d41c4 Restore file deleted from repo, t/run_asset.t 2010-08-13 12:31:13 -07:00
Colin Kuskie
3e8e2d452c Merge branch 'master' into WebGUI8. Merged up to 7.9.12 2010-08-13 12:25:19 -07:00
Colin Kuskie
7b218942b3 Merge commit '63865eb39f' into WebGUI8. up to 7.9.11 2010-08-13 11:52:08 -07:00
Scott Walters
2d1dcf202a Default postProcessMergedProperties in case our child class doesn't have one. Oops. 2010-08-11 23:52:31 -04:00
Scott Walters
773fadcffc Pass empty JSON for icalFeeds field in Calendar until I can get good sample data; makes Calendar Test::Asset tests pass. 2010-08-11 23:24:28 -04:00
Colin Kuskie
d92fc76cc9 Add a new test collateral file. 2010-08-11 18:05:11 -07:00
Colin Kuskie
7251cc2c23 Secure and fix the Zip Archive. 2010-08-11 17:38:15 -07:00
Scott Walters
5d50866461 Add support for additional, required per-package constructor args.
Give better diagnostics on which properties don't appear in forms and vice versa so I can hopefully figure out the rhyme and reason to those that don't match.
When an edit form takes attachmentsJson, stick some in there so it doesn't get upset and to give it a workout.
2010-08-11 19:36:48 -04:00
Scott Walters
48f239a178 Requires extra arguments to Asset constructor; list them in the package so Test::Asset can query and use them. 2010-08-11 19:29:17 -04:00
Colin Kuskie
13a222f6ce Block files with dangerous names from coming in via Storage untar. 2010-08-11 15:46:02 -07:00
Colin Kuskie
9f724a7193 block the same set of extensions in http, scalar and file uploads in Storage. 2010-08-11 14:56:16 -07:00
Doug Bell
1f99da3315 fix syndicated content test with a new RSS url 2010-08-11 16:26:41 -05:00
Doug Bell
6b1e02f764 fixed possible vulnerability loading help files 2010-08-11 15:54:48 -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
Doug Bell
0957759fa9 fix 11779 SQLReport can run arbitrary queries 2010-08-11 14:48:38 -05:00
Colin Kuskie
02121fb7a9 Fix problems with getting the default page. Fixes bug #11778. 2010-08-11 08:37:21 -07:00
Colin Kuskie
d06b7b547d Fix a test with random false fails. 2010-08-10 21:24:21 -07:00
Colin Kuskie
38788f156c Use a safe file for doing upload and addFile tests. 2010-08-10 21:10:46 -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
Doug Bell
50d81eb007 use Test::Exception instead 2010-08-10 21:25:18 -05:00
Doug Bell
7861679aee add a test for :::: 2010-08-10 21:23:12 -05:00
Doug Bell
bb2e32141d fix 11773 Pluggable allows arbitrary module load 2010-08-10 21:17:20 -05: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
Doug Bell
731ae3801a add webgui to strftime conversion sub 2010-08-10 13:51:20 -05:00
Colin Kuskie
711f8d6bfa Update Keyword test for new default content. 2010-08-10 10:40:26 -07:00
Colin Kuskie
3e95468254 Update this test for the new default content. Fix a duplicated test description. 2010-08-10 10:37:06 -07:00
Colin Kuskie
ea1bb5f714 No more dash escaping for the Matrix. 2010-08-10 10:27:46 -07:00
Colin Kuskie
98d3ecc16f Set the session asset, added tests. 2010-08-10 10:27:45 -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
Colin Kuskie
35284c0753 getUrlPermutations, and a stub for Content::Asset::dispatch so the test doesn't die. 2010-08-10 10:27:44 -07:00
Colin Kuskie
32a75ebe38 Use correct path to get to WebGUI::Test 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
00b41fb2a0 add tests for declined behavior 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