]> git.mxchange.org Git - friendica.git/log
friendica.git
22 months 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

22 months 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

22 months 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)

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

22 months 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. :-(

22 months 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

22 months 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.

22 months 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.

22 months 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)

22 months 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']

22 months 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.

22 months 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

22 months 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

22 months 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>
22 months 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

22 months 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

22 months 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>
22 months 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

22 months 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)

22 months 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)

22 months 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>
22 months 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>
22 months 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

22 months 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

22 months 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

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

22 months 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

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

22 months 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

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

22 months 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

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

22 months 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

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

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

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

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

22 months 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

22 months 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

22 months 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

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

22 months 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

22 months 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

22 months 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

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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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

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

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

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

22 months 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

22 months 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>
22 months 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

22 months 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

22 months 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

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

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

22 months 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

22 months 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

22 months 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

22 months agoFix forced updates on the display page
Michael [Tue, 7 Jun 2022 17:34:19 +0000 (17:34 +0000)]
Fix forced updates on the display page

22 months agosome numbered issues closed, some more details added to the CHANGELOG
Tobias Diekershoff [Tue, 7 Jun 2022 05:55:24 +0000 (07:55 +0200)]
some numbered issues closed, some more details added to the CHANGELOG

22 months agoMerge pull request #11616 from tobiasd/20220607-lng
Michael Vogel [Tue, 7 Jun 2022 05:12:08 +0000 (07:12 +0200)]
Merge pull request #11616 from tobiasd/20220607-lng

DE, FR, HU, RU translation updates

22 months agoupdate FR translations THX kalon33
Tobias Diekershoff [Tue, 7 Jun 2022 04:32:01 +0000 (06:32 +0200)]
update FR translations THX kalon33

22 months agoDE translation updats
Tobias Diekershoff [Tue, 7 Jun 2022 04:31:52 +0000 (06:31 +0200)]
DE translation updats

22 months agoRU translations THX Alexander An
Tobias Diekershoff [Tue, 7 Jun 2022 04:31:35 +0000 (06:31 +0200)]
RU translations THX Alexander An

22 months agoHU translation update THX Balázs Úr
Tobias Diekershoff [Tue, 7 Jun 2022 04:31:13 +0000 (06:31 +0200)]
HU translation update THX Balázs Úr

22 months agoMerge pull request #11615 from annando/api-markers
Hypolite Petovan [Mon, 6 Jun 2022 22:00:00 +0000 (18:00 -0400)]
Merge pull request #11615 from annando/api-markers

API: Support for markers added

22 months agoFix the spelling
Michael [Mon, 6 Jun 2022 21:52:47 +0000 (21:52 +0000)]
Fix the spelling

22 months agoAPI: Support for markers added
Michael [Mon, 6 Jun 2022 21:38:59 +0000 (21:38 +0000)]
API: Support for markers added

22 months agoMerge pull request #11613 from annando/updated
Hypolite Petovan [Mon, 6 Jun 2022 13:15:58 +0000 (09:15 -0400)]
Merge pull request #11613 from annando/updated

Only update when new content arrives

22 months agoMerge remote-tracking branch 'upstream/2022.05-rc' into updated
Michael [Mon, 6 Jun 2022 11:58:40 +0000 (11:58 +0000)]
Merge remote-tracking branch 'upstream/2022.05-rc' into updated

22 months agoMerge pull request #11612 from annando/rearrange
Hypolite Petovan [Mon, 6 Jun 2022 11:33:23 +0000 (07:33 -0400)]
Merge pull request #11612 from annando/rearrange

Rearrange the notification settings

22 months agoOnly update when new content arrives
Michael [Mon, 6 Jun 2022 10:41:07 +0000 (10:41 +0000)]
Only update when new content arrives

22 months agoDifferent approach for empty values
Michael [Mon, 6 Jun 2022 07:35:28 +0000 (07:35 +0000)]
Different approach for empty values

22 months agoImproved handling with empty user configuration
Michael [Mon, 6 Jun 2022 05:43:24 +0000 (05:43 +0000)]
Improved handling with empty user configuration

22 months agoUse constants
Michael [Mon, 6 Jun 2022 04:44:29 +0000 (04:44 +0000)]
Use constants

22 months agoMerge pull request #11611 from annando/writable
Hypolite Petovan [Mon, 6 Jun 2022 01:31:49 +0000 (21:31 -0400)]
Merge pull request #11611 from annando/writable

Hopefully make threads writable

22 months agoRearrange the notification settings
Michael [Sun, 5 Jun 2022 21:19:21 +0000 (21:19 +0000)]
Rearrange the notification settings

22 months agoHopefully make threads writable
Michael [Sun, 5 Jun 2022 20:38:05 +0000 (20:38 +0000)]
Hopefully make threads writable

22 months agoMerge pull request #11610 from annando/issue-11602
Tobias Diekershoff [Sun, 5 Jun 2022 18:27:47 +0000 (20:27 +0200)]
Merge pull request #11610 from annando/issue-11602

Issue 11602: Fix error during contact merhe

22 months agoRemove test
Michael [Sun, 5 Jun 2022 18:16:50 +0000 (18:16 +0000)]
Remove test

22 months agoIssue 11602: Fix error during contact merhe
Michael [Sun, 5 Jun 2022 18:15:10 +0000 (18:15 +0000)]
Issue 11602: Fix error during contact merhe

22 months agoMerge pull request #11609 from annando/fix-uid
Tobias Diekershoff [Sun, 5 Jun 2022 16:56:16 +0000 (18:56 +0200)]
Merge pull request #11609 from annando/fix-uid

Fix notifications

22 months agoSuppress dislikes
Michael [Sun, 5 Jun 2022 16:54:29 +0000 (16:54 +0000)]
Suppress dislikes

22 months agoNotify about shared posts again
Michael [Sun, 5 Jun 2022 16:26:20 +0000 (16:26 +0000)]
Notify about shared posts again

22 months agoAdd the notify type to the notification query
Michael [Sun, 5 Jun 2022 15:02:03 +0000 (15:02 +0000)]
Add the notify type to the notification query

22 months agoMerge pull request #11608 from annando/fix-uid
Hypolite Petovan [Sun, 5 Jun 2022 14:38:23 +0000 (10:38 -0400)]
Merge pull request #11608 from annando/fix-uid

Use the user id instead of "local_user()"

22 months agoUse the user id instead of "local_user()"
Michael [Sun, 5 Jun 2022 14:22:16 +0000 (14:22 +0000)]
Use the user id instead of "local_user()"

22 months agoMerge pull request #11606 from annando/issue-11566
Hypolite Petovan [Sun, 5 Jun 2022 12:13:34 +0000 (08:13 -0400)]
Merge pull request #11606 from annando/issue-11566

Issue 11566: More detailled notification configuration

22 months agoMerge pull request #11603 from tobiasd/20220605-lng
Michael Vogel [Sun, 5 Jun 2022 11:46:33 +0000 (13:46 +0200)]
Merge pull request #11603 from tobiasd/20220605-lng

DE, HU translation updates

22 months agoIssue 11566: More detailled notification configuration
Michael [Sun, 5 Jun 2022 11:41:08 +0000 (11:41 +0000)]
Issue 11566: More detailled notification configuration

22 months agoadded HU translation THX Balázs Úr
Tobias Diekershoff [Sun, 5 Jun 2022 08:08:01 +0000 (10:08 +0200)]
added HU translation THX Balázs Úr

22 months agoDE translation updats
Tobias Diekershoff [Sun, 5 Jun 2022 08:07:44 +0000 (10:07 +0200)]
DE translation updats

22 months agoMerge pull request #11588 from annando/mergecontact
Hypolite Petovan [Sat, 4 Jun 2022 19:34:37 +0000 (15:34 -0400)]
Merge pull request #11588 from annando/mergecontact

New command to merge duplicated contacts

22 months agoMerge pull request #11601 from annando/issue-11594
Tobias Diekershoff [Sat, 4 Jun 2022 14:52:26 +0000 (16:52 +0200)]
Merge pull request #11601 from annando/issue-11594

Issue 11594: Ensure to create notifications in the user language