Commit graph

510 commits

Author SHA1 Message Date
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
438386f3dc Fix #1430 path conversion error in Windows 2020-10-19 13:36:14 +09:00
Kijin Sung
c9230360cc Preseve mid when reading notice-all document from other module 2020-10-02 11:08:03 +09:00
Kijin Sung
fea468f895 Don't redirect to another mid if a document is notice-all 2020-10-02 01:54:52 +09:00
Kijin Sung
7770069dae Fix 404 response when reading a document 2020-08-31 10:49:27 +09:00
Kijin Sung
5f8ceafdf6 Merge branch 'develop' into next 2020-07-11 11:48:41 +09:00
Kijin Sung
c3c57e582c Fix #1348 apply xpressengine/xe-core#2148 2020-07-10 02:05:53 +09:00
Kijin Sung
9372ee4cce Change some internal methods to protected in ModuleHandler 2020-06-18 21:20:23 +09:00
Kijin Sung
99f36f56a6 Change unnecessary ModuleModel instance method calls to static calls in ModuleObject 2020-06-18 21:08:16 +09:00
Kijin Sung
41e02eb89a General cleanup of ModuleHandler init() 2020-06-18 21:04:44 +09:00
Kijin Sung
85fcc79457 Reorganize data exchange format between Context and Router 2020-06-18 20:06:59 +09:00
Kijin Sung
5fa72f8629 Add 404 error handler and update permission data structure 2020-06-18 14:13:23 +09:00
Kijin Sung
e20c06bf00 Replace $_GET in ModuleHandler with router results 2020-06-18 13:48:41 +09:00
Kijin Sung
6286fd3397 Display 404 error if a route cannot be found 2020-06-18 13:25:16 +09:00
Kijin Sung
31c38c03a9 Cleanup unnecessary module instances in ModuleHandler 2020-06-17 22:40:01 +09:00
Kijin Sung
85c2f87f13 Move some security measures from ModuleHandler to Context 2020-06-17 22:31:22 +09:00
Kijin Sung
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Kijin Sung
052930a6d4 Replace some usages of getModel(), getController(), etc. with getInstance() 2020-05-18 21:45:44 +09:00
Kijin Sung
abedfbb55c Implement getInstance() for module classes 2020-05-18 21:20:38 +09:00
Kijin Sung
fda343afd1 Set $this->user only once 2020-05-18 20:41:57 +09:00
Kijin Sung
564563f56c Clean up constructors and other method signatures 2020-05-18 20:37:16 +09:00
Kijin Sung
12f603feee Fix #1288 support meta keywords and description per domain 2020-05-17 21:38:37 +09:00
Kijin Sung
339fd234a5 Show where an Exception was thrown or error object was returned
- 관리자에게만 표시함
  - 오류 화면을 표시하는 방식에 따라서는 표시되지 않을 수 있음
  - 코어 내부에서 발생하는 오류는 표시되지 않을 수 있음
  - message 모듈 스킨에 의존함
2020-03-19 00:58:30 +09:00
conory
3efc2a6b13 _rx_ajax_form 파라미터로 폼 제출 종류를 구분할 수 있도록 변경 2019-12-30 11:51:16 +09:00
conory
085b74b7db rx_ajax 사용시 XE_VALIDATOR_MESSAGE 대신 rhymix_alert만 표시
일관성 유지
2019-12-29 18:55:43 +09:00
conory
9e6005ccbc form rx_ajax 사용시 XE_VALIDATOR_MESSAGE 세션을 이용한 메세지 표시가 되지 않는 문제 수정 2019-12-25 23:01:37 +09:00
Kijin Sung
4ed6445d9b Adjust order of error message and redirect when using rx_ajax 2019-12-03 13:41:38 +09:00
Kijin Sung
9c10fa56bb Change order of redirect and error message 2019-10-10 15:08:40 +09:00
Kijin Sung
69611520c3 Support submitting arbitrary forms by AJAX or IFRAME 2019-10-10 01:56:38 +09:00
conory
0a97a0de53 모듈 기본 스킨을 셋팅하는 코드 정리
init()에서 setTemplatePath(...)하는 모듈에서 사이트 기본 스킨을 사용할 경우 '/USE_DEFAULT/' 그대로 유지되어 템플릿 경로 오류가 발생하는 문제 수정
불필요한 코드 제거
2019-01-11 11:13:48 +09:00
Kijin Sung
17568e0cc7 Fix #1102 don't display menu if none is selected 2018-12-13 21:17:40 +09:00
Kijin Sung
f8b0ca6a78 Improve granularity of Context security check
정규식에 따라 모두 막을지, 관리자만 허용할지 구분할 수 있도록 하고
이를 참조하여 <script> 태그는 관리자만 허용, PHP 태그는 모두 막도록 변경.
2018-10-13 16:42:19 +09:00
Kijin Sung
7d318c3122 Fix #1100 member skin being overwritten by mid defaults 2018-10-11 20:27:28 +09:00
Kijin Sung
11858c0b13 Fix #985 improve responsive skin support
- 모바일에서 반응형 스킨 사용을 기본값으로 지정한 경우
  - 사이트 디자인 설정 화면에서 /USE_RESPONSIVE/가 노출되는 문제 수정
  - 신규 생성한 게시판에서 모바일 스킨을 찾지 못하는 문제 수정

- 게시판 모듈에서 스킨 처리하는 루틴을 ModuleObject로 이관하여
  모든 모듈에서 혜택을 볼 수 있도록 함

- 반응형 스킨이 기본값으로 지정된 경우, 아무 것도 지정되지 않은 경우,
  기본값으로 지정된 스킨이 삭제된 경우 등 다양한 상황에 대처

- TODO: 회원 모듈, 커뮤니케이션 모듈 등에서 자체 스킨을 들여오는 방식 재검토
2018-10-10 23:07:48 +09:00
Kijin Sung
c3f1e24b02 Ensure more consistent operation of security checks
- 수상한 파일이 업로드되었을 때 isSuccessInit = false로 지정
- isSuccessInit = false인 경우 무조건 에러메시지 출력 (xpressengine/xe-core#2304)
- 보안정책 관련 에러메시지는 msg_security_violation으로 통일
2018-10-10 16:27:23 +09:00
bnu
71651c0542 검색엔진 수집이 불필요한 페이지에 대한 robots 메타 태그 추가
xpressengine/xe-core#2293 patch by @bnu
2018-10-02 22:50:05 +09:00
Kijin Sung
9b6e88bc33 Add try...catch to trigger functions 2018-09-06 19:44:25 +09:00
Kijin Sung
10c8d11785 Add FeatureDisabled and SecurityViolation exception classes 2018-09-06 10:00:47 +09:00
Kijin Sung
5b7ce90a3d Also catch exceptions in init() method of module instances 2018-09-06 00:19:27 +09:00
Kijin Sung
f6fa7493f6 Catch Rhymix\Framework\Exception in module act and triggers 2018-08-26 23:46:13 +09:00
conory
9e59a6d839 페이지 편집 페이지에서 '모듈 설정 화면' 설정과는 상관없이 무조건 사용자 레이아웃 적용
레이아웃마다 너비가 모두 다르므로 관리자 레이아웃 적용시 정확도가 엄청 떨어짐
2018-08-14 15:20:00 +09:00
Kijin Sung
6f447df66c Add option to view module config screen in admin layout
모듈 설정 화면을 관리자 레이아웃으로 보는 기능을 옵션으로 만들어 복원함
최근 수정된 관리자 레이아웃 디자인을 여기에도 적용
2018-08-14 12:41:30 +09:00
Kijin Sung
4ca3bdccc6 Display module settings in own layout
Partially revert 8d718c0
2018-08-14 11:11:58 +09:00
conory
8d718c0ae8 mid=board&act=dispBoardAdminBoardInfo등 모듈 관리자페이지에서 디자인이 깨지는 문제 수정 2018-08-08 11:56:46 +09:00
conory
bacca5d025 getActionForward() 에서 값이 없을 경우 빈 리턴을 하도록 개선
rss 모듈의 action forward가 등록되지 않는 문제 수정 (기존 서드파티에도 같은 문제가 발생될 것 같아 이렇게 수정함)
2018-06-21 16:13:03 +09:00