Commit Graph

2960 Commits

Author SHA1 Message Date
nathangray
11e145967e Remove unused preferred export definition preference 2019-08-02 10:17:16 -06:00
nathangray
6229760af0 Calendar - add Invite permission for email addresses, fixes not possible to invite email addresses if users need invite permission 2019-07-26 14:59:10 -06:00
nathangray
4058d0f659 Calendar - make sure everything closes after you click 'Ignore conflict' on the popup after using quick event add 2019-06-24 09:56:18 -06:00
nathangray
38bed5c1c6 Calendar - change default for reset participant status from no to always
- update help text for that preference
2019-06-24 09:41:29 -06:00
nathangray
29cf6e60aa Calendar - avoid warning about illegal string offset 'template' 2019-06-21 09:52:59 -06:00
nathangray
64e1a5a830 Calendar - create function for reset of participant status when event is moved
- Still respecting preference for users
- Always resetting non-user participants
2019-06-18 15:11:53 -06:00
nathangray
5fce8985b8 Missing translations from Stefan Unverricht 2019-06-18 11:43:37 -06:00
nathangray
cd76cccf8b *Calendar - Quick add dialog now shows conflict warning instead of quietly stopping 2019-06-17 10:24:47 -06:00
Ralf Becker
3346976e22 several fixes for z-push 2.5 and iOS 12.3:
- send not invitations as calendar-events, just email meeting requests, as they double the events with z-push 2.5 and iOS 12.3
- send all participants incl. organizer as participants, as Exchange also does that and they are otherwise lacking on Android
- fix meeting requests without CLASS:PUBLIC got imported as private events
- better logging for ChangeMessage
2019-06-14 21:12:05 +02:00
nathangray
45b4c2112c Calendar - cast cal_id to varchar in sort too to avoid PostgreSQL error 2019-06-05 14:34:42 -06:00
nathangray
bddc878a96 Calendar - Check against user time when deciding if notifications should be sent 2019-06-05 14:02:31 -06:00
nathangray
99a223a5ad Calendar - Only send update notifications if the event is in the future 2019-06-03 11:28:39 -06:00
Ralf Becker
75403eea94 * CalDAV/CardDAV: allow removing categories 2019-05-28 18:48:14 +02:00
Ralf Becker
5b7281ed5c Revert "some chars also require encoding for iCal 2+ or vCard 3+"
This reverts commit f75b9e93f4.
2019-05-28 16:27:50 +02:00
nathangray
a5b18a8c7b Pass ignore_acl parameter onto event read, to properly find previous event when ignoring acl 2019-05-27 16:17:53 -06:00
Ralf Becker
038caabd72 some chars also require encoding for iCal 2+ or vCard 3+ 2019-05-27 17:00:40 +02:00
Ralf Becker
1338090a84 * CalDAV/CardDAV: encoding VT (vertical tab) as it stalls Outlook (CalDav Synchronizer) 2019-05-24 15:11:07 +02:00
nathangray
c8589b6439 Avoid type error while updating events if old_event is not found 2019-05-02 09:24:49 -06:00
Ralf Becker
0121d50c30 * Calendar: fix alarms on recurring events got lost after 1st ocurrence 2019-04-26 15:13:44 +02:00
Ralf Becker
9bd4ccde4c * iMip/Mail/Calendar: fix event-doublication on accepting, if the event was deleted once
caused by the deleted event was returned first and then ignored by calendar_ui::meeting
2019-04-25 16:22:34 +02:00
nathangray
f44a26432c Some changes to tests, maybe they pass
Mostly about getting a session for Sharing, even though we're on the command line
2019-04-24 14:14:35 -06:00
Hadi Nategh
36ca3dd024 Fix calendar report not taking all categories into account 2019-04-15 12:12:20 +02:00
Hadi Nategh
bf309755ef Fix calendar report not taking Day Light Saving into account 2019-04-10 09:07:06 +02:00
Ralf Becker
4e9c648c6a some missing translations incl. not commited EN ones 2019-03-29 15:50:37 +01:00
nathangray
484ec5aaa7 Calendar - import ical Add additional option to select category for iCal import.
iCal.
2019-03-27 10:27:24 -06:00
Ralf Becker
bf51083891 * ActiveDirectory: fix "not a valid GUID" error, when getting an avatar of a group 2019-03-09 12:38:15 +01:00
Ralf Becker
6e6137cdcb fix not working Export from calendar edit popup's actions 2019-02-25 09:44:31 +01:00
Ralf Becker
1246d77e28 fix Lightning work-around for %40 2019-02-21 17:49:54 +01:00
Ralf Becker
8670036af6 * CalDAV: work around Lighning not having synced event before accepting 2019-02-21 17:00:00 +01:00
Ralf Becker
7e79088191 * Calendar/Email: multiple users of external meeting request no longer overwrite each other status when accepting 2019-02-21 15:06:26 +01:00
Ralf Becker
5086e6cca3 * All apps: improved speed when searching with (many) custom-fields 2019-02-18 19:23:13 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Ralf Becker
7ab0d0b6d2 * Calendar/CalDAV: fix yearly recurring events stalling sync
also fixed PHP Warning about array_intersect parameter 2 not being an array
2019-01-21 12:57:52 +01:00
nathangray
c535708332 Calendar - Fix context menu copy & print actions 2019-01-17 09:21:19 -07:00
nathangray
f328b82972 Calendar - New event in top bar now sets time to start of next hour 2019-01-14 11:07:34 -07:00
nathangray
ac3656d85d Avoid JS error if account selection is turned off 2019-01-11 11:50:55 -07:00
nathangray
03aa34460a Change calendar link registry's add to use javascript so we can open client side 2019-01-10 15:01:05 -07:00
Ralf Becker
c560fe084e * Calendar/Mail: tell user if an event has been already already deleted when viewing a meeting request 2019-01-10 18:59:29 +01:00
Ralf Becker
8d4c7cc906 disable "warning" that we have no rights to store any modification
if user accept or reject a meeting invitation displayed in email
2019-01-10 17:34:33 +01:00
nathangray
00ea499559 Calendar - open add into a dialog widget 2019-01-09 16:48:04 -07:00
nathangray
1fe784ad3c Calendar - Move quick add preference to configuration tab
- Fix wrong preference name in add dialog checkbox
- Translations from Birgit
2019-01-07 09:23:49 -07:00
Nathan Gray
a4872300b4
Merge pull request #51 from nicorac/master
Bug in free/busy request handling (master)
2018-12-19 15:33:43 -07:00
nathangray
fa928efc57 Calendar - Pass group members on load to save some user data lookups 2018-12-19 15:31:44 -07:00
nicorac
cb106cf4f9 Fixed attributes cleanup in calendar_groupdav.post() and calendar_groupdav.put() 2018-12-19 21:50:13 +01:00
nicorac
64c1c126c0 Function calendar_ical.aggregate_periods() returns only the last event 2018-12-19 21:49:48 +01:00
nathangray
6bf8f6bb26 Fix some more PHP 7.2 warnings
Remove some calls to deprecated each()
2018-12-18 10:20:23 -07:00
nathangray
e525f7d5e3 Calendar - Allow to save alarms for all participants 2018-12-14 11:51:46 -07:00
nathangray
6a760e193d Calendar - Allow event owner to save alarms for all participants 2018-12-14 11:50:15 -07:00
Hadi Nategh
e52f3493f1 Prevent select widget from loading when running setup-cli. Fixes travis failure. 2018-12-14 11:15:28 +01:00
nathangray
5e9cace2bc * Calendar - Quick add dialog for new events 2018-12-13 14:35:26 -07:00
Ralf Becker
01bd78e34a fix PHP 7.3 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2" 2018-12-11 12:45:50 +01:00
Ralf Becker
c3b518b7d5 fix typo 2018-12-10 14:14:26 +01:00
Ralf Becker
d65194fce3 * Calendar/CalDAV: store huge iCal attributes compressed to fix stalled sync of Outlook/Exchange events
X-ALT-DESC from Outlook/Exchange gets easy over 16k of our table, but it's nicely compressable ;)
2018-12-09 13:54:35 +01:00
nathangray
15c94135bc - Add participant filter
- Change event status filter to one only, since multiple doesn't work
- Allow overriding of label, tag & multiple in filter
2018-12-06 11:41:31 -07:00
nathangray
e05ab4e7b7 * Calendar - add filters to iCal export definitions 2018-12-05 11:13:47 -07:00
nathangray
87ea099f05 Calendar - fix selecting 'Select all' did not consistently set select_all in calendar listview 2018-12-03 15:31:12 -07:00
nathangray
8451836a92 Import/Export - change signature of method that gets options to allow definition-specific values
Do export too, for consistency
2018-11-29 10:32:42 -07:00
nathangray
dba9a76246 Import/Export - change signature of method that gets options to allow definition-specific values 2018-11-29 09:35:35 -07:00
nathangray
e10905988a - Change resources preference option back
- Fix default to be resources with conflicts
2018-11-28 09:40:09 -07:00
nathangray
0c5d8a5784 * Calendar - Allow specifying the charset when importing ical 2018-11-27 15:56:40 -07:00
nathangray
ab2b00cd13 Calendar - fix empty history logs after drag and drop 2018-11-27 11:01:11 -07:00
nathangray
a999e6e94f * Calendar - Remove option to skip resource detection, we always do it now. 2018-11-23 10:01:58 -07:00
nathangray
5e48cbe78c * Calendar - fix alarm removed if user is only participant because of group invitation 2018-11-22 11:35:35 -07:00
nathangray
e9910345dc Calendar - fix missing history in a way that doesn't fail every test 2018-11-21 13:50:29 -07:00
nathangray
cbaf7e7062 Calendar - fix missing history 2018-11-21 13:24:49 -07:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
nathangray
78ddd31b71 * Calendar - fix recurring events were left out of merge from list 2018-10-25 10:09:46 -06:00
nathangray
24b869d61a * Calendar - Add checkbox to turn on or off emptying calendar before iCal import 2018-10-22 09:25:28 -06:00
Ralf Becker
83417962e9 release session to allow parallel requests to run 2018-10-19 11:48:53 +02:00
nathangray
5b14dc2f1a Show category name instead of ID in link title 2018-10-10 10:35:31 -06:00
Ralf Becker
9f6a7e3187 fixing no grant required for inviting contacts 2018-10-09 18:59:56 +02:00
Hadi Nategh
8808f15934 No grant required for inviting a contact 2018-10-09 18:09:34 +02:00
Ralf Becker
364305ed64 fix PHP Warning: Illegal string offset 'owner' 2018-10-09 13:57:15 +02:00
Ralf Becker
cc22e89242 * CalDAV: CalDAVSynchronizer: only allow owner/organizer to update or delete an event (not users with edit/delete rights) 2018-10-09 13:15:11 +02:00
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