Commit Graph

723 Commits

Author SHA1 Message Date
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 0f0b649e8d Replace unparse function 2022-05-11 11:06:14 +00:00
Michael 020ba7a4ed The function is now usable for all formats 2022-05-11 06:58:26 +00:00
Michael 695e3d8b61 Simplifiy the split 2022-05-11 06:55:02 +00:00
Michael 47808ab0e9 Issue 11487: IDN support added 2022-05-11 06:34:25 +00:00
Hypolite Petovan 510dacf4df Escape BBCode tag parsing avoidance tags when processing abstracts
- Improve documentation for related methods
2022-05-07 22:19:50 -04:00
Michael 40aa67f8be Bulk transmission for AP posts 2022-05-02 05:15:27 +00:00
Michael 9eafcf8484 Update contact when the avatar hadn't been found 2022-04-28 16:46:52 +00:00
Michael 990eea2c4e We now store uncommon endpoints 2022-04-25 13:45:03 +00:00
Hypolite Petovan 4eecf733e1
Merge pull request #11389 from nupplaphil/feat/http_client_arg
Introduce explicit HttpClient "Accept" parameter
2022-04-08 15:05:40 -04:00
Philipp 3033f79529
head fixings 2022-04-08 20:48:57 +02:00
Philipp 04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
Michael 5290f0cd51 Improved handling of invalid links 2022-04-03 07:31:42 +00:00
Michael 029daef997 Only use and accept valid http links as links to an external resource 2022-04-03 07:21:36 +00:00
Philipp e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
Philipp 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 1fae0123ec Some more "accept" parameters are added 2022-03-29 06:24:20 +00:00
Michael ff70f74952 "accept" constants introduced and used 2022-03-28 10:33:06 +00:00
Michael 6f43821ebf Issue 11368: Prevent namespace prefix warning 2022-03-22 21:07:35 +00:00
Hypolite Petovan 17d49422b4 Hash the URL before using it as cache key in Util\Images::getInfoFromURLCached
- This prevents oversized URL from stunting the database cache
2022-02-18 09:19:36 -05:00
Michael Vogel 6bc69f3353 Workaround for timing problems / Avoid a notice in the scheduled posts 2022-02-12 18:27:58 +01:00
Michael c5337c81e7 Improve contact search speed / assume octet-stream on missing content type 2022-01-27 04:05:11 +00:00
Michael 43b9e39c6a Lemmy support added 2022-01-22 15:24:51 +00:00
Michael dbd6d10536 Issue 8845: Signature support for "created" and "expires" added 2022-01-21 15:38:33 +00:00
Michael 95f085b7ac API: The legacy API finally moved 2022-01-15 21:38:19 +00:00
Philipp 543e4be0a6
Replace 'REQUEST_METHOD' with App\Arguments::getMethod() 2022-01-04 20:59:28 +01:00
Philipp dc46af5ea1
Automatically return allowed HTTP methods for OPTIONS per specific endpoint 2022-01-04 20:59:27 +01:00
Balázs Úr 733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Philipp 322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael Vogel 076b054a63 Fix for ParseUrl ('type' was already in use) 2021-12-09 01:20:31 +01:00
Michael d6c97dbde2 Fix attachment handling 2021-12-08 13:32:20 +00:00
Hypolite Petovan ecaed2a845 Update DateTimeFormat documentation
- Remove an explicit default value parameter
2021-12-04 17:52:01 -05:00
Michael 34260fc619 Improved page info detection 2021-12-04 19:54:33 +00:00
Hypolite Petovan d05d2a348b Deprecate Network::unparseURL in favor of UriInterfact objects
- Added specific test for Probe::cleanURI
2021-12-03 17:39:31 -05:00
Philipp 9cec38f916 Make HTTPInputData dynamic
- Removing DI:: dependency inside App class
- Making testability easier & adapting tests
2021-11-30 01:07:59 -05:00
Michael 1f79d25ffc Replaced "api_date" 2021-11-18 21:43:13 +00:00
Michael Vogel 83056df565
Update src/Util/Arrays.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-09 06:23:04 +01:00
Michael a66bb09b40 Moved function to Arrays.php 2021-11-08 22:10:07 +00:00
Michael cfac13790b "escapeTags" is finally removed 2021-11-07 09:18:25 +00: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 22663c4ae5
Move Introspection to Logger package 2021-10-29 12:37:22 +02:00
Philipp 409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
Philipp 184f6cc255
Restructure Logger to new paradigm 2021-10-28 20:01:02 +02:00
Philipp 58eea1adaa
Cleanup namespaces 2021-10-26 22:11:10 +02:00
Philipp b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00