]> git.mxchange.org Git - friendica.git/log
friendica.git
21 months agoWard against potentially missing "platform" array key in Model\GServer::fetchSiteinfo
Hypolite Petovan [Wed, 1 Feb 2023 13:35:33 +0000 (08:35 -0500)]
Ward against potentially missing "platform" array key in Model\GServer::fetchSiteinfo

- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1411635902

21 months agoMerge pull request #12756 from annando/issue-12753
Philipp [Mon, 30 Jan 2023 07:32:21 +0000 (08:32 +0100)]
Merge pull request #12756 from annando/issue-12753

Issue 12753: For remote-self feed items the plink mustn't point to the original feed link

21 months agoIssue 12753: For remote-self feed items the plink mustn't point to the original feed...
Michael [Mon, 30 Jan 2023 06:58:36 +0000 (06:58 +0000)]
Issue 12753: For remote-self feed items the plink mustn't point to the original feed link

22 months agoMerge pull request #12747 from MrPetovan/bug/warnings
Philipp [Sun, 29 Jan 2023 07:21:46 +0000 (08:21 +0100)]
Merge pull request #12747 from MrPetovan/bug/warnings

Address a couple of warnings

22 months agoMerge pull request #12746 from MrPetovan/bug/fatal-errors
Philipp [Sun, 29 Jan 2023 07:21:26 +0000 (08:21 +0100)]
Merge pull request #12746 from MrPetovan/bug/fatal-errors

Remove Feed contacts from profile contact list

22 months agoMerge pull request #12745 from MrPetovan/task/12728-jsonld-local-files
Philipp [Sun, 29 Jan 2023 07:20:58 +0000 (08:20 +0100)]
Merge pull request #12745 from MrPetovan/task/12728-jsonld-local-files

Read local files instead of performing self HTTP requests in JsonLD::documentLoader

22 months agoCheck $url variable for value before using it in Module\Photo::getPhotoById
Hypolite Petovan [Sun, 29 Jan 2023 05:12:59 +0000 (00:12 -0500)]
Check $url variable for value before using it in Module\Photo::getPhotoById

- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1407342540

22 months agoPrevent the use of $shared_item if it's falsy in Mastodon\Status::createQuote
Hypolite Petovan [Sun, 29 Jan 2023 05:11:13 +0000 (00:11 -0500)]
Prevent the use of $shared_item if it's falsy in Mastodon\Status::createQuote

- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1407342324

22 months agoRemove Feed contacts from profile contact list
Hypolite Petovan [Sun, 29 Jan 2023 05:07:05 +0000 (00:07 -0500)]
Remove Feed contacts from profile contact list

- These contact don't have a public pendant and therefore shouldn't be shown to visitors
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1406191980

22 months agoImprove return value consistency in Util\BasePath::getPath
Hypolite Petovan [Sun, 29 Jan 2023 03:19:47 +0000 (22:19 -0500)]
Improve return value consistency in Util\BasePath::getPath

22 months agoRead local files instead of performing self HTTP requests in JsonLD::documentLoader
Hypolite Petovan [Sun, 29 Jan 2023 03:13:15 +0000 (22:13 -0500)]
Read local files instead of performing self HTTP requests in JsonLD::documentLoader

22 months agoMerge pull request #12741 from annando/local-files
Hypolite Petovan [Sun, 29 Jan 2023 01:51:24 +0000 (20:51 -0500)]
Merge pull request #12741 from annando/local-files

Avoid more local links and bad http requests

22 months agoOld stuff removed
Michael [Sat, 28 Jan 2023 18:50:45 +0000 (18:50 +0000)]
Old stuff removed

22 months agoPossibly fix the test problems
Michael [Sat, 28 Jan 2023 15:29:55 +0000 (15:29 +0000)]
Possibly fix the test problems

22 months agoAvoid more local links and bad http requests
Michael [Sat, 28 Jan 2023 14:57:04 +0000 (14:57 +0000)]
Avoid more local links and bad http requests

22 months agoMerge pull request #12735 from MrPetovan/bug/fatal-errors
Michael Vogel [Fri, 27 Jan 2023 07:55:27 +0000 (08:55 +0100)]
Merge pull request #12735 from MrPetovan/bug/fatal-errors

Address a couple of Fatal errors

22 months agoMerge pull request #12736 from MrPetovan/bug/12733-webfinger-apcontact
Michael Vogel [Fri, 27 Jan 2023 07:27:20 +0000 (08:27 +0100)]
Merge pull request #12736 from MrPetovan/bug/12733-webfinger-apcontact

Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData

22 months agoMerge pull request #12738 from annando/local-link-bad-url
Hypolite Petovan [Fri, 27 Jan 2023 06:25:25 +0000 (01:25 -0500)]
Merge pull request #12738 from annando/local-link-bad-url

Avoid local network communication / invalid url requests

22 months agoReplace custom WebFinger implementation by Probe::getWebfingerArray in APContact...
Hypolite Petovan [Thu, 26 Jan 2023 05:03:57 +0000 (00:03 -0500)]
Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData

- This implementation didn't support separate domains for the address and the final account

22 months agoPrevent fatal error when probing WebFinger address in Network\Probe::feed
Hypolite Petovan [Thu, 26 Jan 2023 05:00:55 +0000 (00:00 -0500)]
Prevent fatal error when probing WebFinger address in Network\Probe::feed

22 months agoApply suggestions from code review
Michael Vogel [Fri, 27 Jan 2023 06:21:08 +0000 (07:21 +0100)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
22 months agoAvoid local network communication / invalid url requests
Michael [Fri, 27 Jan 2023 05:55:45 +0000 (05:55 +0000)]
Avoid local network communication / invalid url requests

22 months agoCheck the image URL has a host before retrieving it in Photo::importProfilePhoto
Hypolite Petovan [Thu, 26 Jan 2023 03:31:07 +0000 (22:31 -0500)]
Check the image URL has a host before retrieving it in Photo::importProfilePhoto

- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1404324012

22 months agoCast key values to int in Mastodon\Stats
Hypolite Petovan [Thu, 26 Jan 2023 03:11:22 +0000 (22:11 -0500)]
Cast key values to int in Mastodon\Stats

- Address https://sekretaerbaer.de/display/61b27817-3763-cd4c-5fca-b4d397968464

22 months agoMerge pull request #12732 from annando/catch
Hypolite Petovan [Wed, 25 Jan 2023 23:32:52 +0000 (18:32 -0500)]
Merge pull request #12732 from annando/catch

Catch not fetchable posts

22 months agoCatch not fetchable posts
Michael [Wed, 25 Jan 2023 23:03:51 +0000 (23:03 +0000)]
Catch not fetchable posts

22 months agoMerge pull request #12731 from annando/api-quotes
Hypolite Petovan [Wed, 25 Jan 2023 22:49:51 +0000 (17:49 -0500)]
Merge pull request #12731 from annando/api-quotes

Quote for notifications

22 months agoRestore default value
Michael [Wed, 25 Jan 2023 22:38:11 +0000 (22:38 +0000)]
Restore default value

22 months agoQuote for notifications
Michael [Wed, 25 Jan 2023 20:35:10 +0000 (20:35 +0000)]
Quote for notifications

22 months agoMerge pull request #12727 from annando/api-quotes
Hypolite Petovan [Wed, 25 Jan 2023 20:32:40 +0000 (15:32 -0500)]
Merge pull request #12727 from annando/api-quotes

API: added positiv list for quote support

22 months agoSwitch parameters
Michael [Wed, 25 Jan 2023 20:14:33 +0000 (20:14 +0000)]
Switch parameters

22 months agoMerge pull request #12730 from damianwajer/fix-duplicate-intro-label
Hypolite Petovan [Wed, 25 Jan 2023 18:27:25 +0000 (13:27 -0500)]
Merge pull request #12730 from damianwajer/fix-duplicate-intro-label

Fix labels in contact request modal

22 months agoFix labels in contact request modal
Damian Wajer [Wed, 25 Jan 2023 18:05:42 +0000 (19:05 +0100)]
Fix labels in contact request modal

Fixes https://github.com/friendica/friendica/issues/12709

22 months agoFix reply via API / fix missing variable
Michael [Wed, 25 Jan 2023 10:16:24 +0000 (10:16 +0000)]
Fix reply via API / fix missing variable

22 months agoUnused "use" removed
Michael [Wed, 25 Jan 2023 06:34:15 +0000 (06:34 +0000)]
Unused "use" removed

22 months agoAPI: added positiv list for quote support
Michael [Wed, 25 Jan 2023 06:26:17 +0000 (06:26 +0000)]
API: added positiv list for quote support

22 months agoMerge pull request #12726 from MrPetovan/bug/12721-missing-host
Michael Vogel [Tue, 24 Jan 2023 06:27:48 +0000 (07:27 +0100)]
Merge pull request #12726 from MrPetovan/bug/12721-missing-host

Remove Text\BBCode::scaleExternalImage

22 months agoRemove Text\BBCode::scaleExternalImage
Hypolite Petovan [Tue, 24 Jan 2023 01:40:20 +0000 (20:40 -0500)]
Remove Text\BBCode::scaleExternalImage

- Image size is a CSS concern, not a PHP one

22 months agoMerge pull request #12725 from annando/api2
Hypolite Petovan [Mon, 23 Jan 2023 22:35:21 +0000 (17:35 -0500)]
Merge pull request #12725 from annando/api2

Several API improvements

22 months agoDisplay, not diplay
Michael [Mon, 23 Jan 2023 22:30:28 +0000 (22:30 +0000)]
Display, not diplay

22 months agoIssue 12358: Allow blocking of every contact
Michael [Mon, 23 Jan 2023 21:44:30 +0000 (21:44 +0000)]
Issue 12358: Allow blocking of every contact

22 months agoIssue 12603: Support quote in the api / Issue 12654: prevent privacy leakage
Michael [Mon, 23 Jan 2023 21:24:50 +0000 (21:24 +0000)]
Issue 12603: Support quote in the api / Issue 12654: prevent privacy leakage

22 months agoMerge remote-tracking branch 'upstream/develop' into api2
Michael [Mon, 23 Jan 2023 19:00:34 +0000 (19:00 +0000)]
Merge remote-tracking branch 'upstream/develop' into api2

22 months agoIssue 12603: Support quotes in the API
Michael [Mon, 23 Jan 2023 19:00:20 +0000 (19:00 +0000)]
Issue 12603: Support quotes in the API

22 months agoMerge pull request #12724 from annando/api
Hypolite Petovan [Mon, 23 Jan 2023 18:28:50 +0000 (13:28 -0500)]
Merge pull request #12724 from annando/api

Issue 12682: Fix ids of reshared posts

22 months agoDon't show reblogged on single post
Michael [Mon, 23 Jan 2023 17:56:45 +0000 (17:56 +0000)]
Don't show reblogged on single post

22 months agoMerge remote-tracking branch 'upstream/develop' into api
Michael [Mon, 23 Jan 2023 17:52:54 +0000 (17:52 +0000)]
Merge remote-tracking branch 'upstream/develop' into api

22 months agoMerge pull request #12720 from annando/issue-12702
Hypolite Petovan [Mon, 23 Jan 2023 13:40:47 +0000 (08:40 -0500)]
Merge pull request #12720 from annando/issue-12702

Issue 12702: Let the user decide how to handle spoiler texts

22 months agoRemoved duplicated "be"
Michael [Mon, 23 Jan 2023 06:48:42 +0000 (06:48 +0000)]
Removed duplicated "be"

22 months agoMerge remote-tracking branch 'upstream/develop' into issue-12702
Michael [Mon, 23 Jan 2023 06:44:50 +0000 (06:44 +0000)]
Merge remote-tracking branch 'upstream/develop' into issue-12702

22 months agoUpdated messages.po
Michael [Mon, 23 Jan 2023 06:43:13 +0000 (06:43 +0000)]
Updated messages.po

22 months agoUpdated messages.po
Michael [Mon, 23 Jan 2023 06:37:45 +0000 (06:37 +0000)]
Updated messages.po

22 months agoUpdate src/Module/Settings/Connectors.php
Michael Vogel [Mon, 23 Jan 2023 03:52:41 +0000 (04:52 +0100)]
Update src/Module/Settings/Connectors.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
22 months agoMerge pull request #12718 from annando/config
Hypolite Petovan [Sun, 22 Jan 2023 21:31:17 +0000 (16:31 -0500)]
Merge pull request #12718 from annando/config

More configs moved to key values

22 months agoUpdate src/Module/Admin/Summary.php
Michael Vogel [Sun, 22 Jan 2023 20:35:24 +0000 (21:35 +0100)]
Update src/Module/Admin/Summary.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
22 months agoMerge pull request #12719 from annando/andstatus
Hypolite Petovan [Sun, 22 Jan 2023 20:18:38 +0000 (15:18 -0500)]
Merge pull request #12719 from annando/andstatus

Fetch data from basic auth when one of the parameters is missing

22 months agoMerge remote-tracking branch 'upstream/develop' into api
Michael [Sun, 22 Jan 2023 19:11:21 +0000 (19:11 +0000)]
Merge remote-tracking branch 'upstream/develop' into api

22 months agoIssue 12702: Let the user decide how to handle spoiler texts
Michael [Sun, 22 Jan 2023 17:10:31 +0000 (17:10 +0000)]
Issue 12702: Let the user decide how to handle spoiler texts

22 months agoFetch data from basic auth when one of the parameters is missing
Michael [Sun, 22 Jan 2023 14:44:57 +0000 (14:44 +0000)]
Fetch data from basic auth when one of the parameters is missing

22 months agoDebug message removed
Michael [Sun, 22 Jan 2023 13:58:28 +0000 (13:58 +0000)]
Debug message removed

22 months agoUpdated database.sql
Michael [Sun, 22 Jan 2023 13:47:33 +0000 (13:47 +0000)]
Updated database.sql

22 months agoMore configs moved to key values
Michael [Sun, 22 Jan 2023 13:40:08 +0000 (13:40 +0000)]
More configs moved to key values

22 months agoMerge pull request #12717 from annando/blocked-gserver
Hypolite Petovan [Sun, 22 Jan 2023 12:57:39 +0000 (07:57 -0500)]
Merge pull request #12717 from annando/blocked-gserver

Improved block check for redirects

22 months agoImproved block check for redirects
Michael [Sun, 22 Jan 2023 12:33:38 +0000 (12:33 +0000)]
Improved block check for redirects

22 months agoAPI: Show different ids on reshares / don't check for client secret
Michael [Sun, 22 Jan 2023 11:25:31 +0000 (11:25 +0000)]
API: Show different ids on reshares / don't check for client secret

22 months agoMerge pull request #12697 from MrPetovan/bug/deprecated
Philipp [Sat, 21 Jan 2023 22:00:32 +0000 (23:00 +0100)]
Merge pull request #12697 from MrPetovan/bug/deprecated

Fix a few PHP8.2 deprecation messages

22 months agoMerge pull request #12712 from nupplaphil/feat/BaseUrl
Hypolite Petovan [Sat, 21 Jan 2023 21:58:56 +0000 (16:58 -0500)]
Merge pull request #12712 from nupplaphil/feat/BaseUrl

Remove BaseURL Auto-Check

22 months agoFix missing values in sample files
Philipp [Sat, 21 Jan 2023 20:06:19 +0000 (21:06 +0100)]
Fix missing values in sample files

22 months agoAdd more transparent errors and make it possible to see them in logs
Philipp [Sat, 21 Jan 2023 20:06:06 +0000 (21:06 +0100)]
Add more transparent errors and make it possible to see them in logs

22 months agoRemove another URL check at App
Philipp [Sat, 21 Jan 2023 20:05:35 +0000 (21:05 +0100)]
Remove another URL check at App

22 months agoRemove BaseURL Auto-Check
Philipp [Sat, 21 Jan 2023 19:20:29 +0000 (20:20 +0100)]
Remove BaseURL Auto-Check

22 months agoDeclare history property in Mastodon\Card
Hypolite Petovan [Thu, 19 Jan 2023 14:32:46 +0000 (09:32 -0500)]
Declare history property in Mastodon\Card

- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383173055

22 months agoReplace deprecated uses of ${var} in strings
Hypolite Petovan [Thu, 19 Jan 2023 14:03:45 +0000 (09:03 -0500)]
Replace deprecated uses of ${var} in strings

- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421

22 months agoReplace deprecated use of "self" in callables
Hypolite Petovan [Thu, 19 Jan 2023 14:02:05 +0000 (09:02 -0500)]
Replace deprecated use of "self" in callables

- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421

22 months agoThrow an exception when parse_url fails in HttpClient->request
Hypolite Petovan [Thu, 19 Jan 2023 13:44:06 +0000 (08:44 -0500)]
Throw an exception when parse_url fails in HttpClient->request

- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421

22 months agoMerge pull request #12711 from nupplaphil/bug/config_toString
Hypolite Petovan [Sat, 21 Jan 2023 19:25:01 +0000 (14:25 -0500)]
Merge pull request #12711 from nupplaphil/bug/config_toString

Config Fixings & Dice update

22 months agoAdd "Database::INSERT_IGNORE" for the initial value check
Philipp [Sat, 21 Jan 2023 19:02:40 +0000 (20:02 +0100)]
Add "Database::INSERT_IGNORE" for the initial value check

22 months agofix PHP-CS
Philipp [Sat, 21 Jan 2023 18:47:47 +0000 (19:47 +0100)]
fix PHP-CS

22 months agoUpdate tests/src/Core/Config/Util/ConfigFileTransformerTest.php
Philipp [Sat, 21 Jan 2023 18:44:27 +0000 (19:44 +0100)]
Update tests/src/Core/Config/Util/ConfigFileTransformerTest.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
22 months agoAdd support for toString/Serializable
Philipp [Sat, 21 Jan 2023 16:19:35 +0000 (17:19 +0100)]
Add support for toString/Serializable

22 months agoReplace Level-2 Dice patch with new release
Philipp [Sat, 21 Jan 2023 15:58:09 +0000 (16:58 +0100)]
Replace Level-2 Dice patch with new release

22 months agoMerge pull request #12707 from MrPetovan/bug/contact-page
Philipp [Sat, 21 Jan 2023 18:38:59 +0000 (19:38 +0100)]
Merge pull request #12707 from MrPetovan/bug/contact-page

Fix connection acknowledgement not appearing on contact page

22 months agoUpdated main translation file after removing strings
Hypolite Petovan [Sat, 21 Jan 2023 14:29:08 +0000 (09:29 -0500)]
Updated main translation file after removing strings

22 months agoDon't select deleted contact when in Contact::createFromProbeForUser
Hypolite Petovan [Sat, 21 Jan 2023 03:12:24 +0000 (22:12 -0500)]
Don't select deleted contact when in Contact::createFromProbeForUser

22 months agoReset pending value when unfollowing a contact
Hypolite Petovan [Sat, 21 Jan 2023 03:11:14 +0000 (22:11 -0500)]
Reset pending value when unfollowing a contact

22 months agoApply changes to user-contact table first in Contact::update
Hypolite Petovan [Sat, 21 Jan 2023 03:09:51 +0000 (22:09 -0500)]
Apply changes to user-contact table first in Contact::update

- The truncateFieldsForTable call in the same method was potentially restricting the fields that could be updated in the user-contact table

22 months agoFix connection acknowledgement not appearing on contact page
Hypolite Petovan [Fri, 20 Jan 2023 17:13:17 +0000 (12:13 -0500)]
Fix connection acknowledgement not appearing on contact page

- Remove obsolete template variables
- Move contact_edit vier template to base template

22 months agoMerge pull request #12700 from Quix0r/features/blocklist-gserver
Hypolite Petovan [Sat, 21 Jan 2023 03:39:12 +0000 (22:39 -0500)]
Merge pull request #12700 from Quix0r/features/blocklist-gserver

Blocked domains flood gserver entries

22 months agoContinued:
Roland Häder [Sat, 21 Jan 2023 00:04:31 +0000 (01:04 +0100)]
Continued:
- moved if() block to suggested position by MrPetovan, for me I want to have all
  conditions checked at the start of the method, e.g. no unwanted null
  references or (in this case) if the URL is blacklisted
- normalized URLs are without SSL, means http://host/path/file.ext so they exist
  only once for contacts and servers (aka. instances)
- documented returned type `void`

22 months agoContinued:
Roland Häder [Fri, 20 Jan 2023 01:43:26 +0000 (02:43 +0100)]
Continued:
- just for consistency ...

22 months agoContinued:
Roland Häder [Fri, 20 Jan 2023 00:49:11 +0000 (01:49 +0100)]
Continued:
- some trolls managed to flood gserver with useless URLs. They can be blocked
  by domain blocking them, but still it floods gserver table with dead entries
- this hack tries to change that so they won't enter gserver at all. Let's hope
  these trolls as `activitypub-trolls.cf` learn a lesson (and get adults soon)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoMerge pull request #12699 from damianwajer/frio-ux-improvements
Hypolite Petovan [Thu, 19 Jan 2023 22:05:22 +0000 (17:05 -0500)]
Merge pull request #12699 from damianwajer/frio-ux-improvements

[frio] Various UX improvements (mostly larger clickable areas)

22 months ago[frio] Regular size profile extra links
Damian Wajer [Thu, 19 Jan 2023 11:56:25 +0000 (12:56 +0100)]
[frio] Regular size profile extra links

22 months agoRegular-size primary buttons on compose page
Damian Wajer [Wed, 18 Jan 2023 21:29:14 +0000 (22:29 +0100)]
Regular-size primary buttons on compose page

22 months ago[frio] Ensure access to all user menu items on low screens
Damian Wajer [Wed, 18 Jan 2023 18:08:36 +0000 (19:08 +0100)]
[frio] Ensure access to all user menu items on low screens

22 months ago[frio] Adjust font-size
Damian Wajer [Wed, 18 Jan 2023 17:37:16 +0000 (18:37 +0100)]
[frio] Adjust font-size

22 months ago[frio] Contact actions size
Damian Wajer [Wed, 18 Jan 2023 17:13:05 +0000 (18:13 +0100)]
[frio] Contact actions size

22 months ago[frio] Larger clickable area for batch actions
Damian Wajer [Wed, 18 Jan 2023 17:08:49 +0000 (18:08 +0100)]
[frio] Larger clickable area for batch actions

22 months ago[frio] Improve responses markup and alignment
Damian Wajer [Wed, 18 Jan 2023 12:50:12 +0000 (13:50 +0100)]
[frio] Improve responses markup and alignment

Reduce additional spacing between button groups and use the correct markup according to the docs:
https://getbootstrap.com/docs/3.4/components/#btn-groups

22 months ago[frio] New design for mobile responses
Damian Wajer [Wed, 18 Jan 2023 12:32:57 +0000 (13:32 +0100)]
[frio] New design for mobile responses