|
1.137.10.36 FRAMEWORK_3 (+7 -1 lines) |
09/27/2008 09:02 PM |
Chuck Hagenbuch chuck |
MFH 1.194 |
|
1.194 (+7 -1 lines) |
09/27/2008 09:01 PM |
Chuck Hagenbuch chuck |
check for errors from hook functions
Bug: 7404
Submitted by: duck@obala.net |
|
1.137.10.35 FRAMEWORK_3 (+4 -1 lines) |
06/08/2008 11:54 AM |
Chuck Hagenbuch chuck |
MFH:
1.193 +4 -1 framework/Prefs/Prefs.php
1.1101 +2 -0 horde/docs/CHANGES Tags: HORDE_3_3, HORDE_3_3_RC1, HORDE_3_2_2, HORDE_3_2_1 |
|
1.193 (+4 -1 lines) |
06/08/2008 11:53 AM |
Chuck Hagenbuch chuck |
[cjh] Fix storing of unlocked preferences set by hooks
(manuel@mausz.at, Bug #6822). |
|
1.137.10.34 FRAMEWORK_3 (+29 -15 lines) |
06/02/2008 08:48 PM |
Chuck Hagenbuch chuck |
MFH:
1.192 +29 -15 framework/Prefs/Prefs.php
1.1096 +2 -0 horde/docs/CHANGES |
|
1.192 (+29 -15 lines) |
06/02/2008 08:46 PM |
Chuck Hagenbuch chuck |
[cjh] Fix over-zealous preference caching when preferences are requested for a
different user (Bug #6820). |
|
1.137.10.33 FRAMEWORK_3 (+32 -5 lines) |
03/10/2008 03:00 PM |
Chuck Hagenbuch chuck |
MFH:
1.191 +32 -5 framework/Prefs/Prefs.php
1.1050 +2 -0 horde/docs/CHANGES Tags: HORDE_3_2, HORDE_3_2_RC4, HORDE_3_2_RC3 |
|
1.191 (+32 -5 lines) |
03/10/2008 02:58 PM |
Chuck Hagenbuch chuck |
[cjh] Make sure that when we used a cached Preferences object, we set the
correct scope (Bug #6395). |
|
1.137.10.32 FRAMEWORK_3 (+2 -2 lines) |
01/02/2008 06:30 AM |
Jan Schneider jan |
Happy New Year Tags: HORDE_3_2_RC2 |
|
1.190 (+2 -2 lines) |
01/02/2008 06:12 AM |
Jan Schneider jan |
Happy New Year |
|
1.137.10.31 FRAMEWORK_3 (+228 -219 lines) |
12/20/2007 08:49 AM |
Jan Schneider jan |
Merge from HEAD. |
|
1.189 (+2 -2 lines) |
08/01/2007 12:10 AM |
Chuck Hagenbuch chuck |
Jon has assigned his copyrights to The Horde Project. Tags: BEFORE_MERGE_3_2, HORDE_3_2_RC1, HORDE_3_2_ALPHA |
|
1.188 (+2 -2 lines) |
06/27/2007 01:22 PM |
Jan Schneider jan |
Bump year, looks like a missed a few last time. |
|
1.187 (+2 -2 lines) |
06/21/2007 04:57 AM |
Jan Schneider jan |
MFB: 1.137.10.30 |
|
1.137.10.30 FRAMEWORK_3 (+2 -2 lines) |
06/20/2007 07:24 AM |
Jan Schneider jan |
Add $caching parameter to the singleton signature. If we load a cached
preference instance before a non-cached, the non-cached will be cached
instead.
This fixes notifications for downloaded linked attachments being sent to the
logged-in user instead of the message sender. Tags: HORDE_3_1_9, HORDE_3_1_8, HORDE_3_1_7, HORDE_3_1_6, HORDE_3_1_5 |
|
1.186 (+2 -2 lines) |
06/15/2007 01:59 PM |
Chuck Hagenbuch chuck |
This function should always return a boolean. Splitting hairs a little, but var_dumping and expecting to get a boolean here and getting '4' leads to less confidence in your debugging. |
|
1.137.10.29 FRAMEWORK_3 (+2 -2 lines) |
01/02/2007 08:54 AM |
Jan Schneider jan |
Happy New Year Tags: HORDE_3_1_4, HORDE_3_1_4_RC1 |
|
1.185 (+31 -17 lines) |
12/27/2006 06:10 PM |
Chuck Hagenbuch chuck |
Fix two shared preference bugs, both of which could cause Bug #4378:
- load the defaults for shared preferences into the horde scope, not the scope
of the app that marks them shared
- retrieve shared prefs when loading the horde scope even though we might not
have a conf for them then, and don't overwrite the retrieved value when we
_do_ load the conf later. |
|
1.137.10.28 FRAMEWORK_3 (+18 -6 lines) |
12/22/2006 11:12 AM |
Jan Schneider jan |
MFH 1.184 |
|
1.184 (+18 -6 lines) |
12/22/2006 11:11 AM |
Jan Schneider jan |
Fix charset conversion of default preference values.
Bug: 4703 |
|
1.183 (+10 -14 lines) |
12/06/2006 11:50 PM |
Chuck Hagenbuch chuck |
Fix hooks. |
|
1.182 (+8 -17 lines) |
11/24/2006 12:21 AM |
Chuck Hagenbuch chuck |
[cjh] Add preferences change hooks that are called when preferences are set
to new values (Request #4343). |
|
1.181 (+172 -154 lines) |
11/22/2006 11:47 PM |
Chuck Hagenbuch chuck |
[cjh] Rewrite the Prefs code to keep the same Prefs object through multiple
scope changes, instead of re-loading the Horde prefs, or prefs for
a scope that had already been loaded. Fixes bugs when making changes
to preferences and then switching scopes again (Bug #2838).
This is a big change to the prefs system, and while I've tested all of
it as best as I can, and the SQL driver I'm pretty confident in, this
needs testing before we even think about merging it. It would all be
BC, though.
Please let me know (or update the bug) if this works or doesn't work
for you, especially people using lots of hooks and other more edge
cases, and also let me know if you think it should be merged or not. |
|
1.180 (+2 -2 lines) |
09/05/2006 05:41 PM |
Jan Schneider jan |
$result is an empty array if the application doesn't have a prefs.php. |
|
1.179 (+8 -17 lines) |
09/01/2006 12:04 PM |
Jan Schneider jan |
Vhost'ed preference configuration.
Use Horde::callHook(). |
|
1.137.10.27 FRAMEWORK_3 (+2 -2 lines) |
07/03/2006 01:38 PM |
Chuck Hagenbuch chuck |
MFH 1.178 Tags: HORDE_3_1_3, HORDE_3_1_2 |
|
1.178 (+2 -2 lines) |
07/03/2006 01:37 PM |
Chuck Hagenbuch chuck |
Don't include hooks file more than once.
Submitted by: duck@obala.net |
|
1.177 (+2 -2 lines) |
06/29/2006 10:24 AM |
Michael M Slusarz slusarz |
Only update cache if preference actually changed (i.e. dirty bit is set). |
|
1.176 (+4 -2 lines) |
06/29/2006 10:15 AM |
Michael M Slusarz slusarz |
Revert 1.174 |
|
1.175 (+2 -4 lines) |
06/29/2006 03:42 AM |
Michael M Slusarz slusarz |
MFB |
|
1.137.10.26 FRAMEWORK_3 (+2 -5 lines) |
06/28/2006 06:32 PM |
Jan Schneider jan |
This change broke the preference cache completely. |
|
1.137.10.25 FRAMEWORK_3 (+2 -2 lines) |
05/18/2006 06:09 AM |
Jan Schneider jan |
MFH: 1.174 |
|
1.174 (+2 -2 lines) |
05/18/2006 06:07 AM |
Jan Schneider jan |
Don't fail with old configurations. |
|
1.137.10.24 FRAMEWORK_3 (+2 -2 lines) |
05/10/2006 10:10 AM |
Jan Schneider jan |
MFH: 1.173 |
|
1.173 (+2 -2 lines) |
05/10/2006 10:03 AM |
Jan Schneider jan |
This reference was important. |
|
1.137.10.23 FRAMEWORK_3 (+15 -24 lines) |
05/04/2006 06:35 PM |
Jan Schneider jan |
MFH: Drop 'none' prefs driver and make 'session' the default. |
|
1.172 (+14 -23 lines) |
05/04/2006 06:19 PM |
Jan Schneider jan |
Drop 'none' prefs driver and make 'session' the default. |
|
1.171 (+2 -2 lines) |
05/03/2006 12:25 AM |
Chuck Hagenbuch chuck |
no need to silence |
|
1.170 (+2 -2 lines) |
04/15/2006 09:35 PM |
Chuck Hagenbuch chuck |
Shutdown function doesn't work without this. Of course.
Bug: 3776 |
|
1.169 (+4 -2 lines) |
04/15/2006 07:11 PM |
Chuck Hagenbuch chuck |
Fix hooks on locked preferences. |
|
1.137.10.22 FRAMEWORK_3 (+2 -2 lines) |
04/12/2006 08:11 PM |
Chuck Hagenbuch chuck |
MFH 1.168 |
|
1.168 (+2 -2 lines) |
04/12/2006 08:10 PM |
Chuck Hagenbuch chuck |
Don't silence includes. |
|
1.167 (+4 -4 lines) |
04/11/2006 12:53 PM |
Chuck Hagenbuch chuck |
Remove some unnecessary references and minor cleanup. |
|
1.137.10.21 FRAMEWORK_3 (+1 -5 lines) |
04/10/2006 11:58 AM |
Chuck Hagenbuch chuck |
MFH: Horde_String not used in all prefs backends. |
|
1.166 (+1 -5 lines) |
04/10/2006 11:56 AM |
Chuck Hagenbuch chuck |
Horde_String is not required by all prefs backends. |
|
1.165 (+40 -46 lines) |
02/28/2006 02:01 AM |
Michael M Slusarz slusarz |
phpdoc cleanups
cache cleanups. cacheUpdate() is now only called with the preferences that
need to be updated, instead of always updating the entire prefs array. On
my server, this reduced the number of assignments in cacheUpdate() from 2173
to 379. i think there is still some more tweaking that can be done in here. |
|
1.137.10.20 FRAMEWORK_3 (+2 -4 lines) |
02/28/2006 01:06 AM |
Michael M Slusarz slusarz |
MFH 1.164 Tags: HORDE_3_1_1, HORDE_3_1 |
|
1.164 (+2 -4 lines) |
02/28/2006 01:01 AM |
Michael M Slusarz slusarz |
simplify |
|
1.137.10.19 FRAMEWORK_3 (+25 -15 lines) |
02/28/2006 12:59 AM |
Michael M Slusarz slusarz |
Bug: 3372
MFH: Prefs.php - 1.161-1.163; imsp.php - 1.12; ldap.php - 1.105;
sql.php - 1.114 |
|
1.163 (+22 -11 lines) |
02/28/2006 12:56 AM |
Michael M Slusarz slusarz |
Move all cache updating to cacheUpdate().
Make sure to remove entries from cache when remove() is called. |
|
1.162 (+4 -11 lines) |
02/28/2006 12:45 AM |
Michael M Slusarz slusarz |
Don't think we need the '_filled' entries since we can simply check for the
presence of the 'scopename' in the prefs_cache array. |
|
1.161 (+7 -1 lines) |
02/28/2006 12:39 AM |
Michael M Slusarz slusarz |
Bug: 3372
Update prefs_cache on setting the preference value. |
|
1.160 (+4 -4 lines) |
02/09/2006 11:19 PM |
Chuck Hagenbuch chuck |
Warn user if loading prefs fails. |
|
1.137.10.18 FRAMEWORK_3 (+2 -2 lines) |
01/01/2006 04:28 PM |
Jan Schneider jan |
Happy new year Tags: HORDE_3_1_RC3, HORDE_3_1_RC2, HORDE_3_1_RC1 |
|
1.159 (+2 -2 lines) |
01/01/2006 04:10 PM |
Jan Schneider jan |
Happy new year\! |
|
1.158 (+1 -20 lines) |
12/26/2005 02:10 PM |
Chuck Hagenbuch chuck |
- Don't call Horde::fatal() in prefs drivers
- Remove call to Horde::serviceDegraded()
- Go back to only connecting to the backend if we actually need to - most
page loads should never hit the prefs backend due to the session cache. |
|
1.137.10.17 FRAMEWORK_3 (+5 -11 lines) |
11/28/2005 05:45 AM |
Jan Schneider jan |
MFH |
|
1.157 (+10 -16 lines) |
11/28/2005 05:29 AM |
Jan Schneider jan |
Revert 1.155. It is not the factory's job to create singletons. That's what singleton() is for. Fixes partially bug 3050. |
|
1.137.10.16 FRAMEWORK_3 (+2 -9 lines) |
11/27/2005 02:24 PM |
Michael M Slusarz slusarz |
MFH 1.156 |
|
1.156 (+2 -9 lines) |
11/27/2005 01:58 PM |
Michael M Slusarz slusarz |
we can merge these preferences much more conveniently. |
|
1.137.10.15 FRAMEWORK_3 (+12 -10 lines) |
11/26/2005 03:30 PM |
Michael M Slusarz slusarz |
MFH 1.155 |
|
1.155 (+17 -15 lines) |
11/26/2005 03:19 PM |
Michael M Slusarz slusarz |
Don't create a whole new Prefs:: object when we are just changing the scope. |
|
1.154 (+20 -1 lines) |
11/09/2005 07:44 PM |
mdjukic |
ah, forgot to commit the parent classes for the failover logic |
|
1.137.10.14 FRAMEWORK_3 (+6 -3 lines) |
11/07/2005 04:49 AM |
Jan Schneider jan |
MFH: Fixes for reference warnings with PHP 5.1. |
|
1.153 (+6 -3 lines) |
11/07/2005 12:50 AM |
Chuck Hagenbuch chuck |
Fixes for reference warnings with PHP 5.1. If someone could merge
these it'd be appreciated, I'm not up to it right now and will be
swamped come morning. |
|
1.137.10.13 FRAMEWORK_3 (+1 -5 lines) |
10/26/2005 02:25 PM |
Michael M Slusarz slusarz |
MFH: Remove obsolete @since tags. |
|
1.152 (+1 -5 lines) |
10/26/2005 02:22 PM |
Michael M Slusarz slusarz |
Remove obsolete @since tags. |
|
1.137.10.12 FRAMEWORK_3 (+11 -1 lines) |
10/18/2005 07:01 AM |
Jan Schneider jan |
Merged from HEAD. |
|
1.137.10.11 FRAMEWORK_3 (+2 -2 lines) |
07/23/2005 06:38 PM |
Michael M Slusarz slusarz |
MFH 1.151 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, HORDE_3_0_5 |
|
1.151 (+2 -2 lines) |
07/23/2005 06:35 PM |
Michael M Slusarz slusarz |
After further review, this Auth check is not needed either. Tags: BEFORE_MERGE_3_1 |
|
1.137.10.10 FRAMEWORK_3 (+2 -2 lines) |
07/23/2005 06:25 PM |
Michael M Slusarz slusarz |
MFH: CHANGES - 1.712; Prefs.php - 1.150 |
|
1.150 (+2 -2 lines) |
07/23/2005 06:19 PM |
Michael M Slusarz slusarz |
Fix botched revert from 3 years ago. My bad. |
|
1.137.10.9 FRAMEWORK_3 (+9 -47 lines) |
07/03/2005 01:05 AM |
Matt Selsky selsky |
MFH: Remove "@access public" and fix wrapping. Tags: HORDE_3_0_5_RC2, HORDE_3_0_5_RC1 |
|
1.149 (+9 -47 lines) |
07/03/2005 12:36 AM |
Matt Selsky selsky |
Remove "@access public" and fix wrapping. |
|
1.137.10.8 FRAMEWORK_3 (+3 -2 lines) |
06/13/2005 04:52 AM |
Jan Schneider jan |
MFH: 1.148 |
|
1.148 (+3 -2 lines) |
06/13/2005 04:42 AM |
Jan Schneider jan |
Always call prefs hooks on default values. |
|
1.137.10.7 FRAMEWORK_3 (+4 -5 lines) |
06/08/2005 12:33 AM |
Matt Selsky selsky |
MFH: Remove object keywords from phpdoc. |
|
1.147 (+4 -5 lines) |
06/08/2005 12:22 AM |
Matt Selsky selsky |
Remove object keywords from phpdoc. |
|
1.146 (+11 -1 lines) |
06/06/2005 08:33 PM |
Chuck Hagenbuch chuck |
Add PHP5 __get and __set functions to PHP5 code can just do $prefs->pref_name. |
|
1.137.10.6 FRAMEWORK_3 (+9 -9 lines) |
06/01/2005 06:38 PM |
Matt Selsky selsky |
MFH: Clean up types in phpdoc. |
|
1.145 (+9 -9 lines) |
06/01/2005 06:26 PM |
Matt Selsky selsky |
Clean up types in phpdoc. |
|
1.137.10.5 FRAMEWORK_3 (+14 -5 lines) |
05/31/2005 10:48 PM |
Matt Selsky selsky |
MFH: Clean up phpdoc for constants. |
|
1.144 (+14 -5 lines) |
05/31/2005 10:44 PM |
Matt Selsky selsky |
Clean up phpdoc for constants. |
|
1.137.10.4 FRAMEWORK_3 (+7 -2 lines) |
05/12/2005 10:52 AM |
Jan Schneider jan |
MFH 1.143 |
|
1.143 (+7 -2 lines) |
05/12/2005 10:34 AM |
Jan Schneider jan |
Cache some NLS::getCharset() calls in often called methods. |
|
1.137.10.3 FRAMEWORK_3 (+27 -35 lines) |
05/09/2005 11:03 PM |
Matt Selsky selsky |
MFH: "optional" not needed in phpdoc. |
|
1.142 (+27 -35 lines) |
05/09/2005 11:01 PM |
Matt Selsky selsky |
"optional" not needed in phpdoc. |
|
1.141 (+5 -5 lines) |
04/26/2005 12:14 PM |
Ben Chavet ben |
revert |
|
1.140 (+4 -4 lines) |
04/26/2005 11:57 AM |
Ben Chavet ben |
Add username to the cache key. This was causing problems with freebusyURL's |
|
1.137.10.2 FRAMEWORK_3 (+1 -2 lines) |
04/21/2005 07:26 AM |
Matt Selsky selsky |
Remove @version. |
|
1.139 (+1 -2 lines) |
04/21/2005 01:56 AM |
Matt Selsky selsky |
Remove @version. |
|
1.138 (+1 -1 lines) |
01/03/2005 08:09 AM |
Jan Schneider jan |
Happy New Year |
|
1.137.10.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.137 (+5 -5 lines) |
10/18/2004 08:45 PM |
Chuck Hagenbuch chuck |
Registry::getParam() -> Registry::get(). Tags: FRAMEWORK_3, HORDE_3_0, HORDE_3_0_RC3 |
|
1.136 (+6 -6 lines) |
08/30/2004 02:41 PM |
Chuck Hagenbuch chuck |
Trim ws. |
|
1.135 (+57 -14 lines) |
08/24/2004 06:25 AM |
Jan Schneider jan |
Don't convert charset of prefs when storing them into the backend but keep
them already converted in the prefs cache.
This is necessary for example for serialized data like identities. When we
retrieved such prefs with another charset than we used to store them, the
conversion happened on the serialized string, breaking the unserialization
because the string lengths were not correct anymore.
Code that needs to store serialized data can now do the conversion itself,
serialize the data and then store it while telling the prefs backend to *not*
convert it automatically. |
|
1.134 (+4 -4 lines) |
07/17/2004 10:44 AM |
Jan Schneider jan |
phpdoc fixes
Submitted by: Andrew Coleman <mercury@appisolutions.net> |
|
1.133 (+10 -2 lines) |
06/14/2004 05:35 PM |
Jan Schneider jan |
Add clear() method. Someone has to implement that for the LDAP driver. |
|
1.132 (+3 -3 lines) |
04/07/2004 10:43 AM |
Chuck Hagenbuch chuck |
No more HORDE_LIBS. |
|
1.131 (+2 -28 lines) |
02/21/2004 12:40 PM |
Chuck Hagenbuch chuck |
[cjh] Prefs::getPref() has been deprecated and is no longer present. Tags: HORDE_3_0_ALPHA |
|
1.130 (+3 -2 lines) |
02/18/2004 04:41 PM |
Jan Schneider jan |
Add "password" preference type.
Submitted by: Michael Rubinsky <mike@theupstairsroom.com> |
|
1.129 (+3 -3 lines) |
01/31/2004 09:41 AM |
Jan Schneider jan |
Use isset() instead of !is_null() to avoid undefined index warnings. |