Commit Graph

37270 Commits

Author SHA1 Message Date
Ralf Becker
12a77b2126 fix PHP 8.0 TypeError: Api\Accounts::username(): Argument #1 ($account_id) must be of type ?int, string given
using Api\Accounts::title() but cast to int, if giving an non-zero result
2021-11-08 12:34:34 +01:00
Ralf Becker
74cc2f03ff fix PHP 8.0 TypeError: Api\Accounts::username(): Argument #1 ($account_id) must be of type ?int, string given
new method for account link-title not throwing an error, for non-numeric arguments and therefore stalling all titles
2021-11-08 12:22:41 +01:00
Ralf Becker
02270f63fb fix PHP 8.0 TypeError: Exception::__construct(): Argument #2 ($code) must be of type int, string given 2021-11-08 11:36:25 +01:00
Ralf Becker
7792c706a6 fix PHP 8.0 error: Undefined constant "__ALL__" 2021-11-08 11:25:42 +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
nathan
e03b8bbdc9 Merge branch 'master' into web-components 2021-11-05 11:08:31 -06:00
nathan
b125e1b2fd Infolog: Fix linking a second project will remove one project after a second save
With test.
2021-11-05 10:45:27 -06:00
Ralf Becker
2f1559a490 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-05 15:18:57 +01:00
Ralf Becker
a50054b8c7 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-05 15:12:40 +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
9fbd07e335 fix PHP 8.0 TypeError: Unsupported operand types: null + array 2021-11-05 14:49:56 +01:00
Ralf Becker
66d45452ab fix PHP 8.0 TypeError: explode(): Argument #2 ($string) must be of type string, array given 2021-11-05 14:43:32 +01:00
Ralf Becker
de7f4329ff fix PHP 8.0 TypeError: uasort(): Argument #1 ($array) must be of type array, null given 2021-11-05 14:37:21 +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
e5c668f7b2 fix PHP 8.0 error in SMime by updating to our fixed Horde/Crypt:2.7.14 2021-11-05 12:33:20 +01:00
Ralf Becker
57ac760a78 fix PHP 8.0 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 2021-11-05 11:38:49 +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
Ralf Becker
4db49da7e5 fix PHP 8.0 error: trim expects string, array given
removed trim
2021-11-05 09:08:17 +01:00
Hadi Nategh
201d1f9972 Fix PHP8.0 error (TypeError): strlen(): Argument #1 ($string) must be of type string, array given 2021-11-04 17:23:45 +01:00
nathan
b78b7c3960 Fix formatter tests to work independant of timezone when run 2021-11-04 09:25:37 -06:00
nathan
b7daf84d90 Merge branch 'master' into web-components 2021-11-04 09:24:37 -06:00
Hadi Nategh
dd42733393 Fix PHP8.0 (TypeError): array_diff(): Argument #2 must be of type array, null given 2021-11-04 15:50:48 +01:00
Hadi Nategh
62fcc3156c Fix PHP8.0 (TypeError): explode(): Argument #2 ($string) must be of type string, array given 2021-11-04 14:30:23 +01:00
Hadi Nategh
1f28336702 Fix stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) by preventing empty html value being processed 2021-11-04 14:12:21 +01:00
Hadi Nategh
49b2313cfd Fix error (TypeError): count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-04 09:45:55 +01:00
nathan
39336370cf Recompile [tests] before running tests 2021-11-03 14:34:55 -06:00
nathan
ca429d0fae Tests for date + time parsing & formatting, and fixing the bugs they revealed 2021-11-03 13:49:39 -06:00
Ralf Becker
16820b48f8 Getting Grale/WebDAV PHP 8.0 compatible by using forked and fixed egroupware/guzzlehttp:3.9.3 2021-11-03 19:58:24 +01:00
Hadi Nategh
f93256f920 Update tinymce to 5.10.1 2021-11-03 16:49:20 +01:00
nathan
6cd8f67985 Try to avoid "PHP Warning: DOMDocument::loadXML(): Empty string supplied as input" 2021-11-03 09:30:58 -06:00
nathan
672ed0aa0e - DateTime widget to handle dates with times
- Time & Date+time parser & formatter functions
- Date widget does not return a time
2021-11-03 09:05:16 -06:00
Ralf Becker
a5602845c9 fix PHP 8.0 Error: Undefined constant Horde_Imap_Client_Interaction_Server::1
using forked Horde-Imap-Client repo
2021-11-03 15:55:49 +01:00
Ralf Becker
d04b98e64c * Filemanager: fix not working variables eg. $user in GUI mount (Admin > Filemanager)
also support no user/password for sharing links
2021-11-03 14:54:22 +01:00
Hadi Nategh
f21127df8f * Filemanager: Fix video controller not working in filemanager gallery 2021-11-02 17:43:56 +01:00
nathan
312bf62adc Implement readonly for date widget 2021-11-01 10:21:08 -06:00
nathan
76d7447dab Merge branch 'master' into web-components 2021-11-01 09:37:26 -06:00
nathan
14e1e59d7d Calendar: Sort similar length all day events alphabetically 2021-10-29 09:49:06 -06:00
nathan
8e65ea9b3f Filemanager: translations for lock/unlock 2021-10-29 08:51:06 -06:00
nathan
32cd80d331 Calendar: Enable filtering by customfield in list view 2021-10-28 16:07:25 -06:00
nathan
be6146661d Api: Fix check of disabled attribute was misbehaving if the value was null or 0
This showed up when validating tracker config, some rows were disabled with disabled="@tracker".  When tracker=0, they did not return their value.
2021-10-28 14:02:13 -06:00
Ralf Becker
1500ab69f0 fix PHP 8.0 error: trim() expects parameter 1 to be string, array given 2021-10-28 21:34:02 +02:00
Ralf Becker
c15cb2de41 add $depth parameter to Vfs::checkLock($url, int $depth=0) and use it to query all locks in one go for filemanager_ui::get_rows() 2021-10-28 21:08:31 +02:00
nathan
6fa8f1e792 Filemanager: Add lock tooltip, unlock icon on action 2021-10-28 10:27:22 -06:00
nathan
a794adfcf2 API: Make sure memberships is an array to avoid other errors (PHP 8.0) 2021-10-27 13:38:05 -06:00
nathan
0bac2ff1e8 * Filemanager: Add action to unlock files 2021-10-27 11:55:31 -06:00
Ralf Becker
e6b08cce70 fix PHP 8.0 error setting up two factor auth
key() expects array, null given
2021-10-26 19:59:10 +02:00
Hadi Nategh
75b168fb0d Switch to the right mail profileID if it's not matching the current one 2021-10-26 11:09:59 +02:00