Aleksander Machniak
ccc000f219
Fix Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given (PHP 8.4)
2024-08-30 20:09:32 +02:00
Aleksander Machniak
0e78f492fe
Fix PHP 8.4 deprecation warning
2024-08-30 20:05:11 +02:00
Aleksander Machniak
79756d53df
DAV: Single-type calendar and tasks folders
...
Summary:
- Don't store tasks and events in the same folder, set new folder supported-calendar-component-set appropriately
- Make single request on folder creation. Before it was MKCOL + PROPPATCH, now it's MKCOL
Test Plan: Create Tasks folder, check it does not appear in Calendar, and vice-versa
Reviewers: #roundcube_developers, mollekopf
Reviewed By: #roundcube_developers, mollekopf
Subscribers: #roundcube_developers
Differential Revision: https://git.kolab.org/D4656
2024-08-29 15:41:19 +02:00
Aleksander Machniak
102847604d
Fix PHP8 warnings
2024-07-23 11:19:50 +02:00
Christian Mollekopf
cfd8b4e6c8
php8 warning
2024-07-04 11:13:47 +02:00
Aleksander Machniak
398c3120e8
Add missing test file
2024-07-02 12:24:52 +02:00
Aleksander Machniak
8f88b4b120
Fix fatal error when parsing VEVENT without DTSTART
...
Such a dummy/redundant VEVENT block was found in an iTip created in Exchange 2010.
2024-07-02 12:21:09 +02:00
Aleksander Machniak
1345402bb9
Fix tests using Roundcube master
2024-07-02 11:50:10 +02:00
Aleksander Machniak
905644dc6c
Default DAV folder detection
2024-05-30 08:34:32 +02:00
Aleksander Machniak
2cedf86201
Log error and do not throw when an iTip body is unset
2024-05-23 15:29:27 +02:00
Aleksander Machniak
6575f26900
Fix phpstan error
2024-05-23 15:25:01 +02:00
Aleksander Machniak
98e2dc3db8
Fix potential XSS issue
2024-05-17 14:19:22 +02:00
Christian Mollekopf
53b866e98f
php8 warning
2024-05-08 09:39:11 +02:00
Christian Mollekopf
dcf4c8aeda
Detect errors on fetch_headers
...
The search can be too long on dovecot, but we never notice because
fetch_headers doesn't distinguish between error and empty result.
We shouldn't normally get an empty result though, so this should work.
2024-05-08 09:24:27 +02:00
Aleksander Machniak
08ede7da0e
Fix PHP8 warnings
2024-04-26 11:22:13 +02:00
Aleksander Machniak
fca13da536
Pending invitations calendars for CalDAV
2024-04-26 11:17:56 +02:00
Aleksander Machniak
f96251e003
Update activesync_setup_url
2024-04-18 15:25:18 +02:00
Aleksander Machniak
ed50d5fc58
T8358: Fix DAV folder owner encoding
2024-04-18 15:09:51 +02:00
Aleksander Machniak
95cc2eb973
Ignore some errors in stderr in some tests
2024-04-18 14:03:46 +02:00
Aleksander Machniak
4f8869529e
Fix fatal error when parsing an event with broken recurrence
2024-04-18 13:53:13 +02:00
Aleksander Machniak
cbc8078c79
Fix more phpstan code issues
2024-04-16 08:58:06 +02:00
Christian Mollekopf
8705d6d994
php8 compat
2024-04-12 10:57:41 +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
Aleksander Machniak
0333d78048
Fix phpstan error
2024-04-04 16:14:10 +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
00bc00945b
Fix bug in mail_get_itip_object()
...
This could cause problems with accepting iTip invitations.
2024-03-28 20:35:51 +01:00
Christian Mollekopf
1ecff64896
Restore php 7.2 compat
...
??= is apparently only available from 7.4 on.
See:
https://wiki.php.net/rfc/null_coalesce_equal_operator
2024-03-26 12:49:45 +01:00
Christian Mollekopf
d19de72637
Apparently we can get 200 without a body back
2024-03-25 13:44:00 +01:00
Christian Mollekopf
4e0b7df3ca
Relax caxy/php-htmldiff requirement
...
0.1.9 is the last version with php 7.2 support
2024-03-13 11:02:26 +01:00
Aleksander Machniak
f2547d87fe
tasklist: Fix various issues with DAV driver, store alarms option in folder properties
2024-02-29 16:23:57 +01:00
Aleksander Machniak
7d2672fba7
Tasklist: Fix unwanted tag creation when flagging a task
2024-02-28 13:10:22 +01:00
Aleksander Machniak
d3c0b28196
PHPDoc updates
2024-02-28 13:07:38 +01:00
Aleksander Machniak
84c232f6dc
Fix PHP Fatal error: Cannot access private property kolab_ldap::$ready
2024-02-28 12:42:49 +01:00
Aleksander Machniak
b472372a80
Fix editing addressbook folder using Kolab driver
2024-02-12 12:57:25 +01:00
Aleksander Machniak
e9fdf8e979
kolab_sso: Install firebase/php-jwt via composer
2024-02-09 15:09:04 +01:00
Aleksander Machniak
158b6c972d
Make libkolab::html_diff() compatible with PHP8
...
- use external packages, remove libkolab/vendor
- Warning: These might not work on PHP<7.3
- added some tests for the feature
2024-02-09 11:24:40 +01:00
Christian Mollekopf
a3bad978e2
Fixed dav_debug cast
2024-02-05 12:19:14 +01: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
312b1981de
Fix test
2024-01-25 15:58:15 +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
7aa7a9fe5b
PHPDoc fixes
2024-01-19 16:05:37 +01:00
Aleksander Machniak
28711f7e6e
Fix PHP8 warnings
2024-01-16 12:03:19 +01:00
Aleksander Machniak
b258585da1
Improve "empty" _sync_unlock()
2024-01-10 15:56:22 +01:00
Aleksander Machniak
f41dc94eae
Compatibility fixes for Roundcube 1.7
2024-01-10 14:44:14 +01:00
Aleksander Machniak
9c69920ccb
Fix handling errors on FETCH in the cache synchronization, code cleanup
2024-01-10 14:32:03 +01:00