|
1.32.12.11 FRAMEWORK_3 (+6 -3 lines) |
04/24/2008 02:26 PM |
Chuck Hagenbuch chuck |
MFH 1.46 Tags: HORDE_3_3, HORDE_3_3_RC1, HORDE_3_2_2, HORDE_3_2_1, HORDE_3_2, HORDE_3_2_RC4 |
|
1.46 (+6 -3 lines) |
04/24/2008 02:25 PM |
Chuck Hagenbuch chuck |
Consistent prefs signature for the benefit of hooks
Bug: 6647
Submitted by: thomas (dot) jarosch (at) intra2net (dot) com |
|
1.32.12.10 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.45 (+2 -2 lines) |
01/02/2008 06:12 AM |
Jan Schneider jan |
Happy New Year |
|
1.32.12.9 FRAMEWORK_3 (+19 -43 lines) |
12/20/2007 08:49 AM |
Jan Schneider jan |
Merge from HEAD. |
|
1.44 (+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.43 (+2 -2 lines) |
06/27/2007 01:23 PM |
Jan Schneider jan |
Bump year, looks like a missed a few last time. |
|
1.42 (+7 -1 lines) |
06/15/2007 02:00 PM |
Chuck Hagenbuch chuck |
Remove dirty flag from prefs in the session driver. |
|
1.32.12.8 FRAMEWORK_3 (+2 -2 lines) |
01/02/2007 08:54 AM |
Jan Schneider jan |
Happy New Year Tags: HORDE_3_1_9, 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.41 (+12 -37 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.32.12.7 FRAMEWORK_3 (+4 -2 lines) |
05/11/2006 01:13 PM |
Jan Schneider jan |
MFH: 1.40 Tags: HORDE_3_1_3, HORDE_3_1_2 |
|
1.40 (+4 -2 lines) |
05/11/2006 01:02 PM |
Jan Schneider jan |
Call hooks only once. |
|
1.32.12.6 FRAMEWORK_3 (+2 -2 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.39 (+2 -2 lines) |
01/01/2006 04:10 PM |
Jan Schneider jan |
Happy new year\! |
|
1.38 (+1 -6 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.32.12.5 FRAMEWORK_3 (+2 -2 lines) |
10/18/2005 07:01 AM |
Jan Schneider jan |
Merged from HEAD. |
|
1.37 (+2 -2 lines) |
10/13/2005 01:59 AM |
Matt Selsky selsky |
ws Tags: BEFORE_MERGE_3_1 |
|
1.32.12.4 FRAMEWORK_3 (+1 -9 lines) |
07/03/2005 01:05 AM |
Matt Selsky selsky |
MFH: Remove "@access public" and fix wrapping. 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, HORDE_3_0_5_RC2, HORDE_3_0_5_RC1 |
|
1.36 (+1 -9 lines) |
07/03/2005 12:36 AM |
Matt Selsky selsky |
Remove "@access public" and fix wrapping. |
|
1.32.12.3 FRAMEWORK_3 (+11 -11 lines) |
05/09/2005 11:03 PM |
Matt Selsky selsky |
MFH: "optional" not needed in phpdoc. |
|
1.35 (+11 -11 lines) |
05/09/2005 11:01 PM |
Matt Selsky selsky |
"optional" not needed in phpdoc. |
|
1.32.12.2 FRAMEWORK_3 (+1 -2 lines) |
04/21/2005 07:26 AM |
Matt Selsky selsky |
Remove @version. |
|
1.34 (+1 -2 lines) |
04/21/2005 01:56 AM |
Matt Selsky selsky |
Remove @version. |
|
1.33 (+1 -1 lines) |
01/03/2005 08:09 AM |
Jan Schneider jan |
Happy New Year |
|
1.32.12.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.32 (+3 -4 lines) |
01/07/2004 12:25 PM |
Jan Schneider jan |
Make sure the default preferences are always loaded, even if not using any
preference backend. Tags: FRAMEWORK_3, HORDE_3_0, HORDE_3_0_RC3, HORDE_3_0_ALPHA |
|
1.31 (+3 -3 lines) |
01/01/2004 10:16 AM |
Jan Schneider jan |
Happy new year everyone. |
|
1.30 (+3 -3 lines) |
11/06/2003 02:44 PM |
Chuck Hagenbuch chuck |
More attempts to fix @package tags and at least organize everything
correctly. |
|
1.29 (+2 -6 lines) |
10/13/2003 11:10 AM |
Chuck Hagenbuch chuck |
Don't bail before we call setDefaults() |
|
1.28 (+6 -2 lines) |
10/03/2003 02:53 PM |
Chuck Hagenbuch chuck |
Here's another crack at the preferences problem. The logic for retrieve() seems to
be working correctly, so now we call setDefaults() only if we're going to actually
hit the backend in retrieve(), and don't call setDefaults() explicitly anywhere else.
This may mean a few things need to change for guest preferences, but we'll sort
that out. |
|
1.27 (+2 -6 lines) |
09/25/2003 09:53 AM |
Chuck Hagenbuch chuck |
Don't set _filled here; we use this for before-logged-in prefs and setting it can mean that prefs are never read correctly after the user is logged in. |
|
1.26 (+6 -2 lines) |
09/20/2003 10:33 PM |
Chuck Hagenbuch chuck |
Try to sort out the prefs caching logic. |
|
1.25 (+3 -3 lines) |
09/16/2003 07:06 PM |
Jan Schneider jan |
Use the new Util:: class. |
|
1.24 (+7 -13 lines) |
09/08/2003 05:44 PM |
Chuck Hagenbuch chuck |
Clean up preferences a bit:
- setDefaults() is now a private method (_setDefaults()), and only called by
the Prefs constructor.
- Everything we need gets stored in the session prefs cache. Therefore, we
only need to read in the prefs.php files once per session.
- clean up retrieve() a bit; we *never* pass it a list of explicit preferences, so
simplify by always loading all prefs per current scope. |
|
1.23 (+3 -3 lines) |
02/11/2003 03:36 PM |
Michael M Slusarz slusarz |
Added Horde::extensionExists() to cache extension_loaded() calls. |
|
1.22 (+6 -6 lines) |
02/07/2003 04:32 PM |
Michael M Slusarz slusarz |
Eliminate some array_key_exists() calls.
style. |
|
1.11.2.4 RELENG_2 (+1 -1 lines) |
01/03/2003 07:48 AM |
Jan Schneider jan |
Bump year. Tags: HORDE_2_2_4_RC2, HORDE_2_2_4_RC1, HORDE_2_2_4, HORDE_2_2_3, HORDE_2_2_2, HORDE_2_2_1, HORDE_2_2_1_RC1, HORDE_2_2, HORDE_2_2_RC2, HORDE_2_2_RC1 |
|
1.21 (+3 -3 lines) |
01/02/2003 09:39 PM |
Jan Schneider jan |
Bump year. |
|
1.20 (+6 -6 lines) |
01/02/2003 09:01 PM |
Michael M Slusarz slusarz |
Search for extensions rather than function names.
Do this extension check inside the constructor.
Various PEAR_Error cleanups.
some phpdoc. |
|
1.19 (+9 -10 lines) |
10/30/2002 10:53 AM |
Chuck Hagenbuch chuck |
Don't throw away $this->_prefs here. |
|
1.18 (+10 -12 lines) |
09/23/2002 03:37 PM |
Chuck Hagenbuch chuck |
- anonymous users now get session prefs, so their options last the length of
their session.
- a few tweaks to the session prefs driver |
|
1.17 (+7 -5 lines) |
08/05/2002 11:23 PM |
Chuck Hagenbuch chuck |
Add code to allow defining a function hook for _any_ preference. See
horde/config/hooks.php.dist for _lots_ of documentation and some examples. |
|
1.11.2.3 RELENG_2 (+9 -2 lines) |
07/26/2002 07:08 PM |
Jan Schneider jan |
MFH: Added LGPL license information to the top of all Horde library files. |
|
1.16 (+9 -2 lines) |
07/26/2002 03:59 PM |
Michael M Slusarz slusarz |
Added LGPL license information (per CODING_STANDARDS) to the top of all
Horde library files. My fingers hurt. |
|
1.15 (+34 -20 lines) |
07/18/2002 02:42 PM |
Michael M Slusarz slusarz |
General code cleanup/consolidation of some duplicate code.
sql/ldap were setting the 'default' entry in the $prefs hash - they should
be using setDefault() instead.
The Prefs:: class now automatically updates any preference with the dirty
bit set at the end of a request via a shutdown function. Thus, there is no
need to manually call a $prefs->store() at the end of a script anymore. |
|
1.14 (+13 -21 lines) |
06/22/2002 04:35 PM |
Chuck Hagenbuch chuck |
Use $_SESSION, simplifying session code a bunch. |
|
1.11.2.2 RELENG_2 (+13 -13 lines) |
06/19/2002 10:58 AM |
Jan Schneider jan |
Use superglobal arrays.
Submitted by: Nuno Loureiro <nuno@co.eth.pt> |
|
1.13 (+13 -13 lines) |
04/23/2002 05:28 AM |
Jan Schneider jan |
The last bunch of superglobals patches.
Submitted by: Nuno Loureiro <nuno@eth.pt> |
|
1.11.2.1 RELENG_2 (+3 -4 lines) |
11/15/2001 05:38 PM |
Chuck Hagenbuch chuck |
MFH: update error reporting Tags: HORDE_2_1, HORDE_2_1_RC3, HORDE_2_1_RC2, HORDE_2_1_RC1, HORDE_2_0_RC4, HORDE_2_0_RC3, HORDE_2_0, HORDE_2_0_RC2 |
|
1.12 (+3 -4 lines) |
11/12/2001 10:20 AM |
jon |
Update some of the error handling. |
|
1.11 (+4 -4 lines) |
11/06/2001 11:50 AM |
Chuck Hagenbuch chuck |
add __FILE__ and __LINE__ info to Horde::logMessage() and Horde::fatal(). Tags: RELENG_2, HORDE_2_0_0_RC1 |
|
1.10 (+9 -8 lines) |
11/05/2001 10:53 AM |
jon |
Remove the PREFS_* constants in favor of returning PEAR_Error objects. |
|
1.9 (+4 -4 lines) |
08/28/2001 12:27 PM |
Chuck Hagenbuch chuck |
phpdoc |
|
1.8 (+3 -3 lines) |
05/25/2001 01:26 AM |
jon |
Simplified the preference system's cleanup functions.
I discovered the parent:: syntax, which makes proper function
overriding possible. Tags: HORDE_1_3_4 |
|
1.7 (+5 -5 lines) |
05/07/2001 01:09 PM |
jon |
- Set the default scope to 'horde'.
- Convert the '_filled' cache flag to a hash of scopes (more granularity).
- Added cleanupCommon() to house common driver cleanup tasks. |
|
1.6 (+4 -4 lines) |
05/04/2001 11:04 AM |
Chuck Hagenbuch chuck |
comment tweaking; use phpdoc's optional tag instead of just (optional). |
|
1.5 (+6 -3 lines) |
04/30/2001 09:34 AM |
jon |
Disable preference caching by default. This still is 100% fixed yet, but
things should at least be working now (albeit sub-optimally). |
|
1.4 (+3 -3 lines) |
04/29/2001 01:09 PM |
jon |
Added Prefs::getScope() to return the scope of a given preference. |
|
1.3 (+22 -5 lines) |
04/26/2001 09:53 PM |
jon |
Adding Horde-wide and driver-specific cleanup methods to the preferences
system. |
|
1.2 (+21 -5 lines) |
04/23/2001 09:18 PM |
jon |
The 'session' preferences driver now honors preference scope.
I haven't tested this as extensively as I would have liked, so please handle
with care. Hopefully, everything is correct. |
|
1.1 |
02/22/2001 11:27 AM |
Chuck Hagenbuch chuck |
make factory-generated subclasses lowercase.
Bug:
Submitted by: |