Commit graph

2504 commits

Author SHA1 Message Date
Colin Kuskie
9182ce5288 Fix queryIsAllowed to look at the first word in the query, regardless of punctuation or whitespace.
Add tests for queryIsAllowed.
2009-08-11 00:11:10 +00:00
Colin Kuskie
fe63bccea9 Clip lowside weight at 0.1 lbs. Otherwise UPS will gripe at you. 2009-08-10 13:33:40 -07:00
Martin Kamerbeek
46829ac970 Adding return JSON on specific requeest feature to template. 2009-08-10 12:42:33 +00:00
Colin Kuskie
5675c1a3a3 Add tests for getUnreadMessagesForUser 2009-08-09 23:35:20 +00:00
Colin Kuskie
af2d858f68 Revision Event storage locations. 2009-08-09 04:35:16 +00:00
Henry Tang
fe99aa7665 Fixed version tag modes bug #10689 2009-08-07 18:02:25 +00:00
Patrick Donelan
146373937d Fixed two new Survey bugs
* Survey response startDate stored twice
startDate was being stored both in a column in Survey_response and also inside the
serialised responseJSON. Consolidated to column and moved startDate methods to
Survey.pm where they are actually used. Was not causing errors because both copies
were initialised to "now" at response creation time, and then never changed (this is also
why we don't need any repair code to fix existing survey repsonses in the wild).

* Survey ExpireIncompleteSurveyResponses Workflow Activity not enabled
The only time you'd actually want to modify startDate is when you're trying to simulate
response expiry in test code, which is why I found the above bug when I was writing the
missing test suite for ExpireIncompleteSurveyResponses. Along with test suite, added
upgrade code to enable workflow activity and add it  to the Daily Maintenance Tasks
workflow. Also made minor fixes to the workflow activity, such as making sure it uses
the correct isComplete code.
2009-08-07 01:08:39 +00:00
Colin Kuskie
3b577599f5 Forward port XML encoding for template based RSS feeds in the Gallery. 2009-08-05 22:16:38 +00:00
Colin Kuskie
55e0feb687 Extend WebGUI::HTML::filter to also do encode XML entities. 2009-08-05 21:47:14 +00:00
Colin Kuskie
4ecc2c725e Forward porting Event iCal end day date math fix. 2009-08-03 22:56:10 +00:00
Colin Kuskie
ecd89d349a Forward porting calendar non-inclusive end times fix. 2009-08-03 20:05:34 +00:00
Doug Bell
c0fe0a7765 change "testing" to "no_email" for inbox messages 2009-07-31 21:02:51 +00:00
Colin Kuskie
31544f13b0 Remove Product test debug diag. 2009-07-27 16:24:19 +00:00
Colin Kuskie
e8bfd8a0a7 Empty warranty, brochure and manual show empty areas in the Product. 2009-07-27 16:21:04 +00:00
Colin Kuskie
7432407888 Use gateway macro for survey.css link in default survery take template. 2009-07-26 16:52:38 +00:00
Colin Kuskie
7325846965 Rename a test. templateChecker is now badGatewayMacros, cuz
that's what it tests.
2009-07-25 23:37:04 +00:00
Colin Kuskie
f88d2f9364 Remove unused modules. 2009-07-25 23:35:00 +00:00
Colin Kuskie
1a74cb056d Fix the separator macro. Adds a method to WebGUI::HTML that splits
content based on the separator macro, and does a best effort to fill in
tags that the splitting breaks by and start and end tags.
Update Post and Article to use it.
2009-07-25 04:30:28 +00:00
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
b7b86fd248 Add residential property to driver. Add test for quantity checking. 2009-07-21 15:53:00 -07: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