Commit Graph

3815 Commits

Author SHA1 Message Date
Ralf Becker
71960a6d02 Fixed some more php53 Warnings after latest fix_depricated.php
improvment.
2010-03-21 09:37:52 +00:00
Ralf Becker
90a3a946f6 restructured accounts::search() code, to handle $param[app] for ldap too, fixed ldap backend to also index array by account_id 2010-03-20 13:24:01 +00:00
Ralf Becker
2978d9ddd2 ability to migrate DB based sqlfs to a filesystem based one using filemanager/cli.php (see usage) 2010-03-17 09:11:28 +00:00
Ralf Becker
b40f14a95e new setup config denying (default) or allowing user names identical to system users (ldap only) 2010-03-16 16:33:28 +00:00
Jörg Lehrke
7220d96847 Use iterator approach in GroupDAV; fix various issues 2010-03-15 09:55:16 +00:00
Jörg Lehrke
8165ec94e8 Handle multi-line error messages gracefully 2010-03-15 09:53:25 +00:00
Ralf Becker
7f3651e3f2 Do NOT store "System/Localtime" as server_timezone, as it is no valid timezone 2010-03-15 07:51:38 +00:00
Ralf Becker
f7ee51f53b "egw_links: remove links user has no access to from result, if $cache_titles is set" 2010-03-10 12:20:51 +00:00
Jörg Lehrke
2179ebb521 Fix principal-URL for users 2010-03-07 12:36:12 +00:00
Ralf Becker
e785b8bb03 remove now unused groupdav_groups class 2010-03-07 07:04:33 +00:00
Jörg Lehrke
99255ecb25 disable GroupDAV debug logs 2010-03-06 23:32:28 +00:00
Jörg Lehrke
a8804a44ef GroupDAV updates 2010-03-06 23:06:43 +00:00
Ralf Becker
96db81c50c dont use IN ( ), if there's only one value, it's slower for MySQL 2010-03-04 17:18:30 +00:00
Ralf Becker
0f2eceefb8 Preseed link title-cache for link-list and link-string widget
(Performance improvment, as all titles of an application get queried in
a single query and NOT once for every link)
2010-03-04 17:07:10 +00:00
Klaus Leithoff
7e34a7c999 pdo statement->execute expects either the prepared statement with already bound parameters OR an array of the vars to be bound. It can NOT handle them MIXED 2010-03-04 12:05:42 +00:00
Klaus Leithoff
62c6359c0b trying to fix the real cause for the resourcetype/collection issue, breaking XP native WebDav Access and having impacts on groupdav: Now resourcetype returns a prop for collection in case of a folder 2010-03-03 09:14:21 +00:00
Ralf Becker
1bcb356a25 fixed propfind_iterator sometimes not returning any item 2010-03-03 08:17:20 +00:00
Jörg Lehrke
59f91abfd7 SlowSync issues with event pseudo exceptions 2010-03-03 00:41:15 +00:00
Jörg Lehrke
2b0d9f5b43 Fix empty ORGANIZER/ATTENDEE 2010-02-28 12:53:49 +00:00
Jörg Lehrke
72e55f9753 Fix GroupDAV issues 2010-02-26 11:04:01 +00:00
Jörg Lehrke
841300542b Add RDATE support to VTIMEZONE parser 2010-02-26 11:03:34 +00:00
Jörg Lehrke
de840a1fcc Fix empty field issue 2010-02-23 18:18:10 +00:00
Jörg Lehrke
8204d84ca5 Enable proper 'refresh from server' again 2010-02-17 13:28:00 +00:00
Jörg Lehrke
9d39f2ec98 Fix newline issue 2010-02-16 15:09:52 +00:00
Ralf Becker
c70ff2e069 fixed a strange PHP5.3 problem, it seems call_user_func_array fails returning NULL for a static method with a var parameter 2010-02-15 06:02:36 +00:00
Ralf Becker
dbeb104ed5 changed rename to also rename in-active versions and made mkdir_recursive private, as it is only a helper and no exported method 2010-02-15 04:35:32 +00:00
Ralf Becker
aca8b220df fixed problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com> 2010-02-13 02:57:22 +00:00
Ralf Becker
22630b849a fixed problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com> 2010-02-13 01:19:27 +00:00
Nathan Gray
30db6582f7 Don't modify filter columns with numeric keys 2010-02-12 18:36:04 +00:00
Klaus Leithoff
3ac8b33231 move the ie dropdown menu hack to jsapi, make it an preference, so you can switch it off, if it does not work for you 2010-02-12 09:04:44 +00:00
Jörg Lehrke
3fb2b0173b address moreData conflict between datastores 2010-02-09 10:44:15 +00:00
Jörg Lehrke
5cbb080b42 Fix old formats folding issue 2010-02-09 10:43:06 +00:00
Jörg Lehrke
d75b2d3d12 Enable SlowSync optimization with old mappings; vCalendar 1.0 folding 2010-02-08 19:48:33 +00:00
Jörg Lehrke
df51d3a409 Update SyncML user preferences immediately 2010-02-07 20:28:15 +00:00
Jörg Lehrke
0197125d42 Fix empty default domain issue again 2010-02-07 17:53:28 +00:00
Jörg Lehrke
3c13536c3a Fix empty default domain issue 2010-02-07 14:28:55 +00:00
Ralf Becker
c99c79cd32 a few changes required to use sqlfs as base of a versioning stream wrapper (EPL only) 2010-02-07 06:19:56 +00:00
Jörg Lehrke
fa6626a5d1 failsafe session handling 2010-02-03 20:08:55 +00:00
Jörg Lehrke
712a87152f Fix multi-domain support for SyncML 2010-02-03 12:28:49 +00:00
Klaus Leithoff
995940eeb5 small improvements regarding the tooltip behavior for calendar 2010-02-02 11:23:11 +00:00
Ralf Becker
958452ff95 Implementation of global categories limited to a certain group:
- from user perspectiv they are global cat like the existing ones
  (also comming in two flavors: global or for a certain app)
- admins can select to limit a global cat when they create it
--> all members of a given group have the cat as a global one
==> This does a silent modification of the categories table: 
global cats get changed from cat_owner=-1 to cat_owner=0 !!!
2010-01-31 03:36:01 +00:00
Ralf Becker
5073a8b24e completly reworked admin >> global categories, in preparation for group specific global cats 2010-01-30 23:57:03 +00:00
Ralf Becker
e73dcb2a27 fixed colorpicker (as not using current color) and added colorpicker widget to etemplate 2010-01-30 23:55:36 +00:00
Ralf Becker
43553a0226 - depricated return_single($cat_id) in favor of read($cat_id) return not
an array with a single cat, but just the cat
- read($cat_id) and id2name($cat_id,'data') return now data as array
- edit($cat) and add($cat) now serialize data, if it's an array
- return*() have optional parameter to return data as array (default is
  still to return it serialized)
- new constants categories::GLOBAL_APPNAME='phpgw' and
  categories::GLOBAL_ACCOUNT=-1 (the later will change in the next step)
2010-01-30 23:50:51 +00:00
Jörg Lehrke
32639bd47e Major SyncML Calendar update
- SIFE support improved
  - various vCalendar 1.0 issues fixed
  - device specific timezone support for recurring events
  - pseudo exception handling improvements
2010-01-29 21:42:54 +00:00
Ralf Becker
61d26df913 reworked auth classes, to allow them to use each other and a new auth class using a primary backend (ldap) and a fallback (sql) 2010-01-28 04:22:37 +00:00
Ralf Becker
30e13c4acf first step of group prefs (backend only for now) 2010-01-27 05:44:31 +00:00
Ralf Becker
5e3541c5b2 read all installed apps and not just the enabled ones 2010-01-27 05:22:41 +00:00
Ralf Becker
49b237ec72 handing argument types for wz_tooltips and only using UnTip(), if tooltip is NOT sticky 2010-01-24 03:15:12 +00:00
Ralf Becker
49d444e3c9 fixed problem if $order is given as string, supporting it now again 2010-01-24 01:31:06 +00:00
Ralf Becker
0c5e495994 fixed common::setLocal() to fallback to en_US, not en_EN (which does not exist) and then de_DE (giving german) 2010-01-24 01:07:26 +00:00
Hans-Jürgen Tappe
2606c0b439 Remove duplicate return. 2010-01-22 21:43:50 +00:00
Hans-Jürgen Tappe
9c5fd08d90 Fix backup->restore() as discussed on the devel list:
- Internationalization of error messages.
- Typos
- Add missing code documentation
- Respect return code of db->transaction_commit()
- Add missing filename arguments in restore() calls.
2010-01-22 21:39:19 +00:00
Klaus Leithoff
577ce3e8df improve db_backup/restore 2010-01-22 13:52:04 +00:00
Ralf Becker
0e405049b3 A few improvments with hooks:
- register_all_hooks deletes now hooks of no longer existing apps
- hooks get instanciated directly with egw object, to cache the hooks
  read from the DB (and not read it again on each request)
- hooks get now stored by location, so no need anymore too loop for each
  hooks::process() call to all apps to find applying hooks
- hooks::process($location,$order,$no_permission_check) no longer
  defaults automatically puts current app in $order, if $order is not
  given, without $order hooks are executed in application order!
2010-01-21 23:31:28 +00:00
Ralf Becker
9c4b9aebbf fixed not deleted files in filesystem 2010-01-21 22:56:57 +00:00
Ralf Becker
507bad0b92 new registry method edit/edit_id to edit an entry 2010-01-19 22:14:39 +00:00
Klaus Leithoff
30abf86181 only warn, for no ziparchive, if you want to backup files 2010-01-19 15:27:30 +00:00
Klaus Leithoff
0075e7f4cd attempt to improve the parsing/cleaning of html messages. 2010-01-19 13:29:16 +00:00
Jörg Lehrke
21a2cab5a8 Fix session issue 2010-01-18 14:57:35 +00:00
Ralf Becker
4600c7cb38 Imported latest version of wz_tooltips (5.31) as they no longer need to
process the whole dom tree to enable the tooltips.
(Also made the changed from r23372 again)
2010-01-17 03:20:45 +00:00
Ralf Becker
8b2fe41fe0 refractored our exception handler a bit, to allow using part of it from ajax too. Ajax logs now the exception to the error_log and only shows a trace to the user if enabled in the config, like the rest of EGroupware 2010-01-14 23:50:06 +00:00
Klaus Leithoff
83b53cadbe use require_once instead of require, as we seem to run into some 'cannot redeclare class'-errors 2010-01-14 11:43:54 +00:00
Jörg Lehrke
16c190cfe2 Improve SyncML session handling 2010-01-13 09:05:27 +00:00
Jörg Lehrke
59affe07ce Improve SyncML session handling; code cleunups 2010-01-13 08:47:00 +00:00
Ralf Becker
07d7b66735 some fixes for session of basic auth clients as sogo connector:
- added user IP to hash used as session id (so changed IP, different devices force a different session)
- returning false in verify, if domain is changed
- fixed "Wrong IP" message
2010-01-12 03:55:42 +00:00
Ralf Becker
aca03d2dbc somehow forgot to remove old xajax files 2010-01-12 03:42:46 +00:00
Jörg Lehrke
548f5f8c98 Fix various issues introduced with Funambol adjustments; code cleanup 2010-01-10 19:02:16 +00:00
Jörg Lehrke
3242e169cc More Funambol adjustments and workarounds 2010-01-09 18:04:21 +00:00
Jörg Lehrke
49823ecd7e Fix encoding issues; improvements for Funambol clients 2010-01-08 13:09:36 +00:00
Ralf Becker
583a4b91d7 register doXMLHTTPsync as an alias to call doXMLHTTP synchronious 2010-01-08 01:16:29 +00:00
Ralf Becker
d9d303db6d remove reference from $obj =& new obj() constructs, to get ride of depricated warnings in php5.3 2010-01-07 23:44:33 +00:00
Ralf Becker
65aa5f8740 using new xajax version 0.5, thought automatically defining all pre 0.5 response functions, so no changes in EGroupware callbacks necessary, everything should work as before 2010-01-07 23:39:17 +00:00
Ralf Becker
19215ae75e adding stock xajax_0.5_minimal 2010-01-07 23:33:20 +00:00
Ralf Becker
8d55e4800e fixed supported-report-set according to a calendarserver example and reorganized HTTP_WebDAV_Server to generally support hierachical properties 2010-01-07 04:24:45 +00:00
Ralf Becker
b446f6de4e supported-report-set as required for CardDAV and Sogo connector 2010-01-07 02:04:09 +00:00
Ralf Becker
d53f0c91bf ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense 2010-01-05 23:25:17 +00:00
Jörg Lehrke
ed519fda33 Optimized Funambol recognition 2010-01-05 10:09:47 +00:00
Ralf Becker
19dd3785a9 make input readonly via javascript to NOT trigger mobile devices to display a keyboard 2010-01-01 23:04:39 +00:00
Christian Binder
b3a02f9408 recognize zero value also as a real value 2009-12-30 13:48:00 +00:00
Ralf Becker
08d5ce1f30 fixed not used user date and time format, if no timezone set 2009-12-24 01:48:51 +00:00
Ralf Becker
7bfa59767c fixed typo preventing creation of new events, if no timezone pref is set (should show just the server timezone) 2009-12-24 01:03:35 +00:00
Christian Binder
86346deefe fixed empty resultset if num_rows option is not defined, removed some weird indents 2009-12-16 13:10:55 +00:00
Klaus Leithoff
b48c4f51fc improving the display by toggling the editor mode; improving import of html mails after flaw in rev28758 2009-12-16 10:57:37 +00:00
Nathan Gray
219ae4d224 Can't use ExecMethod2(), it doesn't pass by reference.
Used code to pass options by reference from nextmatch widget so apps can update  array if they need.
2009-12-08 17:56:22 +00:00
Ralf Becker
76e43e442c fixed typo 2009-12-08 08:19:58 +00:00
Nathan Gray
dd1370f97f Implement Ralf's suggestion of an options array to pass extra query parameters 2009-12-07 21:42:20 +00:00
Ralf Becker
6aa95316ba using a static var as cache, which is a reference to the session:
a) automatic shared between all instances of accounts class
b) no need to have a shutdown function storing it to the session
--> cleaner code
2009-12-07 17:56:31 +00:00
Ralf Becker
c772e1d57d "new method acl::get_location_grants(), jaytraxx was missing ;-)" 2009-12-07 12:36:25 +00:00
Ralf Becker
0af8b60e39 "Maximum number of titles to query from an application at once (to NOT trash mysql)" 2009-12-07 11:18:13 +00:00
Ralf Becker
104e2464d5 moved one-time storage of server timezone and restore of it from egw_time to egw class, as in 1.6.003 now 2009-12-03 08:10:48 +00:00
Ralf Becker
c743665438 "switching logging off again" 2009-12-03 07:56:34 +00:00
Ralf Becker
4e2a8131c3 "partly reverting r28676, as array2string and function_backtrace is not yet loaded" 2009-12-03 07:44:10 +00:00
Klaus Leithoff
493789cec5 extend some debug infos in egw_sessions; add a 4th param to replaceTagsCompletley in translation class; prepare some more htmlpurifier stuff in order to use it for the activation of links; wrap the creation of the htmlpurifier default config in a function, to be used as config object for changes when about to be used with html::purify 2009-12-02 14:56:41 +00:00
Klaus Leithoff
8d3d3c8a6d add a cid scheme to purifiers URI schemes, to be able to process inlineimages in eMails. 2009-12-02 14:41:44 +00:00
Ralf Becker
b59a688fbb - fixed not working rename in entry directories in /apps (eg. rename of
an infolog attachment), was caused by use of url_stat from sqlfs
  instead of links stream wrapper
- fixed wrong mime type / icon in files stored via netdrive from msword
  (the first use the extension .tmp, before renaming file to .doc:
  sqlfs "detects" mime type only from the extension and did not recheck
  it if a file gets renamed, that's now fixed)
2009-12-01 14:51:13 +00:00
Jörg Lehrke
00f1a811a6 Fix 'enforce server' double adds 2009-12-01 11:18:38 +00:00
Jörg Lehrke
c63a538f13 Optimize SyncML performance 2009-12-01 10:14:23 +00:00
Ralf Becker
691cc6bb3e we need to first check if the constant is defined, as we get a fatal error in php5.3 otherwise 2009-11-30 20:29:01 +00:00
Ralf Becker
488d34d820 "fixed wrong build pass, causing an open_basdir warning, as url get appended to egroupware dir" 2009-11-30 16:21:02 +00:00