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
5afa4fa838
Improved relay post processing
2023-11-09 06:43:03 +00:00
Michael
8e05c282b1
Post permissions are now copied from the thread parent
2023-10-29 08:49:24 +00:00
Josh Soref
9c86578755
spelling: associative
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 18:02:15 -04:00
Josh Soref
1281f118bb
spelling: algorithm
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04: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
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
Hypolite Petovan
19b5362f93
Return early when inbox-status row couldn't be inserted in HTTPSignature->setInboxStatus
...
- Address https://github.com/friendica/friendica/issues/12488?notification_referrer_id=NT_kwDOAA4e57E1MTM1MzE3MjU2OjkyNTQxNQ#issuecomment-1366991471
2022-12-30 17:23:23 -05:00
Hypolite Petovan
6e31b8d6a5
Avoid return type exeption in HTTPSignature->post
...
- Prefer passing the owner record array instead of just the uid
- +4/-7 calls to User::getOwnerDataById
2022-12-30 17:23:22 -05:00
Michael
ceb88c10e6
Warnings/Errors reduced - improved relay processing
2022-08-27 08:08:58 +00:00
Michael
d12c9a8f58
Caching for fetched activities
2022-07-28 19:05:04 +00:00
Roland Häder
dd54e52575
MrPetovan brought the right one up:
...
> Since this is depending on remote systems, the log can quickly fill with unactionable messages.
2022-06-17 17:18:31 +02:00
Roland Häder
6035de6883
Continued:
...
- added more type-hints
- also cannot return FALSE when array is set
2022-06-16 19:06:41 +02:00
Michael
f8d929d94e
Ensure to set the network timeout
2022-05-14 09:53:12 +00:00
Michael
4b5a743645
Handle timeout
2022-05-14 05:38:01 +00:00
Michael
40aa67f8be
Bulk transmission for AP posts
2022-05-02 05:15:27 +00:00
Philipp Holzer
04866195b4
Remove accept parameter for head/post again
2022-04-03 19:33:09 +02:00
Philipp Holzer
e299fc67c8
Introduce "accept_header" as specific argument to the http client
2022-04-02 21:16:53 +02:00
Philipp Holzer
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
908d2594ed
Use "HttpClientOptions"
2022-03-29 08:57:38 +00:00
Michael
ff70f74952
"accept" constants introduced and used
2022-03-28 10:33:06 +00:00
Michael Vogel
6bc69f3353
Workaround for timing problems / Avoid a notice in the scheduled posts
2022-02-12 18:27:58 +01:00
Michael
dbd6d10536
Issue 8845: Signature support for "created" and "expires" added
2022-01-21 15:38:33 +00:00
Philipp Holzer
543e4be0a6
Replace 'REQUEST_METHOD' with App\Arguments::getMethod()
2022-01-04 20:59:28 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
1219a4d00e
Issue 10947: Send correct accept-header for AP
2021-11-03 19:06:07 +00:00
Michael
516018861e
Merge remote-tracking branch 'upstream/develop' into error-handling
2021-10-31 05:25:39 +00:00
Michael
4236a9a105
Improved http error handling
2021-10-29 23:21:07 +00:00
Philipp Holzer
409d909d0f
Restructure HTTPClient for new paradigm
2021-10-28 20:01:03 +02:00
Michael
f6faae5bb1
Replace deprecated log
calls
2021-10-20 18:53:52 +00:00
Philipp Holzer
13a91e63aa
Rename DI::httpRequest() into DI::httpClient()
2021-08-25 21:54:54 +02:00
Philipp Holzer
505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions
2021-08-25 21:45:15 +02:00
Philipp Holzer
aad7bac686
Use HTTPRequestOptions constants for HTTPClient::post()
2021-08-25 21:31:30 +02:00
Philipp Holzer
befd5c860d
Fix headers (string to array) and make sure the signature doesn't change
2021-08-25 14:22:43 +02:00
Philipp Holzer
2356221aba
Fixup HTTP headers for httpClient requests
2021-08-25 14:22:43 +02:00
Philipp Holzer
51ebb1541a
- Revert HTTPSignature change
2021-08-16 23:27:42 +02:00
Philipp Holzer
5dcdf2322e
Split IStorage and ISelectableStorage and make their behaviour homogenous
2021-08-16 23:27:41 +02:00
Michael
ee5209a847
Improved logging
2021-05-25 13:18:48 +00:00
Michael
0c21588ab9
Don't delete local tombstone contacts
2021-05-22 08:25:30 +00:00
Michael
d8901452fc
Improved logging for invalid HTTP signatures
2021-05-01 12:32:33 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
c1e8dbdbae
Avoid "Duplicate entry"
2020-12-17 18:56:10 +00:00
Michael
e713db4ac7
Delete tombstone contacts
2020-12-17 08:00:56 +00:00