]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoApply suggestions from code review
Michael Vogel [Fri, 23 Jul 2021 13:26:21 +0000 (15:26 +0200)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoMore standards
Michael [Fri, 23 Jul 2021 13:09:12 +0000 (13:09 +0000)]
More standards

2 years agoStandards
Michael [Fri, 23 Jul 2021 13:08:41 +0000 (13:08 +0000)]
Standards

2 years agoUpdated messages.po
Michael [Fri, 23 Jul 2021 13:07:06 +0000 (13:07 +0000)]
Updated messages.po

2 years agoRemoved unused code from the profile sidebar
Michael [Fri, 23 Jul 2021 13:05:53 +0000 (13:05 +0000)]
Removed unused code from the profile sidebar

2 years agoSimplified functionality to load the profile in the sidebar
Michael [Fri, 23 Jul 2021 12:39:37 +0000 (12:39 +0000)]
Simplified functionality to load the profile in the sidebar

2 years agoMerge pull request #10538 from annando/performance
Hypolite Petovan [Thu, 22 Jul 2021 17:02:55 +0000 (13:02 -0400)]
Merge pull request #10538 from annando/performance

Some small performance tweaks

2 years agoSome small performance tweaks
Michael [Thu, 22 Jul 2021 15:35:30 +0000 (15:35 +0000)]
Some small performance tweaks

2 years agoMerge pull request #10498 from MrPetovan/bug/10477-frio-csp-error-event-edit
Michael Vogel [Thu, 22 Jul 2021 12:39:25 +0000 (14:39 +0200)]
Merge pull request #10498 from MrPetovan/bug/10477-frio-csp-error-event-edit

[frio] Move content of event_edit.js to mod_event.js to prevent an unsafe-eval

2 years agoMerge pull request #10535 from annando/mentions
Hypolite Petovan [Thu, 22 Jul 2021 11:46:14 +0000 (07:46 -0400)]
Merge pull request #10535 from annando/mentions

Fix for Mastodon falsely adding previews to mentions

2 years agoMerge pull request #10536 from annando/dfrn2
Hypolite Petovan [Thu, 22 Jul 2021 11:44:15 +0000 (07:44 -0400)]
Merge pull request #10536 from annando/dfrn2

Unneeded legacy DFRN table removed

2 years agoMerge pull request #10537 from foss-/patch-1
Hypolite Petovan [Thu, 22 Jul 2021 11:34:47 +0000 (07:34 -0400)]
Merge pull request #10537 from foss-/patch-1

Add iOS Metatext, remove Amaroq, fix typo

2 years agoadd Metatext iOS client and fix typo
foss- [Thu, 22 Jul 2021 09:34:03 +0000 (11:34 +0200)]
add Metatext iOS client and fix typo

2 years agoAmaroq is EOL, removing entry from list
foss- [Thu, 22 Jul 2021 09:18:43 +0000 (11:18 +0200)]
Amaroq is EOL, removing entry from list

EOL as per https://github.com/ReticentJohn/Amaroq/tree/master#on-learning-of-an-official-client-going-out-and-my-general-lack-of-ongoing-feature-development-and-support-i-am-opting-to-make-it-official-that-this-repo-will-no-longer-be-supported-i-wish-all-the-best-to-the-mastodon-team-and-i-am-glad-i-could-be-part-of-its-history

2 years agoNew function to replace mentions with nicknames
Michael [Thu, 22 Jul 2021 09:13:39 +0000 (09:13 +0000)]
New function to replace mentions with nicknames

2 years agoUnneeded legacy DFRN table removed
Michael [Thu, 22 Jul 2021 07:11:26 +0000 (07:11 +0000)]
Unneeded legacy DFRN table removed

2 years agoFix for Mastodon falsely adding previews to mentions
Michael [Thu, 22 Jul 2021 04:50:01 +0000 (04:50 +0000)]
Fix for Mastodon falsely adding previews to mentions

2 years agoMerge pull request #10533 from annando/updatecontacts
Hypolite Petovan [Wed, 21 Jul 2021 15:22:13 +0000 (11:22 -0400)]
Merge pull request #10533 from annando/updatecontacts

Improved performance for UpdateContacts

2 years agoImproved performance for UpdateContacts
Michael [Wed, 21 Jul 2021 15:12:30 +0000 (15:12 +0000)]
Improved performance for UpdateContacts

2 years agoMerge pull request #10528 from annando/db-error
Hypolite Petovan [Wed, 21 Jul 2021 14:30:06 +0000 (10:30 -0400)]
Merge pull request #10528 from annando/db-error

Avoid "DB Error" messages

2 years agoMerge pull request #10530 from annando/api-mail
Hypolite Petovan [Wed, 21 Jul 2021 13:52:26 +0000 (09:52 -0400)]
Merge pull request #10530 from annando/api-mail

API: Support for fetching mails with more "statuses" calls

2 years agoMerge pull request #10529 from annando/featured-tags
Hypolite Petovan [Wed, 21 Jul 2021 13:46:55 +0000 (09:46 -0400)]
Merge pull request #10529 from annando/featured-tags

API: Added dummy endpoint for featured tags

2 years agoAPI: Support for fetching mails with more "statuses" calls
Michael [Wed, 21 Jul 2021 05:58:22 +0000 (05:58 +0000)]
API: Support for fetching mails with more "statuses" calls

2 years agoAPI: Added dummy endpoint for featured tags
Michael [Wed, 21 Jul 2021 05:22:56 +0000 (05:22 +0000)]
API: Added dummy endpoint for featured tags

2 years agoAvoid "DB Error" messages
Michael [Wed, 21 Jul 2021 03:43:30 +0000 (03:43 +0000)]
Avoid "DB Error" messages

2 years agoMerge pull request #10527 from annando/api
Hypolite Petovan [Wed, 21 Jul 2021 01:50:54 +0000 (21:50 -0400)]
Merge pull request #10527 from annando/api

API: Support for deprecated API endpoints and OAuth removal

2 years agoAdded permission check
Michael [Tue, 20 Jul 2021 21:45:42 +0000 (21:45 +0000)]
Added permission check

2 years agoRemoved unused use
Michael [Tue, 20 Jul 2021 21:19:16 +0000 (21:19 +0000)]
Removed unused use

2 years agoAPI: Support for deprecated API endpoints and OAuth removal
Michael [Tue, 20 Jul 2021 20:48:37 +0000 (20:48 +0000)]
API: Support for deprecated API endpoints and OAuth removal

2 years agoMerge pull request #10526 from annando/legacy-oauth-removed
Hypolite Petovan [Tue, 20 Jul 2021 17:48:29 +0000 (13:48 -0400)]
Merge pull request #10526 from annando/legacy-oauth-removed

The legacy OAuth server is removed

2 years agoMerge remote-tracking branch 'upstream/develop' into legacy-oauth-removed
Michael [Tue, 20 Jul 2021 17:44:05 +0000 (17:44 +0000)]
Merge remote-tracking branch 'upstream/develop' into legacy-oauth-removed

2 years agoThe legacy OAuth server is removed
Michael [Tue, 20 Jul 2021 17:41:04 +0000 (17:41 +0000)]
The legacy OAuth server is removed

2 years agoMerge pull request #10524 from realkinetix/sanitize-ap-statuses-count
Hypolite Petovan [Tue, 20 Jul 2021 17:31:57 +0000 (13:31 -0400)]
Merge pull request #10524 from realkinetix/sanitize-ap-statuses-count

Sanitize negative status count on APContact

2 years agoSanitize negative status count on APContact
RealKinetix [Tue, 20 Jul 2021 17:11:04 +0000 (10:11 -0700)]
Sanitize negative status count on APContact

Similar to PR #10499, Mastodon apparently has some counting flaws and
can present a negative status count for a user, causing Friendica to
fail (at least under PHP 8) with:

[20-Jul-2021 16:35:18 UTC] PHP Fatal error:  Uncaught PDOException: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'statuses_count' at row 1 in /home/friendicadev/friendica/src/Database/Database.php:560
Stack trace:
  thrown in /home/friendicadev/friendica/src/Database/Database.php on line 560

This change prevents values lower than 0 from being assigned to
statuses_count.

2 years agoMerge pull request #10523 from annando/issue-10519
Hypolite Petovan [Tue, 20 Jul 2021 14:42:07 +0000 (10:42 -0400)]
Merge pull request #10523 from annando/issue-10519

Issue 10519: check for tables and fields before applying changes

2 years agoIssue 10519: check for tables and fields before applying changes
Michael [Tue, 20 Jul 2021 06:11:12 +0000 (06:11 +0000)]
Issue 10519: check for tables and fields before applying changes

2 years agoMerge pull request #10522 from annando/warning
Hypolite Petovan [Mon, 19 Jul 2021 23:21:45 +0000 (19:21 -0400)]
Merge pull request #10522 from annando/warning

Fix warning "class 'Friendica\Module\Objects' not found"

2 years agoFix warning "class 'Friendica\Module\Objects' not found"
Michael [Mon, 19 Jul 2021 23:14:16 +0000 (23:14 +0000)]
Fix warning "class 'Friendica\Module\Objects' not found"

2 years agoMerge pull request #10521 from MrPetovan/task/10511-add-persian-language-detection
Michael Vogel [Mon, 19 Jul 2021 22:49:51 +0000 (00:49 +0200)]
Merge pull request #10521 from MrPetovan/task/10511-add-persian-language-detection

Manually add Persian to post body language detection

2 years agoManually add Persian to post body language detection
Hypolite Petovan [Mon, 19 Jul 2021 18:00:31 +0000 (14:00 -0400)]
Manually add Persian to post body language detection

2 years agoMerge pull request #10520 from annando/fatal
Tobias Diekershoff [Mon, 19 Jul 2021 17:06:09 +0000 (19:06 +0200)]
Merge pull request #10520 from annando/fatal

Added missing app class (avoid fatal error)

2 years agoAdded missing app class (avoid fatal error)
Michael [Mon, 19 Jul 2021 16:15:06 +0000 (16:15 +0000)]
Added missing app class (avoid fatal error)

2 years agoMerge pull request #10508 from annando/loop-prevention
Hypolite Petovan [Mon, 19 Jul 2021 14:21:10 +0000 (10:21 -0400)]
Merge pull request #10508 from annando/loop-prevention

Prevent endless loop when updating contact by probe

2 years agoMerge remote-tracking branch 'upstream/develop' into loop-prevention
Michael [Mon, 19 Jul 2021 12:07:34 +0000 (12:07 +0000)]
Merge remote-tracking branch 'upstream/develop' into loop-prevention

2 years agoSimplify code
Michael [Mon, 19 Jul 2021 12:07:02 +0000 (12:07 +0000)]
Simplify code

2 years agoMerge pull request #10515 from annando/event-handling
Hypolite Petovan [Mon, 19 Jul 2021 08:00:53 +0000 (04:00 -0400)]
Merge pull request #10515 from annando/event-handling

Improved event storing / improved performance when fetching events

2 years agoMerge remote-tracking branch 'upstream/develop' into loop-prevention
Michael [Mon, 19 Jul 2021 07:51:29 +0000 (07:51 +0000)]
Merge remote-tracking branch 'upstream/develop' into loop-prevention

2 years agoMerge pull request #10512 from annando/ap-endpoints
Hypolite Petovan [Mon, 19 Jul 2021 07:30:23 +0000 (03:30 -0400)]
Merge pull request #10512 from annando/ap-endpoints

Move ActivityPub endpoints to an AP class

2 years agoAdded todo
Michael [Mon, 19 Jul 2021 06:55:23 +0000 (06:55 +0000)]
Added todo

2 years agoSimplyfied picture fetching
Michael [Mon, 19 Jul 2021 06:19:13 +0000 (06:19 +0000)]
Simplyfied picture fetching

2 years agoDetection of local requests
Michael [Mon, 19 Jul 2021 06:14:14 +0000 (06:14 +0000)]
Detection of local requests

2 years agoDon't probe non existing local contacts
Michael [Mon, 19 Jul 2021 04:49:58 +0000 (04:49 +0000)]
Don't probe non existing local contacts

2 years agoImproved detection for a local contact
Michael [Mon, 19 Jul 2021 04:15:57 +0000 (04:15 +0000)]
Improved detection for a local contact

2 years agoFetch local data without HTTP requests
Michael [Sun, 18 Jul 2021 18:54:25 +0000 (18:54 +0000)]
Fetch local data without HTTP requests

2 years agoPrevent loop also when fetching the outbox
Michael [Sun, 18 Jul 2021 16:42:55 +0000 (16:42 +0000)]
Prevent loop also when fetching the outbox

2 years agoImproved event storing / improved performance when fetching events
Michael [Sun, 18 Jul 2021 15:05:46 +0000 (15:05 +0000)]
Improved event storing / improved performance when fetching events

2 years agoMerge pull request #10513 from annando/notice
Tobias Diekershoff [Sun, 18 Jul 2021 06:26:06 +0000 (08:26 +0200)]
Merge pull request #10513 from annando/notice

Fix notice in events

2 years agoMerge pull request #10509 from annando/issue-10506a
Tobias Diekershoff [Sun, 18 Jul 2021 05:03:09 +0000 (07:03 +0200)]
Merge pull request #10509 from annando/issue-10506a

Issue 10506 - again. Improved check for pictured in body

2 years agoMove ActivityPub endpoints to an AP class
Michael [Sat, 17 Jul 2021 20:28:46 +0000 (20:28 +0000)]
Move ActivityPub endpoints to an AP class

2 years agoFix notice in events
Michael [Sat, 17 Jul 2021 20:27:18 +0000 (20:27 +0000)]
Fix notice in events

2 years agoIssue 10506 - again. Improved check for pictured in body
Michael [Sat, 17 Jul 2021 07:55:19 +0000 (07:55 +0000)]
Issue 10506 - again. Improved check for pictured in body

2 years agoFixed wrong parameter
Michael [Sat, 17 Jul 2021 05:25:04 +0000 (05:25 +0000)]
Fixed wrong parameter

2 years agoPrevent endless loop when updating contact by probe
Michael [Sat, 17 Jul 2021 04:57:21 +0000 (04:57 +0000)]
Prevent endless loop when updating contact by probe

2 years agoMerge pull request #10507 from annando/issue-10506
Tobias Diekershoff [Sat, 17 Jul 2021 04:47:30 +0000 (06:47 +0200)]
Merge pull request #10507 from annando/issue-10506

Issue 10506: Fix for multiple picture posts

2 years agoIssue 10506: Fix for multiple picture posts
Michael [Sat, 17 Jul 2021 04:32:46 +0000 (04:32 +0000)]
Issue 10506: Fix for multiple picture posts

2 years agoMerge pull request #10505 from annando/dfrn-endpoints
Hypolite Petovan [Fri, 16 Jul 2021 18:32:53 +0000 (14:32 -0400)]
Merge pull request #10505 from annando/dfrn-endpoints

DFRN endpoints moved, changelog entry added

2 years agoDFRN endpoints moved, changelog entry added
Michael [Fri, 16 Jul 2021 14:45:29 +0000 (14:45 +0000)]
DFRN endpoints moved, changelog entry added

2 years agoMerge pull request #10503 from annando/no-legacy-dfrn
Hypolite Petovan [Thu, 15 Jul 2021 20:24:07 +0000 (16:24 -0400)]
Merge pull request #10503 from annando/no-legacy-dfrn

Legacy DFRN transport layer is removed

2 years agoMerge pull request #10499 from realkinetix/sanitize-ap-followers-count
Hypolite Petovan [Thu, 15 Jul 2021 19:14:22 +0000 (15:14 -0400)]
Merge pull request #10499 from realkinetix/sanitize-ap-followers-count

Sanitize negative followers count on APContact

2 years agoImproved comment
Michael [Thu, 15 Jul 2021 17:42:03 +0000 (17:42 +0000)]
Improved comment

2 years agoRemoved test
Michael [Thu, 15 Jul 2021 13:37:48 +0000 (13:37 +0000)]
Removed test

2 years agoLegacy DFRN transport layer is removed
Michael [Thu, 15 Jul 2021 13:28:32 +0000 (13:28 +0000)]
Legacy DFRN transport layer is removed

2 years agoNegative numbers in following is a thing too
RealKinetix [Wed, 14 Jul 2021 20:51:30 +0000 (13:51 -0700)]
Negative numbers in following is a thing too

Check & sanitize 'following' as well, as per:
https://mastodon.social/@BLUW

2 years agoAdjust where the code is to avoid empty warning
RealKinetix [Wed, 14 Jul 2021 20:46:38 +0000 (13:46 -0700)]
Adjust where the code is to avoid empty warning

Shifted the code to avoid:
PHP Warning:  Undefined array key "totalItems" in /home/friendicadev/friendica/src/Model/APContact.php on line 277

2 years agoFix indent to standards
RealKinetix [Wed, 14 Jul 2021 19:17:03 +0000 (12:17 -0700)]
Fix indent to standards

2 years agoSanitize negative followers count on APContact
RealKinetix [Wed, 14 Jul 2021 17:15:19 +0000 (10:15 -0700)]
Sanitize negative followers count on APContact

Please see
https://github.com/friendica/friendica/issues/9498#issuecomment-818894106
and related discussion regarding this - it appears it's possible for AP
users, maybe just Mastodon users, to have a negative followers count.
This causes fatal errors in Friendica, so I think we should sanitize
this input.

2 years ago[frio] Move content of event_edit.js to mod_event.js to prevent an unsafe-eval
Hypolite Petovan [Wed, 14 Jul 2021 12:13:24 +0000 (08:13 -0400)]
[frio] Move content of event_edit.js to mod_event.js to prevent an unsafe-eval

2 years agoMerge pull request #10496 from annando/subscribe
Hypolite Petovan [Wed, 14 Jul 2021 10:45:25 +0000 (06:45 -0400)]
Merge pull request #10496 from annando/subscribe

Subscribe to contacts from a remote AP account

2 years agoMerge pull request #10497 from MrPetovan/bug/10494-api-last-status-optional
Michael Vogel [Wed, 14 Jul 2021 03:09:11 +0000 (05:09 +0200)]
Merge pull request #10497 from MrPetovan/bug/10494-api-last-status-optional

Make last status parameter actually optional in Object\Api\Mastodon\Conversation

2 years agoMake last status parameter actually optional in Object\Api\Mastodon\Conversation
Hypolite Petovan [Wed, 14 Jul 2021 03:02:11 +0000 (23:02 -0400)]
Make last status parameter actually optional in Object\Api\Mastodon\Conversation

2 years agoRemoved experimental code
Michael [Wed, 14 Jul 2021 02:59:29 +0000 (02:59 +0000)]
Removed experimental code

2 years agospaces removed
Michael [Wed, 14 Jul 2021 02:57:50 +0000 (02:57 +0000)]
spaces removed

2 years agoUpdated messages.po
Michael [Wed, 14 Jul 2021 02:56:15 +0000 (02:56 +0000)]
Updated messages.po

2 years agoMerge remote-tracking branch 'upstream/develop' into subscribe
Michael [Wed, 14 Jul 2021 02:54:12 +0000 (02:54 +0000)]
Merge remote-tracking branch 'upstream/develop' into subscribe

2 years agoMerge pull request #10493 from annando/api
Hypolite Petovan [Wed, 14 Jul 2021 02:48:31 +0000 (22:48 -0400)]
Merge pull request #10493 from annando/api

Improve how shared posting look on mobile apps

2 years agoMerge pull request #10492 from annando/simple-short
Hypolite Petovan [Wed, 14 Jul 2021 02:47:47 +0000 (22:47 -0400)]
Merge pull request #10492 from annando/simple-short

Issue 10491: Possibility for simple shortening added

2 years agoAdded messages.po
Michael [Mon, 12 Jul 2021 14:20:10 +0000 (14:20 +0000)]
Added messages.po

2 years agoIssue 10491: Possibility for simple shortening added
Michael [Mon, 12 Jul 2021 14:11:51 +0000 (14:11 +0000)]
Issue 10491: Possibility for simple shortening added

2 years agoMerge remote-tracking branch 'upstream/develop' into api
Michael [Wed, 14 Jul 2021 02:28:37 +0000 (02:28 +0000)]
Merge remote-tracking branch 'upstream/develop' into api

2 years agoMerge pull request #10490 from annando/fatal
Hypolite Petovan [Wed, 14 Jul 2021 01:01:53 +0000 (21:01 -0400)]
Merge pull request #10490 from annando/fatal

Fix Uncaught TypeError: Argument 1 passed to Friendica\Model\Item::storeForUserByUriId()

2 years agoMerge pull request #10489 from annando/notice
Hypolite Petovan [Wed, 14 Jul 2021 01:00:30 +0000 (21:00 -0400)]
Merge pull request #10489 from annando/notice

Fixes "Undefined index: nick"

2 years agoChange the BBCode version
Michael [Tue, 13 Jul 2021 20:37:06 +0000 (20:37 +0000)]
Change the BBCode version

2 years agoImprove links for API
Michael [Tue, 13 Jul 2021 14:40:10 +0000 (14:40 +0000)]
Improve links for API

2 years agoImprove how shared posting look on mobile apps
Michael [Tue, 13 Jul 2021 08:30:05 +0000 (08:30 +0000)]
Improve how shared posting look on mobile apps

2 years agoAutomatically subscribe to the followings of a given AP account
Michael [Tue, 13 Jul 2021 06:06:08 +0000 (06:06 +0000)]
Automatically subscribe to the followings of a given AP account

2 years agoDefining return value
Michael [Mon, 12 Jul 2021 20:06:35 +0000 (20:06 +0000)]
Defining return value

2 years agoDefiniing parameter type
Michael [Mon, 12 Jul 2021 14:28:13 +0000 (14:28 +0000)]
Definiing parameter type

2 years agoAdded messages.po
Michael [Mon, 12 Jul 2021 14:20:10 +0000 (14:20 +0000)]
Added messages.po

2 years agoIssue 10491: Possibility for simple shortening added
Michael [Mon, 12 Jul 2021 14:11:51 +0000 (14:11 +0000)]
Issue 10491: Possibility for simple shortening added

2 years agoFix Uncaught TypeError: Argument 1 passed to Friendica\Model\Item::storeForUserByUriId()
Michael [Mon, 12 Jul 2021 07:02:01 +0000 (07:02 +0000)]
Fix Uncaught TypeError: Argument 1 passed to Friendica\Model\Item::storeForUserByUriId()