Commit Graph

3045 Commits

Author SHA1 Message Date
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