Commit graph

103 commits

Author SHA1 Message Date
Kijin Sung
0ef85632c1 Allow module update even if moduleUpdate() method does not exist 2023-08-11 00:40:13 +09:00
Kijin Sung
acc1117d26 Register event handlers and custom namespaces defined in module.xml 2023-08-11 00:16:57 +09:00
Kijin Sung
37b0d3a1e6 Remove trailing whitespace 2023-01-30 21:43:21 +09:00
Kijin Sung
f334889047 Support installing/updating namespaced modules
모듈 설치 및 업데이트 메소드를 Rhymix\Modules\모듈명\Install 클래스에
넣을 수 있도록 지원한다. 이 클래스가 있는 경우 모듈명과 동일한 클래스를
찾지 않는다. 이로써 클래스 전체를 네임스페이스화할 수 있게 되었다.
2022-01-04 01:37:38 +09:00
Kijin Sung
67dfb3c282 Remove optional SSL 2020-07-03 00:41:59 +09:00
Kijin Sung
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Kijin Sung
f92fc9c980 Use action_forward to register standalone routes from all modules 2020-06-17 16:56:42 +09:00
Kijin Sung
c09d2a773d Merge branch 'develop' into pr/member-phone-number 2019-07-27 23:47:24 +09:00
Kijin Sung
fe4e336f2b Add 3 special exception classes for common situations 2018-08-27 00:21:21 +09:00
Kijin Sung
1863edcbb8 Update some modules to throw exceptions instead of BaseObject 2018-08-27 00:03:12 +09:00
Kijin Sung
625c3b741f Merge branch 'develop' into pr/member-phone-number 2018-07-06 09:15:52 +09:00
Kijin Sung
0396d32ae5 Improve module update notification
- 모듈 업데이트 후 "success"라고만 뜨는 문제를 수정
- 반드시 필요한 "모듈 업데이트"를 "새 버전 설치"로 오해하여 피하는 일이 없도록
  "설정 완료"라는 표현을 사용하고 설명을 추가함
- 새 버전이 있을 경우 현재 버전과 새 버전을 함께 표시하고, 모듈 업데이트와
  혼동하지 않도록 "자료실"에 등록된 새 버전 알림이라는 설명을 추가함
2017-12-03 23:03:21 +09:00
Kijin Sung
8909abeb29 Fix syntax error after merge 2017-12-01 02:08:38 +09:00
Kijin Sung
8f64e7c6b9 Merge branch 'develop' into pr/member-phone-number 2017-12-01 02:04:09 +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
1803883e1d 코드가 new Object으로만 작성된 코드에 대해서도 동일하게 BaseObject 호출하도록 추가. 2017-11-28 20:07:08 +09:00
BJRambo
f3f40f6859 php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경 2017-11-28 20:01:28 +09:00
Kijin Sung
e707f9fa93 Close session before module update and reopen after update
모듈 업데이트에 오랜 시간이 걸리는 경우 세션이 잠겨버려서
다른 페이지까지 먹통이 되어 버리는 문제를 방지함
2017-10-13 18:22:05 +09:00
Kijin Sung
0432e20dfc Remove 'set as homepage' link from menu configuration screen 2017-06-27 20:08:08 +09:00
Kijin Sung
9aa4e244c2 Remove safe_mode condition from admin and install modules 2016-07-03 18:00:14 +09:00
Kijin Sung
673cd48db0 Reorganize general configuration in admin module 2016-02-04 14:43:18 +09:00
Kijin Sung
9da3653fcd Replace idna_convert with PHP native functions and true/punycode 2016-01-13 15:46:41 +09:00
Kijin Sung
3b9a9c0f7a Rename cache_friendly option to delay_session 2016-01-11 14:52:41 +09:00
Kijin Sung
da1822d296 Add option to minify only common (core) files 2016-01-10 17:02:26 +09:00
Kijin Sung
bfaa2c170b Make minify option configurable by the site administrator 2016-01-07 15:33:35 +09:00
Kijin Sung
1c5424358d Add option to enable/disable cache-friendly behavior 2015-07-12 14:50:59 +09:00
MinSoo Kim
d2b05732ab fix for Not-Alphabet URL
https://github.com/xpressengine/xe-core/issues/634

# Internet Explorer send punycode URL(ASCII) URL and non-alphabet
Unicode URL URL as a referer. 인터넷 익스플로러는 리퍼러 주소로 퓨니코드 주소와 유니코드 URL을 섞어
쓰고 있습니다. AJAX 통신에는 리퍼러로 Unicode를 사용하고 요청 호스트로는 퓨니코드 URL을 사용(이건 다국어 주소
형식으로 접속하려면 이렇게 했어야 할 것)합니다.
- XE strictly compare referer and server host for denying CSRF, but
punycode URL and Unicode URL should be dealt as a same one. 그런데 XE는 리퍼러의
호스트와 서버 호스트를 비교합니다. punycode로 쓰인 주소와 Unicode로 쓰인 주소는 같은 주소를 지시하더라도 문자열이
다릅니다. 같은 주소를 지칭하는 다른 문자열을 punycode로 변환해서 같은 주소라고 인식할 수 있게 수정했습니다.
- Fix checkCSRF function to deal both form as a same one.
- Convert Unicode URL input to punycode URL on the Admin Default URL
Settings. 관리자가 유니코드 형식으로 기본 주소를 입력하더라도, 퓨니코드로 변환해 저장하도록 했습니다. 퓨니코드로 저장하는
것이 여러모로 유용하기 때문입니다.
- For converting punycode URL, include IDNA coverting class. 퓨니코드와 유니코드
간 변환을 위해서 IDNA 변환 클래스(LGPL사용권)를 포함시켰습니다.
2015-01-01 01:35:32 +09:00
upgle
1f1c1f8ccc #713 파비콘 가상사이트 대응 2014-07-03 16:35:21 +09:00
akasima
3c191b8373 #772 favicon mime type 을 x-icon 지원 하도록 수정, favicon 크기 검사 안하도록 수정 2014-06-04 23:13:38 +09:00
조성수
cd4a3a786a 모바일 홈 화면 아이콘 등록 실패 문제 해결. 이전 코드로 교체하였음. 2014-05-17 21:22:04 +09:00
조성수
f26c961226 favicon 등록 실패 문제 해결. ico 파일을 올리게 되면 type 으로 image/vnd.microsoft.icon 가 설정되기 때문에 .ico 가 아닌 .icon 으로 해야한다. 2014-05-17 20:59:52 +09:00
upgle
7b53f24435 파비콘이 가상 사이트에 대응하도록 개선
파비콘 저장시
files/attach/xeicon/{가상사이트srl}/favicon.ico
와 같이 저장하도록 개선

이전 버전과 호환을 위해 기본 사이트의 경우 files/attach/xeicon/favicon.ico 와 같이 기존 주소를 그대로
이용하도록 처리.
2014-05-14 16:18:53 +05:45
upgle
59067047d1 파비콘이 업로드 되지 않는 이슈 해결
정규식 검사에서 업로드된 file의 타입을 검사함으로서 파일이 등록되지 않는 이슈.

정상적인 ico 파일 업로드시 '*.ico 파일만 업로드 가능합니다.' 라는 오류 출력

tmp file의 'name'을 검사하도록 변경하여 이슈 해결
2014-05-14 16:15:39 +05:45
ngleader
98de6e921f #695 fixed file extension filters 2014-05-10 08:02:29 +09:00
bnu
0eab5285b0 NOISSUE 관리자 IP 대역 입력 시 접속자의 IP를 반드시 추가하도록 개선 2014-02-03 13:45:29 +09:00
SMaker
3d9f4557f6 install 모듈 오류 수정 2014-01-28 11:07:35 +09:00
bnu
194ce8614a NOISSUE remove reference operator. 2013-12-30 17:35:02 +09:00
akasima
c7095449b8 #151 #153 mod db.config.php setting file 2013-12-09 18:21:07 +09:00
osh
e755fd1c73 #153 mod config admin_ip_list 2013-12-09 17:38:53 +09:00
osh
1c6f229ce7 #153 mod config set admin_ip_list 2013-12-09 16:47:58 +09:00
khongchi
8a7e5a8794 Merge branch 'feature/ipfilter' into develop 2013-12-05 10:40:11 +09:00
bnu
41ff8ace3b NOISSUE PHP 5.4 이상 호환성 개선. 2013-11-30 18:05:36 +09:00
khongchi
5fae27d53c isCrawler, 관리자페이지 IP잠금, 사이트잠금 기능에서 ipfilter를 사용하도록 변경 2013-11-29 19:24:07 +09:00
bnu
932862be1f #64 서버 내 경로를 절대경로로 변경 2013-11-23 11:59:49 +09:00
bnu
63e0fd6f3b #51 preg_match()를 substr_compare() 또는 strncmp()로 대체 2013-11-22 13:00:56 +09:00
khongchi
540da2c75c #85, time()을 $_SERVER['REQUEST_TIME']으로 대체 2013-11-21 16:14:13 +09:00
khongchi
d9f001266c issue 3644, php5대응 file_put_contents 함수 적용
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13199 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-12 02:17:35 +00:00
khongchi
3581db5932 remove cdn feature
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13187 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 06:04:28 +00:00
akasima
bce0a0b6d4 copyright add to php files
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00:00
ngleader
dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00