Michael
|
3554b61508
|
Fix tests
|
2023-05-10 08:48:21 +00:00 |
|
Michael
|
c5ca5bfdf8
|
Function renamed
|
2023-05-10 07:54:15 +00:00 |
|
Michael
|
7d91cc73de
|
Unifiy the creation of photo links
|
2023-05-09 20:44:58 +00:00 |
|
Michael
|
1a98961c3c
|
Issue 12858: Peertube avatars can now be fetched
|
2023-03-18 06:41:35 +00:00 |
|
Hypolite Petovan
|
1874a32728
|
Happy New Year 2023!
|
2023-01-01 09:36:24 -05:00 |
|
Michael
|
5d3248d57b
|
Handle some fatal errors
|
2022-12-11 16:48:36 +00:00 |
|
Michael
|
a5be5b27e3
|
Support Blurhash
|
2022-12-04 13:29:21 +00:00 |
|
Roland Häder
|
fd8f4269ff
|
Reformatted code
|
2022-06-23 17:30:17 +02:00 |
|
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 Holzer
|
e299fc67c8
|
Introduce "accept_header" as specific argument to the http client
|
2022-04-02 21:16:53 +02:00 |
|
Philipp Holzer
|
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 Holzer
|
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 Holzer
|
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 Holzer
|
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 Holzer
|
40349bfdc4
|
Revert "IHTTPResult::getContentType is now a string again"
This reverts commit 40b11442
|
2020-10-11 23:25:29 +02:00 |
|
Philipp Holzer
|
e17befb7d6
|
Use last entry for Content-Type
|
2020-10-10 23:11:30 +02:00 |
|
Philipp Holzer
|
40b11442c2
|
IHTTPResult::getContentType is now a string again
|
2020-10-10 23:11:30 +02:00 |
|
Philipp Holzer
|
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 |
|
Philipp Holzer
|
a38b0f7eaf
|
Move remaining namespaces and delete Core\Cache.php
|
2020-01-07 00:51:02 +01:00 |
|
Philipp Holzer
|
fe078410a1
|
Move Cache::get() to DI::cache()->get()
|
2020-01-07 00:45:49 +01:00 |
|
Philipp Holzer
|
f68929633b
|
Move Cache::set() to DI::cache()->set()
|
2020-01-07 00:41:20 +01:00 |
|
Philipp Holzer
|
181529f3df
|
Refactor dynamic App::getProfiler() to static DI::profiler()
|
2019-12-29 20:17:42 +01:00 |
|
Philipp Holzer
|
388b963714
|
Replace BaseObject class with DI::* calls
|
2019-12-29 20:17:38 +01:00 |
|
Philipp Holzer
|
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 |
|