1
0
Fork 0
Commit graph

89 commits

Author SHA1 Message Date
04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
73c3b21665
Move ACCEPT constants to own "enum" class 2022-04-02 20:26:11 +02:00
908d2594ed Use "HttpClientOptions" 2022-03-29 08:57:38 +00:00
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
dbd6d10536 Issue 8845: Signature support for "created" and "expires" added 2022-01-21 15:38:33 +00:00
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
1219a4d00e Issue 10947: Send correct accept-header for AP 2021-11-03 19:06:07 +00:00
516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
aad7bac686
Use HTTPRequestOptions constants for HTTPClient::post() 2021-08-25 21:31:30 +02:00
befd5c860d
Fix headers (string to array) and make sure the signature doesn't change 2021-08-25 14:22:43 +02:00
2356221aba
Fixup HTTP headers for httpClient requests 2021-08-25 14:22:43 +02:00
51ebb1541a
- Revert HTTPSignature change 2021-08-16 23:27:42 +02:00
5dcdf2322e
Split IStorage and ISelectableStorage and make their behaviour homogenous 2021-08-16 23:27:41 +02:00
ee5209a847 Improved logging 2021-05-25 13:18:48 +00:00
0c21588ab9 Don't delete local tombstone contacts 2021-05-22 08:25:30 +00:00
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
c1e8dbdbae Avoid "Duplicate entry" 2020-12-17 18:56:10 +00:00
e713db4ac7 Delete tombstone contacts 2020-12-17 08:00:56 +00:00
a548e7c4be Fix warning "supplied key param cannot be coerced into a public key" 2020-12-17 07:07:54 +00:00
a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00
e4e9a20ac8 Don't transmit to archived inboxes 2020-11-23 19:25:22 +00:00
c9d79040cb Fixes notice: Undefined index: nobody in /src/Util/HTTPSignature.php on line 450 2020-10-20 15:19:06 +00:00
a74d88c4ee
Remove 'headers' option occurrences and add a warning if used. 2020-10-18 22:31:26 +02:00
c19f1a83ce
Remove option 'novalidate' flag from HTTPRequest options 2020-10-18 22:23:07 +02:00
54d78f9ce1
Removed completely un-used 'http_auth' option from HTTPRequest 2020-10-18 22:19:03 +02:00
61da51c2d5
Add HTTPRequest::head() function 2020-10-18 22:15:53 +02:00
a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-18 20:56:31 +02:00
bdd834d313 Support signed outbox requests 2020-08-30 17:07:46 +00:00
7dbf72e454 We now fetch data with an automatically generated system user 2020-08-22 14:48:09 +00:00
ecd2d88b09 Don't let the tests fail. The test user doesn't have a private key 2020-08-07 17:05:49 +00:00
nupplaPhil
7029012f27 Rename "HTTPRequest::curl()" to HTTPRequest::get() 2020-07-21 03:14:01 -04:00
nupplaPhil
8793096c16 Make "HTTPRequest::post" dynamic 2020-07-21 03:02:51 -04:00
nupplaPhil
2973ed6448 Make "HTTPRequest::curl" dynamic 2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 02:56:10 -04:00
bf599be1f8 Add support for token strings in HTTPSignature::parseSigheader
- Only quoted strings were supported before
2020-07-14 09:52:03 -04:00
78b424c7fd Add support for "hs2019" algorithm value in Util\HTTPSignature 2020-07-04 13:12:59 -04:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
dcbd44ab88 Removed the rest of the @brief fields 2020-01-19 20:44:01 +00:00
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection) 2020-01-19 21:26:42 +01:00