Commit graph

1629 commits

Author SHA1 Message Date
Kaleb Murphy
e73a7645a7 Survey now shows warnings if bad goto, bad gotoExpressions, no question text, survey looping,
or no question answers are found.
2009-03-31 04:08:44 +00:00
Colin Kuskie
83b2657197 add a whole bunch of tests for previously uncovered methods, and improving coverage on some methods 2009-03-31 03:22:41 +00:00
Graham Knop
7a650bb8a3 a few more macro quoting test cases 2009-03-31 00:07:40 +00:00
Colin Kuskie
4e78593395 Change tests to use the automatic backup of Settings in END blocks. 2009-03-30 20:41:02 +00:00
Colin Kuskie
6f3aae261b Fix a typo in a test, looking at the wrong table. 2009-03-30 20:27:17 +00:00
Colin Kuskie
4e2a8bab91 Bump up the version for Clone, since the new version works with
perl 5.10.
Have SurveyJSON use it instead of dclone.
2009-03-30 19:47:27 +00:00
Colin Kuskie
05d62c92b7 Have Setting's get work like other gets by returning a hashref when
no param is requested.
2009-03-30 19:46:16 +00:00
Colin Kuskie
1e38087d80 Tests for profileIsViewable, with high coverage. 2009-03-29 04:39:51 +00:00
Colin Kuskie
06a714ea0c Add tests for acceptsFriendsRequest. 2009-03-29 04:13:54 +00:00
Colin Kuskie
9e1b9d2f49 Add tests for hasFriends with 100% coverage. 2009-03-28 05:12:23 +00:00
Colin Kuskie
39785cf169 Add tests for 100% coverage of getProfileUrl 2009-03-28 04:55:13 +00:00
Colin Kuskie
1e268ee238 Make User.t use the new automatic config file restorer.
Clean up some END block code.
2009-03-28 03:57:30 +00:00
Colin Kuskie
b61ef2c91f Provide a way for config file settings to be restored at the end of a test,
via the END block in WebGUI::Test.
2009-03-28 03:53:26 +00:00
Patrick Donelan
07e03c7b15 Fixed Survey to follow convention that a value of 0 for maxResponsesPerUser
should imply unlimited. Updated tests and docs to match.
2009-03-27 05:12:57 +00:00
Graham Knop
4b5b4b9cb0 test fix 2009-03-27 02:03:18 +00:00
Kaleb Murphy
569151c4ad Fixing the fix that shouldnt have been fixed. 2009-03-26 23:32:01 +00:00
Kaleb Murphy
9c60e75cf7 Text has changed 2009-03-26 23:27:14 +00:00
Graham Knop
c4740f76a3 fix bug in WebGUI::AdSpace::Ad, remove some more CODE_COP checks 2009-03-26 23:23:34 +00:00
Graham Knop
f25f9aae25 another test fix 2009-03-26 23:23:29 +00:00
Graham Knop
c1d04f220a more bug/test fixes 2009-03-26 22:12:21 +00:00
Graham Knop
c91878c9a3 test fixes and small cleanups 2009-03-26 21:44:55 +00:00
Colin Kuskie
cab6c18372 remove Test::Class based tests that fail under 5.10 on various operating
systems.
2009-03-26 21:42:26 +00:00
Graham Knop
d0c032625a fix test for keywords changes 2009-03-26 20:54:29 +00:00
Colin Kuskie
e71a119faa Add stub tests for Account::Inbox with custom canView tests. 2009-03-26 05:38:09 +00:00
Colin Kuskie
66c8b069e1 Add stub tests for Account::User, with custom canView tests. 2009-03-26 05:33:51 +00:00
Colin Kuskie
24e0be8087 Add a stub test for Contributions. 2009-03-26 05:25:53 +00:00
Colin Kuskie
ea7fe2650b More tests for getUrl. Beginning of tests for canView. 2009-03-26 05:14:31 +00:00
Colin Kuskie
140e0e0a8a Rewrite the Account.t test as a Test::Class test.
Create a driver script for it.
Add a subclasses Account::Friends test.
2009-03-25 22:49:59 +00:00
David Delikat
e8bc3db723 the AdSku project 2009-03-25 15:03:06 +00:00
David Delikat
daf279f8d2 merged from HEAD 2009-03-25 14:45:27 +00:00
Colin Kuskie
25acb1acf2 Add a workflow activity for archiving old stories, i18n and tests. 2009-03-25 01:07:28 +00:00
Colin Kuskie
5f1f0a8a11 Close the statement handle. 2009-03-25 01:06:44 +00:00
David Delikat
b1bd7e6205 done!
I'd like to thank all the little people because I wouldn't be here if it wasn't for you.
;)
2009-03-24 23:04:56 +00:00
Yung Han Khoe
a57fc80a18 Added rfe #9098 Thingy thing-copy function and added some context to thingy's i18n 2009-03-24 17:08:33 +00:00
Brian Medley
4c408da55a Image Asset tests, upgrade package, and code.
RSS Limiter tests, upgrade package, and code.
2009-03-23 21:11:10 +00:00
Colin Kuskie
8b071cb892 Add template variables for determining if a story has photos, and how many it has.
Tests, help, i18n.
2009-03-23 15:08:54 +00:00
Brian Medley
e7a3282af3 RSS Limiter 2009-03-23 09:09:48 +00:00
Colin Kuskie
7b6ea1350f Code to delete photos and their data. 2009-03-23 05:11:01 +00:00
Colin Kuskie
c8da6cfe26 Fix a bug where the cached data structure was not deleted.
Add template variables for showing the uploaded photos.
Add tests for the template variables.
Add a form field to delete the photo with all data.
2009-03-23 05:01:36 +00:00
David Delikat
df234709f4 merged to 9933 2009-03-21 12:58:03 +00:00
Colin Kuskie
3d5f5b04c1 Rearrange form fields in default edit story template.
Change photo JSON blob to be an array ref, not a hash ref.
Code for saving new photo data.
2009-03-20 21:42:47 +00:00
David Delikat
4fb7b2c81b big check point
passes lots of tests
well 8
but hey there are tests!
2009-03-20 03:56:11 +00:00
Colin Kuskie
8e7fcd0e6c Remove quotes from Help vars.
Add crumb trail template variables to the Story.
Fix links for keywords in the Story.
2009-03-20 03:46:10 +00:00
Colin Kuskie
4867750fd9 Beginning of Topic showing an Story.
Story now has a crumb trail.  Needs to be added to template vars and to template.
2009-03-20 00:08:47 +00:00
Graham Knop
8242fa59fa clean up after doing cart test 2009-03-19 21:59:23 +00:00
Colin Kuskie
e06d53c122 Add top story subtitle to match the spec. 2009-03-19 17:32:48 +00:00
Colin Kuskie
db839e2dc4 Add a template variable to tell if the Topic is viewed standalone by URL, or not. 2009-03-19 16:55:14 +00:00
Colin Kuskie
ea31d52ac0 Add template field to StoryTopic. The same template will be shared between both modes.
Add top story variables, and tests.
2009-03-19 16:43:21 +00:00
David Delikat
856cc06d04 merged with HEAD and other interesting changes 2009-03-19 04:12:03 +00:00
Colin Kuskie
49b01b76ec i18 label for StoryTopic help.
View methods for StoryTopic, with tests for template variables and amount of data returned.
2009-03-19 04:07:59 +00:00