friendica.git/.git
2 months agoTransmit the user avatar path
Michael [Wed, 6 Mar 2024 03:25:04 +0000 (03:25 +0000)]
Transmit the user avatar path

2 months agoIssue 13939: Fix avatars for Diaspora
Michael [Wed, 6 Mar 2024 03:00:09 +0000 (03:00 +0000)]
Issue 13939: Fix avatars for Diaspora

2 months agoMerge pull request #13966 from annando/max-video-height
Hypolite Petovan [Wed, 6 Mar 2024 00:01:48 +0000 (19:01 -0500)]
Merge pull request #13966 from annando/max-video-height

Reduce the height of portrait videos

2 months agoReduce the height of portrait videos
Michael [Tue, 5 Mar 2024 21:25:00 +0000 (21:25 +0000)]
Reduce the height of portrait videos

2 months agoMerge pull request #13965 from annando/last-activity
Hypolite Petovan [Tue, 5 Mar 2024 15:38:41 +0000 (10:38 -0500)]
Merge pull request #13965 from annando/last-activity

Improved assigning of "last-activity" and "login_date"

2 months agoMerge pull request #10 from MrPetovan/bug/last-activity-api-fixture-fix
Michael Vogel [Tue, 5 Mar 2024 15:29:00 +0000 (16:29 +0100)]
Merge pull request #10 from MrPetovan/bug/last-activity-api-fixture-fix

Normalize API fixture data

2 months agoNormalize API fixture data
Hypolite Petovan [Tue, 5 Mar 2024 15:10:15 +0000 (10:10 -0500)]
Normalize API fixture data

- Change public contact name to the related local user name
- Add location data to profile record that is used to update self and public contact during Auth

2 months agoCompare with the utc value
Michael [Tue, 5 Mar 2024 14:24:40 +0000 (14:24 +0000)]
Compare with the utc value

2 months agoImproved assigning of "last-activity" and "login_date"
Michael [Tue, 5 Mar 2024 14:06:26 +0000 (14:06 +0000)]
Improved assigning of "last-activity" and "login_date"

2 months agoMerge pull request #13962 from tobiasd/20240304-lng
Michael Vogel [Mon, 4 Mar 2024 15:49:13 +0000 (16:49 +0100)]
Merge pull request #13962 from tobiasd/20240304-lng

translation updates

2 months agotranslation updates
Tobias Diekershoff [Mon, 4 Mar 2024 15:40:13 +0000 (16:40 +0100)]
translation updates

2 months agoMerge pull request #13961 from annando/issue-13765
Tobias Diekershoff [Mon, 4 Mar 2024 10:44:55 +0000 (11:44 +0100)]
Merge pull request #13961 from annando/issue-13765

Issue 13765: Fixed creation of self user contact for approval

2 months agoIssue 13765: Fixed creation of self user contact for approval
Michael [Mon, 4 Mar 2024 07:30:04 +0000 (07:30 +0000)]
Issue 13765: Fixed creation of self user contact for approval

2 months agoMerge pull request #13957 from annando/issue-13940
Hypolite Petovan [Sun, 3 Mar 2024 18:42:00 +0000 (13:42 -0500)]
Merge pull request #13957 from annando/issue-13940

Issue 13940: handle posts that can't be found in contexts

2 months agoMerge pull request #13960 from annando/oembed-full-cleanup
Hypolite Petovan [Sun, 3 Mar 2024 18:41:35 +0000 (13:41 -0500)]
Merge pull request #13960 from annando/oembed-full-cleanup

Oembed: Some more cleanup

2 months agoIssue 13940: handle posts that can't be found in contexts
Michael [Sat, 2 Mar 2024 20:58:40 +0000 (20:58 +0000)]
Issue 13940: handle posts that can't be found in contexts

2 months agoOembed: Some more cleanup
Michael [Sun, 3 Mar 2024 17:58:20 +0000 (17:58 +0000)]
Oembed: Some more cleanup

2 months agoMerge pull request #13956 from annando/issue-13955
Hypolite Petovan [Sun, 3 Mar 2024 17:23:13 +0000 (12:23 -0500)]
Merge pull request #13956 from annando/issue-13955

Issue 13955: Check for publish date upon receival

2 months agoIssue 13955: Check for publish date upon receival
Michael [Sat, 2 Mar 2024 19:21:14 +0000 (19:21 +0000)]
Issue 13955: Check for publish date upon receival

2 months agoMerge pull request #13948 from MrPetovan/task/12420-frio-remove-legacy-scheme
Michael Vogel [Sat, 2 Mar 2024 05:06:15 +0000 (06:06 +0100)]
Merge pull request #13948 from MrPetovan/task/12420-frio-remove-legacy-scheme

[frio] Remove legacy schemes

2 months agoMerge pull request #13942 from MrPetovan/bug/fix-api-fixture
Michael Vogel [Sat, 2 Mar 2024 04:48:19 +0000 (05:48 +0100)]
Merge pull request #13942 from MrPetovan/bug/fix-api-fixture

Fix API fixture data

2 months agoUpdated main translation file after changing some strings
Hypolite Petovan [Thu, 29 Feb 2024 15:06:09 +0000 (10:06 -0500)]
Updated main translation file after changing some strings

2 months ago[frio] Delete legacy scheme files
Hypolite Petovan [Thu, 29 Feb 2024 14:57:07 +0000 (09:57 -0500)]
[frio] Delete legacy scheme files

2 months ago[frio] Remove legacy schemes
Hypolite Petovan [Thu, 29 Feb 2024 14:17:09 +0000 (09:17 -0500)]
[frio] Remove legacy schemes

- [frio] Replace default scheme file by default scheme value
- [frio] Simplify frio theme settings
- [frio] Remove query string scheme setting

2 months agoMerge pull request #13954 from annando/issue-13953
Hypolite Petovan [Fri, 1 Mar 2024 13:38:42 +0000 (08:38 -0500)]
Merge pull request #13954 from annando/issue-13953

Issue 13953: Fix warning during postupdate

2 months agoIssue 13953: Fix warning during postupdate
Michael [Fri, 1 Mar 2024 08:41:12 +0000 (08:41 +0000)]
Issue 13953: Fix warning during postupdate

2 months agoMerge pull request #13951 from annando/issue-13949
Hypolite Petovan [Fri, 1 Mar 2024 02:00:12 +0000 (21:00 -0500)]
Merge pull request #13951 from annando/issue-13949

Issue 13949: Block access via OAuth

2 months agoIssue 13949: Block access via OAuth
Michael [Thu, 29 Feb 2024 22:03:57 +0000 (22:03 +0000)]
Issue 13949: Block access via OAuth

2 months agoMerge pull request #13946 from annando/issue-13819
Hypolite Petovan [Thu, 29 Feb 2024 12:54:43 +0000 (07:54 -0500)]
Merge pull request #13946 from annando/issue-13819

Issue 13819: Ensure to not use OEmbed if not wanted

2 months agoMerge pull request #13945 from annando/errors
Hypolite Petovan [Thu, 29 Feb 2024 12:53:13 +0000 (07:53 -0500)]
Merge pull request #13945 from annando/errors

Exceptions and warnings fixed

2 months agoUse the exact embed URLs
Michael [Thu, 29 Feb 2024 07:40:36 +0000 (07:40 +0000)]
Use the exact embed URLs

2 months agoIssue 13819: Ensure to not use OEmbed if not wanted
Michael [Thu, 29 Feb 2024 07:37:58 +0000 (07:37 +0000)]
Issue 13819: Ensure to not use OEmbed if not wanted

2 months agoExceptions and warnings fixed
Michael [Thu, 29 Feb 2024 04:40:04 +0000 (04:40 +0000)]
Exceptions and warnings fixed

2 months agoUse public contact ids where they should be used in API fixture data
Hypolite Petovan [Sun, 25 Feb 2024 06:30:23 +0000 (01:30 -0500)]
Use public contact ids where they should be used in API fixture data

2 months agoNormalize local node hostname across API fixtures
Hypolite Petovan [Sun, 25 Feb 2024 04:46:54 +0000 (23:46 -0500)]
Normalize local node hostname across API fixtures

- This was causing the fixture data to be wrongly "repaired" in Model\User::getOwnerDataById because of a mismatch between the local base URL and the fixture-provided self contact URL

2 months agoThrow Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->create...
Hypolite Petovan [Sun, 25 Feb 2024 04:51:27 +0000 (23:51 -0500)]
Throw Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->createFromUserId

- Contact::getPublicIdByUserId() wrongly returns 0 when $uid doesn't exist, which is an existing albeit invalid record.

3 months agoMerge pull request #13938 from annando/output-type
Hypolite Petovan [Sun, 25 Feb 2024 15:01:34 +0000 (10:01 -0500)]
Merge pull request #13938 from annando/output-type

Image handling: separate between output and input type, use Imagick on PNG

3 months agoImage handling: separate between outout and input type, use Imagick on PNG
Michael [Sun, 25 Feb 2024 08:52:52 +0000 (08:52 +0000)]
Image handling: separate between outout and input type, use Imagick on PNG

3 months agoMerge pull request #13936 from annando/rounding
Tobias Diekershoff [Sat, 24 Feb 2024 17:56:11 +0000 (18:56 +0100)]
Merge pull request #13936 from annando/rounding

Round the load to two digits

3 months agoRound the load to two digits
Michael [Sat, 24 Feb 2024 17:37:30 +0000 (17:37 +0000)]
Round the load to two digits

3 months agoMerge pull request #13932 from annando/oembed-cleanup
Hypolite Petovan [Sat, 24 Feb 2024 16:03:48 +0000 (11:03 -0500)]
Merge pull request #13932 from annando/oembed-cleanup

Unused OEmbed functionality is removed

3 months agoUpdated messages.po
Michael [Sat, 24 Feb 2024 15:29:33 +0000 (15:29 +0000)]
Updated messages.po

3 months agoUse media link instead of proxy for pictures
Michael [Sat, 24 Feb 2024 15:11:27 +0000 (15:11 +0000)]
Use media link instead of proxy for pictures

3 months agoFixed positive list
Michael [Sat, 24 Feb 2024 13:56:12 +0000 (13:56 +0000)]
Fixed positive list

3 months agoOnepoll: Prevent errors with invalid mails (#13934)
Michael Vogel [Sat, 24 Feb 2024 12:18:44 +0000 (13:18 +0100)]
Onepoll: Prevent errors with invalid mails (#13934)

3 months agomessages.po updated
Michael [Sat, 24 Feb 2024 11:56:55 +0000 (11:56 +0000)]
messages.po updated

3 months agoMerge remote-tracking branch 'upstream/2024.03-rc' into oembed-cleanup
Michael [Sat, 24 Feb 2024 11:54:35 +0000 (11:54 +0000)]
Merge remote-tracking branch 'upstream/2024.03-rc' into oembed-cleanup

3 months agoMerge pull request #13933 from annando/fix2
Michael Vogel [Sat, 24 Feb 2024 11:40:19 +0000 (12:40 +0100)]
Merge pull request #13933 from annando/fix2

Accidentally merged changes are reverted

3 months agoAccidentally changes are reverted
Michael [Sat, 24 Feb 2024 11:35:32 +0000 (11:35 +0000)]
Accidentally changes are reverted

3 months agoMerge branch '2024.03-rc' of https://github.com/friendica/friendica into 2024.03-rc
Michael [Sat, 24 Feb 2024 11:01:44 +0000 (11:01 +0000)]
Merge branch '2024.03-rc' of https://github.com/friendica/friendica into 2024.03-rc

3 months agoOEmbed: Complete cleanup
Michael [Sat, 24 Feb 2024 11:01:34 +0000 (11:01 +0000)]
OEmbed: Complete cleanup

3 months agoUnused OEmbed functionality is removed
Michael [Sat, 24 Feb 2024 10:58:18 +0000 (10:58 +0000)]
Unused OEmbed functionality is removed

3 months agoMerge pull request #13931 from MrPetovan/bug/13930-photo-preview-sizes
Michael Vogel [Sat, 24 Feb 2024 08:39:31 +0000 (09:39 +0100)]
Merge pull request #13931 from MrPetovan/bug/13930-photo-preview-sizes

Increase API photo preview size for Mastodon API to 640

3 months agoIncrease API photo preview size for Mastodon API to 640
Hypolite Petovan [Fri, 23 Feb 2024 03:57:57 +0000 (22:57 -0500)]
Increase API photo preview size for Mastodon API to 640

3 months agoRemove photo user id fallback from 2021
Hypolite Petovan [Fri, 23 Feb 2024 03:57:20 +0000 (22:57 -0500)]
Remove photo user id fallback from 2021

- Remove deprecated /photos/{nickname} fallback routes
- The contact id fallback is a lie, there's no replacement feature

3 months agoCheck form security token in /settings/userexport module (#13929)
Hypolite Petovan [Thu, 22 Feb 2024 20:08:32 +0000 (15:08 -0500)]
Check form security token in /settings/userexport module (#13929)

* Escape HTML in the location field of a calendar event post

- This allowed script tags to be interpreted in the post display of an event.

* Add form security token check to /admin/phpinfo module

- This prevents basic XSS attacks against /admin/phpinfo

* Add form security token check to /babel module

- This prevents basic XSS attacks against /babel

* Prevent pass-through for attachments

- This addresses a straightforward Reflected XSS vulnerability if a malicious HTML/Javascript file is attached to a post through upload

* Prevent overwriting cid on event edit

- This allowed to share an event as any other user after zeroing the cid field of an existing event

* Check form security token in /settings/userexport module

- Prevents basic XSS attacks against /settings/userexport/*

3 months agoFix several vulnerabilities (#13927)
Hypolite Petovan [Thu, 22 Feb 2024 05:53:52 +0000 (00:53 -0500)]
Fix several vulnerabilities (#13927)

* Escape HTML in the location field of a calendar event post

- This allowed script tags to be interpreted in the post display of an event.

* Add form security token check to /admin/phpinfo module

- This prevents basic XSS attacks against /admin/phpinfo

* Add form security token check to /babel module

- This prevents basic XSS attacks against /babel

* Prevent pass-through for attachments

- This addresses a straightforward Reflected XSS vulnerability if a malicious HTML/Javascript file is attached to a post through upload

* Prevent overwriting cid on event edit

- This allowed to share an event as any other user after zeroing the cid field of an existing event

3 months agoUpdated Bluesky logo (#13926)
Michael Vogel [Wed, 21 Feb 2024 17:23:36 +0000 (18:23 +0100)]
Updated Bluesky logo (#13926)

3 months agoIssue 13909: Filter channels by network (#13924)
Michael Vogel [Tue, 20 Feb 2024 06:11:26 +0000 (07:11 +0100)]
Issue 13909: Filter channels by network (#13924)

3 months agoIssue 13922: "voted" must not be null (#13923)
Michael Vogel [Tue, 20 Feb 2024 06:09:55 +0000 (07:09 +0100)]
Issue 13922: "voted" must not be null (#13923)

3 months agoMerge pull request #13921 from annando/content-type
Hypolite Petovan [Mon, 19 Feb 2024 10:57:47 +0000 (05:57 -0500)]
Merge pull request #13921 from annando/content-type

Check for activity pub mime types

3 months agoDisallow mail addresses for registration (#13920)
Michael Vogel [Mon, 19 Feb 2024 08:33:20 +0000 (09:33 +0100)]
Disallow mail addresses for registration (#13920)

* Disallow mail addresses for registration

* Order for allow/disallow has been changed

3 months agoCheck for activity pub mime types
Michael [Mon, 19 Feb 2024 07:11:56 +0000 (07:11 +0000)]
Check for activity pub mime types

3 months agoAvoid problems with an empty domain in the blocklist (#13919)
Michael Vogel [Mon, 19 Feb 2024 06:22:19 +0000 (07:22 +0100)]
Avoid problems with an empty domain in the blocklist (#13919)

* Avoid problems with an empty domain in the blocklist

* Test code removed

3 months agoMerge pull request #13918 from MrPetovan/bug/fixup-13911
Michael Vogel [Mon, 19 Feb 2024 03:05:42 +0000 (04:05 +0100)]
Merge pull request #13918 from MrPetovan/bug/fixup-13911

Move Api\Mastodon\Instance\Extended to ExtendedDescription

3 months agoClarify condition on offset in Mastodon\Search->searchStatuses
Hypolite Petovan [Sun, 18 Feb 2024 23:48:37 +0000 (18:48 -0500)]
Clarify condition on offset in Mastodon\Search->searchStatuses

3 months agoMove Api\Mastodon\Instance\Extended to ExtendedDescription
Hypolite Petovan [Sun, 18 Feb 2024 23:47:59 +0000 (18:47 -0500)]
Move Api\Mastodon\Instance\Extended to ExtendedDescription

- Add reference to Mastodon documentation

3 months agoIssue 13293: Endpoint /api/v1/accounts/lookup implemented (#13917)
Michael Vogel [Sun, 18 Feb 2024 19:17:06 +0000 (20:17 +0100)]
Issue 13293: Endpoint /api/v1/accounts/lookup implemented (#13917)

3 months agoIssue #13899: Fix error on postupdate (#13915)
Michael Vogel [Sun, 18 Feb 2024 19:09:56 +0000 (20:09 +0100)]
Issue #13899: Fix error on postupdate (#13915)

3 months agoIssue #13823: Fix "Mutes" endpoint (#13916)
Michael Vogel [Sun, 18 Feb 2024 19:07:51 +0000 (20:07 +0100)]
Issue #13823: Fix "Mutes" endpoint (#13916)

3 months agoNew channel "quiet sharers" for posts from lesser frequent posters (#13913)
Michael Vogel [Sun, 18 Feb 2024 14:54:21 +0000 (15:54 +0100)]
New channel "quiet sharers" for posts from lesser frequent posters (#13913)

3 months agoFix API issues #13887, #13886, #13863, #13809, #13897 (#13911)
Michael Vogel [Sun, 18 Feb 2024 14:52:30 +0000 (15:52 +0100)]
Fix API issues #13887, #13886, #13863, #13809, #13897 (#13911)

3 months agoIssue 13905: ostatus context added (#13912)
Michael Vogel [Sun, 18 Feb 2024 14:46:41 +0000 (15:46 +0100)]
Issue 13905: ostatus context added (#13912)

3 months agoMerge pull request #13908 from MrPetovan/bug/warnings
Michael Vogel [Sun, 18 Feb 2024 04:33:41 +0000 (05:33 +0100)]
Merge pull request #13908 from MrPetovan/bug/warnings

Avoid passing null bytes in regular expression in Object\Image

3 months agoMerge pull request #13907 from annando/fix-relations
Hypolite Petovan [Sun, 18 Feb 2024 03:30:56 +0000 (22:30 -0500)]
Merge pull request #13907 from annando/fix-relations

Fix contact-relation follower calculation

3 months agoAvoid passing null bytes in regular expression in Object\Image
Hypolite Petovan [Sun, 18 Feb 2024 03:27:37 +0000 (22:27 -0500)]
Avoid passing null bytes in regular expression in Object\Image

- Remove capturing expression for A|B in favor of bracket syntax in regular expression since matches aren't used.
- Regular expressions have their own character escape notation including backslashes that need to be escaped in a PHP string.
- Actually address https://github.com/friendica/friendica/issues/13761#issuecomment-1949930922

3 months agoMerge remote-tracking branch 'upstream/2024.03-rc' into fix-relations
Michael [Sat, 17 Feb 2024 21:56:56 +0000 (21:56 +0000)]
Merge remote-tracking branch 'upstream/2024.03-rc' into fix-relations

3 months agoFix comtact-relation follower calculation
Michael [Sat, 17 Feb 2024 21:32:17 +0000 (21:32 +0000)]
Fix comtact-relation follower calculation

3 months agoFix the handling of unhandled image types and of animations (#13904)
Michael Vogel [Sat, 17 Feb 2024 14:46:48 +0000 (15:46 +0100)]
Fix the handling of unhandled image types and of animations (#13904)

* Fix the handling of unhandled image types and of animations

* Avoid warnings

3 months agoRevert "Fix unhandled image detection"
Michael [Sat, 17 Feb 2024 10:50:09 +0000 (10:50 +0000)]
Revert "Fix unhandled image detection"

This reverts commit 1069cfb57043ab4c9f202157488a85aca61289ee.

3 months agoFix unhandled image detection
Michael [Sat, 17 Feb 2024 10:46:48 +0000 (10:46 +0000)]
Fix unhandled image detection

3 months agoImage handling reworked, new image formats added (#13900)
Michael Vogel [Sat, 17 Feb 2024 06:45:41 +0000 (07:45 +0100)]
Image handling reworked, new image formats added (#13900)

* Image handling reworked, new image formats added

* Updated messages.po

* The dot is now part of the file extension

* Added WebP in install documentation

* Handle unhandled mime types

* Fixed animated picture detected

3 months agobump version to 2024.03-rc
Tobias Diekershoff [Wed, 14 Feb 2024 07:24:41 +0000 (08:24 +0100)]
bump version to 2024.03-rc

3 months agoPrevent users from following relay accounts (#13894)
Michael Vogel [Tue, 13 Feb 2024 05:50:46 +0000 (06:50 +0100)]
Prevent users from following relay accounts (#13894)

3 months agoMerge pull request #13893 from annando/fix-relay-unsubscribe
Hypolite Petovan [Tue, 13 Feb 2024 04:55:01 +0000 (23:55 -0500)]
Merge pull request #13893 from annando/fix-relay-unsubscribe

Fixed relay detection on unsubscription

3 months agoFixed relay detection on unsubscription
Michael [Tue, 13 Feb 2024 04:30:38 +0000 (04:30 +0000)]
Fixed relay detection on unsubscription

3 months agoMerge pull request #13892 from annando/no-preview-on-sensitive
Hypolite Petovan [Tue, 13 Feb 2024 03:30:31 +0000 (22:30 -0500)]
Merge pull request #13892 from annando/no-preview-on-sensitive

Don't display preview images for links, when the post is marked as sensitive

3 months agoMerge pull request #13889 from annando/issue-13884
Hypolite Petovan [Mon, 12 Feb 2024 20:28:04 +0000 (15:28 -0500)]
Merge pull request #13889 from annando/issue-13884

Issue 13884: Sanitation of links in BBCode parser

3 months agoDon't display preview images for links, when the post is marked as sensitive
Michael [Mon, 12 Feb 2024 06:01:07 +0000 (06:01 +0000)]
Don't display preview images for links, when the post is marked as sensitive

3 months agoLink sanitation added to some more places
Michael [Mon, 12 Feb 2024 05:40:09 +0000 (05:40 +0000)]
Link sanitation added to some more places

3 months agoSanitize links before storing them
Michael [Mon, 12 Feb 2024 05:21:13 +0000 (05:21 +0000)]
Sanitize links before storing them

3 months agourlencode for tags / fix smiley replacement
Michael [Mon, 12 Feb 2024 04:46:20 +0000 (04:46 +0000)]
urlencode for tags / fix smiley replacement

3 months agoFunction renamed
Michael [Mon, 12 Feb 2024 04:44:13 +0000 (04:44 +0000)]
Function renamed

3 months agoIssue 13884: Sanitation of links in BBCode parser
Michael [Sun, 11 Feb 2024 12:05:31 +0000 (12:05 +0000)]
Issue 13884: Sanitation of links in BBCode parser

3 months agoMerge pull request #13880 from MrPetovan/bug/13878-deprecate-star-list
Michael Vogel [Sun, 11 Feb 2024 02:13:28 +0000 (03:13 +0100)]
Merge pull request #13880 from MrPetovan/bug/13878-deprecate-star-list

Deprecate use of [*] BBCode tag for list items in favor of [li]

3 months agoMerge pull request #13881 from annando/valid-object
Hypolite Petovan [Sat, 10 Feb 2024 16:13:16 +0000 (11:13 -0500)]
Merge pull request #13881 from annando/valid-object

Ckeck for host differences of fetched activities

3 months agoUpdated messages.po
Michael [Sat, 10 Feb 2024 11:46:42 +0000 (11:46 +0000)]
Updated messages.po

3 months agoMerge branch 'develop' of https://github.com/annando/friendica into develop
Michael [Sat, 10 Feb 2024 11:39:47 +0000 (11:39 +0000)]
Merge branch 'develop' of https://github.com/annando/friendica into develop

3 months agoMerge remote-tracking branch 'upstream/develop' into valid-object
Michael [Sat, 10 Feb 2024 11:34:17 +0000 (11:34 +0000)]
Merge remote-tracking branch 'upstream/develop' into valid-object

3 months agoUser setting to disable blurring of sensitive pictures (#13883)
Michael Vogel [Sat, 10 Feb 2024 08:50:49 +0000 (09:50 +0100)]
User setting to disable blurring of sensitive pictures (#13883)