Ralf Becker
7248b6649b
fix a bunch of PHP Warnings
2021-10-12 11:51:28 +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
044aae3cf8
fix PHP 8.0 error: Undefined constant "EGroupware\Api\Contacts\cat_id"
2021-10-11 18:40:21 +02:00
Ralf Becker
98e00f08d0
fix PHP 8.0 TypeError: when exporting multiple users
...
Argument 1 passed to EGroupware\Api\Accounts::username() must be of the type int or null, array given
2021-10-11 18:33:59 +02:00
Hadi Nategh
9af2806cc0
Fix account selection for category owner field
2021-10-11 16:48:21 +02:00
Ralf Becker
4495bb56c4
fix PHP 8.0 error reading identity "new", when trying to create a new identity
2021-10-11 15:10:27 +02:00
Ralf Becker
f29a2b5ea8
fix PHP Warning: Illegal string offset 'tmp_name'
2021-10-11 14:02:46 +02:00
Ralf Becker
90ab703a14
fix PHP Warning count(): Parameter must be an array or an object that implements Countable
2021-10-11 13:58:33 +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
6d4de34749
fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
2021-10-11 12:43:20 +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
981f6d853d
also output file and line of exception for json requests
2021-10-11 11:25:56 +02:00
Hadi Nategh
13e717ce68
Merge pull request 8feac04979
#108 from Alexandros into the master
2021-10-11 10:34:19 +02:00
Ralf Becker
59a6a3c717
fix CardDAV error with DAVx5 caused by PHP 8.0 throwing an error instead ignoring it with a warning
...
PHP 8.0 ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "tf-"
current code expected Content-Type header to have charset enclosed in quotes, which it was not
2021-10-11 09:50:46 +02:00
Ralf Becker
59794cc3a4
output line and file of exception as trace not always contain it
2021-10-09 08:43:32 +02:00
Ralf Becker
59b684bb1d
fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
2021-10-09 08:42:02 +02:00
Hadi Nategh
be57764fa6
WIP implementing Iframe widget
2021-10-08 16:03:09 +02:00
Ralf Becker
a04cbc0ab4
an other chunk of PHP 8.0 Warnings fixed
2021-10-08 15:43:48 +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
Hadi Nategh
f62ff90444
Accept mail externalImages with long url
2021-10-08 14:30:04 +02:00
Ralf Becker
cb991f1243
fix Api\Accounts::username(): Argument #1 ($account_id) must be of type ?int, string given
2021-10-08 14:10:45 +02:00
Ralf Becker
c8547466a4
fix empty labels in application selection in ACL dialog
2021-10-08 13:24:08 +02:00
Hadi Nategh
19b4cf034f
Revert strict comparison on mimeType
2021-10-08 13:05:06 +02:00
Ralf Becker
fac81f660d
fix PHP 8.0 errors around ACL dialog and policy:
...
- bitwise AND operator gives TypeError if both values are neither a number nor a numeric string, eg: null, "run"
- Etemplate::setElementAttribute() must NOT be called before instantiating an Etemplate object, you will get fatal error otherwise, because no request object
2021-10-08 09:05:58 +02:00
nathan
d43c27a31b
Fix nested placeholders (customfields from other apps) were not being displayed properly
2021-10-07 14:51:16 -06:00
nathan
c73a7beac8
Add placeholder list for calendar & filemanager
2021-10-07 13:47:14 -06:00
Ralf Becker
417bbccbe3
fix PHP 8.0 Fatal error: Declaration of Api\Etemplate\Request\Session::read($id = null) must be compatible with Api\Etemplate\Request::read($id = null, $handle_not_found = true)
2021-10-07 18:39:40 +02:00
Ralf Becker
a94a46578f
fix PHP 8.0 "TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given" when creating a new directory
2021-10-07 18:31:21 +02: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
nathan
40af04e38e
Fix broken Merge::get_app_class(), we need it to autoload the class
2021-10-07 09:31:43 -06:00
Ralf Becker
460d8cbe0d
fix not working preferences GUI after ddddc5ba05
2021-10-07 17:28:06 +02:00
Ralf Becker
a8d14ffa0a
fix TypeError: Argument 1 passed to EGroupware\Api\Accounts::username() must be of the type int, null given
2021-10-07 16:53:33 +02:00
nathan
66f5c4bfc2
Add start of Et2Date tests
2021-10-07 08:41:53 -06:00
Ralf Becker
7c4914d8db
fix PHP 8.0 error "array_key_exists(): Argument #2 ($array) must be of type array, null given" when creating a category
2021-10-07 16:16:12 +02:00
Ralf Becker
d915b25bba
fix PHP 8.0 error Illegal string offset
...
folder object need to be cast to string (folder name) as objects are not allowed as array keys
2021-10-07 12:37:10 +02:00
Ralf Becker
b1780a35bc
fix Api\Storage\Merge::document_editable_action(): Argument #1 ($action) must be of type array, null given
2021-10-07 12:17:33 +02:00
Ralf Becker
e4f95d9c20
fix missing icons after previous commit
2021-10-07 11:57:20 +02:00
Ralf Becker
d00d6f65f0
fix PHP 8.0 error when deleting a Kanban card
...
- link deletion failed when link_id was "" as in PHP 8.0 "" < 0 --> gave the error
- link to card was never deleted as board_id is not stored in card
2021-10-07 10:44:23 +02:00
Ralf Becker
91bd7c7aeb
an other chunk of fixed PHP 8.0 Warnings
2021-10-07 10:14:43 +02:00
nathan
02dce82010
Merge branch 'master' into web-components
2021-10-06 14:02:22 -06:00
nathan
45f039da95
* Add preference to set the filename of merged documents using placeholders
2021-10-06 11:59:29 -06:00
Ralf Becker
5b3a6c02b4
PHP 8.0 Fatal error: Declaration of timesheet_tracking::get_subject($data, $old) must be compatible with Api\Storage\Tracking::get_subject($data, $old, $deleted = null, $receiver = null)
2021-10-06 16:32:14 +02: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
Hadi Nategh
b837a0235e
Fix styling in toolbar
2021-10-06 15:44:21 +02:00
Ralf Becker
cb8cac15dc
fix mail account creation under PHP 8.0
...
PHP 8.0: "new" > 0 === true
PHP<8.0: "new" > 0 === false
2021-10-06 12:31:23 +02:00
Hadi Nategh
d3fd2aa76a
PHP8: fix error Illegal offset typePHP, happens while moving mail from one account to another
2021-10-06 11:38:54 +02:00
Hadi Nategh
ffeb929b49
Fix wrong condition on checking url strlen
2021-10-06 11:09:32 +02:00
Ralf Becker
d1d8d0833a
fix PHP 8.0 sending mail: Illegal offset type in isset or empty
2021-10-06 09:11:59 +02:00