Commit Graph

5621 Commits

Author SHA1 Message Date
Klaus Leithoff
1afe8f6f9a rework of EncodeFile to avoid opening the file in question twice 2010-04-20 12:11:03 +00:00
Ralf Becker
6aebe8485b "fixed not working limited result and sorting for type 'both', caused by an (now disabled) optimisation, which only works for type 'accounts'" 2010-04-20 11:07:02 +00:00
Klaus Leithoff
9284452553 original EncodeFile uses is_readable. this fails with files stored in vfs in webusers context. use fopen instead, as old function (version 2.1) did 2010-04-20 10:02:36 +00:00
Ralf Becker
c2413db67b "if negating a search with an exclemation mark, we have to AND the criteria" 2010-04-20 08:46:14 +00:00
Ralf Becker
d9117ecff0 fixed handling of group acl: addressbook eg. is NOT using it at all 2010-04-20 06:57:57 +00:00
Klaus Leithoff
a2e6e301ee apply egroupware changes to phpmailer 5.1; logging errors to error_log for smtp class; additional functions to retrieve Header and Body of a created mail; being able to attach ics files as additional multipart/alternative part; AddString Part; being able to pass ssl and tls as part of the host string 2010-04-19 15:11:16 +00:00
Klaus Leithoff
af0f7d65b7 upgrade to phpmailer Version 5.1 2010-04-19 15:05:36 +00:00
Klaus Leithoff
d4959b0275 upgrade to phpmailer Versoon 5.1 2010-04-19 14:39:41 +00:00
Jörg Lehrke
211d2818cb Enable ../groupdav.php/calendar/ again 2010-04-16 21:53:34 +00:00
Jörg Lehrke
4dc9ed98f9 Fix hierarchical properties issue 2010-04-16 18:58:32 +00:00
Jörg Lehrke
7920304f13 Fix empty Sync Anchor issue (eg. with Samsung devices) 2010-04-16 15:26:48 +00:00
Klaus Leithoff
8d5e509672 fix another tooltip problem (tooltips at the edge of the screen get misplaced) provided by andreas stoeckel 2010-04-16 13:48:36 +00:00
Ralf Becker
2ce6c9ecbb "support for Mandriva mailaccount schema for group email addresses " 2010-04-16 13:30:38 +00:00
Klaus Leithoff
c93b76987a enable create of recurreence for weekdays only for recur_type weekly (conditional enabling/disabling weekday selection area) provided by andreas stoeckel 2010-04-16 13:24:58 +00:00
Klaus Leithoff
fb747b3a97 fix flickering of calendar tooltips, fix oversized space reservation for small tooltips: provided by andreas stoeckel 2010-04-16 12:40:02 +00:00
Klaus Leithoff
2914b02d12 add h4,h5,h6 for purify whitelist 2010-04-16 12:32:58 +00:00
Klaus Leithoff
145423add8 add h4,h5,h6 for purify whitelist 2010-04-16 12:10:18 +00:00
Jörg Lehrke
c130fee383 Reduce SyncML MaxMsgSize to 10000 2010-04-14 17:29:03 +00:00
Jörg Lehrke
f802fdd315 Allow more WS in line folding of new formats 2010-04-14 14:41:10 +00:00
Klaus Leithoff
227035050c translations provided by mkk and gm 2010-04-14 12:04:40 +00:00
Ralf Becker
239793470b adding an iterator for iCal files to minimize memory footprint on import of huge iCal files (not yet used for iCal data supplied as string, eg. from SyncML, as calendar_ical::importVCal uses count() and array access to returned components/events, and not just looping over it via foreach) 2010-04-14 10:19:41 +00:00
Jörg Lehrke
30a3296c8e Optimze and clean up GroupDAV 2010-04-13 15:31:59 +00:00
Ralf Becker
a0f5ff9dd5 "get FCK spellchecker and filebrowser working with session-id in url" 2010-04-13 15:12:09 +00:00
Klaus Leithoff
15609abbf4 work provided by Chr.Fueller to tackle oversized events in calendar-week-print-pre-view 2010-04-09 14:15:00 +00:00
Klaus Leithoff
78e297eb83 fixing typo regarding the check of modification time (provided by Andreas Stoeckel) 2010-04-07 12:28:07 +00:00
Klaus Leithoff
f69c071685 fix for: calling setup, sets some config values to default, all the time 2010-04-06 15:30:36 +00:00
Ralf Becker
b47b6ed7ff "expiration time was not passed to tree or instance level cache provider" 2010-04-03 09:33:48 +00:00
Ralf Becker
80d89dc590 "allow to specify more then one group for an auto-created user
(first is primary, further are just memberships)"
2010-03-29 07:39:09 +00:00
Ralf Becker
2d6cc439c3 "fixed not working sort" 2010-03-28 15:01:58 +00:00
Nathan Gray
af9df0faf4 Fix for possibly undefined variable 2010-03-26 16:47:31 +00:00
Ralf Becker
ac75c349b8 "calling split_accounts with 'merge' it type is NOT either 'accounts' or 'groups'" 2010-03-25 08:48:58 +00:00
Jörg Lehrke
41c4ae0536 Give Administrator more control over SyncML clients 2010-03-24 17:56:02 +00:00
Klaus Leithoff
3aec3b7e5a accounts_search with app param: for split_accounts we want the result merged all the time, as we use it for checking ids only 2010-03-24 13:53:28 +00:00
Ralf Becker
8d033f95f8 display a backend specific tab, if supported by backend, eg. versioning information 2010-03-23 20:44:17 +00:00
Jörg Lehrke
42a09eda30 Add configurable client character set for SyncML & various fixes 2010-03-22 18:03:23 +00:00
Jörg Lehrke
fcf1de6a1c Cleanup GroupDAV code 2010-03-22 15:04:21 +00:00
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
406e4110c6 "setting memory_limit to 64M" 2010-03-18 12:11:11 +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
f7f54b0e1c remove not used non-php server scripts 2010-03-07 10:23:08 +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
Klaus Leithoff
7304df7dcd fix for a problem with IE7 and IE8(Compatibilitymode) displaying Icons and text in Navbar 2010-02-19 14:53:24 +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
0c640ed171 support for 1.6.003 2010-02-14 06:27:54 +00:00
Ralf Becker
34f2a64b51 updated integration docu 2010-02-13 04:35:54 +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
27c2de1986 re-adding default width of 300px, I missed when updating the class 2010-01-24 02:29:29 +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
Nathan Gray
b94bf0c8a0 Completely revert changes from rev 28826.
Now using a seperate array to hold additional topmenu entries from hooks to prevent occasional duplication of info items.  Apps should now be able to call ['egw']->framework->add_topmenu_item('name', 'url', 'title') to add an additional entry to the topmenu.
2009-12-17 18:07:59 +00:00
Klaus Leithoff
95540c3fa7 revert n.gray s rev 28826, as it clutters the topmenu occasionaly 2009-12-17 14:48:19 +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
77c889f907 Don't clear items, it will erase anything added by apps in topmenu_info hook 2009-12-09 23:15:46 +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
Oscar Manuel Gómez Senovilla
ebd2f93474 Recover history from rev 28545 2009-12-02 19:10:51 +00:00
Oscar Manuel Gómez Senovilla
1dbce299af Temporary removal to recover history from rev 28545 2009-12-02 19:09:04 +00:00
Ralf Becker
d111906697 remove jerryr print.css template, as it was not used before and is not up to date 2009-12-02 17:03:36 +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
Ralf Becker
bf6d7835ad setting server timezone as early as possible, to avoid warnings it's not set 2009-11-30 14:40:27 +00:00
Ralf Becker
80774a3468 avoid warning in php5.3, if argument is an array 2009-11-30 14:39:38 +00:00