Revisions for framework/Group/Group.php

Location: [ Horde ] / framework / Group / Group.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.67.2.21 FRAMEWORK_3 (+3 -3 lines) 06/07/2008 12:07 PM Chuck Hagenbuch chuck

MFH:
1.432     +2 -2      framework/Form/Form.php
1.113     +3 -3      framework/Group/Group.php
1.61      +3 -3      framework/History/History.php
1.680     +5 -5      framework/Horde/Horde.php
1.24      +14 -14    framework/Kolab/Kolab/IMAP.php
1.9       +10 -9     framework/Kolab/Kolab/LDAP.php
1.68      +2 -2      framework/Notification/Notification.php
1.103     +2 -2      framework/Perms/Perms.php
1.175     +2 -2      framework/UI/UI/VarRenderer/html.php
1.27      +3 -6      framework/VC/VC.php

Tags: HORDE_3_2_1

1.113 (+3 -3 lines) 06/07/2008 12:00 PM Chuck Hagenbuch chuck

Last round of singleton/reference fixes. I'm so looking forward to cleaning this
stuff up with PHP 5+ code.
Bug: 6837
Submitted by: Thomas Jarosch <thomas (dot) jarosch (at) intra2net (dot) com>

1.67.2.20 FRAMEWORK_3 (+10 -39 lines) 04/08/2008 01:48 PM Chuck Hagenbuch chuck

MFH:
1.112     +10 -39    framework/Group/Group.php
1.43      +1 -39     framework/Group/Group/ldap.php
1.2       +6 -18     framework/Group/Group/mock.php
1.3       +6 -44     framework/Group/Group/sql.php
1.71      +5 -5      horde/admin/groups.php

Tags: HORDE_3_2, HORDE_3_2_RC4

1.112 (+10 -39 lines) 04/08/2008 01:45 PM Chuck Hagenbuch chuck

- Add GROUP_ROOT constant to avoid using DATATREE_ROOT in non-datatree-specific situations
- remove unused renameGroup function

1.67.2.19 FRAMEWORK_3 (+15 -3 lines) 04/05/2008 03:06 PM Chuck Hagenbuch chuck

MFH: Add beta SQL Group driver (duck@obala.net, Request #6175).

1.111 (+2 -2 lines) 04/05/2008 02:49 PM Chuck Hagenbuch chuck

Fix variable name

1.110 (+15 -3 lines) 04/05/2008 01:01 AM Chuck Hagenbuch chuck

[cjh] Add beta SQL Group driver (duck@obala.net, Request #6175).

1.67.2.16.2.1 FRAMEWORK_3_1 (+2 -2 lines) 03/12/2008 01:35 PM Chuck Hagenbuch chuck

fix constant
Bug: 6437
Submitted by: matt@cpanel.net

Tags: HORDE_3_1_8

1.67.2.18 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:30 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_2_RC3, HORDE_3_2_RC2

1.109 (+2 -2 lines) 01/02/2008 06:11 AM Jan Schneider jan

Happy New Year

1.67.2.17 FRAMEWORK_3 (+319 -102 lines) 12/20/2007 08:49 AM Jan Schneider jan

Merge from HEAD.

1.108 (+3 -4 lines) 12/13/2007 08:35 AM Jan Schneider jan

Copyright assignment by Stephane Huther.

Tags: BEFORE_MERGE_3_2

1.107 (+2 -2 lines) 06/27/2007 01:22 PM Jan Schneider jan

Bump year, looks like a missed a few last time.

Tags: HORDE_3_2_RC1, HORDE_3_2_ALPHA

1.67.2.16 FRAMEWORK_3 (+3 -3 lines) 01/02/2007 08:54 AM Jan Schneider jan

Happy New Year

Tags: FRAMEWORK_3_1, HORDE_3_1_7, HORDE_3_1_6, HORDE_3_1_5, HORDE_3_1_4, HORDE_3_1_4_RC1

1.106 (+2 -2 lines) 01/02/2007 07:47 AM Jan Schneider jan

Happy New Year

1.105 (+2 -2 lines) 01/01/2007 07:40 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.104 (+42 -28 lines) 11/14/2006 01:15 PM Chuck Hagenbuch chuck

Need to load subclasses before unserializing session objects.
Bug: 4650

1.103 (+4 -2 lines) 08/04/2006 09:30 AM Jan Schneider jan

Don't register shutdown function if not using group cache.

1.102 (+38 -12 lines) 08/04/2006 05:26 AM Jan Schneider jan

Cache results of getGroupParent() and getGroupParentList() separately, because
getGroupParentList() doesn't contain the root node.
Don't store the Group and DataTree property objects of DataTreeObject_Group in
the session, but restore them on wakeup.

1.101 (+14 -1 lines) 07/31/2006 09:30 AM Jan Schneider jan

Don't store serialized DataTree object in session.

1.100 (+3 -2 lines) 07/21/2006 01:53 PM Jan Schneider jan

Attach shutdown method when we are sure to have a group object.

1.99 (+8 -5 lines) 07/21/2006 01:51 PM Jan Schneider jan

Check if _groupList is set. There is still some issues with the shutdown method.

1.98 (+237 -79 lines) 07/21/2006 11:12 AM Jan Schneider jan

Add group caching.

1.67.2.15 FRAMEWORK_3 (+3 -2 lines) 07/17/2006 10:40 AM Jan Schneider jan

MFH: 1.97

Tags: HORDE_3_1_3

1.97 (+3 -2 lines) 07/17/2006 10:09 AM Jan Schneider jan

Fix getGroupParents().

1.67.2.14 FRAMEWORK_3 (+2 -2 lines) 07/13/2006 05:00 AM Jan Schneider jan

MFH: 1.96

1.96 (+2 -2 lines) 07/12/2006 05:23 PM Chuck Hagenbuch chuck

This fixes Group::listAllUsers. I don't have FW_3 on anything with a net connection right now, can someone please merge this for me?

1.67.2.13 FRAMEWORK_3 (+4 -3 lines) 07/08/2006 12:39 PM Ben Chavet ben

* Fix botched merge.
* PEAR_LOG_ERR, not PEAR_LOG_ERROR

1.95 (+3 -3 lines) 07/08/2006 12:37 PM Ben Chavet ben

PEAR_LOG_ERR, not PEAR_LOG_ERROR

1.94 (+25 -1 lines) 07/08/2006 07:57 AM Jan Schneider jan

Revert 1.92 and 1.91

1.67.2.12 FRAMEWORK_3 (+5 -3 lines) 07/08/2006 01:17 AM Ben Chavet ben

MFH: 1.93

1.93 (+5 -3 lines) 07/08/2006 01:06 AM Ben Chavet ben

Make sure we always return true or false.  Anything else (PEAR_Error, for
example) can be interpreted as true, giving users access to things they
should not. (#4133)

Submitted by Ben Klang <ben (at) alkaloid (dot) net>

1.92 (+1 -25 lines) 07/07/2006 07:15 AM Jan Schneider jan

I'm confused, it doesn't work in either direction and it's not clear how it is
supposed to work. Nuke it completely.

1.91 (+4 -4 lines) 07/07/2006 07:08 AM Jan Schneider jan

Fix phpdoc, it's working in exactly the opposite direction.

1.90 (+10 -8 lines) 05/11/2006 04:27 PM Chuck Hagenbuch chuck

- don't silence file* calls when they really shouldn't fail (ie,
failing is a programmatic error, not a user/runtime error)

- rework factories to only include class files when the class doesn't
already exist (always allow a custom class to be included _before_ the
factory is called).

1.67.2.11 FRAMEWORK_3 (+3 -3 lines) 04/27/2006 01:01 PM Jan Schneider jan

MFH: 1.89

Tags: HORDE_3_1_2

1.89 (+3 -3 lines) 04/27/2006 11:08 AM Jan Schneider jan

Return results from save().

1.67.2.10 FRAMEWORK_3 (+3 -3 lines) 01/01/2006 04:28 PM Jan Schneider jan

Happy new year

Tags: HORDE_3_1_1, HORDE_3_1, HORDE_3_1_RC3, HORDE_3_1_RC2, HORDE_3_1_RC1

1.88 (+3 -3 lines) 01/01/2006 04:09 PM Jan Schneider jan

Happy new year\!

1.67.2.6.2.1 FRAMEWORK_3_0 (+14 -1 lines) 12/17/2005 04:25 PM Chuck Hagenbuch chuck

Add missing method used by the hooks driver.

Tags: HORDE_3_0_12, HORDE_3_0_11, HORDE_3_0_10

1.67.2.9 FRAMEWORK_3 (+5 -3 lines) 12/01/2005 05:30 AM Matt Selsky selsky

MFH: References.

1.87 (+5 -3 lines) 12/01/2005 04:49 AM Matt Selsky selsky

References.

1.67.2.8 FRAMEWORK_3 (+5 -6 lines) 11/11/2005 09:48 PM Chuck Hagenbuch chuck

Fix Group::listAllUsers (Carlos Pedrinaci, Bug #2937).

1.86 (+5 -6 lines) 11/11/2005 09:48 PM Chuck Hagenbuch chuck

Fix Group::listAllUsers (Carlos Pedrinaci, Bug #2937).

1.67.2.7 FRAMEWORK_3 (+92 -30 lines) 10/18/2005 07:01 AM Jan Schneider jan

Merged from HEAD.

1.85 (+2 -2 lines) 10/13/2005 01:59 AM Matt Selsky selsky

ws

Tags: BEFORE_MERGE_3_1

1.84 (+4 -3 lines) 08/06/2005 01:09 AM Ben Chavet ben

error checks

1.67.2.6 FRAMEWORK_3 (+1 -3 lines) 07/07/2005 02:12 PM Matt Selsky selsky

Remove "@access public".

Tags: FRAMEWORK_3_0, HORDE_3_0_9, HORDE_3_0_8, HORDE_3_0_7, HORDE_3_0_6, HORDE_3_0_6_RC1, HORDE_3_0_5, HORDE_3_0_5_RC2, HORDE_3_0_5_RC1

1.83 (+2 -2 lines) 06/09/2005 02:21 PM Ben Chavet ben

use the right function (getGroupName, instead of getName)

1.67.2.5 FRAMEWORK_3 (+6 -13 lines) 06/07/2005 06:50 PM Matt Selsky selsky

MFH: 1.82

1.82 (+15 -24 lines) 06/07/2005 06:46 PM Matt Selsky selsky

Add missing types and change string to integer where needed in phpdoc.

1.81 (+3 -3 lines) 06/07/2005 06:35 PM Matt Selsky selsky

Remove optional and fix parameter name in phpdoc.

1.80 (+25 -24 lines) 06/07/2005 05:17 PM Ben Chavet ben

Use the unique group IDs instead of the potentially non-unique group names
where possible.

1.79 (+1 -1 lines) 06/07/2005 03:56 PM Ben Chavet ben

Use parent's group ID instead of group name when creating a child group.

1.78 (+26 -0 lines) 06/07/2005 03:32 PM Ben Chavet ben

resolve more datatree assumptions

1.77 (+4 -4 lines) 06/07/2005 02:42 PM Ben Chavet ben

Use the group ID instead of the name to find the parent.  group names are
not necessarily unique.

1.76 (+8 -2 lines) 06/07/2005 02:23 PM Ben Chavet ben

Don't call DataTree:: function directly.

1.67.2.4 FRAMEWORK_3 (+20 -21 lines) 06/07/2005 02:05 AM Matt Selsky selsky

MFH: Clean up phpdoc.

1.75 (+20 -21 lines) 06/07/2005 01:44 AM Matt Selsky selsky

Clean up phpdoc.

1.74 (+2 -2 lines) 06/06/2005 07:57 PM Matt Selsky selsky

Fix phpdoc variable name.

1.73 (+2 -2 lines) 06/06/2005 05:53 PM Ben Chavet ben

Avoid access to another private variable.  I think that should be all of
them.

1.72 (+26 -1 lines) 06/06/2005 05:33 PM Ben Chavet ben

Avoid more private variable access.

1.71 (+6 -3 lines) 06/06/2005 04:26 PM Ben Chavet ben

Avoid using private functions from outside the object.

1.67.2.3 FRAMEWORK_3 (+3 -3 lines) 05/17/2005 03:12 PM Chuck Hagenbuch chuck

MFH 1.70

1.70 (+3 -3 lines) 05/17/2005 03:12 PM Chuck Hagenbuch chuck

fix double periods

1.67.2.2 FRAMEWORK_3 (+10 -14 lines) 05/10/2005 12:51 AM Matt Selsky selsky

MFH: Remove "optional" from phpdoc.

1.69 (+10 -14 lines) 05/10/2005 12:46 AM Matt Selsky selsky

Remove "optional" from phpdoc.

1.68 (+2 -2 lines) 01/03/2005 08:09 AM Jan Schneider jan

Happy New Year

1.67.2.1 FRAMEWORK_3 (+3 -3 lines) 01/03/2005 07:19 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_0_4, HORDE_3_0_4_RC2, HORDE_3_0_4_RC1, HORDE_3_0_3, HORDE_3_0_3_RC1, HORDE_3_0_2, HORDE_3_0_1

1.67 (+5 -1 lines) 12/18/2004 07:23 AM Jan Schneider jan

Catch errors returned from the History backend.

Tags: FRAMEWORK_3, HORDE_3_0

1.66 (+3 -5 lines) 12/07/2004 11:09 AM Chuck Hagenbuch chuck

Instead of hardcoding '-1' in tons of places, use a new constant: DATATREE_ROOT. Much more readable, etc. At the same time, make this an int (-1) instead of the string value ('-1') which was inconsistent with all other datatree ids, buggy, etc.

1.65 (+4 -4 lines) 08/25/2004 07:44 AM Jan Schneider jan

isset() -> empty()

Tags: HORDE_3_0_RC3

1.64 (+4 -4 lines) 08/17/2004 09:46 AM Jan Schneider jan

Fix parameters.

1.63 (+6 -6 lines) 04/07/2004 10:43 AM Chuck Hagenbuch chuck

No more HORDE_LIBS.

1.62 (+4 -4 lines) 01/25/2004 02:29 PM Chuck Hagenbuch chuck

[cjh] Horde_History, Horde_Links, and Horde_Search have been moved to
framework packages.

Tags: HORDE_3_0_ALPHA

1.61 (+56 -56 lines) 01/13/2004 08:36 PM Chuck Hagenbuch chuck

- Move Category into the framework.
- At the same time, rename the API to DataTree.
- shorten some method names while we're at it.

1.60 (+4 -4 lines) 01/11/2004 10:37 AM Chuck Hagenbuch chuck

fix Auth.php path.

1.59 (+5 -5 lines) 01/11/2004 01:19 AM Chuck Hagenbuch chuck

log the user that's been added/deleted; remove unnecessary parameter (Carlos Pedrinaci <cpedrinaci@yahoo.es>).

1.58 (+85 -9 lines) 01/10/2004 01:03 PM Chuck Hagenbuch chuck

Implement audit logging for groups.

Submitted by: Carlos Pedrinaci <cpedrinaci@yahoo.es>

1.57 (+5 -3 lines) 01/05/2004 01:59 PM Chuck Hagenbuch chuck

jrust: Finally getting around to finishing up the hooks driver for
Groups.  Attached is a patch which cleans up a couple bugs in the
driver, adds an example hook to hooks.php.dist, adds a group driver
option to conf.php.dist, and patches Group::singleton() to check for
that driver.

Submitted by: Jason Rust <jrust@rustyparts.com>

1.56 (+5 -5 lines) 01/01/2004 10:15 AM Jan Schneider jan

Happy new year everyone.

1.55 (+6 -4 lines) 11/20/2003 03:46 PM Chuck Hagenbuch chuck

Check if the group exists before trying to see if a user is in it.

1.54 (+6 -4 lines) 11/06/2003 11:55 PM Chuck Hagenbuch chuck

these includes need to be here 'cause of inheritance. silly Chuck.

1.53 (+25 -26 lines) 11/06/2003 04:31 PM Chuck Hagenbuch chuck

Rearrange include; better varname for the Category object.

1.52 (+4 -4 lines) 11/06/2003 02:44 PM Chuck Hagenbuch chuck

More attempts to fix @package tags and at least organize everything
correctly.

1.51 (+4 -4 lines) 10/30/2003 06:37 PM Jan Schneider jan

PHP 5 fixes.

1.50 (+4 -4 lines) 10/30/2003 02:50 PM Chuck Hagenbuch chuck

fix a really dumb typo that was causing the results of getGroupMemberships()
not to be cached.

1.49 (+8 -4 lines) 09/22/2003 06:39 PM Chuck Hagenbuch chuck

honor the $parentGroups parameter.

1.48 (+28 -14 lines) 08/26/2003 03:28 PM Chuck Hagenbuch chuck

Add an option to getGroupMemberships() to return any parent groups that the user is in
by inheritance, also.

1.47 (+17 -8 lines) 08/26/2003 01:54 PM Chuck Hagenbuch chuck

Better error messages and error checking.

1.46 (+23 -8 lines) 08/01/2003 01:28 PM Chuck Hagenbuch chuck

[cjh] Groups can now have an email address associated with them.

1.45 (+6 -3 lines) 07/31/2003 09:27 PM Chuck Hagenbuch chuck

error checking

1.44 (+27 -7 lines) 07/31/2003 02:37 PM Chuck Hagenbuch chuck

- add getGroupName()
- support either a group object or a group name in getGroupId()
- don't mess up array keys (and thus group ids) in listGroups()

1.43 (+8 -6 lines) 07/21/2003 01:19 PM Chuck Hagenbuch chuck

- fix listAllUsers()
- use different (hopefully a bit faster) logic for userIsInGroup() when $subgroups = true.

1.42 (+18 -10 lines) 05/30/2003 11:24 PM Chuck Hagenbuch chuck

Cache group memberships for each user, unless requested otherwise.

If people could spend a little bit of time going through the LOG_DEBUG
level logs now for SQL queries, and seeing where else we can
optimize/cache/cut out queries, that would be VERY useful.

1.41 (+9 -6 lines) 05/29/2003 01:58 PM Chuck Hagenbuch chuck

[cjh] Make getCategoriesByAttributes() much more sophisticated - it can
now handle a pretty much arbitrary logic tree - and use it to optimize
Horde_Share::listShares().

- also update Group.php to use the new getCategoriesByAttributes() syntax.

1.40 (+26 -15 lines) 05/25/2003 10:34 AM Chuck Hagenbuch chuck

[cjh] Add getCategoriesByAttributes(), and use it in Group::getGroupMemberships().

1.39 (+26 -5 lines) 05/24/2003 05:12 PM Chuck Hagenbuch chuck

use is_a; function stubs for upcoming work.

1.38 (+6 -6 lines) 03/24/2003 05:29 PM Jan Schneider jan

ZE2 fixes.

1.37 (+14 -13 lines) 03/07/2003 11:18 AM Chuck Hagenbuch chuck

Fix a few cases where sometimes the list of groups was cut short
because of a previous check/query.

1.36 (+9 -10 lines) 02/11/2003 08:03 AM Jan Schneider jan

Optimization, gettext.

1.35 (+64 -68 lines) 02/10/2003 06:37 PM Chuck Hagenbuch chuck

no need for a factory() call if we're just creating a Group instance...

Only showing the 100 latest revisions. Show all revisions? (may take a while).