Commit Graph

2209 Commits

Author SHA1 Message Date
Klaus Leithoff
f093aeff24 feature to enable to be notified of events you created/modified/deleted yourself; That is most helpful if you get a notification eMail with the ics attached, and thus be able to import the event somewhere else (another EGroupware/Outlook/...) 2010-03-03 11:59:55 +00:00
Christian Binder
b39c0affba revert nonsense commit from jaytraxx 2010-03-02 18:21:50 +00:00
Christian Binder
fcd731a00b prevent iterating on empty array 2010-03-02 18:01:41 +00:00
Christian Binder
fcc50858ee set whole day flag on import if necessary - this is needed for better recognition in bo class 2010-03-01 15:37:59 +00:00
Nathan Gray
444f714020 Let calendar import return import errors 2010-02-27 17:31:46 +00:00
Jörg Lehrke
0412ebbb33 Set ORGANIZER for KDE 2010-02-26 15:39:46 +00:00
Jörg Lehrke
c816b4188e Fix (pseudo) exception handling in CalDAV 2010-02-26 12:37:07 +00:00
Christian Binder
8211aef3ff fixed wrong series event end times for whole day events when events occur or span over a daylight saving date, fixed typos 2010-02-25 17:05:24 +00:00
Jörg Lehrke
b2b8b35383 Fix various recurring event issues 2010-02-24 15:05:00 +00:00
Jörg Lehrke
85b6ba5ef0 Cleanup issues found during backport 2010-02-23 18:19:12 +00:00
Jörg Lehrke
08dbf52b66 Fix typos and code cleanup 2010-02-22 10:02:33 +00:00
Jörg Lehrke
e362a5b451 Use category names for history-log 2010-02-19 17:42:02 +00:00
Jörg Lehrke
ce7324f12f Fix daywise search 2010-02-19 17:10:15 +00:00
Jörg Lehrke
21ccdd5f28 Fix various synchronization issues (SyncML & CalDAV) 2010-02-17 13:29:28 +00:00
Nathan Gray
de4a0e9239 Add history logging to calendar 2010-02-12 20:18:45 +00:00
Jörg Lehrke
41f587d584 Fix wrong classification in get_event_info() again 2010-02-11 21:04:10 +00:00
Jörg Lehrke
65c06844e5 Fix wrong classification in get_event_info() and UID handling for CalDAV 2010-02-11 20:50:35 +00:00
Klaus Leithoff
a67f231b74 fix quoting in javascript message, for recurring events/exeptions 2010-02-11 09:06:33 +00:00
Jörg Lehrke
52ea4512ca Improve find_event() again 2010-02-11 07:33:32 +00:00
Jörg Lehrke
ad79f404e9 Fix recurring event issue 2010-02-10 19:47:39 +00:00
Klaus Leithoff
ed7f3a764e Free/Busy handling for groups and recources; Groups: if a group allows only free/busy to its users, then participation does not mean a lot. Resources: if grant is free/busy only explicit recources rights are not to be regarded 2010-02-10 12:31:34 +00:00
Jörg Lehrke
b6097fa156 SyncML Content Handling
* Improved find-methods
* Timezone support for InfoLog
* SyncML Preferences
    - addressbook and address list are now joined
    - Primary User Group for addressbook and calendar
* SlowSync uses old mapping information (can be disabled within the preferences)
2010-02-09 21:56:39 +00:00
Klaus Leithoff
b590c48a0b translations provided by g.mueller 2010-02-09 17:03:38 +00:00
Hans-Jürgen Tappe
b712cc0480 $ts += DAY_s in a 'for' loop does not work for daylight savings in week view
because the day is longer than DAY_s: Fullday events will be added twice.
2010-02-07 14:37:27 +00:00
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Jörg Lehrke
75746226a4 Use egw_time for InfoLog, tracking backend and Tracker 2010-02-04 12:08:03 +00:00
Christian Binder
ad47ebfafc adjust calendar db to have correct UIDs and RECURRENCE-IDs. PLEASE READ THE NOTES in the forum before you update (Subject: IMPORTANT NOTE FOR ALL SYNCML USERS) 2010-02-03 18:17:39 +00:00
Jörg Lehrke
da35c68b97 Fix occurrence count for recurring events again :-( 2010-02-03 15:57:44 +00:00
Jörg Lehrke
b596935291 Fixes for get_event_info() and enhancements for find_event() 2010-02-03 12:24:42 +00:00
Jörg Lehrke
8f71452859 Fix occurrence count for recurring events 2010-02-03 10:41:44 +00:00
Klaus Leithoff
f9a3ab52dc only do the integration query, if currentapp is calendar, because of performance issues thereof (addressbook fetches the last calendar event(, which fetchs the infologs)) 2010-02-02 13:29:51 +00:00
Klaus Leithoff
37b190e82e fixed position of tooltip did not fix the problem intended, and had unwanted sideeffects 2010-02-02 11:35:13 +00:00
Klaus Leithoff
995940eeb5 small improvements regarding the tooltip behavior for calendar 2010-02-02 11:23:11 +00:00
Klaus Leithoff
6e258109d8 as you can now see other apps in calendar, you must make sure you read only true calendar events for recurring dates, participants and customfields 2010-02-01 10:35:05 +00:00
Ralf Becker
25c29211f5 adapting for changed categories class 2010-01-30 23:54:08 +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
cc848debf2 disable integration for GroupDAV, SyncML, ... 2010-01-24 03:50:40 +00:00
Ralf Becker
2a4e0a3f3e make long tooltips scrollable and remove double call to html::tooltips 2010-01-24 03:19:59 +00:00
Christian Binder
7c7be4d31a Prevent the GUI from propagating a series exception to a series master. 2010-01-23 12:43:35 +00:00
Christian Binder
90dfe0a989 moved delete message to the right place (edit; not view). Prevent changing of fundamental values of an event series which would affect the recur_exception dates. 2010-01-23 10:40:44 +00:00
Christian Binder
42ceb277ac fixed typo 2010-01-23 09:53:58 +00:00
Christian Binder
98fe270524 fixed catching value from non-existing var 2010-01-23 09:53:38 +00:00
Hans-Jürgen Tappe
76e5a2d85c Tracker 2448. Fix div tag typo. 2010-01-22 21:17:07 +00:00
Christian Binder
3a0cf6bc29 delete exceptions too if a series of events get deleted by the GUI to avoid orphaned events. Same behaviour like we already have in future 1.6.003 2010-01-22 19:49:37 +00:00
Christian Binder
fb16385a8d method get_related should only return the ids 2010-01-22 19:47:32 +00:00
Christian Binder
a92a3b4a7b fixed typo 2010-01-22 19:45:25 +00:00
Ralf Becker
890125cab5 A few more change for the new integration interface, probably not the
last ...
2010-01-21 23:36:05 +00:00
Ralf Becker
12e5f2b218 allow calendar integration to supply participants and icons 2010-01-21 03:00:53 +00:00
Ralf Becker
74383ecb15 fixed warning if tagWholeDayOnTop($dayEvents) is called with no array, eg. false because no events found 2010-01-20 23:21:00 +00:00
Ralf Becker
8c1e245925 hook to supply further union queries for calendar display 2010-01-19 22:20:44 +00:00
Ralf Becker
55ff9ea1cf propset svn:keywords Id 2010-01-19 22:17:32 +00:00
Ralf Becker
810539ba9d sitemgr module for (yearly) planner 2010-01-19 22:17:01 +00:00
Ralf Becker
a04bae4fd3 fixed class, for birthdays 2010-01-17 03:59:50 +00:00
Ralf Becker
33c8e06bf7 new translations 2010-01-17 02:10:11 +00:00
Ralf Becker
816634a490 more work on yearly planner:
- month with less then 31 days: fixed scale, display filler
- marking special days like, weekends, today, holidays
- added navigation (next/previous month/year)
2010-01-17 02:03:11 +00:00
Christian Binder
c32beca725 fixed a typo 2010-01-15 08:49:36 +00:00
Christian Binder
5c29be0ed1 read event start and end times if not given from the caller to avoid broken recurrences 2010-01-15 08:44:21 +00:00
Ralf Becker
793aab00b0 small fix for events lasting more then 2 month, eg. holidays ;-) 2010-01-15 04:08:10 +00:00
Ralf Becker
fad791eabd first version of a yearly planner 2010-01-15 03:53:12 +00:00
Christian Binder
2e71e7e80f database updates: fix whole day event cal_end times and fix wrong recur_interval values. The first fix reduces duplicates on SyncML slowsyncs. The second fix prevents event series from being destroyed when a new exception was created on series created on previous EGw versions. Please update your databases. 2010-01-14 17:12:11 +00:00
Jörg Lehrke
14e7c0cd87 Add filter to calendar_so::get_recurrence_exceptions() method 2010-01-14 17:01:30 +00:00
Jörg Lehrke
023b5979dd Enable SIFE again 2010-01-13 20:48:39 +00:00
Jörg Lehrke
6bf3be83fc Fix empty EXDATE issue 2010-01-13 06:17:30 +00:00
Jörg Lehrke
bce9456486 Fix vCal 1.0 RRULE issues again :-O 2010-01-12 18:52:29 +00:00
Jörg Lehrke
b358505359 Fix vCal 1.0 RRULE issues again :-o 2010-01-12 18:31:53 +00:00
Jörg Lehrke
c8b5f589b6 Fix vCal 1.0 RRULE issue again ;-( 2010-01-12 15:08:15 +00:00
Jörg Lehrke
0f88cd4553 Fix vCal 1.0 RRULE issue 2010-01-12 13:54:30 +00:00
Jörg Lehrke
3bb60af5f1 Enforce SINGLE, if detected; cleanup logging again 2010-01-11 18:15:44 +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
70aee0a67d Fix task priorities for Funambol WM Client 2010-01-09 22:28:41 +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
Christian Binder
fc63d67fb9 invalid the cache if saved_states get updated, otherwise changed states will not be saved correctly in some cases 2010-01-07 10:41:51 +00:00
Jörg Lehrke
d82ca7378b Fix recur_enddate during import/export 2010-01-05 18:06:07 +00:00
Jörg Lehrke
ac7424612e Calculate the EGw recur_enddate properly 2010-01-05 11:24:27 +00:00
Christian Binder
946ecb41b2 substract only one second from incoming whole day events because EGw stores whole day events with DTEND 23:59:59 2010-01-04 13:56:20 +00:00
Christian Binder
80f9969ee3 fixed wrong indents 2010-01-02 13:25:58 +00:00
Christian Binder
43190660a4 implemented different priority values for funambol/outlook clients since outlook does not support the RFC defined PRIORITY values, fixed some typos 2009-12-29 13:51:07 +00:00
Christian Binder
3546f1057d call groupdav::fix_series() really just for groupdav clients 2009-12-27 15:49:40 +00:00
Ralf Becker
dd0a5c1b13 Fixed CalDAV/GroupDAV to include all exceptions of a series in the
resource of the series master. Now the status of single recurrences of a
serie are send to the clients as (virtual) exceptions as Jaytrax&Joerg
implemented it already for SyncML.
The implementation is unfortunately a little different, as CalDAV
differs from SyncML and I dont know the SyncML part that well. Maybe we
can re-unify the code again together.
Tested so far with Tb3/Lightning1.0b and a little with iPhone.
Please let me know, if you run into problems with other clients.
2009-12-27 04:21:33 +00:00
Christian Binder
e52c549c14 just a small translation fix 2009-12-09 09:28:21 +00:00
Nathan Gray
e532ee0944 Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 22:41:49 +00:00
Nathan Gray
ac14a5a1fd Implement options so link_query() can be limited 2009-12-08 22:36:43 +00:00
Ralf Becker
dd55355195 "fixed several small problems in new invitation and category acl" 2009-12-07 13:31:51 +00:00
Ralf Becker
60f72a9605 "fixed wrong default for referer (used if UA does not send one)" 2009-12-07 13:29:14 +00:00
Stefan Becker
7161fce93e fixed some typos and added german translations 2009-12-07 12:37:12 +00:00
Jörg Lehrke
d6da8d8980 Fix yearly recurrence issue for version 1.0 2009-12-06 18:04:08 +00:00
Jörg Lehrke
8f0bd9a5dc Fix recurrence UNTIL calculation 2009-12-04 15:38:23 +00:00
Ralf Becker
8a9392c681 fixed problem with blanks in account_id of owner parameter 2009-12-04 10:22:33 +00:00
Ralf Becker
44b15c1775 Category based ACL to limit adding of a certain category or changing the
status of a participant (included moving the event), 
eg. to implement a restricted holiday calendar
*** not yet fully tested ***
2009-12-03 18:24:19 +00:00
Ralf Becker
5066c5c3b7 docu update 2009-12-03 18:20:07 +00:00
Jörg Lehrke
e7ec189ea4 Use ['egw_info']['server']['server_timezone'] to reset server timezone 2009-12-03 08:28:45 +00:00
Oscar Manuel Gómez Senovilla
94503e6a0d Recover history from rev 28549 2009-12-02 19:30:50 +00:00
Oscar Manuel Gómez Senovilla
428c819921 Temporary removal to recover history from rev 28549 2009-12-02 19:29:28 +00:00
Jörg Lehrke
dd92e60180 Use UID for find_content(); code cleanups 2009-12-01 10:24:55 +00:00
Stefan Becker
2a1d7079ad delete space, that translations work fine again 2009-11-30 13:53:21 +00:00
Oscar Manuel Gómez Senovilla
7ec6262f11 Update for spanish translation 2009-11-30 06:46:00 +00:00
Jörg Lehrke
738726abf1 Adjust group attendee handling 2009-11-29 21:03:17 +00:00
Jörg Lehrke
3fa506f24a Change calendar filter 'all' to include 'owner'; typo in get_recurrences() 2009-11-29 21:02:15 +00:00
Stefan Becker
4aa96e5287 fixed some typos 2009-11-29 19:12:16 +00:00
Oscar Manuel Gómez Senovilla
91cb772bc5 Fix bad line causing problem in setup and update to current contents 2009-11-29 18:18:46 +00:00
Jörg Lehrke
a0e1a238dd Optimized SyncML memory footprint; fixes various filter issues 2009-11-29 14:03:45 +00:00
Ralf Becker
56fb819ac0 fixed wrong preference description 2009-11-28 16:14:32 +00:00
Stefan Becker
bee60c0f9b fixed some translationn typos 2009-11-28 15:17:12 +00:00
Oscar Manuel Gómez Senovilla
0b52947cc8 Move calendar lang files 2009-11-28 12:51:22 +00:00
Christian Binder
96c5fc3184 quietened logging 2009-11-27 08:33:10 +00:00
Christian Binder
98575180c5 give calendar owner the CHAIR role if we have ADD ACLs for the owners calendar 2009-11-27 08:04:29 +00:00
Jörg Lehrke
3d93128777 Enforce configured device timezone during import 2009-11-27 06:47:21 +00:00
Jörg Lehrke
43c5373b4d Fix event recur_interval mismatch issue 2009-11-27 06:46:32 +00:00
Jörg Lehrke
0f77f7e802 Fix role handling in get_recurrences() 2009-11-26 20:21:16 +00:00
Jörg Lehrke
6a7b07e3c6 New PARTICIPANT/ORGANIZER schema 2009-11-26 18:36:19 +00:00
Ralf Becker
0e60f6ac29 NOT clear timezone for private events (causes exception in calendar list
view)
2009-11-26 10:27:46 +00:00
Christian Binder
5ce294aa5c calendar GUI classes now use centralized method in categories class to check for category permissions 2009-11-26 08:28:06 +00:00
Ralf Becker
d53b681f21 - reworked referer handling to allow calling from other apps and not
changing back to calendar
- allow to specify custom template for event edit
2009-11-25 20:16:41 +00:00
Ralf Becker
be1cd2d832 "adding rounded corners for safari too" 2009-11-25 17:36:44 +00:00
Christian Binder
8e63887331 respect category permissions in calendar gui, unified var name of categories object 2009-11-25 12:58:09 +00:00
Christian Binder
a7c2b81b85 moved declaration of categories var to bo class 2009-11-25 12:55:59 +00:00
Ralf Becker
9726ed19fc - fixed typo calling not existing check_acl instead of check_acl_invite
- fixed check_acl_invite to work with no acl set too
2009-11-24 13:13:41 +00:00
Oscar Manuel Gómez Senovilla
a70df0ddbb Pending language updates 2009-11-24 05:51:49 +00:00
Christian Binder
ddb0f86257 check if array is present before iterating it 2009-11-23 13:11:18 +00:00
Christian Binder
8ae3b5f833 fixed empty RECURRENCE-ID on ical export 2009-11-23 13:03:35 +00:00
Jörg Lehrke
ed5799b519 Fix SIFE issues 2009-11-22 17:48:51 +00:00
Ralf Becker
71ef04effc added multiple week view to icons 2009-11-22 14:01:48 +00:00
Ralf Becker
4e48fab8b3 fixed typo pointed out by ^DaKu 2009-11-22 09:07:07 +00:00
Ralf Becker
55fc673dc5 - new configurable invitation ACL: Require an ACL grant to invite other
users and groups:
  * No: Every user can invite other users and groups (default and old
    behavior)
  * Groups: other users can allways be invited, only groups require an invite_grant
  * Users + groups: inviting both allways requires an invite grant
  One need to keep in mind, that setting an invitation ACL via a group,
  gives each groupmember the right to invite the group / create a group
  event. So the last option propable only works, if users manage
  invitations grants on their own, or admin only sets it in small working
  groups, where every member is allowed to invite the whole group.
  --> calendar backend code removes participants a user is not allowed
      to invite
- new "only groupevents" filter, showing only real groupenvents not
  events of groupmembers (added tooltips to explain filters)
2009-11-19 18:56:04 +00:00
Christian Binder
e76d659cac applied category preserve on import also to SIF classes 2009-11-19 15:30:53 +00:00
Jörg Lehrke
cb9ea723c6 Set VTIMEZONE DTSTART entries properly 2009-11-19 13:30:30 +00:00
Jörg Lehrke
1b20783041 Fix Yearly RRULE Issue with Funambol Outlook Sync Client 2009-11-19 11:52:41 +00:00
Jörg Lehrke
4088b81c5c Impoved support for recurrences if device timezone differs from event timezone 2009-11-19 10:13:17 +00:00
Jörg Lehrke
9e6d97f106 Fix VTZIMEZONE DTSTART Issue 2009-11-19 07:52:42 +00:00
Oscar Manuel Gómez Senovilla
af395af542 tracker #2304 2009-11-18 19:44:00 +00:00
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +00:00
Christian Binder
16538f4f9d use check_perms() on ical export and merge categories on import 2009-11-18 14:46:25 +00:00
Ralf Becker
91e694e79d Calendar UI improvments:
- show status of participants in border style of event
  + solid:  all participants accepted
  + dotted: all participants answered, but not all accepted
  + dashed: not all participants answered
- mark invitations (of current user, not calendar selected)
  + white background color (not category based color)
  + show blue questionmark icon in event header
2009-11-18 13:58:01 +00:00
Jörg Lehrke
86d648a995 Set event['tzid'] for clients using UTC timestamps 2009-11-16 17:28:34 +00:00
Ralf Becker
003420713b "fixed typo" 2009-11-14 09:13:37 +00:00
Ralf Becker
5d1fd4aedb "timezone of events in iCal class depend on $date_format parameter (depending on device type)" 2009-11-13 07:52:06 +00:00
Ralf Becker
d1f233d141 "human readable string representation of rrule:
- added timezone (if different from user timezone)
- moved monthly rule to first argument in brackets"
2009-11-12 19:39:46 +00:00
Ralf Becker
b7c5dd63dc "recalculate recurences, if timezone of a recuring event changes
(it would be nice, if there's a simple method to find out if two different timezones switch at identical times, eg. Europe/Berlin and Europe/Paris do so, so we can avoid the recalculation)"
2009-11-12 19:11:27 +00:00
Jörg Lehrke
db25947a38 Use new rrule iterator class for RRULE generation 2009-11-12 19:08:23 +00:00
Ralf Becker
b307d2a5cf "using new rrule iterator to calculate recurrences
--> still need to implement new monthly last day/week rules in iCal class"
2009-11-12 10:11:23 +00:00
Ralf Becker
e7a6f37af8 "- changed $interval parameter to default to 1, if < 1
- fixed wrong name for recur_enddate"
2009-11-12 09:31:42 +00:00
Jörg Lehrke
014119f075 Add device specific timezone settings 2009-11-11 21:31:33 +00:00
Ralf Becker
a4176448f0 "New recurance rule iterator:
- Implemented two new monthly rrules: last day of month and last weekday (eg. workday) of month
- The constructor accepts times only as DateTime (or decendents like egw_date) to work timezone-correct.
- The timezone of the event is determined by timezone of the startime, other times get converted to that timezone.
- There's a static factory method calendar_rrule::event2rrule(array $event,$usertime=true), which converts an event read by calendar_bo::read() or calendar_bo::search() to a rrule iterator.
- The rrule iterator object can be casted to string, to get a human readable describtion of the rrule.
- There's an interactive test-form, if the class get's called directly: http://localhost/egroupware/calendar/inc/class.calendar_rrule.inc.php
--> next step will be to use the rrule iterator in calendar_bo::insert_all_repetions() to calculate the recurences"
2009-11-11 20:38:16 +00:00
Ralf Becker
5e24cc0c9b "UTC is treated specially: it's implicitly mapped to tz_id=-1 (to be able to store it for events), but calendar_ical creates NO VTIMEZONE component for it." 2009-11-10 20:38:00 +00:00
Ralf Becker
aa90d987c1 "fix: csv export is not always exporting custom fields" 2009-11-10 20:18:35 +00:00
Ralf Becker
9df8b0bdbf new static calendar_timezones::DateTimeZone($tzid) method returning a
DateTimeZone object resolving by PHP not supported Windows timezones
with their standard alias
2009-11-10 20:07:33 +00:00
Ralf Becker
4865854281 Added aliases for Windows timezone to standard TZID's 2009-11-10 19:37:27 +00:00
Ralf Becker
85bf743434 "Using VTIMEZONE component from new calendar_timezones class (imported sqlite DB from Lighting) for exports and importing TZID from iCals.
Horde Code already uses VTIMEZONE component to return times in servertime, no need to change anything there."
2009-11-10 15:08:35 +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