82bb36e13d
Changes: - Made Item::guidFromUri()'s $host parameter optional (allowing null) - added some type-hints - added documentation - this may fix reported issue in #11630
Roland Häder
2022-06-24 03:14:22 +02:00
417b0072bb
Move documentation :-)
Philipp
2022-06-23 23:24:15 +02:00
2dc38e5632
Move documentation :-)
Philipp
2022-06-23 23:23:36 +02:00
5bf5b5e6c9
adaptions :-)
Philipp
2022-06-23 23:01:09 +02:00
12ba37e8d2
add more doc
Philipp
2022-06-23 22:46:46 +02:00
13783089e7
Add copyright
Philipp
2022-06-23 22:44:17 +02:00
d441b90bda
Respect Forwarded-For headers
Philipp
2022-06-23 22:42:35 +02:00
3aeeac5d98
Rewrite: - rewrote autotest.sh and moved it to bin/dev/ as this is clearly a developer script - the rewrite's goal is towards Shell/POSIX-compliance (e.g. ${VAR} and not $VAR)
Roland Häder
2022-06-21 19:38:56 +02:00
657a8a7cb5
Changes: - documented null value - two ' to much!
Roland Häder
2022-06-23 17:26:31 +02:00
202857ba7d
No need to log $tid here
Roland Häder
2022-06-23 16:14:33 +02:00
fd8f4269ff
Reformatted code
Roland Häder
2022-06-23 16:03:55 +02:00
5699b03e8d
Changes: - added some nodes to OpenSearch descriptor - still no UTF-8 encoding! - added some type-hints
Roland Häder
2022-06-23 14:50:19 +02:00
a49fb9cbf9
Changes: - added some type-hints - added documentation
Roland Häder
2022-06-23 13:56:18 +02:00
84d3eecc33
Changes: - added some type-hints - changed double-quotes to single
Roland Häder
2022-06-23 12:11:22 +02:00
57e741f2cf
More type-hints added
Roland Häder
2022-06-23 11:59:37 +02:00
636fef26f1
Maybe this fixes missing array element
Roland Häder
2022-06-23 07:39:27 +02:00
589d0360a4
So simple ... Ops!
Roland Häder
2022-06-23 04:58:16 +02:00
69676c9f7b
Changes: - enabled sub-directories for compiled/cached files which avoids large+slow directory descriptors - changed some double-quotes to single
Roland Häder
2022-06-23 04:23:22 +02:00
7eefb9aed8
Changed: - empty() is maybe superflous here, still I would prefer a code style that is written explicitly and not rely on "magic casting"
Roland Häder
2022-06-22 18:56:08 +02:00
15d8341d9a
Converted multiple single-comment (//) to multi-line comment block (/* */)
Roland Häder
2022-06-22 18:06:04 +02:00
b996712ef7
Images::getInfoFromURL[Cached]() will both return empty arrays on error and that needs to be reflected here, too.
Roland Häder
2022-06-22 17:18:39 +02:00
eb231bc548
Fixed: ?? didn't work here as bool won't be seen as null
Roland Häder
2022-06-22 17:09:20 +02:00
78bf7f187c
Merge pull request #11669 from MrPetovan/bug/11666-email-subject-double-encode
Philipp
2022-06-22 16:51:23 +02:00
d5441da49a
Fixed: - TypeError: "Argument 1 passed to Friendica\Util\XML::escape() must be of the type string, null given, called in src/Util/XML.php line 171
Roland Häder
2022-06-22 16:19:45 +02:00
101cd2dd10
Changes: - added some documentation - fixed some documentation - changed more double-quotes to singl
Roland Häder
2022-06-22 16:13:46 +02:00
ba45e59313
Changes: - added more type-hints - added missing documentation - Email::send() now returns what mail() returns (bool)
Roland Häder
2022-06-22 12:43:56 +02:00
ee8d0ad619
Changes: - added more type-hints - added some documentation
Roland Häder
2022-06-22 12:01:42 +02:00
feec96cbc4
Return empty array on error (I hope it works this way).
Roland Häder
2022-06-22 11:49:54 +02:00
2dd7d465e8
Changes: - added more type-hints - updated documentation - changed double-quotes to single
Roland Häder
2022-06-22 11:44:56 +02:00
74ab7648c6
Changes: - addHubLink()'s 2nd parameter is DOMElement - added more type-hints - converted double-quotes to single
Roland Häder
2022-06-22 11:35:15 +02:00
12add2fb64
$data can turn into bool here
Roland Häder
2022-06-22 06:03:37 +02:00
08f55f0358
Ops, forgot to rename these, too.
Roland Häder
2022-06-22 05:54:25 +02:00
abd0d9f3fd
Changes - added type-hints - added some documentation - added default: block for unknown 'rel' value - changed return type void to empty array
Roland Häder
2022-06-22 05:44:57 +02:00
2f358607c7
Changes: - renamed Logger::getLogger() to getInstance() (@MrPetovan)
Roland Häder
2022-06-22 01:49:35 +02:00
6443713af1
Bump guzzlehttp/guzzle from 6.5.5 to 6.5.8
dependabot[bot]
2022-06-21 20:47:00 +00:00
cdcfb4064b
Changes: - added type-hints - added missing documentation - renamed Logger::getWorker() to Logger::getLogger() as there is no worker class returned but the actual (inner) logger
Roland Häder
2022-06-21 18:40:26 +02:00
f38ad168f5
Reverted and improved TODO: ------ @nupplaphil: There is no easy possibility to add a logger here, that's why there isn't any yet and instead a placeholder.. This execution point is a critical state during a testrun, and tbh I'd like to leave here no further logic (yet) because I spent hours debugging cases, where transactions weren't fully closed and strange/unpredictable errors occur (sometimes -mainly during debugging other errors :) ...) -----
Roland Häder
2022-06-21 19:19:11 +02:00
80c8ec17c2
Fixed documentation
Roland Häder
2022-06-21 18:42:51 +02:00
0332a57bfd
Rewrote to suggestions from @MrPetovan (I tried to maintain the old way of ['scheme' => 'table'] with my version).
Roland Häder
2022-06-21 18:11:59 +02:00
3b8d9a7248
Use protected $this->logger instead
Roland Häder
2022-06-21 17:54:23 +02:00
9ccb113530
Ops, autorun.sh is there but looks like lesser "multi-project" friendly as MYSQL_* must be defined. I might still use my version as that is project-specific.
Roland Häder
2022-06-21 17:47:11 +02:00
dcedd2e5d9
Ops, WWORD ...
Roland Häder
2022-06-21 13:53:30 +02:00
5e57ad4d44
Added simple wrapper script to run PHPUnit tests for you. To use this, you need to set at least 4 variables in your ~/.bashrc (recommended):
Roland Häder
2022-06-21 13:45:13 +02:00
5fe428d3e4
Fixed: - PHPUnit\Framework\Error\Notice: Undefined index: language in /.../src/Util/EMailer/MailBuilder.php on line 122
Roland Häder
2022-06-21 13:32:04 +02:00
a7651fa1d5
Changes: - let's at least log the error message, yes it does flood your logfile
Roland Häder
2022-06-21 13:21:33 +02:00
1080a840f5
Changes: - Database->$driver can no longer be NULL, an empty string is fine anyway
Roland Häder
2022-06-21 13:04:05 +02:00
945cd1a2c2
Fixed: - since $table can be now schema.table, this needs being taken care off - maybe this foreach(explode()) is a bit an overkill as only 1 or 2 entries can be found in it
Roland Häder
2022-06-21 12:43:24 +02:00
0d81a08e3c
WIP: Properly some fixes? Also why is DROP VIEW IF EXISTS is being killed?
Roland Häder
2022-06-21 12:09:51 +02:00
44a9ec9b17
Rewrite: - avoid having array|string for $table to have a "string" type-hint for $table - you now have to do it for yourself by giving 'schema.table' as parameter
Roland Häder
2022-06-21 11:44:23 +02:00
f62c28008a
Removed comment
Roland Häder
2022-06-21 11:10:11 +02:00
cefffde691
Changes: - added type-hints - added some missing documentation
Roland Häder
2022-06-20 03:10:02 +02:00
f1867463a0
Changes: - added more type-hints
Roland Häder
2022-06-20 02:30:09 +02:00
77c37ff2db
Fixed: - Uncaught Exception TypeError: "Argument 3 passed to Friendica\Protocol\DFRN::createActivity() must be of the type string, null given, called ..."
Roland Häder
2022-06-16 19:31:50 +02:00
3e522ed512
Fixed: - prevent NULL from being handled over to XML::escape() - still I wonder that an object can be? It is a string-only accepting method
Roland Häder
2022-06-21 01:41:34 +02:00
95f9eb34ac
Fixed indenting
Roland Häder
2022-06-21 01:29:20 +02:00
b6fa022a73
Changes: - added type-hints - added some documentation - marked some generic methods to be moved to Util\Strings class instead
Roland Häder
2022-06-20 23:49:29 +02:00
6a98ffa330
Updated composer.phar
Roland Häder
2022-06-20 22:54:45 +02:00
fbae0b8bcf
Changes: - renamed ItemArrayFromMail() to getItemArrayFromMail() to follow naming-convetion - added missing type-hints - added missing documentation
Roland Häder
2022-06-20 21:21:32 +02:00
ea22e88896
Added documentation
Roland Häder
2022-06-20 21:02:18 +02:00