Commit graph

17185 commits

Author SHA1 Message Date
Kijin Sung
d9f16f888b Convert most methods in MemberModel to static 2020-05-21 23:21:17 +09:00
Kijin Sung
40db6ceb73 Convert most methods in ModuleModel to static 2020-05-21 22:53:55 +09:00
Kijin Sung
3c3c8f6712 Merge branch 'develop' into next 2020-05-21 21:00:08 +09:00
Kijin Sung
a5f7d25b32 Fix Object::getObjectVars() 2020-05-21 21:00:01 +09:00
Kijin Sung
953faecd55 Detect AJAX abort due to page unload #1280 2020-05-21 20:53:49 +09:00
Kijin Sung
4f1264dee5
Merge pull request #1292 from kijin/pr/object-cleanup
모듈 클래스 인스턴스를 직접 생성할 수 있도록 개선
2020-05-20 21:34:41 +09:00
Kijin Sung
766cd4b1d5 Fix .travis.yml warnings 2020-05-19 21:04:57 +09:00
Kijin Sung
a635546f39 Fix #1293 incorrect sender of message when managing documents 2020-05-19 21:00:55 +09:00
Kijin Sung
dc564a4a1a Update .travis.yml to reorder tests and remove unnecessary commands 2020-05-19 20:56:32 +09:00
Kijin Sung
37de1bc9ee Update .travis.yml to use xenial environment for PHP 7.4 2020-05-19 20:53:06 +09:00
Kijin Sung
14ad62e869 Fix incorrect use of curly braces in legacy classes 2020-05-19 20:52:44 +09:00
Kijin Sung
786c9c9b8c Replace some usages of getModel(), getController(), etc. in the Rhymix Framework 2020-05-18 21:51:36 +09:00
Kijin Sung
052930a6d4 Replace some usages of getModel(), getController(), etc. with getInstance() 2020-05-18 21:45:44 +09:00
Kijin Sung
6f9bfb0bac Remove unnecessary function calls 2020-05-18 21:26:57 +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
2cbfd4500c Remove error_return_url more efficiently 2020-05-18 19:54:05 +09:00
Kijin Sung
586f010f55 Allow passing an array of keys/values to getUrl()
getUrl()을 호출할 때 파라미터 이름과 파라미터 값을 풀어서 각각의 파라미터로
넘길 필요 없이, 하나의 연관배열로 넘길 수 있도록 허용합니다.

    $args = array(
        'mid' => $mid,
        'document_srl' => $document_srl,
    );

    getUrl($args);

이 문법을 사용하면 맨 앞에 빈 문자열을 넘겼을 때와 마찬가지로 기존의 URL
파라미터들은 모두 초기화됩니다. 즉 아래와 동일한 효과입니다.

    getUrl('', 'mid', $mid, 'document_srl', $document_srl);

기존의 URL 파라미터들을 남겨놓으려면 기존 방식대로 풀어서 써야 합니다.
2020-05-18 19:41:06 +09:00
Kijin Sung
3430e21be4 Fix unnecessary query when there are no polls 2020-05-18 19:12:06 +09:00
Kijin Sung
cd58305fc1 v1.9.9.7 Pensacola 2020-05-17 21:51:08 +09:00
Kijin Sung
12f603feee Fix #1288 support meta keywords and description per domain 2020-05-17 21:38:37 +09:00
Kijin Sung
94ae4ccebe Add disclaimer about download count being incremented
https://xetown.com/questions/1402724
2020-05-17 21:25:49 +09:00
Kijin Sung
b5fc7b9ab2 Fix #1285 #1286 prevent change of status of deleted comments 2020-05-17 21:14:59 +09:00
Kijin Sung
b36675aeba Fix #1285 status displayed as 'undefined' in comment management popup 2020-05-17 20:53:17 +09:00
Kijin Sung
fab11bfd39 Fix #1285 display comment status properly in list 2020-05-17 20:46:14 +09:00
Kijin Sung
f1c15ab1e1 Fix #1283 do not show comments on secret documents in integration search 2020-05-17 20:06:27 +09:00
Kijin Sung
49a1c52913 Fix error in integration search when exclusion list is empty 2020-05-17 19:52:31 +09:00
Kijin Sung
bd94b6915e Fix cache select box displaying 'apc' if no config exists 2020-05-17 00:26:17 +09:00
BJRambo
ab712585d3 Fix #1290 기존 스킨의 호환성을 위한 메소드 추가 2020-05-16 02:01:59 +09:00
BJRambo
2b6d6b9925 Fix #1290 함수명을 일괄성있게 고침 2020-05-15 16:06:01 +09:00
Kijin Sung
7c7727f8d1 Remove DB version check
PHP 7.0 이상 호스팅에서 MySQL 5.0 미만을 사용하는 사례는 사실상 전무하므로
불필요한 문제를 일으키는 DB 버전 체크 과정을 제거함.

cf. rhymix/rhymix-docs#3
2020-05-10 21:18:34 +09:00
BJRambo
cf0bd0140b Fix #1287 쪽지수신여부 설정시 캐싱을 하지 않던 문제 고침 2020-05-05 23:57:02 +09:00
Kijin Sung
9ca361ab45
Merge pull request #1284 from nemo9l/fix/strict-for-blank
Fix #1281
2020-05-04 09:35:10 +09:00
Ji Yong, Kim
9966a4eedd Fix #1281 2020-05-04 08:29:20 +09:00
Kijin Sung
098a02a008 Fix #1275 add layout (before) trigger point 2020-04-27 22:46:52 +09:00
Kijin Sung
ae36419ee7 Remove temporary fix for session domain
2020년 3월 한때 develop 브랜치에서 세션 도메인이 잘못 지정되었던 문제를
우회하기 위해 삽입했던 임시 코드를 삭제 또는 주석처리함.

문제가 있던 당시에 develop 브랜치로 업데이트했던 일부 사이트 외에는
필요하지 않은 코드이므로, master 머지를 앞두고 제거함.

참고: #1264
2020-04-21 22:49:02 +09:00
Kijin Sung
04bb0493c7 Implement SameSite cookie policy
- 세션 쿠키, 세션 보안키 등에 SameSite 속성을 적용할 수 있는 기능 추가
  (시스템 설정 -> 보안 설정)
- 일반적인 사이트는 Lax를 권장함, PG사 연동 오류 등의 경우 None 사용
- None 사용시 크롬 80부터는 SSL 전용 세션으로 지정해야 함
- Rhymix\Framework\Session에서 쿠키 관련 루틴들 정리
- PHP 7.3 이상, 7.2 이하 버전으로 나누어 처리
2020-04-21 22:39:10 +09:00
Kijin Sung
e33d8569bc Fix doChangeLangType() redirecting to main page when short URL is used
https://xetown.com/questions/1381097
2020-04-18 10:23:54 +09:00
Kijin Sung
4bac63f387 Add option to control custom notification channels 2020-04-16 19:51:10 +09:00
Kijin Sung
ebe455e824 Add ncenterliteController->sendNotification() method
임의의 회원에게 임의의 메시지를 쉽게 보낼 수 있는 메소드 추가
쪽지 보내는 것처럼 간단하게 사용할 수 있음
2020-04-16 19:46:13 +09:00
Kijin Sung
b193ad73e3 Fix #1274 check chunked uploads after all chunks are ready 2020-04-16 18:17:04 +09:00
Kijin Sung
2284fb7128 Remove excess dots from filenames #1251 2020-04-16 17:46:39 +09:00
Kijin Sung
f5f2cd99e0 Fix #1269 use proper translation for browser title 2020-04-16 17:38:38 +09:00
Kijin Sung
16b6b69276 Fix #1269 use browser title, not mid, in new comment notification 2020-04-16 17:34:41 +09:00
Kijin Sung
aa120f7f6d Fix #1273 최고관리자가 자신의 권한을 박탈하거나 차단할 수 없도록 변경 2020-04-16 17:18:50 +09:00
BJRambo
67e4da30d9 알림 숨기기 항목에 설정된 값으로 해당 모듈에서 알림이 발생되지 않도록 개선 2020-04-13 21:37:46 +09:00
BJRambo
a2a8e99ef1 지식인 모듈 지원 종료 2020-04-13 21:34:59 +09:00
Kijin Sung
6774767f6f Fix setCookie() in JS not respecting zero expires
https://xetown.com/questions/1377668
2020-04-12 14:41:48 +09:00
Kijin Sung
351cd825cf Fix incorrect flattening of extravar value
- https://xetown.com/questions/1375456
- xpressengine/xe-core#1659
- xpressengine/xe-core#1661
2020-04-08 23:35:37 +09:00