Revisions for framework/Share/Share.php

Location: [ Horde ] / framework / Share / Share.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.111.2.28 FRAMEWORK_3 (+1 -14 lines) 08/01/2008 03:30 PM Michael Rubinsky mrubinsk

MFH: 1.164

1.164 (+1 -14 lines) 08/01/2008 03:01 PM Michael Rubinsky mrubinsk

There is no need to set owner permissions explicitly when creating a new
share, share owners are assumed to always have full permissions.

This fixes an issue with the sql share drivers that was causing permissions
checks to fail.

1.111.2.27 FRAMEWORK_3 (+10 -6 lines) 04/23/2008 05:05 PM Michael Rubinsky mrubinsk

MFH`

Tags: HORDE_3_2_1, HORDE_3_2, HORDE_3_2_RC4

1.163 (+10 -6 lines) 04/23/2008 04:59 PM Michael Rubinsky mrubinsk

Allow paging of results from a listShares() call

1.111.2.26 FRAMEWORK_3 (+4 -2 lines) 03/06/2008 12:01 AM Chuck Hagenbuch chuck

MFH 1.162

Tags: HORDE_3_2_RC3

1.162 (+4 -2 lines) 03/06/2008 12:00 AM Chuck Hagenbuch chuck

Add a missing error check

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

Happy New Year

Tags: HORDE_3_2_RC2

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

Happy New Year

1.111.2.24 FRAMEWORK_3 (+355 -541 lines) 12/20/2007 08:49 AM Jan Schneider jan

Merge from HEAD.

1.160 (+3 -1 lines) 12/02/2007 07:07 AM Jan Schneider jan

Add @since tags.

Tags: BEFORE_MERGE_3_2

1.159 (+18 -1 lines) 12/01/2007 09:24 PM Chuck Hagenbuch chuck

Add countShares()
Submitted by: duck@obala.net

1.158 (+2 -2 lines) 11/20/2007 08:45 AM Jan Schneider jan

Remove debug code. Looks like share caching is working again. :)

Tags: HORDE_3_2_RC1

1.157 (+141 -113 lines) 11/19/2007 08:54 PM Jan Schneider jan

Round 2 of Share refactoring. Probably broke a few things and the Kolab driver is completely untested.

1.156 (+23 -39 lines) 11/19/2007 11:45 AM Jan Schneider jan

Round 1 of Share cleanup: nuke extra storage class.

1.155 (+3 -4 lines) 11/01/2007 07:53 AM Jan Schneider jan

Copyright assignments, email updates.

1.154 (+1 -2 lines) 10/30/2007 08:23 PM Jan Schneider jan

First round of copyright assignments.

1.153 (+25 -1 lines) 10/23/2007 07:26 AM Gunnar Wrobel wrobel

Collapse this function into the parent class since the child classes don't differ.

1.152 (+7 -1 lines) 07/07/2007 03:11 PM Michael Rubinsky mrubinsk

Call this hook from Horde_Share_Object_datatree instead of DatatreeObject_Share so we can pass the whole Horde_Share_Object to the hook, as we did before...
(thanks for the input, chuck).

Tags: HORDE_3_2_ALPHA

1.151 (+4 -4 lines) 06/27/2007 01:23 PM Jan Schneider jan

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

1.150 (+14 -14 lines) 05/25/2007 12:54 PM Chuck Hagenbuch chuck

More reference fixes.
Bug: 5355
Submitted by: thomas (dot) jarosch (at) intra2net (dot) com

1.149 (+2 -2 lines) 05/17/2007 03:49 PM Chuck Hagenbuch chuck

PHP 4 reference fix (thomas (dot) jarosch (at) intra2net (dot) com, Bug #5355).

1.148 (+2 -3 lines) 03/26/2007 01:55 PM Jan Schneider jan

Nit

1.147 (+5 -2 lines) 03/08/2007 12:18 PM Chuck Hagenbuch chuck

Propogate return value from Horde_Share_Object set() function.
Bug: 5082
Submitted by: wrobel@pardus.de

1.111.2.23 FRAMEWORK_3 (+2 -2 lines) 01/14/2007 12:04 PM Jan Schneider jan

$groups can be false.

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

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

Happy New Year

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

Happy New Year

1.145 (+7 -6 lines) 01/02/2007 06:27 AM Jan Schneider jan

Fix share caching. I'm pretty sure it's rendered useless now, since we need to
load the object from datatree even if we have it in the cache already, but at
least it works at all.

1.144 (+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.143 (+182 -594 lines) 12/28/2006 10:53 PM Chuck Hagenbuch chuck

[cjh] Horde_Share now has a driver system with DataTree and Kolab backends
(Gunnar Wrobel <wrobel@pardus.de>, Request #4263).

Also greatly simplify the Horde_Share API while we're at it.

1.142 (+2 -2 lines) 12/26/2006 08:02 AM Jan Schneider jan

MFB: 1.111.2.21

1.111.2.21 FRAMEWORK_3 (+2 -2 lines) 12/26/2006 07:56 AM Jan Schneider jan

Stricter test.

1.141 (+2 -2 lines) 08/04/2006 10:48 AM Jan Schneider jan

Fix a reference.

1.140 (+11 -1 lines) 08/04/2006 10:28 AM Jan Schneider jan

Reset caches that can't be updated when removing or adding shares.

1.139 (+205 -51 lines) 08/04/2006 09:42 AM Jan Schneider jan

Add share caching.

1.111.2.20 FRAMEWORK_3 (+10 -10 lines) 05/04/2006 09:25 AM Jan Schneider jan

MFH 1.137, 1.138

Tags: HORDE_3_1_3, HORDE_3_1_2

1.138 (+3 -3 lines) 05/04/2006 09:15 AM Jan Schneider jan

Return success value.

1.137 (+8 -8 lines) 05/04/2006 09:13 AM Jan Schneider jan

Group has to be specified as the group id here.

1.111.2.19 FRAMEWORK_3 (+17 -1 lines) 04/27/2006 01:02 PM Jan Schneider jan

MFH: 1.136

1.111.2.18 FRAMEWORK_3 (+2 -1 lines) 04/27/2006 01:01 PM Jan Schneider jan

MFH: 1.135

1.136 (+17 -1 lines) 04/27/2006 12:16 PM Jan Schneider jan

Add removeGroup().

1.135 (+2 -1 lines) 04/27/2006 12:14 PM Jan Schneider jan

Helps to save the permission after removing the user.

1.111.2.17 FRAMEWORK_3 (+2 -2 lines) 04/18/2006 11:49 PM Ben Chavet ben

MFH: 1.134

1.134 (+1 -1 lines) 04/18/2006 06:24 PM Ben Chavet ben

Fix group permission checks.
Bug:  3646

1.111.2.16 FRAMEWORK_3 (+4 -4 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.133 (+4 -4 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

1.111.2.15 FRAMEWORK_3 (+66 -36 lines) 10/18/2005 07:01 AM Jan Schneider jan

Merged from HEAD.

1.111.2.14 FRAMEWORK_3 (+5 -3 lines) 09/23/2005 03:16 AM Jan Schneider jan

MFH: 1.132

Tags: HORDE_3_0_12, HORDE_3_0_11, HORDE_3_0_10, HORDE_3_0_9, HORDE_3_0_8, HORDE_3_0_7, HORDE_3_0_6, HORDE_3_0_6_RC1

1.132 (+5 -3 lines) 09/22/2005 05:06 PM Jan Schneider jan

References.

Tags: BEFORE_MERGE_3_1

1.131 (+11 -6 lines) 08/04/2005 04:11 PM Jan Schneider jan

Wrapping

1.130 (+4 -4 lines) 07/16/2005 10:47 PM Michael Rubinsky mrubinsk

phpdoc

1.129 (+4 -1 lines) 07/07/2005 08:36 AM Jan Schneider jan

Check for PEAR_Errors.

1.111.2.13 FRAMEWORK_3 (+9 -66 lines) 07/03/2005 01:52 AM Matt Selsky selsky

MFH: Remove "@access public" and fix formatting/wrapping.

Tags: HORDE_3_0_5, HORDE_3_0_5_RC2, HORDE_3_0_5_RC1

1.128 (+9 -67 lines) 07/03/2005 01:21 AM Matt Selsky selsky

Remove "@access public" and fix formatting/wrapping.

1.111.2.12 FRAMEWORK_3 (+2 -2 lines) 06/23/2005 06:29 PM Matt Selsky selsky

MFH: 1.127

1.127 (+2 -2 lines) 06/23/2005 06:16 PM Matt Selsky selsky

Fix spelling in phpdoc.

1.111.2.11 FRAMEWORK_3 (+10 -10 lines) 05/26/2005 04:31 PM Matt Selsky selsky

MFH: Clean up phpdoc.

1.126 (+10 -10 lines) 05/26/2005 04:26 PM Matt Selsky selsky

Clean up phpdoc.

1.125 (+3 -3 lines) 05/10/2005 11:42 AM Jan Schneider jan

No sense in returning integers by reference.

1.111.2.10 FRAMEWORK_3 (+2 -2 lines) 05/09/2005 10:01 PM Matt Selsky selsky

MFH: "optional" not needed in phpdoc.

1.124 (+2 -2 lines) 05/09/2005 09:55 PM Matt Selsky selsky

"optional" not needed in phpdoc.

1.111.2.9 FRAMEWORK_3 (+30 -28 lines) 05/03/2005 01:58 PM Jan Schneider jan

MFH 1.123

1.123 (+38 -36 lines) 05/03/2005 12:25 PM Jan Schneider jan

phpdoc

1.111.2.8 FRAMEWORK_3 (+2 -2 lines) 04/14/2005 12:57 PM Jan Schneider jan

MFH 1.122

1.122 (+1 -1 lines) 04/14/2005 12:42 PM Jan Schneider jan

Fix phpdoc

1.121 (+20 -14 lines) 03/19/2005 02:55 PM Chuck Hagenbuch chuck

Retrieve galleries and sort them in one datatree hit.

Bug: duck@obala.net

1.111.2.7 FRAMEWORK_3 (+2 -2 lines) 03/14/2005 09:06 PM Chuck Hagenbuch chuck

MFH 1.120

Tags: HORDE_3_0_4, HORDE_3_0_4_RC2

1.120 (+2 -2 lines) 03/14/2005 09:06 PM Chuck Hagenbuch chuck

Fix countShares() caching key.
Submitted by: Ben Chavet <ben@horde.org>

1.119 (+35 -18 lines) 03/11/2005 05:45 PM Chuck Hagenbuch chuck

[cjh] Allow for arbitrary attribute filters when listing or counting Share
objects (Duck <duck@obala.net>).

1.111.2.6 FRAMEWORK_3 (+2 -2 lines) 03/07/2005 10:47 PM Chuck Hagenbuch chuck

MFH 1.118

Tags: HORDE_3_0_4_RC1

1.118 (+2 -2 lines) 03/07/2005 10:47 PM Chuck Hagenbuch chuck

Fix case

1.111.2.5 FRAMEWORK_3 (+7 -6 lines) 03/06/2005 06:14 PM Chuck Hagenbuch chuck

MFH 1.117

1.117 (+8 -7 lines) 03/06/2005 06:14 PM Chuck Hagenbuch chuck

phpdoc improvements

1.111.2.4 FRAMEWORK_3 (+2 -4 lines) 01/13/2005 04:10 PM Chuck Hagenbuch chuck

MFH 1.115, 1.116

Tags: HORDE_3_0_3, HORDE_3_0_3_RC1

1.116 (+1 -3 lines) 01/13/2005 04:08 PM Chuck Hagenbuch chuck

kill @version

1.115 (+4 -4 lines) 01/13/2005 04:05 PM Chuck Hagenbuch chuck

Missing a few variables in the cache key here.

1.111.2.3 FRAMEWORK_3 (+4 -4 lines) 01/12/2005 11:40 AM Jan Schneider jan

MFH 1.114

1.114 (+1 -1 lines) 01/12/2005 11:17 AM Jan Schneider jan

After all it's a debug message. So keep it being logged but use a more neutral message.

1.111.2.2 FRAMEWORK_3 (+4 -4 lines) 01/12/2005 09:13 AM Jan Schneider jan

MFH 1.113

1.113 (+1 -1 lines) 01/12/2005 09:05 AM Jan Schneider jan

Avoid creating meaningless error messages in the logs.

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

Happy New Year

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

Happy New Year

Tags: HORDE_3_0_2, HORDE_3_0_1

1.111 (+8 -8 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.

Tags: FRAMEWORK_3, HORDE_3_0

1.110 (+6 -6 lines) 11/08/2004 04:25 PM Chuck Hagenbuch chuck

Fix logic (Duck <duck@obala.net>).

Tags: HORDE_3_0_RC3

1.109 (+8 -8 lines) 11/03/2004 11:44 PM Chuck Hagenbuch chuck

- owner criteria needs to be JOINed (it's a seperate set of tests) and
we want to restrict the set of tests to the same datatree_id (need to
pass all AND tests for the same datatree_id, but not for the same
attribute_name.

1.108 (+67 -62 lines) 10/29/2004 05:10 PM Chuck Hagenbuch chuck

Here's the discussed change to listShares(). $owner is now a restriction on the shares returned instead of a boolean; $userid must still have permission to see them.

1.107 (+7 -18 lines) 10/26/2004 02:51 PM Chuck Hagenbuch chuck

This doesn't make sense, it'd check for empty owners.

1.106 (+18 -7 lines) 10/25/2004 10:47 PM Chuck Hagenbuch chuck

Fix some of the $owner logic (Ben Chavet <ben@chavet.net>).

1.105 (+21 -42 lines) 10/04/2004 04:25 PM stuart

Second attempt at the share hooks:
- removed the config options; the hooks are now always called if defined, through Horde::callHook()
- added a new parameter to Horde::callHook() that is used as the return value on failure; by default a PEAR_Error object is returned as was the case previously

1.104 (+64 -3 lines) 10/04/2004 10:02 AM stuart

First shot at implementing hooks for share init, add, modify, remove and list events

1.103 (+6 -6 lines) 09/29/2004 07:14 AM Jan Schneider jan

Fix sorting if parent shares are missing in the share list, for example due to permission restrictions.

1.102 (+5 -3 lines) 09/12/2004 12:44 AM Chuck Hagenbuch chuck

We need to call setDataTree() on new objects.

1.101 (+5 -46 lines) 09/11/2004 12:18 AM Chuck Hagenbuch chuck

Use DataTreeObject::save().

1.100 (+8 -8 lines) 09/02/2004 08:01 PM Chuck Hagenbuch chuck

Make the datatree limit functionality available to shares and in ansel.

Submitted by: Duck <duck@obala.net>

1.99 (+4 -4 lines) 08/18/2004 01:01 PM Jan Schneider jan

!isset() -> empty()

1.98 (+4 -4 lines) 08/17/2004 10:07 AM Jan Schneider jan

Fix copy 'n' paste error.

1.97 (+4 -4 lines) 08/17/2004 10:05 AM Jan Schneider jan

Fix parameters.

1.96 (+99 -60 lines) 08/16/2004 06:14 PM Chuck Hagenbuch chuck

Add countShares() (from duck@obala.net) and move criteria tree
generation into a seperate function.

1.95 (+93 -106 lines) 07/13/2004 01:14 PM Jan Schneider jan

doc formatting

1.94 (+3 -7 lines) 07/13/2004 12:25 PM Jan Schneider jan

Remove share type (private/public). This can he perfectly handled by perms as
well. More modules coming.

1.93 (+5 -5 lines) 07/08/2004 03:41 PM Jan Schneider jan

phpdoc

1.92 (+17 -7 lines) 06/24/2004 02:59 PM Jan Schneider jan

Add getDataTree(), phpdoc fixes.

1.91 (+4 -3 lines) 06/17/2004 11:02 AM Jan Schneider jan

Set share owner to current user by default.
Fix "keep-at-least-one-share" code.

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