Colin Kuskie
e46ad0d8fd
Correct POD for addUsers in Group.pm
2009-10-13 16:36:14 -07:00
Graham Knop
60a4a9b140
mark $session->datetime->time as deprecated and remove its use from core code
2009-10-05 20:56:37 -05:00
Graham Knop
68d75637bb
allow WebGUI::Group->vitalGroup to be called on an object
2009-09-23 06:41:55 -05:00
Colin Kuskie
b91a1effa8
Make a nice session object to use for Group->new.
2009-09-18 09:17:48 -07:00
Colin Kuskie
831664397d
Remove group cleanup check for AdSpace group.
2009-09-02 19:04:50 -07:00
Colin Kuskie
da41082cbf
Have just 1 list of groups that should not be deleted.
2009-07-05 20:33:31 +00:00
Colin Kuskie
f652028ef0
Remove debugging code.
2009-06-12 20:55:48 +00:00
Colin Kuskie
fb33138e33
Replace fields that use a group that is deleted with a safe group, like Admin. rfe#76
2009-06-12 20:43:03 +00:00
JT Smith
fa97bbc58c
- Made a change to LDAP auth that adds an OR to that query so that it also searches for a row with fieldData REGEXP '^uid=(value-from-ldap-directory-server),'.
2009-06-05 14:34:28 +00:00
Colin Kuskie
3ffe9fd416
Document that getUserList returns users sorted by username.
2009-04-16 15:13:10 +00:00
Colin Kuskie
0cbe0cc117
Correct the Group.pm POD for delete.
2009-04-13 02:30:20 +00:00
Colin Kuskie
7ad927092a
More POD docs about getAllUsers returning a unique'ed list of userIds.
2009-03-13 23:17:50 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
758a321e70
modules, tests, etc shouldn't be set as executable
2008-11-24 04:01:23 +00:00
Frank Dillon
4ff722bd5d
Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces.
2008-11-15 11:39:23 +00:00
Doug Bell
0d9dcbfb12
merge 8376
2008-11-14 23:08:10 +00:00
Frank Dillon
615e0e3746
lots of changes
2008-11-12 23:03:42 +00:00
Colin Kuskie
d6aecc2d90
Admins are in all groups, even group admin groups
2008-10-14 23:15:31 +00:00
Frank Dillon
a253c67018
Fixed an problem in getUsersNotIn which was causing the wrong users to be returned.
2008-09-27 12:18:43 +00:00
Frank Dillon
cde696c767
Added isAdHocMailGroup flag which can be used to build temporary groups of users to send notifications to. Once the users have been added to the mail queue in WebGUI::Mail::send, the group is deleted.
2008-09-22 22:26:59 +00:00
Colin Kuskie
8d561101b5
Add a test to User.t to make sure it isn't leaking groups.
...
Update POD in User.pm and Group.pm.
2008-08-01 23:06:23 +00:00
Colin Kuskie
f95f3a96f9
more POD for Group.pm
2008-03-07 02:46:11 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598
replaced return; with return undef;
2008-01-24 21:58:15 +00:00
Colin Kuskie
96178fd70c
first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead
2007-12-05 00:30:43 +00:00
Colin Kuskie
8b84ae3e76
Up coverage of addGroups to 100%.
...
Change tabs to spaces in group diagrams.
Optimize the addGroups membership check so the expensive getGroupsIn
doesn't have to take place.
Add a label to the foreach.
2007-11-26 05:13:32 +00:00
Graham Knop
865c1d315b
merging 7.4 changes
2007-11-22 06:09:27 +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
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
Graham Knop
21b37954c4
finding all groups or users don't fail if one invalid group
2007-09-27 08:49:20 +00:00
Graham Knop
a62a7e0ec1
WebGUI::Group->new didn't check group validity
2007-09-26 11:46:18 +00:00
JT Smith
a7dde82421
updated copyright
2007-07-01 16:09:42 +00:00
JT Smith
1013381c36
fixed an error in the groups/db system where removing a dblink connected to a group would produce a fatal error
2007-04-11 17:24:56 +00:00
JT Smith
e1c86d7f95
- fix: fixed an error in the groups/db system where removing a dblink connected to a group would produce a fatal error
2007-04-05 03:43:37 +00:00
Nik Ogura
cb7f79543a
changed pod from 'days' to 'seconds' for expireOffset et al. to reflect what's actually happening
2007-03-27 06:07:50 +00:00
Colin Kuskie
ec3eebda9b
remove duplicate code in addUsers, add more tests to Group.t to cover
2007-03-07 00:16:22 +00:00
Colin Kuskie
d948cb4a33
fix typo in expireNotifyOffset method which prevents it from setting this value
2007-03-04 06:22:15 +00:00
JT Smith
67dfefff08
merging 7.1.3 changes
2006-10-31 23:34:55 +00:00
Doug Bell
6d56df1362
Added SQLReport download and Product AddToGroup handler
2006-10-10 18:14:31 +00:00
Colin Kuskie
5dbd9b44c9
Fixed a typo in the POD for Session/Env.pm
...
Added more docs for find method in Group.pm
Fixed a latent bug that would probably never occur in Macro/GroupAdd.pm
If Group->find is called with the name of a group that doesn't exist,
then Group will return an object with defaults, and the guid of the
group is undef, not ''. However, since by default autoAdd is off,
the Macro will still do the right thing.
GroupDelete has the same bug, but it shouldn't be patched until there's
a test written for it.
2006-07-24 05:08:17 +00:00
Colin Kuskie
2142186d97
remove old debugging output
2006-07-17 03:29:12 +00:00
Frank Dillon
ec4245a7d8
changes for adding ldap recursive filter
2006-07-12 20:31:02 +00:00
Colin Kuskie
206a294988
Fix bug where groups were being created with no defaults.
...
Update Group test to check for default values in groups created
with gid "new" and "".
2006-06-30 05:14:28 +00:00
Frank Dillon
6e734b900f
LDAP isInGroup changes
2006-06-23 01:49:34 +00:00
JT Smith
41e655b452
- fix: New page layout instead of not found
...
- fix: Rollback
- fix: debug output
- fix: Can't delete images at product asset
fixed a problem with file/image form uploads
rearranged group methods for alphabetical order
removed matt's hack for group caching and replaced it with the right way
2006-05-30 22:35:12 +00:00
Colin Kuskie
7100d1df41
Add a new method called getAllGroupsFor, which recursively returns ALL groups
...
that a group belongs to. This is required to properly uncache group settings
for groups with more than 2 levels of hierarchy.
Add 7 tests to verify the working of the new method.
Fix a typo in the POD for Operation/Group.pm
2006-05-26 16:43:47 +00:00
Wouter van Oijen
684f08649d
Fixing stuff
2006-05-21 14:49:40 +00:00
Colin Kuskie
aea9ce76f7
Bust group caches and caches of groups containting this group
...
whenever the group is edited, or when users or groups are added
or deleted.
Add a test to check adding users.
2006-05-17 23:16:11 +00:00
Colin Kuskie
1c6fec6695
Flush cache for User and Group tests to pass.
...
Add group cache clear to Group.pm
templateId clash due fixed
2006-04-15 02:32:38 +00:00
Colin Kuskie
6726f56af3
remove debug code
2006-04-14 01:50:29 +00:00