Commit graph

16301 commits

Author SHA1 Message Date
Kijin Sung
d6428bb71d Add index hint to ncenterlite.getNotifyList query 2018-01-04 12:08:05 +09:00
Kijin Sung
e0d7ae3641 Fix fatal error when using index hint with mysqli, mysqli_innodb, etc. 2018-01-04 12:07:45 +09:00
Kijin Sung
ba1942a65d Fix incorrect handling of secret comments in commentItem::isAccessible()
Regression #961

댓글은 비밀 여부를 status 필드가 아니라 is_secret 필드로 표시함.
문서 모듈 쪽의 코드를 그대로 복붙하여 발생한 오류로 보임.
2017-12-27 14:17:38 +09:00
Kijin Sung
17bec44046 Hide option to allow duplicate nickname 2017-12-21 15:39:38 +09:00
Kijin Sung
7a0172b559 Do not display duplicate nickname warning if duplicate is allowed 2017-12-21 15:39:23 +09:00
Kijin Sung
3e1d223962 Allow programs to determine whether a member has points without calling isExistsPoint() and getPoint() separately
포인트 정보가 아예 없는 경우와 0포인트가 있는 경우를 구분하기 위해
isExistsPoint()와 getPoint()를 각각 호출하지 않아도 되도록
getPoint()에 3번째 인자 $exists를 추가함
2017-12-21 15:24:55 +09:00
Kijin Sung
01ee23b7d9 Fix JS error when either url1 or url2 is undefined in isSameOrigin() 2017-12-21 15:16:16 +09:00
Kijin Sung
bc17e4b2d5 Add option to allow duplicate nicknames 2017-12-21 15:11:13 +09:00
Kijin Sung
98b328fa3f Add index for nick_name in documents and comments table 2017-12-21 14:50:02 +09:00
Kijin Sung
ae4fd85bfe Add option to empty the contents of the cache dir, not delete it
files/cache 폴더에 다른 파티션이나 램디스크 등이 마운트되어 있는 경우
캐시파일 재생성시 폴더를 삭제할 수 없어 오작동하는 문제를 우회하기 위해
폴더 자체를 삭제하지 않고 내용만 비우는 옵션을 추가함.
2017-12-21 14:39:39 +09:00
Kijin Sung
b6aac0beac Use 'equal' not 'like' for searches on user_id, user_name, nick_name
user_id, user_name, nick_name 검색에는 like가 아닌 equal 조건을 사용하도록 변경함.

이름이나 닉네임으로 검색할 때 LIKE %검색어% 문법이 사용되어
검색 속도가 느려지는 것은 물론, 특정 회원의 작성글 보기 메뉴를 클릭하면
검색어가 포함된 닉네임을 가진 다른 회원의 글까지 모두 표시되어
닉네임을 변경했거나 다중아이디를 사용하는 것으로 오해받는 문제를 수정함.
(예: '라이믹스' 닉네임을 검색하면 '라이믹스최고' 회원의 글도 검색되었음)
2017-12-21 14:06:46 +09:00
Kijin Sung
28a2398e91 Fix null value in some circumstances in insertNotify() 2017-12-21 00:27:02 +09:00
Kijin Sung
b9074335aa Fix inconsistent document & comment vote handling in ncenterlite 2017-12-21 00:20:14 +09:00
Kijin Sung
42a57421f1 Fix check for DB connection in ModuleHandler 2017-12-21 00:19:51 +09:00
Kijin Sung
2f3f1d4be0 Use object cache for member point
오브젝트 캐시 사용시 회원 포인트를 캐시에 저장하도록 변경하여
불필요한 캐시 파일이 다량으로 생성되는 것을 방지함.
2017-12-19 23:53:30 +09:00
Kijin Sung
4b0a2c512e Do not cache nonexistent member info
존재하지 않는 회원 정보가 캐싱되는 문제 수정
2017-12-19 23:34:44 +09:00
Kijin Sung
92d8f17482 Fix caching of nonexistent documents
존재하지 않는 문서가 캐싱되어 버려서
나중에 해당 문서가 존재하게 되어도 불러올 수 없는 문제를 수정함
GPL/LGPL 듀얼 라이선스로 XE에서도 적용할 수 있도록 허용함
2017-12-19 23:30:11 +09:00
Kijin Sung
455e39cbba Fix unnecessary reloading of user lang 2017-12-19 12:00:50 +09:00
Kijin Sung
d3b78d1d47 Fix unnecessary cache file refresh in menu module 2017-12-19 12:00:19 +09:00
Kijin Sung
40adc7f6dc Fix unnecessary query from point level icon addon 2017-12-19 12:00:00 +09:00
BJRambo
3fbcc3da9a Delete unuse class call at login. 2017-12-18 16:16:53 +09:00
Kijin Sung
7099e30372 Fix isSameOrigin() 2017-12-18 15:14:44 +09:00
CONORY
8fe6528e4a
Merge pull request #961 from conory/pr/isAccessible
comment, document 모듈의 권한 정리
2017-12-14 12:02:33 +09:00
conory
f93ad9c0f6 코드 정리 2017-12-13 21:10:46 +09:00
conory
48c818d7de 잘못된 지정 수정 2017-12-12 14:30:27 +09:00
conory
f8ac11bda6 isAccessible()로 통일 2017-12-12 13:23:45 +09:00
conory
81986c40a9 document의 isAccessible() 개선 2017-12-12 13:21:37 +09:00
conory
6bc8376435 isAccessible() 개선 2017-12-12 13:10:15 +09:00
Kijin Sung
be3e3cd4cb Fix integration search exclusions not being applied
통합검색에서 제외한 모듈 설정이 무시되고 권한에 따라서만 표시되는 문제 수정
2017-12-11 00:22:50 +09:00
Kijin Sung
1280f6a0a0 Fix allow_no_category being overwritten on module config change 2017-12-11 00:11:52 +09:00
Kijin Sung
1a234070ca Fix content style radio buttons 2017-12-09 03:18:18 +09:00
Kijin Sung
a8a3c3ef0f Save comment content style 2017-12-09 03:15:57 +09:00
Kijin Sung
6eca39fd98 Version 1.9.2 2017-12-09 03:08:43 +09:00
Kijin Sung
fc5e60f4ce Version 1.9.1 2017-12-09 03:08:19 +09:00
Kijin Sung
d7a3e1bc26 Fix unit tests that don't work in PHP 7.2 2017-12-09 03:00:51 +09:00
Kijin Sung
3feaf36c23 Adjust unit tests to accommodate new template parser behavior 2017-12-09 02:55:01 +09:00
Kijin Sung
e3a2c1a6aa Guard more count() calls in common framework classes 2017-12-09 02:49:01 +09:00
Kijin Sung
3dbc600aa9 Suppress warnings thrown by count() in template parser 2017-12-09 02:39:14 +09:00
Kijin Sung
2158c4fa3b Remove unnecessary count() calls in MediaFilter 2017-12-09 02:32:40 +09:00
Kijin Sung
2d6bde8f8c Guard some count() calls with is_array() in install module 2017-12-09 02:23:22 +09:00
Kijin Sung
ebcf19b9ec Fix #958 missing option for comment content style 2017-12-09 02:19:23 +09:00
Kijin Sung
a7d222184d Fix #959 incorrect escape of layout configuration 2017-12-09 02:10:47 +09:00
bnu
1943289bb8 fix #2185 게시판 카테고리 및 메뉴 관리가 동작하지 않을 수 있는 문제 고침 2017-12-09 01:50:02 +09:00
Kijin Sung
0b44e47d65 Remove unnecessary cache clearing in Direct module installer
라이믹스 내장 함수를 사용하여 직접 파일을 복사하는 경우
opcache와 stat cache가 자동으로 비워지므로 별도로 호출할 필요가 없음
2017-12-09 01:44:09 +09:00
bnu
849201a2b6 #2189 쉬운 설치 후 복제된 파일들에 대한 status cache 및 opcache 제거 2017-12-09 01:41:58 +09:00
Kijin Sung
0023a9cc1a Cache opcache status to reduce function_exists() calls 2017-12-09 01:40:04 +09:00
Kijin Sung
b25ce87ae5 Import new XE functions clearStatCache() and invalidateOpcache()
xpressengine/xe-core 23ec7b7

라이믹스는 Storage 클래스에서 파일을 쓸 때마다 opcache와 stat cache를
자동으로 비워주고 있으므로 이런 조치가 필요하지 않으나,
XE와의 호환성을 위해 동일한 함수를 제공함. 사용을 권장하지 않음.
2017-12-09 01:38:46 +09:00
Kijin Sung
cfe5ae01d3 Allow converter to be used even when manually inserted
익명게시판에서는 댓글 작성시 $manual_inserted = true로 설정되기 때문에
converter가 작동하지 않음. 이런 경우에도 allow_html, use_html 등의
변수가 지정된 경우 converter를 사용하도록 변경하여
에디터를 지원하지 않는 모바일 스킨과의 호환성을 높임.
2017-12-07 14:43:54 +09:00
Kijin Sung
78a8bd362d Fix invalid CSS when title color starts with #
칼라피커를 어떤 것을 사용하는지에 따라 색상 앞에 #가 붙어 들어올 때가 있음
이런 경우 문법에 맞지 않는 ##xxxxxx 결과가 나오지 않도록 패치
2017-12-07 14:41:52 +09:00
bnu
89e4936fb1 Context::convertEncoding() charset 목록 정리 2017-12-07 12:55:50 +09:00