Ralf Becker
57240d4e8a
fixed typo causing preferences not to be deleted, when users or groups get deleted
2014-01-14 11:53:53 +00:00
Ralf Becker
f51f7f5731
allow to use "default" or "forced" as parameter to preferences::set_account() to load default or forced preferences
2013-11-14 15:33:12 +00:00
Hadi Nategh
86dfe42104
replace no longer existing depricated egw_info->user email and fullname
2013-07-04 17:45:20 +00:00
Nathan Gray
936c375a2d
Fix cache not being updated when clearing a preference
2013-06-11 22:43:42 +00:00
Ralf Becker
2b2938d2dd
methods to get/set current account_id taking care of necessary offset for groups
2013-05-10 17:20:37 +00:00
Nathan Gray
5e84ddd935
Change admin column selection to allow setting / clearing / forcing column selection
2013-04-22 22:32:40 +00:00
Ralf Becker
52ac0dd0b3
fix lang.php always returning all translations, because preferences::standard_substitutes loads them
2013-02-07 15:32:18 +00:00
Ralf Becker
06bc5ea552
do NOT delete preferences, before writing them in preferences::save_repository (might be cause for race-condition causing preferences to be lost)
2012-10-31 14:16:17 +00:00
Ralf Becker
7cd606e529
cumulate group-preferences of all memberships of a user, not just his primary group
2012-10-30 10:22:05 +00:00
Ralf Becker
c9074f936d
additionally check prefs read from cache, if they are of type array, otherwise read them from db, might help with APC at least in some versions not seem to deal correctly with out-of-memory
2012-09-26 10:18:18 +00:00
Klaus Leithoff
4cd32b9deb
silence warnings
2012-08-22 08:00:36 +00:00
Ralf Becker
0e0993863c
* API/preferences: caching preferences in instance cache instead of session, to get immediate update in long running sessions (eg. sync) and get smaller sessions
2012-08-07 13:57:56 +00:00
Ralf Becker
bd273c1b45
fixed typo in setting date- and time-format in egw_time::check_set_tz_offset(), causing eg. importexport to fail, if async job before had no account or account had different format
2012-03-02 09:53:41 +00:00
Ralf Becker
1c386e2d6b
new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences
2012-03-01 18:03:13 +00:00
Klaus Leithoff
d37ee80161
mending Warnings: Cannot use a scalar value as an array
2011-12-20 15:57:03 +00:00
Klaus Leithoff
ac2279d933
* API: is_a compatibility vs. php5.3.8 resolving to instanceof operator for most common basic classes
2011-09-26 09:52:43 +00:00
Ralf Becker
eb6bea34b2
some fixes to run save_repository() reliable within setup
2011-06-14 08:44:24 +00:00
Ralf Becker
e9d789bafe
updating preferences object in session too
2010-11-16 14:27:35 +00:00
Ralf Becker
53e1f3a96e
no need to invalidate session cache, if we write the prefs to the session too
2010-11-16 09:34:47 +00:00
Ralf Becker
f49eaf39ce
fixed in some update situations called unset_datetime on egw_minimal object
2010-09-08 07:45:38 +00:00
Ralf Becker
6799864392
fixed wrong language in notifications
2010-05-20 19:32:52 +00:00
Ralf Becker
259ae6fe24
"fixed not working delete of a preference (was set to an empty string in the db)"
2010-05-12 09:23:50 +00:00
Klaus Leithoff
5339d85c56
rework of home area (moving of portal_boxes, deletion of portal_boxes); modification/fixes to preferences::delete; adding app_id to trackers portal-box
2010-04-21 11:09:38 +00:00
Ralf Becker
30e13c4acf
first step of group prefs (backend only for now)
2010-01-27 05:44:31 +00:00
Christian Binder
c7966ba8a4
little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset
2009-10-19 21:15:12 +00:00
Ralf Becker
e1e712c9fb
php5 constructor and constants for default and forced prefs owner
2009-10-18 12:45:09 +00:00
Ralf Becker
3ef01bc589
Refined egw_time class a bit more and and integrated it with preferences
...
class, to automatically set relevant user prefs (tz, dateformat,
timeformat).
2009-10-08 16:14:18 +00:00
Ralf Becker
e0795f7328
"fixed session preferences, were broken since 1.6"
2009-10-07 18:59:01 +00:00
Christian Binder
efad9168fa
fixed typo
2009-10-07 08:05:10 +00:00
Ralf Becker
610b629325
first step for real timezones in EGroupware
2009-10-06 06:45:28 +00:00
Klaus Leithoff
76faf17eb0
strange phenomenon with existing debug variable
2008-12-09 15:25:26 +00:00
Klaus Leithoff
91c5e6d23c
print out the standard substitutes, if debug is switched on
2008-12-09 13:07:29 +00:00
Klaus Leithoff
f28eed1973
enabling debug in some cases, switched off, as default
2008-12-09 12:59:03 +00:00
Ralf Becker
81a0b796d9
"using the global db object"
2008-03-15 15:11:48 +00:00
Ralf Becker
42698c08b6
some more stupid php5.2 fixes
2006-12-21 14:10:59 +00:00
Ralf Becker
3660b40851
fixed typo
2006-12-20 09:25:29 +00:00
Ralf Becker
0af8df4caa
new param to not invalidate the session-cache
2006-06-17 18:37:35 +00:00
Ralf Becker
2c604b7b06
invalid session cache on change of session preference, otherwise session prefs only work in login
2006-04-05 15:17:41 +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
1549913fd7
fix for bug [ 1361782 ] missing sql tables: hook code accessing the prefs-table is moved to the prefs class
2005-11-20 07:32:51 +00:00
Ralf Becker
44bcc1247d
improved docu of prefs class and phpgw_preferences --> egw_preferences
2005-11-13 07:49:56 +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
c591c2c221
fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
...
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
759d1d4f17
fixed bug with not working language-selection and SQL error because of empty session-id in phpgw_app_session
2004-07-09 15:17:04 +00:00
Ralf Becker
8bfb6cfb07
added email-address to the accounts-data (ldap untested so far!)
2004-07-04 17:27:42 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
745bfdc35e
fixed merging of session and user prefs
2004-03-21 22:03:06 +00:00
Ralf Becker
3dc254c6ee
added session (temporary) preferences
2004-03-21 21:17:34 +00:00
Miles Lott
e506ffa377
fix string offset error - maybe php5 only
2003-12-27 18:05:20 +00:00
Miles Lott
07af3f1b54
use str_replace() where possible and fix some spellings
2003-12-20 18:32:53 +00:00