Commit Graph

3193 Commits

Author SHA1 Message Date
nathan
953166b161 Fix problems with links from mail
- unsaved links were not properly displayed
- unsaved links could not be removed
- calendar preserved original links, so even if you removed one it came back
2022-11-01 15:38:58 -06:00
nathan
0596cb501b Calendar: Show "# more" if there were results not returned 2022-10-21 11:31:56 -06:00
nathan
19bae0054a Calendar: Fix notification messages were no longer multi-line textboxes 2022-10-18 13:30:22 -06:00
nathan
d1d3e2a024 Calendar: Avoid error in link_title if participants is not an array 2022-10-18 11:49:36 -06:00
nathan
37cd32e3ef Calendar: Hide actions selectbox entirely when it is readonly 2022-10-13 09:51:30 -06:00
ralf
65c1233ced WIP timesheet timer: allow to start timer as alternative to add a timesheet directly
timesheet will be added on stopping the timer
2022-10-09 15:30:46 +02:00
nathan
7e25d8fdda if user selection is switched to "no user selection at all", do not include users in calendar owner search results 2022-09-26 13:47:59 -06:00
Hadi Nategh
628dd56b87 Fix today action not being displayed in mobile view 2022-09-23 11:32:15 +02:00
ralf
34580f4900 put notify external titels into the label too and move the line below adding participants
also some alignment fixes to look nicer
2022-09-23 09:06:29 +02:00
ralf
fb8f54ec02 * Mail/Calendar: fix applying a participant reply as organizer overwrote event with data send by the participant (not just his status) 2022-09-16 11:22:26 +02:00
Кirils Sоlovjоvs
6727f72185 Update class.calendar_groupdav.inc.php 2022-09-13 21:11:47 +02:00
nathan
662ea62790 Calendar: remove most sidebox date customisations
Now using regular calendar header.  "Go" button and custom header styles removed. Changing the date in sidebox calendar immediately updates state.
2022-09-12 15:35:24 -06:00
nathan
f1cba99aa9 Importexport: Some CSS improvements, avoid an error in import iCal 2022-09-08 14:25:07 -06:00
nathan
64e2fb7c63 Calendar: Fix recurring events that started outside current view were not updated properly in the current view after creating an exception 2022-09-01 09:03:47 -06:00
nathan
924bea48e5 Calendar: Fix some kanban problems
- CalendarOwner webcomponent lacked et2- prefix
- Make sure CalendarOwner TS code is loaded when component is used
- Fix status filter was in changeable fields
- Fix Priority filter was missing options
2022-08-25 10:07:39 -06:00
nathan
3038ebcefd Calendar: Fix inserting event into document using context menu 2022-08-18 15:41:05 -06:00
ralf
90cb916d32 fix PHP Fatal error: Declaration of calendar_owner_etemplate_widget::ajax_search($search_text, $search_options = []) must be compatible with EGroupware\Api\Etemplate\Widget\Taglist::ajax_search($search_text = null, array $search_options = []) 2022-08-09 15:42:12 +02:00
ralf
737311d829 fix lost owner 2022-07-26 17:37:13 +02:00
ralf
6afd07da03 * Calendar/Mail: allow every participant to apply changes from extern organizer and warn if sender is not identical to iCal organizer or participant 2022-07-26 14:13:31 +02:00
nathan
4880a5ae74 Fix adding calendar participants did not give correct values due to missing type indicator 2022-07-22 13:25:38 -06:00
nathan
c6ef3b3a8d Switch calendar owner to web component 2022-07-05 10:18:12 -06:00
nathan
173eb4e110 Calendar: Fix all-day events in a different timezone could slide by a day
Ex: 1977-04-29 created in CET (+1) on a server in UTC would change to the 28th after a few years (1980)
Fixed by staying in server timezone for the recurrence calculations.
2022-06-08 07:57:36 -06:00
ralf
8db07c9a34 allow to use $skip_notify="NOPUSH" for calendar_bo::(update|set_status|update_status|delete) to NOT send push updates
this can and should be used for massive calendar updates to avoid a hugh wave of push messages and responses from clients/browsers to request full calendar data (which is not pushed)
2022-06-03 09:57:33 +02:00
nathan
813cd6924e Calendar refactors:
- date_helper, which was an et2_date_widget, now just a function that can handle all the different date formats in calendar
 - holiday fetch & cache moved into its own file, useable from anywhere
2022-04-29 14:37:52 -06:00
ralf
a74bd82dde next chunk of fixed PHP Warning: Undefined array key or variable in main repo 2022-04-26 21:04:16 +02:00
ralf
d92c5a94a6 fix PHP 8.1 Deprecated by adding return type declarations 2022-04-24 18:15:47 +02:00
nathan
5f997299e5 * Calendar: New preference so default alarm can be for current user or all participants 2022-03-10 11:01:18 -07:00
nathan
0eaae8e5f1 Calendar: Set new ID to fix missing links to CF fields on new events 2022-03-07 10:15:50 -07:00
Ralf Becker
3c5bea23ef * Calendar/CalDAV: ignore Outlook CalDAV Synchronizer setting participant status back to unknown/needs-action (other status will be updated) 2022-02-09 14:19:57 +02:00
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