Commit graph

45 commits

Author SHA1 Message Date
Visman
7ef1e68af7 Add a little rigor to Curl 2023-11-11 19:12:45 +07:00
Visman
5a3ad9d33e Core\Files: Optimize the filterName() method 2023-11-03 13:32:13 +07:00
Visman
9f1d781beb Remove repeated hyphens 2023-11-02 19:38:59 +07:00
Visman
e6d66f7e0a Core\Files: Change file name transliteration 2023-11-02 16:58:26 +07:00
Visman
414e3d9717 Core\Files: change the verification logic and extend the uploadFromLink() method 2023-10-30 19:05:25 +07:00
Visman
45c890e063 Add audio/flac 2023-07-28 19:04:53 +07:00
Visman
e928df83da Convert file extension to lower case 2023-07-12 15:36:13 +07:00
Visman
4eee4e51fc Limit the number of files that can be uploaded at the same time 2023-07-08 23:05:36 +07:00
Visman
49acb82f78 Add file uploads 6/... 2023-07-08 16:53:24 +07:00
Visman
9981a68a7e jpeg xl
ImageMagick has the ability to support the JPEG XL format.
2023-07-04 16:45:33 +07:00
Visman
6efd155597 Add heif/heic and fix ini_get() for size() method
ImageMagick supported heif/heic formats.
2023-06-03 12:08:12 +07:00
Visman
cf15f56635 Rename method 2023-05-16 21:29:21 +07:00
Visman
aee1a49a25 Fix call order of curl_close() and curl_error() 2023-05-16 17:34:28 +07:00
Visman
f997cb59a1 Update uploadFromLink() method for Files 2023-05-15 18:48:20 +07:00
Visman
947705cc3c Add avatar upload on registration via OAuth 2023-05-14 21:47:05 +07:00
Visman
14c3a5d0db Up min PHP version from 7.3 to 8.0 - 5 2023-04-28 19:34:31 +07:00
Visman
5528d0480b Up min PHP version from 7.3 to 8.0 2023-04-27 19:36:15 +07:00
Visman
b2732cb847 fix typo 2023-03-30 23:10:07 +07:00
Visman
f9de698fbd Update Files.php 2023-03-30 22:20:46 +07:00
Visman
5cdec31ed1 Update Files, File and Image 2023-03-30 21:25:32 +07:00
Visman
c98726469b Update Files.php 2023-03-29 22:46:14 +07:00
Visman
8ddee22cec Update Files.php 2023-03-29 22:31:54 +07:00
Visman
3acbe21fb0 Update Core\Files 2022-02-24 22:17:04 +07:00
Visman
948cb6d4de Update Core\Files 2022-02-24 12:44:25 +07:00
Visman
21b2b03ff1 Working with images moved from Core\Image to separate drivers 2021-11-27 20:21:44 +07:00
Visman
94002ba6cc Update Core\Files
Here is mimeType() function as a fool protection.
2021-11-27 15:18:39 +07:00
Visman
a91a383df0 Add support *.avif 2021-11-26 22:17:52 +07:00
Visman
3886708e73 Update Core\Files
Either they changed something in PHP 8, or I'm wrong, but something is wrong with escaping :(
2021-02-21 23:01:15 +07:00
Visman
e83ef43cb6 Copyright 2020-12-21 17:40:19 +07:00
Visman
23ab6ff1b3 Update Core\Files
Get an extension through the regular.
The previous version allowed backslashes and forward slashes in the file extension.
2020-11-28 21:17:12 +07:00
Visman
bd0ca920fd Add strict mode 1 2020-10-14 20:01:43 +07:00
Visman
a6a6e6ec45 Limit the maximum file size to the constant \PHP_INT_MAX 2020-10-12 17:27:27 +07:00
Visman
469436ad1b Add support .webp for avatar 2020-10-04 13:46:14 +07:00
Visman
465f02b981 Add non-standard mime types 1
image/x-ms-bmp
2020-10-02 21:04:00 +07:00
Visman
3503041449 Change Core\Files
Change isImage() method (use mime_content_type()).
Add a check if the file extension matches its mime type.
2020-10-02 20:44:06 +07:00
Visman
8dc15138eb emove phpDocumentor syntax from comments 2020-09-12 23:22:32 +07:00
Visman
0799853a93 Coding style 2020-07-03 15:28:10 +07:00
Visman
8131e14e56 Coding style 2020-06-28 12:10:59 +07:00
Visman
b88bdd2b31 Null coalescing operator 2020-05-26 10:52:52 +07:00
Visman
e87a75cd6d Add declaration of argument types and return values 2020-05-24 18:30:48 +07:00
Visman
54d1e7d537 Minor fix 2019-12-29 16:52:39 +07:00
Visman
c196267568 * Fixed namespace in function_exists 2019-10-31 22:14:08 +07:00
Visman
d6d94eebb1 * Minor changes in Files 2019-10-31 22:05:42 +07:00
Visman
ebdfe382d9 For PHP 7.4
https://www.php.net/manual/migration74.deprecated.php#migration74.deprecated.core.array-string-access-curly-brace
2019-10-11 19:32:26 +07:00
Visman
40600704f4 2018-04-01 2018-04-01 18:16:58 +07:00