Commit graph

297 commits

Author SHA1 Message Date
Kijin Sung
8410e0ef14 Cleanup #2561 2025-06-05 12:29:11 +09:00
Kijin Sung
e6dd789cd3 Fix missing window.XE for backward compatibility #2561 2025-06-04 23:51:42 +09:00
Kijin Sung
e2af4512e0 Fix missing or incorrect doc comments, type declarations, etc. 2025-06-02 22:33:04 +09:00
Kijin Sung
0501671271 Add underscores to some internal methods to mark them as private 2025-05-27 01:13:39 +09:00
Kijin Sung
e80b0d4570 Remove duplicate CSRF token from AJAX requests 2025-05-27 01:03:05 +09:00
Kijin Sung
59bb9c1043 Submit raw JSON in Rhymix.ajax() 2025-05-26 22:05:26 +09:00
Kijin Sung
a339d88a2e Don't set X-AJAX-Compat header when a request is made from Rhymix.ajax() 2025-05-25 16:47:17 +09:00
Kijin Sung
1568cb3790 Add Rhymix.getBaseUrl() and remove internal cache variable "baseurl" 2025-05-25 16:29:39 +09:00
Kijin Sung
341df211ee Add missing deprecated mark 2025-05-25 00:13:50 +09:00
Kijin Sung
dbd46edcc2 Add client-side Rhymix.lang() to get or set lang codes 2025-05-23 20:33:04 +09:00
Kijin Sung
3fb9d0acaa Fix incorrect short URL for POST requests made by Rhymix.ajax() 2025-05-21 15:07:15 +09:00
Kijin Sung
ad02de4f93 Remove unnecessary attributes from iframe modals 2025-05-21 14:38:33 +09:00
Kijin Sung
b229738808 Clean up editable preview handling code 2025-05-21 14:37:18 +09:00
Kijin Sung
51983aad8f Restore default success callback of ajaxForm() so that successful messages are printed 2025-05-21 14:19:43 +09:00
Kijin Sung
7e53bef104 Call Rhymix.ajax() in doCallModuleAction() 2025-05-21 14:19:10 +09:00
Kijin Sung
a0606dcf60 Move Rhymix.ajaxForm() to common.js 2025-05-21 14:12:10 +09:00
Kijin Sung
0f554c6d51 Consoliate all debug-related variables under the Rhymix object 2025-05-21 14:07:34 +09:00
Kijin Sung
3d64c26232 Remove window.rhymix_debug_pending_data 2025-05-21 13:58:39 +09:00
Kijin Sung
a778c46afa Reorder event handlers defined at document.ready 2025-05-21 13:56:21 +09:00
Kijin Sung
e7fbeee414 Update rx_ajax to use Rhymix.ajax() underneath 2025-05-21 13:49:31 +09:00
Kijin Sung
688c9ea87c Implement Rhymix.ajax() 2025-05-21 13:36:32 +09:00
Kijin Sung
0915863ba9 Complete reorganization of common.js 2025-05-21 00:50:48 +09:00
Kijin Sung
c546af7bf5 Also handle modal layers of any kind 2025-05-20 18:01:39 +09:00
Kijin Sung
5bddaa1bd3 Rename openFullscreenIframe() to openModalIframe() and handle the back button properly 2025-05-20 17:58:21 +09:00
Kijin Sung
e60bbb7e7c Remove unused variables 2025-05-20 17:40:04 +09:00
Kijin Sung
24c8f4bd06 Remove MSIE-specific polyfill 2025-05-20 17:39:24 +09:00
Kijin Sung
6a46c39851 Improve fullscreen iframe handling 2025-05-20 17:38:50 +09:00
Kijin Sung
bd3e642d37 Also apply iframe solution to dispDocumentDeclare 2025-05-14 02:37:17 +09:00
Kijin Sung
d1d278719c Also apply iframe solution to dispTempSavedList 2025-05-14 02:32:23 +09:00
Kijin Sung
7157181726 Consolidate popup/iframe handling code in common areas 2025-05-14 02:13:04 +09:00
kkigomi
117decebeb
e361d2e 커밋에서 exec_xml() 함수의 대체가 잘못 수정된 문제 2024-01-05 04:51:15 +09:00
Kijin Sung
e361d2e40a Replace exec_xml() with exec_json() in document AJAX actions 2024-01-04 00:49:46 +09:00
Kijin Sung
76034163f9 Improve thumbnail handling for image and video search results #2230 2024-01-01 16:56:04 +09:00
Kijin Sung
6e38b440ea Convert popup menu AJAX actions from XML to JSON 2023-08-30 23:36:26 +09:00
Kijin Sung
e22ae8259a Open most member popup menus in the same window #2154 2023-07-17 21:58:25 +09:00
Kijin Sung
703b04ca97 Remove unnecessary whitespace in common JS files 2023-04-30 22:05:43 +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
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
dacddd5d44 Fix JS exception when malformed URL is passed to isSameOrigin() 2021-12-26 20:47:13 +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
a107ef1b90 Fix #1662 missing color scheme class on <body> when cookie exists 2021-03-17 23:01:43 +09:00
Kijin Sung
9160b867aa Fix incorrect relative URLs in other JS libraries #1601 2021-02-05 11:50:13 +09:00
Kijin Sung
64baf4e8e3 Remove ssl_actions and add rewrite_level to inline JS 2021-01-20 23:53:58 +09:00
Min-Soo Kim
899fe00dda
관리자가 모든 모듈의 다크모드 설정을 제어하도록 합니다. (#1558)
* 관리자가 다크모드 작동 여부를 선택할 수 있도록 수정
2021-01-10 22:21:13 +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