Ralf Becker
7da0cd0dd0
fixed static use of config::save_value()
2008-02-29 07:36:29 +00:00
Nathan Gray
cc210e9dae
config->save_value() was overwriting the cached array values with a single value
2008-02-22 16:42:20 +00:00
Ralf Becker
2722e59477
reworked the config class to:
...
- have a static method config::read($app) to read the config of an app, no need to instanciate it
- added some caching to not read the config more then once per request
- moved the get_customfields and get_content_type methods here from admin.customfields
- private custom fields only visible for certain users/groups (in addressbook only for the moment)
2008-01-19 05:25:37 +00:00
Ralf Becker
374749cdde
fixed not working save_value() method, if read_repository was not called
2006-08-17 14:32:25 +00:00
Ralf Becker
d8932b3ad3
calling invalidate_session_cache only if it exists (setup does not have/need it)
2005-11-24 20:08:09 +00:00
Ralf Becker
709ef070c9
fix for bug, that empty arrays are returned as serialized empty array and not an empty array
2005-11-08 08:12:30 +00:00
Ralf Becker
c85d34c0fe
changed the following table-names:
...
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
b82ac2c4d6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
d757e35973
reworked so-layer for MaxDB and new db-functions
2004-08-03 22:52:55 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
bd187fca49
return the config-array in read_repository, like other classes read_repository functions does (eg. preferences)
2004-04-04 10:02:25 +00:00
Ralf Becker
14ee63f8f5
fix to allow the apps to unset values in config_data, to get them deleted, also use stored value to determine if value has changed and not need read it again
2003-11-08 22:30:06 +00:00
Ralf Becker
737461af74
changed config-class to only write config-values if they are changed or new. This should give a better performance and prefents cases where the complete config got lost, because of a concurrent access.
2003-11-03 14:25:50 +00:00
Ralf Becker
519e874afb
use db from phpgw_setup if the phpgw one is not availible
2003-10-07 22:02:30 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
Miles Lott
c7f4184b69
Fix for addressbook custom fields
2002-04-13 03:34:23 +00:00
Miles Lott
db074c4dd7
GLOBALS; remove uneeded class vars in common (I hope)
2001-11-23 19:19:04 +00:00
Miles Lott
19b1fcb265
Delete the config by name prior to insertion, just in case it was listed under
...
another appname previously
2001-07-01 12:12:39 +00:00
Miles Lott
5304ec67f1
Lock app_sessions table in config class, and show preferences config in setup3
2001-06-23 04:37:31 +00:00
skeeter
960a50b148
Admin can enable disable caching on the fly now.
2001-06-23 01:01:39 +00:00
Miles Lott
c73aeb5c62
Make sure there is new data before deleting the old data
2001-06-13 15:44:56 +00:00
Miles Lott
131fb588ca
Change config_appname to config_app
2001-05-21 17:18:39 +00:00
jengo
eacb8a099e
Added new config class
2001-05-02 08:02:32 +00:00