Commit Graph

2886 Commits

Author SHA1 Message Date
nathangray
eb7ea6bfab Fix resource invite permission was checked for every resource type 2018-10-01 10:26:06 -06:00
Ralf Becker
d9e2d991e1 fix not working CalDAV PUT of recurring event 2018-09-24 15:51:03 +02:00
Ralf Becker
f7d09e9ec0 * CalDAV: work around problems with Outlook CalDAV Synchroniser (https://caldavsynchronizer.org/)
- sends a DELETE to reject a meeting request --> deletes event for all participants, if user has delete rights on the calendar
- always sends all participants back with status NEEDS-ACTION --> resets status of all participant, if user has edit rights
--> remove all add, edit, delete rights from other users
2018-09-20 15:58:00 +02:00
Ralf Becker
c1316beda5 WIP: periodic running admin-commands 2018-09-18 16:27:40 +02:00
Ralf Becker
a495e167fd * CalDAV/Calendar: iOS sometimes created a new event when confirming a deleted one 2018-09-13 15:35:56 +02:00
nathangray
28781956fe Calendar - Fix bug exporting list to iCal with no end date gave empty file 2018-08-22 10:00:40 -06:00
nathangray
4d8fbf8b28 Disable unsupported definition filter option for iCal export 2018-08-14 11:18:39 -06:00
nathangray
8f7cf3541b * Calendar - Fix CSV export search results did not work (gave error) 2018-08-14 10:04:27 -06:00
Ralf Becker
d2b2924638 fix wrongly displayed time in alarms 2018-08-13 15:26:50 +02:00
Ralf Becker
e88450037a fix wrong time for past alarms and added nicer working for alarm "at start of the event" 2018-08-10 11:32:35 +02:00
Ralf Becker
af6c2a0f25 * CalDAV/Calendar: fix not working snozzing of alarms in Thunderbird
Caused by triggered alarms were - so far - immediatly deleted, now we keep them around for an other day, so TB get them in the update iCal after PUTing its X-MOZ-SNOOZE-TIME-<timestampt>
2018-08-07 15:03:59 +02:00
Ralf Becker
a2758c4319 * CalDAV/Calendar/Resources: do not allow to change resource quantity via CalDAV
Resource quantity is restored from existing event, as neither iOS nor Thunderbird returns our X-EGROUPWARE-QUANTITY attribute on the attendee. Also display quantity > 1 in brackets after resource name.
2018-08-06 19:04:41 +02:00
Ralf Becker
17f8e3016b * CalDAV/Calendar: fix accepting invitations with an not attending organizer adds organizer as attendee
Before we added a not attending organizer as attendee with status DELEGATED, now we no longer add him as attendee at all.
2018-08-06 18:21:45 +02:00
Ralf Becker
42736c833c * CalDAV/Calendar: dealing with Thunderbird setting partipant status on organizer
If secritary creates an event in the owners calendar the owner/organizer is on status NEEDS-ACTION.
Accepting that event in Thunderbird set PARTSTAT=ACCEPTED on ORGANIZER, while ATTENDEE is still on PARTSTAT=NEEDS-ACTION. In that case prefer the PARTSTAT from ORGANIZER over ATTENDEE. 
In my opionion Thunderbird behavior is wrong, thought that fix does not do any other harm,
as no other client sets PARTSTAT in ORGANIZER.
2018-08-06 18:21:45 +02:00
Ralf Becker
e8f067097b fix PHP Warning: Invalid argument supplied for foreach() 2018-07-30 09:51:44 +02:00
Hadi Nategh
10a4662d07 * Notifications: fix some calendar notifications event can not be opened, error: "egw.open() app is not in registery!" 2018-07-27 11:13:07 +02:00
nathangray
a75272b1bc * Calendar - merge placeholder {{participant_emails}} now includes group members for group invitations 2018-07-24 13:34:49 -06:00
Hadi Nategh
c5e902926b Fix notifications with same id but no links are not getting grouped together 2018-07-23 16:25:07 +02:00
nathangray
1c2466334e * Calendar - Fix participant quantity lost when changing status 2018-07-19 13:38:24 -06:00
Ralf Becker
b4012e34f4 * Calendar: fix EGroupware users were notified even if they choose not to in their preferences 2018-07-17 16:03:38 +02:00
Hadi Nategh
eb5652dc20 * Api: get avatar showing up for taglist accounts and calendar owner 2018-06-29 10:12:59 +02:00
Ralf Becker
f6a6412d25 also show external organiser in textual replies and remove him from participants 2018-06-27 20:22:04 +02:00
Ralf Becker
8e419f1c1a * Calendar/Mail: handle meeting requests for single recurrences and exceptions 2018-06-27 18:28:20 +02:00
Hadi Nategh
b64d96f3de * Calendar: Fix notifications show actions for alarm notify messages 2018-06-27 16:25:29 +02:00
Marcel Klehr
75572b64c8 Fix calendar invitations of resources
Used to prevent anyone from inviting when general access was disabled
now it only prevents users who don't have direct booking permission.

see #38
2018-06-27 15:44:47 +02:00
Ralf Becker
8d253de6f6 fix IDE warnings 2018-06-27 10:59:31 +02:00
Ralf Becker
c4e4eb45a4 * Calendar/CalDAV: sending correct iMip REPLY to mail invitations and only reply to external chair 2018-06-26 15:58:44 +02:00
Hadi Nategh
32999ee231 Set notify priority to high only for alarms 2018-06-21 17:29:39 +02:00
nathangray
6fab7bfc91 Calendar - reset meeting request to send using TO, email all participants uses BCC 2018-06-20 13:32:47 -06:00
nathangray
6baad3bee1 * Calendar - add context menu actions for email & documents to non-list views 2018-06-19 14:35:08 -06:00
nathangray
281564b4a6 * Calendar - Mail all participants action now uses BCC instead of TO 2018-06-19 09:12:42 -06:00
Hadi Nategh
6b74f2685d * Notifications: implements entry based priority to make user more aware about certain notifications like calendar alarm entry. 2018-06-19 16:03:10 +02:00
nathangray
17daf70e8a Use same action for timsheet in list view as other views 2018-06-18 11:57:25 -06:00
nathangray
eb13a71027 * Calendar - Move some general preferences into a new tab "Configuration" 2018-06-15 09:10:09 -06:00
Ralf Becker
ba55ea67cc * Calendar: fix SQL error during purge caused by droped SyncML support 2018-06-14 10:39:13 +02:00
nathangray
bc43d93950 * Calendar - Open timesheet from recurring event on selected occurence instead of first occurence 2018-06-08 11:32:38 -06:00
nathangray
3444126629 * Calendar - Add preference to update calendar view immediately when navigation calendar in sidebox is changed 2018-06-05 12:57:26 -06:00
nathangray
82fccefcaa * Calendar - reset the default alarm if you switch an existing whole day event to duration 2018-05-23 10:58:19 -06:00
nathangray
8fb30b8ce4 * Calendar - Fix notification for single event in series had original start date 2018-05-15 11:27:28 -06:00
nathangray
6eb3ca2592 Fix whole day event checkbox lost the default alarm, change 24 hours label to 1 days 2018-05-15 09:47:10 -06:00
U-quokka\komaba
2da4ec91db update Japanese language files. 2018-05-12 08:24:38 +09:00
Ralf Becker
d26d779376 not setting pe_status from datasource (its ignored now anyway) 2018-04-27 18:48:06 +02:00
Ralf Becker
4323a40aad use "none" instead of "0" to allow default or forced pref 2018-04-10 14:02:38 +02:00
Ralf Becker
98376b5908 * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 16:02:00 +02:00
Nathan Gray
470b989672
Merge pull request #38 from marcelklehr/feature/disable-cal-invitations-for-resources
Allow disabling calendar invitations to resources
2018-04-03 10:07:29 -06:00
nathangray
f0234237a8 Calendar - change iCal import purge filter from date range to number of days in the past/future 2018-04-03 10:05:36 -06:00
Hadi Nategh
7949d8b2fc Fix lots of misspelled words in translations 2018-03-26 16:02:42 +02:00
Hadi Nategh
6b7ac9651c Fix calendar change status (eg. notifications or via context menu) for grouped events not setting the status on first call 2018-03-22 11:56:10 +01:00
Ralf Becker
1d835928d2 new method Api\Framework::getUrl() to get a full / externally usable Url 2018-03-21 12:51:52 +01:00
Marcel Klehr
fb6cfee24c Allow disabling calendar invitations of resources 2018-03-19 16:58:44 +01:00
nathangray
1f2770639c * Calendar - iCal import - Add option to specify owner of imported events
- Add option to empty calendar before import
2018-03-14 16:09:47 -06:00
nathangray
c8f4fda1be Calendar - fix warning "Cannot use a scalar value as an array" when saving new event with default alarm 2018-03-09 15:38:47 -07:00
nathangray
0ab3a209cc Calendar - fix birthday preference always sent to client as false 2018-03-07 14:06:02 -07:00
nathangray
04c4cd9d7a * Calendar - add preference to display birthdays as events as well as holidays 2018-03-05 15:07:37 -07:00
nathangray
d76f467f94 * Calendar - Fix exporting CSV from search results exported owner as participants 2018-03-02 11:13:18 -07:00
nathangray
228629f93f * Calendar - Filter birthdays by name to remove duplicates caused by account + contact 2018-02-16 09:29:51 -07:00
nathangray
de17d9a2ea * Calendar - new placeholders {{participant_emails}} for non-declined participants and {{participant_summary}} for a summary of participants by status 2018-02-15 11:50:55 -07:00
nathangray
47f96640c9 Don't error if a single ID is sent, just cast it 2018-02-14 10:16:06 -07:00
nathangray
85c363a79e * Calendar - Allow templates without pagerepeat or range tags to work using only the first ID 2018-02-07 11:02:50 -07:00
Ralf Becker
4ce11e1468 fix SQL error caused by trying to attached files, if we have no event id 2018-02-02 17:29:13 +01:00
Hadi Nategh
c2a3c19124 W.I.P restructuring of Notifications actions 2018-01-24 19:02:49 +01:00
nathangray
21436f6b85 * Calendar - Improve parsing of users when importing to be able to handle parentheses in names 2018-01-17 14:59:15 -07:00
nathangray
7a2f0a8f24 * Calendar - Fix bug where account birthdays were not shown if there was a contact with a birthday on the same day 2018-01-12 10:50:10 -07:00
nathangray
0ec4708ba9 * Calendar - Fix bug hiding a user's visible private events when just the group was selected 2018-01-11 09:33:49 -07:00
Hadi Nategh
2c2d9b02a7 Fix a typo 2017-12-20 12:16:34 +01:00
nathangray
e2191bfec2 Calendar - rework merge for clarity & reduce code duplication
- fix ranges were not working from list
 - silence some warnings
2017-12-18 14:28:46 -07:00
Ralf Becker
26c67aa33d default to user timezone on export, if event has no or invalid timezone 2017-12-18 19:48:25 +07:00
nathangray
632928887a * Calendar - Fix merge from list loaded endlessly instead of generating document 2017-12-15 14:27:19 -07:00
nathangray
87b6bfdbfb * Calendar - merge from sidebox will now open in Collabora, if available 2017-12-15 13:50:18 -07:00
nathangray
540f3d574d * Calendar - Fix alarms set in different timezone from server moved when saving event - now fixed default alarm too 2017-12-11 14:10:55 -07:00
nathangray
33110fc2cd * Calendar - Fix alarms set in different timezone from server moved when saving event 2017-12-06 13:47:54 -07:00
nathangray
1bef3549af Calendar - check for JSON response before using it 2017-12-01 10:33:40 -07:00
Hadi Nategh
61bc061991 Fix PHP Fatal error: Uncaught Error: Class >‘Api\Categories’ not found in /usr/share/egroupware/calendar/inc/class.calendar_datasource.inc.php:71 2017-11-21 11:43:17 +01:00
nathangray
083255601a Calendar - extend standard searching to include custom fields 2017-11-14 09:56:07 -07:00
nathangray
f53c60c141 * Calendar - Add preference to set color of events without category color 2017-11-07 10:25:47 -07:00
nathangray
f33ce2d9f5 * Calendar - use same search as the rest of EGroupware (supports quotes, boolean, #<id> to search for id) 2017-11-07 09:55:12 -07:00
nathangray
b2f2acc38c Remove debug 2017-10-23 17:56:43 +02:00
nathangray
9e48fe5ac2 Turn on some more debugging to try to figure out what goes wrong on Travis 2017-10-23 17:02:33 +02:00
nathangray
7ee539ab3a Turn on some more debugging to try to figure out what goes wrong on Travis 2017-10-23 16:11:41 +02:00
nathangray
b155c616b8 Turn on some debugging to try to figure out what goes wrong on Travis 2017-10-23 15:27:23 +02:00
Ralf Becker
feec899337 fix (unexplained) infinit loop in phpUnit tests under PHP 5.6 2017-10-17 16:13:02 +02:00
nathangray
1a6820a5aa Calendar - fix missing history log entry when changing status via context menu 2017-10-11 15:11:13 -06:00
Ralf Becker
bbc5c05b95 quiten permanent error_log when updating alarms 2017-10-09 16:59:38 +02:00
nathangray
6f12a443e5 Calendar - fix a few more missed ajax=true that were causing problems loading 2017-10-05 11:20:21 -06:00
Ralf Becker
3314ca2ea0 use already translated phrase "weekview" 2017-10-04 09:16:52 +02:00
Ralf Becker
d75ca6ad13 aggregate freebusy periods and fix off by one sec due to whole-day events 2017-10-03 11:19:27 +02:00
nathangray
5fd41d95b4 Calendar - make sure notification links open properly (missing an ajax=true) 2017-09-28 10:38:31 -06:00
Ralf Becker
12bcc92f70 * CalDAV: alarms on recurring events are lost when snoozing alarm or reloading event after 1. recurrence of alarm 2017-09-21 17:52:25 +02:00
Ralf Becker
3cc0012c77 * CalDAV: fix not parsed recurrence exceptions
caused by newer Horde Icalendar class always importing them as date
2017-09-21 15:19:07 +02:00
Ralf Becker
c4f048bbae fix new events were created with cal_etag=NULL, which would then also never incremented on update
(because cal_etag=cal_etag+1 for NULL stays NULL). The later is fixed now by using cal_etag=COALESCE(cal_etag,0)+1.
2017-09-21 14:02:13 +02:00
nathangray
598a47ecac Calendar - Remove automatic running of upgrade to 16.1.003, it was slow and ran too often 2017-09-15 11:35:24 -06:00
nathangray
39759eb267 * Calendar - fix bug where private events for multiple users in week view only showed for one user 2017-09-05 11:20:53 -06:00
nathangray
644f9e2dff Avoid fatal error in automatic preference update 2017-08-31 10:26:05 -06:00
Ralf Becker
dd299021c2 run 16.1.002 --> .003 update automatic, to not show user time-grid in month-view, if admin did not run the update 2017-08-31 14:03:35 +02:00
nathangray
4fcebd2f93 * Calendar - add preference to view month as a time grid, same as other views 2017-08-28 10:01:27 -06:00
Ralf Becker
8dba9967e3 * Calendar/CalDAV: do not report non-participants as busy or conflict 2017-08-18 10:00:37 +02:00
nathangray
1d6fcf3f68 Change recurrence end date comparison to handle up to 1 second difference, for mix of old and new events
see 2f534beb34
2017-08-17 14:02:26 -06:00
nathangray
02f0936f9c Allow group pseudo-distribution lists 2017-08-02 11:14:31 -06:00
nathangray
4ad3c8cb91 * Calendar - allow to invite all users on a distribution list, regardless of calendar permissions 2017-08-01 09:02:09 -06:00
nathangray
64a12f1ddd Calendar - fix bug in recurring event exception edit across timezones causing events to move or get lost 2017-07-31 12:39:15 -06:00
nathangray
ce9291d6e5 * Calendar - Add placeholder for birthdays {{day/birthdays}} for day table 2017-07-27 14:52:48 -06:00
nathangray
5fd6ccd409 * Calendar - Add placeholder for birthdays {{day/birthdays}} for day table 2017-07-27 14:41:16 -06:00
nathangray
2bfe829dd8 Fix calendar entries opened from mail using a link could not be edited 2017-07-27 13:28:37 -06:00
nathangray
2d9c6c3ae9 Calendar - if editing event without popup, cancel loads normal calendar UI instead of doing nothing. 2017-07-26 09:46:19 -06:00
Hadi Nategh
869f3adb6a * Calendar: Fix default alarm does not get changed relatively to the selected start time when creating new event 2017-07-04 16:32:59 +02:00
nathangray
2f6ff582f1 * Calendar - Fix selected owner goes missing on logout 2017-06-27 10:31:38 -06:00
nathangray
d46937fbe3 * Calendar - Include monthly type (by weekday or by date) in recurrence rule strings 2017-06-26 10:46:18 -06:00
Hadi Nategh
4a9ce8e82f Fix calendar participants validation error, caused by commit 5995c63034 2017-06-26 12:52:12 +02:00
nathangray
a44bdb99f9 * Calendar - Fix edit via emailed notification link did not work properly 2017-06-22 11:07:42 -06:00
Hadi Nategh
1fc4f79850 Revert commit 8340520589 and implement the fix in more sane way 2017-06-14 14:52:31 +02:00
Hadi Nategh
8340520589 * Mail: Fix links get removed from description content of calendar appointment email 2017-06-14 10:27:51 +02:00
nathangray
5995c63034 Calendar - fix some bugs setting calendar owner via URL when calendar app is not yet loaded 2017-06-12 12:35:12 -06:00
Ralf Becker
9f28be8f75 * Calendar: fix SQL error when automatic purge of older events is configured 2017-06-12 13:41:04 +02:00
Ralf Becker
d3dbe6e31e remove duration check of 86400, as it fails over daylight saving changes and more then one day 2017-06-12 12:33:33 +02:00
nathangray
10934f9cc1 Calendar - Fix 1 day holidays with duration specified as P1D spanning 2 days 2017-06-09 15:28:06 -06:00
Ralf Becker
dd412dc071 also open "application/ics" in calendar like "text/calendar" 2017-06-08 15:33:50 +02:00
nathangray
af2ff1859c Calendar - All tests passing for daily recurring events, all day and otherwise 2017-06-07 13:19:20 -06:00
nathangray
191b129201 Calendar - Discrete (not all day) events working for all timezone combinations 2017-06-06 15:03:14 -06:00
nathangray
2bfd1c4aa9 Calendar - Ok, working for Edmonton & Berlin... 2017-06-01 11:20:38 -06:00
nathangray
11f3719348 Calendar - change how we're dealing with (all day) timezones, keeping the event in the assigned timezone instead of always changing it to the server timezone. 2017-05-31 09:55:41 -06:00
nathangray
9cf6685a77 Calendar - all day recurring events would extend one day longer for some timezone combinations 2017-05-23 13:37:34 -06:00
Hadi Nategh
479a557381 WIP of Notifications system:
- Add actions for notification messages
- Fix on message click handler
- Implement appointment request actions for calendar notifications
2017-05-23 16:54:20 +02:00
nathangray
8e13f3977f Calendar - Fix daily recurring recur end date got one day later when you save if timezone was Tahiti 2017-05-11 19:15:10 +02:00
nathangray
ce990f65ae * Calendar - Fix bug where recurring events were moved to server time when adding a recurrence exception 2017-05-10 13:47:13 -06:00
nathangray
c42af6c4b9 * Calendar - creating an exception to a recurring event now copies the links over to the exception 2017-05-08 13:18:16 -06:00
nathangray
676974fcdd Calendar - Fix recur end date got one day sooner when you save if timezone was Tahiti 2017-04-20 12:57:26 -06:00
nathangray
4221dfbdd6 Calendar - better handling of recurrence when exporting & importing CSV 2017-04-20 10:01:32 -06:00
nathangray
8d7a9b7284 Move VFS widget file handling from Etemplate/Widget/Customfields to Storage/Customfields, to avoid errors with CalDAV/CardDAV not being able to find Etemplate/Widget/Customfields 2017-04-17 09:48:45 -06:00
Ralf Becker
ba47919a6b fix regression of #9810077: CalDAV PUT of unlimited recurring event run until max_execution_time 2017-04-15 18:22:36 +02:00
nathangray
9eaf1f20ef Thumbnails (and handling) of uploaded files on new entries that have not yet been saved 2017-04-10 11:21:03 -06:00
Ralf Becker
25b4c534a4 fix PHP warning : array_diff_key(): Argument #2 is not an array on line 281 2017-04-10 15:59:48 +02:00
nathangray
99595ba1cf Moce calendar birthday stuff into contacts, expire the birthday cache if birthdays change 2017-04-04 10:58:46 -06:00
nathangray
da5cf61542 Calendar - Store contact birthdays in instance cache (by addressbook) instead of session cache to bring the session cache size down. 2017-04-04 09:36:39 -06:00
Ralf Becker
dfbd0d2e6f do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions 2017-04-04 16:54:36 +02:00
nathangray
2f534beb34 Calendar - Update recurrence adjustment check to match range end change from 9810077eab 2017-03-31 10:27:49 -06:00
Ralf Becker
108e25b4b3 * Calendar/CalDAV: fix server did not send alarms for virtual exceptions of recurring events 2017-03-31 17:38:02 +02:00
Ralf Becker
a3154e8de2 * Calendar/CalDAV: fix changes on clients creating multiple alarms on server
fix changing alarm offset on Mac was additional keeping alarm with old offset
also ignoring now X-LIC-ERROR from libical
2017-03-31 17:34:44 +02:00
Ralf Becker
af6fe077dd fix Call to a member function format() on null caused by 9810077eab 2017-03-31 14:05:21 +02:00
Ralf Becker
9810077eab * Calendar/CalDAV: fix wrong end-date of recurring events incl. whole-day events 2017-03-29 19:32:49 +02:00
Ralf Becker
9dcc52b37d fix not sending deleted recurrences as delete (of master) in CalDAV sync-report 2017-03-29 19:32:49 +02:00
Ralf Becker
97af627279 * Calendar: fix error in mail all participants on minimal install
Call to undefined method EGroupware\Api\Accounts::get_account_name()
2017-03-28 19:50:47 +02:00
Hadi Nategh
ab787243b9 Satisfy postgres about integer not comparable to varchar 2017-03-20 18:06:23 +01:00
nathangray
bd595469ab Calendar - Even better, just filter out accounts from contact results 2017-03-17 08:43:46 -06:00
nathangray
77b90abd54 Calendar - Lookup person_id and filter by that, in case account name is different from contact file_as 2017-03-17 08:25:27 -06:00
nathangray
f0b3a50d0f Always hide the contacts associated with user accounts from calendar owner options, we just show the accounts. 2017-03-09 13:16:57 -07:00
nathangray
2dbe3e785e Calendar - Remove contacts matching accounts user has no access to so nobody selects it thinking they are selecting the user account 2017-03-07 11:08:26 -07:00
Ralf Becker
b75d8e6692 reverting using zPush TimezoneUtil, as it causes Outlook sync to stall 2017-02-27 20:08:53 +01:00
nathangray
8033f8ff7c Fix participant role is lost when changing another user's status 2017-02-27 09:21:52 -07:00
nathangray
3aef0fe1a6 Add sorting to match planner view grouping, so pagination gets the top rows first 2017-02-24 10:33:02 -07:00
Klaus Leithoff
a2e584d632 fix cut and paste typo 2017-02-24 08:05:15 +00:00