Commit graph

582 commits

Author SHA1 Message Date
Kijin Sung
b00f8b63d1 Remove unnecessary arguments and deprecated function calls
- Originally committed on April 3, 2022
2022-12-26 16:24:27 +09:00
Kijin Sung
17279c264b Add support for short download URLs #1875 #1922
- Originally committed on April 3, 2022
- Thanks to @misol @conory
- getDownloadUrl()에서 기존 메소드 형태 최대한 그대로 유지하는 방향으로 작업
  (단, source_filename 파라미터를 전달하지 않으면 긴주소로 강제됨)
- getDirectFileUrl()의 불필요하게 복잡한 코드 정리
- getFileList()에서 이미지가 아닌 파일도 절대경로를 반환하도록 수정
- procFileDownload, procFileOutput에서 URL에 포함된 파일명을 검증하도록 하여
  동일한 첨부파일에서 파일명 부분만 변형한 링크를 무한 생성할 수 없도록 함
- 짧은주소 미사용시 불필요한 module_srl 파라미터 제거
2022-12-26 16:23:19 +09:00
Kijin Sung
270f84abe9 Separate image rotation check into its own method in FileHandler 2022-12-20 19:17:43 +09:00
Kijin Sung
8b6e1949b0 Preserve 'isvalid' URL parameter when changing sort order or after deleting files 2022-12-20 01:02:02 +09:00
BJRambo
a29e310b76 2047 보완 파일 리스트 정렬 순서를 항상 desc에서 처음 시작하도록 개선 2022-12-18 01:42:01 +09:00
BJRambo
b1a016c43d 쿼리에 order type 변수 추가 및 기본 동작은 desc로 지정 2022-12-18 01:21:13 +09:00
BJRambo
01ffc52239 파일관리 모듈에 다운로드 갯수 이하를 검색할 수 있도록 개선 2022-12-18 01:15:30 +09:00
BJRambo
5a2fe66063 파일목록에 정렬 기능 추가 2022-12-18 00:58:46 +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
Johnny
8fb799d23e Fix the incorrect link 2022-07-21 02:41:00 +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
conory
1d9033742a 검색옵션이 뒤죽박죽으로 표시될 수 있는 문제 수정
언어코드 이름이 모두 search_target_list로 같기에 향후 코어나 서드파티에 의해 호출 순서가 바뀌면 다른 모듈의 $lang->search_target_list 변수가 표시될 수 있다.
2021-04-24 11:50:39 +09:00
Kijin Sung
f98964467c Always use 'fill' thumbnail type by default 2021-04-19 01:32:08 +09:00
Kijin Sung
3c2e664fe8 Always display the module that a file belongs to 2021-03-29 01:27:51 +09:00
Kijin Sung
ae163b95d4 Fix error in video thumbnail command (#1552 regression) 2021-02-09 19:29:15 +09:00
Kijin Sung
588520ff4b Fix warnings in PHP 8.0 2021-02-08 21:27:06 +09:00
Kijin Sung
2cf2ce2d67 Fix #1604 warnings and errors in PHP 8.0 in dispFileAdminList 2021-02-07 15:29:05 +09:00
Kijin Sung
aba959f673 Fix incorrect parsing of allowed_extensions in file upload config
https://xetown.com/questions/1523089
2021-02-04 21:09:50 +09:00
Kijin Sung
cc871c5474 Shorten ipaddress field to 60 chars in most modules 2021-01-19 21:59:33 +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
Min-Soo Kim
5d39fe938a
Fix unintended change at file searching
#1518 에서 지적 받은 내용 수정
2020-12-23 22:14:31 +09:00
Min-Soo Kim
97fc096fbd
파일 모듈에서 검색시에 search operator 사용하도록 수정 (#1519)
* 통합검색 모듈에서 검색어가 이중으로 escape 되는 문제 수정
* 파일 검색시에도 'search' operator 사용하도록 수정
* XML 쿼리 파일 내의 id가 실제 쿼리 id와 다르게 작성되어 있던 오타를 수정합니다.
2020-12-23 21:57:56 +09:00
Min-Soo Kim
b125b4684a
통합검색 모듈에서 검색어가 이중으로 escape 되는 문제 수정 (#1518)
* 통합검색 모듈에서 검색어가 이중으로 escape 되는 문제 수정
* 파일 검색시에도 'search' operator 사용하도록 수정
2020-12-23 21:28:53 +09:00
Kijin Sung
32aae27a13 Add option to maintain file format when resizing #1508 2020-12-21 10:22:53 +09:00
Kijin Sung
198bb1b079 Fix miscellaneous errors in PHP 8.0
https://xetown.com/questions/1494606
2020-12-21 01:01:26 +09:00
Kijin Sung
0b265cde21 Make all addons, modules, and widgets follow RX_VERSION 2020-12-18 00:20:33 +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
Kijin Sung
372e392049 Fix #1480 misc errors in PHP 8.0 2020-12-11 21:38:39 +09:00
BJRambo
29608ca6cd Deleted comment for phpstorm 2020-11-11 20:29:50 +09:00
BJRambo
55177a4021 파일 모듈에서 사용하지 않는 트리거를 삭제 2020-11-11 15:28:12 +09:00
BJRambo
2cb477fd55 게시글과 댓글을 작성 및 수정시 대기된 파일을 공개하는 방식을 변경
파일이 대기모드에서 공개할때 트리거에서 직접 호출 하는 방식으로 변경
2020-11-11 15:06:00 +09:00
Kijin Sung
6e2cbbbdfa Display alert if filesize is exceeded #1451 2020-10-30 21:35:49 +09:00
Kijin Sung
921c318bb0 Display max filesize for profile image #1451 2020-10-30 17:07:37 +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
ffe9cda5e0 Merge branch 'develop' into next 2020-08-29 23:53:31 +09:00
Kijin Sung
b24cccc52e Fix #1380 missing nick_name in waiting file list 2020-08-27 21:24:07 +09:00
Kijin Sung
9782c30654 Merge branch 'develop' into next 2020-08-19 15:41:14 +09:00
Kijin Sung
2fc5850406 Fix #1387 increase MIME type field length 2020-08-19 11:06:03 +09:00
Kijin Sung
a22f6e5805 Increase MIME type field length #1387 2020-08-17 23:21:41 +09:00
Kijin Sung
8a9f8253a8 Increase MIME type field length #1387 2020-08-17 18:04:37 +09:00
Kijin Sung
00246165b3 Merge branch 'develop' into next 2020-06-17 21:09:41 +09:00
BJRambo
ea381a46c6 import a file config, check if it is a object and run clone 2020-06-17 14:56:57 +09:00
Kijin Sung
c90d529c74 Change method calls to static in many core modules 2020-05-24 20:43:52 +09:00