Commit graph

582 commits

Author SHA1 Message Date
Kijin Sung
bf93afd7e5 Support converting BMP and WEBP images to JPG 2019-08-01 03:13:58 +09:00
Kijin Sung
62eb21abbb Separate image check into its own method and clean up 2019-08-01 02:21:04 +09:00
Kijin Sung
1e5eedf3e0 Implement automatically resizing images that are too large 2019-08-01 02:13:25 +09:00
Kijin Sung
c95f84adb8 Implement maximum image size constraint 2019-08-01 01:56:51 +09:00
Kijin Sung
280bdeb470 Rename dispFileAdminConfig to dispFileAdminUploadConfig 2019-08-01 01:14:13 +09:00
Kijin Sung
d9118289fb Fix confusing label 2019-08-01 00:22:15 +09:00
Kijin Sung
690803f3fc Separate upload config screen from download config screen 2019-08-01 00:20:40 +09:00
Kijin Sung
31b0bb4158 Fix #1180 remove session dependency from file download operation
파일 다운로드시 사용하는 key의 검증 과정에 세션을 사용하지 않도록 변경함.
전자서명을 사용하여 동일한 IP 주소에서 1시간 동안 유효한 key를 생성함.
2019-07-31 19:25:56 +09:00
Kijin Sung
188c4aa34a Fix #1129 display total size when selecting files for deletion 2019-07-30 21:21:05 +09:00
Kijin Sung
3ce11f6432 Fix #1176 progress bar closing too early when uploading multiple files 2019-05-29 08:38:12 +09:00
Kijin Sung
70108f858d XEVE-19-001, XEVE-19-003, XEVE-19-006
xpressengine/xe-core@18ec8078eb
2019-05-04 17:36:41 +09:00
conory
9c5fea46e5 잘못된 url을 가진 링크가 있을 경우 자바스크립트 오류가 발생되는 문제 수정
https://xetown.com/questions/1159682
2019-01-30 00:14:55 +09:00
Kijin Sung
d0ec85db3b Fix incorrect global filesize limit for admin
https://xetown.com/questions/1154564
2019-01-23 23:16:31 +09:00
Kijin Sung
930ebc97b7 Use proper file storage path for skin uploads 2018-12-18 16:03:27 +09:00
Kijin Sung
f80ea85b6f Add file.folder_structure setting to simplify file storage hierarchy 2018-10-18 16:06:53 +09:00
Kijin Sung
60d390f52e Initial mitigations for #1088 #1089 2018-09-17 00:48:47 +09:00
Kijin Sung
d8a0773b97 Replace $this->stop() with proper exceptions 2018-09-06 00:19:47 +09:00
Kijin Sung
ad00ac800b Update document, comment, file modules to throw exceptions 2018-09-05 23:55:50 +09:00
Kijin Sung
d578016ff9 Remove links to outdated manual 2018-08-22 19:35:42 +09:00
Kijin Sung
f12cf74dda Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
This reverts commit b1cb1f3f34.
2018-08-04 20:56:24 +09:00
conory
b1cb1f3f34 다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지

CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +09:00
Kijin Sung
5fa2dec9db Also detect force_download=Y option in procFileDownload 2018-03-10 00:30:03 +09:00
Kijin Sung
7854d64641 Add URL parameter force_download=Y to force download images 2018-03-07 12:22:13 +09:00
Kijin Sung
2366d61ea4 Allow some file types to be downloaded inline
이미지, 오디오, 비디오, PDF 등 일부 파일을 다운로드하면
다운로드 창을 띄우지 않고 현재 창에 바로 표시할 수 있는 옵션 추가
단, text/html은 보안상 허용하지 않음
2018-03-07 11:39:40 +09:00
conory
54401ea28f copyDocumentModule(), deleteModuleDocument() 정리, 성능 개선 2018-01-29 00:57:35 +09:00
conory
3d2ade4aa1 문서 이동 / 첨부 파일 삭제 기능 개선 2018-01-24 21:23:00 +09:00
Kijin Sung
c431855bbf Fix #975 do not move file when moving document
문서를 다른 게시판으로 이동할 때 첨부파일 경로를 변경하지 않도록 하여
아래와 같은 문제 발생을 사전에 차단합니다.

- 본문에 삽입한 이미지 경로와 실제 파일이 저장된 경로가 달라지는 문제
- 경로 변경에 실패하여 파일이 증발하는 문제

단, files/attach/(images|binaries)/(기존 게시판의 module_srl) 폴더에
파일이 그대로 남아 있게 되므로, 게시판 삭제 후 해당 폴더를 수동으로
삭제하면 문제가 될 수 있습니다. 더이상 게시판의 module_srl과 해당 폴더에
저장된 파일들의 소속 모듈이 일치하지 않을 수 있다는 뜻입니다.
2018-01-12 19:51:45 +09:00
conory
f8ac11bda6 isAccessible()로 통일 2017-12-12 13:23:45 +09:00
Kijin Sung
ae971306b7 Change instanceof Object to instanceof BaseObject 2017-12-01 01:10:48 +09:00
Kijin Sung
84e5542d77 Remove unnecessary use of BaseObject
- 트리거 등 반환값이 필요하지 않은 곳에서 new BaseObject()를 반환하는 것 삭제
- 모듈 설치, 업데이트 후 무의미한 new BaseObject()를 반환하는 것 삭제
- 사용자에게 에러 메시지를 돌려주는 용도로 new BaseObject(-1, '에러메시지')를
  사용하는 경우는 대부분 $this->setError()로 변경함. 언어 변환과 sprintf()
  처리까지 한 번에 이루어지므로 이쪽이 더 편리함.
2017-12-01 00:54:51 +09:00
BJRambo
f3f40f6859 php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경 2017-11-28 20:01:28 +09:00
Kijin Sung
1f9f449fb0 Stop treating .swf as directly downloadable file
플래시 첨부파일을 본문에 직접 삽입하는 방식에서 다운로드만 가능한 방식에서 변경
file, importer, integration_search 등 모든 모듈에 일관성있게 적용

xpressengine/xe-core#2149
2017-10-12 00:29:22 +09:00
Kijin Sung
081578ef8e Clean up file module configuration 2017-09-13 00:30:28 +09:00
Kijin Sung
401d2c0179 Fix #747 misleading explanation in file module config 2017-09-13 00:25:00 +09:00
Kijin Sung
b8cd244836 Fix incorrect reporting of maximum allowed filesize 2017-06-29 19:51:00 +09:00
Kijin Sung
224b2748a5 Fix #847 separate 'isvalid' parameter from other search options 2017-06-09 22:25:34 +09:00
Kijin Sung
3462778803 Fix #847 separate getFileList query from getFileListByTargetStatus 2017-06-09 22:24:27 +09:00
Kijin Sung
15bba27967 Fix #847 missing files in admin view 2017-06-09 22:19:35 +09:00
Kijin Sung
9f632f2087 Fix ambiguous column names in dispFileAdminList() 2017-06-09 10:04:20 +09:00
bnu
08d7483364 fix #2104 첨부 파일 목록을 가져올 때 호환성 문제 고침 2017-06-09 10:03:29 +09:00
Kijin Sung
8fcbe5ec6a Fix calling nonexistent method get() on null 2017-06-08 21:10:47 +09:00
bnu
3a031f53de #2092 c122946 보완 2017-05-31 17:36:23 +09:00
Kijin Sung
d83ccd67aa Fix #681 #788 exposure of secret comments and files in integration search 2017-05-30 15:18:39 +09:00
bnu
9756261a1a 2092 이슈에서 다른 잘못된 코드 수정 및 보완 2017-05-30 14:58:28 +09:00
Kijin Sung
9f95a7f9e1 Fix invalid request error in getFileList() 2017-05-30 13:42:40 +09:00
howtoxe
7b763f0aec 코딩컨벤션 수정 2017-05-30 13:39:45 +09:00
howtoxe
8648dd5aa5 수정
간편하게 수정
2017-05-30 13:39:45 +09:00
howtoxe
6d182b6d11 커버이미지 선택 취소 기능
CK에디터 파일업로드의 커버이미지 선택을 취소할 수 있도록 하는 기능
2017-05-30 13:39:45 +09:00
bnu
71ca1385ac fix #2092 권한이 없는 글의 첨부된 파일 목록을 볼 수 있는 문제 고침 2017-05-30 12:14:16 +09:00
conory
fc6206ab75 module.xml 3차 정리
action에 permission 속성을 부여하는 방식으로 변경
board, page 모듈 action에  grant 퍼미션 설정
2017-04-08 15:50:06 +09:00