Commit graph

3506 commits

Author SHA1 Message Date
Aleksander Machniak
84ef4ac9e3 Fix folders discovery on non-kolab DAV servers (T7276) 2023-06-20 14:31:10 +02:00
Aleksander Machniak
5fcf64fd9f PHP8 compatibility fixes (T7241) 2023-06-16 11:36:22 +02:00
Aleksander Machniak
7f764413f6 kolab_2fa: Bump min PHP version to >= 7.2.0 2023-06-15 14:30:32 +02:00
Aleksander Machniak
4ff91e51de Fix PHP8 warning 2023-06-15 14:03:15 +02:00
Aleksander Machniak
70810e1f88 kolab_2fa: Bump spomky-labs/otphp to version 10
Fixes various PHP8 warnings
2023-06-15 12:26:53 +02:00
Aleksander Machniak
84f10a366b Fix PHP8 warnings 2023-06-14 15:10:51 +02:00
Aleksander Machniak
8430605f6c Fix PHP8 warnings 2023-06-14 15:05:00 +02:00
Christoph Erhardt
32f1865339 Fix TOTP authentication
Summary:
Kolab used to depend on version 4 of the otphp library, which returns
its computed OTP codes as integers. Hence, the kolab_2fa plugin converts
the user input to `int` in order to facilitate comparisons using the
`===` operator.

Starting with version 5, which is now bundled with Kolab, otphp returns
a string instead of an integer. Now the comparison is between an `int`
and a `string`, and thus consistently yields `false`. As a result, no
TOTP code is ever accepted.

Fix TOTP authentication by removing the now-obsolete conversion to
`int`.

Reviewers: machniak

Reviewed By: machniak

Differential Revision: https://git.kolab.org/D4370
2023-06-14 14:54:18 +02:00
Aleksander Machniak
096b7a8181 Fix PHP8 warnings 2023-06-12 12:07:58 +02:00
Aleksander Machniak
6841eb8207 Fix constant name (LOG_EMERGE -> LOG_EMERG) 2023-06-10 09:25:55 +02:00
Aleksander Machniak
4a15d64a69 Fix PHP fatal error 2023-06-08 11:27:15 +02:00
Aleksander Machniak
609336d71f Fix PHP8 warnings 2023-06-06 14:52:01 +02:00
Aleksander Machniak
2b29e447ba Fix PHP8 warnings 2023-06-02 13:48:23 +02:00
Aleksander Machniak
a8a78d3f66 Fix regression on addressbook and notes lists (T7463) 2023-06-02 12:20:06 +02:00
Aleksander Machniak
f4a9b1759b Re-add localization labels removed unintentionally by transifex pull 2023-06-02 09:03:20 +02:00
Aleksander Machniak
4413130c52 Fix PHP warning 2023-06-01 10:18:11 +02:00
Christian Mollekopf
c3de38d72f Bumping http_request from 2.3 to 2.5 for kolab_sso 2023-05-30 09:20:05 +02:00
Aleksander Machniak
66226d6251 Fix typo in localization label 2023-05-26 10:23:49 +02:00
Aleksander Machniak
84084ff3ab Prevent error when using nextcloud_link plugin in CLI 2023-05-11 14:45:22 +02:00
Aleksander Machniak
8d688a4189 Fix email address case-sensitivity in a few places 2023-05-10 15:20:50 +02:00
Aleksander Machniak
0bbc11858a By default subscribe to new non-mail folders 2023-05-05 08:54:58 +02:00
Aleksander Machniak
f70c6d3508 Fix cache issue with handling more than 500 records 2023-05-03 10:31:53 +02:00
Christian Mollekopf
d711a32fab php8 fixes 2023-05-03 09:40:46 +02:00
Christian Mollekopf
f3592eaf3b Always fetch the full result in kolab_storage_cache::select
The previous behaviour did not work in the addressbook if more than 500
results were provided, because nothing turned the uid only fetch into
the full data, resulting in "empty" result records.
This solution seems to work fine for the cases tested and avoids having
to completely different codepaths based on a number of records found.
2023-05-03 09:25:49 +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
3daf72a5d5 Revert tasklist driver default change 2023-04-21 15:08:42 +02:00
Christian Mollekopf
5a833866c7 Fixed display of folders in activesync ui
An empty array is expected, we just need to check if the key exists.
2023-04-20 10:24:46 +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
Aleksander Machniak
06209ca559 Fix PHP warnings 2023-04-10 12:51:43 +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
5cca91ab6c CS improvements 2023-01-25 15:13:27 +01:00
Christian Mollekopf
bac56c4cd1 PHP 8 fixes
Reviewers: #hkccp_developers

Differential Revision: https://git.kolab.org/D4016
2023-01-25 14:58:01 +01:00
Christian Mollekopf
de4e56a561 PHP 8 fixes 2023-01-24 11:04:42 +01:00
Aleksander Machniak
b55ce1d203 Support Postgres database for Kolab cache 2023-01-20 15:10:29 +01:00
Aleksander Machniak
b01053c7da Update SQLite DB schema 2023-01-19 15:44:32 +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
53e29186b0 Calendar: Fix invalid time in event dialog title 2023-01-06 12:39:35 +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
ca07e581dd Support uploads API of Roundcube >= 1.7 2022-12-27 12:38:34 +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
c401074cbb Fix so temp. subscriptions aren't added to mail folders list 2022-12-12 12:47:22 +01:00