Commit graph

644 commits

Author SHA1 Message Date
Kijin Sung
c60847d38a Record file changelog when admin resizes image manually 2024-12-16 20:00:50 +09:00
Kijin Sung
a806c0f0f7 Display more helpful message after image conversion 2024-12-16 01:57:59 +09:00
Kijin Sung
84acc21817 Add manual image conversion for admin 2024-12-16 01:50:44 +09:00
Kijin Sung
818fd54b00 Add mime_type, width, height, duration to all file-related responses 2024-12-15 18:39:05 +09:00
Kijin Sung
6a93e0c12d Fix excessive session data after accessing and voting on many documents and comments 2024-12-07 21:55:14 +09:00
Kijin Sung
8c6beff859 Apply manager scopes to commonly used modules 2024-10-14 23:42:06 +09:00
Kijin Sung
3ffeb63afb Enforce allowed filesize and type in extra var upload form 2024-10-09 11:36:14 +09:00
Kijin Sung
b0f582a4da Show proper link in admin list for files uploaded to extra vars 2024-10-09 01:59:11 +09:00
Kijin Sung
b318e70fdf Allow calling setFilesValid() with specific list of file_srl 2024-10-08 15:26:43 +09:00
Kijin Sung
2ecb12430e Add file_srl condition to updateFileValid query 2024-10-08 15:25:10 +09:00
Kijin Sung
6c07ce75e6 Make upload_target_type hint compatible with old 3-letter shortcuts 2024-10-07 22:38:53 +09:00
Kijin Sung
798733cf11 Fix incorrect type in doc comment 2024-10-07 22:36:43 +09:00
Kijin Sung
ef0ef45303 Allow filtering file list by upload target type 2024-10-07 22:35:50 +09:00
Kijin Sung
d1527ecc90 Don't truncate upload_target_type in setFilesValid() 2024-09-03 22:10:41 +09:00
Kijin Sung
311a35c955 Fix #2396 display warning if exec() function is disabled 2024-08-21 19:54:59 +09:00
Hyeonguk Ryu
3474667943
Fix XML query IDs with their respective file names 2024-06-17 14:28:24 +09:00
Kijin Sung
d3415b5e01 Display thumbnail in admin file list if video has thumbnail 2024-05-03 23:44:10 +09:00
Kijin Sung
d127e334b0 Fix distorted images in admin file list 2024-04-29 23:45:10 +09:00
Kijin Sung
d7053be5fa Fix #2329 show WebP thumbnails in admin file list 2024-04-29 23:44:00 +09:00
Kijin Sung
117023817d Eliminate unnecessary AJAX calls to file.getFileList
에디터 로딩 직후, 파일 업로드 직후, 파일 삭제 직후
첨부목록 갱신을 위해 file.getFileList를 호출하도록 되어 있는데,
첨부목록을 직전 요청의 응답과 함께 반환하도록 변경하여
불필요한 AJAX 요청이 발생하지 않도록 하고, 로딩 속도를 개선함.
2024-04-16 22:38:53 +09:00
Kijin Sung
6c113c22ed Fix unnecessary assignment by reference, which causes E_NOTICE 2024-01-04 10:25:25 +09:00
Kijin Sung
1c0f3cd2e2 Fix warnings in PHP 8.x during image adjustment 2023-12-30 20:37:09 +09:00
Kijin Sung
0d529ef682 Disable procFileImageResize and related ruleset 2023-12-13 22:35:22 +09:00
Kijin Sung
11b728bf4a Fix video aspect ratio when ffprobe returns rotation data in side_data_list
https://xetown.com/questions/1789336
2023-12-06 10:34:39 +09:00
Kijin Sung
908fd98270 Remove potentially problematic check for module_srl in procFileDelete; maybe related to #2211 2023-11-21 22:22:27 +09:00
Kijin Sung
9a6524d63d Allow pre-setting upload_target_type for each editor 2023-11-19 21:29:15 +09:00
Kijin Sung
5993072fa7 Fix possible type mismatch in upload info verification code
https://xetown.com/questions/1793825
https://xetown.com/questions/1794400
2023-11-10 17:14:12 +09:00
Kijin Sung
426027509c Use raw bytes, not MB, when setting allowed filesize in session 2023-11-06 08:39:15 +09:00
Kijin Sung
a647fff6b8 Allow setting file size and extension limits in setUploadInfo() 2023-11-06 08:24:04 +09:00
Kijin Sung
27a932d594 Display more detailed error message when upload info mismatch is found 2023-11-03 16:48:46 +09:00
Kijin Sung
f6a02fd006 Fix typo in procFileDelete 2023-11-02 21:18:59 +09:00
Kijin Sung
eda9af546c Automatically set module_srl in upload info, and check it strictly 2023-11-02 20:49:05 +09:00
Kijin Sung
bffa50dd15 Fix RVE-2023-6 (validate module_srl when uploading/deleting) 2023-11-02 13:19:41 +09:00
Kijin Sung
99de7db35a Fix RVE-2023-6 (getFileList) 2023-11-01 22:36:05 +09:00
Kijin Sung
4a9a89b299 Fix RVE-2023-6 (procFileDelete, procFileSetCoverImage) 2023-11-01 22:32:47 +09:00
Kijin Sung
613518aa28 Fix RVE-2023-6 (procFileUpload, procFileIframeUpload) 2023-11-01 22:23:06 +09:00
Kijin Sung
f3bc9a2f03 Clean up trigger registration code in document, comment, file, editor modules 2023-10-02 22:28:16 +09:00
Kijin Sung
10123a86a8 Fix incorrect aspect ratio after converting a vertical video
https://xetown.com/questions/1775808
2023-09-21 21:20:01 +09:00
Kijin Sung
b02582c890 Fix unused or undeclared variables in moveFile() 2023-09-16 18:53:16 +09:00
Kijin Sung
e5bea38a9e Fix #2183 inconsistent return type comments in File controller and model classes 2023-09-16 18:51:57 +09:00
Kijin Sung
a5ed417480 Fix warnings in PHP 8.x 2023-09-06 21:10:11 +09:00
Kijin Sung
a99f56c7bc Increase size of upload_target_type column, and add missing indexes 2023-09-05 02:34:44 +09:00
mmx900
17e14546dd Apply allow_indexing_format to procFileDownload() 2023-06-30 21:10:01 +09:00
Soyu Kim
4c73b1fa93
Merge branch 'rhymix:develop' into develop 2023-06-30 20:40:51 +09:00
Kijin Sung
e7275ba0e0 Use magick to resize images that are too large for GD 2023-06-21 20:05:50 +09:00
Kijin Sung
fd36c32cf8 Add link to ImageMagick official site 2023-06-21 19:43:10 +09:00
Kijin Sung
a266d39c2e Show file module as 'file', not 'attachment'. Fix #2120 2023-06-18 23:39:45 +09:00
mmx900
9611fc7bda Fix #2114 Allow specifying file formats to be indexed 2023-06-14 19:13:48 +09:00
Kijin Sung
d1d2fa7686 Implement AVIF/HEIC -> JPG conversion using ImageMagick 7.x 2023-05-24 14:56:03 +09:00
Kijin Sung
f7c01cccfb Add options to convert AVIF and HEIC images using ImageMagick 7.x 2023-05-24 14:28:26 +09:00