Commit Graph

2826 Commits

Author SHA1 Message Date
nathangray
20e75c17db * Calendar - Improve parsing of users when importing to be able to handle parentheses in names 2018-02-06 09:39:27 -07:00
Ralf Becker
d96c3f84de fix SQL error caused by trying to attached files, if we have no event id 2018-02-02 17:30:37 +01:00
Hadi Nategh
11a0d3b31a W.I.P restructuring of Notifications actions 2018-01-26 09:55:46 +01:00
nathangray
1df9b656fe * Calendar - Fix bug hiding a user's visible private events when just the group was selected 2018-01-15 08:49:12 -07:00
nathangray
69dfaf39b0 * Calendar - Fix bug where account birthdays were not shown if there was a contact with a birthday on the same day 2018-01-15 08:42:57 -07:00
Hadi Nategh
5cb26c044c Fix a typo 2017-12-20 12:17:38 +01:00
nathangray
f3d767f81e Calendar - rework merge for clarity & reduce code duplication
- fix ranges were not working from list
 - silence some warnings
2017-12-19 10:04:10 -07:00
nathangray
ac2dd9193a * Calendar - Fix merge from list loaded endlessly instead of generating document 2017-12-18 16:13:00 +01:00
nathangray
07de0df0ea * Calendar - merge from sidebox will now open in Collabora, if available 2017-12-18 14:25:57 +01:00
Ralf Becker
755a9bdf39 default to user timezone on export, if event has no or invalid timezone 2017-12-18 19:50:25 +07:00
nathangray
69ac26f600 * Calendar - Fix alarms set in different timezone from server moved when saving event - now fixed default alarm too 2017-12-15 14:44:13 -07:00
nathangray
536ac272ed * Calendar - Fix alarms set in different timezone from server moved when saving event 2017-12-15 14:44:05 -07:00
nathangray
a91c1c4396 Calendar - check for JSON response before using it 2017-12-01 10:36:05 -07:00
Hadi Nategh
310359ab9f 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:44:38 +01:00
nathangray
4a9049f619 * Calendar - now uses standard search (quotes, +/-) including custom fields 2017-11-15 08:49:23 -07:00
nathangray
17f41e5876 * Calendar - Add preference to set color of events without category color 2017-11-14 08:52:53 -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