Commit Graph

935 Commits (develop)

Author SHA1 Message Date
Michael 1c66d49599 "Network::unparseURL" is replaced with "Uri::fromParts" 2024-05-14 21:47:57 +00:00
Michael e12f92e516 Some more deprecated function calls are replaced 2024-05-14 19:21:25 +00:00
Michael 60f5fd8188 Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
Michael 5751e024c0 Request type set for all HTTP requests 2024-05-12 17:53:21 +00:00
Michael afff2b949f Improved user agent string 2024-05-10 09:01:43 +00:00
Michael 9cf8678323 Unused function removed 2024-04-15 19:06:12 +00:00
Michael 0e79b5373b The legacy proxy functionality is removed 2024-04-15 18:58:02 +00:00
Hypolite Petovan ed01b0f409
Merge pull request #14075 from mexon/mat/empty-picture-scale
round scaled dimensions up to avoid zero size
2024-04-13 18:30:44 -04:00
Matthew Exon c5b8abcaf0 round scaled dimensions up to avoid zero size 2024-04-13 21:50:17 +02:00
Michael 7dc5622dca Issue #14079: Shorten the displayed URL 2024-04-11 04:37:42 +00:00
Michael 78dc61b59e Fallback mechanism for missing IDN functions 2024-04-06 11:26:12 +00:00
Michael d9bedbb473 Centralized logging for a wrong JSON content-type 2024-03-08 13:48:21 +00:00
Michael ae37c44cc0 Oembed: Some more cleanup 2024-03-03 18:06:25 +00:00
Michael 8cf82a8449 Exceptions and warnings fixed 2024-02-29 04:40:04 +00:00
Michael b572b8989f Use media link instead of proxy for pictures 2024-02-24 15:11:27 +00:00
Michael 821a135033 Unused OEmbed functionality is removed 2024-02-24 10:58:18 +00:00
Hypolite Petovan bb7d25dfc9
Merge pull request #13921 from annando/content-type
Check for activity pub mime types
2024-02-19 05:57:47 -05:00
Michael Vogel d5c0f086bd
Disallow mail addresses for registration (#13920)
* Disallow mail addresses for registration

* Order for allow/disallow has been changed
2024-02-19 09:33:20 +01:00
Michael 892e0a5623 Check for activity pub mime types 2024-02-19 07:11:56 +00:00
Michael Vogel cb294cf411
Avoid problems with an empty domain in the blocklist (#13919)
* Avoid problems with an empty domain in the blocklist

* Test code removed
2024-02-19 07:22:19 +01:00
Michael Vogel 08fa51d0bb
Fix the handling of unhandled image types and of animations (#13904)
* Fix the handling of unhandled image types and of animations

* Avoid warnings
2024-02-17 15:46:48 +01:00
Michael 7d10518e94 Revert "Fix unhandled image detection"
This reverts commit 1069cfb570.
2024-02-17 10:50:09 +00:00
Michael 1069cfb570 Fix unhandled image detection 2024-02-17 10:46:48 +00:00
Michael Vogel 14e5b06029
Image handling reworked, new image formats added (#13900)
* Image handling reworked, new image formats added

* Updated messages.po

* The dot is now part of the file extension

* Added WebP in install documentation

* Handle unhandled mime types

* Fixed animated picture detected
2024-02-17 07:45:41 +01:00
Michael 3b0cc45588 Link sanitation added to some more places 2024-02-12 05:40:09 +00:00
Michael 061f43788c Sanitize links before storing them 2024-02-12 05:21:13 +00:00
Michael 50c0fd6738 Ckeck for host differences of fetched objects 2024-02-10 04:58:11 +00:00
Michael d2702dfe9c Use centralized functions for tag string handling 2024-01-28 06:32:55 +00:00
Michael a12fbf7ff3 Move to addon 2024-01-14 19:18:41 +00:00
Michael 5acfff1152 Merge remote-tracking branch 'upstream/develop' into ocr 2024-01-14 18:33:02 +00:00
Michael 3a60229e5c Use OCR to fetch text in images 2024-01-13 19:30:20 +00:00
Hypolite Petovan e8c256bcff [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices
- Bump divineomega/password_exposed to version 3 to remove dependency on Guzzle version 6
- Add new ICanHandleHttpResponses->getBodyString method to solve inheritance mismatch with GuzzleHttp\Psr7\ResponseInterface->getBody return type
2024-01-12 08:42:46 -05:00
Michael 89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Michael Vogel 9592292dba
Improved server detection / new servers added to federation statistics (#13793)
* Improved server detection / new servers added to federation statistics

* Fix wrong color code
2024-01-02 20:12:37 +01:00
Michael da65f0bea7 Store Pixelfed's capabilities 2023-12-21 00:33:42 +00:00
Michael 9b73189e1d Renamed function name 2023-12-05 19:55:27 +00:00
Michael 7b1b3fe8cf Fix exception, when a provided URI is invalid 2023-12-05 05:24:33 +00:00
Michael 0279b3dee9 Fix warning: Undefined array key "mime" 2023-11-22 19:16:09 +00:00
Michael 170998da1a Allow to upload pictures up to the allowed system upload size 2023-11-17 12:19:01 +00:00
Michael 5afa4fa838 Improved relay post processing 2023-11-09 06:43:03 +00:00
Michael a7ab14b3b3 Use "toISO6391" instead of "substr" 2023-11-03 05:32:57 +00:00
Michael 8e05c282b1 Post permissions are now copied from the thread parent 2023-10-29 08:49:24 +00:00
Michael e4a37f344e Individual callstacks are removed from the logger 2023-10-18 19:55:15 +00:00
Hypolite Petovan 938b2bae23 Align proxy sizes to photo preview sizes
- PIXEL_SMALL goes from 300 to 320
- PIXEL_MEDIUM goes from 600 to 640
- Use Proxy pixel constants where we used hard-coded pixel values
2023-10-14 16:05:01 -04:00
Hypolite Petovan 5004471770 Move size to pixels conversion in its own method in Util\Proxy 2023-10-03 19:58:51 -04:00
Michael 4097808b95 Resture previous state 2023-08-20 12:39:05 +00:00
Michael 12d6080a48 Added another context 2023-08-20 12:13:25 +00:00
Michael f59e11281c Issue 12815: JsonLD parsing problems with data-integrity 2023-08-20 05:57:39 +00:00
Hypolite Petovan 735835193d Add a Message-ID header if none is set in Util\Emailer
- Address anti-spam detection rule
2023-08-14 17:17:25 -04:00
Hypolite Petovan 148c1c7e1a Add new BaseUrl->isLocalUri and BaseUrl->isLocalUrl methods
- Deprecate Util\Network->isLocalLink to reduce dependency on DI class
2023-07-26 19:11:39 +02:00