Commit Graph

3049 Commits

Author SHA1 Message Date
Ralf Becker
f63aee9618 trunk commits 25026+25079 fixing problems introduced by Connys performance stuff, which he also commited to 1.4 2008-03-19 11:37:19 +00:00
Ralf Becker
42a07bc86c fixed problem pointed out by lukasz.pilorz(at)allegro.pl 2008-03-19 11:10:17 +00:00
Klaus Leithoff
f53a1cf01d 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:46:54 +00:00
Carsten Wolff
8d066e2c0b 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:57:01 +00:00
Cornelius Weiß
1bf5414fc7 performance enhancement: accounts::search
on the test installation with 7200 accounts it reduces time for account-sel popup from 15 to < 1 sec
2008-02-12 15:45:10 +00:00
Cornelius Weiß
638fe65b75 fix the "to many categories" problem with ldap backend 2008-02-12 15:39:52 +00:00
Lars Kneschke
581d5b2625 rewrote the uiaccountsel class to use the global instance of the accounts class and not it's own 2008-02-08 11:35:20 +00:00
Lars Kneschke
8c8e793fee use the new accounts singleton and set only the accountId 2008-02-08 11:32:10 +00:00
Lars Kneschke
2403c5d0f7 use the new singleton pattern for the accountsclass 2008-02-08 11:30:40 +00:00
Lars Kneschke
d31d731513 resolve the group grants only, when the we are not using the ldap accounts backend, because resolving the memberships using ldap is very slow currently 2008-02-08 11:29:37 +00:00
Lars Kneschke
48a17e28c1 added a singleton pattern to the accounts class 2008-02-08 11:27:54 +00:00
Patrick Bihan-Faou
a045eaaff5 Fix the typo introduced in the last commit and already fixed in the trunk 2008-01-02 16:23:21 +00:00
Patrick Bihan-Faou
a86affb697 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:44:09 +00:00
Patrick Bihan-Faou
66886d9b88 Merged trunk r24791:
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:30:55 +00:00
Ralf Becker
357ea49003 "fixed error-message on no connection to a postgres server, to NOT contain the password" 2007-12-07 00:17:35 +00:00
Ralf Becker
dbaed3389f "tiny patch from Andreas Feldner <pelzi-at-flying-snail.de>, allowing for passwords containing a colon" 2007-12-01 01:04:01 +00:00
Patrick Bihan-Faou
73c2841457 Remove the reference to the deprecated formated_list() functions for categories.
Replaced them with the correct name: formatted_list().
2007-11-27 17:23:40 +00:00
Patrick Bihan-Faou
1d50dd1a8a Merge change r24666 from trunk:
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:21:45 +00:00
Cornelius Weiß
0c2ed61d02 fix for reading empty files. This caused problems with mac os x as WebDAV client 2007-11-18 19:57:53 +00:00
Ralf Becker
517bdb9f65 Merged several SyncML fixes from trunk:
- 24518: prevent deleting of accounts via SyncML and to read private flag from the DB if missing
- 24531: Merge SyncML patches from Patrick Bihan-Faou plus some other SyncML fixes from trunk
- 24555: fixed bug introduced by my commit r24522 (included in 24531): egw could not deal with LDAP Ids
- 24571: fixed typo reported by Thomas Hoth on the developer list, causing calendar sync in trunk to fail if the clients wants categories
- 24591: diverse vCard improvments, incl. rudimentary vCard3 support
2007-10-29 19:46:46 +00:00
Ralf Becker
ef95e5527c 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:54 +00:00
Ralf Becker
ac86714bc5 allow mixed installations of trunk and 1.4 apps, by reading both langfiles 2007-10-19 13:09:04 +00:00
Ralf Becker
c90af2f9af reverted r24531 as there are reports on the user-list it causes SyncML
to stop working
2007-10-13 11:00:47 +00:00
Ralf Becker
2757e5bab9 Merge SyncML patches from Patrick Bihan-Faou plus some other SyncML
fixes from trunk
2007-10-12 17:46:48 +00:00
Klaus Leithoff
214eda4e66 fix of small typo in function convert 2007-10-12 11:13:11 +00:00
Ralf Becker
1629343f47 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:45:27 +00:00
Ralf Becker
ebfa3d6128 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:59 +00:00
José Luis Gordo Romero
8a5b43dda5 merged from trunk: OCI8 ADODB - Fix imported from adodb 5.02 (Control
triggers and secuence names > 30 chars, oracle restriction)
2007-09-30 03:12:36 +00:00
Ralf Becker
f1bc6ab712 global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:19:44 +00:00
Carsten Wolff
a8ddeb719d explicitly enable casts between text and bytea for transparent use by schema_proc 2007-09-27 22:07:28 +00:00
Ralf Becker
a5dc5e8b0d 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:49 +00:00
Ralf Becker
c2ec0ba5d7 fixed not found user searched by email, if there's also a contact with that email 2007-08-24 10:54:16 +00:00
Ralf Becker
6adc9e307f fixed problem caused by non existing session-object in setup, reported und the user list 2007-07-27 09:36:33 +00:00
Ralf Becker
07c02d6f91 "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:48:51 +00:00
Ralf Becker
55244dc6d9 fixed not working semaphore in asyncservice (we are not supporting table locks anymore / since 1.2) 2007-07-26 09:23:10 +00:00
Ralf Becker
9909652b9b changed search order and added some caching, to minimize db-accesses in country_code 2007-07-18 06:11:04 +00:00
Ralf Becker
f4dd877cff quitent warning when vfs trys to delete an in the db non-existing file 2007-07-16 09:19:11 +00:00
Ralf Becker
b8afdbe56b fixed date-type problem in restore reported on the german list 2007-07-03 08:22:25 +00:00
Cornelius Weiß
33e8f690c3 fix: SyncML produced dublets, due to the map command when entries come from client 2007-07-02 18:34:48 +00:00
Cornelius Weiß
21a7ecd969 add generic helper function for filter support 2007-06-30 11:25:22 +00:00
Ralf Becker
a542085c7e 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:27:43 +00:00
Ralf Becker
96eaf62eda fix for sequenzes tables are depending on for postgres 8.x, thanks to Peter Eisentraut 2007-06-25 15:58:49 +00:00
Lars Kneschke
b3c26c09c7 merge from trunk 2007-06-25 09:00:22 +00:00
Ralf Becker
1be4bf91d1 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:37:16 +00:00
Ralf Becker
af7edc4008 fixed access to parent dir off session.save_path, which gives errors under open_basedir 2007-06-22 18:25:35 +00:00
Ralf Becker
4ab35f71ef 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:49:00 +00:00
Ralf Becker
ff26c43642 - fixed problem reported by JOYDEEP on the user-list: disabled accounts can still login under the ldap account backend 2007-06-20 07:43:09 +00:00
Ralf Becker
48289a5fdd - fixed handling of passwords with special chars
- made handling of empty passwords more obvious
- fixed primary group to use negative group-id
- patch 889: support other apache mod_auth_*
2007-06-20 06:55:59 +00:00
Ralf Becker
bfb48bc52f 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:56:43 +00:00
Ralf Becker
e7b8845f71 fix for bug reported on the german list 2007-06-13 15:38:21 +00:00