Revisions for framework/Horde/Horde/Registry.php

Location: [ Horde CVS ] / framework / Horde / Horde / Registry.php View: Logs | Branches | Statistics
Search Revisions:
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.335 HEAD (+1 -1 lines) 07/09/2009 02:08 AM Michael M Slusarz slusarz

Move Horde core framework package to Git.

1.334 (+13 -13 lines) 07/08/2009 02:28 PM Michael M Slusarz slusarz

Bug:
Submitted by:
Merge after:
Auth:: -> Horde_Auth::

What was that noise?  That was the sound of this commit (possibly)destroying
your ability to login to Horde.  You have been warned.

1.333 (+2 -2 lines) 06/30/2009 02:00 PM Michael M Slusarz slusarz

Missing underscore after application name.

1.332 (+2 -2 lines) 06/24/2009 07:39 PM Michael M Slusarz slusarz

Notification:: -> Horde_Notification::

1.331 (+8 -1 lines) 06/24/2009 02:26 PM Michael M Slusarz slusarz

Bug:
Submitted by:
Merge after:
Application specific autoloading must be handled in Registry::. Calling
app-specific libraries from other applications won't work, since pushApp()
doesn't require inclusion of the application's base.php file.

Also, do case-insensitive matching for app-specific libs.

1.330 (+3 -3 lines) 06/09/2009 07:23 PM Michael M Slusarz slusarz

Move Horde_Util to git and convert to Horde 4 naming style.

1.329 (+17 -13 lines) 06/09/2009 01:03 PM Michael M Slusarz slusarz

Add parameter to getImageDir() which allows returning a URI without any
theme manipulation.

1.328 (+10 -12 lines) 03/09/2009 05:40 PM Michael M Slusarz slusarz

Bug: 8052
Don't need cache object for vhost mtime determination.

1.327 (+2 -3 lines) 03/06/2009 10:19 AM Jan Schneider jan

Make sure that $vhost ist defined.

1.326 (+9 -19 lines) 03/06/2009 06:11 AM Jan Schneider jan

Simplify: assume that registry.d always exists.
Bug: 8052

1.325 (+36 -42 lines) 03/06/2009 12:56 AM Michael M Slusarz slusarz

Cache app configs.

1.324 (+298 -245 lines) 03/05/2009 02:14 AM Michael M Slusarz slusarz

Bug: 8024
Submitted by:
Merge after:
[mms] Improved caching of Registry data significantly reduces session sizes
and total session storage requirements.

Explanation:
1. First, remove config file caching.  Config files are straight forward
and reading them in is a simple PHP parsing activity, so any benefit in
caching is minimal at best.
2. Move application/interfaces and api/type to 2 separate cache data objects.
Both objects depend on the current logged in user, so they are not 100%
global (i.e. admin user vs. non-admin).  However, in the vast majority of
cases, this data should be the same for most users. Therefore, we are
offloading a large portion of the session size (20-30K, at minimum) which
makes the session sizes smaller.  And this makes *every* session size
smaller which reduces the storage demands on the session backend.

1.323 (+3 -10 lines) 03/04/2009 11:08 PM Michael M Slusarz slusarz

Registry constant renames.

1.322 (+170 -193 lines) 03/04/2009 11:01 PM Michael M Slusarz slusarz

PHP 5-ify Registry code.  Next step - caching of registry data.

1.321 (+7 -3 lines) 01/27/2009 07:14 AM Jan Schneider jan

Revert and explain why.

1.320 (+2 -4 lines) 01/26/2009 10:41 AM Jan Schneider jan

Use NLS::setLanguageEnvironment().

1.319 (+2 -2 lines) 01/06/2009 12:49 PM Jan Schneider jan

Happy New Year

1.243.2.39 FRAMEWORK_3 (+2 -2 lines) 01/06/2009 10:23 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_3_8, HORDE_3_3_7, HORDE_3_3_6, HORDE_3_3_5, HORDE_3_3_4, HORDE_3_3_4_RC1, HORDE_3_3_3

1.318 (+14 -16 lines) 08/06/2008 01:12 PM Michael M Slusarz slusarz

A couple of minor code tweaks.

1.243.2.38 FRAMEWORK_3 (+11 -15 lines) 08/05/2008 03:49 PM Michael M Slusarz slusarz

MFH 1.317

Tags: HORDE_3_3_2, HORDE_3_3_1, HORDE_3_3, HORDE_3_3_RC1

1.317 (+11 -15 lines) 08/05/2008 03:47 PM Michael M Slusarz slusarz

Remove use of array_unique() in framework.

1.243.2.37 FRAMEWORK_3 (+12 -2 lines) 06/16/2008 01:49 PM Jan Schneider jan

MFH: 1.316

1.316 (+12 -2 lines) 06/16/2008 01:44 PM Jan Schneider jan

Config files may contain gettext strings, so set the current language before
loading them, even though the preferences loaded later may overwrite the
current language. But the current language is better than always using English
when loading the configuration.

1.243.2.36 FRAMEWORK_3 (+4 -1 lines) 05/21/2008 06:39 PM Jan Schneider jan

MFH: 1.315

Tags: HORDE_3_2_5, HORDE_3_2_4, HORDE_3_2_3, HORDE_3_2_2, HORDE_3_2_1, HORDE_3_2

1.315 (+4 -1 lines) 05/21/2008 06:34 PM Jan Schneider jan

Automatically set not installed apps to inactive. These are a few stat calls,
but stored in the session and neglectable.

1.243.2.35 FRAMEWORK_3 (+8 -20 lines) 05/06/2008 01:54 PM Michael M Slusarz slusarz

MFH 1.314

Tags: HORDE_3_2_RC4

1.314 (+8 -20 lines) 05/06/2008 01:27 PM Michael M Slusarz slusarz

Turns out that explode() doesn't throw an error at all if there is insufficient
entries to reach the limit value.

1.243.2.34 FRAMEWORK_3 (+28 -15 lines) 05/06/2008 12:37 AM Michael M Slusarz slusarz

MFH: Horde.php - 1.672; Registry.php - 1.313

1.313 (+28 -15 lines) 05/05/2008 05:13 PM Michael M Slusarz slusarz

Use error_reporting() instead of @foo() to silence error reports. Remove an
unneeded registry global.

1.243.2.33 FRAMEWORK_3 (+3 -2 lines) 04/10/2008 11:22 AM Chuck Hagenbuch chuck

MFH 1.312

1.312 (+3 -2 lines) 04/10/2008 11:14 AM Chuck Hagenbuch chuck

Avoid warnings if logging is disabled
Submitted by: duck@obala.net

1.243.2.32 FRAMEWORK_3 (+17 -1 lines) 04/03/2008 02:33 AM Michael M Slusarz slusarz

MFH 1.311

1.311 (+17 -1 lines) 04/03/2008 02:31 AM Michael M Slusarz slusarz

Add memory usage information to debug log output.

1.243.2.31 FRAMEWORK_3 (+12 -18 lines) 03/18/2008 01:54 PM Jan Schneider jan

MFH: Add NLS::setLanguageEnvironment() and NLS::setCharsetEnvironment().

1.310 (+12 -18 lines) 03/18/2008 01:42 PM Jan Schneider jan

Add NLS::setLanguageEnvironment() and NLS::setCharsetEnvironment().

1.243.2.25.2.1 FRAMEWORK_3_1 (+2 -2 lines) 03/07/2008 05:59 PM Chuck Hagenbuch chuck

SECURITY: Fix arbitrary file inclusion through abuse of the theme
preference.

Tags: HORDE_3_1_9, HORDE_3_1_8, HORDE_3_1_7

1.243.2.30 FRAMEWORK_3 (+2 -2 lines) 02/20/2008 07:07 PM Jan Schneider jan

MFH: 1.309

Tags: HORDE_3_2_RC3

1.309 (+2 -2 lines) 02/20/2008 06:49 PM Jan Schneider jan

Looks like noone ever used this codepath for over 4 years. :)

1.243.2.29 FRAMEWORK_3 (+2 -2 lines) 01/13/2008 10:25 PM Chuck Hagenbuch chuck

MFH: Automate detection of which themes/app combinations have custom icons (Bug #6105).

Tags: HORDE_3_2_RC2

1.308 (+2 -2 lines) 01/13/2008 10:10 PM Chuck Hagenbuch chuck

[cjh] Automate detection of which themes/app combinations have custom icons
(Bug #6105).

1.243.2.28 FRAMEWORK_3 (+4 -5 lines) 01/09/2008 11:46 PM Chuck Hagenbuch chuck

MFH 1.306, 1.307

1.307 (+4 -14 lines) 01/09/2008 11:43 PM Chuck Hagenbuch chuck

No need for $theme_icons - just check if the theme has a graphics
directory for the given application (especially since we cache
registry data now). Also avoids BC breaks with application icons and
is just more flexible.

1.306 (+11 -2 lines) 01/09/2008 04:07 PM Chuck Hagenbuch chuck

Verify that theme directories exist for each $theme_icons app.

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

Happy New Year

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

Happy New Year

1.243.2.26 FRAMEWORK_3 (+149 -149 lines) 12/20/2007 08:49 AM Jan Schneider jan

Merge from HEAD.

1.304 (+2 -2 lines) 11/20/2007 11:56 AM Chuck Hagenbuch chuck

Fix variable name.
Submitted by: Carlos Pires <acmpires@gmail.com>

Tags: BEFORE_MERGE_3_2, HORDE_3_2_RC1

1.303 (+76 -56 lines) 11/19/2007 06:24 PM Michael M Slusarz slusarz

Two more elements to cache: whether registry.d exists (saves us a filestat
call every page) and the list of themed icons for a particular theme (saves
us from including a theme's info.php on every page call).
Move all registry cache info into $_SESSION['_registry']
Remove static calls and replace with member variables.

1.302 (+4 -6 lines) 11/12/2007 12:58 PM Jan Schneider jan

That didn't work either. Leave the if-clause out completely, include_once is
taking care of loading this file not more than once.

1.301 (+2 -2 lines) 11/12/2007 12:33 PM Jan Schneider jan

Reverse logic. I wonder how this ever worked, probably by accident. Or I
misunderstood the code.

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

First round of copyright assignments.

1.299 (+3 -2 lines) 10/24/2007 11:43 PM Chuck Hagenbuch chuck

Fix a bug that caused cached values to contain duplicates

1.298 (+1 -2 lines) 08/01/2007 12:10 AM Chuck Hagenbuch chuck

Jon has assigned his copyrights to The Horde Project.

Tags: HORDE_3_2_ALPHA

1.297 (+6 -6 lines) 07/11/2007 02:16 PM Chuck Hagenbuch chuck

Avoid capital I in this method name (see http://bugs.php.net/bug.php?id=35050). Can do this here since it's a private function. Not sure if changing listAPIs to listApis would break or fix anything since that one is public.

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

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

1.295 (+4 -1 lines) 05/31/2007 12:36 PM Chuck Hagenbuch chuck

Use horde's graphics settings (like themesuri) for heading apps.

1.243.2.25 FRAMEWORK_3 (+5 -5 lines) 03/12/2007 08:04 PM Jan Schneider jan

MFH: 1.294

Tags: HORDE_3_1_6, HORDE_3_1_5, HORDE_3_1_4

1.294 (+5 -5 lines) 03/12/2007 02:34 PM Jan Schneider jan

Only skip setting the interfaces of inactive applications, all the other
settings are safe.

1.243.2.24 FRAMEWORK_3 (+3 -3 lines) 02/12/2007 06:51 AM Jan Schneider jan

MFH: 1.293

Tags: HORDE_3_1_4_RC1

1.293 (+3 -3 lines) 02/12/2007 05:36 AM Jan Schneider jan

Differenttiate between authenticated and guest user.

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

Happy New Year

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

Happy New Year

1.291 (+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.290 (+12 -9 lines) 12/09/2006 01:54 AM Chuck Hagenbuch chuck

file-level header and @package tag

1.289 (+8 -7 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.288 (+3 -2 lines) 09/04/2006 06:28 PM Jan Schneider jan

Use Horde_Array::array_merge_recursive_overwrite().

1.287 (+11 -1 lines) 09/01/2006 01:14 PM Jan Schneider jan

Vhost'ed registry configuration.

1.286 (+2 -2 lines) 09/01/2006 10:48 AM Jan Schneider jan

We need to merge recursively.

1.285 (+9 -20 lines) 09/01/2006 09:19 AM Jan Schneider jan

Add support for virtual host based configuration.

1.284 (+6 -3 lines) 06/24/2006 03:16 AM Matt Selsky selsky

Allow for no registry files existing.

1.283 (+21 -22 lines) 06/24/2006 12:17 AM Chuck Hagenbuch chuck

[cjh] Allow dropping application (or other custom-purpose) configuration
files into config/registry.d/.

1.243.2.22 FRAMEWORK_3 (+2 -2 lines) 05/04/2006 06:35 PM Jan Schneider jan

MFH: Drop 'none' prefs driver and make 'session' the default.

Tags: HORDE_3_1_3, HORDE_3_1_2

1.282 (+1 -1 lines) 05/04/2006 06:19 PM Jan Schneider jan

Drop 'none' prefs driver and make 'session' the default.

1.243.2.21 FRAMEWORK_3 (+1 -4 lines) 04/12/2006 06:36 PM Chuck Hagenbuch chuck

MFH:
- remove unused method Horde::getHordeMenu().
- Horde::initialPage() was only used in horde/index.php. Inline it there and
remove it from Horde::
- remove unfinished javascript detection code.

1.281 (+1 -4 lines) 04/12/2006 06:20 PM Chuck Hagenbuch chuck

- remove unused method Horde::getHordeMenu().
- Horde::initialPage() was only used in horde/index.php. Inline it there and
remove it from Horde::
- remove unfinished javascript detection code.

1.243.2.20 FRAMEWORK_3 (+2 -2 lines) 02/12/2006 05:47 PM Michael Rubinsky mrubinsk

MFH: 1.280

Tags: HORDE_3_1_1, HORDE_3_1, HORDE_3_1_RC3

1.280 (+2 -2 lines) 02/12/2006 05:40 PM Michael Rubinsky mrubinsk

Fixes problem with registry losing applications when api functions are called...Thanks to Michael Slusarz for this one.
Bug: 3304

1.243.2.19 FRAMEWORK_3 (+52 -52 lines) 01/23/2006 08:37 AM Jan Schneider jan

MFH: 1.279

Tags: HORDE_3_1_RC2

1.279 (+52 -52 lines) 01/23/2006 08:25 AM Jan Schneider jan

Move cache methods to a single place.

1.243.2.18 FRAMEWORK_3 (+7 -7 lines) 01/19/2006 01:04 PM Michael M Slusarz slusarz

Bug: 3304
MFH: Call Registry::clearCache() to reset the registry cache.

1.278 (+7 -7 lines) 01/19/2006 12:59 PM Michael M Slusarz slusarz

Call Registry::clearCache() to reset the registry cache.

1.277 (+2 -2 lines) 01/10/2006 01:29 AM Michael M Slusarz slusarz

MFB

1.243.2.17 FRAMEWORK_3 (+20 -2 lines) 01/10/2006 01:28 AM Michael M Slusarz slusarz

MFH: reset registrycache when switching languages in Registry::, not NLS::.

1.276 (+10 -2 lines) 01/10/2006 01:21 AM Michael M Slusarz slusarz

Bug: 3224
Make sure there is no old information written to the cache after we change
the language.

1.275 (+7 -7 lines) 01/07/2006 08:00 PM Chuck Hagenbuch chuck

handle method names that have more than one / by only exploding on the
first / and converting subsequent / into _.

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

Happy new year

Tags: HORDE_3_1_RC1

1.274 (+4 -4 lines) 01/01/2006 04:09 PM Jan Schneider jan

Happy new year\!

1.273 (+4 -1 lines) 12/29/2005 04:22 PM Chuck Hagenbuch chuck

[cjh] Add _horde_hook_post_pushapp for doing actions directly after
$registry->pushApp() succeeds.

1.272 (+2 -2 lines) 11/29/2005 03:40 AM Matt Selsky selsky

Fix function name to match caller.

Bug: 3066

1.271 (+11 -1 lines) 11/29/2005 12:13 AM Michael M Slusarz slusarz

Cleaner check to see if we need to update the registry cache in NLS.
Registry caching should be completely internal to Registry::.  Therefore, have
NLS:: call Registry:: to do any cache updates.

1.243.2.15 FRAMEWORK_3 (+6 -11 lines) 11/27/2005 03:24 PM Michael M Slusarz slusarz

MFH 1.270

1.270 (+6 -11 lines) 11/27/2005 03:21 PM Michael M Slusarz slusarz

This does not need to be an object variable.

1.269 (+7 -36 lines) 11/27/2005 02:08 PM Michael M Slusarz slusarz

Any preference caching should be handled by Prefs::, not concurrently by
Registry::.  We are essentially doing the same thing in two places.

1.243.2.11.2.2 FRAMEWORK_3_0 (+6 -3 lines) 10/27/2005 07:08 AM Jan Schneider jan

MFH: 1.268

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

1.243.2.11.2.1 FRAMEWORK_3_0 (+7 -5 lines) 10/27/2005 07:08 AM Jan Schneider jan

MFH: 1.267

1.243.2.14 FRAMEWORK_3 (+12 -7 lines) 10/27/2005 07:08 AM Jan Schneider jan

MFH: 1.267, 1.268

1.268 (+6 -3 lines) 10/27/2005 06:47 AM Jan Schneider jan

Cache loaded info.php.

1.267 (+7 -5 lines) 10/27/2005 06:45 AM Jan Schneider jan

wrapping

1.243.2.13 FRAMEWORK_3 (+1 -3 lines) 10/26/2005 02:25 PM Michael M Slusarz slusarz

MFH: Remove obsolete @since tags.

1.266 (+1 -3 lines) 10/26/2005 02:22 PM Michael M Slusarz slusarz

Remove obsolete @since tags.

1.243.2.12 FRAMEWORK_3 (+200 -43 lines) 10/18/2005 07:01 AM Jan Schneider jan

Merged from HEAD.

1.265 (+4 -5 lines) 10/02/2005 10:37 AM mdjukic

remove the displayModeOverride, and add a call to the Horde::sessionCallbacks()

Tags: BEFORE_MERGE_3_1

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