]>
git.mxchange.org Git - friendica.git/log
Roland Häder [Sat, 18 Jun 2022 14:02:10 +0000 (16:02 +0200)]
Updated documentation and SQL dump, according to woodpecker tests
Roland Häder [Sat, 18 Jun 2022 13:56:58 +0000 (15:56 +0200)]
Continued:
- prevents a "Return value of Friendica\Core\Worker::workerProcess() must be of the type array, bool returned"
Roland Häder [Sat, 18 Jun 2022 13:30:36 +0000 (15:30 +0200)]
Sizes increased for:
- video files that have sizes var being int allowes
- URLs that might be longer (e.g. magnet: URLs) than varbinary(511) allows
Roland Häder [Sat, 18 Jun 2022 07:58:44 +0000 (09:58 +0200)]
Ops, needs to be a variable:
Error: "Cannot pass parameter 2 by reference" at /var/www/.../src/Module/DFRN/Poll.php line 36
Roland Häder [Sat, 18 Jun 2022 03:41:19 +0000 (05:41 +0200)]
Fixed TypeError: "Argument 1 passed to Friendica\Core\System::httpExit() must be
of the type string, null given, called in /var/www/.../src/Module/DFRN/Poll.php
on line 37"
Roland Häder [Sat, 18 Jun 2022 03:18:38 +0000 (05:18 +0200)]
Set type-hint for parameter $data to SimpleXMLElement as $fields in dispatch()
is the same and being handled over.
Roland Häder [Sat, 18 Jun 2022 03:06:00 +0000 (05:06 +0200)]
Some outside code relies on returned "false"
Roland Häder [Sat, 18 Jun 2022 03:04:04 +0000 (05:04 +0200)]
Fixed indenting
Roland Häder [Sat, 18 Jun 2022 03:01:51 +0000 (05:01 +0200)]
Changes:
- added some type-hints
- replaced most double-quotes (only Diaspora.php, later more) with single
- added some documentation
- normalized indenting in Diaspora.php (I hope I got all?)
Roland Häder [Fri, 17 Jun 2022 16:00:06 +0000 (18:00 +0200)]
Fixed incompatible types
Roland Häder [Fri, 17 Jun 2022 11:02:43 +0000 (13:02 +0200)]
Ops, wrong type again
Roland Häder [Fri, 17 Jun 2022 10:22:40 +0000 (12:22 +0200)]
Ops, wrong type
Roland Häder [Fri, 17 Jun 2022 09:48:52 +0000 (11:48 +0200)]
Continued:
- changed back to 'return false;' as other methods heavily rely on false instead
of an empty array as pointed out by @heluecht@pirati.ca
- $fetched_contact should be initialized as an empty array, let's not make this
code more crazier than it already is (see APContact::getByURL())
Roland Häder [Fri, 17 Jun 2022 09:17:53 +0000 (11:17 +0200)]
Some more type-hints added
Roland Häder [Fri, 17 Jun 2022 09:04:47 +0000 (11:04 +0200)]
Nore fixes
Roland Häder [Fri, 17 Jun 2022 08:57:17 +0000 (10:57 +0200)]
Possible fix for
Uncaught Exception TypeError: "Return value of
Friendica\Model\APContact::getByURL() must be of the type array, bool returned"
Roland Häder [Fri, 17 Jun 2022 08:53:45 +0000 (10:53 +0200)]
Fix for "Uncaught Exception TypeError: "Argument 1 passed to
Friendica\Model\APContact::unarchiveInbox() must be of the type string, null
given" error message
Roland Häder [Fri, 17 Jun 2022 08:44:13 +0000 (10:44 +0200)]
Continued:
- added more type-hints
- some methods in Diaspora returned void but integer was documented so I
changed it to -1 to have a proper type-hint
Roland Häder [Fri, 17 Jun 2022 07:51:11 +0000 (09:51 +0200)]
Also need to declare $profile or otherwise an invocation of
Receiver::getReceiverForActor() will fail.
Roland Häder [Thu, 16 Jun 2022 20:17:37 +0000 (22:17 +0200)]
Worker::getWaitingJobForPID() can also return FALSE on failure ... :-(
Roland Häder [Thu, 16 Jun 2022 20:15:06 +0000 (22:15 +0200)]
Ops, wrong type-hint here, must be string ($nickname can never be an integer).
Roland Häder [Thu, 16 Jun 2022 20:12:38 +0000 (22:12 +0200)]
Continued:
- added type-hints
- removed out-dated documentation
- added some missing documentation
Roland Häder [Thu, 16 Jun 2022 19:57:02 +0000 (21:57 +0200)]
Continued:
- added more type-hints
- added some documentation
- Contact::getAccountType() should only process string, not null
Roland Häder [Thu, 16 Jun 2022 18:58:24 +0000 (20:58 +0200)]
Fix for non-existing record system.mobile_theme in config table
Roland Häder [Thu, 16 Jun 2022 18:47:59 +0000 (20:47 +0200)]
Fixed:
- $object_data['actor'] can be null, but Receiver::getReceivers()'s 2nd
parameter expect it to be string
Roland Häder [Thu, 16 Jun 2022 18:42:40 +0000 (20:42 +0200)]
Some fixes:
- $gsid's default value cannot sadly be 0, it now must be null to allow some
code work
- added some more type-hints
- documented a bit more
Roland Häder [Thu, 16 Jun 2022 18:33:10 +0000 (20:33 +0200)]
Added more type-hints
Roland Häder [Thu, 16 Jun 2022 18:17:04 +0000 (20:17 +0200)]
Added again more type-hints
Roland Häder [Thu, 16 Jun 2022 18:01:09 +0000 (20:01 +0200)]
Continued:
- added more type-hints
- added some missing documentation
Roland Häder [Thu, 16 Jun 2022 17:39:49 +0000 (19:39 +0200)]
Fixed "Argument 4 passed to Friendica\Protocol\DFRN::processVerbs() must be of the type bool"
Roland Häder [Thu, 16 Jun 2022 17:21:07 +0000 (19:21 +0200)]
MrPetovan brought the right one up:
> Since this is depending on remote systems, the log can quickly fill with unactionable messages.
Roland Häder [Thu, 16 Jun 2022 17:17:25 +0000 (19:17 +0200)]
Ops, bad type-hint here
Roland Häder [Thu, 16 Jun 2022 16:36:56 +0000 (18:36 +0200)]
Another incompatible method declaration fixed + type-hints added
Roland Häder [Thu, 16 Jun 2022 16:28:38 +0000 (18:28 +0200)]
Continued:
- more type-hints
- fixed incompatible method declarations
Roland Häder [Thu, 16 Jun 2022 14:49:43 +0000 (16:49 +0200)]
Added more type-hints for "App" classes
Roland Häder [Thu, 16 Jun 2022 14:38:58 +0000 (16:38 +0200)]
Added more type-hints
Roland Häder [Thu, 16 Jun 2022 14:35:39 +0000 (16:35 +0200)]
Added more type-hints and documented a few methods
Roland Häder [Thu, 16 Jun 2022 14:25:30 +0000 (16:25 +0200)]
Added more type-hints
Roland Häder [Thu, 16 Jun 2022 12:59:29 +0000 (14:59 +0200)]
Added more type-hints
Hypolite Petovan [Fri, 17 Jun 2022 14:12:22 +0000 (10:12 -0400)]
Merge pull request #11652 from Quix0r/fixes/causer-id
Misspelled braces causing "undefined index 'causer-id'" message
Roland Häder [Fri, 17 Jun 2022 07:40:29 +0000 (09:40 +0200)]
Added parenthesis
Roland Häder [Thu, 16 Jun 2022 20:59:41 +0000 (22:59 +0200)]
Wrong braces causing 'undefined index causer-id'. See #11632
Hypolite Petovan [Thu, 16 Jun 2022 17:16:06 +0000 (13:16 -0400)]
Merge pull request #11649 from Quix0r/fixes/return-type-fetch-content
Fixes incompatible returned type from HTTPSignature::fetch() method
Roland Häder [Thu, 16 Jun 2022 17:03:53 +0000 (19:03 +0200)]
Continued:
- added more type-hints
- also cannot return FALSE when array is set
Hypolite Petovan [Thu, 16 Jun 2022 15:53:15 +0000 (11:53 -0400)]
Merge pull request #11647 from Quix0r/fixes/type-error-exception
Followup PR for bad #11624 PR
Roland Häder [Thu, 16 Jun 2022 15:36:32 +0000 (17:36 +0200)]
Made also this one sweeter (null-coalscing)
Roland Häder [Thu, 16 Jun 2022 15:34:43 +0000 (17:34 +0200)]
Also make this null-coalscing
Roland Häder [Thu, 16 Jun 2022 15:03:25 +0000 (17:03 +0200)]
Ops, syntax errors get unnoticed with a simple editor. :-(
Roland Häder [Thu, 16 Jun 2022 14:59:54 +0000 (16:59 +0200)]
Changed to null-coalscing style (??) as sugguested by @MrPetovan
Roland Häder [Thu, 16 Jun 2022 13:45:22 +0000 (15:45 +0200)]
Added check as suggested by @MrPetovan for empty $message.
Roland Häder [Thu, 16 Jun 2022 13:08:04 +0000 (15:08 +0200)]
This will 2 things:
1) The first change prevents "expensive" code in HTML::toBBcode() to be executed
just for an empty string which makes no sense.
2) The above change was maybe flawed as $apcontact['about'] would have never
been created, not even empty which could have side effects
Thanks to @annando to make me rethink this part of code.
Roland Häder [Thu, 16 Jun 2022 12:21:11 +0000 (14:21 +0200)]
Fixes for bad invocations of HTML::toBBCode() (1st parameter is now string)
Roland Häder [Thu, 16 Jun 2022 11:38:40 +0000 (13:38 +0200)]
Ops:
- wrong way around (!empty($foo)) is proper
- also needed to be checked on $acitivty['content']
Roland Häder [Thu, 16 Jun 2022 11:14:00 +0000 (13:14 +0200)]
Fixes and type-hints:
- added more checked type-hints as they prevent bad method invocations
- fixed TypeError for HTML::toBBCode() invocations with NULL as first (wrong)
argument, thanks to @tobias@social.diekershoff.de pointing this out.
Hypolite Petovan [Thu, 16 Jun 2022 12:45:50 +0000 (08:45 -0400)]
Merge pull request #11645 from Quix0r/fixes/e-notice_use
Fixed possible "Trying to access array offset on value of type bool" E_NOTICE
Roland Häder [Thu, 16 Jun 2022 11:29:30 +0000 (13:29 +0200)]
Shorter code, thanks to @annando pointing this out
Roland Häder [Thu, 29 Oct 2020 21:34:43 +0000 (22:34 +0100)]
Fixed possibble "Trying to access array offset on value of type bool" E_NOTICE
Signed-off-by: Roland Häder <roland@mxchange.org>
Tobias Diekershoff [Thu, 16 Jun 2022 08:02:31 +0000 (10:02 +0200)]
Merge pull request #11644 from Quix0r/fixes/file-permissions
Fixed file permissions
Roland Häder [Thu, 28 Apr 2022 21:10:17 +0000 (23:10 +0200)]
These files should never have executable files
Roland Häder [Sat, 29 Jan 2022 07:17:57 +0000 (08:17 +0100)]
Font files should NEVER be executable
Signed-off-by: Roland Häder <roland@mxchange.org>
Hypolite Petovan [Wed, 15 Jun 2022 20:32:25 +0000 (16:32 -0400)]
Merge pull request #11624 from Quix0r/fixes/type-hints
Added more known type-hints
Roland Häder [Wed, 15 Jun 2022 20:28:33 +0000 (22:28 +0200)]
Changes:
- ops, wasn't actually fixing `return;` to proper `return '';`
- added more type-hints
- added TODO ($uid is unused)
Roland Häder [Wed, 15 Jun 2022 20:03:13 +0000 (22:03 +0200)]
Changes:
- added more type-hints
- changed `return;` to `return '';` when `string` was requested as returned type-hint
(thanks to @MrPetovan)
Roland Häder [Tue, 14 Jun 2022 07:08:09 +0000 (09:08 +0200)]
Added more type-hints
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 8 Jun 2022 15:26:47 +0000 (17:26 +0200)]
Added more known type-hints
Signed-off-by: Roland Häder <roland@mxchange.org>
Tobias Diekershoff [Wed, 15 Jun 2022 04:25:31 +0000 (06:25 +0200)]
Merge pull request #11643 from annando/avatar-path
You can now store the avatar in a separate folder and host
Michael [Wed, 15 Jun 2022 03:59:26 +0000 (03:59 +0000)]
You can now store the avatar in a separate folder and host
Hypolite Petovan [Mon, 13 Jun 2022 20:31:34 +0000 (16:31 -0400)]
Merge pull request #11642 from annando/platform-default
Some more default avatars
Michael [Mon, 13 Jun 2022 20:07:54 +0000 (20:07 +0000)]
Some more default avatars
Michael Vogel [Mon, 13 Jun 2022 15:42:10 +0000 (17:42 +0200)]
Merge pull request #11641 from tobiasd/
20220613 -lng
AR, FR and HU translation updates
Tobias Diekershoff [Mon, 13 Jun 2022 07:32:37 +0000 (09:32 +0200)]
AR translation updates THX ButterflyOfFire
Tobias Diekershoff [Mon, 13 Jun 2022 07:31:43 +0000 (09:31 +0200)]
added HU translation THX Balázs Úr
Tobias Diekershoff [Mon, 13 Jun 2022 07:30:24 +0000 (09:30 +0200)]
update FR translations THX kalon33
Hypolite Petovan [Mon, 13 Jun 2022 11:59:49 +0000 (07:59 -0400)]
Merge pull request #11639 from annando/platform-default
Use platform specific default avatar pictures
Michael [Mon, 13 Jun 2022 10:30:21 +0000 (10:30 +0000)]
Improve license comment
Michael [Mon, 13 Jun 2022 10:27:46 +0000 (10:27 +0000)]
Using separate avatars for different peertube account types
Michael [Mon, 13 Jun 2022 10:18:17 +0000 (10:18 +0000)]
use correct image for Pleroma
Michael [Mon, 13 Jun 2022 10:03:34 +0000 (10:03 +0000)]
Improved license text
Michael [Mon, 13 Jun 2022 05:46:37 +0000 (05:46 +0000)]
Updated database.sql and messages.po
Michael [Mon, 13 Jun 2022 05:18:54 +0000 (05:18 +0000)]
Use platform specific default avatar pictures
Tobias Diekershoff [Sat, 11 Jun 2022 08:07:04 +0000 (10:07 +0200)]
initial CHANGELOG for the 2022.09 release
Tobias Diekershoff [Sat, 11 Jun 2022 08:06:02 +0000 (10:06 +0200)]
pump version to 2022.09-dev
Tobias Diekershoff [Sat, 11 Jun 2022 08:01:00 +0000 (10:01 +0200)]
pump version to 2022.06, welcome Giant Rhubarb
Tobias Diekershoff [Sat, 11 Jun 2022 07:57:49 +0000 (09:57 +0200)]
typos and a release date
Tobias Diekershoff [Sat, 11 Jun 2022 07:54:47 +0000 (09:54 +0200)]
renew the date in the security.txt file
Tobias Diekershoff [Sat, 11 Jun 2022 07:50:08 +0000 (09:50 +0200)]
Merge pull request #11532 from tobiasd/2022.05-CHANGELOG
CHANGELOG for the 2022.06 release
Tobias Diekershoff [Sat, 11 Jun 2022 07:14:13 +0000 (09:14 +0200)]
Merge pull request #11629 from annando/issue-11625
Issue 11625: Don't parse the title through Markdown
Tobias Diekershoff [Sat, 11 Jun 2022 07:13:20 +0000 (09:13 +0200)]
late time issue closed
Michael [Sat, 11 Jun 2022 06:50:59 +0000 (06:50 +0000)]
Issue 11625: Don't parse the title through Markdown
Tobias Diekershoff [Sat, 11 Jun 2022 06:29:28 +0000 (08:29 +0200)]
Merge pull request #11628 from annando/api-pinned
API: Use the type field in the query for pinned posts
Michael [Sat, 11 Jun 2022 06:05:55 +0000 (06:05 +0000)]
API: Use the type field in the query for pinned posts
Hypolite Petovan [Fri, 10 Jun 2022 23:53:22 +0000 (19:53 -0400)]
Merge pull request #11627 from annando/api-pinned
API: Improve the performance for fetching pinned posts
Michael [Fri, 10 Jun 2022 22:38:46 +0000 (22:38 +0000)]
API: Improve the performance for fetching pinned posts
Hypolite Petovan [Fri, 10 Jun 2022 20:52:05 +0000 (16:52 -0400)]
Merge pull request #11626 from annando/api-status
API: Speed improvements when fetching posts
Michael [Fri, 10 Jun 2022 20:32:21 +0000 (20:32 +0000)]
Fix for account variable name
Michael [Fri, 10 Jun 2022 20:26:57 +0000 (20:26 +0000)]
Use "avatar" instead of "contact"
Michael [Fri, 10 Jun 2022 18:49:03 +0000 (18:49 +0000)]
API: Speed improvements when fetching posts
Hypolite Petovan [Wed, 8 Jun 2022 15:22:38 +0000 (11:22 -0400)]
Merge pull request #11622 from Quix0r/fixes/switch-db-current-max-update
Switched maximum database update with currently worked on to "current/max
Roland Häder [Wed, 8 Jun 2022 09:46:09 +0000 (11:46 +0200)]
Switched maximum database update with currently worked on to "current/max" as
this is understandable that update X of maximum Y is applied.
Signed-off-by: Roland Häder <roland@mxchange.org>
Tobias Diekershoff [Wed, 8 Jun 2022 05:42:20 +0000 (07:42 +0200)]
Merge pull request #11621 from annando/notice
Avoid notice when a contact couldn't be fetched