Kijin Sung
06e736178b
Support sending all _rx_* POST fields as HTTP headers instead
...
하위호환성, 부가기능 등을 위한 _rx_* POST 필드가 점점 많아짐에 따라
모두 헤더로 대체할 수 있도록 지원하고, 앞으로 점점 헤더로 바꿀 예정
CSRF 토큰은 예전부터 X-CSRF-Token 헤더를 지원했음
2023-08-27 23:32:31 +09:00
Kijin Sung
42d09bde65
Provide a single entry point for all command-line scripts
...
Core example:
php index.php common.clean_empty_dirs
-> executes common/scripts/clean_empty_dirs.php
Third-party example:
php index.php module_name.script_name
-> executes modules/module_name/scripts/script_name.php
This should be the preferred method of executing PHP scripts included with
any third-party module, because it ensures that the working environment is
correct. For example, it will set the current working directory to Rhymix root,
check that the UID matches the usual web user, include all core libraries and
initialize the Context properly.
Over time, we will expand the command-line functionality similar to
the 'artisan' command in Laravel.
2023-08-16 23:12:25 +09:00
Kijin Sung
ed424f031e
Capitalization
2023-08-16 22:45:48 +09:00
Kijin Sung
3241354872
Support customizing the default (base) class and install class of a module
2023-08-11 22:09:26 +09:00
Kijin Sung
7502b7308b
Support custom namespaces in ModuleHandler and related processes
2023-08-11 21:56:42 +09:00
Kijin Sung
60a3edc994
Remove session keys, and always set httpOnly
2023-07-22 19:53:51 +09:00
Kijin Sung
959503b6ec
Clean up references to deprecated DB methods in other places
2023-06-19 15:24:27 +09:00
Kijin Sung
f596947d0e
Add option to make pages available only on one domain
...
- 2021년에 next 브랜치 적용을 목표로 작업했던 것 가져옴
- modules 테이블에 domain_srl을 추가하여 특정 도메인에서만 유효하도록 설정 가능
- site_srl 변수를 사용하던 곳 중 삭제할 수 있는 곳은 모두 삭제함
2023-06-18 02:53:04 +09:00
Kijin Sung
22abeb7a88
Fix fatal error if logged_info is not an object at this stage
2023-06-10 21:11:54 +09:00
Kijin Sung
9815102b38
Mark Context::convertEncodingStr() and related methods as deprecated
...
https://xetown.com/questions/1759076
2023-04-30 22:58:45 +09:00
Kijin Sung
875e5d1c2c
Fix #2098 create an instance of MessageMobile class instead of MessageView if user is mobile
2023-04-02 15:40:57 +09:00
Kijin Sung
87a34af69e
Fix #2072 redirect to proper URL if a document with is_notice=A is requested without mid
2023-03-23 22:44:51 +09:00
Kijin Sung
dfa1e93c79
Remove unnecessary header and footer from class files
...
- 아래에 이미 author 언급이 있으므로 중복되는 저작권 표기는 제거
- 클래스 하단에 불필요한 end of file 표시 제거 (파일 하나에 클래스 하나씩이므로
파일이 중간에 끊겼다면 클래스가 닫히지 않아 쉽게 알 수 있음)
2023-01-30 23:52:23 +09:00
Kijin Sung
c881e73c1d
Remove trailing whitespace in legacy class files
2023-01-17 21:07:55 +09:00
Kijin Sung
6c844f91ef
Always set XE_VALIDATOR_ID and related variables
2023-01-17 00:15:00 +09:00
Kijin Sung
c07efe7905
Fix deprecation notices in PHP 8.2 #2064
2023-01-16 21:24:59 +09:00
Kijin Sung
a95ef14b8d
Fix backward compatibility with admin module
2022-12-27 11:06:28 +09:00
Kijin Sung
117ae626b9
Fix #2041 don't replace lang codes in member menu until module init
2022-12-15 23:45:19 +09:00
Kijin Sung
b83c5c4b2c
Remove unnecessary unset()
2022-12-15 23:37:35 +09:00
Kijin Sung
fd421c86fc
Add more error codes in critical code paths in Context and ModuleHandler
2022-10-13 00:34:23 +09:00
Kijin Sung
e4e252c1b4
Add more detailed ERR_* error codes to common error messages
...
가장 많이 발생하는 '잘못된 요청입니다', '보안정책상 허용되지 않습니다'
오류에 좀더 구체적인 ERR_* 코드를 추가하여 디버깅 편의 개선
2022-10-13 00:23:20 +09:00
Kijin Sung
83e4b763ce
Merge branch 'security/document-module-check' into develop
2022-08-16 08:55:44 +09:00
Kijin Sung
fa64ad3600
Fix RVE-2022-4 missing check for document module
2022-08-02 08:27:32 +09:00
Johnny
6a47800917
관리자 페이지에서 사이트의 컬러 설정이 안먹는 문제 고침
2022-07-26 07:54:49 +09:00
Kijin Sung
b91fb3ee7a
Fix error when using a namespaced module with forwarded action from another module
2022-03-15 16:42:06 +09:00
Kijin Sung
4ac3d91ef0
Set $kind = 'admin' if class name of action contains 'admin'
2021-12-31 00:26:13 +09:00
Kijin Sung
abacd82a6c
Fix error when namespaced module (empty type) is used with forwarded action (e.g. file upload)
2021-12-20 16:22:28 +09:00
Kijin Sung
51173863c1
Support calling namespaced class in trigger
2021-12-13 15:21:42 +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
7367ad2645
Support HTTP status codes 301, 302, 303, 307, 308 when setting redirect URL
2021-08-13 15:55:56 +09:00
Chanyoung Oh
d3ee5083f0
Change ModuleHandler to update value of is_mobile when calling Mobile::setMobile ( #1746 )
2021-07-16 10:00:57 +09:00
conory
faea821e78
Fix warning in PHP 8.0
2021-07-05 14:19:06 +09:00
Kijin Sung
32621dd34e
Return a more descriptive error when module class is not found
2021-04-26 15:42:30 +09:00
Kijin Sung
4a34b3dfa8
Accommodate standalone=auto setting in other relevant places
2021-04-20 21:52:06 +09:00
Kijin Sung
62d9befb0d
Support custom classes in module.xml
2021-04-12 21:03:03 +09:00
Kijin Sung
45efb781ea
Fix REQUEST_METHOD checking not working for class types that aren't controller
...
controller 타입이 아닌 액션에서는 method를 제한하더라도 적용되지 않는 문제 수정
2021-04-12 20:43:40 +09:00
Kijin Sung
b27617c854
Fix warning in PHP 8.0
2021-04-10 21:13:13 +09:00
Kijin Sung
b3725443c5
Fix body class not being set when in auto mode ( #1558 regression)
2021-03-29 20:19:48 +09:00
Kijin Sung
0e9c234bc5
Clean up color scheme detection code #1570
2021-01-20 21:15:20 +09:00
Kijin Sung
c18e0a7225
\#1558 보완
...
- 설정값 명칭을 기존에 사용하던 쿠키값과 동일하게 auto, light, dark로 통일하여 혼동을 방지합니다.
- 지나치게 긴 설명문보다는 옵션 명칭 자체가 충분히 의미를 전달할 수 있도록 합니다.
- 설명문을 길게 써야 할 경우 매뉴얼에 넣어 주세요.
- 설정을 변경하지 않고 저장할 경우, 자동 감지를 기본값으로 합니다.
2021-01-11 00:28:22 +09:00
Min-Soo Kim
899fe00dda
관리자가 모든 모듈의 다크모드 설정을 제어하도록 합니다. ( #1558 )
...
* 관리자가 다크모드 작동 여부를 선택할 수 있도록 수정
2021-01-10 22:21:13 +09:00
Kijin Sung
f8859769e8
Clean up ModuleController::replaceDefinedLangCode()
2021-01-08 21:27:44 +09:00
Kijin Sung
1a204d8c52
Completely disable Debug logging if it is not enabled for the current user
...
관리자 또는 특정 IP에서만 디버그 기능을 사용하도록 설정된 경우,
그 밖의 요청에서는 어떤 에러메시지, 쿼리, 트리거 소요시간 등의 기록도
디버그 클래스에 저장하지 않도록 변경합니다.
워닝이 많이 발생하는 PHP 8.0에서는 20~30%의 성능 개선 효과가 있습니다.
2021-01-07 02:51:43 +09:00
Kijin Sung
9d75690e2d
Fix #1489 , fix #1491 incorrect routing to standalone index act
2020-12-16 21:19:15 +09:00
Kijin Sung
49923844b2
Various fixes to remove warnings in PHP 8.0
2020-12-15 00:18:42 +09:00
Kijin Sung
417e4d15b0
More fixes to improve PHP 8.0 compatibility
2020-10-31 00:40:28 +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
ba971f7b5a
Implement loading documents from other modules
2020-10-29 01:04:46 +09:00
Kijin Sung
9752c2ed61
Fix #1432 incorrect redirect in widget document edit popup
2020-10-21 23:57:37 +09:00
Kijin Sung
c9230360cc
Preseve mid when reading notice-all document from other module
2020-10-02 11:08:03 +09:00