Commit graph

323 commits

Author SHA1 Message Date
Kijin Sung
2f3f1d4be0 Use object cache for member point
오브젝트 캐시 사용시 회원 포인트를 캐시에 저장하도록 변경하여
불필요한 캐시 파일이 다량으로 생성되는 것을 방지함.
2017-12-19 23:53:30 +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
conory
fc6206ab75 module.xml 3차 정리
action에 permission 속성을 부여하는 방식으로 변경
board, page 모듈 action에  grant 퍼미션 설정
2017-04-08 15:50:06 +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
bnu
ada67465cf 내장 모듈의 act에 대한 퍼미션 정리 2017-03-06 14:06:04 +09:00
Kijin Sung
87648f49d4 Fix point for attached files when updating document 2017-03-02 18:03:14 +09:00
Kijin Sung
dafbfadc93 Add option to keep existing group when point is reduced #610 2017-03-02 17:47:50 +09:00
Kijin Sung
9791808b87 General cleanup of trigger handling in point.class.php 2017-03-02 17:13:27 +09:00
Kijin Sung
33d36f7a51 General cleanup of point.model.php 2017-03-02 16:56:19 +09:00
Kijin Sung
e370ba680f Improve shared caching and invalidation of member points 2017-03-02 16:52:33 +09:00
Kijin Sung
5b22b0399c Fix double-deduction of comment points on document deletion 2017-03-02 16:45:15 +09:00
Kijin Sung
0d2db40e02 Don't double-subtract points when deleting document or comment with attached files 2017-03-02 16:35:35 +09:00
Kijin Sung
da2be81260 Add and subtract points for comment attachments 2017-03-02 16:30:57 +09:00
Kijin Sung
590b11aa23 Refactor all remaining triggers in Point module 2017-03-02 16:09:38 +09:00
Kijin Sung
0b71f425ed Cache module config in point triggers 2017-03-02 15:03:45 +09:00
Kijin Sung
d4136f9081 Refactor triggerInsertMember() and triggerAfterLogin() 2017-03-02 14:57:43 +09:00
Kijin Sung
d4ccf4222d Refactor triggerUpdateVotedCount() 2017-03-02 14:15:04 +09:00
Kijin Sung
c86c3a16de Implement _getModulePointConfig() and clean up read/download triggers 2017-03-02 13:11:21 +09:00
Kijin Sung
4ddf8cf91f Fix #735 downloading files without points
- 포인트 부족시 다운로드를 금지하더라도 비회원에게 적용되지 않는 문제 해결
- 비회원이 첨부한 파일을 비회원이 다운로드하는 경우 적용되지 않는 문제 해결
- 해당 트리거 구조개선 및 주석 수정
2017-03-02 11:43:56 +09:00
Kijin Sung
f3871e5cd3 Fix exposure of other members' point and level info via getMembersPointInto API call 2017-02-25 23:35:52 +09:00
Kijin Sung
1577955664 Reapply "Fix #2005 XEVE-16-008 XSS 방지 및 XSS를 통해 특정 명령을 실행할 수 있는 보안취약점 해결"
This reverts commit e9f9bec9ca.
2017-01-12 15:21:44 +09:00
Kijin Sung
e9f9bec9ca Revert "Fix #2005 XEVE-16-008 XSS 방지 및 XSS를 통해 특정 명령을 실행할 수 있는 보안취약점 해결"
This reverts commit 884c91a606.
2017-01-12 15:19:51 +09:00
bnu
884c91a606 Fix #2005 XEVE-16-008 XSS 방지 및 XSS를 통해 특정 명령을 실행할 수 있는 보안취약점 해결 2017-01-12 14:44:40 +09:00
Kijin Sung
48e4746f7d Automatically exclude deleted groups from point/level/group integration 2016-07-22 16:11:25 +09:00
Kijin Sung
1cd544fb95 Prevent deleted groups from being included in level integration 2016-07-21 14:38:10 +09:00
Kijin Sung
3c15bf4129 Replace file_put_contents() with safe alternative 2016-06-23 00:07:29 +09:00
BJRambo
508b6ed340 Fix uninitialized stdClass in rarely used method 2016-05-27 07:57:58 +09:00
Kijin Sung
eb895f76cd Do not rollback if an 'after' trigger returns error 2016-05-14 20:24:45 +09:00
conory
2aae1b788f isExistsPoint 에서는 캐시를 사용하지않도록 변경
https://www.xetown.com/contact/269865
2016-04-29 16:29:17 +09:00
Kijin Sung
3b8db58954 Merge branch 'develop' into pr/cache-refactor
Conflicts:
	modules/ncenterlite/ncenterlite.controller.php
2016-04-23 11:25:32 +09:00
Kijin Sung
9e78008fe6 Fix #450 error when adding point with '+10' syntax 2016-04-18 14:27:44 +09:00
Kijin Sung
2f234dfad1 Update references to CacheHandler in several modules 2016-04-18 00:55:29 +09:00
conory
90400e2b5f 모두 lang() 함수로 변경 2016-03-06 17:01:15 +09:00
conory
9f9fa6e653 #327 언어파일 정리 2016-03-03 18:19:44 +09:00
Kijin Sung
eb84b57658 Fix #248 missing index.html in manual link 2016-02-11 15:31:51 +09:00
qw5414
a56954684a 포인트 지급 방식 변경, 댓글 수정 허용 관련 문제점 개선 2016-02-09 02:11:29 +09:00
Kijin Sung
615416ab7f Convert all module lang files from XML to PHP 2016-01-31 16:01:17 +09:00
conory
0a89dffa5a XE표기를 Rhymix로 변경 2016-01-25 18:10:15 +09:00
qw5414
d641e2cc0e 트리거를 사용하여 포인트를 회수할 수 있도록 개선. 2016-01-22 19:41:51 +09:00
Kijin Sung
b4a2a52cfa Move old install/admin manual to subdirectory 2016-01-13 20:16:30 +09:00
conory
234afdb8e3 쓸모없어진 chak 기능제거 2016-01-02 19:58:29 +09:00
Kijin Sung
a22e69b7ec Merge branch 'develop' of https://github.com/xpressengine/xe-core (1.8.14)
Conflicts:
	classes/context/Context.class.php
	modules/point/tpl/config.html
2015-12-02 14:38:23 +09:00
bnu
9984d123ee forum chak 추가 2015-11-09 15:39:32 +09:00
Kijin Sung
e0cf434908 Merge #1694 fix #1662 임시 저장글을 삭제할 때에는 포인트 증감 처리를 하지 않도록 수정 by YJSoft
* pr/1694:
  fix #1662 임시 저장글을 삭제할 때에는 포인트 증감 처리를 하지 않도록 수정
2015-10-08 15:08:37 +09:00
Kijin Sung
fffd534542 Merge #1399 포인트 모듈에서 그룹연동 부분 설정 지워지지 않는 버그 수정 by sejin7940
* pr/1399:
  Update point.admin.controller.php
  Update point.admin.controller.php

Conflicts:
	modules/point/point.admin.controller.php
2015-10-08 14:15:40 +09:00
Kijin Sung
a215c41503 Merge #939 댓글에 대한 추천, 비추천시 증감할 포인트 별도 설정 기능 및 포인트 변동 구현 by sejin7940
* pr/939:
  Update point.admin.controller.php
  Update module_config.html
  Update point.view.php
  Update point.admin.controller.php
  Update point_module_config.html
  Update point.controller.php
  Update config.html
  Update point.class.php

Conflicts:
	modules/point/point.admin.controller.php
	modules/point/point.class.php
2015-10-08 14:05:57 +09:00
YJSoft
203d284a7a fix #1662 임시 저장글을 삭제할 때에는 포인트 증감 처리를 하지 않도록 수정
임시 저장글 작성시에는 포인트가 주어지지 않는데, 글 삭제시에는 임시 저장글 여부와 상관없이 포인트를 차감합니다.
이를 수정합니다.
2015-08-05 18:08:22 +09:00
sejin7940
af7dacf95d Update point.admin.controller.php 2015-04-13 05:02:50 +09:00