Commit graph

263 commits

Author SHA1 Message Date
Philipp
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Philipp
505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
Philipp
0cafa871f1
Use HTTPRequestOptions constants for HTTPClient::get() 2021-08-25 21:31:30 +02:00
Philipp
2356221aba
Fixup HTTP headers for httpClient requests 2021-08-25 14:22:43 +02:00
Philipp
803c1d71de
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
Philipp
dee1899628
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest
2021-08-20 19:58:42 +02:00
Michael
07d2dfcd60 Some more "convertForUriId" replacements 2021-07-10 12:58:48 +00:00
Michael
d8974c9a2a Function renamed to better reflect the functionality 2021-07-09 06:29:24 +00:00
Michael
f29bd23ea8 New function to convert BBCode for a given ID 2021-07-08 13:47:46 +00:00
Michael
37a76e70ef Providing the uri-id to "convert" when possible 2021-07-06 12:34:48 +00:00
Michael
3deb384c54 Replace the proxify function 2021-07-05 21:35:57 +00:00
Michael
e519b782fd Simplified proxy handling 2021-07-04 21:24:49 +00:00
Michael
16de3454bc Change logo path 2021-06-30 20:00:57 +00:00
Michael
b46ad72651 Fix media size 2021-06-30 19:55:28 +00:00
Michael
98dd4e889a Some more contact paths 2021-06-30 18:44:41 +00:00
Michael
c840ee82af Avoid empty posts on Diaspora 2021-04-30 22:35:16 +00:00
Michael
795761ee89 Attachments are added to OStatus as well 2021-04-29 21:16:04 +00:00
Michael
8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00
Michael
5a00902e11 Avoid HTML parsing of an empty body 2021-04-10 05:46:19 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael
68502daed0 New post class in protocol and worker classes 2021-01-16 04:14:58 +00:00
Michael
2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Michael
0eb4a600b0 Delay unprepared posts 2020-12-13 12:47:49 +00:00
Michael
a68810301a Fix structure error 2020-11-29 11:43:07 +00:00
Michael
7ab63d2106 Store the protocol of the received message 2020-11-29 09:01:51 +00:00
Michael Vogel
f69c043bec
Update src/Protocol/OStatus.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-11-18 18:07:20 +01:00
Michael
a1dcbedc6f Fix Notice: Undefined variable: valid in /src/Protocol/OStatus.php on line 526 2020-11-18 13:47:29 +00:00
Hypolite Petovan
283b70928d Remove top-level parent check from Protocol\OStatus
- It's done in Item::insert instead
- Address part of https://github.com/friendica/friendica/issues/9252#issuecomment-729171051
2020-11-17 17:54:07 -05:00
Hypolite Petovan
2e7c505ac0 Revert wrong item.thr-parent field usage in Protocol\OStatus 2020-11-14 10:08:52 -05:00
Hypolite Petovan
0f2a5daf09 Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-14 10:08:50 -05:00
Michael
43749c3069 The "attach" field is now deprecated 2020-11-07 08:22:59 +00:00
Michael
d383f49f1e The "[attach]" field is replaced by the "post-media" table 2020-11-06 04:14:29 +00:00
Michael
8485c8c357 The post-media table now works with the "attach" field as well 2020-10-31 13:26:08 +00:00
Philipp
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
Philipp
069753416d
Revert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s() - Fix functionality at various places - Adapt CurlResultTest"
This reverts commit 933ea7c9
2020-10-11 23:26:03 +02:00
Philipp
0449077126
Revert "Fix IHTTPResult::getHeader() - Now returns a string array, like expected - Fix usages - Fix dataset"
This reverts commit 80bd0a4d
2020-10-11 23:25:40 +02:00
Philipp
80bd0a4d5a
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2020-10-10 23:11:30 +02:00
Philipp
933ea7c9ce
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places
- Adapt CurlResultTest
2020-10-10 23:11:30 +02:00
Michael
7b13b7e9c8 Reworked "getIdForURL" 2020-08-07 13:49:59 +00:00
Michael
f09d9bc9cc Remove url caching, locking cleanup 2020-08-06 18:53:45 +00:00
Michael
603b1f965d Fix wrong value for parameter 2020-08-05 12:53:25 +00:00
Michael
0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael
9b86f40a5f Store avatar cache fields only when needed 2020-07-25 11:48:52 +00:00
nupplaPhil
7029012f27 Rename "HTTPRequest::curl()" to HTTPRequest::get() 2020-07-21 03:14:01 -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
Hypolite Petovan
25b3fa83fc Rename PageInfo::appendToBody to searchAndAppendToBody 2020-07-17 19:15:43 -04:00
Michael
c987785146 Use "contact-type" instead of "account-type" to avoid notices 2020-07-17 06:58:39 +00:00