Commit graph

1732 commits

Author SHA1 Message Date
Colin Kuskie
5dbea78e69 Move splitTag tests into a HTML subdir, for congruency with other module subtests. 2009-07-24 22:46:34 +00:00
Colin Kuskie
4226ef211f Remove autocommit from addRev in Story, because it committed the
story before the keywords were set, which messed up searching.
Adjust tests to request autocommit on all submitted stories.
2009-07-24 17:26:50 +00:00
Colin Kuskie
f34dce2c10 More DateTime test fixes. 2009-07-24 02:48:47 +00:00
Colin Kuskie
9259e1db23 And restore the original method, and add tests to catch the approximation in Session/DateTime.t instead
of relying on Asset/Story.t
2009-07-24 00:12:56 +00:00
Colin Kuskie
3c4ae9aa82 Refactor exact duration intervals into a separate method. 2009-07-23 23:47:45 +00:00
Graham Knop
56773eefc1 fixed #10590: Session::DateTime->secondsToInterval doesn't allow 7 weeks 2009-07-23 22:04:27 +00:00
Colin Kuskie
a3d8c390bd Fix CDN working with GUID style, vs hex style, storage locations.
Add tests for geting a GUID storage location.
2009-07-23 21:51:45 +00:00
Colin Kuskie
c9fa63bdb7 Give StoryArchive sub-folders the same style as their parent. Fix to hide them
better upcoming.
2009-07-23 21:17:25 +00:00
Colin Kuskie
20814beefd Update to use automatic tag rollback. 2009-07-23 21:02:53 +00:00
Colin Kuskie
33d2914c28 More test maintenance for Payment drivers. 2009-07-23 20:57:51 +00:00
Colin Kuskie
f2a295dc21 Update for recent code swizzle. 2009-07-23 20:52:51 +00:00
Colin Kuskie
0d06c15275 Add a method to update userProfileData column types.
Fix a bug with making a profileField called userId.
Update POD
Added several profileField tests.
2009-07-22 17:59:58 +00:00
Colin Kuskie
2daed0d1cc Fix test. Inheritance wasn't working with the package defined inside
the test.
2009-07-22 00:20:44 +00:00
Colin Kuskie
a84d352f21 update test for new deep storage 2009-07-21 23:42:58 +00:00
Colin Kuskie
0af4acdfad Allow storage locations to have subdirectories, just to support the ZipArchive. 2009-07-21 21:44:31 +00:00
Colin Kuskie
c668226651 Fix Keywords so that by default, only Keywords from published assets are returned.
Reported as bug against the StoryManager, but also affects Wiki, Shelf.
2009-07-20 16:01:30 +00:00
Colin Kuskie
aa8d98f318 Remove old templates from this test. 2009-07-20 15:42:09 +00:00
Colin Kuskie
6b2935305f Update Ogone tests for new driver code. 2009-07-20 15:37:08 +00:00
Colin Kuskie
dc226e3268 canUse should check whether the driver is enabled or not.
PayDrivers update the local object cache on update.
2009-07-20 15:31:32 +00:00
Patrick Donelan
f9c917e426 Fixes #10660 Crud doesn't like 0 2009-07-18 03:03:22 +00:00
Colin Kuskie
f2bd5d8e48 The shelf now checks for viewing permissions of the products and shelves that it displays.
Template with i18n feedback for users.
2009-07-17 21:01:55 +00:00
Colin Kuskie
c2ffca0845 Remove debug Test module. 2009-07-17 04:15:02 +00:00
Colin Kuskie
713c43976b fix this piece of crap test, again. 2009-07-17 01:45:50 +00:00
Colin Kuskie
8468884df8 Change article test to use templates that aren't deleted. 2009-07-16 22:36:20 +00:00
Colin Kuskie
8dcd511a8b Update tests for modified code, and for CSRF checks. 2009-07-16 22:35:49 +00:00
Colin Kuskie
754fe6a800 This is a only a copy of Article.t 2009-07-16 22:26:42 +00:00
Colin Kuskie
f3bc650502 Update User.t to work with CSRF tokens. 2009-07-16 21:39:23 +00:00
Colin Kuskie
2a966c79e9 Update Form tests to work with CSRF. 2009-07-16 21:38:05 +00:00
Colin Kuskie
8f4afc3416 Finish fixing filepump macro tests 2009-07-16 16:00:54 +00:00
Colin Kuskie
578bdf361c Update the # of tests in Asset/Sku/Product.t 2009-07-16 04:21:48 +00:00
Colin Kuskie
e335276cfa Make the Product Sku copy the storage locations when a new revision is added. 2009-07-16 04:12:30 +00:00
Colin Kuskie
1c40934876 Fix a typo in the story link back to the archive, to limit display to only 1 keyword. 2009-07-16 03:10:27 +00:00
Patrick Donelan
f4f55b4a7d Partly fixed t/Macro/FilePump.t 2009-07-16 02:23:15 +00:00
Martin Kamerbeek
0f70c99873 Fixed a bug where VersionTag->get would return unsafe copies. Also added tests for this. 2009-07-15 06:50:33 +00:00
Colin Kuskie
91122bcc1e Add If Macro tests. 2009-07-12 20:45:27 +00:00
Colin Kuskie
b88d96deb5 Do not rely on a database default for the profile field formType. 2009-07-10 22:41:07 +00:00
Patrick Donelan
7110febecd FilePump bug fixes
Restricted file uris to uploads and extras dirs
Validation messages for invalid file uris
Updated i18n
Added more tests
2009-07-10 03:33:06 +00:00
Colin Kuskie
2d64657165 Use WebGUI::Test rollback methods instead of an END block. 2009-07-09 20:31:25 +00:00
Colin Kuskie
917fdf3223 Add tests to make sure that Shop exceptions are WebGUI::Errors. 2009-07-08 21:50:07 +00:00
Colin Kuskie
b89486d5f3 Work around bugs in HTML::Entities, which doesn't output strict utf8, and
DBD::mysql, which doesn't encode high characters correctly.  This shows up
in the Post synopsis, HTML::splitTag and Post->getSynopsisAndContent.
2009-07-07 22:24:00 +00:00
Colin Kuskie
d6400799aa Allow snippets to be really empty, without showing the Page Not Found screen. 2009-07-06 19:35:00 +00:00
Colin Kuskie
508f7ed287 Check for generation of the csrf token. 2009-07-06 17:43:01 +00:00
Colin Kuskie
5e4db3adb4 Provide a framework for CSRF protection, with tests.
Add CSRF protection to Asset editSave, AssetManager, VersionTags and Group operations.
2009-07-06 16:58:57 +00:00
Colin Kuskie
3964baeb2e Add POD_COVERAGE==3 switch to find empty POD blocks. 2009-07-06 03:57:33 +00:00
Colin Kuskie
6137b681f3 Unify the list of protected groups into Group->vitalGroup. Refactor
WebGUI::Test and Operation/Group to use that list.
2009-07-05 20:36:46 +00:00
Colin Kuskie
da41082cbf Have just 1 list of groups that should not be deleted. 2009-07-05 20:33:31 +00:00
Colin Kuskie
df51a0d99f Fix the form for the Product. It was returning variants with no quantity. 2009-07-03 16:19:26 +00:00
Colin Kuskie
1bcae0d3bc Add an Event method for returning a non-inclusive end DataTime object.
Have Calendar use that for determining the end of a week in viewWeek.
Fix getEventsIn to do all comparisons in UTC so that extra events are not added in.
2009-07-03 05:04:43 +00:00
Colin Kuskie
f04a162ea3 Clean-up of version tags in this test. Deleting a parent deletes the children. 2009-07-03 04:50:13 +00:00
Patrick Donelan
0265e1dfbd Fixed Survey::Test diagnostics when comparing complex data structures 2009-07-03 01:39:16 +00:00