1
0
Fork 0
Commit graph

73 commits

Author SHA1 Message Date
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
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters 2019-06-10 14:34:54 +02:00
198e150ba8 Archive inboxes after 5 days of delivery failures 2019-03-25 21:51:32 +00:00
0aab620d32 Enable remote authentication with HTTP Signatures 2019-03-19 06:44:51 +00:00
a876c20850 Use HTTP-Signature to authenticate when fetching photos. 2019-03-18 22:33:20 +00:00
cb3f09ae4f Refactor namespaces
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
3282ce5389 Fix PHPDoc comments project-wide 2019-01-21 10:35:51 -05:00
ae2a8b796c Avoid a notice in HTTP signature check, preparation for authentication 2019-01-15 06:31:12 +00:00
9bec202232 Adding the date to signed get requests as well 2019-01-14 16:33:23 +00:00
2f2184cf12 Date check added for HTTP signatures 2019-01-14 16:03:13 +00:00
aa4aaf1971 Enable communication with Peertube 2019-01-14 12:10:11 +00:00
c485ca6f06 Fix ActivityPub with Nextcloud 2018-12-17 20:13:56 +00:00
8f27e3aeb1 Support for fetching non-public content / preparations for forum posts 2018-11-03 21:37:08 +00:00
Adam Magness
50da89d861 Logger Levels
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b Log function
implement log() function.
2018-10-30 09:57:14 -04:00