Commit graph

1536 commits

Author SHA1 Message Date
Colin Kuskie
22fc77dd41 Fix multiple Crud issues with serialization and text/blob field handling 2009-05-06 20:50:12 +00:00
Martin Kamerbeek
461c80a6b8 Pluggable Tax: more POD, more tests, better code and less bugs 2009-05-06 13:33:16 +00:00
Patrick Donelan
f3ed30d939 Refactored Survey ExpressionEngine tag() util into tag() setter and tagged() accessor.
Updated i18n to reflect the fact that min/max/step are used for all numeric types, not just slider.

Also updated textCols/Rows i18n.
2009-05-06 05:53:10 +00:00
Patrick Donelan
3dda2b49d4 Survey Branch Expressions now allow you to "tag" data along the way and store
it in the response data structure along with the actual user input. Tag data
can be used in subsequent expressions, in [[tag]] templated text replacement,
and to classify responses in an arbitrary way.

Refactored Survey expression utility subs that lookup values/scores/tags in
external assets.

Fixed bug whereby only highest precedence Survey expression was being evaluated
rather than letting them all run and do their own short-circuiting.
2009-05-04 06:28:05 +00:00
Patrick Donelan
ac1a00b252 Survey Branch Expressions can now test whether a question
has been reached/answered, rather than just testing for the value
of a response
2009-05-04 04:06:40 +00:00
Paul Driver
f4df3b1280 template attachments (scripts and stylesheets) 2009-05-01 23:03:36 +00:00
Colin Kuskie
d83f1fd5fc Last batch of User and Group cleanups. 2009-05-01 03:29:32 +00:00
Colin Kuskie
39607fc208 Another batch of clean-ups for users and groups. 2009-05-01 02:48:18 +00:00
Colin Kuskie
c60237443c Test cleanups.
Fix a leaking group in Asset/Post/permission.t.  Threads do not clean
up their groups when they are purged.
2009-05-01 02:17:39 +00:00
Colin Kuskie
004b8095a1 Add method to clean up test sessions. This has to be done
after ALL other types of objects have been cleaned up.
More test clean-up for users, groups and sessions.
2009-05-01 02:02:12 +00:00
Colin Kuskie
d7f2aca1e4 Test clean-up for users and groups in Shop/Vendor and all Macro tests. 2009-04-30 23:57:39 +00:00
Graham Knop
1937ef3ab6 fix survey test 2009-04-30 21:30:15 +00:00
Graham Knop
12298aa7ca fix thingy test for field type being provided provided 2009-04-30 20:55:13 +00:00
Colin Kuskie
d79132429d Update test for XML::FeedPP 0.40 2009-04-30 20:21:51 +00:00
Colin Kuskie
c8b7397bc1 Test cleanup for a user and the config file. 2009-04-30 20:17:59 +00:00
Colin Kuskie
59eb8bce5b Remove a leaky group which was never used. 2009-04-30 20:14:41 +00:00
Colin Kuskie
1d4f12781b Test cleanup, and fix a leaky group. 2009-04-30 20:12:09 +00:00
Colin Kuskie
25231d3fe5 More test cleanup for deleting users and groups. 2009-04-30 20:10:00 +00:00
Graham Knop
51ce57d7fc fix export test 2009-04-30 20:06:26 +00:00
Colin Kuskie
b6f103cae6 Test clean-up for groups and users. 2009-04-30 20:02:53 +00:00
Doug Bell
81b77e1836 fix now that things are packed 2009-04-30 19:45:37 +00:00
Doug Bell
3574113645 fix now that things are packed 2009-04-30 19:37:13 +00:00
Doug Bell
c60db6b1be fix now that things are packed 2009-04-30 19:27:21 +00:00
Graham Knop
7d0f1e4b8a improve handling of SMTP test server 2009-04-30 18:17:23 +00:00
Colin Kuskie
db290f91f9 Add an option to the Sku to require individual shipping of this sku, separate
from other items in the cart.  Update the FlatRate driver to support calculating that.
2009-04-29 16:52:16 +00:00
Colin Kuskie
40b5ac13a4 Update code to match new RssFeed API w.r.t exporting. 2009-04-28 19:51:47 +00:00
Colin Kuskie
f8f62c5640 Add 1 more test to _isStopword 2009-04-28 01:42:09 +00:00
Colin Kuskie
d7d10fff41 Add a Search test, to check for wildcards and stopwords. 2009-04-27 22:12:42 +00:00
Colin Kuskie
b053091b7d Add tests for the export mode get*FeedUrl. 2009-04-27 19:19:10 +00:00
Colin Kuskie
553b1d03d7 Fix HEAD link issues with RssFeed with exporting.
Refactor the module so that getting the feed url will return
the static URL when exporting.
2009-04-27 19:16:38 +00:00
Colin Kuskie
86621e255b Fix a bug where changing fieldTypes in the userProfileField did not update the database field types. 2009-04-26 04:02:38 +00:00
Colin Kuskie
70845fd9e8 Fix bad angle bracket handling in messageIds in Main/Send.pm
Extend Mail/Send.t to test messageId generation.
2009-04-26 03:05:22 +00:00
Colin Kuskie
3535e8ddb4 Fix a bug where html2text dropped the last word. Added tests. 2009-04-25 05:41:24 +00:00
Colin Kuskie
c8fe4092a2 Many more RssAspect tests. 2009-04-25 00:16:27 +00:00
Colin Kuskie
409e3a3f6c Automatically cleanup storage created for export collateral tests. 2009-04-24 22:41:39 +00:00
Colin Kuskie
6e574a9e6b RssFeed aspect tests, more to follow. 2009-04-24 22:08:25 +00:00
Colin Kuskie
1b8ad91605 Add in StoryManager, 3 assets for managing news content in WebGUI.
Several small API changes to Keyword and AssetExportHtml to support StoryManager functionality.
2009-04-24 18:31:06 +00:00
Colin Kuskie
19f703dc9b Merge with HEAD, 10472 2009-04-24 17:12:17 +00:00
Colin Kuskie
32ef0d5068 getKeywordStaticURL function, with tests. 2009-04-24 16:53:53 +00:00
Colin Kuskie
f9e3c0c99c Check what happens with URLS with an initial dot in them 2009-04-24 16:53:35 +00:00
Colin Kuskie
a75cd108b1 Add back code for throwing exceptions when session is not passed
to class methods.
2009-04-24 03:47:40 +00:00
Patrick Donelan
5e9db959ad Added another Survey ResponseJSON test 2009-04-24 03:43:40 +00:00
Colin Kuskie
90f4abfac1 remove tests for the old, removed, getTaxRate method which was
moved into Shop/TaxDriver
2009-04-24 03:40:42 +00:00
Colin Kuskie
6137a06bb9 Handle automatically cleaning up users at the end of a test. 2009-04-24 03:40:16 +00:00
Colin Kuskie
09ad8d2a11 Remove subclass exportHtml_view in favor of a session scratch variable for telling
when the asset is being exported.  Keyword files are exported into a private directory
to prevent filename collisions.
2009-04-24 00:05:09 +00:00
Graham Knop
f10da67dae fix Post test cleaning up core groups 2009-04-23 16:46:01 +00:00
Graham Knop
f1759f5cd5 fixing lib paths on some tests 2009-04-23 16:22:17 +00:00
Martin Kamerbeek
c851465bd1 More Tax tests 2009-04-23 10:40:01 +00:00
Patrick Donelan
6c58e1de81 Added Survey meta-targets NEXT_SECTION and END_SURVEY to allow for more
convenient jumping
Improved processGotoExpression tests
2009-04-22 07:19:23 +00:00
Patrick Donelan
99855719d0 Survey bug fixes: Verbatim responses now properly recorded
Added useText option to responseValuesByVariableName so that it can be
used for both branch expressions and [[var]] text substitution correctly
Added extra verbatim handling to [[var]] text substitution
All survey test now pass, except for one involving True/False
multi-chocie bundle, soon to be fixed by updating bundle
2009-04-22 05:16:29 +00:00