Lars Kneschke
09f1287d6c
using the singleton passtern to get a instance of the accounts class and call the setAccountId function to set the accountId
2008-02-08 11:20:50 +00:00
Lars Kneschke
51f14c8d82
don't resolve group grants when using the addressbook, as resolving group memberships is currently extremly slow, with bigger installations
...
maybe we can also fix it different
2008-02-08 11:19:41 +00:00
Lars Kneschke
31f2ea4a07
minor formating changes
2008-02-08 11:16:40 +00:00
Lars Kneschke
844936d19b
added singelton pattern to the accounts class and added function to set accountId without needing to call the construtor
2008-02-08 11:16:09 +00:00
Ralf Becker
e3ee4fb7dc
new egw_vfs class, with many static methods to access the new vfs, see the documentation in the header of egw_vfs
2008-02-07 06:37:45 +00:00
Ralf Becker
b2be83b0da
new id2name parameter $item="path" to get a / delimited path of the cat hierarchy (names of the parents)
2008-02-07 02:40:43 +00:00
Klaus Leithoff
4fd4d8fb6a
update functionality to regard the new sized fields org_name, contact_email and contact_email_home
2008-01-31 12:39:05 +00:00
Klaus Leithoff
6ea71715f8
new egw_addressbook definition because of table alterations of that table
2008-01-31 12:37:16 +00:00
Klaus Leithoff
e1214a3896
increment version, because of table field alterations in egw_addressbook
2008-01-31 12:35:15 +00:00
Klaus Leithoff
08e5fa0497
prevent the mb_convert_encoding to return with an empty string, for the failing of the conversion in that function results in an empty string as
...
well.
2008-01-31 12:31:18 +00:00
Klaus Leithoff
a0cee847a2
small bugfix while getting the grants, since analyzing grants for read/write access in infolog returned less results than expected. this was
...
suggested by Ralf for testing.
2008-01-31 12:23:46 +00:00
Christian Binder
5b699573e4
enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications
2008-01-30 18:58:00 +00:00
Ralf Becker
e657227035
new vfs-stream-wrapper class, which uses a fstab (in a static class var at the moment) to mount different filesystems/stream-wrappers together in a single virtual file system for eGroupWare, can be tested with filemanager/ls.php and the default fstab of / => oldvfs:/
2008-01-30 06:51:54 +00:00
Ralf Becker
399e087f2c
- unlink/mkdir/rmdir methods
...
- caching the information for dir_open vfs_sql::ls() to use it in url_stat, to not read it again from the db
- implemented a static touch method, which is not (yet) part of the stream-wrapper interface
2008-01-30 06:47:53 +00:00
Ralf Becker
fbc8aa7be7
new parameter to set the date/time for touch, default the the current time
2008-01-30 06:43:55 +00:00
Ralf Becker
88cb04b87b
oldvfs stream-wrapper can now also open/read/write files and uses a direct filesystem stream to overcome memory_limit limitations, eg. with filemanager/ls.php --cp /tmp/xyz.iso oldvfs://user:password@default/home/user you can copy now a cd image to the vfs!
2008-01-29 07:24:16 +00:00
Klaus Leithoff
10f3a93947
fixing a possible problem in the fix. accidently commented out the line that stops including files after framework inclusion. It does cause
...
problems!
2008-01-28 13:18:35 +00:00
Klaus Leithoff
e6cd15b08d
fixed a problem with the loading of config (with session restore), by loading the class.config.inc.php after the stored object is unserialized.
2008-01-25 10:54:51 +00:00
Ralf Becker
4a800502fa
was not fully working with half-hour timezone, like eg. used in australia
2008-01-19 05:29:50 +00:00
Ralf Becker
c25ba82735
- slightly modified exception handler, to cover the situation when the egw object is not yet or only partially initialised
...
- somehow the baseclass stuff in __autoload was never working as intended (could not load the exceptions derived from egw_exception)
2008-01-19 05:28:33 +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
9364f9e77e
- allow the cost-free netdrive to set the modification date
...
- also storing the modification date in the filesystem, as reloads resets it to that
2008-01-17 05:40:38 +00:00
Ralf Becker
1dafc8cba8
PROPPATCH handler to allow Webdrive to set creation&modification date, as some windows programs require it
2008-01-15 03:49:18 +00:00
Klaus Leithoff
2aa82e48ff
expanding the autoload function to enable it to step through the registered modules to find old naming shema classes.
...
This is due to a bug in felamimail, when typing an address, the auto completion produces an XML Error, because the
socontacts_sql class is not found.
The problem may be resolved by another method, the solution provided here is probably not wanted, for proper style reasons,
and will not solve all possible autoload problems.
2008-01-11 12:33:17 +00:00
Nathan Gray
742ed962f5
Add a check on pngfix preference so the internal function doesn't always preempt pngfix.js settings
2008-01-09 18:15:42 +00:00
Ralf Becker
2a4eff2ca3
few slight modifications to better cater for the multi-domain administration
2008-01-09 02:01:08 +00:00
José Luis Gordo Romero
a70080a62a
2007-12-23 08:17:01 +00:00
José Luis Gordo Romero
91f90bb1af
Enabling new admin/preferences options (fckeditor behavior/spellchecker) to felamimail
2007-12-23 07:39:56 +00:00
Oscar Manuel Gómez Senovilla
f3cd85add5
periodical lang updates from translators
2007-12-22 21:39:38 +00:00
Oscar Manuel Gómez Senovilla
71fbe90a15
tracer #1370 for farsi
2007-12-22 10:28:44 +00:00
Ralf Becker
b44a3f198b
allow to specify a list of groups, to not enumerate
2007-12-21 18:55:37 +00:00
Ralf Becker
d570952210
"fixed syntax error, missing colons, thanks to pgoerzen-at-hustlerturf.com"
2007-12-20 20:59:22 +00:00
Ralf Becker
12498d655f
"fixed syntax error, missing colons, thanks to pgoerzen-at-hustlerturf.com"
2007-12-20 20:56:56 +00:00
Ralf Becker
b0146349db
moved __wakeup code to reconnect to ldap server to the accounts_ldap class own __wakeup method, fixing an error with editing accounts using php4-restore together with accounts in ldap
2007-12-20 19:38:26 +00:00
Ralf Becker
b3f40cdff8
"added missing default for new $strip parameter of categories::name2id() added by Patric, to be compatible with the current code not giving that parameter and generating warnings because of that
...
Thanks to regime2000-at-gmx.de from the German list."
2007-12-20 19:13:55 +00:00
José Luis Gordo Romero
71d98434fe
Enabling the new prefs & admin settings in fckeditor html class function
2007-12-20 06:15:56 +00:00
Ralf Becker
56d644d921
new egw_exception_db_not_unique, to be used when a unique constraing got violated, eg while saving a row
2007-12-20 02:42:29 +00:00
Patrick Bihan-Faou
95eeded398
Make the detection of the device types a little smarter and able to use
...
out-of-band data such as the HTTP user agent.
Use that to determine weither message fragmentation should be used or not.
Indicate that Funambol 6+ supports fragmentation (this solves cases where
big addressbooks cannot be syncrhonized because there are too many entries).
2007-12-19 07:45:36 +00:00
Christian Binder
40a68b6cfd
little re-design of notifications: cleaned up relation between main class and backends. main class is responsible for notification routing. backends are responsible for sending one message to one user. relocated ajax functions to a separate file.
2007-12-18 15:53:38 +00:00
José Luis Gordo Romero
e0217cfabd
1. Enabling custom fckeditor config file (settings that can not be configured by the php object) and modified connector path
...
2. Enabling compatibility (ofically supported by fckeditor) to safari and opera
2007-12-17 18:00:48 +00:00
José Luis Gordo Romero
181085c4a7
Adding Fckeditor 2.5 to trunk
2007-12-17 17:58:19 +00:00
José Luis Gordo Romero
0bbb81840d
Deleting fckeditor in order to import 2.5 adapted
2007-12-17 17:50:14 +00:00
Ralf Becker
44ebdd457a
fixed warning, if session dir is not listable
2007-12-15 16:19:38 +00:00
Ralf Becker
2aa096915c
reworked the accounts class, to be able to instanciate both backends (ldap&sql), as well as specify the config (account_repository, ldap_*)
2007-12-13 02:32:44 +00:00
Patrick Bihan-Faou
d97f1eed5e
Extend the patch to get_categories in infolog submitted by matthias to the other classes as well.
...
Added a hack that allows one to search for the categories' names prefixed by X-
Sony Ericsson phones (and possibly others) systematically prepend a X- to the
category names, so with this patch we match X-CatName just like CatName
This is only done for SyncML obviously.
2007-12-11 09:29:50 +00:00
Ralf Becker
6a91f65335
"docu update: which exceptions should give translated messages ready to display to the user and which dont need to"
2007-12-09 07:38:52 +00:00
Ralf Becker
6994cc27c1
"using exception instead of exit, thought I can not yet remove the options to ignore the fatal error, as they might be used"
2007-12-09 07:37:16 +00:00
Ralf Becker
a6b8ef57d5
"fixed error-message on no connection to a postgres server, to NOT contain the password"
2007-12-07 00:16:25 +00:00
Ralf Becker
da6d690458
added draft of an exception class for eGW, plus a global exception handler and replaced the fatal errors in the db-class plus the application rights check in the egw object with exceptions, modified the exceptions in admin_cmd* to use egw_excpetion*, instead just Exception
2007-12-06 08:04:45 +00:00
Ralf Becker
cae8bb40a8
added draft of an exception class for eGW, plus a global exception handler and replaced the fatal errors in the db-class plus the application rights check in the egw object with exceptions, modified the exceptions in admin_cmd* to use egw_excpetion*, instead just Exception
2007-12-06 08:00:41 +00:00