Commit graph

153 commits

Author SHA1 Message Date
Art4
92eff402af fix errors in all models 2024-11-18 23:30:37 +00:00
Michael
4712d562b5 Fixes warning "Undefined array key "@type" 2024-09-10 11:23:06 +00:00
Michael
72d5011ded Remove custom emojis from contact names 2024-09-07 07:33:39 +00:00
Tobias Diekershoff
30a5ef33b0 REUSE src directory 2024-08-24 15:27:00 +02:00
Michael
d9d9cd45e4 Issue 14377: Support for "postingRestrictedToMods" added 2024-08-20 05:58:24 +00:00
Michael
e587dcc7d3 Improve the inbox performance 2024-06-09 13:37:43 +00:00
Michael
df0440ea97 Issue 14175: Fix problems with upper case host names 2024-05-25 19:00:53 +00:00
Michael
da37516abf OpenWebAuth path is now fetched during probing 2024-05-20 19:46:29 +00:00
Michael
60f5fd8188 Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
Hypolite Petovan
c19a68dc64 Remove DI dependency from PermissionTooltip module
- Update PHPDoc of APContact::getByURL
2024-05-10 11:25:27 -04:00
Michael
eaddf5318a Fix: "unsearchable" is now stored 2024-03-15 06:07:47 +00:00
Michael
d9bedbb473 Centralized logging for a wrong JSON content-type 2024-03-08 13:48:21 +00:00
Michael
892e0a5623 Check for activity pub mime types 2024-02-19 07:11:56 +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
0a4f0d616a Allow longer avatar URLs / the system outbox is now handled 2023-12-15 10:39:41 +00:00
Michael
5afa4fa838 Improved relay post processing 2023-11-09 06:43:03 +00:00
Michael
e4a37f344e Individual callstacks are removed from the logger 2023-10-18 19:55:15 +00:00
Hypolite Petovan
1df5003643 Restore support for Mastodon profile short-form URLs
- Running these URLs through WebFinger first allows to retrieve the canonical ActivityPub profile URL
2023-10-03 20:46:17 -04:00
Michael
639d160c24 Improvements for relais like relay.fedi.buzz 2023-07-30 17:46:37 +00:00
Michael
6d911a8f39 Better support for "audience" / simplified Lemmy processing 2023-06-15 22:04:28 +00:00
Michael
1a98961c3c Issue 12858: Peertube avatars can now be fetched 2023-03-18 06:41:35 +00:00
Michael
6e3602591d Use "Exception" 2023-02-26 22:43:45 +00:00
Michael
2b513a48c7 Catch all errors thrown by "fetchRaw" 2023-02-26 14:08:33 +00:00
Michael
baf75adfca Some loglevels are adjusted to more reasonablöe levels 2023-02-16 20:47:37 +00:00
Michael
f455f7e7d1 Fixes "Invalid URL for photo" for photos without host 2023-02-04 12:14:40 +00:00
Michael
3f618218c7 Old stuff removed 2023-01-28 18:50:45 +00:00
Michael
999cdc7db9 Avoid more local links and bad http requests 2023-01-28 14:57:04 +00:00
Michael Vogel
1d7d6fe35c
Merge pull request #12736 from MrPetovan/bug/12733-webfinger-apcontact
Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData
2023-01-27 08:27:20 +01:00
Hypolite Petovan
79dc5c177e Replace custom WebFinger implementation by Probe::getWebfingerArray in APContact::fetchWebfingerData
- This implementation didn't support separate domains for the address and the final account
2023-01-27 01:24:28 -05:00
Michael
ba4860b787 Avoid local network communication / invalid url requests 2023-01-27 05:55:45 +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
Hypolite Petovan
e7574356d8 Replace parse_url with UriInterface instantiation in Model\APContact
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
2022-12-10 11:38:02 -05:00
Hypolite Petovan
150c0e0750 Address some PHP 8.1 deprecation notices
- Replace a strstr call by strpos in Model\APContact
- Simplify conditions in Protocol\DFRN
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1331012289
2022-11-29 21:37:41 -05:00
Hypolite Petovan
6f93ee7e49 Fix various PHP 8 deprecations 2022-11-19 19:15:47 -05:00
Philipp
b5d01337d9
Move Follow to /contact namespace 2022-10-31 20:58:27 +01:00
Roland Häder
da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Hypolite Petovan
ded5a0ac6a Ward against missing keys in Model\APContact::isRelay
- Address https://github.com/friendica/friendica/issues/11632#issuecomment-1231904280
2022-09-24 09:56:12 -04:00
Michael
5b3145d7ce Several performance improvements 2022-08-15 13:23:01 +00:00
Michael
0971bcf165 Make the tests happy 2022-07-29 16:05:04 +00:00
Michael
86105635ca Improved message handling / new activity relay handling 2022-07-27 17:39:00 +00:00
Michael
8c602071c2 Bookwyrm posts now work 2022-07-23 12:50:15 +00:00
Michael
7dcd02938d Remove entries from queue / relay detection 2022-07-20 05:37:40 +00:00
Michael
8b7cb5d9ef Merge remote-tracking branch 'upstream/develop' into server-detection 2022-07-16 12:44:21 +00:00
Philipp
d74e57ef2c
include suggested changes 2022-07-13 00:23:12 +02:00
Philipp
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Michael
cc75eb5d18 Improved server detection 2022-07-05 05:04:05 +00:00
Roland Häder
752953e472
Changes:
- as @MrPetovan pointed out, $actor can be NULL earlier and used later as NULL
- added some missing type-hints
- added missing documentation
- the added @TODO points out to avoid true|false|null for a boolean
2022-06-20 21:00:19 +02:00
Roland Häder
8ba3f13fae
Changes:
- added more type-hints
- added missing documentation
2022-06-18 17:09:46 +02:00