|
1.17.2.26 FRAMEWORK_3 (+6 -3 lines) |
10/25/2008 12:41 PM |
Michael Rubinsky mrubinsk |
MFH:
1.58 +6 -3 framework/Share/Share/sql.php
1.48 +6 -3 framework/Share/Share/sql_hierarchical.php |
|
1.48 (+6 -3 lines) |
10/25/2008 12:36 PM |
Michael Rubinsky mrubinsk |
array_walk can only modify the original value if the callback takes the value
as a reference. _db->quote() takes it by value so the change doesn't stick.
Bug: 6883 |
|
1.17.2.25 FRAMEWORK_3 (+5 -3 lines) |
10/24/2008 10:14 AM |
Jan Schneider jan |
MFH: 1.47 |
|
1.47 (+5 -3 lines) |
10/24/2008 10:08 AM |
Jan Schneider jan |
Run group ids through quote(). |
|
1.17.2.24 FRAMEWORK_3 (+3 -4 lines) |
10/23/2008 05:28 PM |
Jan Schneider jan |
MFH: Don't cast group_uid to integer (Bug #6883). |
|
1.46 (+3 -4 lines) |
10/23/2008 05:17 PM |
Jan Schneider jan |
No integer casts here either.
Bug: 6883 |
|
1.17.2.23 FRAMEWORK_3 (+66 -31 lines) |
09/18/2008 08:54 PM |
Michael Rubinsky mrubinsk |
MFH: 1.45
Bug: 7347 Tags: HORDE_3_3 |
|
1.45 (+49 -16 lines) |
09/18/2008 08:47 PM |
Michael Rubinsky mrubinsk |
Remove all child shares when removing a share. Otherwise, they get orphaned.
Bug: 7347 |
|
1.44 (+2 -2 lines) |
09/11/2008 02:13 PM |
Michael Rubinsky mrubinsk |
use the write db here
Bug: 7302
Submitted by: Duck |
|
1.43 (+2 -2 lines) |
09/10/2008 12:56 PM |
Michael Rubinsky mrubinsk |
We might be setting as a top level share, need to protect against null $parent |
|
1.42 (+2 -2 lines) |
09/06/2008 06:34 AM |
Jan Schneider jan |
MFB: 1.17.2.22 |
|
1.17.2.22 FRAMEWORK_3 (+2 -2 lines) |
09/06/2008 05:23 AM |
Jan Schneider jan |
No gettext. Tags: HORDE_3_3_RC1 |
|
1.17.2.21 FRAMEWORK_3 (+6 -1 lines) |
08/11/2008 12:04 AM |
Michael Rubinsky mrubinsk |
MFH: 1.41 |
|
1.41 (+6 -1 lines) |
08/10/2008 09:17 PM |
Michael Rubinsky mrubinsk |
Avoid infinite recursion...check that we aren't attempting to set an existing
child share as the share's parent. |
|
1.17.2.20 FRAMEWORK_3 (+2 -3 lines) |
08/09/2008 03:39 PM |
Michael Rubinsky mrubinsk |
MFH: 1.40 |
|
1.40 (+2 -3 lines) |
08/09/2008 03:38 PM |
Michael Rubinsky mrubinsk |
avoid unnecessary assignment |
|
1.17.2.19 FRAMEWORK_3 (+14 -1 lines) |
08/09/2008 03:37 PM |
Michael Rubinsky mrubinsk |
MFH: 1.39 |
|
1.39 (+14 -1 lines) |
08/09/2008 03:35 PM |
Michael Rubinsky mrubinsk |
Add a countChildren() method to hierarchical driver. |
|
1.17.2.18 FRAMEWORK_3 (+3 -2 lines) |
08/09/2008 01:01 AM |
Michael Rubinsky mrubinsk |
MFH: 1.37 1.38 |
|
1.38 (+2 -1 lines) |
08/09/2008 01:00 AM |
Michael Rubinsky mrubinsk |
Make sure the permissions data is properly structured before creating the
share object |
|
1.37 (+2 -2 lines) |
08/09/2008 12:30 AM |
Michael Rubinsky mrubinsk |
this method takes the full array, not the share_flags value |
|
1.17.2.17 FRAMEWORK_3 (+21 -7 lines) |
08/08/2008 05:10 PM |
Michael Rubinsky mrubinsk |
MFH: 1.36 |
|
1.36 (+21 -7 lines) |
08/08/2008 05:03 PM |
Michael Rubinsky mrubinsk |
When resetting the parent of a share, make sure we also reset the
parent of any children of that share.
Bug: 7171 |
|
1.17.2.16 FRAMEWORK_3 (+4 -1 lines) |
08/07/2008 07:03 PM |
Michael Rubinsky mrubinsk |
MFH: 1.35 |
|
1.35 (+4 -1 lines) |
08/07/2008 06:59 PM |
Michael Rubinsky mrubinsk |
Make sure we always have a share_parent attribute set |
|
1.17.2.15 FRAMEWORK_3 (+8 -10 lines) |
07/20/2008 10:22 AM |
Chuck Hagenbuch chuck |
MFH:
1.47 +8 -7 framework/Share/Share/sql.php
1.34 +8 -10 framework/Share/Share/sql_hierarchical.php
1.1132 +1 -0 horde/docs/CHANGES |
|
1.34 (+8 -10 lines) |
07/20/2008 10:19 AM |
Chuck Hagenbuch chuck |
SQL portability and quoting
Bug: 7084 |
|
1.17.2.14 FRAMEWORK_3 (+10 -2 lines) |
07/11/2008 12:19 AM |
Michael Rubinsky mrubinsk |
MFH:
1.44 +69 -48 framework/Share/Share/sql.php
1.33 +10 -2 framework/Share/Share/sql_hierarchical.php
1.45 +10 -1 framework/Share/Share/sql.php |
|
1.33 (+10 -2 lines) |
07/11/2008 12:07 AM |
Michael Rubinsky mrubinsk |
Free results and prepared statements where we can. |
|
1.17.2.13 FRAMEWORK_3 (+9 -3 lines) |
07/10/2008 02:35 PM |
Michael Rubinsky mrubinsk |
MFH:
1.40 +46 -19 framework/Share/Share/sql.php
1.30 +3 -3 framework/Share/Share/sql_hierarchical.php
1.31 +7 -1 framework/Share/Share/sql_hierarchical.php
1.41 +4 -8 framework/Share/Share/sql.php
1.32 +7 -7 framework/Share/Share/sql_hierarchical.php
1.42 +2 -1 framework/Share/Share/sql.php |
|
1.32 (+7 -7 lines) |
07/10/2008 02:26 PM |
Michael Rubinsky mrubinsk |
Put these in _getShareCriteria() |
|
1.31 (+7 -1 lines) |
07/10/2008 01:41 PM |
Michael Rubinsky mrubinsk |
Convert driver keys and charset in this driver as well. |
|
1.30 (+3 -3 lines) |
07/10/2008 01:32 PM |
Michael Rubinsky mrubinsk |
clean up the _toDriver conversions. |
|
1.17.2.12 FRAMEWORK_3 (+2 -2 lines) |
06/27/2008 11:18 AM |
Michael Rubinsky mrubinsk |
MFH:
1.35 +3 -3 framework/Share/Share/sql.php
1.29 +2 -2 framework/Share/Share/sql_hierarchical.php |
|
1.29 (+2 -2 lines) |
06/27/2008 11:16 AM |
Michael Rubinsky mrubinsk |
Need to use DISTINCT when both listing and counting shares, otherwise if
a share has more than one entry in a *_shares_users or *_shares_groups table
(as would be the case if you give explicit perms to more than one user/group)
the share will be returned / counted more than once in the results. |
|
1.28 (+3 -1 lines) |
06/26/2008 07:50 PM |
Michael Rubinsky mrubinsk |
Log this query |
|
1.17.2.11 FRAMEWORK_3 (+14 -2 lines) |
06/09/2008 06:27 PM |
Michael Rubinsky mrubinsk |
MFH: 1.27 - better late then never... Tags: HORDE_3_2_2, HORDE_3_2_1 |
|
1.27 (+14 -2 lines) |
06/09/2008 01:43 PM |
Michael Rubinsky mrubinsk |
give the hierarchical driver it's own _addShare() method, that doesn't
propagate the share_name |
|
1.17.2.10 FRAMEWORK_3 (+7 -2 lines) |
06/06/2008 12:36 AM |
Michael Rubinsky mrubinsk |
MFH: 1.26 |
|
1.26 (+7 -2 lines) |
06/06/2008 12:32 AM |
Michael Rubinsky mrubinsk |
Allow complex comparisons in _getShareCriteria
Bug: 6842
Submitted by: Duck |
|
1.17.2.9 FRAMEWORK_3 (+27 -1 lines) |
06/05/2008 02:45 PM |
Michael Rubinsky mrubinsk |
MFH: 1.25 |
|
1.25 (+27 -1 lines) |
06/05/2008 02:44 PM |
Michael Rubinsky mrubinsk |
Override getPermission() here since we don't use share names in hierarchical
shares. Also add a _getName() implementation to return an empty string to
avoid any future issues with other libraries expecting a share name. |
|
1.17.2.8 FRAMEWORK_3 (+2 -2 lines) |
06/04/2008 06:32 PM |
Michael Rubinsky mrubinsk |
MFH: 1.24 |
|
1.24 (+2 -2 lines) |
06/04/2008 06:30 PM |
Michael Rubinsky mrubinsk |
hierarchical shares don't have share_names |
|
1.17.2.7 FRAMEWORK_3 (+13 -4 lines) |
06/01/2008 10:02 AM |
Michael Rubinsky mrubinsk |
MFH:
1.30 +33 -1 framework/Share/Share/sql.php
1.23 +13 -4 framework/Share/Share/sql_hierarchical.php |
|
1.23 (+13 -4 lines) |
06/01/2008 09:55 AM |
Michael Rubinsky mrubinsk |
More error checking and be sure to log any SQL errors |
|
1.17.2.6 FRAMEWORK_3 (+6 -6 lines) |
05/24/2008 01:48 PM |
Michael Rubinsky mrubinsk |
MFH:
1.27 +6 -6 framework/Share/Share/sql.php
1.22 +6 -6 framework/Share/Share/sql_hierarchical.php Tags: HORDE_3_2 |
|
1.22 (+6 -6 lines) |
05/24/2008 01:40 PM |
Michael Rubinsky mrubinsk |
More portable SQL bitwise comparisons.
Bug: 6751 |
|
1.17.2.5 FRAMEWORK_3 (+2 -2 lines) |
05/12/2008 07:49 PM |
Michael Rubinsky mrubinsk |
MFH: 1.21 |
|
1.21 (+2 -2 lines) |
05/12/2008 07:44 PM |
Michael Rubinsky mrubinsk |
this function takes the whole array, not the share_flags value |
|
1.17.2.4 FRAMEWORK_3 (+5 -5 lines) |
05/12/2008 12:52 PM |
Michael Rubinsky mrubinsk |
MFH: 1.20 |
|
1.20 (+5 -5 lines) |
05/12/2008 12:51 PM |
Michael Rubinsky mrubinsk |
Fix loading permissions for user/groups |
|
1.17.2.3 FRAMEWORK_3 (+9 -3 lines) |
05/11/2008 11:04 AM |
Michael Rubinsky mrubinsk |
MFH: 1.19 |
|
1.19 (+9 -3 lines) |
05/11/2008 11:00 AM |
Michael Rubinsky mrubinsk |
allow clearing a share's parent - making it a top-level share. |
|
1.17.2.2 FRAMEWORK_3 (+166 -20 lines) |
05/06/2008 06:47 PM |
Michael Rubinsky mrubinsk |
MFH: 1.18 Tags: HORDE_3_2_RC4 |
|
1.18 (+177 -16 lines) |
05/06/2008 06:42 PM |
Michael Rubinsky mrubinsk |
Need to implement these methods in this class instead of the base class
since we are not using share_names at all in the hierarchical driver.
Not doing this leads to infinite loops as the shareMap and cache is
keyed by share_name, which is always empty. |
|
1.17.2.1 FRAMEWORK_3 (+16 -1 lines) |
05/05/2008 05:41 PM |
Michael Rubinsky mrubinsk |
Merge the hierarchical sql share driver to FW_3 |
|
1.17 (+27 -4 lines) |
05/02/2008 09:08 PM |
Michael Rubinsky mrubinsk |
This was the only thing forcing applications to continue to use a share_name
when they are really not needed. Hierarchical shares are not likely to need
share_names, and if a specific application wants them, it can be overridden. Tags: FRAMEWORK_3 |
|
1.16 (+3 -4 lines) |
05/02/2008 08:29 PM |
Michael Rubinsky mrubinsk |
heh, guess I should have looked in sql.php first :)
Fix this in the same style as the way it's done in sql.php. |
|
1.15 (+4 -2 lines) |
05/02/2008 08:25 PM |
Michael Rubinsky mrubinsk |
The entire attribute query needs to be in it's own grouping |
|
1.14 (+2 -5 lines) |
05/02/2008 05:03 PM |
Michael Rubinsky mrubinsk |
Don't sort by share_name, use attribute_name when 'name' is chosen...just
like in the sql driver. |
|
1.13 (+4 -3 lines) |
05/02/2008 02:16 PM |
Michael Rubinsky mrubinsk |
- Fix limiting shares by a particular user
- Use DISTINCT in countShares() (at least for now) to deal with the case where
a share owner might also be listed in the *_share_users table for the share. |
|
1.12 (+3 -2 lines) |
05/01/2008 04:48 PM |
Michael Rubinsky mrubinsk |
Need to group these conditions together |
|
1.11 (+3 -3 lines) |
04/30/2008 08:33 PM |
Michael Rubinsky mrubinsk |
some more DB -> MDB2 leftovers |
|
1.10 (+2 -2 lines) |
04/30/2008 08:17 PM |
Michael Rubinsky mrubinsk |
this isn't used anymore now that it's MDB2 |
|
1.9 (+11 -11 lines) |
04/30/2008 07:23 PM |
Michael Rubinsky mrubinsk |
Horde_Share_sql (which this extends) uses MDB2 now |
|
1.8 (+3 -3 lines) |
04/29/2008 03:26 PM |
Chuck Hagenbuch chuck |
- Rename "perm_extra" to "share_flags" because that's how it's being used
- adjust flags to be a real bitmask with constants
- Set perm_creator, perm_default, and perm_guest to 0 (no perms) by default
- Adjust code accordingly |
|
1.7 (+11 -5 lines) |
04/28/2008 03:39 PM |
Michael Rubinsky mrubinsk |
- Need to check if $parent is an object before we try to use it to build a
cache key.
- Allow for share_parents to be '' or NULL to be more portable. |
|
1.6 (+1 -96 lines) |
04/28/2008 02:53 PM |
Michael Rubinsky mrubinsk |
This can now actually use the parent class' _save() method |
|
1.5 (+77 -69 lines) |
04/28/2008 02:49 PM |
Michael Rubinsky mrubinsk |
Still needs work, but at least now the hierarchical stuff is actually
working :) |
|
1.4 (+31 -4 lines) |
04/26/2008 10:43 AM |
Michael Rubinsky mrubinsk |
Need to override the base class' countShares() method, not _countShares()
Update some phpdoc to reflect actual return values
Add getParents() method to return all Horde_Share_Object parent objects. |
|
1.3 (+3 -31 lines) |
04/25/2008 07:14 PM |
Michael Rubinsky mrubinsk |
convert charset where needed |
|
1.2 (+7 -2 lines) |
04/25/2008 10:53 AM |
Michael Rubinsky mrubinsk |
Use $this->_tableColumns here also.
Add stub for inheritPermissions() method |
|
1.1 |
04/24/2008 05:15 PM |
Michael Rubinsky mrubinsk |
Initial hierarchical sql share driver implementation ported from Duck's
Ansel sql share code. This one extends the sql share driver. Not ready for
use, still some things that need to be fixed (some REPLACE INTO stuff for starters).
Will merge into FW_3 once it's tested :) |