Commit Graph

5947 Commits

Author SHA1 Message Date
Andreas Stöckel
0802dd072b Fixed bug with CKEditor 3.2.1 not being loaded in some applications 2010-05-26 08:43:01 +00:00
Andreas Stöckel
99106024c4 Made CKEditor checking, whether the given skin actually exists 2010-05-25 14:50:58 +00:00
Andreas Stöckel
c95d5fe04b Added support for the new CKEditor 3.2.1 2010-05-25 07:50:10 +00:00
Andreas Stöckel
12c03a226d Added support for the new CKEditor 3.2.1 2010-05-25 07:47:57 +00:00
Ralf Becker
5f7efe58a7 remove not used old mime type list 2010-05-22 15:04:32 +00:00
Ralf Becker
79f4a174da moved old validator class to bookmarks, as it is the only place where it still get used 2010-05-22 14:33:23 +00:00
Ralf Becker
6fd418b27e fixed PHP Fatal error: Declaration of vfs_stream_wrapper::url_stat() must be compatible with that of iface_stream_wrapper::url_stat() 2010-05-22 11:00:54 +00:00
Ralf Becker
aedaf485b3 fixed bug egw.stylite.de#8079: new symlinks in /apps not visible on same request 2010-05-22 08:41:26 +00:00
Ralf Becker
b0416e0bf1 removed not used/working old xmlrpc application abstration 2010-05-22 07:05:37 +00:00
Andreas Stöckel
519a80a8f8 Removed the not needed _samples directory from ckeditor3 2010-05-21 12:04:04 +00:00
Andreas Stöckel
ffa48c7c40 Committed CKEditor 3.2.1 stock version 2010-05-21 11:51:40 +00:00
Klaus Leithoff
3b427a4062 move debug to be the first thing in send->send; make SmtpSend public as it is used by MDN 2010-05-21 11:19:29 +00:00
Jörg Lehrke
e4d0b6737c Fix egw_ical iterator issues 2010-05-21 06:18:52 +00:00
Stefan Becker
ae351b22fc added some German translation 2010-05-20 20:28:45 +00:00
Ralf Becker
6799864392 fixed wrong language in notifications 2010-05-20 19:32:52 +00:00
Jörg Lehrke
5329baab76 Improve chunked item handling 2010-05-20 13:06:27 +00:00
Jörg Lehrke
fb3cc3f594 Fix chunked item issue (bug#2576) 2010-05-20 10:48:45 +00:00
Klaus Leithoff
8dacda96ab translation provided by mkk 2010-05-20 08:07:08 +00:00
Ralf Becker
df58928ac6 fail if trying to unlink a directory 2010-05-19 17:33:19 +00:00
Andreas Stöckel
16d9b79965 Fixed bug with FCKEditor and Safari in which the fck editor area isn't maximized 2010-05-19 11:30:15 +00:00
Ralf Becker
75a604fad6 "add G to egw_vfs::hsize()" 2010-05-19 09:12:16 +00:00
Andreas Stöckel
892db7c0f2 Resolved problem with some directories that cannot be opened if they contain a symlink, due to a problem with vfs_stream_wrapper::check_symlink_components, which returned that a path doesn't have a symlink in it caused by to the vfs_stream_wrapper internal symlink_cache 2010-05-19 09:01:53 +00:00
Jörg Lehrke
ff9e241961 Fix parameter parser again 2010-05-19 07:02:08 +00:00
Jörg Lehrke
df36afa1ed Fix DAV issue for neon for GroupDAV, too 2010-05-18 10:45:46 +00:00
Jörg Lehrke
e8298f217f Fix iCal attendee CN issue 2010-05-18 10:04:29 +00:00
Klaus Leithoff
eddf0f4038 sort autofolders to the top of the folderlist; Add (and use) special foldericons for autofolders 2010-05-18 09:30:12 +00:00
Andreas Stöckel
95891c869f Added some JavaScript-Code to the date selector which handles clicks on the "Today" button 2010-05-18 09:17:54 +00:00
Jörg Lehrke
27f1fef944 Fix CalDAV invitation issue (Stylite#513) 2010-05-17 14:20:34 +00:00
Andreas Stöckel
8a6b862489 Removed code from wz_tooltip.js which removed all html "title" properties from the page on some occasions 2010-05-17 13:52:15 +00:00
Ralf Becker
39dfb0b3fe "invalidate session cache, to make new mounts/unmounts visible in current session" 2010-05-15 20:40:27 +00:00
Jörg Lehrke
11093e933c Add more tolerance for chunked packages 2010-05-14 13:06:08 +00:00
Ralf Becker
bf898afb61 "removed permannent error_log" 2010-05-13 10:45:37 +00:00
Ralf Becker
e91b0f0cb5 using since php<=5.0 available raw_output=true parameter for md5 and sha1 instead of deprecated and in newer distros no longer available mhash extension 2010-05-13 10:39:48 +00:00
Ralf Becker
beca9c694a "forgot to switch log_level to 1 (only errors) again ;-)" 2010-05-13 09:27:46 +00:00
Ralf Becker
7bd59d89c8 "Fixed handling of url-special-chars: #?% get urlencoded before returned from this wrapper and all path get urldecode before passing on to php's filesystem functions" 2010-05-13 09:25:39 +00:00
Ralf Becker
46fd3ad561 "Support for basic auth when using PHP CGI" 2010-05-13 08:49:32 +00:00
Ralf Becker
94c31d9508 missing encoding and decoding for attachments 2010-05-12 18:58:16 +00:00
Ralf Becker
259ae6fe24 "fixed not working delete of a preference (was set to an empty string in the db)" 2010-05-12 09:23:50 +00:00
Ralf Becker
8ce9813e4d "only add \"your session could not be verified\", if a sessionid is given (cookie or on url)" 2010-05-11 16:19:26 +00:00
Ralf Becker
55d6c7ca00 "prefer iconv for windows-874 and tis-620 (Thai) charsets, as they are not supported by mbstring" 2010-05-11 15:38:39 +00:00
Ralf Becker
fd56fb27c3 Correct quoting of special chars in vfs:
- # has special meaning in url and is intern always urlencoded as %23
- ? has special meaning in url and is intern always urlencoded as %3F
- % need to be urlencoded as %25, as it's the escape char in urlencoding
  (it has not been stored urlencoded in sqlfs so far, there's some
   workaround in filemanger_ui to deal with the old unencoded % chars)
- space and + are NOT urlencoded in sqlfs in the DB, they get urlencoded
  only for download urls
- " get urlencoded for download urls only as it messes up the html
  markup
--> Filenames get urldecoded, before displayed to user
- done manually eg. in messages
- done automatically in new vfs-name widget (both ways)
2010-05-11 15:02:30 +00:00
Nathan Gray
041200a245 Register link hooks for all installed apps, not just the ones the current user has access to. This lets the apps decide if the user has access to the data or not 2010-05-10 19:05:17 +00:00
Ralf Becker
cad3e95d40 remove not needed all mount options, as hidden files are handled now by our vfs (and if hidden files are not accessible, you can not remove directories containing them) 2010-05-10 14:29:30 +00:00
Ralf Becker
5ef9746f90 switching logging per default off and only outputting passwords in log-level 2, as documented 2010-05-10 13:36:30 +00:00
Ralf Becker
d6d582a541 switching logging per default off and only outputting passwords in log-level 2, as documented 2010-05-10 12:46:46 +00:00
Ralf Becker
1caead5ea9 "make sure to not double encode &" 2010-05-09 13:58:57 +00:00
Ralf Becker
5a47d445e8 "fix tiny mail window, because felamimail uses egw_getWindowOuterHeight() instead of a fixed height given as number" 2010-05-09 09:41:38 +00:00
Klaus Leithoff
bac107ac84 fix for missing CRLF after emailreplace/cleaning of/for emailaddresses 2010-05-06 11:16:57 +00:00
Ralf Becker
94aad337fa wrong icon ;-) 2010-05-06 07:01:23 +00:00
Ralf Becker
46d94a3293 missing icon 2010-05-06 06:59:57 +00:00
Ralf Becker
930f1052d5 supporting digest auth (see RFC 2617), which is more secure then basic auth on http (no cleartext password), it currently requires cleartext passwords in the database, to calculate the A1 hash! 2010-05-05 09:19:37 +00:00
Klaus Leithoff
f18fc53362 allow |align|style|width|height for img 2010-05-03 09:00:16 +00:00
Klaus Leithoff
9851b5cd46 handle warning on install 2010-05-03 08:19:32 +00:00
Ralf Becker
6865fad5c7 New caching provider using APC's shared memory cache.
Used now by default, if function apc_fetch() exists and no
other caching provide is explicitly set in header.inc.php or egw_cache
class. 
It's probably quicker on virtual machines, as it uses memory and not the
filesystem.
2010-05-01 12:55:41 +00:00
Ralf Becker
9f4c145f22 "removed double declaration of new prompt styles (idots.css includes traditional.css)" 2010-05-01 06:17:28 +00:00
Klaus Leithoff
8fbb39aded use more stylish dialog for prompt action on edit-series; translations provided by mkk 2010-04-28 13:42:10 +00:00
Klaus Leithoff
8ce6ac92ae upgrade htmlpurifier to version 4.1.0 2010-04-27 11:15:35 +00:00
Ralf Becker
b9dcde1e25 "do not allow to fopen a directory" 2010-04-27 10:38:16 +00:00
Ralf Becker
06fb05a891 "- using sqlfs_stream_wrapper::id2path instead of links_stream_wrapper::id2path, as it's the same, but allows to replace links_stream_wrapper with an other class (based on links_stream_wrapper and sqlfs_stream_wrapper)
- using egw_vfs::urlstat instead of links_stream_wrapper::urlstat, to not depend on using links_stream_wrapper
--> required to do versioning on the links"
2010-04-27 07:35:26 +00:00
Ralf Becker
0b38159c94 "using mt_rand() instead of rand() and not longer seeding it explicitly (as recommened on php.net)" 2010-04-23 18:41:01 +00:00
Ralf Becker
d4869ec11a makeing <href></href> clickable again 2010-04-23 16:08:04 +00:00
Ralf Becker
42e3a50e8f fixed wrong value for current-user-pricipal 2010-04-23 16:07:16 +00:00
Jörg Lehrke
64b8873ba1 Fix lost password issue (#2552) 2010-04-23 14:15:28 +00:00
Ralf Becker
b470f52e99 "fixed not working $type=='owngroups' for ldap, eg. used in calendar pref 'Preselected group for entering the planner'" 2010-04-23 10:55:09 +00:00
Ralf Becker
7e8c37c015 allow extra_info to process buttons, by passing it the content array 2010-04-22 17:38:01 +00:00
Klaus Leithoff
798b7faf78 allow style in divs 2010-04-22 12:09:51 +00:00
Klaus Leithoff
e4e8e89f13 allow h4-6 in default purifier definition 2010-04-22 11:20:00 +00:00
Jörg Lehrke
50ff02da4d Add CardDAV support for Apple's latest Addressbook.app 2010-04-21 17:44:36 +00:00
Ralf Becker
f0102eba3f "allow to base links_stream_wrapper on a different parent then sqlfs_stream_wrapper, eg. the new versioning one" 2010-04-21 17:26:28 +00:00
Ralf Becker
901288dde9 "adding line numbers to call-tree" 2010-04-21 15:42:19 +00:00
Ralf Becker
0406f55d97 "adding line numbers to call-tree" 2010-04-21 15:37:14 +00:00
Ralf Becker
938b7cf391 fixed not working rename of account_lid with admin/admin-cli.php, corrupted sqlfs (overwrite /home) 2010-04-21 12:28:27 +00:00
Klaus Leithoff
5339d85c56 rework of home area (moving of portal_boxes, deletion of portal_boxes); modification/fixes to preferences::delete; adding app_id to trackers portal-box 2010-04-21 11:09:38 +00:00
Ralf Becker
372b571e32 "fixed warning (wrong parameter in array_unshift), if account_id not set" 2010-04-20 12:52:10 +00:00
Klaus Leithoff
ac34881766 fix the modified call of file_get_contents (was called with debug extension, to check failure behavior); call/define functions EncodeFile and EncodeString by reference 2010-04-20 12:33:24 +00:00
Ralf Becker
a607738c61 "missing order account_fullname for sql" 2010-04-20 12:16:34 +00:00
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
Ralf Becker
2d93ce28cc "fixed warning in setup and correctly reading config first" 2009-11-29 16:53:17 +00:00
Jörg Lehrke
a0e1a238dd Optimized SyncML memory footprint; fixes various filter issues 2009-11-29 14:03:45 +00:00
Ralf Becker
f2e52e1478 fixed sometimes not translatable phrases longer 128 chars, problem was a trim() after truncating the message to 128 chars 2009-11-28 16:20:21 +00:00
Ralf Becker
c8b795fe83 if file is moved from one filesystem / wrapper to an other --> copy it
(rename fails cross wrappers)
2009-11-28 15:23:26 +00:00
Klaus Leithoff
c8323fc034 hack to influence selectbox width behavior for MSIE; applied to all selectboxes created by html::select and etemplate.js loaded 2009-11-28 14:32:33 +00:00
Oscar Manuel Gómez Senovilla
41bebda074 Moved phpgwapi lang files 2009-11-28 12:38:57 +00:00
Ralf Becker
ef67ed41e3 commiting fix again, please update before your commit, to NOT overwrite other peoples commits 2009-11-28 11:40:10 +00:00
Oscar Manuel Gómez Senovilla
2d678b8966 Missing file for the patch for moving the lang files in previous rev 2009-11-28 11:34:40 +00:00
Ralf Becker
d47bb7dd88 fixed replacement of multiple placeholders 2009-11-28 11:30:53 +00:00
Ralf Becker
58b4f7b487 fixed docu 2009-11-28 10:52:20 +00:00
Ralf Becker
51f8d5b7b0 egw_vfs::download_url requires egw::link, as it is relative to egroupware dir 2009-11-28 10:31:20 +00:00
Ralf Becker
fd0bfe97ea querying date_default_timezone_get() only once and storing it as
$GLOBALS[egw_info][server][server_timezone], as it fills the log with
warnings under php5.3
2009-11-28 10:18:21 +00:00
Klaus Leithoff
57ce5a4c4c handling parameter-replacements in translation class 2009-11-27 13:16:20 +00:00
Ralf Becker
734a9f6947 HTTP_REFERER seems NOT to get urldecoded, causing url already containing
a comma in calendar got double encoded, which stalls the calendar
(no access to calendar of "1%2C2"!)
2009-11-27 12:35:57 +00:00
Klaus Leithoff
5cb72ec6df purifier upgrade to 4.0.0 2009-11-27 09:37:41 +00:00
Klaus Leithoff
b29fdf18dc switching to modern purifier notation, as of in 4.0 the old style is deprecated 2009-11-27 09:32:22 +00:00
Christian Binder
30fd54c4ac central method in categories class to check a given list of category ids for needed permission 2009-11-26 08:24:51 +00:00
Ralf Becker
3de4879a18 "not treating newer Safari with old KHTML handling, as it unnecessary hides overlaped selecboxes and NOT restores them" 2009-11-25 20:25:18 +00:00
Ralf Becker
0814820652 new option &128 to NOT require an extra trigger for date popup, clicking
into input box is enought and removing of extra separators to be more
compact
2009-11-25 20:19:35 +00:00
Jörg Lehrke
cf92ec1930 Fix RRULE issue with trailing colon 2009-11-25 19:17:52 +00:00
Jörg Lehrke
ca9f3fe1eb Fix WSP issue in QP paramters 2009-11-25 09:40:25 +00:00
Jörg Lehrke
d6663242d1 Fix empty value issue 2009-11-25 08:50:51 +00:00
Klaus Leithoff
e3d06b2219 if we encounter potential malicious script, we run it through html::purify. we test that again against potential malicious code, and drop the content only if we fail the test against the cleaned content as well. we set egw_unset_vars at any case with the original content, in case the application in question makes use of it. 2009-11-24 11:28:49 +00:00
Klaus Leithoff
d228a33ff1 take care that charset and tempdir have appropriate values, no matter if they are initialized at the time 2009-11-24 11:18:06 +00:00
Oscar Manuel Gómez Senovilla
a70df0ddbb Pending language updates 2009-11-24 05:51:49 +00:00
Jörg Lehrke
bf9799ebfe Improve multi-domain support for SyncML 2009-11-22 18:48:51 +00:00
Jörg Lehrke
67e9dc48e2 Add additional datatstores in varios places 2009-11-22 17:50:16 +00:00
Jörg Lehrke
76ffd72eb6 Add multi-domain support for SyncML 2009-11-22 17:49:09 +00:00
Klaus Leithoff
badbc1fead refine purify definition to allow for anchor tags 2009-11-21 17:24:36 +00:00
Jörg Lehrke
d8ee864991 SyncML filter handling improved, code cleanup 2009-11-20 07:24:00 +00:00
Nathan Gray
7744508999 API changes to support optional link sub-types 2009-11-19 20:09:30 +00:00
Klaus Leithoff
84b0a80b5a improve html purify's default filtering 2009-11-19 15:13:14 +00:00
Klaus Leithoff
4515b1fec0 adding html.allowed to purify with list of allowed tags; providing the ability to switch off purify, when calling fckEditorQuick (useful, when the cleanup is already done) 2009-11-19 11:13:36 +00:00
Oscar Manuel Gómez Senovilla
f5bfd874d0 tracker #2307 2009-11-18 20:01:08 +00:00
Ralf Becker
221473ce0f make dynamic resizable sidebox width app specific 2009-11-18 20:00:26 +00:00
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +00:00
Jörg Lehrke
d1b10adf4a Fix Domain Issue (Bug #2367) for SyncML 2009-11-18 18:57:00 +00:00
Klaus Leithoff
d4b0e572a1 some more documentation, some improvement in convertHTMLToText and replaceEmailAdresses 2009-11-18 10:38:15 +00:00
Christian Binder
cdd50f6b55 new method check_perms for categories class 2009-11-18 07:42:14 +00:00
Jörg Lehrke
14770c3689 Fix for 'Enforce Server' during SlowSync 2009-11-17 21:20:32 +00:00
Ralf Becker
4181ddaecf "throw assertion failed exception (with trace), if redirect fails because output already started" 2009-11-17 14:56:57 +00:00
Jörg Lehrke
4b490c2e8b Add additional datastores 2009-11-17 07:13:21 +00:00
Ralf Becker
1754508ce9 "let new method hooks fail gracefully if hook class-file does not exists (like the old hooks do, eg. if app got removed)" 2009-11-16 09:42:53 +00:00
Christian Binder
da7db21806 also match against trimmed database entries when categories should be searched by $filter 2009-11-16 06:54:03 +00:00
Christian Binder
5dbc859f71 fixed missing $this-> operator which prevented ACL read on sync - let categories class always enumerate group ACLs (it was skipped for LDAP backends) 2009-11-13 09:55:54 +00:00
Ralf Becker
fc244efb1f "- change cast to string to be more describtive: \"Wednesday, 2009-11-11 11:11:11 (Europe/Berlin)\"
- check if translation class is available, before calling it"
2009-11-12 09:30:37 +00:00
Jörg Lehrke
81d8ea7bbb Fix conflict handling issues 2009-11-11 20:16:34 +00:00
Jörg Lehrke
b3a1f2de10 Add device specific timezone settings 2009-11-11 20:15:29 +00:00
Jörg Lehrke
5bdf4a4942 VTIMEZONE and TZID are not supported by VCALENDAR VERSION=1.0 2009-11-11 20:14:34 +00:00
Jörg Lehrke
ad20d701e2 Fix UID issue 2009-11-11 20:13:03 +00:00
Klaus Leithoff
01c8f7a221 fix the overlapping of the sidebox content into listviews (e.g. projectmanager) when content is too wide for current size 2009-11-11 14:28:20 +00:00
Jörg Lehrke
08d11093dd Add domain support 2009-11-11 10:25:50 +00:00
Jörg Lehrke
edd5a58870 Add ./event datastore to capabilities 2009-11-11 09:18:00 +00:00
Jörg Lehrke
bb7ad55ea4 Support for Synthesis VTIMEZONE RRULES 2009-11-11 09:16:46 +00:00
Ralf Becker
ddfcdfff06 allow EGroupware users to select only timezones, for which we have a VTIMEZONE component (I think the others are only unofficial aliases, not included in our database) 2009-11-09 09:00:53 +00:00
Klaus Leithoff
e99af0dfd6 revert of the change in r28264 as it would allow crossside scripting 2009-11-05 09:06:41 +00:00
Klaus Leithoff
5a4f03cf7b fixing a problem regarding the activation of links encoded with htmlspecialchars 2009-11-05 08:40:57 +00:00
Klaus Leithoff
914861ac59 bugfix groupmembers of groups got lost, while renaming accounts 2009-11-04 11:17:06 +00:00
Klaus Leithoff
c5453aa3f9 make sure there is a wordboundary after script, while testing for malicious code (as text like < blabla description blabla > triggered the expunge of the text 2009-11-02 11:36:00 +00:00
Klaus Leithoff
a49344abf1 port Christian Binders patch to handle config values as well (e.g.:customfields): little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset 2009-11-02 10:55:30 +00:00
Ralf Becker
0a4c2614a5 - moved user timezone list to egw_time
- added standard widget to select timezones
- modified egw_time::server2user and ::user2server to return NULL, if
  time can not be parsed, not throwing an exception (as this are legacy
  function meant to easy convert existing code, eg. replace strtotime())
2009-11-01 12:48:25 +00:00
Christian Binder
345993086a fixed bug reported by LRA Bad Reichenhall: egwpopup not displaying when notificationbell is clicked 2009-10-26 15:10:05 +00:00
Ralf Becker
6ecac6f650 "removed unnecessary check for NOT allowed apps of anon user from session::verify, as there's an other one in egw::verify_session throwing an exception, which can be used to handle the situation better" 2009-10-25 17:28:30 +00:00
Jörg Lehrke
b3b7114db8 Fix Session Handling Problem again 2009-10-24 15:52:47 +00:00
Jörg Lehrke
291d3b04cb Add X-RECURRENCE-ID for vCal 1.0 2009-10-24 15:52:06 +00:00
Christian Binder
08efec194f fixed not found user sessions while working with notifications and assured that all_no_sort param gets handed over to handler class 2009-10-23 13:07:11 +00:00
Ralf Becker
ec5d0cb0c5 "fixed hook signature to always be an array (even if user code only supplys a location-string)" 2009-10-20 07:11:58 +00:00
Christian Binder
c7966ba8a4 little helper for prefs if unserialize failed - this can happen if the pref comes from an installation with another charset than the current system charset 2009-10-19 21:15:12 +00:00
Jörg Lehrke
bfa071c319 Funambol Client 4 Android uses version 2 and is pretty new 2009-10-19 20:27:55 +00:00
Ralf Becker
20e655c466 Default and forced preferences for nearly all apps 2009-10-19 17:04:11 +00:00
Ralf Becker
0d48d6021e "setting a higher CHUNK_SIZE to improve performance" 2009-10-19 07:47:06 +00:00
Ralf Becker
df8217ff61 "fix to cope with $vars[0] containing '%2' in lang() calls" 2009-10-19 07:41:03 +00:00
Ralf Becker
e1e712c9fb php5 constructor and constants for default and forced prefs owner 2009-10-18 12:45:09 +00:00
Jörg Lehrke
431530c8bb Fix RRULE colon bug 2009-10-17 21:59:12 +00:00
Ralf Becker
c1f385be48 "fix autoindex to work with iterator" 2009-10-17 12:22:40 +00:00
Ralf Becker
447c8b618a Using an iterator to query addressbook in chunks of 100 contacts to
allow to do propfinds on hugh addressbooks independent of memory_limit:
- regular groupdav_handler::profind() method gets split in a method just
  computing a filter and a callback to run that filter on the backend
- groupdav_propfind_iterator class is returned from profind method
  instead of an array with information about the files
- iterator calls groupdav_hander::propfind_callback if there are no more
  entries from the previous call
- constructor of groupdav_propfind_iterator allows to pass an extra array
  with files to return, to simplify modifying existing implementation
  (were eg. information about the current path, get's supplied from
  calling groupdav class).
2009-10-17 09:13:36 +00:00
Ralf Becker
e0a9ae63cf "fix allowing (at least in the calendar GUI under Linux) to enter curing events starting prior to 1970" 2009-10-16 05:13:52 +00:00
Ralf Becker
c4e9e875a2 "- fixed error prefenting updating of locks
- added constant do enable debuging of locks"
2009-10-13 21:05:09 +00:00
Ralf Becker
c0eec4aa07 "quiten permanent error_log" 2009-10-13 19:18:38 +00:00
Jörg Lehrke
7c4592434c Adds COUNT to VTIMEZONE RRULE and fixes year selection 2009-10-12 20:11:57 +00:00
Christian Binder
0c41ee0949 sqlfs_stream_wrapper must not use fs_link column as it gets created in 1.7.002 2009-10-12 14:05:51 +00:00
Christian Binder
501e715561 re-added support for gzipped and unzipped files for db restore on empty installations - was (maybe accidentally) removed with housekeeping feature 2009-10-12 13:28:28 +00:00
Ralf Becker
3cbf249bea "setting minimum php version to 5.2" 2009-10-12 09:48:04 +00:00
Ralf Becker
624cf172e8 "fixed wrong path buildng (missing slash)" 2009-10-12 09:46:36 +00:00
Ralf Becker
756ecd2b18 "updated function_backtrace to show if class method is called static (::) or not (->)" 2009-10-12 09:44:36 +00:00
Ralf Becker
587bd2bc95 - added an optional timezone quick selection in top menu (it shows up
only if you select more then one timezone to display in it)
- moved generation of beautified timezone array to egw_time
- moved all preferences hooks to a new class preferences_hooks (updated
  version so setup updates hook data, or you need to call admin>>update
  hooks)
2009-10-12 09:41:46 +00:00
Ralf Becker
4e21b766b9 - reworked old browser class to use have only static methods
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
  instead
2009-10-11 11:37:46 +00:00
Ralf Becker
5225fe81e1 automatic convert egw_time/DateTime objects when quoting values 2009-10-08 16:20:37 +00:00
Ralf Becker
3ef01bc589 Refined egw_time class a bit more and and integrated it with preferences
class, to automatically set relevant user prefs (tz, dateformat,
timeformat).
2009-10-08 16:14:18 +00:00
Ralf Becker
e0795f7328 "fixed session preferences, were broken since 1.6" 2009-10-07 18:59:01 +00:00
Ralf Becker
ab9c9d21b6 New egw_time class used to implement correct timezone handling for
calendar, plus a first calendar implemenation.

This implementation just replaces following calendar_bo methods:
- date2ts($date,$user2server=False)
- date2array($date,$server2user=False)
- date2string($date,$server2user=False,$format='Ymd')
- format_date($date,$format='')
which static methods from egw_time.

If your server is in same timezone as the user, you should experience no
difference. As a small test, you can switch to an other timezone (eg.
UTC) to recognice on a weekly repeating event (which still repeats on
equal server time!) that it moves by one hour when daylight saving
changes. This switching to a TZ with different daylight saving rules,
was not working before.

Happy testing :-)
2009-10-07 13:29:06 +00:00
Christian Binder
efad9168fa fixed typo 2009-10-07 08:05:10 +00:00
Ralf Becker
610b629325 first step for real timezones in EGroupware 2009-10-06 06:45:28 +00:00
Jörg Lehrke
83d00a845a Fix VTIMEZONE part of VCALENDAR 2009-10-05 04:38:09 +00:00
Ralf Becker
ee536325fc "improved support for other users calendar/addressbooks" 2009-10-03 10:22:14 +00:00
Klaus Leithoff
4c12282716 added copy and paste block to fckeditor to all egwconfig configurations, if not available 2009-10-01 10:28:40 +00:00
Ralf Becker
656ae5713b "fixed not working egw_link::set_cache" 2009-09-29 09:58:05 +00:00
Jörg Lehrke
b1a9d0f546 Fix issue with adding new entries from device 2009-09-28 19:45:35 +00:00
Klaus Leithoff
2dc68b1c8d added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised 2009-09-28 15:10:02 +00:00
Jörg Lehrke
217f0de233 Calendar special pseudo recurrence exception handling moved to SyncML code
- content type is now available in replace method
  - pseudo to real exception propagation does now work within a single session
2009-09-23 19:20:15 +00:00
Nathan Gray
a3df76902f Hide close button if user is forced to have the section on their homepage 2009-09-21 21:47:04 +00:00
Nathan Gray
9ec105b3ca Implement close button for homepage boxes. Still needs a little work to hide the close icon when the box is forced by admin. 2009-09-21 21:29:39 +00:00
Ralf Becker
cdd5ba5dc2 removed tests folder, as it is NOT used by EGroupware 2009-09-21 08:18:50 +00:00
Jörg Lehrke
6648c7c404 Fix Funambol configuration issue and missing spaces in log enrties 2009-09-20 19:45:03 +00:00
Ralf Becker
65a08ece84 "2. fixing the fix ;-)
only add optional user objectclasses for users NOT for groups"
2009-09-15 08:43:44 +00:00
Ralf Becker
868c89e606 "- making csv_spilt and escape_date methods public static (to use them in other classes)
- fixed not working calls to remove_dir_content"
2009-09-14 17:48:58 +00:00
Ralf Becker
a8c9eebf52 Fix to get iCal in OS X 10.6 working (again):
WebDAV RFC 4918 allows a full url or a path as <D:href>:
        http://www.webdav.org/specs/rfc4918.html#ELEMENT_href
Some clients can NOT deal with one or the other:
- KAddressbook (at least in 3.5) can NOT subscribe to addressbooks (it
  does not find them) if just a path is used
- iCal in OS X 10.6 generates wrong requests, if a full url is used
2009-09-14 08:44:37 +00:00
Oscar Manuel Gómez Senovilla
2386a28cc5 Update Czech translation for trunk. Tracker #1956 2009-09-09 22:12:43 +00:00
Klaus Leithoff
ae9c0bc918 improving decode_header for charset x-unknown and encoding Base64 2009-09-08 13:25:57 +00:00
Klaus Leithoff
7272217d14 some work in progress regarding the mailhandling in tracker, moving some stuff to translation class from bofelamimail to be commonly available 2009-09-04 13:40:10 +00:00
Ralf Becker
4e2f35d4dc added support for ms excel 2007 2009-09-01 14:41:48 +00:00
Klaus Leithoff
b41730ee15 always try to set the Sender information; use set Sender, then try using the Sender info possibly supplied with the SMTP Auth info, then use the Profiles identity eMailaddress, if available 2009-09-01 07:12:50 +00:00
Ralf Becker
a52fa4d5fc "fixed sometimes not loaded self:$db object in crontab calls" 2009-08-27 19:59:18 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Ralf Becker
af19f3663e "added stream_stat required to use file_get_contents" 2009-08-26 14:10:25 +00:00
Ralf Becker
bcfe710de2 Fixed typo happend --> happened, as reported by David Rankin 2009-08-25 08:31:37 +00:00
Ralf Becker
cdd5103888 fixing a few more PHP5.3 problems, caused by PHP5.3 behavior to NOT
register cookies in $_REQUEST any more by default (there's now a php.ini
variable 'request_order' to controll that, but we want to work with a
default configuraltion):
- session restore was not working, as only $_REQUEST[sessionid] was checked
- multi domain installs not working, as domain cookie was not checked
- encrypted session were not working, because kp3 cookie was not checked
--> there's now a static method egw_session::get_request($name), which
checks $_REQUEST[$name], $_COOKIE[$name] and for that Safari bug also
$_COOKIE[ucfirst($name)]
2009-08-22 19:32:28 +00:00
Ralf Becker
ceaf32919f "fixing the fix ;-)
adding the addressbook object classes only when adding new accounts"
2009-08-22 07:51:55 +00:00
Ralf Becker
1628c09432 "- adding addressbook object classes to accounts (if they are supported by the server)
--> overcome problem reported by krupka(at)depag.de on the german list: password get's lost if contact get saved, because it had to remove the account first to add the addressbook object classes
- docu update
"
2009-08-22 07:13:59 +00:00
Ralf Becker
19e6159a4a - phpDocumentor headers and improved docu about class methods
- coding stylite cleanup
2009-08-22 06:58:38 +00:00
Ralf Becker
109c50fecf not used since some time (used vcard parser class is addressbook_vcard) 2009-08-22 06:48:07 +00:00
Ralf Becker
74a41902b8 "quote all table or column names, to allow to use reserved words of dbms" 2009-08-19 10:20:01 +00:00
Christian Binder
6b3c7942d6 disabled horde error logging by default; sorry devs but this killed my production server while accidentally having turned it on and synced a big addressbook - maybe we avoid happening this to others 2009-08-17 14:55:02 +00:00
Ralf Becker
8c8d1e7b8c "cant create an index without fields (was observed in broken backups)" 2009-08-17 07:30:47 +00:00
Ralf Becker
8d60b25ccf "autoindex for collections:
- listing resources in collection
- displaying properties
--> easy debuging and discovery of CalDAV server"
2009-08-16 15:24:43 +00:00
Ralf Becker
7ec34336f3 some precaution to never allow to (recursivly) remove /, /apps or /home 2009-08-12 09:47:53 +00:00
Ralf Becker
c9e2127325 "moving txt above all other text plain types, to get text/plain displayed as \"TXT file\"" 2009-08-10 17:00:44 +00:00
Ralf Becker
1e90070d36 "removed unnecessary loading of prefs on each request" 2009-08-09 14:40:01 +00:00
Nathan Gray
20fad24579 latin1 is not a valid parameter for htmlspecialchars(), changed fallback charset to UTF-8 2009-08-06 21:07:06 +00:00
Ralf Becker
96c5f58a49 extend fs_mime (mime type) to varchar(96) to fit application/vnd.openxmlformats-officedocument.wordprocessingml.document (msword xml format) 2009-08-03 11:42:24 +00:00
Ralf Becker
c6ea1e2720 mime type and icon for msword xml document 2009-08-03 11:41:08 +00:00
Klaus Leithoff
8f378da6c9 fix for jscalendar in sitemgr (was not displayed) provided by H.J.Tappe 2009-07-31 12:56:39 +00:00
Ralf Becker
7575812c04 "- fixed bug introduced in r27541: cache was updated with an empty translation array (typo in app-name variable)
- when updating all langs, do a transaction for each lang and update the cache after commiting the transaction (before the transaction was about all langs and the cache update withint the not commited transaction)
- fixed problem with autoloading of languages, check used filectime, update used filemtime, which can differ of cause"
2009-07-27 08:18:26 +00:00
Ralf Becker
3faa647194 "fixed call to old php4 constructor" 2009-07-24 11:35:34 +00:00
Ralf Becker
33b8cd82aa "- fixed typo phpgwpai (does not matter, as phpgwapi is searched anyway, if given app is not found)
- php5 __construct()
- using static common::find_image()
- removed function available from php5.1 on, as that's the requirement anyway"
2009-07-24 10:38:47 +00:00
Ralf Becker
28a9c4b470 "fixed two issues with translations in trunk
-  update the tree-level cache, as we can not effectivly unset it in a multiuser enviroment,
as users from other - not yet updated - instances update it again with an old version!
- add_app(): we have to use array_merge! (+= does not overwrite common translations with different ones in an app)
array_merge messes up translations of numbers, which make no sense and should be avoided anyway.

"
2009-07-24 10:16:00 +00:00
Jörg Lehrke
91f0b9ad9d Empty ENCODING and CHARSET 2009-07-18 18:00:39 +00:00
Ralf Becker
d679a00d1d "fix for bug #2112: fix maybe wrong case in username on login
makes problems eg. in filemanager (name of homedir)"
2009-07-18 13:14:13 +00:00
Ralf Becker
a34f7faec5 Fix for bug #2074 + #2075: Postgres update error to 1.6 2009-07-18 12:57:21 +00:00
Ralf Becker
52dbb060d2 "Fix for bug #2111: xml_functions.inc.php calls to an undefined method
as suggested by Igor Blanco"
2009-07-18 12:44:38 +00:00
Ralf Becker
cdb601da56 "Fix for bug #1885: egw_db->row doesn't work as expected
reverted r25031, as it returns the first record with numeric indexes (it's anyway a depricated function)"
2009-07-18 12:33:52 +00:00
Jörg Lehrke
48538a6ced Give higher levels a chance to avoid QP 2009-07-18 12:31:00 +00:00
Ralf Becker
e1a25587c8 update from 1.6.002 2009-07-18 10:00:33 +00:00
Ralf Becker
8fb60be7d7 checking if attachment or attachment dir exists, before trying to delete it, to quieten warning, also improved warning to be precise if file does not exist, is no directory, or permission missing 2009-07-18 09:12:52 +00:00
Klaus Leithoff
b6f0321b52 prevent using the numeric value of a group or user twice, by checking if it already exists for both sides 2009-07-17 10:32:57 +00:00
Ralf Becker
e667e168b4 - merged SyncML-1.2 branch with trunk:
svn merge ^/trunk/phpgwapi@27377 ^/branches/SyncML-1.2/phpgwapi .
2009-07-15 19:31:25 +00:00
Ralf Becker
a81931ca08 removed not used javascript files 2009-07-07 09:58:20 +00:00
Klaus Leithoff
6570199588 remove baseconfig for unneeded connectors 2009-07-07 09:06:11 +00:00
Klaus Leithoff
b09f75d839 remove baseconfig for unneeded connectors 2009-07-07 09:05:21 +00:00
Klaus Leithoff
b0efbe2637 upgrading to 2.6.4.1, removing _samples and unneeded connectors 2009-07-07 08:58:12 +00:00
Klaus Leithoff
3307109a1c reverted change of r72366 and fixed the real cause for the mainscreen_message problem: YOU SHOULD NOT HAVE TRANSLATIONS FOR mainscreen_message; You may have to force the reload of new language file-information 2009-07-06 11:11:40 +00:00
Klaus Leithoff
1e43e837c0 fix regarding get_app in translation. array_merge does renumber and += seems to bear problems, if there already is a translation for the given key (mainscreen_message) 2009-07-06 09:25:19 +00:00
Ralf Becker
28618da875 "egw_contentmap table \"belongs\" to syncml app!" 2009-07-03 07:43:02 +00:00
Ralf Becker
078edd98fd Fixed SQL error now giving an exception: it's caused by
vfs_stream_wrapper::get_path() returning an url without path
(sqlfs://default <-- no trailing slash), which causes
sqlfs_stream_wrapper::url_stat() to be called for an empty path, which
gives the sql error.
2009-07-01 18:03:46 +00:00
Ralf Becker
9a5c0f8d9c "removed forgotten comment, breaking the previous fix" 2009-07-01 16:17:44 +00:00
Ralf Becker
944bb3073c fixed since 1.7.002 not working update from 1.4:
- fs_link column is queried by sqlfs, but get created in 1.7.002
- pdo does not throw exception on sql errors, it silently ignores them
  --> told it now in constructor to also throw exceptions
- egw_vfs::find() was not always honoring the url option
2009-07-01 15:17:36 +00:00
Nathan Gray
19090879c4 Add ability to find out next run time as at a given date, instead of just 'now' 2009-06-26 14:26:14 +00:00
Klaus Leithoff
5e7b1d3fd6 little bugfix for the retrieval of images configured to load from vfs (vfs_imagedir) 2009-06-24 15:13:19 +00:00
Ralf Becker
50cac4e9b6 "Bugfix for tracker priorities 2-4 displayed wrong:
use += instead of array_merge, as we have phrases with numerical index, which get renumbered by array_merge
"
2009-06-22 12:46:41 +00:00
Ralf Becker
aaab800d80 "removed css to capitalize first letter of sidebox menu items
It makes problemes (hides first letter) with following browsers:
- Konqueror (Linux)
- Safari (Mac & Windows)"
2009-06-10 12:51:26 +00:00
Klaus Leithoff
af523b5904 propfind: fix regarding the retrieval of sqlfs_props, if key of array with a single entry is the vfspath for the file in question 2009-06-10 10:31:28 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
c28be373a6 fixed wrong default parameter for $callback_params, call_user_func_array requires an empty array and not null (gives a fatal error under php5.3) 2009-06-08 15:46:45 +00:00
Ralf Becker
f601537b95 fix for php5.3, which by default seems NOT include content of $_COOKIE in
$_REQUEST (request_order php.ini variable)
2009-06-07 15:49:12 +00:00
Ralf Becker
1fc84471d4 "Fixed not working async wrapper under SUSE ($_ENV is NOT set)" 2009-06-03 08:27:27 +00:00
Ralf Becker
3ec3c205ee created a rpm post script to automatic install or update EGroupware:
- cleaned up exceptions in cli code (no need to log, as it goes direct to the user)
- regarding small rpm redirect header (< 200 bytes) as no header
- fixed wrong detected vars for cli install (eg. webserver_url)
- fixed egw_cache to not stall if system_charset is not yet in db
2009-05-30 20:15:31 +00:00
Ralf Becker
132297a502 "add system-charset to keys of tree-wide cache, if not utf-8, as content depends on charset!" 2009-05-30 09:18:04 +00:00
Ralf Becker
75f4a3920e "Patch from Carsten Wolf:
Timesheet-Einträge mit Uhrzeit 0:00, die in der Winterzeit gemacht wurden, 
werden in einem Union-Query, der in der Sommerzeit stattfindet, dem falschen 
Tag zugeordnet. Vermutlich stimmt dies nur für den PostgreSQL query und ist 
Dir deshalb bisher nicht aufgefallen.

Der Patch:
Ändert den PostgreSQL-spezifischen Teil des queries so um, dass er 
Zeitzoneninformationen berücksichtigt."
2009-05-30 07:03:57 +00:00
Ralf Becker
53264e2c2b "new static method to get an attribute of a column, eg. the comment" 2009-05-30 06:58:48 +00:00
Ralf Becker
88c9aca3f3 "allow egw_vfs::mount() to work in setup:
- need to read fs-tab
- need to load wrapper (otherwise file_exists($url) fails)"
2009-05-28 11:29:17 +00:00
Ralf Becker
b32ded3400 "re-added (depricated) php4 constructor, as it get's called by some old apps" 2009-05-26 17:26:24 +00:00
Ralf Becker
7c8bd81149 "return a reference to the var in the session!" 2009-05-26 14:44:29 +00:00
Klaus Leithoff
0e4a75f027 added windows-1257 as it seems to be used widely, to display baltic letters 2009-05-26 13:42:05 +00:00
Ralf Becker
07825af683 "fixed not always executed hooks for disabled applications (using app-names from existing hooks now, instead of egw_info[apps])" 2009-05-26 11:55:52 +00:00