Commit graph

7790 commits

Author SHA1 Message Date
Colin Kuskie
f3b7b1bf8e Start adding coverage to the getBackToSiteURL method.
Remove the old commented out MockObject request code.  It's PseudoRequest or bust.
WGBP indent some of the Session/Url methods.
2007-11-09 21:23:00 +00:00
Colin Kuskie
a894e6a879 internationalized the high group count message 2007-11-09 16:05:11 +00:00
Diona Kidd
fd772980e4 Adding message if group count exceeds 250 2007-11-09 05:14:35 +00:00
Graham Knop
81bb746f9e fix CS posts not allowing new attachments after deleting old ones 2007-11-08 22:50:59 +00:00
Chris Nehren
7f37c20028 Gr. One more attempt at getting the default to work properly. 2007-11-08 19:33:57 +00:00
Colin Kuskie
542fc63f4b forward change notice for earlier commit about removing old templates 2007-11-08 18:02:49 +00:00
Graham Knop
37c6164ac0 merging 7.4 changes 2007-11-08 14:23:04 +00:00
Graham Knop
8df2c9f6b9 fix missing field_loop in SQL Form template 2007-11-08 06:33:40 +00:00
Colin Kuskie
0c2f9f5ec7 fix bad import of help template variables. Loops are now handled correctly. Added a test with supporting collateral to make sure this does not happen again 2007-11-08 05:34:48 +00:00
Chris Nehren
9db0430032 Fix the groupToEditPost field defaulting to the groupIdEdit field. Make sure
that the added collab system in the test has a parent asset as well, to ensure
that the inheritance works properly.
2007-11-07 22:29:21 +00:00
Graham Knop
8b23a6e7cf fix backslash doubling on ical import 2007-11-07 18:53:40 +00:00
Graham Knop
70c557aa10 copy CS sorting fix from branch 2007-11-07 17:36:30 +00:00
Chris Nehren
227c2d90ec duh. Need to *call* the sub I added to the upgrade script. 2007-11-06 23:36:52 +00:00
Chris Nehren
e20e6061f2 Don't delete the groups used in the Post test, they're needed. May want to make
mock groups in the future. Also clean up some commented out things from
Collaboration.t.
2007-11-06 23:06:09 +00:00
Chris Nehren
0d689afa4c Add the groupToEditPost field to the Collaboration system. This allows users
to specify a group of users that will always be able to do edits on posts,
regardless of whether they own those posts and independent of the editTimeout
field.
2007-11-06 22:58:22 +00:00
Graham Knop
e5b7741f75 fix EMS in IE with reset style 2007-11-05 22:32:37 +00:00
Chris Nehren
a7c0ff0dec Fix backwards compatability with existing code. Update the tests accordingly. 2007-11-05 20:10:42 +00:00
Chris Nehren
8688604ea4 Lots of fixes.
1. Restore original getJsonStatus functionality of returning data for just one
site, if sitename is passed.
2. Add a few comments to Spectre::Workflow::getJsonStatus to help explain what's
going on, and also add some whitespace to separate the code into logical pieces.
3. Add tests for this functionality, doubling the number of tests for
getJsonStauts to 20.
4. Per Colin's suggestion, use isa_ok rather than cmp_ok(ref ... , eq 'TYPE',
'...').
5. Fix broken indentation in a for loop.
6. Change for loops to foreach to be consistent with the rest of WebGUI.
2007-11-05 16:56:09 +00:00
Colin Kuskie
b6bab1723a internationalize the warning in the Operation/User.pm for not displaying users when there are more than 250 of them 2007-11-05 16:15:04 +00:00
Diona Kidd
c6948b62d0 Added operation user rfe doc to changelog 2007-11-03 20:46:01 +00:00
Diona Kidd
7c6ba502c6 If there are over 250 users, none are currently displayed. Added message to user in this case. 2007-11-03 20:38:52 +00:00
Colin Kuskie
14e907d589 begin converting Session/Url.t to PseudoRequest 2007-11-02 23:38:45 +00:00
Chris Nehren
dd53243b08 Fixups for the tests. I moved the nested key checking into a TODO block. I'm
not sure how to handle them, as they may / may not exist in the %output hash.
Sometimes they'll pass, sometimes they won't, depending upon the time you run
it and the status of Spectre overall.
2007-11-02 19:12:16 +00:00
Chris Nehren
3e2bad5cb4 Work towards having Spectre::Workflow::getJsonStatus return information about
all sites, needed for munging workflow monitoring into wremonitor.pl.
2007-11-02 18:08:20 +00:00
Colin Kuskie
c7334e2b22 forward port changelog from user session scratch bugfix 2007-11-02 18:03:07 +00:00
Colin Kuskie
45eb45fa3e fix a session bug where, when using noFuss, user session scratch was not cleaned up 2007-11-02 17:50:19 +00:00
Colin Kuskie
980ff3e972 add plan for testing. Fill in with code later 2007-11-02 04:45:10 +00:00
Colin Kuskie
2c232773e4 add a test stub for DeleteExpiredSessions. To be filled in soon :) 2007-11-02 04:31:47 +00:00
Colin Kuskie
5263e69c85 var->end already does a scratch->deleteAll 2007-11-02 04:15:57 +00:00
Colin Kuskie
0fa154d84f Add a missing use line in Session/Privilege.pm.
Try to completely clean up all session related stuff from each test.
2007-11-02 03:57:00 +00:00
Colin Kuskie
793cc2b0b5 add missing module use line to upgrade script 2007-11-01 18:45:48 +00:00
Graham Knop
0d8a33c0ea merging 7.4 changes 2007-11-01 18:19:07 +00:00
Colin Kuskie
397783f15d final coverage tests to bring User.pm up to 100% 2007-10-31 21:15:49 +00:00
Colin Kuskie
17441c13c2 Fixed broken friends method caching. The cache was never populated, so it
would fail every time.
Added a missing DESTROY method to Group.pm.  That way it won't puke when trying
to call an undefined method when the User object is cleaned up.
Added coverage tests for friends method in User.pm
2007-10-31 21:00:54 +00:00
Graham Knop
886677c8ce Proper hoverhelp grey area fix 2007-10-31 16:26:02 +00:00
Colin Kuskie
0f3505a46f Group does not use Tie::CPHash (via the dead %group variable) nor WebGUI::Auth 2007-10-30 20:33:48 +00:00
Colin Kuskie
2165538936 coverage tests for identifier method 2007-10-29 23:21:43 +00:00
Colin Kuskie
a915b15cd7 fix a typo in Auth.pm for the profile method 2007-10-29 22:42:38 +00:00
Colin Kuskie
4519ecb261 coverage test for the case of an un-cached profile field fetch in User.t 2007-10-29 22:38:36 +00:00
Graham Knop
83c40e4c35 fix grey areas on the bottom of pages 2007-10-29 17:48:58 +00:00
Colin Kuskie
e4db799605 fix a typo in the upgrade script, s/Search/search/; 2007-10-28 23:26:55 +00:00
Colin Kuskie
dcd20ec8d9 fix for Devel::Cover warnings that clutter up the smoke test report. Also, fix the --help switch to testCodebase.pl 2007-10-26 22:34:46 +00:00
JT Smith
1b51697dbd rfe: Search Asset returns URLs 2007-10-26 16:29:25 +00:00
Graham Knop
99337c3473 event end time not tz adjusted properly 2007-10-26 16:27:54 +00:00
Colin Kuskie
17be7789cc fix a stupid typo that I put into i18n/help.t 2007-10-26 03:02:08 +00:00
Colin Kuskie
b8a4033036 Add more coverage tests for methods added to User.pm
for Friends.
Fix a bug in the isOnline method, which was looking sessions
exactly 600 seconds old.
2007-10-26 02:54:47 +00:00
Graham Knop
c860bfdd10 merging 7.4.11 changes 2007-10-25 12:47:32 +00:00
Graham Knop
93b64fc46f profile field and dashbaord fixes 2007-10-25 06:07:26 +00:00
Colin Kuskie
3955b11149 make sure that no files are accidently skipped, and emit comments via diag, not warn 2007-10-24 22:34:49 +00:00
Colin Kuskie
ff27c6ed80 fix broken POD command in Friends 2007-10-24 22:17:05 +00:00