Commit graph

87 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
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
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
48e4746f7d Automatically exclude deleted groups from point/level/group integration 2016-07-22 16:11:25 +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
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
qw5414
a56954684a 포인트 지급 방식 변경, 댓글 수정 허용 관련 문제점 개선 2016-02-09 02:11:29 +09:00
qw5414
d641e2cc0e 트리거를 사용하여 포인트를 회수할 수 있도록 개선. 2016-01-22 19:41:51 +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
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
9e678a8da9 Update point.controller.php 2015-02-17 14:53:49 +09:00
akasima
3fb8847d58 #1038 point에 의해 글을 읽을 수 없을 때 트리거에서 에러 리턴 2015-01-12 19:53:38 +09:00
sejin7940
717ab0a8ab Update point.controller.php 2014-08-30 20:48:12 +09:00
BJRambo
eec20ea827 PHP 5.4 reduce error of Create default object. 2014-06-22 22:10:44 +09:00
YJSoft
31a85815eb point 모듈 php 5.4 호환성 개선 2014-04-14 14:59:50 +09:00
bnu
5809256d32 #385 member_groups, member_info cache를 point모듈에서 불필요하게 갱신하지 않도록 개선 2014-01-31 02:07:59 +09:00
bnu
77efe4870e Revert "NOISSUE point 모듈에서 modulePartConfig 변수를 잘못 사용하는 문제 수정."
This reverts commit b75386bc42.
2014-01-09 17:50:57 +09:00
bnu
b75386bc42 NOISSUE point 모듈에서 modulePartConfig 변수를 잘못 사용하는 문제 수정. 2014-01-09 15:19:26 +09:00
bnu
cfe021d2ce #242 member_info 캐시는 file cache에서 제외. 2014-01-09 01:20:37 +09:00
bnu
37c5e114ec #242 object cache 정리 2014-01-08 13:38:24 +09:00
bnu
21ccd7f0d3 #242 자주 사용되는 데이터를 file cache를 이용하도록 개선. 2014-01-08 13:38:23 +09:00
bnu
194ce8614a NOISSUE remove reference operator. 2013-12-30 17:35:02 +09:00
bnu
57687c15bc fixed #27 pointController:setPoint()에 트리거 추가. 2013-11-19 22:30:41 +09: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
misol
f70ce644ce Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-25 15:29:32 +00:00
flyskyko
8a7c28babc issue 2119. supporting php 5.4. modules and widgets.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12706 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-05 09:45:04 +00:00
ovclas
580222822a issue 2662 point
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12256 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-19 10:11:58 +00:00
devjin
1884886277 issue 2478 delete cache when setting point
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11488 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-25 02:06:44 +00:00
flyskyko
9ac0e5bc99 issue 2449, changed a message
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11470 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-24 08:36:28 +00:00
devjin
8108ae0071 issue 2488 reset all group (include default group).
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11450 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-24 02:40:34 +00:00
ovclas
8d0778b601 issue 2311 copy additional setting when module is copied.
And skin vars also.


git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11116 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-29 09:58:53 +00:00
ovclas
e3376c3c3a issue 26 Document status change with config.
old version coding with hard coding


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8448 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-03 08:51:55 +00:00
ovclas
8b4d2a5079 #17 Document temp status check is wrong.
when Document update with old status only if the temp, pay point


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8432 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 04:41:01 +00:00
ovclas
ff38c9abde #17 debug ouput variables delete
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8428 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 01:09:29 +00:00