Commit Graph

14447 Commits

Author SHA1 Message Date
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
Ralf Becker
867636861e Added calendar table for timezones:
- timezone data is imported from SQLite DB from Thunderbird Lighting 1.0pre
- contains iCal VTIMEZONE component
- also contains not yet used latitude and longitude for timezone
- methods to convert between TZID string, nummeric tz_id and VTIMEZONE
  iCal component
--> preparation to store timezone information for each events
    (using tz_id as foreing key into egw_cal_timezones table)
2009-10-31 14:47:16 +00:00
Jörg Lehrke
85a9a06a96 Only one VTIMEZONE per VCALENDAR; Export Alarms again 2009-10-30 21:39:19 +00:00
Ralf Becker
6989d59ba6 fixed no or only partial export of custom fields via nextmatch csv export 2009-10-30 11:18:47 +00:00
Jörg Lehrke
a87fc26aa7 Fix RRULE issue for vCal 1.0; Fix timestamps with TZ issue 2009-10-29 19:42:32 +00:00
Christian Binder
b2a3bf96a0 improved privacy on conflicting events - only check ACLs for invited participants and not all participant ACLs from conflicting event 2009-10-29 09:25:54 +00:00
Ralf Becker
28a778955c "setting standard IMAP and SMTP as default" 2009-10-28 21:59:49 +00:00
Ralf Becker
ed5a1234c6 "do not count \"deleted\" apps (apps without sources) as to upgrade" 2009-10-28 21:08:23 +00:00
Ralf Becker
d8ce440e33 fixed not encoded column-headers in csv export (were not useing the
export charset, as used for data)
2009-10-27 14:49:23 +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
78143cb9c6 "fixed backend detection to recognice $contact_id = array('account_id' => 123) as account" 2009-10-26 11:47:23 +00:00
Ralf Becker
8d2194f191 Fixed daylight saving change error using new egw_time class:
At the date when the change occured - yesterday ;-) - starttimes where
wrong by one hour, because difference of timestamp of daystart and
current time was one hour more (because of the switch)
2009-10-26 08:17:06 +00:00
Jörg Lehrke
6d3bf02d1c Pseudo recurrence exception handling hacks; vCal 1.0 extensions 2009-10-25 18:22:01 +00:00
Jörg Lehrke
60a7f69b57 Enable pseudo recurrence exception handling hacks 2009-10-25 18:20:58 +00:00
Jörg Lehrke
2eed0b9ddc Fix comment 2009-10-25 18:20:00 +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
Ralf Becker
5db94b17f4 "fixed not working fallback to \"sitemgr\" rights (was sitemgr-site, but has to be sitemgr-link)" 2009-10-25 17:21:31 +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
Ralf Becker
a00b86c0df "making send_notification public, as it's used by infolog" 2009-10-24 09:07:33 +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
9f5467ebac "fixed SQL error: info_id is ambigous happening if one has cf's in infolog AND filters with new link-filter" 2009-10-23 09:57:47 +00:00
Ralf Becker
b1e7fddde7 "making bo_tracking::datetime public again, as it's used outside of the class" 2009-10-23 09:47:15 +00:00
Christian Binder
e3074ac9dc re-implemented implicit EGW_ACL_PRIVATE grant for group invitations - removed unneeded error logging 2009-10-23 07:51:07 +00:00
Ralf Becker
6e50e45546 "adding /usr/bin/tnef to open_basedir" 2009-10-22 17:16:34 +00:00
Ralf Becker
9850e07dd2 "weekday starts pref contained only monday" 2009-10-22 16:55:09 +00:00
Ralf Becker
b74cf30404 "using a vbox (instead just a box) widget, to separate files in individual lines for readonly display too" 2009-10-22 14:02:19 +00:00
Ralf Becker
7d89d8866d "fixed calendar csv-export:
- was only exporting 15 events (num_rows not forwarded to bo)
- participants contained html for status icon"
2009-10-22 13:41:44 +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
d0028ffc31 Improve readability 2009-10-19 20:50:17 +00:00
Jörg Lehrke
a11565ec9c Fix VTIMEZONE RRULE issue and be more compliant with standard 2009-10-19 20:46:23 +00:00
Ralf Becker
763b58912a "do not fetch timezones (which trys to get installed languages) during setup" 2009-10-19 20:45:23 +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
89a81249cc "not calling translation::get_installed_langs() while in setup" 2009-10-19 18:17:59 +00:00
Ralf Becker
20e655c466 Default and forced preferences for nearly all apps 2009-10-19 17:04:11 +00:00
Ralf Becker
dbcf17972e "make 1:N relations more tolerant for none existing rows, gave a fatal error" 2009-10-19 12:24:34 +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
1fa1b92a56 docu update 2009-10-18 12:59:12 +00:00
Ralf Becker
3c3c988851 "fixing settings hook to run under setup (for default and forced prefs - not yet set)" 2009-10-18 12:58:38 +00:00
Ralf Becker
5408924afb All EGroupware apps can now set default and forced preferences on
installation time --> nice user experience and cleaner look (by hiding
exotic prefs by focing them to a usual value):
- settings returned from settings hook can contain values for keys
  'default' or 'forced'
- if settings hook require part of api or application, which are not
  available during installation time: use a method hook (instead of
  an old $app/inc/hook_settings.inc.php file), and check if
  $hook_param['setup'] is true
- default prefs created so far in setup/admin_account.php got removed
- common prefs in preferences_hooks::settings() got reworked to set
  default and forced prefs
- calendar prefs in calendar_hooks::settings() got reworked to set
  default and forced prefs
--> I will rework prefs of all our (default) applications according to a
best practice list of Stylite consultants
2009-10-18 12:57:30 +00:00
Ralf Becker
fe6c8fd226 also add extended (textual) information, if ical is selected for notifications 2009-10-18 12:46:18 +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
1673f556d9 "missing commit from tz selection" 2009-10-16 09:55:12 +00:00