Commit graph

280 commits

Author SHA1 Message Date
Kijin Sung
270f84abe9 Separate image rotation check into its own method in FileHandler 2022-12-20 19:17:43 +09:00
Kijin Sung
772d26ee2f Prevent robots from indexing file download links
https://xetown.com/topics/1708853
2022-09-16 16:55:50 +09:00
Kijin Sung
df56b7f8b1 Fix files with .jfif extension not being recognized as JPEG image 2022-09-16 16:44:29 +09:00
Kijin Sung
9c07104eb2 Reduce file download key expiration to 5 minutes #1890 2022-03-11 01:45:13 +09:00
conory
994d7ca83e Fix PHP Exception
PHP Exception: TypeError #0 "explode(): Argument #2 ($string) must be of type string, stdClass given" in modules/file/file.controller.php on line 1273
2021-09-16 18:58:41 +09:00
Kijin Sung
aab7ab851e Add missing 'module' parameter to download URL 2021-07-29 09:52:12 +09:00
Kijin Sung
4460de58fd Add missing result fields to procFileIframeUpload
모바일 스킨에서 파일 업로드 자체구현할 때 종종 사용하는 액션인데
mp4 썸네일 주소 등 라이믹스에서 추가한 필드들이 반환되지 않아
스킨에서 연동하기 어려운 문제를 보완합니다.
2021-04-27 21:32:34 +09:00
Kijin Sung
f98964467c Always use 'fill' thumbnail type by default 2021-04-19 01:32:08 +09:00
Kijin Sung
ae163b95d4 Fix error in video thumbnail command (#1552 regression) 2021-02-09 19:29:15 +09:00
Kijin Sung
0c1c388331 Fix #1552 error in Windows if ffmpeg path contains spaces 2021-01-09 16:25:41 +09:00
Kijin Sung
9f6f5df35b Always put integer in member_srl in insertFile() 2020-12-27 10:53:18 +09:00
Kijin Sung
32aae27a13 Add option to maintain file format when resizing #1508 2020-12-21 10:22:53 +09:00
Kijin Sung
367635d21b Fix #1341 calculate point difference accurately when files are deleted and re-attached 2020-12-15 23:31:00 +09:00
BJRambo
2cb477fd55 게시글과 댓글을 작성 및 수정시 대기된 파일을 공개하는 방식을 변경
파일이 대기모드에서 공개할때 트리거에서 직접 호출 하는 방식으로 변경
2020-11-11 15:06:00 +09:00
Kijin Sung
1bd20e6d31 Fix #1417 set files as valid when signature is saved 2020-10-22 00:16:59 +09:00
Kijin Sung
177a6c6b7d Merge branch 'develop' into next 2020-09-29 00:23:30 +09:00
conory
86c96a6ea8 https://github.com/rhymix/rhymix/issues/1403 GIF로 취급 기능이 전혀 작동하지 않는 문제 수정 2020-09-15 15:49:29 +09:00
Kijin Sung
c90d529c74 Change method calls to static in many core modules 2020-05-24 20:43:52 +09:00
Kijin Sung
b193ad73e3 Fix #1274 check chunked uploads after all chunks are ready 2020-04-16 18:17:04 +09:00
Kijin Sung
2284fb7128 Remove excess dots from filenames #1251 2020-04-16 17:46:39 +09:00
Kijin Sung
7c9b356662 Clean up unnecessary download headers 2020-03-24 01:07:23 +09:00
Kijin Sung
66a6834204 Fix #1207 enable option to control whether audio/video files are downloaded directly or through procFileDownload 2020-03-23 02:09:25 +09:00
Kijin Sung
5ecc345541 Implement downloading with filename in the URL, not the Content-Disposition header 2020-03-15 00:55:25 +09:00
Kijin Sung
4ac0a6bf66 Use RX_WINDOWS constant in core and file module 2020-02-14 16:16:33 +09:00
ehii
7e4560a3c3 코드 간결하게 수정 2020-02-12 11:49:45 +09:00
ehii
54ed209261 윈도우서버에서 ffmpge 호환성 개선
1. ffmpge 실행파일의 경로명에 공백이 들어가는 경우에도 실행가능하도록 수정

2.ffmpeg 실행시 상호작용을 명시적으로 비활성 옵션을 추가하여, mp4변환시 500에러가 발생하던 것을 수정
2020-02-12 09:59:26 +09:00
Kijin Sung
1c07b2e0d2 Fill upload_target_type as soon as parent document/comment/module is saved 2019-11-22 17:37:52 +09:00
conory
223475a351 4987a8928f 파일이 변환된 때에만 original_type이 채워지도록 보완 2019-10-11 20:59:40 +09:00
conory
4987a8928f 파일이 변환된 경우 무조건 original_type이 채워지도록 수정 2019-10-11 20:52:16 +09:00
conory
27af1fd8f6 direct_download = 'Y' 파일이라도 다운로드 권한이 없으면 게시자의 본문 삽입 전까지 act=getFileList에서 실경로를 획득할 수 없도록 보완 2019-10-10 16:30:57 +09:00
conory
77122a32b2 is_command() 대체 2019-10-09 23:28:23 +09:00
Kijin Sung
9a78f0f0a0 이미지 크기 조정시 가로세로 비율이 유지되지 않는 문제 수정 2019-10-09 15:46:19 +09:00
Kijin Sung
4dffddc1d1 SQL 예약어와 충돌하는 type 컬럼명을 mime_type으로 변경 2019-10-09 15:32:57 +09:00
Kijin Sung
805a7324cc Storage::getContentType() 메소드를 MIME 클래스로 이동함 2019-10-09 15:20:19 +09:00
conory
a208526a5c EXIF 제거 옵션 추가 2019-10-04 16:45:11 +09:00
conory
6db830c4c4 파일이나 확장자가 이미지, 오디오, 동영상이며, MIME 타입이 전혀 다른 경우에만 확장자를 고치도록 수정
direct가 아닌 첨부파일 본문 삽입시의 오류 수정
이미지, 오디오, 동영상 MIME 타입을 mime_content_type()의 반환값으로 수정
2019-10-03 23:40:55 +09:00
conory
ac9141b4f2 오디오가 없는 MP4 동영상만 GIF로 취급 하도록 개선 2019-10-02 14:57:38 +09:00
conory
16e44d44c7 움직이지 않는 gif도 mp4로 변환되는 문제 수정
FFmpeg 사용 불가 안내 메시지 추가
추후에 활용하기 위한 type, width, height, duration 컬럼 추가
업로드시 이미지, 오디오, 동영상 파일의 확장자가 잘못된 경우 올바른 확장자를 덧붙이는 기능 추가
2019-10-01 22:50:38 +09:00
conory
cdbc2d7a82 동영상 섬네일, GIF로 취급 기능 추가
이미지, 동영상 첨부시 구분할 수 있도록 그 섬네일에 play 아이콘 추가
모듈별 파일 설정시 파일 모듈의 업로드 기본, 이미지, 동영상 설정을 각각 달리 적용할 수 있도록 기본 설정 제어 옵션 분리
2019-09-27 00:34:19 +09:00
conory
c2025c4bde original_type로 column 이름 변경 2019-09-23 15:30:53 +09:00
conory
1fcba0a44c GIF → MP4 더 완벽하게... 2019-09-22 21:24:43 +09:00
Kijin Sung
941542b991 Implement files changelog 2019-09-14 00:22:24 +09:00
Kijin Sung
65c8c6e9c1 Add experimental support for GIF->MP4 conversion 2019-09-13 16:18:15 +09:00
Kijin Sung
4d6335c660 Autogenerate editor_sequence if not provided
에디터를 통하지 않고 파일을 첨부할 수 있도록 하기 위한 준비작업
2019-08-29 14:15:10 +09:00
Kijin Sung
9d7f220417 Add option to apply maximum image size to administrator 2019-08-23 14:27:15 +09:00
Kijin Sung
c60d475aaf Add option to convert PNG images to JPG 2019-08-23 14:18:02 +09:00
Kijin Sung
c40a47724d Simplify allowed_filetypes input format 2019-08-01 15:57:05 +09:00
Kijin Sung
8c242327a8 Implement auto-rotation of uploaded images 2019-08-01 15:25:12 +09:00
Kijin Sung
f3761fd934 Make image auto-conversion apply to the administrator, too 2019-08-01 14:35:25 +09:00
Kijin Sung
b9208a682b Allow customization of resize and conversion quality 2019-08-01 14:28:29 +09:00