Commit Graph

3221 Commits

Author SHA1 Message Date
nathan
aaa8a4a3f9 Calendar: fix occasional 502 error on first login after restart 2023-05-03 14:36:22 -06:00
nathan
9033299d76 * Calendar: Put email address after user or contact
See ticket #80674
2023-05-02 10:58:23 -06:00
nathan
d70562e0be Calendar: Avoid Undefined warning 2023-04-27 07:59:44 -06:00
nathan
1b632b8649 Calendar: Fix events not shown when showing calendar of a resource category 2023-04-26 08:18:27 -06:00
ralf
3c7650aaab * Calendar/CalDAV: fix recurring events with users only added to an exception and have been deleted or rejected after 2023-04-25 15:14:01 +02:00
nathan
da68b83a07 Calendar: When moving an event reset status of non-users according to event owner's preference instead of always resetting 2023-04-19 11:00:35 -06:00
nathan
ba46b48206 Calendar: Fix error shown after importing ical
"substr(): Argument #1 ($string) must be of type string, array given"
2023-04-14 10:45:19 -06:00
ralf
ccd6acd606 * Calendar/CalDAV: set current user as owner for events created in resource calendar 2023-04-05 16:08:36 +02:00
nathan
48c589f5fd Calendar: Fix missing owner resource icons on initial load 2023-03-24 13:15:23 -06:00
nathan
0b5daa0fb6 Calendar: Fix group invitations were left out of "not rejected" filter 2023-03-24 09:16:06 -06:00
ralf
cba93ad4ce fix some typos or ancient syntax 2023-03-07 08:19:15 +01:00
nathan
1538496df1 Home WIP: Get calendar working 2023-03-06 14:47:48 -07:00
ralf
c3e53c9d86 replaced ProfindIterator now in Calendar and InfoLog too with a generator 2023-02-15 19:50:44 +01:00
ralf
27bd803e84 fix empty collection in PROPFIND/REPORT after last commit caused by creating a reference / NULL value in filter for path-attr/caldav_name 2023-02-15 08:45:28 +01:00
ralf
5e0fd45173 fix found URL in multiget REPORT where reported as NOT found too, if number of URLs exceeds chunk-size of 500 2023-02-13 23:16:43 +01:00
nathan
eb416c3d91 Calendar: Include current user as explicit select option for import target 2023-02-06 16:38:33 -07:00
nathan
95a4b319bb Calendar: Fix bug in iCal import that gave bad calendar owner value 2023-02-06 16:23:39 -07:00
nathan
e575c40ff3 Some missed cases where client-side lavatar was not used 2023-01-30 15:26:09 -07:00
ralf
0eff86f61a fix SQL-backends of accounts and contacts to return either avatar-url or initials 2023-01-30 15:48:53 +01:00
nathan
c7020c79d8 Calendar: Allow calendar integration to specify a caption, not just use app name 2023-01-24 16:11:49 -07:00
nathan
48008f4e96 Add ability to choose target calendar & addressbook when importing ical/vcard 2023-01-19 15:48:35 -07:00
nathan
8a43d88ffe Calendar: Add ability to choose target calendar when importing 2023-01-16 15:31:59 -07:00
nathan
4e875c049f Calendar: Category ACL fixes
- Stop using iframe
- Columns get more width, spreading across the whole page
- Remove "both" option
2023-01-12 15:20:13 -07:00
nathan
a1da1a6fa6 Calendar: Fix user listed in participants twice when creating an event from an email 2022-12-23 10:45:53 -07:00
nathan
05a4fc2758 Fix missing / doubled calendar owners in sidemenu 2022-12-08 14:26:53 -07:00
nathan
b129a46e3c Calendar: If an event went from recurring to non-recurring, recurring events could still be displayed 2022-11-25 09:24:04 -07:00
ralf
b2e0e176a5 fix PHP 8.x TypeError: array_filter(): Argument #1 ($array) must be of type array, null given 2022-11-24 10:06:14 +01:00
nathan
543fa93c9b calendar: avoid error during CSV import if start or end dates were not able to be parsed 2022-11-21 11:27:11 -07:00
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