Commit graph

210 commits

Author SHA1 Message Date
Kijin Sung
23190bd2f5 Remove all use of global variables as debug timers 2025-08-20 00:34:57 +09:00
Kijin Sung
393c847cee Fix first line of backtrace missing in query error display 2025-07-22 21:54:22 +09:00
Kijin Sung
d3606c07db Fix iframe closed too early in Safari #2571 2025-06-19 22:59:20 +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
6a46c39851 Improve fullscreen iframe handling 2025-05-20 17:38:50 +09:00
Kijin Sung
1d558204d1 Also apply iframe solution to dispCommentDeclare etc. 2025-05-14 02:43:04 +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
Kijin Sung
5b575f9c30 Support type="module" for JS files loaded from template v2 #2482 2025-02-15 22:04:50 +09:00
Kijin Sung
e6bd94855e Remove double escape of meta tag content 2024-10-27 23:01:07 +09:00
Kijin Sung
9c92ad1f05 Remove X-UA-Compatible meta tag in all browsers except IE 11 2024-10-27 22:59:12 +09:00
Kijin Sung
bf0093b56a Move most meta tags above the <title> to below it #2419 2024-10-27 22:50:02 +09:00
Kijin Sung
dbb4d1716e Show request method and redirect URL in debug panel and comment 2024-05-24 23:18:37 +09:00
Kijin Sung
b951d50841 Add Context::addLink() and Context::getLinks() to register HTML header content such as <link rel="preconnect"> 2024-05-05 16:29:56 +09:00
Kijin Sung
d78b8e8415 Delete .xfsr 2023-11-21 23:48:05 +09:00
Kijin Sung
e72336c90c Fix #2203 'this' in lang directive will refer to current module 2023-10-31 21:59:33 +09:00
Kijin Sung
6416499d34 Replace cumbersome noescape filter with {!! $content !!} syntax in common templates 2023-10-26 13:01:47 +09:00
Kijin Sung
e0c396bb3e Convert common/tpl/*_layout files to template v2 2023-10-25 23:28:26 +09:00
Kijin Sung
84471c83e6 Fix incorrect indentation of refresh.html 2023-10-17 00:18:16 +09:00
Kijin Sung
5b5010a401 Fix <!-- ETC --> comment stuck after body with no newline 2023-09-05 00:42:42 +09:00
Kijin Sung
51cd77a06e Clean up more old files that haven't been used in a while in Rhymix 2023-08-31 01:00:12 +09:00
Kijin Sung
a40c5d82b6 Always add CSRF token to meta tag 2023-06-19 01:40:21 +09:00
Kijin Sung
58ce0defca Add option to control error and query log consolidation 2023-05-01 02:59:22 +09:00
Kijin Sung
a1bd9cc2bc Only record the same error or query once
PHP 8.2로 올라오면서 동일한 오류가 수백~수천 번 반복되어
디버그 데이터가 너무 많은 메모리를 차지하는 문제가 종종 발생하고 있음.

동일한 위치에서 발생한 동일한 오류나 쿼리는 한 번만 기록하고
count를 증가시키도록 하여, 불필요한 메모리 사용을 줄이고
반복되는 오류나 쿼리를 쉽게 찾을 수 있도록 개선함.
2023-04-30 23:56:54 +09:00
Kijin Sung
5a6adb5c05 Remove remaining targetie reference 2022-12-28 00:51:12 +09:00
Kijin Sung
9e9adcdb43 Remove support for targetie attribute on assets 2022-12-28 00:35:57 +09:00
Kijin Sung
cad4f37485 Reorder debug entries for easy viewing 2022-12-20 10:13:00 +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
064f321c74 Delete unnecessary "error -1" in query error info 2022-09-21 16:26:25 +09:00
Kijin Sung
7e82d37cfa Fix PHP warnings due to unitiated variables #1866 thanks to @Erictoby 2022-02-04 01:41:56 +09:00
Kijin Sung
263dc79090 Use https in AJAX URL if site is accessed over https
https를 사용하지 않는 것으로 설정되어 있더라도 실제로 https로 접속했다면
https를 사용하는 것으로 간주하고, AJAX URL을 https로 생성하도록 합니다.

기대되는 효과:

1. 설정이 잘못되어서 로그인이 되지 않거나 AJAX 요청에 실패할 가능성 제거
2. https 접속이 가능한 사이트라면 최대한 https를 사용하도록 유도
2021-09-13 01:10:36 +09:00
conory
faea821e78 Fix warning in PHP 8.0 2021-07-05 14:19:06 +09:00
Kijin Sung
2c81be51c3 Fix #1704 detect color scheme as early as possible 2021-06-20 02:10:08 +09:00
Kijin Sung
e877b87664 Remove ssl_actions and add rewrite_level to inline JS 2021-01-20 23:55:09 +09:00
Kijin Sung
64baf4e8e3 Remove ssl_actions and add rewrite_level to inline JS 2021-01-20 23:53:58 +09:00
BJRambo
234ad09867 Fix #1460 current_url 값이 ture으로 출력되는 문제 고침 2020-11-11 01:31:50 +09:00
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
191cd50c70 Merge branch 'develop' into next 2020-09-07 20:33:04 +09:00
Kijin Sung
36135c0fac Always print the viewport meta tag #1389 2020-09-04 20:21:59 +09:00
Kijin Sung
ffe9cda5e0 Merge branch 'develop' into next 2020-08-29 23:53:31 +09:00
Kijin Sung
82bf017f01 Fix #1389 improve handling of viewport meta tag
- viewport 설정에 빈 값을 저장한 경우 메타 태그를 출력하지 않음
- 단, 아예 설정이 없는 경우(XE 또는 구버전에서 업그레이드한 경우)에는 예외
2020-08-27 21:15:11 +09:00
Kijin Sung
c588d02a22 Remove deprecated xeVid JS variable 2020-07-03 00:54:20 +09:00
Kijin Sung
67dfb3c282 Remove optional SSL 2020-07-03 00:41:59 +09:00
Kijin Sung
f304283fd5 Fix #1249 hide waiting message from crawlers 2020-03-19 00:20:34 +09:00
Kijin Sung
030f27d488 Fix #1228 #1243 thanks to @nemo9l 2020-02-14 16:27:10 +09:00
conory
40e35a9451 add rhymix_alert 2019-12-26 21:04:09 +09:00
Kijin Sung
7b9fe8f7f2 Revert "Fix var_export() not working for stdClass in PHP < 7.3"
This reverts commit 3f7f802585.
2018-12-13 18:59:27 +09:00
Kijin Sung
3f7f802585 Fix var_export() not working for stdClass in PHP < 7.3 2018-12-13 15:22:11 +09:00
Kijin Sung
aac678de48 Explicitly declare noescape 2018-10-10 13:08:24 +09:00