]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoFixed indenting
Roland Häder [Sat, 18 Jun 2022 03:04:04 +0000 (05:04 +0200)]
Fixed indenting

2 years agoChanges:
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?)

2 years agoFixed incompatible types
Roland Häder [Fri, 17 Jun 2022 16:00:06 +0000 (18:00 +0200)]
Fixed incompatible types

2 years agoOps, wrong type again
Roland Häder [Fri, 17 Jun 2022 11:02:43 +0000 (13:02 +0200)]
Ops, wrong type again

2 years agoOps, wrong type
Roland Häder [Fri, 17 Jun 2022 10:22:40 +0000 (12:22 +0200)]
Ops, wrong type

2 years agoContinued:
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())

2 years agoSome more type-hints added
Roland Häder [Fri, 17 Jun 2022 09:17:53 +0000 (11:17 +0200)]
Some more type-hints added

2 years agoNore fixes
Roland Häder [Fri, 17 Jun 2022 09:04:47 +0000 (11:04 +0200)]
Nore fixes

2 years agoPossible fix for
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"

2 years agoFix for "Uncaught Exception TypeError: "Argument 1 passed to
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

2 years agoContinued:
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

2 years agoAlso need to declare $profile or otherwise an invocation of
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.

2 years agoWorker::getWaitingJobForPID() can also return FALSE on failure ... :-(
Roland Häder [Thu, 16 Jun 2022 20:17:37 +0000 (22:17 +0200)]
Worker::getWaitingJobForPID() can also return FALSE on failure ... :-(

2 years agoOps, wrong type-hint here, must be string ($nickname can never be an integer).
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).

2 years agoContinued:
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

2 years agoContinued:
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

2 years agoFix for non-existing record system.mobile_theme in config table
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

2 years agoFixed:
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

2 years agoSome fixes:
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

2 years agoAdded more type-hints
Roland Häder [Thu, 16 Jun 2022 18:33:10 +0000 (20:33 +0200)]
Added more type-hints

2 years agoAdded again more type-hints
Roland Häder [Thu, 16 Jun 2022 18:17:04 +0000 (20:17 +0200)]
Added again more type-hints

2 years agoContinued:
Roland Häder [Thu, 16 Jun 2022 18:01:09 +0000 (20:01 +0200)]
Continued:
- added more type-hints
- added some missing documentation

2 years agoFixed "Argument 4 passed to Friendica\Protocol\DFRN::processVerbs() must be of the...
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"

2 years agoMrPetovan brought the right one up:
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.

2 years agoOps, bad type-hint here
Roland Häder [Thu, 16 Jun 2022 17:17:25 +0000 (19:17 +0200)]
Ops, bad type-hint here

2 years agoAnother incompatible method declaration fixed + type-hints added
Roland Häder [Thu, 16 Jun 2022 16:36:56 +0000 (18:36 +0200)]
Another incompatible method declaration fixed + type-hints added

2 years agoContinued:
Roland Häder [Thu, 16 Jun 2022 16:28:38 +0000 (18:28 +0200)]
Continued:
- more type-hints
- fixed incompatible method declarations

2 years agoAdded more type-hints for "App" classes
Roland Häder [Thu, 16 Jun 2022 14:49:43 +0000 (16:49 +0200)]
Added more type-hints for "App" classes

2 years agoAdded more type-hints
Roland Häder [Thu, 16 Jun 2022 14:38:58 +0000 (16:38 +0200)]
Added more type-hints

2 years agoAdded more type-hints and documented a few methods
Roland Häder [Thu, 16 Jun 2022 14:35:39 +0000 (16:35 +0200)]
Added more type-hints and documented a few methods

2 years agoAdded more type-hints
Roland Häder [Thu, 16 Jun 2022 14:25:30 +0000 (16:25 +0200)]
Added more type-hints

2 years agoAdded more type-hints
Roland Häder [Thu, 16 Jun 2022 12:59:29 +0000 (14:59 +0200)]
Added more type-hints

2 years agoMerge pull request #11652 from Quix0r/fixes/causer-id
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

2 years agoAdded parenthesis
Roland Häder [Fri, 17 Jun 2022 07:40:29 +0000 (09:40 +0200)]
Added parenthesis

2 years agoWrong braces causing 'undefined index causer-id'. See #11632
Roland Häder [Thu, 16 Jun 2022 20:59:41 +0000 (22:59 +0200)]
Wrong braces causing 'undefined index causer-id'. See #11632

2 years agoMerge pull request #11649 from Quix0r/fixes/return-type-fetch-content
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

2 years agoContinued: fixes/return-type-fetch-content
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

2 years agoMerge pull request #11647 from Quix0r/fixes/type-error-exception
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

2 years agoMade also this one sweeter (null-coalscing)
Roland Häder [Thu, 16 Jun 2022 15:36:32 +0000 (17:36 +0200)]
Made also this one sweeter (null-coalscing)

2 years agoAlso make this null-coalscing
Roland Häder [Thu, 16 Jun 2022 15:34:43 +0000 (17:34 +0200)]
Also make this null-coalscing

2 years agoOps, syntax errors get unnoticed with a simple editor. :-(
Roland Häder [Thu, 16 Jun 2022 15:03:25 +0000 (17:03 +0200)]
Ops, syntax errors get unnoticed with a simple editor. :-(

2 years agoChanged to null-coalscing style (??) as sugguested by @MrPetovan
Roland Häder [Thu, 16 Jun 2022 14:59:54 +0000 (16:59 +0200)]
Changed to null-coalscing style (??) as sugguested by @MrPetovan

2 years agoAdded check as suggested by @MrPetovan for empty $message.
Roland Häder [Thu, 16 Jun 2022 13:45:22 +0000 (15:45 +0200)]
Added check as suggested by @MrPetovan for empty $message.

2 years agoThis will 2 things:
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.

2 years agoFixes for bad invocations of HTML::toBBCode() (1st parameter is now string)
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)

2 years agoOps:
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']

2 years agoFixes and type-hints:
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.

2 years agoMerge pull request #11645 from Quix0r/fixes/e-notice_use
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

2 years agoShorter code, thanks to @annando pointing this out
Roland Häder [Thu, 16 Jun 2022 11:29:30 +0000 (13:29 +0200)]
Shorter code, thanks to @annando pointing this out

2 years agoFixed possibble "Trying to access array offset on value of type bool" E_NOTICE
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>
2 years agoMerge pull request #11644 from Quix0r/fixes/file-permissions
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

2 years agoThese files should never have executable files
Roland Häder [Thu, 28 Apr 2022 21:10:17 +0000 (23:10 +0200)]
These files should never have executable files

2 years agoFont files should NEVER be executable
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>
2 years agoMerge pull request #11624 from Quix0r/fixes/type-hints
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

2 years agoChanges:
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)

2 years agoChanges:
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)

2 years agoAdded more type-hints
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>
2 years agoAdded more known type-hints
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>
2 years agoMerge pull request #11643 from annando/avatar-path
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

2 years agoYou 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

2 years agoMerge pull request #11642 from annando/platform-default
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

2 years agoSome more default avatars
Michael [Mon, 13 Jun 2022 20:07:54 +0000 (20:07 +0000)]
Some more default avatars

2 years agoMerge pull request #11641 from tobiasd/20220613-lng
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

2 years agoAR translation updates THX ButterflyOfFire
Tobias Diekershoff [Mon, 13 Jun 2022 07:32:37 +0000 (09:32 +0200)]
AR translation updates THX ButterflyOfFire

2 years agoadded HU translation THX Balázs Úr
Tobias Diekershoff [Mon, 13 Jun 2022 07:31:43 +0000 (09:31 +0200)]
added HU translation THX Balázs Úr

2 years agoupdate FR translations THX kalon33
Tobias Diekershoff [Mon, 13 Jun 2022 07:30:24 +0000 (09:30 +0200)]
update FR translations THX kalon33

2 years agoMerge pull request #11639 from annando/platform-default
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

2 years agoImprove license comment
Michael [Mon, 13 Jun 2022 10:30:21 +0000 (10:30 +0000)]
Improve license comment

2 years agoUsing separate avatars for different peertube account types
Michael [Mon, 13 Jun 2022 10:27:46 +0000 (10:27 +0000)]
Using separate avatars for different peertube account types

2 years agouse correct image for Pleroma
Michael [Mon, 13 Jun 2022 10:18:17 +0000 (10:18 +0000)]
use correct image for Pleroma

2 years agoImproved license text
Michael [Mon, 13 Jun 2022 10:03:34 +0000 (10:03 +0000)]
Improved license text

2 years agoUpdated database.sql and messages.po
Michael [Mon, 13 Jun 2022 05:46:37 +0000 (05:46 +0000)]
Updated database.sql and messages.po

2 years agoUse platform specific default avatar pictures
Michael [Mon, 13 Jun 2022 05:18:54 +0000 (05:18 +0000)]
Use platform specific default avatar pictures

2 years agoinitial CHANGELOG for the 2022.09 release
Tobias Diekershoff [Sat, 11 Jun 2022 08:07:04 +0000 (10:07 +0200)]
initial CHANGELOG for the 2022.09 release

2 years agopump version to 2022.09-dev
Tobias Diekershoff [Sat, 11 Jun 2022 08:06:02 +0000 (10:06 +0200)]
pump version to 2022.09-dev

2 years agopump version to 2022.06, welcome Giant Rhubarb
Tobias Diekershoff [Sat, 11 Jun 2022 08:01:00 +0000 (10:01 +0200)]
pump version to 2022.06, welcome Giant Rhubarb

2 years agotypos and a release date
Tobias Diekershoff [Sat, 11 Jun 2022 07:57:49 +0000 (09:57 +0200)]
typos and a release date

2 years agorenew the date in the security.txt file
Tobias Diekershoff [Sat, 11 Jun 2022 07:54:47 +0000 (09:54 +0200)]
renew the date in the security.txt file

2 years agoMerge pull request #11532 from tobiasd/2022.05-CHANGELOG
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

2 years agoMerge pull request #11629 from annando/issue-11625
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

2 years agolate time issue closed
Tobias Diekershoff [Sat, 11 Jun 2022 07:13:20 +0000 (09:13 +0200)]
late time issue closed

2 years agoIssue 11625: Don't parse the title through Markdown
Michael [Sat, 11 Jun 2022 06:50:59 +0000 (06:50 +0000)]
Issue 11625: Don't parse the title through Markdown

2 years agoMerge pull request #11628 from annando/api-pinned
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

2 years agoAPI: 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

2 years agoMerge pull request #11627 from annando/api-pinned
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

2 years agoAPI: 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

2 years agoMerge pull request #11626 from annando/api-status
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

2 years agoFix for account variable name
Michael [Fri, 10 Jun 2022 20:32:21 +0000 (20:32 +0000)]
Fix for account variable name

2 years agoUse "avatar" instead of "contact"
Michael [Fri, 10 Jun 2022 20:26:57 +0000 (20:26 +0000)]
Use "avatar" instead of "contact"

2 years agoAPI: Speed improvements when fetching posts
Michael [Fri, 10 Jun 2022 18:49:03 +0000 (18:49 +0000)]
API: Speed improvements when fetching posts

2 years agoMerge pull request #11622 from Quix0r/fixes/switch-db-current-max-update
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

2 years agoSwitched maximum database update with currently worked on to "current/max" as
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>
2 years agoMerge pull request #11621 from annando/notice
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

2 years agoMerge pull request #11620 from tobiasd/20220608-lng
Michael Vogel [Wed, 8 Jun 2022 05:37:50 +0000 (07:37 +0200)]
Merge pull request #11620 from tobiasd/20220608-lng

DR, RU translation updates

2 years agoAvoid notice when a contact couldn't be fetched
Michael [Wed, 8 Jun 2022 05:35:34 +0000 (05:35 +0000)]
Avoid notice when a contact couldn't be fetched

2 years agoDE translation updates
Tobias Diekershoff [Wed, 8 Jun 2022 05:21:10 +0000 (07:21 +0200)]
DE translation updates

2 years agoRU translations THX SpcCw
Tobias Diekershoff [Wed, 8 Jun 2022 05:20:25 +0000 (07:20 +0200)]
RU translations THX SpcCw

2 years agoMerge pull request #11619 from annando/update-community
Hypolite Petovan [Tue, 7 Jun 2022 19:14:55 +0000 (15:14 -0400)]
Merge pull request #11619 from annando/update-community

Fix:  respected the account type on the community page update

2 years agoFix: respected the account type on the community page update
Michael [Tue, 7 Jun 2022 18:52:46 +0000 (18:52 +0000)]
Fix:  respected the account type on the community page update

2 years agoMerge pull request #11618 from annando/forced-display-update
Hypolite Petovan [Tue, 7 Jun 2022 17:55:15 +0000 (13:55 -0400)]
Merge pull request #11618 from annando/forced-display-update

Fix forced updates on the display page