Commit graph

1477 commits

Author SHA1 Message Date
Aleksander Machniak
cbc8078c79 Fix more phpstan code issues 2024-04-16 08:58:06 +02:00
Christian Mollekopf
817fbf738c Static properties cannot be accessed via the object operator
https://www.php.net/manual/en/language.oop5.static.php

Fixes:
Undefined property: kolab_storage::$last_error in /usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_driver.php on line 397
2024-04-12 10:57:41 +02:00
Christian Mollekopf
62ef0c0c2e event can be null if parsing failed
Summary:
According to:
[01-Apr-2024 09:20:33 UTC] PHP Warning:  Trying to access array offset on value of type null in /usr/share/roundcubemail/plugins/calendar/calendar.php on line 3648

Differential Revision: https://git.kolab.org/D4677
2024-04-04 12:07:33 +02:00
Aleksander Machniak
5786172154 ACL management for DAV folders
Summary:
Implement DAV folder sharing based on draft-pot-webdav-resource-sharing standard

We keep the DAV ACL standard implementation as an option, but this standard
does not cover the folder discovery, so we'll not use it with Kolab setups.

Reviewers: #roundcube_kolab_plugins_developers

Subscribers: #roundcube_kolab_plugins_developers

Differential Revision: https://git.kolab.org/D4668
2024-04-02 15:46:33 +02:00
Aleksander Machniak
176f557ec7 PHPStan Level:4 fixes 2024-01-30 14:45:46 +01:00
Aleksander Machniak
198376f46c PHPStan Level:3 2024-01-29 13:53:48 +01:00
Aleksander Machniak
2103cc317d PHPDoc fixes 2024-01-26 14:38:48 +01:00
Aleksander Machniak
5eb91ca74a PHPStan level:2 fixes (partial) 2024-01-25 13:47:41 +01:00
Aleksander Machniak
5271b6e787 Use consistent PHP code style 2024-01-24 11:24:41 +01:00
Aleksander Machniak
f3319891d5 PHPStan Level:1 fixes, also fixed tests 2024-01-24 10:59:25 +01:00
Aleksander Machniak
28711f7e6e Fix PHP8 warnings 2024-01-16 12:03:19 +01:00
Aleksander Machniak
c8ac5637a4 Fix PHP8 warnings 2023-11-29 15:43:08 +01:00
Aleksander Machniak
41eefa5f5f Calendar: Fix an occasional double-dialog for a new event 2023-09-27 13:04:29 +02:00
Aleksander Machniak
dcfd95fd1f Fix rare fatal error in caldav_calendar class and some PHP8 warnings 2023-09-27 09:21:34 +02:00
Aleksander Machniak
99717b0877 Calendar: Fix restoring an event (or event occurrence) in the Kolab driver (T854626) 2023-08-03 14:12:27 +02:00
Aleksander Machniak
36d8b80300 Don't "inherit" free_busy flag from the iTip invitation 2023-08-01 15:57:18 +02:00
Aleksander Machniak
5d28225264 Fix PHP8 warning 2023-08-01 15:34:33 +02:00
Aleksander Machniak
1b212f3ee2 Fix PHP8 warnings 2023-08-01 10:47:02 +02:00
Aleksander Machniak
83fd802cc4 Fix PHP8 warnings 2023-07-28 14:07:18 +02:00
Aleksander Machniak
79db2b2c45 Add 'calendar_rsvp_actions' option 2023-07-21 19:22:27 +02:00
Aleksander Machniak
83d5c9f7f5 Fix handling of kolab_freebusy_server=false (and other empty values)
- Cleanup code
- Hide availability features in the Resources tab
2023-06-23 14:38:10 +02:00
Aleksander Machniak
e72b765d20 Fix PHP8 warning 2023-06-23 13:08:42 +02:00
Aleksander Machniak
5fcf64fd9f PHP8 compatibility fixes (T7241) 2023-06-16 11:36:22 +02:00
Aleksander Machniak
096b7a8181 Fix PHP8 warnings 2023-06-12 12:07:58 +02:00
Aleksander Machniak
609336d71f Fix PHP8 warnings 2023-06-06 14:52:01 +02:00
Aleksander Machniak
f4a9b1759b Re-add localization labels removed unintentionally by transifex pull 2023-06-02 09:03:20 +02:00
Aleksander Machniak
8d688a4189 Fix email address case-sensitivity in a few places 2023-05-10 15:20:50 +02:00
Aleksander Machniak
68eaf60aca Fix moving objects between DAV folders
The code does "move object then read it" and "read it" was failing
because the folder cache wasn't up-to-date. We force re-synchronization
by reseting the state properly after move().
2023-05-01 12:11:33 +02:00
Aleksander Machniak
000cfa43b5 Fix syntax of SQL queries for the caldav driver in Calendar 2023-04-28 10:46:21 +02:00
Christian Mollekopf
6405635710 Another php8 warning 2023-04-19 16:41:55 +02:00
Aleksander Machniak
74079820c7 Fix PHP8 warnings 2023-04-19 15:25:24 +02:00
Victor Nawothnig
d13f808854 Default sensitivity to 0 (T7121)
Reviewers: machniak

Differential Revision: https://git.kolab.org/D4112
2023-03-05 08:54:42 +01:00
Aleksander Machniak
e9bd840a87 Remove Oracle DB support 2023-01-19 10:58:16 +01:00
Aleksander Machniak
7810d77969 PHP8 fixes - code style 2023-01-18 16:38:22 +01:00
Christian Mollekopf
d988dac141 PHP 8 fixes
Differential Revision: https://git.kolab.org/D3995
2023-01-18 14:50:31 +01:00
Aleksander Machniak
5af7c61b20 "Edit/Share" -> "Edit" also for the database driver 2023-01-17 14:52:44 +01:00
Aleksander Machniak
8e3561758a Add support for Cyrus v3 Freebusy service 2023-01-11 11:59:49 +01:00
Aleksander Machniak
45088c23b9 "Edit/Share" -> "Edit" for CalDAV folders 2023-01-06 14:39:48 +01:00
Aleksander Machniak
a3ef1eedf1 CalDAV driver for Tasks
includes cache syncronization fixes and PHP8 fixes.
2023-01-03 10:42:54 +01:00
Aleksander Machniak
e5f57f6160 Calendar/Tasklist: De-duplicate attachments handling code 2022-12-21 14:03:22 +01:00
Aleksander Machniak
a0c564f946 Fix various calendar recurrence issues 2022-12-20 14:15:39 +01:00
Aleksander Machniak
371a664e92 CalDAV attachments support, PHP8 fixes 2022-12-15 10:06:29 +01:00
Aleksander Machniak
24e2e1ce84 Fix infinite loop in kolab_storage_dataset 2022-12-09 14:39:46 +01:00
Aleksander Machniak
0530881f4b Remove dependency on kolabcalendaring/kolabformat in CalDAV driver, various PHP8 support fixes 2022-12-05 15:07:23 +01:00
Aleksander Machniak
e4271ccfd8 Replace Horde with Sabre in libcalendaring_recurrence 2022-12-02 14:51:33 +01:00
Christian Mollekopf
ee732ffb07 Disable the freebusy UI if no kolab_freebusy_server is configured
Differential Revision: https://git.kolab.org/D3962
2022-12-02 12:50:02 +01:00
Aleksander Machniak
b3c882e037 Add tests for the localization files 2022-12-01 12:42:11 +01:00
Aleksander Machniak
258665932d Update localization, fix bugs in some localization files 2022-12-01 12:41:13 +01:00
Aleksander Machniak
1b33810f71 Try to support PHP >= 7.2, small refactoring 2022-11-30 12:54:29 +01:00
Aleksander Machniak
f5d95d5a92 Use Sabre/VObject v4, Partial PHP8 support 2022-11-29 15:54:43 +01:00