Commit graph

45 commits

Author SHA1 Message Date
Colin Kuskie
abfa6ed1ac make isUserAdmin do what the POD says (returns 0, 1), and clarify it
(deliberately passed null string or undef causes query instead of set).
Add tests to Group.t to check that behavior.
2006-03-19 06:10:44 +00:00
Colin Kuskie
0eb6ec7b01 Group test for user expiration inside a group.
1 POD tweak, more placeholder work.
2006-03-19 04:09:45 +00:00
Colin Kuskie
9711a237de Finally figured out how to become a group admin, and set a test for it.
Updated Secondary Admin docs to include all details for that.
More placeholder conversions, all backed by test code.
2006-03-18 06:07:01 +00:00
Colin Kuskie
e8a364f526 New user and group tests for caching and membership and default group settings.
Cache busting in User.pm.
Allow Visitor to be formally added to groups 2 and 7.
More placeholder work.
Update Help for Secondary Admins.
2006-03-18 05:36:04 +00:00
Colin Kuskie
b0e0cec9aa add tests to deleting groups and try to create a loop 2006-03-17 06:08:25 +00:00
Colin Kuskie
f59f41cd9e WebGUI::User->isInGroup does not take a UID argument anymore.
Grepped all files and fixed these errors:
	- Passed userId replaced by User object creation and use.
	- Where $session->user->userId was used, it was removed.
Updated POD inside Group.pm
2006-03-15 22:55:00 +00:00
Colin Kuskie
0197f6f1bd Cleaned up Group.t so that diagnostics when failing are correct.
Fixed two bugs in Group.pm
1) If recursive was set, and no recursive cache was present but a
direct cache was available, it would be returned.  That's wrong.
2) Added a check in addGroups so that self cannot be added to itself.
2006-03-15 06:27:47 +00:00
Colin Kuskie
c6b0d9b8d5 Remove debug code from Group.t
Force uniqueness check inside isInGroups to prevent multiple group
definitions from being returned.  This should cut the size of
the in-memory Group cache by 50%, since group id #3 is returned for _every_
group.
2006-03-14 05:54:42 +00:00
Colin Kuskie
7f7347faa9 fix 3 bugs and add more POD 2006-03-14 05:09:33 +00:00
Colin Kuskie
248f77f3a9 Added more test in preparation for changing Group SQL query work.
Update documentation in User.pm and Group.pm.
Refactor Group.pm to use placholders.
Fix typo in getGroupsIn where wrong key in hash was accessed.
2006-03-13 04:43:05 +00:00
JT Smith
6ee05b85af first round of changes to create the ui for building workflows, more to come
a few small bug fixes
2006-02-15 21:23:22 +00:00
Colin Kuskie
b4520939f1 13 more Group tests
WebGUI::Group->find returns first group, no guaranteed order of search
2006-02-12 06:11:23 +00:00
Colin Kuskie
acdd58aec6 Very beginning of Group test that cleans up after itself.
Operation/Group wasn't passing session var internally.
Fixed WebGUI::Group POD docs.
2006-02-12 05:37:37 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
2069da5fdb tons of bug fixes. 2006-01-18 14:41:12 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Matthew Wilson
f2cccdff9f more oodles of changes. 2006-01-15 18:19:44 +00:00
Colin Kuskie
3c0c47014c string concat, Grouping->Group merge provides access to groupId 2006-01-13 18:29:42 +00:00
JT Smith
4b439f610e bugfixes from session conversion 2006-01-12 23:13:18 +00:00
JT Smith
a3adaee3a0 removing unnecessary use lines 2006-01-12 22:27:20 +00:00
JT Smith
c74c1bdcbc merged WebGUI::Groupings with WebGUI::Group and WebGUI::User
changed WebGUI::Group api to work with the new session api
2006-01-11 03:27:07 +00:00
JT Smith
9520b4ce48 migrating datetime api for session 2006-01-10 17:06:41 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
Colin Kuskie
0660aff46b fix typo in POD 2005-11-20 17:12:30 +00:00
Wouter van Oijen
6be547e55a fix [ 1304940 ] Incorrect Spelling of Instantiate 2005-09-26 21:00:44 +00:00
Frank Dillon
a82955c7bd Added methods for setting and getting ldap group properties 2005-05-19 00:24:48 +00:00
JT Smith
370a708ab9 some bug fixes 2005-02-14 20:56:51 +00:00
JT Smith
949ea2d6cf article forum migration complete 2005-02-12 21:18:23 +00:00
JT Smith
55c709a051 updated copyright 2005-02-07 00:52:47 +00:00
JT Smith
d47830aceb merging 6.2.10 and 6.2.11 changes 2005-01-28 22:19:39 +00:00
JT Smith
2b6eb201a9 changed POD formatting 2004-09-14 02:22:38 +00:00
JT Smith
c866d00c1b changed company name 2004-09-03 17:01:59 +00:00
JT Smith
4bfab4378f adding guid stuff 2004-08-10 23:43:25 +00:00
JT Smith
403082ed23 updated copyright year 2004-02-29 15:40:11 +00:00
JT Smith
b26ae240ff fixing bugs in the no longer magic groups 2004-02-10 02:41:24 +00:00
JT Smith
0cb06e0e17 fixed a bug in the new oo page tree stuff
removed a bunch of crap that somehow got readded
added new stuff for autogroups
got rid of magic groups
2004-02-04 02:36:12 +00:00
Andy Grundman
21568641ca Fixed bug where database link fields did not default to 0 when creating new Group or SQL Report 2003-07-04 04:30:32 +00:00
Andy Grundman
2788250eeb Added new feature to validate groups against external databases 2003-07-03 05:11:40 +00:00
JT Smith
deec9cd409 fixed pod errors. 2003-05-26 17:53:19 +00:00
JT Smith
b7512be833 Added the ability for users to add/remove themseleves to/from groups. 2003-05-24 21:07:42 +00:00
JT Smith
4f3859724b Added scratch filter to groups. 2003-05-10 18:41:40 +00:00
JT Smith
afbcfc7d56 Fixes from the 5.2.5 bugfix cycle. 2003-04-18 22:30:57 +00:00
JT Smith
226ed9abcf Added group expiration notifications. 2003-02-02 03:43:45 +00:00
JT Smith
13bd980137 Exposed APIs for Groups and Groupings. 2003-02-01 22:04:42 +00:00