Roland Häder
|
eb231bc548
|
Fixed: ?? didn't work here as bool won't be seen as null
|
2022-06-22 17:09:53 +02:00 |
|
Roland Häder
|
feec96cbc4
|
Return empty array on error (I hope it works this way).
|
2022-06-22 14:36:47 +02:00 |
|
Roland Häder
|
12add2fb64
|
$data can turn into bool here
|
2022-06-22 14:36:46 +02:00 |
|
Roland Häder
|
08f55f0358
|
Ops, forgot to rename these, too.
|
2022-06-22 14:36:46 +02:00 |
|
Roland Häder
|
84bfc37bf1
|
Changes:
- added more type-hints
- added missing documentation
|
2022-06-22 14:36:45 +02: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
|
1fae0123ec
|
Some more "accept" parameters are added
|
2022-03-29 06:24:20 +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
|
95f085b7ac
|
API: The legacy API finally moved
|
2022-01-15 21:38:19 +00:00 |
|
Balázs Úr
|
e56a53647b
|
Update copyright
|
2022-01-02 08:27:47 +01:00 |
|
Philipp
|
13a91e63aa
|
Rename DI::httpRequest() into DI::httpClient()
|
2021-08-25 21:54:54 +02:00 |
|
Michael
|
f5a7b0141b
|
Added todo
|
2021-07-19 06:55:23 +00:00 |
|
Michael
|
fa00a4ee32
|
Simplyfied picture fetching
|
2021-07-19 06:19:13 +00:00 |
|
Michael
|
2647514603
|
Detection of local requests
|
2021-07-19 06:14:14 +00:00 |
|
Michael
|
fccb725651
|
Unneeded workaround removed
|
2021-07-05 05:11:35 +00:00 |
|
Balázs Úr
|
054c301ef0
|
Update copyright
|
2021-03-29 08:40:20 +02: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
|
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
|
40349bfdc4
|
Revert "IHTTPResult::getContentType is now a string again"
This reverts commit 40b11442
|
2020-10-11 23:25:29 +02:00 |
|
Philipp
|
e17befb7d6
|
Use last entry for Content-Type
|
2020-10-10 23:11:30 +02:00 |
|
Philipp
|
40b11442c2
|
IHTTPResult::getContentType is now a string again
|
2020-10-10 23:11:30 +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 |
|
Hypolite Petovan
|
afb882048e
|
Generate callstack value from inside Profiler::saveTimestamp
- Save a massive amount of time computing callstacks when profiling is disabled
|
2020-07-27 02:33:05 -04:00 |
|
nupplaPhil
|
657d08f09f
|
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
|
2020-07-21 03:15:53 -04:00 |
|
nupplaPhil
|
1aa07f87a4
|
Make "HTTPRequest::fetchUrl" dynamic
|
2020-07-21 03:04:58 -04:00 |
|
nupplaPhil
|
5344efef71
|
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
|
2020-07-21 02:56:10 -04:00 |
|
Michael
|
d3722c945b
|
Improved Mime Type detection
|
2020-04-01 05:42:44 +00:00 |
|
nupplaPhil
|
23c64b9a11
|
Add license info at Friendica classes
|
2020-02-09 15:45:36 +01:00 |
|
nupplaPhil
|
a38b0f7eaf
|
Move remaining namespaces and delete Core\Cache.php
|
2020-01-07 00:51:02 +01:00 |
|
nupplaPhil
|
fe078410a1
|
Move Cache::get() to DI::cache()->get()
|
2020-01-07 00:45:49 +01:00 |
|
nupplaPhil
|
f68929633b
|
Move Cache::set() to DI::cache()->set()
|
2020-01-07 00:41:20 +01:00 |
|
nupplaPhil
|
181529f3df
|
Refactor dynamic App::getProfiler() to static DI::profiler()
|
2019-12-29 20:17:42 +01:00 |
|
nupplaPhil
|
388b963714
|
Replace BaseObject class with DI::* calls
|
2019-12-29 20:17:38 +01:00 |
|
nupplaPhil
|
1de3f186d7
|
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
|
2019-12-29 20:16:55 +01:00 |
|
Hypolite Petovan
|
03bf1dcbd3
|
Move Object\Image static methods to Util\Images
- Optimize imports in modified files
|
2019-11-02 07:48:45 -04:00 |
|