Commit graph

186 commits

Author SHA1 Message Date
Michael
c6a9e7aa4c New option to only update contacts with local relations 2025-01-22 06:40:04 +00:00
Art4
a0e2c82c62 Replace Logger with DI::logger() in Model classes 2025-01-13 10:16:02 +00:00
Art4
59404752f9 Change return type 2024-12-14 14:58:19 +00:00
Art4
2c801abb06 Fix errors in Model namespace 2024-12-03 22:46:40 +00:00
Artur Weigandt
17e5ba715e
Update src/Model/GServer.php 2024-11-19 08:14:00 +01:00
Artur Weigandt
92666e4444
Update src/Model/GServer.php 2024-11-19 08:13:48 +01:00
Art4
65a3bff645 Refactor GServer Model and platforms.config.php 2024-11-18 23:22:16 +00:00
Michael
e73566c0a1 SVG icons for various fediverse systems 2024-11-08 09:43:19 +00:00
Michael
e8a3be6820 OStatus support removed 2024-09-11 03:44:40 +00:00
Michael
bb9dadf2ec Prevent a loop when trying to detect the server type 2024-09-09 21:26:07 +00:00
Tobias Diekershoff
30a5ef33b0 REUSE src directory 2024-08-24 15:27:00 +02:00
Michael
f4791649dd Don't query the OWA data if already set 2024-08-02 09:49:42 +00:00
Michael
e319621f63 Nodeinfo: We now parse Nodeinfo 2.1 and 2.2 as well 2024-06-23 21:32:16 +00:00
Michael
4d3d4de972 Provide OpenWebAuth related data 2024-05-26 06:45:26 +00:00
Michael
1853f00a12 Store the "authredirect" path of a server 2024-05-26 00:07:06 +00:00
Michael
da37516abf OpenWebAuth path is now fetched during probing 2024-05-20 19:46:29 +00:00
Michael
846addf7b3 Improved streams detection 2024-05-16 15:26:46 +00:00
Michael
5751e024c0 Request type set for all HTTP requests 2024-05-12 17:53:21 +00:00
Michael
ad6976a407 Changed leftover "getBody" to "getBodyString" 2024-01-22 07:38:05 +00:00
Hypolite Petovan
e8c256bcff [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices
- Bump divineomega/password_exposed to version 3 to remove dependency on Guzzle version 6
- Add new ICanHandleHttpResponses->getBodyString method to solve inheritance mismatch with GuzzleHttp\Psr7\ResponseInterface->getBody return type
2024-01-12 08:42:46 -05:00
Michael
89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Michael Vogel
9592292dba
Improved server detection / new servers added to federation statistics (#13793)
* Improved server detection / new servers added to federation statistics

* Fix wrong color code
2024-01-02 20:12:37 +01:00
Michael
303c9fb23f Added server detection for "threads" 2023-12-15 11:19:11 +00:00
Hypolite Petovan
35e3e912df Add support for string in $nodeinfo['protocols']
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1848404671
2023-12-09 21:36:57 -05:00
Michael
077c9ff0c9 Improved control about the contact/server updates 2023-11-27 19:00:12 +00:00
Michael
ba3dacdbde Simplify gserver entry creation for non native networks 2023-11-19 19:11:45 +00:00
Michael
43f9be367f Check for user defined channel matches before storing them 2023-11-15 16:19:05 +00:00
Michael
e4a37f344e Individual callstacks are removed from the logger 2023-10-18 19:55:15 +00:00
Hypolite Petovan
29329f799d Prevent casting a non-existent array key before it's been coalesced in Model\GServer
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1536440077
2023-05-06 23:48:32 -04:00
Josh Soref
2b819b8f8c spelling: resource
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
f634c1a067 spelling: successful
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
2bb41167f3 spelling: mismatches
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
9369691713 spelling: existence
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
4f332e3b52 spelling: discover
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Michael
7728232737 Unneeded variable removed 2023-03-21 06:42:29 +00:00
Michael
afe1a59345 Fetch platform and version of nomad implementations 2023-03-21 05:36:47 +00:00
Michael
eab4d6cbb4 Simplified Nomad detection 2023-03-18 12:27:49 +00:00
Michael
9c1516feb2 Takahē and Wildebeest added, Nomad detection improved 2023-03-18 11:43:29 +00:00
Michael
a3cb43805c Fix fatal error because of an invalid url 2023-02-14 21:19:47 +00:00
Hypolite Petovan
301fa681c5 Ward against potentially missing "platform" array key in Model\GServer::fetchSiteinfo
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1411635902
2023-02-01 08:35:33 -05:00
Michael
edf3e9c4b6 Improved block check for redirects 2023-01-22 12:33:38 +00:00
Roland Häder
27969e8ca6
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`
2023-01-21 01:07:14 +01:00
Roland Häder
a0704db43a
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>
2023-01-20 01:50:55 +01:00
Michael
356a2a9a5a News "blocked" field on the gserver table 2023-01-17 17:25:19 +00:00
Hypolite Petovan
1f3c07c06f Drop UpdateGServer worker task if domain is blocked 2023-01-04 14:41:09 -05:00
Hypolite Petovan
a574146f04 Add UriInterface-enabled cleanUri method in Model\GServer
- Tests!
2023-01-04 14:41:08 -05:00
Michael
f1bcf1ef66 Set the server status directly after transmission 2023-01-01 17:34:05 +00:00
Michael
06403f1546 License updated 2023-01-01 07:52:28 +00:00
Michael
e21db0fe6d The inbox-status can now be archived for a whole server 2022-12-31 23:42:00 +00:00
Michael
8e397b5849 Changes after review 2022-12-31 16:20:18 +00:00