This website requires JavaScript.
8446de2aa6
Merge pull request #11685 from MrPetovan/bug/11638-gserver_site_name-length
develop
Michael Vogel
2022-06-25 12:39:06 +0200
aa133b5437
Add explicit gserver.site_name string truncate in Model\GServer
Hypolite Petovan
2022-06-25 05:28:06 -0400
aa596df098
Merge pull request #11686 from MrPetovan/bug/11636-emailer-message-id-check
Philipp
2022-06-25 11:58:23 +0200
a2afb101cd
Fix off-by-one error in Message ID header count check in Util\Emailer
Hypolite Petovan
2022-06-25 05:35:24 -0400
b9fe8ee38f
Merge pull request #11683 from MrPetovan/bug/fatal-errors
Tobias Diekershoff
2022-06-25 11:20:33 +0200
c75dbfd3d7
Update default value for LocalRelationship->priority to avoid null values
Hypolite Petovan
2022-06-25 05:03:02 -0400
636b84b41c
Update return value type-hint of GServer::getProtocol
Hypolite Petovan
2022-06-24 22:37:53 -0400
c5b46fe748
Merge pull request #11681 from Quix0r/fixes/item-guidfromuri-allow-null
Hypolite Petovan
2022-06-24 10:15:26 -0400
4cdc0ef267
Merge pull request #11680 from nupplaphil/feat/log_forward
Hypolite Petovan
2022-06-24 10:12:19 -0400
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 +0200
417b0072bb
Move documentation :-)
Philipp Holzer
2022-06-23 23:24:15 +0200
2dc38e5632
Move documentation :-)
Philipp Holzer
2022-06-23 23:23:36 +0200
5bf5b5e6c9
adaptions :-)
Philipp Holzer
2022-06-23 23:01:09 +0200
12ba37e8d2
add more doc
Philipp Holzer
2022-06-23 22:46:46 +0200
13783089e7
Add copyright
Philipp Holzer
2022-06-23 22:44:17 +0200
d441b90bda
Respect Forwarded-For headers
Philipp Holzer
2022-06-23 22:42:35 +0200
dbc1ebbb5c
Merge pull request #11679 from Quix0r/rewrites/autotest
Hypolite Petovan
2022-06-23 12:41:14 -0400
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 +0200
d322e9288b
Merge pull request #11677 from Quix0r/rewrites/type-hints-doc-001
Hypolite Petovan
2022-06-23 11:34:52 -0400
657a8a7cb5
Changes: - documented null value - two ' to much!
Roland Häder
2022-06-23 17:26:31 +0200
202857ba7d
No need to log $tid here
Roland Häder
2022-06-23 16:14:33 +0200
fd8f4269ff
Reformatted code
Roland Häder
2022-06-23 16:03:55 +0200
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 +0200
a49fb9cbf9
Changes: - added some type-hints - added documentation
Roland Häder
2022-06-23 13:56:18 +0200
84d3eecc33
Changes: - added some type-hints - changed double-quotes to single
Roland Häder
2022-06-23 12:11:22 +0200
57e741f2cf
More type-hints added
Roland Häder
2022-06-23 11:59:37 +0200
182c3db9b8
Changes: - added type-hints - added missing documentation
Roland Häder
2022-06-23 11:57:52 +0200
b8353a6eb7
Changes: - reformatted some array - added missing documentation - added type-hints - changed double-quotes to single
Roland Häder
2022-06-23 11:39:45 +0200
c6c936a80f
Added more type-hints
Roland Häder
2022-06-23 10:56:37 +0200
3f74a59f73
Added some type-hints
Roland Häder
2022-06-23 10:30:44 +0200
69a68be800
Added some missing type-hints
Roland Häder
2022-06-23 10:18:38 +0200
f889aeffb3
Changes: - changed double-quotes to single - added type-hints
Roland Häder
2022-06-23 10:14:18 +0200
d8ff966d21
Throw IAE again (should never become visible)
Roland Häder
2022-06-23 10:03:10 +0200
35c78ce14c
Ops, cannot return Thread?
Roland Häder
2022-06-23 09:57:42 +0200
c2e26b4f49
Changed: - Introduced InvalidArgumentException (should never come) - added type-hints
Roland Häder
2022-06-23 09:53:46 +0200
2f3705f471
Continued: - renamed varibales to $camelCase - added type-hints - updated documentation
Roland Häder
2022-06-23 09:41:37 +0200
0322456f70
Merge pull request #11678 from Quix0r/fixes/send-contact-accept-id-string
Hypolite Petovan
2022-06-23 11:05:38 -0400
0ddb315b23
$id in Transmitter::sendContactAccept() is a string, see Introduction class
Roland Häder
2022-06-23 16:46:44 +0200
bf600905d3
Merge pull request #11676 from Quix0r/fixes/array-element-missing
Hypolite Petovan
2022-06-23 09:06:59 -0400
859af16cca
Merge pull request #11675 from Quix0r/features/smarty-sub-directories
Hypolite Petovan
2022-06-23 09:06:06 -0400
636fef26f1
Maybe this fixes missing array element
Roland Häder
2022-06-23 07:39:27 +0200
589d0360a4
So simple ... Ops!
Roland Häder
2022-06-23 04:58:16 +0200
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 +0200
b2aee2cf29
Merge pull request #11674 from nupplaphil/dep/guzzle
Hypolite Petovan
2022-06-22 15:07:42 -0400
e3aed8099c
Merge pull request #9 from nupplaphil/dependabot/composer/guzzlehttp/guzzle-6.5.8
Philipp
2022-06-22 20:23:38 +0200
c824ba43d5
Merge pull request #11673 from Quix0r/bugs/returned-type-array-bool
Hypolite Petovan
2022-06-22 13:29:39 -0400
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 +0200
15d8341d9a
Converted multiple single-comment (//) to multi-line comment block (/* */)
Roland Häder
2022-06-22 18:06:04 +0200
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 +0200
eb231bc548
Fixed: ?? didn't work here as bool won't be seen as null
Roland Häder
2022-06-22 17:09:20 +0200
78bf7f187c
Merge pull request #11669 from MrPetovan/bug/11666-email-subject-double-encode
Philipp
2022-06-22 16:51:23 +0200
b96daeeeef
Merge pull request #11670 from Quix0r/fixes/more-type-hints-004
Hypolite Petovan
2022-06-22 10:49:20 -0400
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 +0200
101cd2dd10
Changes: - added some documentation - fixed some documentation - changed more double-quotes to singl
Roland Häder
2022-06-22 16:13:46 +0200
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 +0200
ee8d0ad619
Changes: - added more type-hints - added some documentation
Roland Häder
2022-06-22 12:01:42 +0200
feec96cbc4
Return empty array on error (I hope it works this way).
Roland Häder
2022-06-22 11:49:54 +0200
2dd7d465e8
Changes: - added more type-hints - updated documentation - changed double-quotes to single
Roland Häder
2022-06-22 11:44:56 +0200
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 +0200
12add2fb64
$data can turn into bool here
Roland Häder
2022-06-22 06:03:37 +0200
08f55f0358
Ops, forgot to rename these, too.
Roland Häder
2022-06-22 05:54:25 +0200
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 +0200
dfa95ea58d
Changes: - added type-hints - added documentation
Roland Häder
2022-06-22 05:03:30 +0200
84bfc37bf1
Changes: - added more type-hints - added missing documentation
Roland Häder
2022-06-21 23:34:14 +0200
fa973d3b0f
Merge pull request #11671 from MrPetovan/bug/fatal-errors
Tobias Diekershoff
2022-06-22 14:30:39 +0200
e9f7bb477d
Add expected type-hint to BoundariesPager::renderFull
Hypolite Petovan
2022-06-22 07:49:45 -0400
7295138f8d
Remove type-hint inconsistent with expected return value in Database->getVariable
Hypolite Petovan
2022-06-22 07:47:15 -0400
d68f307337
Remove email subject encoding from ItemCCEmail constructor
Hypolite Petovan
2022-06-21 21:12:09 -0400
a05baaf249
Merge pull request #11668 from Quix0r/renames/logger
Hypolite Petovan
2022-06-21 20:52:19 -0400
2f358607c7
Changes: - renamed Logger::getLogger() to getInstance() (@MrPetovan )
Roland Häder
2022-06-22 01:49:35 +0200
6443713af1
Bump guzzlehttp/guzzle from 6.5.5 to 6.5.8
dependabot[bot]
2022-06-21 20:47:00 +0000
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 +0200
1c57ea7f75
Merge pull request #11665 from Quix0r/rewrites/dba-array-string-table
Hypolite Petovan
2022-06-21 15:15:57 -0400
8092188991
Added important comment from @nupplaphil@github.com
Roland Häder
2022-06-21 21:12:43 +0200
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 +0200
80c8ec17c2
Fixed documentation
Roland Häder
2022-06-21 18:42:51 +0200
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 +0200
3b8d9a7248
Use protected $this->logger instead
Roland Häder
2022-06-21 17:54:23 +0200
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 +0200
dcedd2e5d9
Ops, WWORD ...
Roland Häder
2022-06-21 13:53:30 +0200
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 +0200
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 +0200
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 +0200
1080a840f5
Changes: - Database->$driver can no longer be NULL, an empty string is fine anyway
Roland Häder
2022-06-21 13:04:05 +0200
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 +0200
0d81a08e3c
WIP: Properly some fixes? Also why is DROP VIEW IF EXISTS is being killed?
Roland Häder
2022-06-21 12:09:51 +0200
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 +0200
f62c28008a
Removed comment
Roland Häder
2022-06-21 11:10:11 +0200
cefffde691
Changes: - added type-hints - added some missing documentation
Roland Häder
2022-06-20 03:10:02 +0200
f1867463a0
Changes: - added more type-hints
Roland Häder
2022-06-20 02:30:09 +0200
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 +0200
e6ddb167f6
Merge pull request #11664 from tobiasd/20220621-fr
Hypolite Petovan
2022-06-21 07:43:12 -0400
4650ff53d9
Merge pull request #11662 from MrPetovan/bug/11661-splitattachment-null
Tobias Diekershoff
2022-06-21 06:48:52 +0200
fff6e30782
update FR translations THX kalon33
Tobias Diekershoff
2022-06-21 06:45:14 +0200
d2ca812647
Merge pull request #11660 from Quix0r/fixes/more-type-hints-003
Hypolite Petovan
2022-06-20 21:53:17 -0400
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 +0200
95f9eb34ac
Fixed indenting
Roland Häder
2022-06-21 01:29:20 +0200
ee9bc338a5
Merge pull request #11663 from Quix0r/composer/upgrade
Hypolite Petovan
2022-06-20 19:17:13 -0400
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 +0200
6a98ffa330
Updated composer.phar
Roland Häder
2022-06-20 22:54:45 +0200