Commit Graph

3210 Commits

Author SHA1 Message Date
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
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
Klaus Leithoff
621363820d replace calendar_zpush::tz2as with TimezoneUtil::GetFullTZFromTZName call, as it seems to produce more accurate results 2017-02-23 11:32:22 +00:00
Klaus Leithoff
2ba626ac04 using TimezoneUtil in GetMessage to determine as_tz array more correctly 2017-02-23 11:11:04 +00:00
Hadi Nategh
508d0aa920 Try to match placeholder NENVLF with its described example 2017-02-10 10:41:43 +01:00
nathangray
7807b3b0c1 Remove some unused code, clean up variable declaration, fix a potential bug in return value.
(thanks, Scrutenizer)
2017-01-31 09:17:54 -07:00
nathangray
29cba6a8a5 Change import record type from abstract to calendar's record class. Since it will fail otherwise, no need to be general.
(thanks, Scrutenizer)
2017-01-31 09:16:03 -07:00
nathangray
5946e9f7cd Avoid errors if $instance_date is not passed correctly
(thanks, Scrutenizer)
2017-01-31 09:14:50 -07:00
nathangray
94f678548b Add config option to show age for birthdays 2017-01-25 10:52:47 -07:00
nathangray
6a815b53b3 Fix calendar owner search would only return 1 matching resource category 2017-01-20 08:55:57 -07:00
Ralf Becker
55edf5cfea fix warnings when importing events: $ignore_acl=true and only cal_id given 2017-01-19 11:11:40 +01:00
Ralf Becker
afaa722c47 modifications to allow exporting of all calendar entries via stylite/migrate.php script, added cal_deleted as timestamp and support again setting $updateTS=false in calendar_boupdate::save() 2017-01-18 18:31:47 +01:00
Ralf Becker
78f4a6fb9e one missing customfields 2017-01-17 18:31:58 +01:00
Ralf Becker
f9bbcdeb86 * Timesheet/Resources/Filemanager/Calendar: customfields could not be deleted 2017-01-17 18:24:56 +01:00
nathangray
e5b93acc4f Implement pe_status, set_status() and delete() 2017-01-11 15:48:10 -07:00
Hadi Nategh
03fb09e199 Do the same for week_days count as commit bb9bf40edb 2017-01-11 10:36:14 +01:00
nathangray
aa63949012 Update notification popup to fit theme better 2017-01-10 11:42:44 -07:00
Hadi Nategh
bb9bf40edb Make days count in calendar report independent of the amounts 2017-01-10 18:03:48 +01:00
Hadi Nategh
7329088e14 Do not write the rows in calendar cat. report if all columns are zero 2017-01-10 09:26:57 +01:00
Hadi Nategh
104731cb8d * Calendar/Categrory report: Consider multidays events in over range calculation 2017-01-09 15:00:44 +01:00
Hadi Nategh
e8b2838616 * Calendar/Categrory report: Add sort option for the report 2017-01-06 16:15:34 +01:00
Hadi Nategh
3e4d1acfa2 * Calendar/Categrory report: Fix miscalculation of multidays events because of wrong week number 2017-01-06 14:48:13 +01:00
nathangray
153dde2200 Move holidays.php out of inc subdirectory, add a failure check 2017-01-04 08:21:59 -07:00
Hadi Nategh
9ce8140aa1 *Calendar/category report:
- Fix not counting the selected end range
- Fix miscalculation of events extended from a year to another
- Fix miscalculation of amount of event when range is greater than event's start time and less than event's end time
2017-01-03 15:18:05 +01:00
Hadi Nategh
e35814320b Exclude birthdays from holidays in calendar category report 2016-12-19 17:37:06 +01:00
Hadi Nategh
59dbdfba21 Do not count none egroupware participants in Calendar category report 2016-12-16 11:31:35 +01:00
Hadi Nategh
4f922d1eae * Calendar: Some hot fixes for category report
- Fix category report does not take participants into account
	- Fix events located in mid of the range get miscalculated
2016-12-16 11:10:02 +01:00
Ralf Becker
d43be3afc2 fix PHP Warning (Invalid argument supplied for foreach() in calendar/inc/class.calendar_boupdate.inc.php on line 1915), if moved event has no alarms 2016-12-07 14:17:53 +01:00
nathangray
db71f7660f Reduce translation duplication - use a single common message for entry copied 2016-11-24 10:30:36 -07:00
Hadi Nategh
d04f204d14 Calendar category report:
- Fix weekend and holidays don't for multidays events
2016-11-16 18:54:43 +01:00
Hadi Nategh
448d99153a Calendar category report:
- Fix multidays events and recurrences miscalculation
- Fix height of category table
2016-11-15 10:18:37 +01:00
Hadi Nategh
a361cf6795 Fix wrong indexing for categories array in calendar category report 2016-11-14 15:12:05 +01:00
Hadi Nategh
847352a62c Calendar category report:
- Fix calendar category report not summarizing values
- Add select all checkbox
2016-11-14 12:55:18 +01:00
nathangray
1597e46d74 Change sidebox menu site configuration to match, reported by Stefan Unverricht 2016-11-11 08:44:09 -07:00
Hadi Nategh
2613a912fb Add unit day for calendar category report 2016-11-10 11:10:05 +01:00
Hadi Nategh
15b3e56764 WIP calendar report:
- Implement csv report + download csv file
2016-11-08 15:03:33 +01:00
Hadi Nategh
2e1e3d8727 WIP calendar report 2016-11-07 20:24:31 +01:00
nathangray
0dfbd549f9 Increase consolidation max from 9 to 20. 2016-11-07 08:24:03 -07:00
Ralf Becker
cb6121c41f * Calendar: fix holidays are displayed one day off for eg. Austria, Slovakia, Australia (from iCloud)
Caused by no real floating date support in EGroupware and defaulting to UTC, if no timezone specified, because Horde_Icalendar does not report datetimes postfixed with Z as UTC.
Fixed now by not using UTC workaround for date (not datetime) values.
Also implemented default duration of one day for dtstart as date and no dtend/duration given.
2016-11-05 12:01:28 +01:00
Hadi Nategh
035c544529 W.I.P of Calendar holiday report:
- Handle holiday_report preference on server-side
2016-11-02 18:38:31 +01:00
Hadi Nategh
6a035feb6f W.I.P of holiday report for calendar app 2016-10-31 17:33:01 +01:00
Hadi Nategh
e396b8e7d5 W.I.P of holiday report for calendar app 2016-10-28 16:12:30 +02:00
nathangray
d02d3b8d50 Handle searching for a single integer as looking for a specific event by ID, similar to infolog 2016-10-20 09:49:39 -06:00
Ralf Becker
2f4d50b407 fix typo and IDE warnings 2016-10-19 15:25:53 +02:00
nathangray
57201d51bc Fix bug where you were unable to change participant status of a recently added user until you save the event 2016-10-17 11:23:27 -06:00
nathangray
fffa937f39 Fix holidays in calendar sitemgr modules by adding access via holidays.php.
This lets the anonymous user get the holiday list without triggering a permission error.
2016-10-07 09:21:37 -06:00
Ralf Becker
315ceed672 error_log if calendar can not send notifications 2016-10-06 19:09:40 +02:00
nathangray
b7d02b3229 Fix call to undefined method calendar_uiviews::_get_planner_users() breaks multi-user weekly calendar on home. 2016-10-04 09:11:39 -06:00
Hadi Nategh
df102aa04d * Calendar: Fix calendar to-firstname to-lastname place-holders do not get values 2016-10-04 16:39:28 +02:00
Ralf Becker
4b2f08f5b7 old behavior "selected" should also be used for not set preference, therefore we need to test for !== '0' 2016-10-04 09:55:02 +02:00
Hadi Nategh
be20b14c2c Try to not fetch todos from infolog on Calendar's initialization and let day view fetches them via ajax call as it might be expensive operation 2016-09-28 14:20:38 +02:00
nathangray
16d7b6d5ae Fix clicking inside a single other user's calendar did not invite that user when new event preference was 'Just me' 2016-09-27 10:21:25 -06:00
nathangray
e43a0cf4fb Calendar export CSV cleanup
- Fix looking for query in wrong place broke 'Use search results'
- Remove uneeded code
- Hide criteria block when user chooses search results
2016-09-21 09:36:17 -06:00
nathangray
d91ef451ed Calendar export CSV cleanup
- Fix looking for query in wrong place broke 'Use search results'
- Remove uneeded code
- Hide criteria block when user chooses search results
2016-09-21 08:45:08 -06:00
nathangray
87226bfbcb Change handling of new private events created for other users to allow them to show immediately 2016-09-15 10:46:11 -06:00
nathangray
8634c624bb Remove error log 2016-09-15 10:46:11 -06:00
nathangray
7eabd22524 Make sure calendar CSV export still gets results when filtering by criteria with no end date 2016-09-14 09:44:48 -06:00
nathangray
87c9d72db9 Fix unwanted extra participants in consolidated views when new event participant preference is 'just me' - month view 2016-09-13 10:10:36 -06:00
nathangray
23f5e5fb70 Fix unwanted extra participants in consolidated views when new event participant preference is 'just me' 2016-09-12 12:00:49 -06:00
Ralf Becker
1861a9de22 no need to report VCALENDAR in supported-calendar-component-set 2016-09-12 11:20:15 +02:00
Hadi Nategh
075a3a6fe5 Fix drag and drop in calendar does not work if there's resources 2016-09-06 16:18:45 +02:00
nathangray
24d5af7b7a Fix invalid parameter error when changing the status of a recurring event exception 2016-09-05 10:18:14 -06:00
nathangray
57f994e038 Allow events created by clicking on 00:00 to actually start at 00:00 instead of workday start time 2016-09-05 10:04:40 -06:00
nathangray
b86dfa52bb Use user accounts when available over addressbook when expanding mailing lists 2016-09-01 09:26:56 -06:00
Ralf Becker
c586e77749 fix holiday handling to "understand" gzip compression, even if it was never requested 2016-08-31 14:54:56 +02:00
Ralf Becker
3a6be10253 * Calendar: use proxy config from setup >> configuration to download holiday calendars 2016-08-26 14:00:12 +02:00
Ralf Becker
0cf37ba54d * Calendar: fix PHP Fatal: Unsupported operand types caused eg. by deleted resources 2016-08-24 12:36:53 +02:00
Ralf Becker
d47b22822c * Calendar: fix PHP Fatal when clicking on a link to accept/decline an invitation mail 2016-08-17 11:40:40 +02:00
Ralf Becker
26dbe74328 * Calendar: fix SQL error in eSync with double DISTINCT happening under some conditions 2016-08-17 09:26:01 +02:00
nathangray
068ecf4fc8 Do not change list time range filter when search changes 2016-08-12 10:51:48 -06:00
nathangray
6a31313c94 Change maximum weeks in multiple-week view from 4 to 9 2016-08-12 09:23:23 -06:00
Ralf Becker
3752c35a5a add ajax=true to diverse admin pages of apps, changing customfields class to autoloadable admin_customfields (with old class extending new one, just in case), fix wrong English phrase "typ" in infolog 2016-08-12 11:35:30 +02:00
nathangray
3b13e8493c - Always show cake in day header for birthdays on desktop
- German translations from Birgit Becker
2016-08-04 10:11:58 -06:00
nathangray
6ef849c9a7 Fix attempting to set array value accessed via magic methods was silently ignored by changing and setting the whole array 2016-08-03 09:57:49 -06:00
nathangray
dc3dd6819d - Fix listview filter changes confusingly when searching
- Fix listview does not update for new events
2016-08-02 09:30:36 -06:00
nathangray
7e800a4122 * Calendar: Add print action to event context menu 2016-08-01 09:11:29 -06:00
nathangray
8a3ddfa41b - Add preference to display birthdays as events (still always on for mobile)
- Add cake icon to header on birthdays
2016-07-29 09:35:24 -06:00
Ralf Becker
b077423223 get "integer" type settings working, by removing not used size attribute from template causing a 0 size input for integer 2016-07-29 16:01:26 +02:00
nathangray
96b75f7888 Fix error when saving copied event if current user does not have add rights to original user's calendar 2016-07-28 13:26:06 -06:00
nathangray
859f9b7126 Group event participants by type in event tooltip 2016-07-27 17:04:34 -06:00
nathangray
1359ce2aca Keep event owner while copying, if current user has add permissions 2016-07-26 11:45:48 -06:00
Ralf Becker
ac8cdda252 fix wrong namespace and replaced a couple more CreateObject 2016-07-26 09:03:02 +02:00
nathangray
962f0fa9d6 Change usage of deprecated CreateObject() to autoloadable class names 2016-07-25 16:41:47 -06:00
nathangray
acbf2b46da Prevent "Parameter must be scalar" error when creating a calendar event - thanks @sbourget 2016-07-25 15:06:20 -06:00
nathangray
0405eb1510 Avoid type error when importing events with IDs that cannot be read (no permission)
Argument 1 passed to calendar_tracking::changed_fields() must be of the type array, null given
2016-07-25 12:23:31 -06:00
nathangray
3ab01052f4 Add a preference to control how many lines are allowed for all day non-blocking events before we start hiding some 2016-07-21 14:01:47 -06:00
nathangray
2b61cc4822 Fix distribution lists calendars to work when first added from search results 2016-07-20 12:39:06 -06:00
nathangray
786b64a4da Calendar CSV import fixes
- Account for non-blocking flag when checking for conflicts
- Fix import of recurrence with interval
2016-07-20 11:29:32 -06:00
nathangray
6d5f820b97 Add resource categories to owner / participant search results
In the sidebox menu, resource categories are returned and selectable and will show events for all resources in that category.
In the edit popup, if the category name matches the search string, all resources of that category are returned and user can select them as if they would have searched for the name of the resource.
2016-07-19 14:10:15 -06:00
nathangray
fada2d433e When adding a mailing list as participant, immediately expand it to contacts 2016-07-12 11:22:36 -06:00
nathangray
0f70db5bcf Scrutinizer fix - remove unused code 2016-07-11 13:39:01 -06:00
nathangray
4bb16b2bec Add flag in calendar import definitions (CSV & iCal) to not import conflicting events 2016-07-11 13:09:08 -06:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
nathangray
76307c4bbf Allow contact lists as event participants 2016-07-06 13:19:54 -06:00
Ralf Becker
5374b39680 1) skip all past events and recurrences in conflict check and fix off-by-one error in recurrence limit
2) restructure config a bit:
- rename Birthday section to Addressbook
- rename Scheduling conflict section to Recurrences and conflict check
- add: Please note: conflict check is never done in the past and always limited by above recurrence horizont.
2016-07-06 16:44:06 +02:00
Ralf Becker
cae960965e add Github url of Mozilla holiday calendar data 2016-07-06 14:43:59 +02:00
Ralf Becker
b4017cb8c4 * Calendar: check recurrences for conflicts too (until configured search-time is exceeded, default 3s) 2016-07-06 12:46:00 +02:00
nathangray
3de70526d0 Fix some bugs in drag to create event
- Firefox needed drag helper explicitly removed
- bug in move exceptions caused SQL error
2016-07-05 13:14:10 -06:00
nathangray
b7919b1fe0 * Calendar: Create new events by dragging on empty space 2016-06-30 13:21:13 -06:00
Ralf Becker
0a2b637f00 fix not possible to invite groups you are not a member of 2016-06-27 11:39:25 +02:00
Ralf Becker
1a27a7b840 z-push (2.3 at least) requires a timezone for recurring events 2016-06-25 10:55:28 +02:00
Ralf Becker
67ffe04524 * eSync/Calendar: reading events in chunks of 100, to keep memory down for huge calendars 2016-06-24 11:15:56 +02:00
Hadi Nategh
1fab6876c4 Fix calendar participant does not show user accounts 2016-06-23 17:21:45 +02:00
nathangray
a557ce5ceb Fix deleting a single event of a series deleted correctly, but caused the whole series to disappear from view. 2016-06-21 11:42:44 -06:00
nathangray
fc53782f60 Remove participant restriction on new events to just users or groups, now we add any contacts or resources selected as well 2016-06-21 11:17:06 -06:00
Ralf Becker
eae2b52f79 real Exceptions not always shown, because using SyncAppointment instead of SyncAppointmentException did not render required ExceptionStartTime
Thanks to Sebastian from Z-Push
2016-06-20 22:11:35 +02:00
nathangray
4625915f11 Fix missing toolbar tooltip translations 2016-06-20 08:05:27 -06:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00
Ralf Becker
c07b3b26e4 remove old (from Andreas z-push fork) and no longer used md5body attribute 2016-06-17 08:42:49 +02:00
nathangray
8cb1bb19b1 Check event filters when updating status or category through edit dialog to remove the event if it no longer matches. 2016-06-16 11:08:31 -06:00
Ralf Becker
e600eede2a fix iOS calendar crashed if event-organizer had no email address 2016-06-16 18:14:28 +02:00
nathangray
b8f8d59793 Show holidays & birthdays as events on mobile 2016-06-13 19:08:56 -06:00
nathangray
0d77d8e62a Better handling for drag & drop of multi-day events between blocking & non-blocking areas 2016-06-08 10:16:17 -06:00
Ralf Becker
ce684b0ee7 revert last commit to fix PHP Fatal error: Declaration of calendar_zpush::ChangeMessage($folderid, $_id, SyncAppointment $message, $contentParameters) must be compatible with activesync_plugin_write::ChangeMessage($folderid, $id, $message, $contentParameters) 2016-06-08 13:01:09 +02:00
Ralf Becker
3f9fd761bb revert last commit to fix PHP Fatal error: Declaration of calendar_zpush::ChangeMessage($folderid, $_id, SyncAppointment $message, $contentParameters) must be compatible with activesync_plugin_write::ChangeMessage($folderid, $id, $message, $contentParameters) 2016-06-08 12:53:05 +02:00
Ralf Becker
277c21ed9e add SyncAppointment object to function signature 2016-06-08 11:57:12 +02:00
Ralf Becker
a5b57b3047 fix a PHP Strict Standards: Declaration of *_groupdav::propfind_callback() should be compatible with & EGroupware\Api\CalDAV\Handler::propfind_callback 2016-06-06 13:53:54 +02:00
nathangray
033ba0159f Fix calendar list view custom date filter always switched to another filter & hid the dates 2016-06-02 09:25:01 -06:00
nathangray
660888c716 Drag and drop move or invite in day view 2016-06-01 13:47:18 -06:00
nathangray
6d10b8d231 Drag and drop to another user's calendar
- Add exception prompt
- Change to -> Move to
2016-06-01 09:30:42 -06:00
Ralf Becker
ab4cd83b41 remove no longer used boholiday class, seems to been left over from new holiday loading via iCal 2016-05-30 20:32:53 +02:00
nathangray
362366ed28 Fix addressbook - calendar permission issue blocking viewing contact calendar 2016-05-24 17:13:40 -06:00
nathangray
1756179bb3 Restore export function, turns out it is used by context menu -> export 2016-05-24 16:44:14 -06:00
nathangray
61a9a28c4d Fix css include 2016-05-24 15:08:48 -06:00
nathangray
deedf7a808 Handle changing status via ajax for a user in a group invitation 2016-05-24 14:51:16 -06:00
nathangray
5be77f5ef2 Support customfields at the beginning of content 2016-05-18 15:41:20 -06:00
nathangray
8789d8d944 Fix incorrect client update when changing status on a recurring event exception 2016-05-18 11:30:50 -06:00
nathangray
1a16869651 Add missing conversion to human values 2016-05-16 17:26:15 -06:00
nathangray
f1b4367181 Fix original event stays when a series exception is created 2016-05-16 15:56:08 -06:00
nathangray
2976d910db Some bugfixes for planner view in sitemgr:
- Add check on sel_options arrayMgr for missing owner names, since sidebox is not there
- Pre-fill sel_options for above, so they can be found
- Fix clicking on an event could alter the calendar state
2016-05-16 14:32:03 -06:00
nathangray
ffccce1c8a Send holiday cache data for current year on initial load, so it's available for sidebox menu. 2016-05-16 11:21:03 -06:00
nathangray
7e0b2543d0 Fix fatal error, get_account_name() does not exist 2016-05-16 10:13:22 -06:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Nathan Gray
c6e6da63ef Allow drag and drop between calendars, asking to invite or transfer 2016-05-11 17:29:58 +00:00
Nathan Gray
d321f78eb1 Directly set default resource selection preference 2016-05-09 20:18:10 +00:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Hadi Nategh
c558d1667d Optimize window size of registered popups in appregistry 2016-05-06 15:12:27 +00:00
Klaus Leithoff
7ab832fe9f set a default in paramslist for shift_alarm parm 3 (timestamp) to avoid php-warning and comply to the function description 2016-05-06 13:54:08 +00:00
Nathan Gray
9859cfa679 Fix fatal error caused by moved Categories 2016-05-05 16:56:25 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Ralf Becker
8c7c0c1eb2 reading holidays now from Mozilla holiday calendars, or a custom iCal URL 2016-05-04 17:15:18 +00:00
Nathan Gray
4c167a2d80 Revert r55868, hide participants for private events 2016-05-04 15:09:37 +00:00
Nathan Gray
e4aa767911 Fix calendar resource search 2016-05-03 21:03:51 +00:00
Ralf Becker
e5d6f6a909 fix calendar preferences to show start- and end-time of day 2016-05-03 13:24:21 +00:00
Ralf Becker
bc4362c22e remove old phpgwapi datetime class from calendar, as it is no longer in api 2016-05-02 20:22:47 +00:00
Ralf Becker
c15a722f3a do not instanciate eT2 Widget in setup (no need, and gives autoloading conflict), also calling static calendar_bo method static 2016-05-02 20:21:59 +00:00
Nathan Gray
5d14807720 Planner sitemgr module
- Check ACL and only offer users or resources anonymous user has access (read or free/busy) to
- Stop some errors from missing framework breaking the timegrid
- Fallback to be able to get resource labels in all cases
2016-05-02 19:22:52 +00:00
Ralf Becker
5db786a7ae fixed (hopefully correct) some undefined variables and other IDE warnings 2016-05-02 15:39:41 +00:00
Nathan Gray
cbb2d73b98 Make some old code that returns HTML unused, then remove it 2016-05-02 15:26:56 +00:00
Ralf Becker
dcc003cedf move calendar to new api 2016-05-01 17:47:59 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Nathan Gray
40fbf3e2c9 Update for resource selection to re-enable conflict detection
- Remove account & contact options from default resource selection preference
- Edit dialog participant now passes selected start & duration, so conflict detection works again
2016-04-29 18:01:17 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
38412a1149 use new api in home and portlets 2016-04-28 18:06:46 +00:00
Nathan Gray
67faad146f Fix extra empty participant in new event for another user from planner by user view 2016-04-27 23:06:51 +00:00
Nathan Gray
91b8995938 Implement ical context menu action on single events in non-list views 2016-04-27 19:28:31 +00:00
Nathan Gray
ebc14c847c Avoid empty popup & cryptic error from drag and drop series in the past with future conflict 2016-04-27 18:53:15 +00:00
Ralf Becker
7c2b2d4950 * CalDAV: fix exceptions (EXDATE) was exported with timezone and Zulu-time, causing eM Clinet to fail
current Horde_Icalendar only exports EXDATE in Zulu-time, so we can only remove timezone. Apple calendar on OS X 10.11.4 uses a timezone, so does Horde eg. for Recurrence-ID
2016-04-27 16:27:04 +00:00
Ralf Becker
df83dcf933 fix wrong replacement 2016-04-27 16:23:30 +00:00
Ralf Becker
3e92578753 fix some ocurences with: <object> instanceof <phpgwapi-class>, which is no longer true, when object is from new Api, but old <phpgw-class> extends new Api class 2016-04-27 07:10:04 +00:00
Nathan Gray
e88c3da6b8 Add missing placeholder (no rows) action 2016-04-26 23:11:29 +00:00
Nathan Gray
42ac5b8a08 Hide participants for private events 2016-04-26 20:13:14 +00:00
Nathan Gray
61029657f5 Log recurrence end date into history 2016-04-26 16:41:22 +00:00
Hadi Nategh
171a160383 Switch weekend action in toolbar with week view, as week view is more important than weekend toggle 2016-04-26 12:35:09 +00:00
Ralf Becker
1742ebf6f1 use new et2 config 2016-04-24 13:41:36 +00:00
Nathan Gray
80e935fb0b Some adjusting of calendar list sort order:
- All filters except Before default to sorting earlier events first  (start date asc)
- For all day events for the same date, non-blocking before blocking
2016-04-20 16:52:52 +00:00
Nathan Gray
f7588fb0ea Update to use static method for country 2016-04-19 20:25:35 +00:00
Hadi Nategh
e75a1b6348 Dialog styling W.I.P.:
- Get all buttons fit into footer toolbar for calendar edit
- Fix tabs flicker when switching between tabs
- Fix padding right for td
- Fix general styling for buttons
2016-04-07 12:42:27 +00:00
Ralf Becker
fc9c345930 move egw_ical_iterator to Api\CalDAV\IcalIterator 2016-04-04 23:45:39 +00:00
Ralf Becker
ca1bf71361 fix PHP Fatal error when creating/updating entries 2016-04-04 22:39:49 +00:00
Nathan Gray
3ecd30fb35 Fix no category showed blank tag in category taglist. 2016-04-04 21:40:45 +00:00
Ralf Becker
682fd42a26 move CalDAV/CardDAV server to api 2016-04-02 10:44:17 +00:00
Ralf Becker
9eb1ecbd36 fix all IDE warnings, before moving classes to api, in case we want to merge it back to 14.x 2016-04-02 08:40:34 +00:00
Nathan Gray
abd1830ec2 Fix multiple categories show as just IDs 2016-03-31 23:06:23 +00:00
Hadi Nategh
3261906a09 Mobile theme W.I.P.:
- Implement plus button for calendar views and bring day view action into toolbar header, thanks Christoph Kaulich.
2016-03-30 16:03:19 +00:00
Hadi Nategh
989d1ca389 Mobile theme W.I.P:
- Fix calendar toolbar messed up with too many shown actions
- Fix SVG icons for list, planner, 4days, multiweek and today buttons
2016-03-29 10:33:10 +00:00
Ralf Becker
db5533058d possible fix for An error happened (ErrorException): Argument 2 passed to EGroupware\Api\Etemplate::exec() must be of the type array, string given, called in calendar/inc/class.calendar_ui.inc.php on line 593 2016-03-29 09:12:56 +00:00
Nathan Gray
dc3fdfdea6 Remove invalid participant fields from export field options 2016-03-25 16:32:15 +00:00
Nathan Gray
a81cdf73be When server gives taglist options via ajax, take them all. Only filter local suggestions.
- Filter accounts server side so they do not always show up
2016-03-25 16:08:22 +00:00
Nathan Gray
521c28cfd5 Get planner sitemanager module working 2016-03-18 15:49:11 +00:00
Nathan Gray
f9b5b2fc1e Remove birthday / event display preference 2016-03-15 18:27:32 +00:00
Nathan Gray
70b00c8d70 Remove some unused code 2016-03-14 19:36:22 +00:00
Nathan Gray
a13035ac06 Fix event from mail did not add users as participants 2016-03-14 15:58:25 +00:00
Nathan Gray
fbe3d2cc7d Only filter accounts by calendar permission, not groups 2016-03-10 17:43:02 +00:00
Nathan Gray
a8f158e72b Add 'Today' as calendar list date range option 2016-03-09 22:38:45 +00:00
Hadi Nategh
dbd97cd37a Mobile theme:
- Eliminates some actions from contextmenu only on mobile
2016-03-09 12:31:55 +00:00
Ralf Becker
6f0728cd9d fix for different return values of accounts->member(s) / membership(s) 2016-03-06 16:09:58 +00:00
Ralf Becker
3971dd8915 fix use of deprecated accounts::member and accounts::membership, should be members and memberships 2016-03-06 14:58:36 +00:00
Nathan Gray
23a25e23d8 remove PHP 5.4+ array syntax breaking our PHP 5.3 support 2016-03-04 15:57:13 +00:00
Ralf Becker
4c37f90cc1 remove old no longer used stuff 2016-03-01 16:26:14 +00:00
Nathan Gray
b2d1f0edbe Fix incorrect owner/group showing for planner on home 2016-02-23 21:47:33 +00:00
Nathan Gray
17f2882639 Get calendar home less broken
- Fix actions missing on home reload
- Fix full reload on home reload
- Fix calendar reload removed home events
2016-02-23 21:29:13 +00:00
Ralf Becker
4121546e85 fix docu and logging as logic for change is in backend 2016-02-23 15:04:30 +00:00
Ralf Becker
1da38599b2 change ctag timeout to 29sec to get z-push ping with 30sec to request a new ctag 2016-02-23 15:02:40 +00:00
Nathan Gray
9460e1a2f9 Home improvements - Weekend toggle, weekN & month support 2016-02-22 22:45:48 +00:00
Nathan Gray
32b4872084 Use calendar-owner widget in edit dialog for participants 2016-02-18 20:54:26 +00:00
Nathan Gray
58b7f38426 Promote calendar-owner to full widget, loadable by etemplate on its own 2016-02-18 19:45:37 +00:00
Ralf Becker
61027429eb alignment of NM header 2016-02-17 19:56:54 +00:00
Nathan Gray
e3fdbd0c62 Fix removal missing events 2016-02-17 15:33:34 +00:00
Nathan Gray
5955705002 Owner widget changes:
- Now returns results with users, then groups, then other apps
- If a result is found in the static options, the server is not queried
- 2 character limit before searching
- Change event fires on blur, not change in selection
2016-02-11 20:30:55 +00:00
Hadi Nategh
44c29d52db Mobile theme W.I.P.:
-Fix calendar view header
2016-02-10 17:03:42 +00:00
Nathan Gray
26f4c6556b Fix changing status sometimes changed time(zone) 2016-02-10 00:19:55 +00:00
Nathan Gray
d7dfd44c8b Use taglist for owner 2016-02-09 20:28:57 +00:00
Nathan Gray
069da4dace Fix changes via popup edit are not shown in main (week, etc) views 2016-02-04 19:30:32 +00:00
Nathan Gray
edf60ac0f8 Completely remove any planner_days and switch to using other views for calculation 2016-02-03 18:27:52 +00:00
Ralf Becker
cd9b6b77fe fix not working download of holidays from egroupware.org, caused by not working redirect with old network class, now replaced with standard php http wrapper and use egw_framework::proxy_context() for optional proxy server 2016-02-01 11:08:39 +00:00
Nathan Gray
174387b958 Fix home showed wrong day for single days 2016-01-27 17:48:33 +00:00
Nathan Gray
794d6aee5c Fix events missing if home loaded before calendar 2016-01-27 17:35:25 +00:00
Ralf Becker
e9d48ff687 4-day-view icon incl. sources from Pixelegg, thought I had to change briteness by +80% to get a simmilar looking icon as for other calendar views 2016-01-26 14:47:05 +00:00
Hadi Nategh
1c4647492d Show caption if there's no icon available for toolbar actions
- Remove icon from today action in calendar
2016-01-26 13:43:00 +00:00
Nathan Gray
837e19ae2c Use new function to update client data when moving via DnD 2016-01-25 23:24:42 +00:00
Nathan Gray
0ae7ba40ce Toolbar changes:
- Change Add button icon from new to +
- Add Today button to toolbar
2016-01-21 18:41:54 +00:00
Nathan Gray
80ce556003 Remove view names from header 2016-01-21 18:35:53 +00:00
Nathan Gray
72991fc007 Smarter updates for recurring events, to avoid refreshing more than needed. 2016-01-20 20:58:14 +00:00
Nathan Gray
85eebd426d Fix fatal error when copying an event 2016-01-19 00:42:27 +00:00
Nathan Gray
f438940598 Fix alarms not updated when event is moved 2016-01-18 17:45:25 +00:00
Nathan Gray
2c31029f66 Fix early ajax update losing not yet saved partially entered events 2016-01-15 21:11:19 +00:00
Nathan Gray
cc53069d40 Some missing bits for Stylite theme
- Missing new & day toolbar icons (thanks Ulle)
- Incorrect colors
2016-01-14 21:52:40 +00:00
Nathan Gray
6b78eb9d36 More intelligent updating to avoid having to re-do a whole week when one event is added 2016-01-14 15:46:55 +00:00
Nathan Gray
15dd34edcb Re-enable/implement preference for showing events as a per-day list 2016-01-12 23:55:59 +00:00
Hadi Nategh
9afd1976a9 * Calendar/ mail integration: Fix created event out of mail has no delete button available in participants list 2016-01-12 11:13:16 +00:00
Nathan Gray
22770805c4 Use toggle for weekend in toolbar 2016-01-09 00:54:27 +00:00
Nathan Gray
000376c69d Fix sorting users in non-consolidated day view 2016-01-08 22:38:11 +00:00
Nathan Gray
d1739fd873 - Fix day view user header
- Fix toolbar add button
2016-01-06 20:37:29 +00:00
Nathan Gray
556495e6cc Move sidebox buttons into a toolbar 2016-01-06 18:24:45 +00:00
Nathan Gray
4d0977f8f9 - Fix inconsistency in participant / owner between planner & weekview
- Change default participant default to selected users
2016-01-05 22:54:33 +00:00
Nathan Gray
7d1de17438 Refactor & more intelligence in grid views for speed improvements 2016-01-05 20:43:19 +00:00
Nathan Gray
260c320ba9 Stop planner & nextmatch from fighting over events, some timing improvements 2015-12-29 22:12:30 +00:00
Nathan Gray
4792b69802 Increase default consolidation by 1 2015-12-29 16:28:29 +00:00
Nathan Gray
f08cfee22c Fix context menu action 'Add' in grid views 2015-12-29 00:19:45 +00:00
Nathan Gray
d89e847acc Add a preference for participants for new events - just me, or selected
Applies when there is no obvious participant (clicking on a single user's calendar)
2015-12-29 00:11:29 +00:00
Nathan Gray
bcea893927 Todo icons:
- Use defaults for missing icons
- Prevent wrapping
2015-12-28 17:59:47 +00:00
Nathan Gray
6dfef23ae3 Match consolidation number to the phrasing in preferences 2015-12-28 16:55:51 +00:00
Nathan Gray
ffad978c81 Move consolidation limit from config to preference, and split it into two for day & week views 2015-12-22 23:34:53 +00:00
Nathan Gray
18a7c47b95 Fix drag and dropped events in a different timezone get set to the wrong time 2015-12-22 00:26:56 +00:00
Nathan Gray
0e50aaee77 Remove no longer used preference for preselected group entering the planner 2015-12-17 00:02:38 +00:00
Nathan Gray
6236c7e1ca Add some exceptions to Month header button
- Planner & list view stay, they just update their date to that month
2015-12-16 19:54:22 +00:00
Nathan Gray
4aed504622 Fix drag and drop series exception in a different timezone did not remove original event 2015-12-16 00:28:56 +00:00
Nathan Gray
2e5b034ca0 - Change default weekN to 2 weeks (& fix error)
- Remove no longer useful default view
2015-12-15 20:06:03 +00:00
Nathan Gray
c5eac7749c When the current view is nextmatch, pass sidebox merge through the listview nextmatch action so it gets proper processing of the selected rows and nextmatch filter. 2015-12-15 16:36:54 +00:00
Nathan Gray
4503abf1bc - Fix view list hook to be able to view the list from any other application
- Participant is not always an integer
2015-12-12 00:07:40 +00:00
Nathan Gray
33437acb96 Keep internal date span up to date if user is using list view and week or month filter.
Fixes some problems with strange date ranges when merging using the sidemenu selectbox
2015-12-11 19:38:52 +00:00
Nathan Gray
8a5e720851 Revert r54516, it can cause infinite loops 2015-12-10 00:40:04 +00:00
Nathan Gray
da2d6cc321 Keep client side state up to date with month & week filters 2015-12-10 00:06:08 +00:00
Nathan Gray
b4cfde8c35 Automatically make adjustments to merge range to try to match the selected template 2015-12-09 23:12:12 +00:00
Nathan Gray
0e834e372c Add ACL check to allow editing other users events via drag and drop 2015-12-09 17:36:46 +00:00
Nathan Gray
77d4a48a5b Fix missing resource name in initial load of owner list 2015-12-08 22:29:56 +00:00
Nathan Gray
cbf2497d58 Do not check for conflicts when changing status via ajax 2015-12-08 22:13:35 +00:00
Nathan Gray
4ece177cf9 Fix exceptions on the day of series ending got copied to new series 2015-12-08 17:00:49 +00:00
Nathan Gray
9dd383c5a9 Add external owners that a select account widget will not find, so they are there on initial load 2015-12-08 00:57:45 +00:00
Nathan Gray
d547416956 Fix missing 'add' refresh call 2015-12-07 16:11:44 +00:00
Nathan Gray
7d20c6074d Fix typo breaking some merge combinations, make sure to always merge to end date 2015-12-04 20:58:37 +00:00
Nathan Gray
003b090103 Fix exceptions before split time were disconnected from original series 2015-12-04 19:52:53 +00:00
Nathan Gray
7b527d699e Fix some more cases with recurring events & drag and drop (duration changes) 2015-12-03 22:56:52 +00:00
Nathan Gray
3ec70206cd Fix some load order bugs. Firefox finishes loading list view before the sidebox, causing some discrepancies in views 2015-12-03 20:44:52 +00:00
Klaus Leithoff
3f861274aa first shot at missing (recurring) appointments 2015-12-03 15:55:48 +00:00
Nathan Gray
ecb2003f4f Change calendar merging to be able to handle merging a range into a document with only pagerepeat 2015-12-02 17:34:06 +00:00
Nathan Gray
e172ff448b Fix some app_id vs id issues breaking drag & drop 2015-12-01 22:02:47 +00:00
Nathan Gray
ede4956797 Changes to how recurring events are split when you change them
- Events before today can (still) not be changed
- Events after today can (still) be changed
- If you change a series by editing (or dnd) an event after today, the change is effective as of that day
2015-11-27 16:57:25 +00:00
Nathan Gray
9a97d108a5 Fix recurring private events breaking things 2015-11-25 17:20:30 +00:00
Nathan Gray
af42a71332 Fix unable to merge from listview into document that has {{pagerepeat}} 2015-11-24 22:42:46 +00:00
Nathan Gray
422ecd25a9 Add labeled week & month filters for list view 2015-11-24 19:45:00 +00:00
Nathan Gray
b034eeac92 Fix changing recurring end date to earlier always gave one extra recurrence 2015-11-24 18:15:11 +00:00
Klaus Leithoff
7a99c3f8a5 improve ical2array as it messed up the ical information on recurring calls 2015-11-24 16:05:01 +00:00
Nathan Gray
dd6df6b077 Change listview filter options to include date 2015-11-24 00:18:37 +00:00
Nathan Gray
5088739a86 Fix wrong user name on initial load of list view 2015-11-23 23:18:05 +00:00
Nathan Gray
adb64aa0b8 Fix removing recur end date did not change recurrences 2015-11-23 19:23:39 +00:00
Nathan Gray
2b6eacd472 Fix specifying owner as an array quietly failed 2015-11-23 18:01:21 +00:00
Nathan Gray
0861a6d58c Fix some more sneaky caching / refresh bugs 2015-11-18 17:44:22 +00:00
Nathan Gray
adbc4d2b8b Fix one more case where full update is needed. 2015-11-18 16:19:34 +00:00
Nathan Gray
22e4fc038f Send some refresh commands when deleting 2015-11-17 21:32:46 +00:00
Nathan Gray
0df5d6f207 Fix planner events
- Createing event by clicking on row had wrong end date
- Display problems from previous commit
2015-11-17 17:59:23 +00:00
Nathan Gray
7467f3b855 Fix display issues with multi-day events
- fix missing events when span is changed to cover new days
- fix events stay when changing weeks, and the new week has a day with no events
2015-11-17 16:57:34 +00:00
Nathan Gray
ceb9f48f11 Fix missing group member permission errors 2015-11-16 19:40:52 +00:00
Nathan Gray
5846aaa317 - Automatically handle when time rows are too small for proper display
- Increase options for weekN display to 4
2015-11-16 18:31:09 +00:00
Nathan Gray
98c18b04ec Fix delete of series did not work 2015-11-16 16:45:02 +00:00