Commit Graph

3960 Commits

Author SHA1 Message Date
Ralf Becker
a3a7503c0f "new static hook methods (class::method) are navitvly supported from php5.2.3+ on, so we need to add some compatibility for our required php5.1
"
2008-04-27 11:55:11 +00:00
Ralf Becker
4ecce4f5ae allow all php callables (eg. "class::method" for static calls) for ExecMethod, ExecMethod2 and as methodstring for hooks 2008-04-25 18:54:06 +00:00
Ralf Becker
a8b924696f removed some depricated and as far as I know nowhere used methods and make many functions static 2008-04-25 18:52:33 +00:00
Ralf Becker
46325b070c fixed fatal error happening on some installs when deleting a dir in sqlfs 2008-04-24 15:19:42 +00:00
Ralf Becker
92c1bf9bfa "also check if the required classes are set for the session restore, fixes a problem with groupdav" 2008-04-22 10:11:49 +00:00
Ralf Becker
80367bb943 removed not longer used old vfs classes and the first stream_wrapper (oldvfs://), I have not yet droped the vfs table, to give the update script more testing with the change to restore 2008-04-21 17:38:39 +00:00
Ralf Becker
9e838a4068 fixed infinit recursion on deleting entries with linked files, first reported by Peter Goerzen 2008-04-21 16:55:52 +00:00
Ralf Becker
1eb9acec27 enable sqlfs_stream_wrapper to run under setup 2008-04-21 15:37:11 +00:00
Ralf Becker
cf4cd2aa3f restore current egw_vfs::$is_root and egw_vfs::$user 2008-04-21 15:36:30 +00:00
Ralf Becker
0080dc39f0 special mkdir of links_stream_wrapper, so the entry dirs do not inherit the other read/browse rights from the app dir 2008-04-21 11:06:45 +00:00
Ralf Becker
2a1d86911b allow to call download url with an vfs-url instead of an path 2008-04-21 11:05:34 +00:00
Ralf Becker
a5b58e57e8 "allow to use link, redirect, redirect_link, invalidate_session_cache static" 2008-04-20 19:31:51 +00:00
Ralf Becker
689ffe18a9 create sqlfs dirs /, /home, /app and removed old vfs entries 2008-04-20 16:44:04 +00:00
Ralf Becker
523997b43e moved filescenter vfs2 tables and classes to filescenter and added index tables 2008-04-20 16:34:16 +00:00
Ralf Becker
b08b584a76 silently add home dirs, if they dont exist (they get now created by a hook, when a user/group get added 2008-04-19 09:46:58 +00:00
Ralf Becker
2a62e73df1 added required params, to suppress warnings 2008-04-19 09:46:02 +00:00
Ralf Becker
9fe5314ed6 fixed not working removal of home dirs, if acocunt/group get deleted 2008-04-19 09:15:46 +00:00
Ralf Becker
24989686df implemented moving of data to an other account on deleting an account 2008-04-19 09:14:59 +00:00
Ralf Becker
13cf2edabb use default fstab, also for an empty one 2008-04-19 09:13:50 +00:00
Ralf Becker
40f32b5d74 "function_backtrace:
- dont output first function param for unserialize()
- limit output of function param to 64 chars"
2008-04-18 14:59:59 +00:00
Ralf Becker
c60b632541 "small fix for webdav running on a non apache server" 2008-04-18 10:41:44 +00:00
Ralf Becker
8590b35fdf "additionally using the port for the pdo connection and remove password from stacktrace of failed connection" 2008-04-18 09:08:48 +00:00
Ralf Becker
48734de102 "additionally using the port for the pdo connection and remove password from stacktrace of failed connection" 2008-04-18 09:08:38 +00:00
Ralf Becker
b86449d359 "fixed problem of perp working with sqlfs or links (use mysqlt driver instead of stock mysql one)" 2008-04-18 08:42:11 +00:00
Ralf Becker
f3181308c5 "added quoting" 2008-04-16 11:37:47 +00:00
Ralf Becker
0a5be8a725 moved mime_icon method to egw_vfs 2008-04-16 07:07:31 +00:00
Ralf Becker
be2fa1c923 "update to fck 2.6" 2008-04-15 12:23:32 +00:00
Ralf Becker
501df49cbb stream wrapper interface is now eGW VFS interface
- if you already run the 1.5.003 update (AND modified anything in the VFS), you have to re-run it, to not loose your modifications or risk an inconsistent VFS (DB does not match filesystem)
- to re-run the 1.5.003 update (only if your version is already 1.5.003 or bigger!) run the following sql:
UPDATE egw_applications SET app_version=1.5.002 WHERE app_name=phpgwapi
- the new vfs supports now an extended ACL, if that is supported by the backend (sqlfs only currently)
- eacl allows to set separate recursive acl rights for different users or groups on a directory (and subdirs)
- former group grants of group dirs are converted to eacl, thought we only support read or read+write access (no extra add or delete)
- attachments via the links class now also use a stream wrapper interface (links_stream_wrapper) and WebDAV as download handler (which requires no longer filemanager run rights)
2008-04-14 05:52:24 +00:00
Nathan Gray
540901e9c7 Fix config to correctly remove empty values 2008-04-11 13:38:37 +00:00
Klaus Leithoff
3b874ad66f added fields created/modified to the retrieval of the single account info.
added accountstatus/created/modified to the retrieval of the account list.
2008-04-10 09:06:24 +00:00
Klaus Leithoff
5693038f9f added fields created/modified to the retrieval of the single account info.
added accountstatus/created/modified to the retrieval of the account list
2008-04-10 09:06:00 +00:00
Klaus Leithoff
6dd130a1f3 fix for the problem, that allowed attribute values where stripped, due to the security bugfix 2008-04-02 08:47:42 +00:00
Ralf Becker
801d387582 "if links of multiple id's of one app were queried and there was a link between two of them, it was only returned for one" 2008-04-01 15:49:30 +00:00
Ralf Becker
d2024f053f "added some debug code (switched off by default)" 2008-04-01 15:47:37 +00:00
Ralf Becker
7e22bf1347 "New method try_lang(), usefull for exception handlers or early stages of the initialisation of the egw object,
as calling lang would try to load the translations, evtl. cause more errors, eg. because there's no db-connection."
2008-04-01 10:47:50 +00:00
Ralf Becker
3d909d4776 fixed fatal error "Exception thrown without a stack frame in Unknown on line 0", if DB does not exist when calling the regular eGW url 2008-04-01 10:33:54 +00:00
Ralf Becker
868345fcb6 "added static to encrypt_pasword" 2008-03-25 17:05:38 +00:00
Ralf Becker
8a9e4d3d9d "removing unnecessary instancations" 2008-03-25 17:05:08 +00:00
Ralf Becker
bf31f4e94a "removing unnecessary instancations" 2008-03-25 17:02:09 +00:00
Ralf Becker
2cd4742695 "removing unnecessary instancations" 2008-03-25 17:00:56 +00:00
Ralf Becker
0c37486b65 "static html methods and other modernisations" 2008-03-25 16:58:50 +00:00
Ralf Becker
1c4b1f9636 "using the global db object" 2008-03-25 16:54:16 +00:00
Ralf Becker
ed5db11312 show session restore time 2008-03-22 16:22:11 +00:00
Ralf Becker
eb2303adc8 "prevent that anyone switches the global db object to an app != 'phpgwapi' (you have to clone it before doing that)" 2008-03-22 12:32:24 +00:00
Ralf Becker
ea3ae107d1 added minimal egw object (egw_minimal), which is shared between egw and setup 2008-03-22 09:29:29 +00:00
Ralf Becker
9553da2f63 "fixed typo: translations --> translation" 2008-03-22 09:25:41 +00:00
Ralf Becker
a02a89fbdb "stoped permanent error_log of loaded classes" 2008-03-21 21:02:00 +00:00
Ralf Becker
ac04409df7 dynamically autoloading sub-object of egw-object, moved __wakeup methods to concerned classes and other "modernsations" ;-) 2008-03-21 20:50:13 +00:00
Ralf Becker
3bf9ad5efa dynamically autoloading sub-object of egw-object, moved __wakeup methods to concerned classes and other "modernsations" ;-) 2008-03-21 20:11:59 +00:00
Ralf Becker
3108861db0 "using global db object" 2008-03-21 17:15:02 +00:00
Ralf Becker
de74e8b6ce "using global db object" 2008-03-21 11:49:28 +00:00
Ralf Becker
e71d16ed28 "fixed not working rename of dirs in the old vfs" 2008-03-20 14:21:13 +00:00
Ralf Becker
2912ec7c61 "fixed broken image title" 2008-03-20 08:32:29 +00:00
Ralf Becker
af72b6ea54 fixed problem pointed out by lukasz.pilorz(at)allegro.pl 2008-03-19 11:09:27 +00:00
Ralf Becker
b98808f87f "added todo's (concept) for extended ACL, WebDAV properties and locks" 2008-03-18 13:17:13 +00:00
Ralf Becker
4f94d5837d use of global db object and new headers, made all methods of the auth class static 2008-03-15 17:27:36 +00:00
Ralf Becker
78624aa9e9 "using the global db object" 2008-03-15 15:52:27 +00:00
Ralf Becker
0927d90e09 "using the global db object" 2008-03-15 15:30:15 +00:00
Ralf Becker
81a0b796d9 "using the global db object" 2008-03-15 15:11:48 +00:00
Ralf Becker
ec042e0f4d "using the global db object" 2008-03-15 15:00:15 +00:00
Ralf Becker
426fc2825e "using the global db object" 2008-03-15 14:52:26 +00:00
Ralf Becker
7272868ab5 "using the global db object" 2008-03-15 14:19:06 +00:00
Ralf Becker
3f5c03f91a "removed double include of mounted dirs in egw_vfs::find" 2008-03-14 15:37:33 +00:00
Ralf Becker
68dfe96fed "new method download_url" 2008-03-14 15:00:06 +00:00
Ralf Becker
e79c4b3e6a removed left over line, causing name2id to fail and stopping all logins 2008-03-13 20:08:37 +00:00
Ralf Becker
37a12ac183 "using global db object" 2008-03-13 19:37:09 +00:00
Ralf Becker
04160dda86 dont search of titles if no ids given 2008-03-13 19:31:31 +00:00
Ralf Becker
c01818daa1 egw_db::expression searches for a table_def in all (loaded) apps, not just the current) 2008-03-13 19:30:01 +00:00
Ralf Becker
12cdb8820d remove empty or null values from the config-table 2008-03-13 19:28:44 +00:00
Ralf Becker
14bc5239b7 "fixed not found first entry of result-set" 2008-03-13 19:12:14 +00:00
Klaus Leithoff
259f6d5cab fixed a problem in the old vfs_sql class in acl_check, a var group_ok is checked to verify permissions but never set. this did lead to empty
downloads in some cases. This was sponsored by PX2@Medien GmbH & Co. KG
2008-03-13 12:48:43 +00:00
Ralf Becker
ae1cabebf7 "new optional param to get_3links to return just the app_id's and not the full link-records" 2008-03-13 11:27:48 +00:00
Ralf Becker
e7d9ca5532 "suppressed warning if ADORecordSet::fetchSingle() has nothing to fetch and docu" 2008-03-13 10:59:57 +00:00
Ralf Becker
3760ea8608 fixed not found tabledefinition if no app-name given and a search of the table was requested (type in var-name) 2008-03-10 21:32:13 +00:00
Ralf Becker
5ea6f9dc1f search every id only once 2008-03-10 21:02:11 +00:00
Ralf Becker
5042a302d6 fixed typo, preventing links with a certain app to be found 2008-03-10 21:01:28 +00:00
Stefan Becker
62ad7b05eb added new countrys like AALAND ISLANDS or SERBIA AND MONTENEGRO and
marked old contrys with 'former'
2008-03-10 16:41:55 +00:00
Ralf Becker
b0ce76ad83 "added some aliases for iso-8859-1 which seemed to be used in some mails" 2008-03-10 12:57:27 +00:00
Ralf Becker
d4a1075c68 "fixed bug reported on the german list by webmaster-at-kmu-tools.de" 2008-03-09 21:14:05 +00:00
Ralf Becker
0da675bf6e made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:35:48 +00:00
Ralf Becker
97f63b43ff some compatibility stuff for ADOdb<->PDO 2008-03-09 14:22:02 +00:00
Ralf Becker
0ac46f72c7 reworked to call egw_link (static) 2008-03-08 23:21:42 +00:00
Ralf Becker
6cfde1148b "added (depricated) $link_table var" 2008-03-08 23:17:10 +00:00
Ralf Becker
b1c2d9ac47 titles was not caching the returned titles and new param for get_links_multiple() to cache the titles of all found links 2008-03-08 22:38:09 +00:00
Ralf Becker
15ca7e90ed eGW wide index over all applications (superindex)
This index allows a fulltext search over all applications (or of
cause also a single app).
Whenever an applications stores an entry it calls: 

             boolean egw_index::save($app,$id,$owner,array $fields,array $cat_id=null)

which calls, as the application do when is deletes an entry (!), 

             boolean egw_index::delete($app,$id)

and then splits all fields into keywords and add these to the index by 

             boolean private egw_index::add($app,$id,$keyword).

Applications can then use the index to search for a given keyword
(and optional application):

             array egw_index::search($keyword,$app=null) or

             foreach(new egw_index($keyword,$app=null) as $app_id => $title)

To also allow to search by a category or keyword part of it, the index
also tracks the categories of the entries. Applications can choose to
only use it for category storage, or cat do it redundant in there own
table too. To retrieve the categories of one or multiple entries: 

             array egw_index::cats($app,$ids)

Applications can use a sql (sub-)query to get the id's of there app
matching a certain keyword and include that in there own queries:

             string egw_index::sql_ids_by_keyword($app,$keyword)

Please note: the index knows nothing about ACL, so it's the task of
the application to ensure ACL rights.
2008-03-08 21:51:12 +00:00
Ralf Becker
a515bdeffb reworked link classes:
- new public egw_link class, which has only static methods and can NOT be instanciated
- depricated bolink class, for existing code instanciating the bolink class in $egw->link
- new method and application hook *titles* to retrieve the title of multiple entries of an app in one go
- new method *get_links_multiple* to retrieve all links of multiple entries of an app
2008-03-08 21:41:20 +00:00
Ralf Becker
407b4defad static strip_array_keys method to strip a colum-prefix from a result, docu update about depricated functions which use the internal result-set 2008-03-08 21:31:12 +00:00
Klaus Leithoff
85c7be0259 checking if apparray exist in __autoload, before looping through 2008-03-07 10:18:17 +00:00
Ralf Becker
108cb59d3c fixed bug introduced by Connys performance stuff: function returned limited resultset with unset or empty start parameter 2008-03-06 16:11:49 +00:00
Ralf Becker
4f941b5a61 (hopefully) final fix: default for select() is now again ASSOC, but next_record() adds numerical indexes again, if they are required. That is a slight penality for old code, but gives full speed / lowest memory for new code. 2008-03-06 14:20:47 +00:00
Ralf Becker
046713e00f temp. fixed problem introduced with last egw_db commit (db::f() not working with db::select()), thought I want to check how often that is used, as an only asociative fetchmod needs half the memory 2008-03-06 13:33:38 +00:00
Ralf Becker
e03425c90b fixed an error with the initialisation of the static $db var (under LDAP and php4-restore sessions) and or by using the global db object without cloning it 2008-03-06 11:43:45 +00:00
Ralf Becker
9de6c2884f added fetchmode parameter to query() and set it to ADODB_FETCH_ASSOC for select(), also added comment about how to avoid cloning the global db object and looping over result sets via the returned result object 2008-03-06 11:42:21 +00:00
Ralf Becker
42688f5cd2 removed unnecessary checkAuth function, because the regular eGW session cookie got not recogniced and all checks are done by the header include anyway 2008-03-04 08:33:08 +00:00
Ralf Becker
b638e9117b set old vfs as default again for easier testing of the new UI 2008-03-03 12:17:08 +00:00
Ralf Becker
d2094b8958 search, lettersearch, merge content of subdirs (recursive display) 2008-03-03 12:16:11 +00:00
Ralf Becker
0af252ad55 ordering and limited resultsets 2008-03-03 07:53:43 +00:00
Ralf Becker
4df4fd9f06 first work on UI for a new filemanager and some vfs bugfixes and improvments 2008-03-02 21:44:15 +00:00
Ralf Becker
7da0cd0dd0 fixed static use of config::save_value() 2008-02-29 07:36:29 +00:00
Ralf Becker
3cd2ce8dd2 fixed mount command and enhanced egw_vfs::find() 2008-02-29 07:27:49 +00:00
Ralf Becker
ea5cda5310 fixed typo preventing non-root access 2008-02-29 07:23:14 +00:00
Ralf Becker
a0e5556c62 hooks to create, rename or delete user+group home-dirs (you need to run Admin >> register hooks!) 2008-02-27 10:33:48 +00:00
Ralf Becker
640ee3ab93 hooks to create, rename or delete user+group home-dirs (you need to run Admin >> register hooks!) 2008-02-27 10:20:48 +00:00
Ralf Becker
8afe9094b7 More improvments of the sqlfs code and the command line interface:
- read rights are not checks in each traversed directory (via sql in a single query to locate the path)
- diropen additionally checks for execute rights
- fopen checks for read or write depending on the mode
- chmod, chgrp, chown methods in sqlfs and egw_vfs/vfs plus an egw_vfs::$is_root var used to grant root rights (no access controll and chown or chgrp without being the owner of a file)
- find method (some more params to come) to recursivly search and optionaly execute some callback
- egw_vfs::remove doing a "rm -r" / recursive remove or dirs and files
- new files or dirs inherit the perms and ownership from the parent directory (no umask)
- files/dirs the user has no read rights, in a directory where he has no write rights, get hidden (eg. not showing all the other users / groups home dirs
- many new cli commands (chmod, chgrp, chown, find), recursive option for most commands and the ability to use it with root rights, see the usage message if called without options
- "cp -r -p" to copy a whole tree incl. ownership and perms, eg. backing up /home to /backup
2008-02-26 08:51:42 +00:00
Nigel Vickers
d81d9bce03 Mutexed memcache handler. Traps race and memcache memory conditions on large scale Fastcgi farms.
Attribs: Stephan Becker: Code, identified the Javascript culprits
         Wim Bonis: Code, Race condition
	 Klaus Leithhoff: Code, mbstring writes a different length to that that it reads
	 Lars Volker: Code, Debug memcache slab memory,  memcache add as lock.
2008-02-25 14:13:45 +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
Carsten Wolff
3304616642 Circumvent a bug in some distributions of apache/mod_php, where an apache
child, that has executed a php script with mbstring.func_overload=7 once, will
overload substr() in a later execution of another php script, even if the
Location context of that script has mbstring.func_overload=0 set. Since the
WBXML decoder works byte-by-byte to determine substring length, it fails, if
mb_substr() is used. This patch prevents this.
2008-02-19 09:55:59 +00:00
Ralf Becker
e71608d8cc new sqlfs stream wrapper, as replacement for the old vfs class (it uses the PDO extension, as PDO allows to access BLOBs as streams), the update create a new egw_sqlfs table and fills it with the content of the old vfs (egw_vfs table), BOTH use the same files in the filesystem, so beware if you delete something in one or the other, this is definitly NOT for production systems 2008-02-18 06:52:07 +00:00
Ralf Becker
9c649da978 WebDAV can use now the new stream wrapper interface, thought its switched off by default in filemanager/webdav.php (see the comments at the end of the file) 2008-02-18 06:43:49 +00:00
Cornelius Weiß
ed6fea6f5b performance enhancement: accounts::search 2008-02-12 15:57:39 +00:00
Cornelius Weiß
86f6654c8c fix the "to many categories" problem with ldap backend 2008-02-12 15:55:26 +00:00
Lars Kneschke
252f2a964b use the global instance of the accountsClass and create a own connection to the accounts backend 2008-02-08 11:21:32 +00:00
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
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
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
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
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
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
Ralf Becker
4fa672d346 "Switched query logging off, was accidently left on, thanks to a notice from Nigel" 2007-12-04 16:20:20 +00:00
Ralf Becker
e75db01b3c "tiny patch from Andreas Feldner <pelzi-at-flying-snail.de>, allowing for passwords containing a colon" 2007-12-01 01:02:05 +00:00
Ralf Becker
3e29477fe9 "some alternative charsets for the import, a hardcoded list for now, as all languages use utf-8" 2007-11-30 16:45:54 +00:00
Patrick Bihan-Faou
bb20c359f2 The formated_list function in phpgwapi/inc/class.categories.inc.php was
renamed to formatted_list a while ago. There is no need to keep dead code
around.
2007-11-27 17:14:54 +00:00
Ralf Becker
58750e5997 "- autoload function for eGW
- setting required php version to 5.1+"
2007-11-25 17:26:08 +00:00
Christian Binder
e72ec7185e Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list. 2007-11-22 08:29:16 +00:00
Patrick Bihan-Faou
65d3ecaa5b Fix the synml fragmentation support problem detected on some phones
such as the Nokia E61.
This affected most phones/devices that use SyncML with the vcard/vcalendar
format.

Fix from Christoph Kaulich, thanks.
2007-11-19 11:16:24 +00:00
Cornelius Weiß
a1eb61f102 fix for reading empty files. This caused problems with mac os x as WebDAV client 2007-11-18 20:04:58 +00:00
Ralf Becker
90f39cef39 "encryption" type plain for sql and ldap, to allow to store the passwords readable 2007-11-06 11:16:34 +00:00
Ralf Becker
742f10831b not using gidNumber for autocreating accounts, as it means nothing on our system and it stops the group selected in setup from beeing used 2007-10-28 06:04:16 +00:00
José Luis Gordo Romero
7ab746e386 [Oracle Support]
- Enable $noNullString in oci8 driver, this solves inserts blanks on NOT NULL columns that are not part of the 
primary key
- Fixes problems as group creation, and others
2007-10-21 07:53:22 +00:00
Ralf Becker
761cb8c9a0 "allow mixed installations of trunk and 1.4 apps, by reading both langfiles" 2007-10-19 13:02:55 +00:00
Ralf Becker
bd4b0cc4ef "added a query log, independent of the db used" 2007-10-19 05:48:52 +00:00
Ralf Becker
598a63379c "added a query log, independent of the db used" 2007-10-19 05:46:39 +00:00
José Luis Gordo Romero
3081b0a05a ORA - Fixed schema creation (indexes, triggers and secuences):
Indexes: The solution of put the index name of the first columnt dont't
work because duplicates, create instead a hash of the large name (PHP 5
>= 5.1.2, PECL hash:1.1-1.5) with an fixed char at beginning (Oracle
objects names can't start with a number)

Secuences & triggers: create a a hash of the large name.
2007-10-18 04:29:16 +00:00
Ralf Becker
015180cd06 "fixed bug introduced by my commit r24522: egw could not deal with LDAP Ids" 2007-10-17 14:40:02 +00:00
Oscar Manuel Gómez Senovilla
b018b25a15 API changes to handle egw_ prefix in lang files 2007-10-14 16:12:39 +00:00
Ralf Becker
d8598d36a7 "removed double assignment" 2007-10-12 16:11:35 +00:00
Klaus Leithoff
dbb80581b7 fix of small typo in function convert 2007-10-12 11:10:25 +00:00
Ralf Becker
e024ecd870 "Patch #1149 from JF B: get_egwId could not deal with dashes in the Id, which can happen with LDAP" 2007-10-12 05:52:57 +00:00
Ralf Becker
34816b372f fixed instance selection by server-name to additionally find instance names containing only the domain-part (eg. www.domain.com matches instance domain.com, if no www.domain.com instance exists) 2007-10-11 11:44:39 +00:00
Ralf Becker
74c9b0ccb7 fix prevent deleting of accounts via SyncML and to read private flag from the DB if missing 2007-10-11 06:24:57 +00:00
Lars Kneschke
df9ba564c2 patch from Patrick Bihan-Faou to fix contact duplication 2007-10-10 07:21:00 +00:00
Ralf Becker
ea3994993d fixed not returned global and other user cats in name2id (eg. if contacts stored in LDAP or SyncML), the so far only returned personal and application global cats have priority 2007-10-07 07:00:03 +00:00
José Luis Gordo Romero
96ed4814ac OCI8 ADODB - Fix imported from adodb 5.02 (Control triggers and secuence names > 30 chars, oracle restriction) 2007-09-30 03:00:03 +00:00
Ralf Becker
7b6a1013fc SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
  direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
  other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 10:29:48 +00:00
Ralf Becker
82f2b4e91f global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:17:42 +00:00
Carsten Wolff
645750297f explicitly enable casts between text and bytea for transparent use by schema_proc 2007-09-27 22:06:58 +00:00
Klaus Leithoff
a10101d640 Fix for a problem with cumulating timesheets when the linking application is other than initiated by $app1, means for whom link_app1=$app1 and app1
being the application passed on in the get_3links function parameter list.
2007-09-12 13:17:02 +00:00
Ralf Becker
820bb9b592 calculation of rfc822 dates was not working with half hour time zones used eg. in Australia, set smtp timeout to 30s, as there are multiple reports 10s is to less 2007-09-05 07:50:10 +00:00
Ralf Becker
097238311b fixed not found user searched by email, if there's also a contact with that email 2007-08-24 10:53:26 +00:00
Ralf Becker
fa8bef1312 typo 2007-08-23 10:22:55 +00:00
Ralf Becker
47ddd5f714 a fix to get the memcache session handler working with SyncML: the way SyncML/Horde handles the session (calling session_destroy) unloads our custom memcache handler 2007-08-23 10:18:14 +00:00
Ralf Becker
f17e9b4032 to allow other code (eg. the SyncML code from Horde) to open the eGW session, we use a first memcache key identical to the original memcache session handler (for the first junk/1MB) 2007-08-17 15:53:19 +00:00
Ralf Becker
4c59fcbc76 1024*1024 is too big, maybe some account-info needs to be added 2007-08-17 14:31:15 +00:00
Ralf Becker
4011dba79b memcache session handler, which can deal with typical eGW sessions > 1MB (the one included in the pecl extension fails) 2007-08-17 13:56:06 +00:00
Klaus Leithoff
dc2acf4428 added OpenOffice Fileextensions to class.mime_magic.inc.php;
fixed a problem for the refreshing of a directory: mime_types got lost, when refreshing and the mime type could not be determined by get_real_info.
the fix uses the phpgwapi.mime_magic.ext2mime function to determine the mime_type if the common method fails to find one.
2007-07-31 13:58:15 +00:00
Ralf Becker
9b476e0687 fixed problem caused by non existing session-object in setup, reported und the user list 2007-07-27 09:36:00 +00:00
Ralf Becker
d899beeb55 "fixed problem reported on the german list: memberships get not set if a new user gets creted in ldap
It turned out to be a caching problem, as the cache of the accounts-class still contained a failed id2name resolution for the new account.
This was caused by the session-restore with stored the cache in the global accounts object ($GLOBALS[egw]->accounts) too.
Now the global cache is in the global account-object and all other account objects use just a reference to that cache. It get stored from common::egw_final by calling $GLOBALS[egw]->accounts->save_session_cache() in the session."
2007-07-27 07:46:55 +00:00
Ralf Becker
4f6b0ae2da fixed not working semaphore in asyncservice (we are not supporting table locks anymore / since 1.2) 2007-07-26 09:22:28 +00:00
Ralf Becker
32b19397ae fix for bug 'etemplate tree widget does not work in IE6' reported on the developer list uwe.redecker-AT-t-online.de 2007-07-24 09:32:28 +00:00
Ralf Becker
9f1df33c74 first version of a tree widget (atm the whole tree need to be supplied, like for select) 2007-07-22 13:23:44 +00:00
Ralf Becker
0d3caf95a8 changed search order and added some caching, to minimize db-accesses in country_code 2007-07-18 06:09:26 +00:00
Ralf Becker
ef51f663b7 quitent warning when vfs trys to delete an in the db non-existing file 2007-07-16 09:18:16 +00:00
Cornelius Weiß
909609ebbc backport syncML fixes 2007-07-04 19:14:35 +00:00
Ralf Becker
c4a17cf53f "fixed date-type problem in restore reported on the german list" 2007-07-03 08:21:29 +00:00
Ralf Becker
a55b1a5163 "fixed bug reported from sim <sim-at-compulab.co.il>: _read_group not searching for posixGroup, which makes problems if you have identical numbers and context for users and groups
also added a filter for objectclass=posixAccount to _read_user"
2007-06-27 05:26:46 +00:00
Ralf Becker
4b80391b71 "fix for sequenzes tables are depending on for postgres 8.x, thanks to Peter Eisentraut" 2007-06-25 15:57:19 +00:00
Lars Kneschke
495abdd139 fixed handling of too long syncml id's 2007-06-25 08:55:20 +00:00
Lars Kneschke
244097e99c added special handling to better detect funambol clients 2007-06-24 23:52:41 +00:00
Ralf Becker
8f1f3f68cb "fix to detect if a table depends on a sequence to not try to drop it separate, thanks to Peter Eisentraut <peter_e-at-gmx.net>" 2007-06-24 08:36:20 +00:00
Ralf Becker
bd30386440 "fixed access to parent dir off session.save_path, which gives errors under open_basedir" 2007-06-22 18:23:11 +00:00
Ralf Becker
059ca86239 "implemented automatic truncate of varchars to their max size for postgres, to fix SQL errors which cause eg. SyncML to fail under Postgres" 2007-06-20 18:47:14 +00:00
Ralf Becker
23c2f997fc "- fixed problem reported by JOYDEEP on the user-list: disabled accounts can still login under the ldap account backend" 2007-06-20 07:40:59 +00:00
Ralf Becker
1697a56468 "- fixed handling of passwords with special chars
- made handling of empty passwords more obvious
- fixed primary group to use negative group-id"
2007-06-20 06:49:02 +00:00
Ralf Becker
dcf1a53a74 "fixed sql account backend to return array() instead of false for groups without members (can be created by deleting all users, which are members)" 2007-06-15 07:55:42 +00:00
Ralf Becker
04ba662494 small enhancement to keep the attachments, 'til the infolog entry gets finally deleted 2007-06-14 06:16:19 +00:00
Ralf Becker
e54535cfc8 "fix for bug reported on the german list" 2007-06-13 15:37:10 +00:00
Ralf Becker
8eda1028a3 "switching FCK's encoding as html entities off, as we correctly handle charsets and it messes up the wiki totally" 2007-06-13 08:35:13 +00:00
Ralf Becker
3ddd4a7d17 bugfix: async service "sometimes" misses jobs (db-class was not cloned but copied) 2007-06-10 08:47:14 +00:00
Ralf Becker
d56c51d71d deny ADS logins with empty passwords, in case anonymous search/bind is enabled on ADS 2007-06-08 15:42:07 +00:00
Ralf Becker
6ca395375e fixed not working context sensitiv manual page for site config pages 2007-06-08 10:24:20 +00:00
Ralf Becker
01f44ef311 "fix for konq, if multiselect is in a right-alinged table-cell or box" 2007-06-07 10:29:56 +00:00
Ralf Becker
5e59f78c8f "fixed bug reported on the list: not working backup&restore because of blob columns: they get base64 encoded now" 2007-06-03 17:57:40 +00:00
Ralf Becker
71141e4b14 "fixed not working search for groups" 2007-06-03 15:17:37 +00:00
Ralf Becker
7ed708df75 NOT FOR 1.4: a very first step to the new vfs structure, it only does a ls via commandline of the old vfs 2007-05-29 08:35:27 +00:00
Ralf Becker
23b75e9e91 "bugfix: removed accidently (not working) added search for groups" 2007-05-27 06:26:17 +00:00
Ralf Becker
233a414efe new about page from Sebastian Ebeling 2007-05-26 19:06:12 +00:00
Ralf Becker
ff5ced8be3 not used since some time 2007-05-25 21:06:10 +00:00
Ralf Becker
1e9b08d510 fixed problems pointed out by Janosch Machowinski <scotch-AT-tzi.de> 2007-05-25 12:18:00 +00:00
Lars Kneschke
aee25f82df fix for a sometime not terminating loop. patch provided by knut moeller 2007-05-25 08:24:22 +00:00
Ralf Becker
b8f54d1408 "fixed IE cookie problem: IE seems not to care for the path when deleting cookies, beside using the oposite order in processing the cookies" 2007-05-24 10:11:35 +00:00
Ralf Becker
83a9989e57 "fixed IE cookie problem: IE seems not to care for the path when deleting cookies, beside using the oposite order in processing the cookies" 2007-05-24 10:10:20 +00:00
Ralf Becker
755261fe6a "fixed possible dublicated session-id of our own session-id creation function, by using the php one" 2007-05-23 18:04:05 +00:00
Ralf Becker
497cabb832 "fixed some 'funny' bugs if session-id is in the URL, by adding the session-related vars first (eg. creation of distribution lists does not work)" 2007-05-23 10:36:53 +00:00
Ralf Becker
c2bb34cd4e fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases 2007-05-22 18:02:41 +00:00
Ralf Becker
852f8149b2 "fixed error in fmail compose under Konqueror: fallback textarea is only 4 lines high, not 400px, as FCK expects the heigt as number and adds px itself
also removed the commented out tinymce code"
2007-05-21 06:19:42 +00:00
Ralf Becker
80419ee783 "removed some \"dead\" code" 2007-05-20 15:16:15 +00:00
Ralf Becker
5f228355ef "fixed bug reported on the userlist: partial content under mbstring.func_overload&2" 2007-05-19 04:37:14 +00:00
Ralf Becker
cf7af58f88 "shut the debug message in error_log, when calling the old contact.read() method instead of contacts::search(), as users seem to think it's an error-message" 2007-05-18 17:47:51 +00:00
Ralf Becker
1dd9efb7fb "fixed missing encoding for ambersands by using the standard php functions htmlspecialchars and htmlspecialchars_decode" 2007-05-18 16:10:14 +00:00
Ralf Becker
d2f80cf8dc fixed SiteMgr session-problems by making the cookie path/domain configurable with more reasonable defaults then 1.4 has at the moment, making the display of * behind untranslated phrases an option which is by default off (as it anoyes users) and added a few more explenations to Admin >> Site configuration (plus removing not used ones) 2007-05-17 08:35:35 +00:00
Ralf Becker
47400643f7 fixed db-creation to allow db-names with dashes 2007-05-15 06:37:24 +00:00
Ralf Becker
7f64e2d175 fix for bug #488: Postgres errors when upgrading to 1.4 beta 2007-05-12 16:58:47 +00:00
Lars Kneschke
defef645e2 disabled context menu in simple view to enable FF2 and IE7 spellchecker 2007-05-09 15:37:25 +00:00
Ralf Becker
0f5ccb8c9f php5.2 2007-05-09 08:53:08 +00:00
Ralf Becker
a33f2ab12c fix for bug #518: 2007-05-08 11:44:43 +00:00
Ralf Becker
9748cf96be fix for bug #700: Date format d-M-Y not working in Infolog list display 2007-05-08 07:38:36 +00:00
Ralf Becker
8ac09e8dba fix for bug #674: no more simple multiple participant selection 2007-05-07 18:59:05 +00:00
Ralf Becker
359eb4b9ea "small docu update" 2007-05-07 15:01:48 +00:00
Ralf Becker
4378a84503 "fix for bug #445: xmlrpc utf-8 encoding error
Thanks to a fix from Eugene Pivnev"
2007-05-04 12:22:04 +00:00
Ralf Becker
6e15de8da8 "patch #177: mime-type for wordperfect" 2007-05-03 13:46:19 +00:00
Ralf Becker
e3a4af3a1d "bugfix/patch #632: Active Directory (ADS) authentication in 1.4 Beta 4 (1.3.019)" 2007-05-03 13:40:38 +00:00
Ralf Becker
892c5f8f83 "fix for bug #584: Problem when sorting accounts in the account-selection popup" 2007-05-01 14:26:48 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Ralf Becker
5224372bfc "limiting the size of a session-file which gets read to list the sessions, to prefent admin users being not able to log in because of a \"runaway\" session of any other user" 2007-04-30 05:37:31 +00:00
Ralf Becker
d7eebb964a worked around stupid php5.2 empty haystack warnings 2007-04-30 05:34:40 +00:00
Ralf Becker
410dadba14 "VFS bugfixes:
- fixed not working creation, rename and deletion of user- and group-dirs
- WebDAV showed all user- and group-dirs in /home and not only the ones the user has read access too"
2007-04-29 12:06:17 +00:00
Ralf Becker
47763981e9 "missing default for last param or fckeditor" 2007-04-27 08:48:50 +00:00
Cornelius Weiß
63ee37b29c fix wrong old_defaut imagedir 2007-04-26 23:23:05 +00:00
Ralf Becker
dd45443d8e "fix for bug #486: InfoLog removes https from urls on display
and some other fixes in the activation of url's"
2007-04-26 12:32:03 +00:00
Ralf Becker
c160fdec74 "bugfix: primary-group of current user was read from not always set $GLOBALS['egw']->accounts->data, instead just from $GLOBALS['egw_info']['user']" 2007-04-26 11:52:47 +00:00
Ralf Becker
20b4f9b77d "fixing an old php5 fix, which caused extra-labels to have key 0 instead of '', which caused eg. InfoLog to require two clicks to close an entry (only after called the first time after login)" 2007-04-26 07:34:27 +00:00
Ralf Becker
47f6358788 "manual link was not working, if session.use_transsid was switched on - thought it seems not to be used, as we take care of transporting the session-id. Maybe it's different between php4 and php5, as I remember is was necessary some time ago. Anyway ... " 2007-04-24 12:49:25 +00:00
Carsten Wolff
0214de953e RRULE should not be escaped by this class in egw, because it's generated with ; in it 2007-04-24 09:33:22 +00:00
Ralf Becker
a06732a3e2 "- removed =& in the creation of the framework object because of problems with php4, php5 does not matter anyway" 2007-04-15 08:43:39 +00:00
Ralf Becker
c5c317d9df "get image upload in fck working again" 2007-04-14 16:57:57 +00:00
Ralf Becker
54e479c408 "get WebDAV working again after the last change in the session class:
we can NOT clean the whole egw_info/server array, as this also cleans the variables set in the header, which get not re-read
--> we need to keep the important values: sessions_type and default_domain"
2007-04-07 09:44:39 +00:00
Pim Snel
e464fc3304 - More information why people have no access to app. Users often think they did not log in
- Replace html with error msg in code with savant template
2007-03-29 21:01:11 +00:00
Lars Kneschke
a71db5a07c write a empty memberuid array to ldap only when updating groups 2007-03-20 09:24:22 +00:00
Rob van Kraanen
0aa8420ddd refund action added 2007-03-08 09:10:52 +00:00
Lars Kneschke
0964862aa7 reset the db all other phpgwapi data if switching domains 2007-03-01 06:32:27 +00:00
Lars Kneschke
8e1dc4b5b1 another PHP 5.2 bugfix and an javascript fix from Sebastian 2007-02-28 06:06:35 +00:00
Lars Kneschke
66a207d455 make sure the mbstring supports get always enabled. It's needed for the imap conversion(utf-7 => systemcharset). 2007-02-27 20:04:26 +00:00
Lars Kneschke
baf14bae10 make syncml searching in egw-pear too 2007-02-27 06:42:45 +00:00
Lars Kneschke
7025c0d91a fix for Warning: Wrong parameter count for str_replace() in /usr/share/egroupware/phpgwapi/inc/class.html.inc.php on line 1061 2007-02-27 06:41:36 +00:00
Lars Kneschke
4c641f2769 iconv can not convert from/to utf7-imap. Added support for conversion based on the functions provided by the imap extension.
Returning the unconverted string when conversion using iconv failed. This was also not working before.
2007-02-14 11:44:01 +00:00
Lars Kneschke
c58a299113 REQUEST_URI can contain also some get paramters 2007-02-05 16:01:29 +00:00
Lars Kneschke
c6e057d98f add another variant to strip the last dirctory name(should be more failsave now 2007-02-01 15:36:39 +00:00
Lars Kneschke
4fe75764bc make sure that we are really working with a object. That's not always true, when using SyncML for example. 2007-01-24 16:38:46 +00:00
Cornelius Weiß
d284974f9f patch #203 from sebastian ebling:
extendet submit_button() to also display <input type=button
 new type buttononly for eTemplate
applied this type for addressbook.index.right_add buttons
 applied this type for tracker.index.right button
2007-01-20 08:54:56 +00:00
Cornelius Weiß
a90f81b8f4 compat for other browsers 2007-01-19 08:00:09 +00:00
Cornelius Weiß
8cf37ad18b upps, this function is used by wiki 2007-01-19 06:58:38 +00:00
Cornelius Weiß
9e2b2b780f complete transition to fck
changed etemplate apps: resources, wiki, projectmanager, infolog, news_admin
infolog now has a fck w.o. toolbar by defaut. This helps for mails from mail2infolog
compability function htmlarea in class.html now points to fck
deactivated old tiny code in class.html
2007-01-18 19:18:44 +00:00
Cornelius Weiß
1eb9dbe961 applay path #298 from Jose Luis Gordo Romero: sitmgr, api tiny->fck 2007-01-18 17:59:28 +00:00
Cornelius Weiß
8aa8cd4e2a applied patch #280 from Sebastian Ebling: * removed the "About ..." menu entry from top and sidebox menu
* mostly rewritten the about.php page (added application list)
* changed footer eGroupWare link to about.php
* moved manual from application menu to top and sidebox menu preserving its special link target
2007-01-17 17:51:47 +00:00
Pim Snel
6a91aaf76a add pdml class as fpdf extension and plus API wrapper the pdml class 2007-01-15 15:35:00 +00:00
Ralf Becker
fe7ad0a549 always comparing options as strings 2007-01-12 01:24:05 +00:00
Pim Snel
48c4bfdc9b put current_user code in its own functions 2007-01-09 23:14:21 +00:00
Pim Snel
4e26206909 remove topmenu code from framework again 2007-01-09 22:42:01 +00:00
Ralf Becker
3ca0341bf9 "fixed docu of search method: order and sort were exchanged" 2007-01-08 08:58:48 +00:00
Ralf Becker
9035eafef4 "- fixed docu of search method: order and sort were exchanged
- added missing 'sort' parameter for depricated get_list method"
2007-01-08 08:57:33 +00:00
Christian Binder
30f60a1276 dragdrop class: with addCustom() now custom DHTML objects are possible, not just draggables and droppables 2007-01-05 23:07:35 +00:00
Pim Snel
213d694121 remove error, make topmenu do nothing when not available 2007-01-05 14:13:40 +00:00
Pim Snel
60b9285d71 add topmenu to the egw framework
implement topmenu in idots template set
add idots preference to enable topmenu
add idots preference to disable general sidebox menu
some cleanups in idots framework class
some cleanups in egw_framework
2007-01-05 14:06:34 +00:00
Christian Binder
4a0af9f977 dragdrop: make class aware of multiple instances and make wz_dragdrop::ADD_DTHML() more performant 2007-01-05 13:56:28 +00:00
Ralf Becker
a6131d726e fix for bug #240: PHP Warning at accountsel popup if search has no result (accounts in ldap) 2007-01-04 06:54:33 +00:00
Ralf Becker
ec313158ee made the session restore a bit more robust: if the session object could not be restored, destroy and re-create it 2007-01-04 06:37:45 +00:00
Pim Snel
f957bdfa83 add option custom image path parameter for tree menu to enable custom icons 2007-01-02 23:26:53 +00:00
Ralf Becker
733e2cfe2d - if 'egw-pear' exists, it is put in front of the include_path
- checking the php min-version of 4.3 now with version_compare and complain if it's not reached
2007-01-01 14:35:44 +00:00
Ralf Becker
9172cf3fa9 fix for bug #72: 'Group' is not translated in calendar popup (and many other places) 2006-12-25 12:38:37 +00:00
Ralf Becker
c9377bfc61 new login page using the framework class(es) 2006-12-25 11:05:44 +00:00
Ralf Becker
80d063e041 new param $path for egw_setcookie to optionally specify a path 2006-12-25 11:04:21 +00:00
Ralf Becker
4d5d4c42c0 quietend a warning happening if no use set in login 2006-12-25 11:02:54 +00:00
Christian Binder
6f78261f7f modified walter zorns wz_dragdrop.js to have a defined focus on the draggables (e.g. top left or center center) - sent these changes to walter zorn as he thought himself about implementing that, set calendar events to focus now on top center with a border of 2 pixels to make dragging more logical for the user - modified dragdrop class to take focus as e.g. 'top left 5' focuses draggable on top left with a border of 5 pixels inside 2006-12-23 10:13:51 +00:00
Ralf Becker
6584ab6487 some more stupid php5.2 fixes 2006-12-22 06:33:01 +00:00
Ralf Becker
42698c08b6 some more stupid php5.2 fixes 2006-12-21 14:10:59 +00:00
Pim Snel
c1c6bddace - fix bug in egw_db so that it will always work with postgresql if using external db's
- enhance schema_proc so that it can work with schema's of externals db objects
2006-12-20 15:18:27 +00:00
Ralf Becker
e6998c2ecf PostgreSQL 8.1 fix 2006-12-20 09:26:04 +00:00
Ralf Becker
3660b40851 fixed typo 2006-12-20 09:25:29 +00:00
Ralf Becker
33d333f56f quitened these stupid php5.2/mb_string warnings 2006-12-19 07:34:29 +00:00
Ralf Becker
61eb991338 quitened these stupid php5.2 warnings: it seems stripos has the same problems as strstr and stristr, there for I changed everything to @stripos 2006-12-19 07:12:49 +00:00
Ralf Becker
e6dd37c326 quitened 2 of these stupid php5.2 warnings 2006-12-19 07:09:59 +00:00
Ralf Becker
7389a7a2cb some more refracturing of the template code 2006-12-17 13:14:16 +00:00
Ralf Becker
347f0c5649 Upps portalbox in home also used phpgw_info based themes 2006-12-17 11:45:09 +00:00
Ralf Becker
ddccca1c55 Removed old phpgw_info based themes, they have been depricated in 1.2 and are only used by some old contrib apps 2006-12-17 11:30:26 +00:00
Ralf Becker
fa996ab124 hack to deal with no more $GLOBALS['egw_info']['theme'] 2006-12-17 10:44:10 +00:00
Ralf Becker
f4238614f3 new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook 2006-12-17 08:44:05 +00:00
Christian Binder
f3670af463 dragdrop class: every draggable or droppable now takes an associative array for the values, the class disables itself automatically on non-validated browsers, built-in test mode to validate other browsers 2006-12-15 19:39:36 +00:00
Ralf Becker
b13cf65101 fixed fatal error when saving (not applying) the prefs and session-type is php-restore:
The way the old Template class works, does not work together with restoring from the session.
2006-12-14 15:17:33 +00:00
Ralf Becker
2e3a0a06cd added a small default registry for f(elami)mail, to list it in the quick add menu, without really supporting linking with mails 2006-12-12 14:40:03 +00:00
Ralf Becker
a166bb0f57 reworked and refractured the way template sets work in eGW:
- virtual baseclass egw_framework in the API which each template extends
- replaces $api/footer.inc.php, $tpl/head.inc.php & $tpl/navbar.inc.php
- all existing phplib template sets just inherit the idots_framework, but can have own templates
- moved most html from navbar.inc.php into the navbar.tpl
--> idots & jerryr are reworked and working, all other template sets are disabled at the moment
--> The rework was done to add a selectbox to add all sorts of entries without the need to change to the app first. This is now implemented in the egw_framework class using the link-registry.
2006-12-10 23:44:18 +00:00
Ralf Becker
05cd4a36d9 added quoting for float and decimal types, prevents SQL errors 2006-12-08 10:16:00 +00:00
Ralf Becker
ce2a7c918f fixed warning introduced by strstr --> strpos conversation 2006-12-07 19:17:25 +00:00
Cornelius Weiß
4421d6cf09 strstr -> strpos fix by thomas koch 2006-12-07 12:46:08 +00:00
Ralf Becker
915dd1910f fixing the fix ;-)
According to wikipedia windows-1250 is similar to iso-8859-2 - thought German special chars (umlauts) have the same encoding in iso-8859-1
2006-12-06 07:21:45 +00:00
Ralf Becker
9ab10aeb77 fix for problem describt on the german list: headers from mails send from Outlook, eg:
From: =?Windows-1250?Q?X=F6rg_Brd?= <x_brd@xxx.de> 
get not decoded correct --> php (at least some versions) seems not to understand the charset windows-1250, which is more or less identical to iso-8859-1
2006-12-05 19:11:38 +00:00
Cornelius Weiß
c6640c044e kill php5.2 warnings 2006-12-02 11:04:30 +00:00
Cornelius Weiß
56fb1e7052 killed a php5.2 warning 2006-12-02 07:55:09 +00:00
Cornelius Weiß
f4baebf3c1 killed a php5.2 warning 2006-12-01 13:34:17 +00:00
Ralf Becker
084b53971c fixing the fix: explicitly disallowing "javascript:" url's to be used as menuaction: fixes not working add email links in the addressbook popup for FMail 2006-11-13 11:59:59 +00:00
Lars Kneschke
1ba36a6ca5 Horde::iCalendar vcalendar export bug
Special characters in text field are not scaped when events or todos are exported. For example, ',' in the description field are send literal. According to rfc2445 section 4.3.11 there are some characters which must be scaped or quoted. This patch tries to solved this problem.

patch contributed by Antoni Matamalas
2006-11-13 09:19:01 +00:00
Lars Kneschke
485027f3f1 patch from Christian
this patch fixes the handling of daylight saving
2006-11-13 08:19:23 +00:00
Christian Binder
0f4fee5b3f Horde iCalendar.php::parsevCalendar now accepts ';' AND ',' as field delimiter for EXDATE and FREEBUSY 2006-11-09 09:57:49 +00:00
Lars Kneschke
6173df6f48 * reworked api call for fckeditor 2006-11-08 08:06:27 +00:00
Lars Kneschke
8a0f08b54f * initial import of fckeditor
* added function to add fckeditor instead of tinymce
2006-11-07 18:18:22 +00:00
Christian Binder
cc02f439d7 new dragdrop class -- Introduction in WIKI follows the next days 2006-11-05 09:59:38 +00:00
Ralf Becker
8831acc1c4 fixed Pim's addition to the session class: session of the anon user is destroyed, if he tries to enter an application he has no rights to. The check was before the allowed applications have been read ;-) 2006-11-01 09:40:04 +00:00
Ralf Becker
45fa4d0c1c fix for Nathan to allow again ':' in the links 2006-10-31 16:50:39 +00:00
Ralf Becker
66abd0c259 re-added the account-search-types lost in the rewrite of the accounts-class 2006-10-28 09:32:56 +00:00
Ralf Becker
3dcbd0ae30 fixed adi's patch to allow again searching in other fields then the one used in account-filter (by default uid) 2006-10-28 09:32:04 +00:00
Lars Kneschke
a934f999e9 restructured ldap connect function
- we bind now as ldap admin account to read the info about the ldap server
- we now try to use ldap v3 be default and fall back to ldap v2 when v3 fails
2006-10-28 08:38:17 +00:00
Lars Kneschke
268d434501 fix IE only javascript problem 2006-10-25 13:40:38 +00:00
Lars Kneschke
cf1dad6d52 when synchronizing using syncml, we already have php based session started
and we are (currently) not allowed to change the session_id later
to solve this problem, we simply return the current session_id in new_session_id()
2006-10-25 08:18:13 +00:00
Ralf Becker
4731a59075 preserve already correctly quoted single quotes 2006-10-22 11:35:58 +00:00
Ralf Becker
88048ecc2f renamed datetime class to egw_datetime to support php5.2 2006-10-22 06:39:49 +00:00
Ralf Becker
0b261f355b fixed not working removal of group-memberships via edit-group 2006-10-19 17:11:35 +00:00
Ralf Becker
afddf22135 fixed doublicate key error, happening with some installs / php-versions on updating or adding acls 2006-10-15 09:21:59 +00:00
Ralf Becker
4586e3c267 fix for bug #9 2006-10-13 15:55:00 +00:00
Pim Snel
b3f8cf1512 Add to session verify: If User is Anonymous and enters a not allowed application its session will be destroyed inmediatly. 2006-10-13 12:49:03 +00:00
Ralf Becker
3b3c5351de forgot to remove a debugging comment, dbmailForwardingAddress should have the highes precedence 2006-10-12 09:20:22 +00:00
Ralf Becker
cfc6f23dbd ability to set an email-address for groups (with automatic forwards to member's email) 2006-10-11 21:59:43 +00:00
Ralf Becker
85db907265 some bug-fixes for the php sessions with restore:
- problem with $GLOBALS[egw]->translation is no object in common_functions.inc.php (lang() function)
- session cokie with path / (and old session-id) gives "your session could not be verified"
2006-10-11 14:47:23 +00:00
Cornelius Weiß
7f79a72d98 cleanup:
- fragments of concisus api
- file inclusion accidents
added:
support for js reload by filectime
2006-10-10 13:39:07 +00:00
Ralf Becker
bbd2b7a55c Patch from Adi Kriegisch: accounts_ldap::search was NOT using the ldap search-filter from setup >> configuration 2006-10-10 07:33:43 +00:00
Lars Kneschke
d999a797d4 made refresh from server working
the new funambol outlook client support this
2006-10-04 18:16:58 +00:00
Ralf Becker
88d5a016e0 caching the link-titles in the session 2006-10-04 08:23:28 +00:00
Ralf Becker
4c1d7489fe some code to make register_globals On installs safer, we might commit that after a test-periode to 1.2 too 2006-10-03 15:16:42 +00:00
Lars Kneschke
14d546d58d added functionality to add multiple html / text parts to the message 2006-09-28 18:46:27 +00:00
Ralf Becker
2bbebeeb50 allow to also specify an extra, first label, if an array with grants is given 2006-09-25 08:48:19 +00:00
Ralf Becker
bdb15819bd phpgw --> egw 2006-09-24 16:27:39 +00:00
Ralf Becker
052c0e964c fixed depricated get_list methode, to return an array indexed 0, 1, 2, ... as the old one 2006-09-24 08:06:16 +00:00
Ralf Becker
a6af26d8a9 - setting the cookie path, allows to login to different eGW installs (if you want to use this together with the 1.2, you have to copy the 3 modified session-classes there too)
- documentation update
2006-09-24 06:53:34 +00:00
Ralf Becker
445d8467a3 get_links with $only_app param set was returning the complete links instead just the id's, if the entry was not yet created (links stored as an array in the empty id) 2006-09-20 07:11:42 +00:00
Ralf Becker
1f5580c528 hardcoded the use of accounts_backend::search for ldap, as method_exists behavior seems to have more to do with php's version-numbers then with the existens of the method ;-) 2006-09-20 06:03:06 +00:00
Ralf Becker
a594d2f0b9 make sure multiple email-addresses in the mail attribute "survive" 2006-09-16 10:00:06 +00:00
Ralf Becker
058e175669 fix necessary for session-type php_restore 2006-09-15 16:36:09 +00:00
Ralf Becker
fb62796694 big performance improvment (developed and tested on an install with > 2000 users) 2006-09-15 16:19:39 +00:00
Ralf Becker
6b5f54236b upps 2006-09-12 11:55:54 +00:00
Ralf Becker
ab05b3eef6 - change jscalendar-setup url to include lang&dateformat, to force the browser to reload the file, if the user changes his prefs (we had a lot of bug-reports about not working jscal because of this in the past, maybe this should be commited to 1.2 too)
- documentation update
2006-09-12 11:51:02 +00:00
Ralf Becker
82f5919d1c fixed sql error in compatibility function old_read (colum-prefix was not added) 2006-09-11 10:48:54 +00:00
Cornelius Weiß
0144a3aa92 xajax check for upcomming notification module 2006-09-06 08:16:22 +00:00
Ralf Becker
f53f475e53 fixed bug reported on the list by Pierre Rigal: Admin >> Manage users shows only first N groups and not all (was caused by default param of '' instead of null in the depricated accounts::get_list() method used by admin) 2006-09-06 08:13:56 +00:00
Ralf Becker
26fd3d2b97 fixed bug in ACL: grants from a group to an individual were not working and grants from a group to an other group were wrong 2006-09-01 11:03:29 +00:00
Ralf Becker
bb9fb665c9 - tinymce use absolute url's again (as in the previous release)
- docu update
- remove double cursor css-attribute, which gave a lot warnings in ff's javascrip console
2006-08-30 14:47:56 +00:00
Ralf Becker
0e5afc3ca4 fixed bug: umlauts and other non-ascii chars got corrupted in a nextmatch search, when you scroll with left and right arrows, the search value got unnecessary urlencoded 2006-08-30 13:22:51 +00:00
Lars Kneschke
4bc6ad098e added a new option, to filter the allowed attribute values by regular expression 2006-08-29 18:45:17 +00:00
Ralf Becker
e88c4e3eb3 - new method get_3links, to get all links from a given app's entries to an other app's entries, which both link to the same 3. app and id
- documentation update phpDoc headers
2006-08-26 15:58:26 +00:00
Lars Kneschke
c2a7644b5e fix logic problem 2006-08-24 11:50:09 +00:00
Ralf Becker
2229fae121 setting the correct charset for the new xajax version 2006-08-24 11:14:25 +00:00
Lars Kneschke
698c0d9416 ad font tag as valid html tag 2006-08-24 09:49:38 +00:00
Lars Kneschke
9fa275421b patch from christian binder
563: set delimiter to ";" instead of ","
2006-08-24 09:47:40 +00:00
Ralf Becker
410a7a6c15 - fixed LDAP error when expiration date is set (under debain/Ubuntu)
- fixed calculation of shadow_expire (UTC conversation)
2006-08-24 06:27:03 +00:00
Ralf Becker
3c0e159798 - fixed not stored email-address-policy
- removing quotes and space from email-addresses
2006-08-24 06:23:23 +00:00
Ralf Becker
8fd0640039 Two new options for the account-selection:
- Selectbox with groupmembers (only)
- No user-selection at all
These two options limit the visibility of other users. There for they should be forced and apply NOT to administrators.
2006-08-22 16:50:19 +00:00
Cornelius Weiß
68077b49ac skiped two folders in new tinymce version 2006-08-21 19:40:16 +00:00
Lars Kneschke
be7cca8a44 improved handling of devinfo. Now we check if we have the needed datastore info for every alert. If we don't have them, we request the devinfo.
That's important for the synthesis client, which (can) send different datastore options, depending on the enabled datasources on the client.
2006-08-21 03:46:08 +00:00
Lars Kneschke
1037ac7d7f added a shortcut function, to display a defined type of tinymce window. To have a equal looking tinymce window all over egw. 2006-08-21 02:59:35 +00:00
Ralf Becker
dfb2e85ed6 fixed bug TinyMCE destroys xml or html in content 2006-08-18 09:21:28 +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
Lars Kneschke
40012677d7 don't convert charset 2 times anymore 2006-08-17 03:38:27 +00:00
Lars Kneschke
502f8508ef removed (hopefully) unneeded linebreaks 2006-08-17 03:30:19 +00:00
Lars Kneschke
b4be59fbb0 update to new xajax version 2006-08-16 03:31:35 +00:00
Lars Kneschke
acec55da41 add info for new caltasks sync source 2006-08-16 03:31:06 +00:00
Lars Kneschke
46d29b527d search also in idots as default image path
that would allow us to remove default completly in the future
2006-08-16 03:30:23 +00:00
Lars Kneschke
45200da684 various syncml fixes
- when doing slowsync we don't update the entries anymore. we just add the needed mapping to the database.
- improved handing of deviceinfo
2006-08-15 14:42:13 +00:00
Lars Kneschke
072b6966d2 // fix for Nokia Series 60 which seem to send empty data block sometimes 2006-08-15 14:40:34 +00:00
Ralf Becker
1ea213f903 allow users with identical names as groups (LDAP) to login, thanks to Jan Lindemann <jan-at-jannet.de> 2006-08-15 03:15:55 +00:00
Ralf Becker
8b199cf8e2 better error-message 2006-08-14 18:33:41 +00:00
Ralf Becker
2d41edc263 fixed not working delete 2006-08-12 08:46:20 +00:00
Ralf Becker
3d831bf7d7 new search method plus documentation 2006-08-11 20:50:36 +00:00
Pim Snel
28ea28e013 For the initial release of Credits Point we need add one API class
Credits Point will introduce payed services in to egroupware. Payments are 
handled via Payment Service Provider Plugins. Credits Point is compatible 
with OsCommerce for these plugins so we have access to hundreds of payment 
plugins.

Developers can register functionality in the CP service database. CP admins
can offer registered functionality as payed service to the eGW users.

More info follow...
2006-08-04 08:50:11 +00:00
Ralf Becker
e22ad754a5 fixed not working jscalendar, if for some reason no default date- or timeformat was set in the (default) prefs 2006-07-31 19:43:21 +00:00
Ralf Becker
9ae99b8003 postgres fix, auto-id column need to be NOT set 2006-07-14 19:59:16 +00:00
Ralf Becker
b12b8ada8b fixed warning if a group without members got created 2006-07-13 19:54:02 +00:00
Ralf Becker
3d4c680760 typo 2006-07-12 20:43:38 +00:00
Ralf Becker
e9c61d87d9 fixed bug, that caused accounts::search() to allways return on the first maxmatches accounts, as the underlying contacts::search() and so_sql::search() need the start param to be exact false and not null 2006-07-12 18:31:19 +00:00
Ralf Becker
c094f15db4 fixed error "no accounts/groups shown in admin", reported by Max.Bidlingmaier-at-EasternGraphics.com, if maxmatches not set 2006-07-12 15:15:44 +00:00
Lars Kneschke
b67d241224 added default type for ./contacts 2006-07-11 18:29:22 +00:00
Ralf Becker
34346b6847 fixed error in modification of existing group, if groupOfNames can NOT be used together with posixGroup (nis schema) 2006-07-11 02:28:58 +00:00
Lars Kneschke
46b151baa4 improved handling of slowsync and twowaysync 2006-07-09 07:27:23 +00:00
Ralf Becker
8072930632 write only for contact-repository sql-ldap, but not for sql and account in ldap 2006-07-08 21:41:42 +00:00
Ralf Becker
82af1db4bd fix: title in checkbox_multiselect was (only) set for the checkbox, not the whole label 2006-07-08 20:18:36 +00:00
Ralf Becker
ad7972870c moved saving of account contact-data to accounts class 2006-07-08 00:20:27 +00:00
Ralf Becker
11775a0846 new method to get the message_id of a phrase 2006-07-06 23:02:55 +00:00
Ralf Becker
970ebe0784 - include US states from sbox
- methods to translate between country-code and -name
- methods to return a translated country-list
2006-07-06 22:52:50 +00:00
Ralf Becker
fbb8eee4ee removed not used sbox classes, use html-, country- or uiaccountsel-class instead 2006-07-06 22:51:45 +00:00
Ralf Becker
558a52b491 1) fixed critical bug in links class: viewing an entry which has links to other entries, for which the user has no view permissions, caused the deleting of the links to these entries. The title function/hook returns now null to indicate an entry does not exist (and all links can be deleted) or false (as previously allways) if there are insufficent rights to view the title. Links get now only deleted in the first case, if title() returns null
2) dont ask ;-)
2006-06-24 15:58:29 +00:00
Ralf Becker
0c8f55b6ea quitened a warning 2006-06-24 15:52:42 +00:00
Ralf Becker
86b3262901 excluding of non phpgwapi files not neccessary and breaks new accounts-class which use addressbook's contact service 2006-06-24 15:52:06 +00:00
Lars Kneschke
4ec908ebe4 added support for fetching body and header for composed email 2006-06-23 19:13:22 +00:00
Lars Kneschke
fd297aad19 added support for commiting sessions(remove file lock for php sessions) 2006-06-23 19:09:38 +00:00
Ralf Becker
37b1a0c0c1 fixed bug: delete always deleted the parent-dir too 2006-06-23 17:43:07 +00:00
Ralf Becker
2aaa25ab58 - webdav works now with multiple domains and user-names including the domain
- webdav creates now the users home-dir, if it does not exist (as filemanager does)
2006-06-23 17:25:02 +00:00
Ralf Becker
5f41dd5512 fixed now working contact-data-edit of accounts via admin for accounts in ldap 2006-06-21 23:14:18 +00:00
Ralf Becker
5d30855ed1 - fixed not working add of new accounts (due to addressbook acl, which allows not to add accounts via the addressbook)
- invalidate the cache of the accounts-class if contact-data of an account get changed
2006-06-21 23:13:37 +00:00
Miles Lott
23ac553d70 Fix for types other than md5 and crypt, e.g. SSHA where the the type is contained in the text of the password 2006-06-20 09:50:00 +00:00
Ralf Becker
93c8753b73 improved emulation of old contact class 2006-06-18 05:07:10 +00:00
Ralf Becker
4e2ed78789 prevent invinit recursion if read_repository() is called without $this->account_id set 2006-06-18 04:58:02 +00:00
Ralf Becker
61b6d0b993 moved contact-data (firstname, lastname and email) from the account-table to the contact table:
- all (sql) accounts have now allways a contact associated with them (account_id is added as new column to the contacts table)
- contacts queries are simplefied a lot now, as no more join with the accouns-table, union and case when statesments are necessary
- lot of the special handling for accounts in the contacts class is no longer needed
- new contact-repository mode "sql-ldap" which additional writes all changes to the ldap repository, to allow to use it read-only from eg. thunderbird and still have the full sql speed and features within eGW (not yet fully working!)
==> requites update of API and addressbook to work (setup!)
2006-06-17 18:47:02 +00:00
Ralf Becker
e57d634c33 enabling the session cache for sql too 2006-06-17 18:40:07 +00:00
Ralf Becker
96ba93f773 use the new type parameter for accounts::name2id to specify accounts 2006-06-17 18:38:32 +00:00
Ralf Becker
0af8df4caa new param to not invalidate the session-cache 2006-06-17 18:37:35 +00:00
Ralf Becker
5dc4617462 setting the default for encrypt_ldap() to des and not just return false, the default is needed if you never saved setup >> config 2006-06-17 16:04:35 +00:00
Ralf Becker
ae661608ab allow to use an url (eg. "ldaps://domain.com") instead just a domain name 2006-06-16 04:54:55 +00:00
Ralf Becker
5acd64e429 further improved the detection of "real" links 2006-06-16 04:53:52 +00:00
Ralf Becker
946efce9a1 improved emulation of old contact class 2006-06-16 04:47:22 +00:00
Miles Lott
e14cc06c49 Correct spelling of function name. More to come... 2006-06-15 11:38:21 +00:00
Ralf Becker
8aa7063c94 fix 2006-06-14 23:43:53 +00:00
Ralf Becker
68202a23ff emulate the old access={private|public} 2006-06-14 19:00:16 +00:00
Lars Kneschke
1afe9362af fix for incomplete targetURI
Patch from Franky(liedekef)
2006-06-14 05:38:15 +00:00
Ralf Becker
0d9206e671 fixed html::a_href('mailto:First.Last@domain.com'), the mailto link was mistaken for a menuaction 2006-06-13 21:58:08 +00:00
Ralf Becker
346164483e using ldap::quote() to gard against LDAP query injection 2006-06-13 04:23:36 +00:00
Ralf Becker
2c87623e9b renamed ldap::ldapAddslashes to ldap::quote, like in db::quote or preg_quote 2006-06-13 04:22:24 +00:00
Ralf Becker
b2a0081696 phpDoc compatible header 2006-06-13 04:16:38 +00:00
Ralf Becker
287726dead bugfix: set_memberships removed the not longer set memberships from $this->account_id and not the given one (which caused the admin to loose the membership) 2006-06-11 14:27:14 +00:00
Ralf Becker
d8d93ebd77 changed the authticate method to use common::ldapConnect() and not do it yourself, which fails as the ldap-version3 attribute no longer exists 2006-06-09 00:07:57 +00:00
Ralf Becker
767c42b43f accounts_ldap::_get_nextid was not returning a negative number for groups, which lead to accounts_ldap::save to return a positive account_id for groups, which messed up some stuff in setup ... 2006-06-08 22:04:44 +00:00
Ralf Becker
5581a73df7 allways setting account_pwd and account_status (for groups too) as they are NOT NULL, thanks to olo <aleksander.adamowski-AT-gmail.com> 2006-06-08 21:18:46 +00:00
Lars Kneschke
e4409c7b0a fixed handling of session url, when behind a proxy 2006-06-08 03:46:18 +00:00
Ralf Becker
076711adbf fallback for posixGroup no structural object was missing 2006-06-08 03:29:07 +00:00
Ralf Becker
7c203162fa fix to allow migration of accounts from LDAP to SQL (account_id already set) 2006-06-08 00:25:57 +00:00
Ralf Becker
a59c49c2e2 also fetch the password, eg. for migration 2006-06-07 23:21:30 +00:00
Ralf Becker
29f83cba19 calling now Lars new class to open ldap connections, so we detect ldap version 3 now automatic (no more config option necessary) 2006-06-07 22:59:42 +00:00
Ralf Becker
1934c4ce6d fixed some problems:
- in setup we have no sessions --> query the infos on each request
- if the server allows no version 2 binds, the class failed. Now we try again with version 3 set (and succeed)
2006-06-07 22:58:11 +00:00
Ralf Becker
9eca4904e0 allow to specify the hash type to prefix the hash, to easy migrate passwords from ldap 2006-06-07 22:08:13 +00:00
Cornelius Weiß
fdebc495f5 add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:16:43 +00:00
Ralf Becker
c6b0c63725 - correctly set and empty some additional attributes like first name and email
- validation group-members before setting them (false return from id2name, gives ldap-error otherwise)
2006-06-07 17:58:20 +00:00
Ralf Becker
5a84e151b2 need to invalidate the cache, before new users can be assigned any memberships 2006-06-07 17:55:57 +00:00
Ralf Becker
d8e53a5aab fix to NOT use tls for IMAP 2006-06-07 06:49:08 +00:00
Ralf Becker
3234d5723e - fixed a view error in working together with setup
- quitent (hopefully) all debug messages
2006-06-07 05:16:56 +00:00
Ralf Becker
98d8b30761 rewrite of the accounts classes:
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:36 +00:00
Lars Kneschke
3821544b6d removed port if 80 or 443 2006-06-06 07:05:26 +00:00
Ralf Becker
73b00c865e Fixed bug introduced with the fix for the "no images" bug, thanks to John Thomas for letting me know 2006-06-06 05:33:10 +00:00
Ralf Becker
b4f3452ffc Fixed problem that on newer SuSE (and maybe other distros too) none of our required objectclasses for groups are an structural object, which caused the adding of new groups to fail. Now I add the 'namedObject' objectclass, if the first adding fails. 2006-06-03 19:44:44 +00:00
Ralf Becker
ef69e29a99 Fix from István Pongrácz for acl-problems in filemanager under php4.3.2 2006-06-03 01:43:40 +00:00
Lars Kneschke
fcbe2e5dd5 SyncML fixes 2006-06-01 13:38:37 +00:00
Ralf Becker
208a375928 fixed not shown images, if eGW is installed in the document root, with webserver_url empty 2006-06-01 03:48:06 +00:00
Ralf Becker
ecae41f156 fixed smal prob with non existing header 2006-05-31 01:58:03 +00:00
Ralf Becker
6ccca34f85 - updated header to be processed by phpDocumentor
- fixed bug in delete pointed out by Steven Hammer
2006-05-28 02:39:39 +00:00
Ralf Becker
070e3c2861 added WebDAV access to filemanager, use the following URL:
- konq: webdav://localhost/egroupware/filemanager/webdav.php/home
- win: http://localhost/egroupware/filemanager/webdav.php/home
You can now you drag and drop to updload files or complete folders and you can edit files directly in the filemanger
2006-05-26 01:47:05 +00:00
Pim Snel
20d7921564 tplsavant enhancements needed for jinn and japie functionality 2006-05-22 17:53:56 +00:00
Lars Kneschke
87dcfb1c10 bugifx from jan 2006-05-18 14:21:29 +00:00
Miles Lott
fb4182ea66 Correct spelling 2006-05-17 06:00:12 +00:00
Ralf Becker
32dc4fdb8b bugfix: url's containg var[]=val got corrupted 2006-05-17 05:53:12 +00:00
Ralf Becker
d03b888c94 fixed old search (read) for no filter given 2006-05-17 04:15:58 +00:00
Lars Kneschke
73441f3ac3 SyncML fixes 2006-05-17 03:33:50 +00:00
Cornelius Weiß
8c0945b4d0 fix: count returns 1 if variable dosn't exists! 2006-05-16 09:22:29 +00:00
Ralf Becker
dca9b4194d bugfix for db::expression: As the function has a variable number of arguments, you CAN NOT add further parameters !!! 2006-04-30 18:23:17 +00:00
Ralf Becker
9adfc41c1e allow to create links pointing outside egw 2006-04-30 18:04:14 +00:00
Ralf Becker
c71c53851f fixed critical bug:
a too long account-lid caused the complete lost of run-rigths from all user and groups
2006-04-30 12:18:47 +00:00
Lars Kneschke
955f766a19 some minor fixes to make funambol happy 2006-04-28 05:44:43 +00:00
Ralf Becker
253c46bb9a added old field-list (stock_contact_fields) 2006-04-26 21:24:50 +00:00
Ralf Becker
897b4e1e67 moved the logic what fields to search from the uicontacts in the socontacts 2006-04-26 14:01:10 +00:00
Lars Kneschke
4c0a9c5f1b new classes to detect ldap capabilities 2006-04-26 06:01:21 +00:00
Ralf Becker
c54ebc6323 accounts_sql::save_repository(): overwrite person_id only if set in data 2006-04-25 12:44:40 +00:00
Ralf Becker
53b47fed8d new API contacts class using the contacts service of addressbook:
- it extends the bocontacts class of addressbook and
- adds some depricated methods to add basic support for the old contacts methods: read, read_single_entry, add and update
2006-04-24 20:55:16 +00:00
Ralf Becker
9c9b127de6 bugfix suggested by <martinjcole-AT-gmail.com> 2006-04-24 20:20:48 +00:00
Lars Kneschke
2bbcde1238 add default contenttype for sifcalendar 2006-04-24 09:23:02 +00:00
Lars Kneschke
df7d119bb3 enable funambol calendar sync 2006-04-24 08:25:53 +00:00
Ralf Becker
912f82fd85 - new capability for outer joins
- new/changed param to allow to use db::get_table_definitions() without setting/chaning the definitions loaded by the db-class
2006-04-23 14:50:48 +00:00
Ralf Becker
1ed3143918 moved link registry and functions for addressbook into the bocontacts class of addressbook 2006-04-23 14:49:08 +00:00
Ralf Becker
e52c09e0a6 allow to search for fullname 2006-04-23 14:48:19 +00:00
Ralf Becker
6922784f83 new $enum_group_acl parameter for acl::get_grants: should group acls be returned for all members of that group, default yes 2006-04-23 14:46:38 +00:00
Ralf Becker
a6b53002df for https:// url the port was detected as 80 2006-04-20 06:03:02 +00:00
Ralf Becker
515a22be1a function to create email addresses after a configurable policy 2006-04-16 12:25:11 +00:00
Ralf Becker
dc68edab46 fixed csv import:
- no more caching in the cat_id function, as it's done in the categories class in the API no
- categories::name2id no longer caches not found entries, as they might be added in this request
- contacts_sql::add set's all unset telefon numbers to '', to avoid the stupid db-default '+1 (000) 000-0000', which I dont want to change in the stable release
2006-04-14 09:50:39 +00:00
Ralf Becker
e12b1e9801 fix for bug [ 1467180 ] WEBDAV broken in filemanager 2006-04-09 12:08:53 +00:00
Ralf Becker
a85c611961 fix: suppress index or unique index, which is already a primary key 2006-04-09 10:56:29 +00:00
Ralf Becker
b826e5c2a3 extra code for changing defaults under mssql 2006-04-09 10:53:31 +00:00
Lars Kneschke
1d791acb2f important patch from Jan 2006-04-07 08:54:48 +00:00
Lars Kneschke
224fa8f7af check for 0 and NULL for empty values 2006-04-07 08:22:46 +00:00
Lars Kneschke
ea7b5a8afa various small bugfixes 2006-04-07 08:11:17 +00:00
Ralf Becker
c8996cb302 autocreate_session_callback can now return (beside false or true&account-data) also a session-id (by calling session::create($account) itself). That allows to handle wrong account-data yourself and NOT get redirected to login.php 2006-04-06 18:32:22 +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
00060f9551 - added functions to abstract from_unixtime and date_format for DB-types other then mysql
- db::select adds ORDER BY to append param, only if its not already in the append param
2006-04-05 15:14:59 +00:00
Ralf Becker
a9988cc72a fixed wrong referer if url contains webserver_url more then once, eg. "http://egroupware.org/egroupware/index.php" and "/egroupware" 2006-04-05 14:55:57 +00:00
Cornelius Weiß
d515ec7100 allow to configure more custom options for tinymce 2006-04-05 14:01:09 +00:00
Ralf Becker
c230fb81c4 new capability union 2006-03-29 06:58:56 +00:00
Lars Kneschke
9c069b1550 added sifcalendar 2006-03-27 23:28:53 +00:00
Lars Kneschke
23df97648d various bugfixes 2006-03-27 23:24:17 +00:00
Ralf Becker
9c2c27b800 disabled SQL queries using the old phpgw_vfs table for WebDAV 2006-03-27 13:43:39 +00:00
Ralf Becker
37cb5095d5 improved printing: progressbar is now printed as percent value 2006-03-26 22:19:24 +00:00
Ralf Becker
40e5634739 fixed reference with clone, thanks to jpingle <jim-AT-hpcisp.com> from the user-list 2006-03-24 17:26:27 +00:00
Ralf Becker
65b9f91744 cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5 2006-03-22 06:58:49 +00:00
Lars Kneschke
2362499507 adding a new file 2006-03-21 13:50:34 +00:00
Lars Kneschke
2dedbf0f7c support for slowsync with search
added real working state machine
SyncML conformance improvment
2006-03-21 13:49:13 +00:00
Lars Kneschke
2bc928a6cb fixed search for empty values
empty values can be '' or NULL
2006-03-21 06:49:10 +00:00
Ralf Becker
a615cada89 added ability to specify some extra styles for the multiselectbox with checkboxes 2006-03-20 21:51:55 +00:00
Lars Kneschke
f2537f6305 fix for mysql > 4.1
the first timestamp row gets always updated on update if not set
2006-03-19 22:13:57 +00:00
Ralf Becker
383c45dad3 added tree method using dhtmlXTree version 1.2 2006-03-19 17:55:36 +00:00
Cornelius Weiß
896da3651e fix for bug #1446050 ( no font selection in htmlarea ) 2006-03-19 07:34:41 +00:00
Ralf Becker
d6d5b29ef5 removed diagnostics from bugfix 2006-03-15 16:53:13 +00:00
Ralf Becker
bd471bda9d fix for bug
- [ 1450332 ] Addressbook LDAP - categories not searchable
- [ 1038503 ] show private contact
2006-03-15 14:02:40 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Cornelius Weiß
b97f701d05 added an optinal check for a save^tm password (criterias as in MS-Windows) 2006-03-13 21:56:28 +00:00
Lars Kneschke
ea0f776b92 Patch from Jan
It is the simple patch to prevents the segfaulting of horde on ical with
spaces in the begin:vevent etc lines. (just \W\w replaced by \S if I
remember well at one place..)

The second patch is for getting rid of some php5 warnings when it
encounters the array_merge() in setParameter(). (only a simple cast to
an array).
2006-03-11 08:09:12 +00:00
Ralf Becker
db1a32aa33 fix for bug [ 1446044 ] eGw asking for delete sub-categories when it not exists 2006-03-10 09:53:10 +00:00
Lars Kneschke
cfc4ad5006 $accountID is a string not a int 2006-03-10 08:09:42 +00:00
Ralf Becker
e419a6aa6d allow ',' in order 2006-03-09 22:33:06 +00:00
Ralf Becker
ceb34ebfee set multiselectbox size=4, as some browsers dont show scrollbars if its under 4 2006-03-09 18:21:22 +00:00
Cornelius Weiß
86036a1ddc fixed non working privacy 2006-03-08 22:36:35 +00:00
Ralf Becker
ed687031a2 disabled it for security reasons 2006-03-08 22:13:00 +00:00
Ralf Becker
7a80cb08a6 changed system.time for Espen/eGWOsync to return struct with keys:
- system: system-time as datetime.iso8601
- system_tz_offset: tz_offset to UTC in seconds as integer
and, if loged in, analog user and user_tz_offset
2006-03-08 19:34:02 +00:00
Ralf Becker
a5a87c4fe8 fix for bug [ 1370943 ] Nextmatches->search doesn't set the value 2006-03-08 18:10:36 +00:00
Ralf Becker
dc48662fc8 fix for bug:
- [ 1442406 ] patch: Account hooks don't see installed applications
- [ 1232664 ] new ldap users not activating hook
2006-03-08 17:21:52 +00:00
Ralf Becker
1186a8e406 if n < 0, use n chars from the end of the string, eg. for zh-tw 2006-03-08 11:39:44 +00:00
Ralf Becker
23c4f7976f if n < 0, use n chars from the end of the string, eg. for zh-tw 2006-03-08 11:36:58 +00:00
Ralf Becker
15c845e0de fixed timezone handling in addressbook:
- db stores now server-time as everywhere in eGW
- contacts-class in the api and bocontacts in addressbook take and deliver user-time
- xmlrpc gives user-time as the other apps too
2006-03-07 22:43:08 +00:00
Ralf Becker
52863057ec fixed not working xmlrpc system.time method 2006-03-04 10:27:36 +00:00
Ralf Becker
119fb13409 fix for not set $_SERVER['DOCUMENT_ROOT'] if run by the async-service, eg. calendar alarms 2006-03-03 13:44:43 +00:00
Ralf Becker
3a8c25df86 added function to abstract SQL union statement, needed to speed up the calendar search for MySQL 5 2006-03-03 12:01:10 +00:00
Ralf Becker
23ea4159ef documentation update and extra param to show_date, to disable time-zone-conversation 2006-03-03 09:32:47 +00:00
Ralf Becker
8fc1ad4184 fix for empty or zero id in call to bolink::tile 2006-03-02 19:21:55 +00:00
Miles Lott
920d865760 Minor fix for system.time documentation and signature 2006-02-24 03:08:40 +00:00
Miles Lott
5f9d52623c Fix minor bug in lang() for common, and update setup's version to match common 2006-02-24 03:06:40 +00:00
Miles Lott
95152c501e Patch 1424025 to adjust default for system.time format 2006-02-07 13:34:02 +00:00
Miles Lott
9e47c6843e Patch 1424030 from Esben 2006-02-04 14:33:40 +00:00
Lars Kneschke
1b03623316 two patches from Benjamin Donnachie to fix
- async service
- make calendar notifications working again
2006-01-22 19:24:00 +00:00
Lars Kneschke
785391f71d patches from JVL and some debug output removed 2006-01-22 17:59:06 +00:00
Lars Kneschke
40586d80db patch from jvl xs4all nl 2006-01-16 11:14:33 +00:00
Lars Kneschke
735dcde161 different SyncML fixes 2006-01-16 09:49:51 +00:00
Lars Kneschke
08d3e484dc final syncml fixes 2006-01-14 08:29:23 +00:00
Lars Kneschke
fce1d83932 updated WBXML code to work without external binary
many thanks to the horde project for writing very good code!!
2006-01-11 05:42:07 +00:00
Ralf Becker
145a1d0f6b bugfix, sql-error - one bracket too much 2006-01-11 05:20:50 +00:00
Ralf Becker
aa085fd849 bugfix 2006-01-11 05:20:01 +00:00
Ralf Becker
7dd8eda157 some bugfixes: unlink was not working on tempr. links (no id yet) hold in an array 2006-01-11 05:18:48 +00:00
Carsten Wolff
99cb0bd567 fixed a handfull of bugs that broke setup/update from 1.0 to 1.2 2006-01-06 16:21:51 +00:00
Ralf Becker
5043404475 fixed typo 2006-01-06 04:55:51 +00:00
Ralf Becker
d0b013767b fixing the fix: sql strings (integer
index) were not used in the where clause on update/insert, causing eg. double entries for file-attachments
2006-01-06 04:52:10 +00:00
Carsten Wolff
a0f4331554 small cleanup 2006-01-06 02:47:45 +00:00
Cornelius Weiß
b55f6deb14 fix: deleting of accounts resulted in deleting of group 2006-01-04 21:01:33 +00:00
Lars Kneschke
6f05e93e26 read debugdir from egw config 2005-12-25 16:41:35 +00:00
Miles Lott
afaa6f2815 Creates LM and NT hashes natively in php 2005-12-25 10:56:54 +00:00
Lars Kneschke
916f9994b6 fix charset translation 2005-12-23 12:32:57 +00:00
Lars Kneschke
8d704fe5c0 PHP5 fixes 2005-12-20 17:45:47 +00:00
Lars Kneschke
ca2e74f153 added objectclass for rfc2307bis.schema 2005-12-16 07:12:36 +00:00
Ralf Becker
68828494ab fix for negative group-ids, which are not allowed by all dbms in auto-columns:
- egw_accounts.account_id is now again positiv for groups too
- mapping to negative group-id is done in the accounts-class now
2005-12-14 23:35:09 +00:00
Ralf Becker
b5197ce79d fixed bug in creation of new groups under ldap, they get always the same id 2005-12-14 23:33:07 +00:00
Ralf Becker
36138f346e setting group-context from (user-)context, if not set 2005-12-14 23:31:51 +00:00
Ralf Becker
5ddc4a4f85 constructor of datetime need to be called after preferences are read (again), otherwise the tz-offset is not set - easy to verify from the other end of the world ;-) 2005-12-14 06:41:27 +00:00
Ralf Becker
57998e5827 fixed to small div in multiselectbox, this should be handeled by css (overflow) 2005-12-14 06:36:27 +00:00
Ralf Becker
5f625f4289 fixed bug: privat cats were not returned / shown 2005-12-02 20:29:49 +00:00
Lars Kneschke
3abea0dbe6 fixed changing passwords using ldap 2005-12-02 12:49:50 +00:00
Ralf Becker
f2d06cbe56 fixed assignment which should be a comparison, dont think it did any harm, but anyway it's wrong 2005-12-02 10:43:39 +00:00
Ralf Becker
14b93846c0 reverted fix from 2005/11/23 as it caused trouble in other areas (eg. vfs class) and fixed the problem (cant insert sql-strings/numerical id's) in the insert-function 2005-12-02 10:41:50 +00:00
Ralf Becker
341eb15afb fixed not working system-charset conversation (now removed) with backup and re-install of backup with a different charset. A setable client encoding is used if availible. 2005-12-01 23:18:07 +00:00
Ralf Becker
332b6fabd5 fix for mssql problem reported, without SET identity_update <table> ON, mssql refuses to change the identity column (create negative group id). I cant test it, as I have no MsSQL at the moment. 2005-12-01 21:01:06 +00:00
Ralf Becker
24472f972d fixed not working sessionid in url 2005-11-29 13:05:20 +00:00
Ralf Becker
68d0668328 fix for bool columns:
- work around some "magic" in ADODB's datadict
- MySQL4.1 allows the standard true/false for inserts only and not as default value
2005-11-29 07:52:18 +00:00
Ralf Becker
46adb5d50b destroy the session-cache on login/logout 2005-11-28 12:47:35 +00:00
Ralf Becker
bf9ee3a86d fixed empty property warining in error_log 2005-11-28 08:24:36 +00:00
Ralf Becker
16e9475d0b fixed double navbar on access denied (eg. calling a app by url without run-rights for that app) 2005-11-27 23:11:25 +00:00
Ralf Becker
0cfdea3f97 fixed error in user-creation under ldap: account_id of group was send negative to the ldap-server 2005-11-27 22:33:08 +00:00
Ralf Becker
7b2b823835 - setup uses now the system_charset, that fixes various errors reported:
+ setup_demo gives errors under postgres
 + setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Miles Lott
3617eeda1f update for new calendar function 2005-11-26 15:37:14 +00:00
Miles Lott
bcacc1ef46 phpgw->egw 2005-11-26 14:25:39 +00:00
Ralf Becker
b68c7922c0 fixed prob reported on the lists: new created account are not working 2005-11-25 19:58:05 +00:00
Miles Lott
bcb682ed9d phpgw->egw 2005-11-25 00:20:34 +00:00
Miles Lott
98bb88f545 phpgw->egw 2005-11-25 00:13:29 +00:00
Ralf Becker
43ae18fb7a finding the db-object from setup too 2005-11-24 20:48:31 +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
9606f6ea25 eGW uses now negative id's for groups, this allows to better support ldap (you can have users and groups with identical id's) 2005-11-24 19:48:21 +00:00
Ralf Becker
e9bbdad358 fixed bug: only 2 levels of categories get returned 2005-11-23 23:01:28 +00:00
Ralf Becker
4169bd99e1 fixed bug in column_data_implode: numerical keys where used if $only===true 2005-11-23 08:56:43 +00:00
Cornelius Weiß
f043f76be2 fix typo 2005-11-22 22:32:21 +00:00
Cornelius Weiß
81f918c8b6 fix: font tag was not allowed 2005-11-22 22:26:35 +00:00
Ralf Becker
597e4b8589 fixed for mysql < 4.1 for the quoting of boolean columns (0/1, instead of standard true/false) 2005-11-21 16:39:43 +00:00
Ralf Becker
cde95cd926 fixed bug in common::get_referer, which gives a warning and wrong result if eGW is installed in the docroot 2005-11-21 08:21:11 +00:00
Ralf Becker
e9cfc86e19 fixed bug: missing param 5 in egw_db::insert, which stoped login, if display errors is on 2005-11-21 07:23:37 +00:00
Ralf Becker
9320913b9e - new capability 'name_case'
- docu update
- removed some depricated stuff from the last release
2005-11-20 15:40:28 +00:00
Ralf Becker
2dbaf992fa fix for bug [ 1357995 ] LDAP account import errors 2005-11-20 08:03:06 +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
c267a875de fixed quoting of bool column to return true or false, as required by newer postgres and accepted by mysql too 2005-11-19 20:14:45 +00:00
Ralf Becker
1c8ecb3992 enhanced _insertID function to deal with tables without oid's (default from 8.1+) 2005-11-19 20:13:06 +00:00
Ralf Becker
fa96e4a576 new functions to read and write a single phrase 2005-11-19 20:08:45 +00:00
Ralf Becker
c3a9b1c5e8 fix for different format of multiple cats ('1,2' instead of old ',1,2,') in new addressbook 2005-11-18 15:22:10 +00:00
Ralf Becker
96a2aad962 Adjusting the multi-selectbox width a bit 2005-11-14 21:35:55 +00:00
Cornelius Weiß
256deada9f fix, sorry 2005-11-14 21:27:11 +00:00
Cornelius Weiß
dd068c15c7 add a few more plugins to tinymce 2005-11-14 21:18:01 +00:00
Ralf Becker
85406b1a86 if called by setup, use setup's db-instance 2005-11-14 10:21:02 +00:00
Ralf Becker
ef43034467 added some stuff for handling db-charsets:
- db-version gets now queried after the connection is made and before we select the DB, to be availible if the db not yet exists
- create_database can set now the default charset for mysql4.1+, that might make sense for Postgres too
- mysqlt is now translated to mysql in db::Type, as it's queried in many places, which do not recognise mysqlt. You can find the untranslated value now in db::setupType
2005-11-14 08:36:39 +00:00
Ralf Becker
29ebabe0f5 quitent an other diagnostics 2005-11-14 08:32:59 +00:00
Ralf Becker
35a77b3c36 - quietent a warning if the connecting database does not exist
- cant use mysqli_real_escape_string without DB-connection, falling back to default quoting
2005-11-14 06:17:43 +00:00
Ralf Becker
e665bbad9d quitend a debug message 2005-11-13 18:22:06 +00:00
Ralf Becker
8e25d2e29c phpgw_addressbook(_extra) --> egw_addressbook(_extra) 2005-11-13 12:05:35 +00:00
Ralf Becker
f65d804916 phpgw_interserv --> egw_interserv 2005-11-13 11:55:07 +00:00
Ralf Becker
dab141fdb7 phpgw_history_log --> egw_history_log and reworked class with new db-functions 2005-11-13 10:52:34 +00:00
Ralf Becker
1b17b82ca8 phpgw_nextid --> egw_nextid 2005-11-13 10:13:16 +00:00
Ralf Becker
1f37f024ca phpgw_access_log --> egw_access_log 2005-11-13 09:47:05 +00:00
Ralf Becker
f6e4328f85 phpgw_(app_)sessions --> egw_(app_)sessions 2005-11-13 09:16:31 +00:00
Ralf Becker
8add4f6398 infolog link registry ins now in infolog class 2005-11-13 09:14:02 +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
8a06c230c4 modernized and documented the hooks-class, phpgw_hooks --> egw_hooks 2005-11-13 06:58:38 +00:00
Ralf Becker
dafaf45680 fixed typo which caused the admin passwd to be changed, instead the one of the edited user 2005-11-13 06:09:10 +00:00
Ralf Becker
f7ebba2e44 some more db-capabilities:
- like_on_text (boolean)
- order_on_text (boolean or string for sprintf)
2005-11-11 23:08:49 +00:00
Ralf Becker
0be34d315b code cleanup and link function allows now query in the url too 2005-11-11 23:07:29 +00:00
Ralf Becker
3bae8c3a00 fix for referer under etemplate 2005-11-11 23:06:34 +00:00
Ralf Becker
090dc5c1da shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat 2005-11-11 23:05:35 +00:00
Cornelius Weiß
e11fe7cd81 tinymce
- addoption: FontChooser
- align buttons left
2005-11-11 20:52:58 +00:00
Cornelius Weiß
599a4cdfdf adjust link to new view dialog 2005-11-11 20:52:09 +00:00
Cornelius Weiß
a52d78d66b fixed typo 2005-11-10 21:36:51 +00:00
Ralf Becker
35833c2583 fixed not working reference assignment 2005-11-09 13:54:36 +00:00
Ralf Becker
515b8c0630 hopefully now all possebilities to construct an eGW URL are covered 2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5 new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function 2005-11-09 12:45:48 +00:00
Ralf Becker
c5a6a2bcc0 phpgw --> egw plus some documentation 2005-11-09 12:44:32 +00:00
Ralf Becker
bd325a811f fix for bug reported by Oscar on the list: category query of categories::return_array ended with AND 2005-11-09 06:53:51 +00:00
Ralf Becker
cd102084d5 reverted last commit, as &amp; in urls do not work in javascript, they only work as value in tags and we dont know for what the returnvalue of link() is used 2005-11-08 20:03:46 +00:00
Ralf Becker
c84bb21068 xhtml conforming url's 2005-11-08 17:53:04 +00:00
Ralf Becker
263caae5e8 missing param 2005-11-08 10:10:36 +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
a0beab57d4 fixed bug reported by Lutz on the german list (missing AND before filter in return_array) 2005-11-08 05:07:37 +00:00
Ralf Becker
40b35348e0 Get- and SetCharSet for mysql and mysqli 2005-11-07 13:37:21 +00:00
Ralf Becker
ae9ae56e30 fix for the segfaults happening since the last commits in several apps: function was calling itself ;-) 2005-11-07 09:30:33 +00:00
Ralf Becker
c4db9872c2 it was definitly to late last night ;-) 2005-11-06 09:09:05 +00:00
Ralf Becker
9de4dcd476 typo 2005-11-06 07:38:27 +00:00
Ralf Becker
7635fb25c9 phpgw_categories --> egw_categories plus reworked categories class 2005-11-05 22:58:51 +00:00
Ralf Becker
2ec277c0d9 typo 2005-11-05 19:00:31 +00:00
Ralf Becker
34b1f64ae3 typo 2005-11-05 18:18:55 +00:00
Ralf Becker
0f7354b09b check for the old table too, to not scare updating users ;-) 2005-11-05 13:15:33 +00:00
Ralf Becker
912aac5e6c 1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 08:51:06 +00:00
Ralf Becker
2477ebc7bb functions to get and set the charset 2005-11-04 18:38:29 +00:00
Ralf Becker
970a92297e an other big update ;-)
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
 - charset gets now set for the connect
 - charset gets used for new tables
 - some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
 - update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
65c41b525e fixed bug report by Dros on the german list: using account in ldap, nextmatch (eg. in setting group ACL's) is not working 2005-11-04 06:57:22 +00:00
Ralf Becker
a41761660e fixed bug: addressbook popup for email apps: adding all search results was not working with ldap (contacts_ldap class did not support the "!''" filter used) 2005-11-03 14:30:40 +00:00
Ralf Becker
335cef9104 display_fullname and get_account_name replace now an empty firstname with the lid and an empty lastname with group or user 2005-11-02 20:43:04 +00:00
Ralf Becker
3960fcc0ae implemented the same default, as for the sql class: everything which is not 'accounts' or 'groups' gives a list of both 2005-11-02 20:40:44 +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
Cornelius Weiß
e4ed1ac5b0 add execmethod2 which could handle multiple arguments
There was no way of patching the existing ExecMethod, as Felamimail,
emailadmin and ldapadmin depend on the class consturction of this
method
2005-11-01 14:19:00 +00:00
Ralf Becker
295d7844e5 added no_notify parameter to link function, to suppress the notify 2005-10-27 09:28:24 +00:00
Régis Leroy
7b9f0f7b79 add mysqlt type for mysql in transactionnal mode with innodb tables 2005-10-25 15:27:42 +00:00
Régis Leroy
0f476f3e98 Bugfix: RowLock was not working with MySQL. ignore is a reserved word and could be empty. See as well fix on mysql driver for getOne with LIMIT and FOR UPDATE 2005-10-25 14:45:19 +00:00
Régis Leroy
9b4814ba81 bugfix: Select with LIMIT fail if FOR UPDATE is not after the LIMIT but before 2005-10-25 14:38:10 +00:00
Ralf Becker
a4b67d9f2b UUPS javascript ;-) 2005-10-24 12:17:31 +00:00
Ralf Becker
38577905fb 1) fixed obscur IE 5.5/6 bug that caused the search button (user image) not to be displayed if its a link with an image => input type="image"
2) phpgw --> egw
2005-10-24 10:30:29 +00:00
Régis Leroy
c2c29c186b removing galaxia library. See reworked workflow library in workflow/inc/engine 2005-10-17 15:54:19 +00:00
Régis Leroy
c53b0302ba removing galaxia library. See in reworked workflow library in workflow/inc/engine 2005-10-17 15:52:39 +00:00
Cornelius Weiß
f578c4f826 make tinymce call easier and provide some custom view 2005-10-13 20:43:06 +00:00
Cornelius Weiß
43c1115dbf switch to tinymce by default 2005-10-13 15:16:38 +00:00
Ralf Becker
ea1e8d89a2 fixed sql error on deleting users, thanks to Regis Leroy 2005-10-13 14:26:29 +00:00
Ralf Becker
1784637cff Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 14:14:01 +00:00
Ralf Becker
e2e0fd6446 Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:11:48 +00:00
zhangweiwu
0ec0bc7654 add a bit of phpdoc explanation. 2005-10-11 02:00:23 +00:00
Ralf Becker
8fd573db65 setting language, date- and timeformat for tinymce from the user prefs 2005-10-11 00:27:24 +00:00
Ralf Becker
2a05447886 fixed domain-selection via url 2005-10-09 12:02:24 +00:00
Ralf Becker
9f0f20a4cf an other try to get the right size for the multiple selectbox with checkboxes 2005-10-05 12:40:59 +00:00
Cornelius Weiß
5c8e62b4ce files with owner_id == 0 need to be readable for all useres! 2005-10-04 22:59:14 +00:00
Ralf Becker
8a8077bf4e typo 2005-10-01 21:06:43 +00:00
Ralf Becker
b31e40e067 moved InfoLog's link class and it's table into the api 2005-10-01 20:18:41 +00:00
Ralf Becker
f7ec5b42f5 fix to use our db class with the new php5 mysqli extension 2005-10-01 09:09:45 +00:00
Ralf Becker
7f835c1020 mysqli has a separete param for the port 2005-10-01 08:53:38 +00:00
Ralf Becker
d088c71ae0 mysqli should use the mysql datadictionary 2005-10-01 08:47:27 +00:00
Carsten Wolff
7ae0075fb3 fix an usort sideeffect 2005-09-30 16:03:27 +00:00
Ralf Becker
42e14d2cfd multiselectbox with checkboxes: calculated widths was far to much 2005-09-30 14:21:50 +00:00
Miles Lott
eefec39e13 Formatting 2005-09-29 11:31:02 +00:00
Carsten Wolff
c5f0daa001 remove PHP3 legacy code and fix performance bug in sorting ldap_search results. 2005-09-28 13:10:22 +00:00
Ralf Becker
93e3241b70 re-added to postgres fixes not (yet) contributed to JohnLim:
- updates to work around postgres error while upgrading a phpGW 0.9.14 install
- postgres fix (error in converting varchar to int if >= 100)
2005-09-26 10:28:28 +00:00
Ralf Becker
4e5cb1786e imported adodb 4.65 2005-09-26 10:12:10 +00:00
Ralf Becker
bd527ef0b8 the xmlrpc log should be off be default, as it contains everything in cleartext (eg. passwords) and it is in most distros world readable 2005-09-20 10:14:10 +00:00
Ralf Becker
e72ec322e1 added configuration switch for xmlrpc and soap services (default off) 2005-09-10 10:39:36 +00:00
Ralf Becker
a4b3f4fecb added patch from raphaelpereira-AT-gmail.com to allow creation of the DB under Postgres again 2005-09-06 10:20:56 +00:00
Carsten Wolff
3be92d3fa2 fix change_owner() 2005-08-30 20:56:33 +00:00
Lars Kneschke
e2f6eb9b06 always include some common javascript functions 2005-08-28 20:31:36 +00:00
Miles Lott
35d6232281 Switch to new arrays and db cloning 2005-08-27 12:24:56 +00:00
Miles Lott
137e472433 Use correct quoting when querying/setting account_id; minor formatting 2005-08-27 12:19:35 +00:00
Miles Lott
b4a21c4e9e Switch to egw_info, etc, and remove reset/while 2005-08-23 17:53:41 +00:00
Miles Lott
9438655ca5 Format and switch to egw_info, et al. 2005-08-23 17:49:49 +00:00
Miles Lott
7d18902b97 HEAD only: Add client from 2.0 lib - adds compression, proxy auth, etc. 2005-08-16 13:23:03 +00:00
Miles Lott
46e44572df Remove eval from ldap version, too 2005-08-14 22:11:15 +00:00
Miles Lott
4248167886 Update lib to version 2.0; remove eval calls 2005-08-14 20:36:46 +00:00
Miles Lott
08b61a050e Fix for multiple domains via xml-rpc to ensure the correct domain 2005-08-14 17:01:30 +00:00
Carsten Wolff
d61920a22b fix the handling of charsets in the contacts_ldap class and provide admins with a script, that helps to fix old, corrupted eGW-LDAP-addressbooks. For a description of why and when this is necessary, please read the header of the fix-ldap-charset-for-egw1.1.pl script. This should appear in the release-notes for eGW 1.1. 2005-08-13 21:01:14 +00:00
Miles Lott
4af309944f initial line spacing 2005-08-13 13:16:01 +00:00
Lars Kneschke
7dc342e317 removed organizer as required field 2005-07-29 07:31:30 +00:00
Ralf Becker
8d4c01bf4b fixed missing escaping of double quotes in the title of wz_tooltips 2005-07-28 09:45:58 +00:00
Ralf Becker
0c38cbea43 fixed wrong charset in xajax responses 2005-07-27 10:04:52 +00:00
Lars Kneschke
bf49d639c6 remove session after successfull sync 2005-07-26 07:27:39 +00:00
Lars Kneschke
ee05cd3a34 fixed handling of ALERT 222 2005-07-26 07:22:58 +00:00
Miles Lott
ca8cf03ff2 Update for egw arrays 2005-07-23 11:39:20 +00:00
Ralf Becker
5cbbbb7d29 1) phpgw --> egw
2) fixed problem I came across while debuging: $p->fake_full_name --> $p->fake_full_path
3) some improvement dont set empty mime_type
2005-07-22 17:59:09 +00:00
Ralf Becker
7b1229e29a fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog 2005-07-22 17:53:02 +00:00
Ralf Becker
c395f26dc6 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:20:31 +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
d933e70c72 fixed SQL queries 2005-07-20 12:42:09 +00:00
Ralf Becker
5e97b462c4 setting defines for currentapp=login too 2005-07-20 12:31:58 +00:00
Ralf Becker
83b0801533 commit for Lars: latest SyncML updates 2005-07-20 12:09:32 +00:00
Ralf Becker
ef7bff339e commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:12:21 +00:00
Ralf Becker
b495b33d0a commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Ralf Becker
f20c9f093e the LDAP server also needs to be re-connected 2005-07-17 22:47:54 +00:00
Ralf Becker
f99f2ef4e8 1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Ralf Becker
5736cb296c *** empty log message *** 2005-07-17 19:58:41 +00:00
Ralf Becker
7c46b63263 1) fixed not working session kill
2) ignore (empty) login sessions created by IE and konqueror, when clicking on [login] (double submission of the form)
2005-07-13 08:29:50 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
Miles Lott
47d7968d60 Disable debugging by default, but enable for the interserv test application 2005-07-02 20:19:19 +00:00
Miles Lott
07b6cc1297 Fix for case-sensitive variable name 2005-07-02 20:13:51 +00:00
Pim Snel
cd8871a53d add fetch_string function so templates can live in a database table as well 2005-07-01 13:27:35 +00:00
Carsten Wolff
64120e723c another shot at datetime.iso8601:
- accept both simple and extended format from input

- output simple format, if the client sends a HTTP-header "isoDate: simple".
  This should maybe extended by another possibility, where the information
  is stored in the session on login. Then there is a good way for all
  clients, regardless of the use of any combination of Auth-headers,
  login/cookies and webservers.
2005-06-30 19:01:19 +00:00
Miles Lott
ff4a0d24cc CRITICAL: Implement security fixes from latest release of php-xmlrpc 2005-06-30 13:36:47 +00:00
Pim Snel
15e32ce762 create tinymce init function so this can be optinaly run before the header is sent. 2005-06-30 09:10:15 +00:00
Pim Snel
014aa6ca67 only show template set that contain a setup.inc.php 2005-06-29 21:06:52 +00:00
Pim Snel
210e5621be Add wrapper function for the TinyMCE WYSIWYG editor. This editor much cleaner then htmlarea 2005-06-21 19:46:56 +00:00
Ralf Becker
cea4c314d2 phpgw_setup --> egw_setup 2005-06-20 22:07:40 +00:00
Lars Kneschke
b3ecd8456d generate a smaller guid 2005-06-20 11:14:40 +00:00
Lars Kneschke
062f20ec42 chaning phpgw -> egw 2005-06-20 11:04:20 +00:00
Ralf Becker
84ab716959 $GLOBALS['phpgw --> $GLOBALS['egw 2005-06-20 07:51:01 +00:00
Lars Kneschke
d43bf7d44f first commit of syncml code 2005-06-19 19:00:58 +00:00
Lars Kneschke
f354eacf66 the best of my and ralfs version 2005-06-19 18:07:06 +00:00
Ralf Becker
d4760bb15c renamed our db-class to egw_db to allow easier integration of other code (eg. Lars SyncML stuff which is partially from horde) 2005-06-19 12:43:00 +00:00
viniciuscb
0a28f3812e Some changes:
- Inclusion of the following javascript directories:
  * Connector: javascript object to interface xmlhttprequest object. This object allows
      asynchronous posts and support for messages while this post is being done, such as
      "wait, contacting server", etc.
  * JsAPI: general javascript functions and methods
  * jsolait: performs conversion from a xmlrpc message to a javascript object
  * xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
  * dynapi: cross-browser class to draw layers

- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
  change in phpgw_vfs2_files table in handling of modified files.

- Upgrade of vfs2 classes and PclZip class

- Changes in javascript object and common object to allow the javascript backend to
  applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Ralf Becker
332c9c41df to work around the not terminated sessions (because php is configured by default only to check it on every 100th session-creation), we terminate now all timed out sessions when a list of sessions is requested 2005-06-18 06:38:29 +00:00
Pim Snel
1d68ccb070 replace hardcoded links to home.php with links to home/index.php 2005-06-15 11:16:27 +00:00
Ralf Becker
fd5576e3ee - phpgw --> egw
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Ralf Becker
a3fb79a6a4 fixing the fix ;-) now it's working in php4 + 5 2005-05-30 14:18:23 +00:00
Lars Kneschke
402d3b60e8 little type 2005-05-29 11:23:51 +00:00
Pim Snel
d9ec1f87e2 Initial addition of the savant2 template engine and the egw-wrapper class.tplsavant2.inc.php Enjoy ;) 2005-05-26 19:38:09 +00:00
petere78
c9e47a1f28 Fix broken PAM authentication 2005-05-24 13:00:13 +00:00
Ralf Becker
f2a058fccf modernized asyncservice class and renamed phpgw_async to egw_async 2005-05-23 18:57:58 +00:00
Ralf Becker
8f2420541a fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected 2005-05-20 17:00:12 +00:00
Ralf Becker
5d763bd11e corrected a "funny" php5 behavior 2005-05-20 11:24:54 +00:00
Ralf Becker
f34b93e6ae implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none"). 2005-05-19 13:22:44 +00:00
Régis Leroy
c14db352f2 add a rule 7) in activities verifications. Start activities must be autorouted and interactive. Just to alert user what he is doing can't work actually. 2005-05-17 21:42:30 +00:00
viniciuscb
729b5d3d7a VFS SQL2 classes 2005-05-17 14:48:20 +00:00
Régis Leroy
5e51a5d913 Forbidden access to activities assigned to other users or already gone, the engine was too much relying on client datas. Warning the engine compile pre-activity code is changed, you need to recompile all interactive activities. 2005-05-15 18:25:51 +00:00
Régis Leroy
2990191359 thanks to neomagic: syntax fix, still the same old renamed fields error. Actually not very used function, no immediate effect 2005-05-14 21:12:20 +00:00
Ralf Becker
a9e8ee4e1c some fixes:
- using string 'not set' for a not set lastname, as LDAP allows no accounts without lastname.
- addaccount hook was not called if account was auto-created at login-time (as the apps array is not yet read). Atm. app-names with hooks need to be listed here. I just added felamimail, which need to create mailboxes for new users
2005-05-13 16:02:37 +00:00
Ralf Becker
b883eca49d new auth_ads class:
- only needs host- and domain-name
- needs NO extra account on the ADS host
- can be used with accounts in SQL or LDAP to auto-create autheticated users
- new param to lowercase the user-names before auto-creating them (to deal with case-insensitve and case-sensitive system)
2005-05-13 15:58:10 +00:00
Cornelius Weiß
632a990cfb added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it. 2005-05-11 18:25:17 +00:00
Régis Leroy
fd9d1b1ceb galaxia workflow bugfix: non interactive activities should not set the user to the actual user, the user having the role on this activity (to make a manual send for example) can be a different one as this actual user is the one having a role on the prev interactive activity 2005-05-11 14:23:23 +00:00
Cornelius Weiß
bd9f34dbd3 bugfix in password migration 2005-05-10 21:14:20 +00:00
Cornelius Weiß
79c9507039 - massive code cleanup
- added md5_hmac auth type
- added support for password migration
2005-05-10 19:00:55 +00:00
Ralf Becker
658e1a78c9 form: empty action uses now PHP_SELF?QUERY_STRING 2005-05-03 14:55:24 +00:00
Ralf Becker
b97d8b5eeb big documentation update 2005-04-25 10:09:10 +00:00
Ralf Becker
d6ba225257 fix for not working pam-auth if magic_quotes_gpc is on, as suggested by Robert Theisen <trobert@redhat.com> on the developer list 2005-04-15 14:46:29 +00:00
Ralf Becker
327c0765ea fixed not working charset conversation in setup 2005-04-15 14:01:15 +00:00
Miles Lott
3cfb82e06d Check for array or object on decrypt/unserialize. Return this even if empty. 2005-04-13 13:03:04 +00:00
Ralf Becker
93c063bd6c - applied patch from cornelius Weiss: fixes some probs with xmlrpc too
- small documentation update
2005-04-13 08:53:42 +00:00
Ralf Becker
b1b41188ad - added possebility to specify titles for options
- fixed typo in class-var $wz_tooltip_included
- fixed left-alignment of inner div of progressbar
2005-04-12 16:30:16 +00:00
Ralf Becker
a828ba73f3 added missing charset-translation of the cn (common name), thanks to Martin Dalum <martin-AT-cabo.dk> 2005-04-12 09:54:07 +00:00
Ralf Becker
167d7e7288 new param. to supply a join for the select method: eg. ",table2 WHERE x=y" or "LEFT JOIN table2 ON (x=y)" 2005-04-08 18:34:49 +00:00
Ralf Becker
2c300e8cd7 fixed bug of not removable apps in the user management 2005-03-30 14:42:32 +00:00
Ralf Becker
bc4501f2e7 added not allways set sync_changedby column, which is required as it is NOTNULL and some code modernisation ;-) 2005-03-30 08:16:31 +00:00
Ralf Becker
404ebd1a5a new function to get all locations for a given app and user 2005-03-29 15:30:08 +00:00
Régis Leroy
9d9de69793 bugfix: old vars names still there. The ProcessMonitor workflow ui wasn't able to show number of activities per processes. pId->wf_p_id 2005-03-29 13:26:29 +00:00
Régis Leroy
f8b10f7097 Bugfix: user was not setted when forms were launched, this lett multiple users run the same activity on the same instance at the same time. WARNING:: You should recompile all your activities to fix the bug. 2005-03-27 09:03:07 +00:00
Miles Lott
6bcd0f9cfb cleanup formatting 2005-03-25 09:59:48 +00:00
Ralf Becker
4e2bce12e6 modernized code and fixed problem reported on the list: new installs cant create admin-account due to not longer existing phpgw class in the api 2005-03-24 13:15:12 +00:00
Régis Leroy
4610377a66 fixing ->setOwner which were always setting empty owner 2005-03-17 14:36:06 +00:00
Ralf Becker
1a5243c9c4 _check_script_tags function:
1) fixed problems pointed out by gulftech, iframes get now unset too
2) unset variables from _check_script_tags are now found in $GLOBALS['egw_unset_vars'], eg. a posted input-field called content would be found in $GLOBALS['egw_unset_vars']['_POST[content]'] (please not the array is only 1-dimensional!), if it has been unset by check_script_tags
3) speed up the function a bit, by not checking all possible names of the superglobals arrays, if nothing found in $_GET and $_POST
2005-03-15 15:36:44 +00:00
Ralf Becker
7288defaaf the default value for $accountid has to be '', as get_account_id returns all integer (0 too) unchanged 2005-03-12 17:55:48 +00:00
Ralf Becker
12e4740941 rewrote AND documented the ACL class with new DB functions to fix the problems pointed out by GulfTech
I backported them to 1.0.0 too, but will give it a view days testing on my server and egroupware.org, before I commit them
2005-03-12 16:30:25 +00:00
Ralf Becker
8529237f82 changed ACL code to use standard get_grants method from the acl-class, the existing coded tried it on it's own and failed if directories were owned by a group 2005-03-07 17:08:54 +00:00
Ralf Becker
9c091abd5b upps 2005-03-07 17:06:01 +00:00
Ralf Becker
436a5635d2 1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2) rewrote some methods with new db-functions
3) add possibility to delete an app/location for all accounts
4) fixed get_location_list_for_id() method (it was not returning all locations)
2005-03-07 16:59:32 +00:00
Ralf Becker
275b75be1a option to show selected items at the top of the multiselect-checkbox 2005-03-05 15:03:01 +00:00
Ralf Becker
0a104f1063 1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2) modernized CreateObject
2005-03-04 20:48:05 +00:00
Ralf Becker
69c93b3f2b $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}'] 2005-03-04 15:47:08 +00:00
Ralf Becker
b6883d59e8 1) fixed setup-detection, to allow login into setup again
2) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
3) moved setup-classes from phpgwapi/inc back to setup/inc (they are not used anywhere else, but in setup)
2005-03-04 12:40:28 +00:00
Ralf Becker
887e71e57e 1) fixed lost egw object if register_globals=On: was caused by the identicaly named session-variable used for php4-sessions (now renamed to egw_session)
2) $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:33:44 +00:00
Ralf Becker
6b2eb04274 $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}'] 2005-03-04 11:30:00 +00:00
Ralf Becker
49c4775efd seems not to be used (anymore) 2005-03-03 15:20:13 +00:00
Ralf Becker
08bc681ab9 seems not to be used (anymore) 2005-03-03 15:13:30 +00:00
Ralf Becker
8a0ca7a6be seems not to be used (anymore) 2005-03-03 15:02:28 +00:00
Ralf Becker
8052da02bc given the regular "you need to port your header ..." message 2005-03-03 11:01:19 +00:00
Ralf Becker
e82027d0cb changing from
1) $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'],
2) $GLOBALS['phpgw'] to $GLOBALS['egw'],
3) PHPGW_ to EGW_ constants
The phpgw ones ars now a reference to the new egw ones, to allow a soft migration
2005-03-03 10:47:28 +00:00
Ralf Becker
d7f1458d1a new header-template to:
1) correct the displayed page-generation-time for idots and jerry
2) use ob_start to get rid of "Header could not be sent, output started at ..." errors
3) changing from $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'], the phpgw one is now a reference to the new egw one, to allow a soft migration
2005-03-03 10:45:52 +00:00
Ralf Becker
37fa750990 1) corrected fix of wrong comparison with NULL in column_data_implode
2) allow for null in array in column_data_implode
2005-02-28 11:51:10 +00:00
Lars Kneschke
0b846885ee add class to handle history of content inside egw 2005-02-27 23:29:40 +00:00
Lars Kneschke
ffc98ddd1f add 2 function sto handle global UIDs 2005-02-27 23:27:36 +00:00
Ralf Becker
0af62b80b3 fixed wrong comparison with NULL in column_data_implode 2005-02-27 21:27:36 +00:00
Ralf Becker
d9ba5f9ab8 fixed update problem of wiki, RenameColumn could not deal with column-names in mixed case 2005-02-27 19:51:24 +00:00
Ralf Becker
a53e61f903 'vfs_' column-prefix and "new" table-name for egw_vfs
- needed for the oracle support
Also put vfs and vfs_shared in one file
2005-02-26 14:00:02 +00:00
Ralf Becker
9a6b90e78f 1) enabled DB support additionaly for:
- Oracle via oci8 or odbc extension
- MsSql via odbc extension
2) added checks for the neccesary extension incl. loading them if they are not loaded by default: db extensions and session extension. This is now consitent wiht check_install.
3) sessions class tries now to load the php session extension and silently fallbacks to db-sessions
2005-02-25 07:45:37 +00:00
Ralf Becker
feadf8459e implemented a multiselectbox with checkboxes:
- it looks nearly like a multiple selectbox, eg. scrolls for further lines
- it acts in the same way in forms
- it's NOT identical if using it via javascript
2005-02-24 21:01:13 +00:00
Ralf Becker
b313272616 fallback to db sessions if php's session extension is not loadable, atm. you get cryptic errors, bugs in the bugtracker and mails on the list ;-) 2005-02-21 07:57:41 +00:00
Ralf Becker
c0bed5e88e added escaping of onclick for buttons 2005-02-20 21:47:14 +00:00
Ralf Becker
844ec779c2 optimized handling of app_session data under php4: previously there was always a copy of the data in $GLOBALS['phpgw_sessions'], which is unnecessary and needs double as much memory. Also changed the name from $_SESSION[phpgw_session] to $_SESSION[egw] 2005-02-18 20:28:06 +00:00
Ralf Becker
c04582258f 1) big documentation update
2) image method accepts now:
- image name, search in given app
- URL
- vfs:/ pseudo protocol to access the vfs, eg. vfs:/home/ralf/pic.png
- array with get-vars passed to the link-function for '/index.php'
2005-02-16 13:04:14 +00:00