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
e1f98e573c
Fix #1944 add option to display complete call stack for queries
2022-12-19 01:11:43 +09:00
Kijin Sung
2b7255be7d
Also preload Spectrum lang file
2022-10-30 17:16:56 +09:00
Kijin Sung
7493fe14fc
Preload datepicker lang file and always apply dateFormat defaults ( fix #1985 )
...
영어를 예외처리하지 않도록 하여, 영어에서만 날짜 포맷이 다르게 지정되는 문제 수정
2022-10-30 17:08:57 +09:00
Kijin Sung
de7bf0a0a6
Automatically retry AJAX request with new CSRF token if token error is returned
...
다른 탭에서 로그아웃했다가 다시 로그인한 후 exec_json을 시도하는 등,
사용자가 보기에는 정상적인 상황인데도 보안정책(CSRF) 오류가 발생할 수 있음.
이 때 자연스럽게 토큰을 갱신한 후 요청을 다시 전송하도록 개선함.
2022-10-20 16:58:26 +09:00
Kijin Sung
fd8a4ff37d
AJAX 오류 발생시 ERR_* 코드가 있다면 표시 ( e4e252c1b4 보완)
2022-10-20 15:55:14 +09:00
Kijin Sung
064f321c74
Delete unnecessary "error -1" in query error info
2022-09-21 16:26:25 +09:00
Kijin Sung
7058f9fa85
Fix #1991 add shim for Modernizr to accommodate old addons that rely on it
2022-09-14 21:13:29 +09:00
Kijin Sung
a0f895a02f
Change scope of condition for using blankshield 4cbe598a
2022-08-01 00:46:57 +09:00
Kijin Sung
4cbe598a50
Restrict blackshield protection in modern WebKit-based browsers and Firefox
...
최근 브라우저들은 target="_blank" 사용시 자동으로 rel="noopener" 선언한 것으로
취급하므로 별도로 처리해 줄 필요가 없으며, blankshield 라이브러리 사용시
오히려 문제가 발생하는 경우가 많음. (예: iOS 웹뷰)
2022-07-31 21:42:48 +09:00
Kijin Sung
d4ffe761c5
Fix #1949 don't normalize to http URL if enforce_ssl is off
2022-06-09 21:54:59 +09:00
conory
f8336281c1
Fix rhymix alert keeping popping up
2022-05-14 18:16:12 +09:00
Kijin Sung
00dfd003f8
Remove unnecessary files from spectrum library to dismiss github security alert
2022-04-28 20:20:15 +09:00
Kijin Sung
f35dfcf2bb
Fix inappropriate loading of disabled image_link editor component ( 78d1b6966a 보완)
2022-02-25 14:50:57 +09:00
Kijin Sung
78d1b6966a
Fix image_link editor component popup loading even if image_link component is disabled
2021-12-31 00:19:30 +09:00
Kijin Sung
dacddd5d44
Fix JS exception when malformed URL is passed to isSameOrigin()
2021-12-26 20:47:13 +09:00
Kijin Sung
c86015c282
Fix incorrect console message
2021-09-29 02:17:12 +09:00
Kijin Sung
1f1e01917e
Support success and error callbacks in rx_ajax submissions using iframe
2021-09-13 10:57:55 +09:00
Kijin Sung
22781e2117
Add poster attribute to <video> tag if thumbnail is available
2021-09-07 01:58:16 +09:00
Kijin Sung
2c81be51c3
Fix #1704 detect color scheme as early as possible
2021-06-20 02:10:08 +09:00
Kijin Sung
856f2af743
Fix #1732 inconsistent 'target' attribute in popup menus
2021-06-19 22:30:18 +09:00
Kijin Sung
583604b845
Fix #1690 remove exec_html() that hasn't worked for 5 years anyway
2021-04-26 15:52:16 +09:00
Kijin Sung
a107ef1b90
Fix #1662 missing color scheme class on <body> when cookie exists
2021-03-17 23:01:43 +09:00
Kijin Sung
91b03795dc
Fix rx_ajax not working when a form contains file uploads
2021-02-24 11:02:29 +09:00
Kijin Sung
9b714acb55
Show memory usage in debug panel
2021-02-09 23:52:35 +09:00
Kijin Sung
1289776c97
Remove debug data from previous request (causes memory overage in PHP 8.0)
2021-02-09 19:33:47 +09:00
Kijin Sung
9160b867aa
Fix incorrect relative URLs in other JS libraries #1601
2021-02-05 11:50:13 +09:00
Kijin Sung
5c0c4a3f76
Fix #1601 relative path in ui.colorpicker
2021-02-05 11:45:01 +09:00
Kijin Sung
ca5d90fd07
Make rx_ajax forms more customizable
2021-02-02 16:04:53 +09:00
Kijin Sung
6b0ef1f468
Fix #1589 remove unnecessary build directory
2021-01-30 21:23:30 +09:00
Kijin Sung
64baf4e8e3
Remove ssl_actions and add rewrite_level to inline JS
2021-01-20 23:53:58 +09:00
Kijin Sung
dd561d9159
Make proper URL if download URL is a partial relative URL
2021-01-19 23:02:17 +09:00
Kijin Sung
af65e81d3e
Add preload="none" to videos that are not accessed directly #1557
2021-01-19 22:49:41 +09:00
Min-Soo Kim
899fe00dda
관리자가 모든 모듈의 다크모드 설정을 제어하도록 합니다. ( #1558 )
...
* 관리자가 다크모드 작동 여부를 선택할 수 있도록 수정
2021-01-10 22:21:13 +09:00
Kijin Sung
f3542a0ec6
Also reference .cke_auto_dark_mode in file uploader #1556
2021-01-10 00:41:26 +09:00
Kijin Sung
98c6a22cfd
Cleanup
2021-01-08 15:04:12 +09:00
Min-Soo Kim
980ad3c8ba
CSS 문법 오류 정정
...
linear-gradient 에 대해서 잘못된 문법으로 되어 있던 것을 수정.
2021-01-08 03:33:37 +09:00
Min-Soo Kim
bcd6357fef
파일 업로드 다크모드 적용
2021-01-08 03:18:26 +09:00
Min-Soo Kim
5c1c0607b6
Darkmode: File upload
2021-01-08 03:09:58 +09:00
Kijin Sung
bace9d919e
Update CKEditor to latest 4.x
2021-01-06 22:54:17 +09:00
Kijin Sung
661d23ab4e
Fix incorrect thumbnail ratio in upload list
2021-01-03 21:13:47 +09:00
Kijin Sung
a4f698c9c6
Return to auto-detected color scheme if manually set color scheme is removed
2020-12-14 22:43:26 +09:00
Kijin Sung
64c9c5ba90
Unset rx_color_scheme cookie if an invalid value is set (JS equivalent)
2020-12-13 19:59:26 +09:00
Kijin Sung
0237d5c759
Auto-detect color scheme first, then override with user preference
2020-12-13 19:55:37 +09:00
Kijin Sung
e3db1b7cd8
Replace CSS check with window.matchMedia
2020-12-13 19:43:11 +09:00
Kijin Sung
bcfb96dda7
Merge branch 'develop' into pr/color-scheme
2020-12-13 19:40:20 +09:00
Kijin Sung
b5cdd1212e
Fix inconsistent path for lang_type cookie
...
Context::setLangType()에서 생성하는 lang_type 쿠키와
자바스크립트 setLangType()에서 생성하는 lang_type 쿠키의 path가 달라
라이믹스를 서브폴더에 설치한 경우 충돌이 일어나는 문제 해결
2020-12-13 19:28:37 +09:00
Kijin Sung
0067182e71
Add playsinline attribute to GIF-based video tags
2020-12-12 17:29:20 +09:00
Kijin Sung
c0c6b4e2de
Remove conflicting color scheme class from body
2020-12-11 20:58:13 +09:00
Kijin Sung
79c10d0b23
Add color_scheme_light/color_scheme_dark classes to body
2020-12-11 20:54:56 +09:00