Commit Graph

3164 Commits

Author SHA1 Message Date
nathan
410f882cb7 Calendar: Fix status notification sometimes had wrong user in $$fullname$$ placeholder 2022-01-18 14:26:08 -07:00
Hadi Nategh
dd8140397a Fix error Argument #2 must be of type array, null given 2022-01-14 14:02:56 +01:00
nathan
f6a7a63feb Calendar: Avoid error if $userid is not numeric 2021-12-15 14:50:43 -07:00
Hadi Nategh
d2cd36656a Fix error Unsupported operand types: int + stringPHP 2021-12-13 10:43:00 +01:00
Hadi Nategh
85de53b2eb Fix calendar category report throws error "Undefined constant active" 2021-12-13 10:07:39 +01:00
nathan
bf2482104a Calendar: Add notification placeholders $$date$$ and $$fullname$$ to preference help hover 2021-12-08 11:10:39 -07:00
nathan
4c3c28a05f Calendar: Fix missing notification placeholders $$date$$ and $$fullname$$ 2021-12-08 10:59:18 -07:00
Ralf Becker
057c5bf6f7 fix PHP 8.0 TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given 2021-12-07 08:33:12 +02:00
Ralf Becker
c10ca6fc5b fix PHP 7.3 syntax error / PHP 7.4 syntax, as 21.1 still supported PHP 7.3 2021-12-02 21:41:13 +02:00
nathan
26595b4cba * Projectmanager: Add calendar integration so projects can be shown as events in calendar 2021-12-01 10:32:32 -07:00
nathan
ceb014200f Calendar: If an event moves from the past to the future, send notifications according to preferences
Previously we ignored all notifications, because the event _was_ in the past.
2021-11-24 09:23:07 -07:00
nathan
86c9b97e47 Calendar: Update merge to use changes introduced with 707c57e 2021-11-23 15:50:10 -07:00
Ralf Becker
8020301a84 fix PHP 8.0 TypeError: Unsupported operand types: int | array 2021-11-20 08:40:35 +01:00
Ralf Becker
4f78f557bb fix PHP 8.0 TypeError: calendar_tracking::track(): Argument #2 ($old) must be of type ?array, bool given 2021-11-18 17:35:26 +01:00
Ralf Becker
a50139fa24 fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-16 08:34:51 +01:00
Ralf Becker
ba5c7fdf17 fix PHP 8.0 TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given 2021-11-16 08:10:39 +01:00
Ralf Becker
b84136cff8 fix PHP 8.0 TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given 2021-11-15 14:53:35 +01:00
Ralf Becker
efa66b72fc fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given 2021-11-15 11:55:24 +01:00
Ralf Becker
65ebea136e fixing/improving condition of last commit 2021-11-15 08:26:06 +01:00
Ralf Becker
c32bb61e1c fix PHP 8.0 TypeError: Unsupported operand types: bool + array 2021-11-15 08:08:42 +01:00
Ralf Becker
b07d08a235 fix PHP 8.0 TypeError: Cannot access offset of type string on string 2021-11-15 08:00:14 +01:00
Ralf Becker
5de3115500 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given 2021-11-14 10:32:22 +01:00
Ralf Becker
7cd6284f0c fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given 2021-11-13 17:12:14 +01:00
nathan
029664ac1d Calendar: Fix validation error when setting ical export timezone preference 2021-11-12 13:08:48 -07:00
Hadi Nategh
77aa807036 Fix php8.0 (TypeError): Cannot access offset of type string on string 2021-11-12 15:09:19 +01:00
Ralf Becker
2944a00e02 fix PHP 8.0 TypeError: Cannot access offset of type string on string, when iCal exporting a GEO attributes 2021-11-10 16:59:47 +01:00
Ralf Becker
3534ed9040 fix PHP 8.0 TypeError: calendar_tracking::track(): Argument #1 ($data) must be of type array, null given 2021-11-10 13:00:59 +01:00
Ralf Becker
2d7da57e60 fix PHP 8.0 TypeError: Cannot access offset of type string on string 2021-11-10 11:54:18 +01:00
Ralf Becker
7b042f7259 fix PHP 8.0 TypeError: key(): Argument #1 ($array) must be of type array, null given 2021-11-10 11:44:42 +01:00
Ralf Becker
a7e796a66b fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - EGroupware\Api\DateTime 2021-11-10 11:22:58 +01:00
Ralf Becker
1e6bffc4e5 fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-09 08:46:35 +01:00
Ralf Becker
16dc367b1e fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - EGroupware\Api\DateTime 2021-11-09 08:39:21 +01:00
Ralf Becker
a34c13fd94 fix PHP 8.0 error: Illegal offset type
when PUTint an all-day series
2021-11-08 18:01:18 +01:00
Ralf Becker
d343203c20 fix PHP 8.0 Unsupported operand types: EGroupware\Api\DateTime + int 2021-11-08 13:45:37 +01:00
Ralf Becker
a7796d8f27 fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime + int 2021-11-08 10:55:45 +01:00
Ralf Becker
dba803fff5 fix PHP 8.0 error: count(): Argument #1 ($value) must be of type Countable|array, null given
plus some more IDE "errors"
2021-11-08 10:31:17 +01:00
Ralf Becker
6b8f8c6473 fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - int 2021-11-05 14:58:38 +01:00
Ralf Becker
108d077ccd fix PHP 8.0 TypeError: json_decode(): Argument #1 ($json) must be of type string, array given 2021-11-05 14:23:03 +01:00
Ralf Becker
42d45131e6 fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - int 2021-11-05 13:52:20 +01:00
Ralf Becker
7ac13da96f fix PHP 8.0 error: calendar_boupdate::update(): Argument #6 ($messages) cannot be passed by reference 2021-11-05 11:22:49 +01:00
Ralf Becker
b3116e09e5 fix PHP 8.0 error: Undefined constant "filter" 2021-11-05 11:09:27 +01:00
nathan
32cd80d331 Calendar: Enable filtering by customfield in list view 2021-10-28 16:07:25 -06:00
nathan
76e1e326f3 Calendar: Fix PHP 8 error "array_key_exists(): Argument #2 ($array) must be of type array, null given" 2021-10-22 10:12:23 -06:00
Ralf Becker
f6d756a0c1 closing/commiting the session to speed up calendar loading 2021-10-20 13:53:41 +02:00
nathan
2343bd62b7 Calendar: fix planner view wasn't working due to rollup issues
et2_calendar_owner was throwing errors due to being loaded twice
et2_calendar_planner was left out of the bundle
view updaters were not being called
2021-10-19 16:32:54 -06:00
Ralf Becker
3ad98840c1 fix PHP 8.0 error: Illegal offset type 2021-10-19 09:18:00 +02:00
nathan
149cdaeae0 Calendar: Avoid type error if old_event was not loaded 2021-10-18 10:18:27 -06:00
Hadi Nategh
fe9c7dd372 Fix type error happens when trying to save an event. 2021-10-18 15:41:22 +02:00
nathan
c01df39342 * Calendar: Fix changing the recurrence end date did not add/remove the events in the UI 2021-10-15 14:04:18 -06:00
Ralf Becker
809e718f1a fix wired PHP 8.0 error stalling calendar-multiget REPORT from CalDAV
str_replace() returns "Array" as value, if a multidimensional array given as 3rd parameter: https://3v4l.org/budKH
2021-10-12 13:09:30 +02:00
Ralf Becker
8604fc3181 fix PHP 8.0 TypeError:
- array_combine(): Argument #1 ($keys) must be of type array, null given
- count(): Argument #1 ($value) must be of type Countable|array, null given
2021-10-12 11:44:24 +02:00
Ralf Becker
3e17b79d5c fix an other PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically 2021-10-11 13:23:26 +02:00
Ralf Becker
c3fb7eda8e fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given 2021-10-11 13:19:46 +02:00
Ralf Becker
b7ef766ebb fix PHP 8.0 Error: Non-static method EGroupware\Api\Db::get_column_attribute() cannot be called statically 2021-10-11 13:15:34 +02:00
Ralf Becker
edf8e68189 fix PHP 8.0 Error: calendar_boupdate::update(): Argument #6 ($messages) cannot be passed by reference 2021-10-11 12:36:58 +02:00
Ralf Becker
88f76e4bc1 fix PHP 8.0 error: array_keys(): Argument #1 ($array) must be of type array, null given 2021-10-08 14:58:45 +02:00
nathan
c73a7beac8 Add placeholder list for calendar & filemanager 2021-10-07 13:47:14 -06:00
nathan
da6a16e62d - Add generation target path preference to all apps
- Use common method to get merge preferences to reduce duplication
2021-10-07 10:22:45 -06:00
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
Ralf Becker
ddddc5ba05 next big chunk of fixed PHP 8.0 Warnings 2021-10-05 14:11:11 +02:00
Ralf Becker
e2ac0ab7b6 fix PHP 8.0 error: Api\Vfs::lock(): Argument #5 ($scope) cannot be passed by reference 2021-10-05 12:01:16 +02:00
Ralf Becker
1e1b5ce935 fix function signature for put_response_headers 2021-09-20 18:50:51 +02:00
Ralf Becker
90f1d9ea37 always show deleted filter and set deleted status in calendar
see #29778
2021-07-07 11:21:45 +02:00
nathangray
9be653e226 Adapt app-specific merges to 186e03671a 2021-06-23 11:31:47 -06:00
Hadi Nategh
c7d80123ce Fix error key(): Argument #1 ($array) must be of type array, null given 2021-06-01 16:35:34 +02:00
nathangray
ba194038bf Silence "PHP Warning: count(): Parameter must be an array or an object that implements Countable" 2021-05-31 14:35:12 -06:00
Hadi Nategh
0fc8d7259f Add missing notify only param from videoconference call in iCal 2021-05-21 13:07:30 +02:00
Ralf Becker
45c89a7930 remove config allowing to immediately delete events (as it's required for sync) 2021-05-18 13:11:14 +02:00
Hadi Nategh
107be6dab4 Make sure the Status app hooks methods are there before calling them 2021-05-17 12:42:24 +02:00
Hadi Nategh
bea4b0dcf9 Fix calendar title not being set for scheduled calls and the contacts as participants not being counted 2021-05-17 09:33:42 +02:00
nathangray
7c6e322dc8 Calendar: Check if there is a real change, not assume every save is a change
Fixes snoozing an alarm over CalDAV sends out a change notification
2021-05-05 14:44:14 -06:00
nathangray
e9e0268b84 Calendar: Message doesn't really need a "*" added 2021-05-04 13:26:09 -06:00
Hadi Nategh
d8e892f7cf Don't show calendar integrated videoconference action if videoconference is disabled or BBB is not configured 2021-04-30 15:17:05 +02:00
nathangray
56ac5d5be8 Calendar: Make sure account is set for alarm 2021-04-28 11:20:43 -06:00
nathangray
80f797567d Calendar: Make sure videoconference & notify_externals attributes have X-EGROUPWARE to avoid errors from clients 2021-04-20 11:45:11 -06:00
Ralf Becker
38ef0e0a94 * CalDAV/CardDAV: fix freebusy-URL for users and support basic auth with regular user credentials too 2021-04-13 16:05:27 +02:00
Ralf Becker
2d046e2632 fix some PHP 8 errors in calendar: in_array() Argument #2 must be of type array, null given 2021-04-07 22:07:49 +02:00
Ralf Becker
4045c06896 fix PHP 8 errors 2021-04-06 15:32:21 +02:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
nathangray
026b088dd0 Calendar: Add button to toggle videoconference events
It works by configured category in status app
2021-03-25 14:39:01 -06:00
nathangray
2b9230c326 Calendar: Move searchbox into "toolbar", change it into proper searchbox, hide it in nextmatch header 2021-03-25 11:22:36 -06:00
nathangray
8208c49637 Calendar: Fix could not delete alarms in unsaved copy of an event 2021-03-24 16:36:01 -06:00
nathangray
0e35c94051 Calendar: Move sidebox search into toolbar area
Also, correct way to move favorites dropdown into toolbar
2021-03-24 16:16:50 -06:00
Hadi Nategh
abf2cb56e2 Add contextmenu action for calendar VC events in order to access recordings 2021-03-24 17:45:32 +01:00
nathangray
9080c9d0e2 Fix some translation issues from Stefan Unverricht 2021-03-23 09:21:13 -06:00
nathangray
c39aafb531 Calendar: Move favorite dropdown from nextmatch header into toolbar 2021-03-18 14:09:53 -06:00
nathangray
f57178e92e Calendar: Fix "Object of class EGroupware\Api\DateTime could not be converted to string" error when adding recurrence to an event 2021-03-17 09:01:53 -06:00
nathangray
d6eb8a87de Calendar: add client-side confirmation before deleting 2021-03-15 09:32:53 -06:00
Ralf Becker
c18e1107dd allow integration apps to delete their entries through calendar 2021-03-12 21:34:07 +02:00
nathangray
5c189c9a93 Calendar: fix immediate notifications, broken by 767b77a 2021-03-10 08:41:12 -07:00
Hadi Nategh
cdfc29a519 Fix error Illegal string offset 2021-03-10 13:25:52 +01:00
nathangray
231b135b1b Calendar: handle push updates for integrated apps 2021-03-09 16:43:03 -07:00
nathangray
d013249851 Calendar: Fix missing integration icons, add some explanation tooltips to event icons 2021-03-09 11:05:37 -07:00
Ralf Becker
767b77aa54 fix missing "Select one" option for group-members 2021-03-04 15:36:46 +02:00
Ralf Becker
da91b260d5 prefer icon from link-registry over navbar icon 2021-03-04 15:29:15 +02:00
nathangray
061a42ed67 * Calendar: add toggles for integrated app display (infolog, call list) to the calendar toolbar 2021-03-03 08:55:51 -07:00
Ralf Becker
e0113c6026 * CalDAV/Calendar: fix weekly recurring events without explicit weekday (BYDAY) were not using start-date 2021-03-02 15:26:55 +02:00
Ralf Becker
32c9e1b6bb * CalDAV/Calendar: participants without status were not imported for new events (eg. from Thunderbird) 2021-03-01 15:39:44 +02:00
nathangray
1af9a9b13f Add videoconference link to event notification email 2021-02-25 10:33:34 -07:00
nathangray
60a486298c Calendar: Disable convert actions if they don't support integrated app 2021-02-23 11:39:36 -07:00
Ralf Becker
cf9e3ae4e1 WIP to display calls in calendar 2021-02-23 00:16:51 +02:00
nathangray
0a7ddcbaaa - Fix immediate notification had weird participants
- More accepting regex for participants
2021-02-17 09:40:21 -07:00
nathangray
1687f199e5 Calendar: Add icon for notification action, use REQUEST method (reconfirm event) for immediate notifications 2021-02-11 11:43:47 -07:00
nathangray
f67f0aa28c * Calendar: Make resources stand out more in conflict list 2021-02-10 11:32:51 -07:00
nathangray
8dedc3392f * Calendar: New context menu action to manually [re]send notifications 2021-02-09 13:50:27 -07:00
nathangray
d0d7031417 * Calendar: Fix alarm for all users had wrong timezone when user timezone was not server timezone 2021-01-27 11:04:08 -07:00
nathangray
fa26bcb29c Calendar: Fix all day events were missing end date in iCal 2021-01-25 10:27:31 -07:00
nathangray
aef0338327 Fix error breaking calendar notifications 2021-01-20 09:23:07 -07:00
nathangray
f1783dd13c Calendar: Avoid "PHP Warning: count(): Parameter must be an array or an object that implements Countable" in error_log 2021-01-15 09:44:28 -07:00
nathangray
25e6f123d0 * Calendar: Fix event notifications had the wrong times in iCal attachment if user timezone was not server timezone 2021-01-14 14:19:45 -07:00
Hadi Nategh
d17f3a6e39 Set participants as extra params for calendar videoconferences 2021-01-11 14:38:52 +01:00
Hadi Nategh
644c602a88 Fix CalDav in Thunderbird no longer syncs when videoconference backend BigBlueButton is configured 2021-01-06 11:31:49 +01:00
nathangray
1e79106264 * Calendar: Fix missing / incorrect recurrence date in cancel notification iCal 2020-12-09 13:55:56 -07:00
nathangray
1f3870af17 * Calendar: Fix quick add 'Save' button would close the whole window, if it had been opened by a different window 2020-12-09 13:44:09 -07:00
nathangray
a3400010a7 * Calendar: Show correct event date when notified of a single cancelled recurring event 2020-12-08 12:30:49 -07:00
Hadi Nategh
43ab2ccfb5 WIP BBB: Take type C participants into account when counting for participants 2020-11-30 13:21:55 +01:00
Hadi Nategh
00a09eafa0 WIP BBB: Fix ical notification contains wrong url 2020-11-27 12:20:44 +01:00
Hadi Nategh
c9173b778e WIP BBB: Update videoconference resource base on number of participants 2020-11-26 12:10:59 +01:00
Hadi Nategh
26d5ca3c7f WIP BBB: Add cal_id into videoconference context 2020-11-26 10:56:06 +01:00
nathangray
f17b82e3d9 Calendar: Fix notifications not getting sent 2020-11-24 10:25:03 -07:00
Hadi Nategh
dc4a2465ff Disable videoconference field in calendar edit dialog if it's not active 2020-11-19 15:39:13 +01:00
Hadi Nategh
33a3c4035b Disable videoconference features in Calendar when it's set to disabled 2020-11-19 12:38:03 +01:00
nathangray
2dc457c007 Calendar: More checks to avoid 0 duration events 2020-10-06 13:55:06 -06:00
nathangray
151889b39c Api: Move list of common merge placeholders into parent class to reduce duplication, add link/<format> options 2020-10-06 10:56:08 -06:00
Ralf Becker
5d599229af fix PHP Warning filling logs 2020-09-25 14:37:09 +02:00
nathangray
aaada4629d *Calendar: Owner / participant no longer have automatically created account group lists offered in mailing list results 2020-09-03 13:26:41 -06:00
nathangray
0a84de589a Calendar: Fix dragging an event from a series to create an exception caused the event to appear duplicated 2020-08-31 11:23:25 -06:00
Ralf Becker
86ddd9cb58 * CalDAV/Calendar: fixed doublication of alarms when participant setting the alarm has no edit rights on the event
also fixed alarms set on a recurrence where lost, if you had edit rights
2020-08-21 13:59:36 +02:00
Ralf Becker
be06f1fbef * Calendar: deleting a recurrence of an event series did not refresh displayed events 2020-08-19 09:59:53 +02:00
Ralf Becker
bdb1b50799 * Calendar/Resources: do NOT try to notify a not set resource responsible 2020-08-18 14:23:49 +02:00
Ralf Becker
4f2ad476a6 * Calendar/CalDAV: config to replace email-domain eg. for a migration 2020-08-14 18:03:44 +02:00
nathangray
9b77a5a1af Calendar: Fix favorite with planner by user and a group could not find group members
It would then display one row for the group, instead of one row per group member.  Did not happen if you had viewed the calendar for the group in another view, or group was selected when calendar opened.
2020-08-03 16:42:31 -06:00
nathangray
10517cb073 Calendar: Fix existing event filtering on push changes
Fixes new events did not show up
2020-07-27 10:13:13 -06:00
Ralf Becker
7c0e53e29e sending notifications errors via push to user 2020-07-26 16:00:38 +02:00
Ralf Becker
92bb06f724 * Calendar: send notifications/meeting requests after responding to user 2020-07-26 15:04:39 +02:00
Ralf Becker
efaf9771d0 do NOT push participants of type email for privacy reasons 2020-07-23 19:06:08 +02:00
Ralf Becker
b7c4cbd5b1 revert pointless putting calendar tracking in on-shutdown (calendar does not use it for notification) 2020-07-17 14:53:39 +02:00
Ralf Becker
b02aa04c8c run notifications and tracking after response send to client 2020-07-16 18:33:30 +02:00
Ralf Becker
b41d35a0ef fix not existing Api\Json\Response::isJSONRequest(), use Api\Json\Request::isJSONRequest() 2020-07-16 14:49:06 +02:00
nathangray
42492d8ea5 Calendar: Handle deleting without reload 2020-07-15 15:56:28 -06:00
nathangray
1cbbfbd9a5 Calendar: Fix push bugs
- Change status from edit dialog did not push
- Change participants from edit dialog did not update planner by user correctly, sometimes not added, sometimes not removed
2020-07-15 13:32:20 -06:00
nathangray
dc6a8e0977 * Calendar: Push updates 2020-07-14 13:39:45 -06:00
nathangray
7ad8e57d2e * Calendar: Optimize fetching participant names to reduce requests 2020-06-26 13:11:46 -06:00
nathangray
34dbf8531b Calendar: Fix user / server timezone mismatch could trigger an incorrect status reset 2020-06-25 09:38:46 -06:00
nathangray
b2c73ed905 Calendar: better fix for spurious history log entries 2020-06-24 15:07:52 -06:00
nathangray
d4fb758a94 * Calendar: Fix user / server timezone mismatch could put incorrect changes in event history 2020-06-24 13:36:11 -06:00
Ralf Becker
10f70d9410 * Calendar/Email: show additional [Delete] and [Edit] buttons for a meeting canceled message 2020-06-16 16:53:43 +02:00
nathangray
634eee092b Calendar: Add videoconference link to ical/groupdav event description 2020-06-09 10:27:10 -06:00
nathangray
d46210be4c Calendar: Do not allow duplicate alarms 2020-06-08 14:07:15 -06:00
Ralf Becker
86bb99e45e * Calendar/CalDAV: videoconference was lost, if meeting was accepted of updated via CalDAV 2020-06-05 11:17:37 +02:00