Min-Soo Kim
ecec361766
페이지 모듈의 주소 중 문서 번호가 들어간 경우 적절히 처리되도록 수정 ( #2019 )
...
https://github.com/rhymix/rhymix/issues/1983 관련
- 라이믹스의 짧은 주소 기능을 활용하는 경우, 숫자로 입력된 주소가 `act`로 인식되는 문제 수정 (짧은 주소 규칙을 모듈 xml에 정의)
- `article` 타입의 페이지인 경우, 문서 번호를 무시하도록 수정
- Page type이 article이 아니라면, 기존 주소 유지
- https://github.com/rhymix/rhymix/pull/2019#discussion_r1019876776 내용을 반영하여서 수정
- document srl을 일괄 삭제하면, 필요한 위젯이나 outside 페이지에서는 문제가 생길 수 있기 때문에 이를 반영함.
- `article` type의 페이지는 page 모듈에서 모든 권한을 가지고 통제할 수 있기 때문에 이 페이지의 경우는 `document_srl`으로 접속하는 경우 `mid`만을 남기고 주소에서 삭제
2022-11-17 19:40:12 +09:00
Kijin Sung
f78b28fadb
Merge pull request #1909 from dewekk/fix-page
...
위젯 페이지에서 괄호 등 GET/POST 불가 문제 수정
2022-06-09 21:04:37 +09:00
Kijin Sung
73b689be86
Fix #1912 various CSS typos
2022-04-25 02:13:20 +09:00
dewekk
9c0123ae66
위젯 페이지에서 괄호 등 GET/POST 불가 문제 수정
...
RVE-2022-2 보안 패치가 외부페이지 뿐만 아니라 위젯 페이지에도 적용되어
위젯으로 구현된 검색, 입력폼 등에서 일반적인 괄호를 못 쓰는 문제를 수정합니다.
2022-03-24 18:05:01 +09:00
Kijin Sung
5b195ce16e
Fix mobile external page path
2022-03-16 14:13:57 +09:00
Kijin Sung
9ce7593820
Fix error when loading external page in document root folder
2022-03-16 00:54:10 +09:00
Kijin Sung
63fa80db82
No need to fail hard if unable to write cache file at the end
2022-03-15 22:48:06 +09:00
Kijin Sung
def6166c8e
Clean up duplicate path definitions
2022-03-15 22:39:55 +09:00
Kijin Sung
e8eece5730
Enable PHP execution of external document if template parsing is enabled
2022-03-15 22:31:49 +09:00
Kijin Sung
09abdfa88a
Implement safe order of parsing template code and including as PHP
2022-03-15 22:29:07 +09:00
Kijin Sung
d13241ed7c
Parse external document as PHP and/or Rhymix template if configured
2022-03-15 21:30:36 +09:00
Kijin Sung
9edd52c328
Add option to control whether to execute external page as PHP and/or Rhymix template
2022-03-15 21:14:55 +09:00
Kijin Sung
0272c5d27a
Prevent '_getContent method is not exists' error when page info is improperly cached
2022-03-15 02:00:14 +09:00
Kijin Sung
d4a1be1ef0
Merge duplicate code paths in PageView and PageMobile classes
...
보안 체크가 한 곳에서 이루어지도록 중복되는 메소드 제거
2022-03-15 01:46:47 +09:00
Kijin Sung
9170d9444c
Throw SecurityViolation if anyone tries to exploit RVE-2022-2 with GET/POST vars
2022-03-15 01:36:13 +09:00
Kijin Sung
1ab9a2899b
Adjust cache paths to prevent loading old cache
2022-03-15 01:28:59 +09:00
Kijin Sung
0c1ee32073
Disable template compilation in external page content
2022-03-14 02:29:18 +09:00
Kijin Sung
a28a8e29e1
More cleanup
2022-03-14 02:17:16 +09:00
Kijin Sung
063d38487e
Clean up some dirty code in page.view.php
2022-03-14 02:11:57 +09:00
Kijin Sung
bff045f585
Fix #1665 external page not loaded in mobile if mobile page path is not set, contrary to documentation
2021-03-29 20:24:36 +09:00
BJRambo
9cac59095b
모바일 문서 페이지 접속시 PC와 동일한 스킨 사용시 템플릿 문서를 찾지 못하는 문제 고침
2021-02-06 12:32:29 +09:00
Kijin Sung
b0f66a36c5
Convert all instances of _XE_PATH_, __XE_VERSION__, etc. to Rhymix constants
...
_XE_PATH_ -> RX_BASEDIR
__XE_VERSION__ -> RX_VERSION
2020-12-18 15:21:23 +09:00
Kijin Sung
0b265cde21
Make all addons, modules, and widgets follow RX_VERSION
2020-12-18 00:20:33 +09:00
Kijin Sung
49923844b2
Various fixes to remove warnings in PHP 8.0
2020-12-15 00:18:42 +09:00
Kijin Sung
882a0c9a0f
Remove unnecessary assignment by reference
2020-10-03 01:43:31 +09:00
Kijin Sung
36a86adb37
Remove unnecessary CSS in mobile page #1416
2020-10-03 01:42:44 +09:00
nemo9l
8f86d84746
Fix typo
2020-02-13 14:00:51 +09:00
Kijin Sung
1c07b2e0d2
Fill upload_target_type as soon as parent document/comment/module is saved
2019-11-22 17:37:52 +09:00
conory
bf3a13b290
모듈 설정 화면을 관리자 레이아웃으로 사용할 경우 위젯 페이지 편집시 위젯 크기 레이어창이 깨지는 문제 수정
2019-01-11 23:43:07 +09:00
conory
f1b2dc6bd0
0a97a0de53 보충
...
모바일 페이지 오류 수정
2019-01-11 15:14:07 +09:00
conory
0a97a0de53
모듈 기본 스킨을 셋팅하는 코드 정리
...
init()에서 setTemplatePath(...)하는 모듈에서 사이트 기본 스킨을 사용할 경우 '/USE_DEFAULT/' 그대로 유지되어 템플릿 경로 오류가 발생하는 문제 수정
불필요한 코드 제거
2019-01-11 11:13:48 +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
e5ab366d91
Fix missing sprintf() in page module
2018-09-06 15:28:18 +09:00
Kijin Sung
d8a0773b97
Replace $this->stop() with proper exceptions
2018-09-06 00:19:47 +09:00
Kijin Sung
be1ce69073
Update more modules to throw exceptions
2018-09-05 23:12:08 +09:00
COMI
a32721b6e1
숨겨진 관리자 설정의 설명을 보이도록 변경함 ( #1072 )
...
@wincomi
* Update skin_config.html
* Update module_setup.html
* Update page_info.html
* Update config.html
* Update document_config.html
* Update module_grants.html
* Update skinsetting.html
* Update category_list.html
* Update module_grant_setup.html
2018-08-19 08:51:42 +09:00
conory
9e59a6d839
페이지 편집 페이지에서 '모듈 설정 화면' 설정과는 상관없이 무조건 사용자 레이아웃 적용
...
레이아웃마다 너비가 모두 다르므로 관리자 레이아웃 적용시 정확도가 엄청 떨어짐
2018-08-14 15:20:00 +09:00
Kijin Sung
431fc363a2
Fix #1048 unable to use $lang in outside file
2018-08-04 21:22:04 +09:00
Kijin Sung
f12cf74dda
Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
...
This reverts commit b1cb1f3f34 .
2018-08-04 20:56:24 +09:00
conory
b1cb1f3f34
다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
...
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지
CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +09:00
Kijin Sung
62895c945a
Fix #1035 in message module
2018-06-25 23:07:34 +09:00
Kijin Sung
fad9400793
Fix #1035 responsive mobile skin not recognized in page module
2018-05-30 22:31:59 +09:00
Kijin Sung
84e5542d77
Remove unnecessary use of BaseObject
...
- 트리거 등 반환값이 필요하지 않은 곳에서 new BaseObject()를 반환하는 것 삭제
- 모듈 설치, 업데이트 후 무의미한 new BaseObject()를 반환하는 것 삭제
- 사용자에게 에러 메시지를 돌려주는 용도로 new BaseObject(-1, '에러메시지')를
사용하는 경우는 대부분 $this->setError()로 변경함. 언어 변환과 sprintf()
처리까지 한 번에 이루어지므로 이쪽이 더 편리함.
2017-12-01 00:54:51 +09:00
BJRambo
f3f40f6859
php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경
2017-11-28 20:01:28 +09:00
Kijin Sung
460cfd5455
Eliminate unnecessary require_once in mobile classes
2017-11-21 18:09:23 +09:00
Kijin Sung
7357e02474
Fix page module configuration screen
2017-07-01 21:16:32 +09:00
conory
fc6206ab75
module.xml 3차 정리
...
action에 permission 속성을 부여하는 방식으로 변경
board, page 모듈 action에 grant 퍼미션 설정
2017-04-08 15:50:06 +09:00
conory
9713e99144
standalone 속성 적용으로 의도 되지 않은 부분 차단
2017-04-05 21:49:33 +09:00
conory
0dc3d92465
module.xml 2차 정리
...
act 를 세밀하게 검토한 후 합당한 퍼미션을 걸어둠
2017-04-05 16:18:18 +09:00
conory
fcb17fe9cf
module.xml 1차 정리
...
탭 정리
일부 permission, action 정리
2017-03-29 22:23:26 +09:00