bnu
1943289bb8
fix #2185 게시판 카테고리 및 메뉴 관리가 동작하지 않을 수 있는 문제 고침
2017-12-09 01:50:02 +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
84e5542d77
Remove unnecessary use of BaseObject
...
- 트리거 등 반환값이 필요하지 않은 곳에서 new BaseObject()를 반환하는 것 삭제
- 모듈 설치, 업데이트 후 무의미한 new BaseObject()를 반환하는 것 삭제
- 사용자에게 에러 메시지를 돌려주는 용도로 new BaseObject(-1, '에러메시지')를
사용하는 경우는 대부분 $this->setError()로 변경함. 언어 변환과 sprintf()
처리까지 한 번에 이루어지므로 이쪽이 더 편리함.
2017-12-01 00:54:51 +09:00
Kijin Sung
03d74a984f
Merge branch 'develop' into pr/change-object
2017-11-30 23:30:21 +09:00
Kijin Sung
04fbcdd514
Fixed single quotes in category XML output
2017-11-30 23:03:45 +09:00
Kijin Sung
e48179aa05
다국어 등 코드를 생성하여 만들어지는 cache 파일의 취약점 수정
...
- 관리자 메뉴, 사용자 지정 다국어 cache를 object cache로 변경
- xpressengine/xe-core#2182
2017-11-30 22:50:36 +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
6d6acd5c9e
Clean up some comments and line spacing
2017-11-25 19:05:24 +09:00
Kijin Sung
509b403eff
Allow member info to be customized by trigger
...
문서나 댓글을 작성하거나 수정할 때 트리거에서 회원 정보를 조작할 수
있도록 허용함. $obj->manual_member_info = true 로 바꾸어 반환하면
글쓴이의 정보가 현재 로그인한 사용자나 최초 작성시 정보로 덮어씌워지지
않고 트리거에서 지정한 그대로 남음.
기존에도 $manual_inserted 를 사용하면 이런 기능을 구현할 수 있었으나,
이 변수는 트리거에서 조작할 수 없으며 다른 체크도 모두 건너뛰는 등
여러 가지 불편이 있어서 이렇게 일부 정보만 변경하도록 허용하는 새 방법을
제공함. 익명 게시판 등을 좀더 편리하게 개발할 수 있을 것으로 예상됨.
2017-11-24 23:42:28 +09:00
bnu
3ee3d63cb7
fix #2142 onclick이 사용된 새 창 열기를 target 속성으로 변경
...
- 통합검색 모듈 misol_town 스킨도 마찬가지로 수정
2017-09-11 18:21:16 +09:00
conory
35646700fe
converter() 로 변경 및 개선
2017-07-14 16:17:26 +09:00
conory
820c725d69
convertHTML() 로 변경
2017-07-13 11:15:12 +09:00
conory
da0ad3bd39
에디터 모듈에 HTML 허용 설정 추가
...
회원 모듈에도 no html 서명을 위한 옵션 추가
2017-07-13 00:46:28 +09:00
Kijin Sung
96738bd97d
Clear extravar cache if document is deleted
2017-07-03 13:06:24 +09:00
Kijin Sung
1dcac98662
Clear local document cache if document is deleted
2017-07-03 10:41:08 +09:00
Kijin Sung
24ab7dba9e
Fix erroneous identification of nohtml config
2017-06-29 19:39:18 +09:00
Kijin Sung
1d2368f105
Do not allow HTML content if editor config says nohtml
2017-06-29 19:23:39 +09:00
Kijin Sung
67e02824e3
Use is_html_content() in document and comment modules
2017-06-29 19:08:53 +09:00
conory
163524f6b0
코드 형태 변경
2017-06-03 17:11:44 +09:00
conory
937cbf58f0
procDocumentTempSave, procBoardInsertDocument 코드 정리
...
- procDocumentTempSave
아무나 제목 굵기, 색상을 적용할 수 있는 문제 수정
게시판 제한 설정을 우회하여 게시물을 수정할 수 있는 문제 수정
- procBoardInsertDocument
게시물을 비공개(PRIVATE)로 전환할 수 있는 문제 수정 (글쓰기 포인트 획득용으로 악용 방지)
익명 이름에서 '$DOCNUM'가 제대로 작동하지 않는 문제 수정
임시 문서를 게시할 경우 게시판 제한 설정에 걸려 게시가 안될 수 있는 문제 수정
2017-06-03 14:13:34 +09:00
conory
aaaf385ce0
temp document로 수정할 수 있는 문제 수정
...
status에 아무거나 입력할 수 없도록 개선
2017-06-02 14:45:41 +09:00
Kijin Sung
d3db01aae0
Add option to control updating the document's last-updated timestamp when a comment is posted
2017-05-07 21:37:37 +09:00
Kijin Sung
856544a058
Fix typo in DocumentController::makeCategoryFile()
2017-04-15 21:46:38 +09:00
Kijin Sung
387dd1f78b
Fix #741 do not allow empty HTML content in document and comment
2017-03-06 10:50:06 +09:00
Kijin Sung
39be19ae5c
Fix error when deleting selected documents
2017-03-03 14:00:21 +09:00
Kijin Sung
9389b96f95
Revert "글쓴이에게는 무조건 세션 권한 부여"
...
This reverts commit 2840740286 .
2017-03-03 00:57:41 +09:00
conory
2840740286
글쓴이에게는 무조건 세션 권한 부여
...
비회원 글쓰기 후 본문 페이지에서 비밀번호 인증을 받아야 하기 때문에 매우 번거로움.
2017-03-03 00:36:04 +09:00
Kijin Sung
9143493f13
Restrict addGrant() to current request only
2017-03-02 23:24:28 +09:00
Kijin Sung
1bd32d8d71
Fix unauthorized manipulation of documents via procDocumentManageCheckedDocument
...
xpressengine/xe-core#2044
2017-03-02 00:05:06 +09:00
Kijin Sung
dc84dd1310
Fix unauthorized config manipulation in document and comment modules
...
Reported by @conory
2017-03-01 23:35:12 +09:00
Kijin Sung
3f0cf4f9b7
Clear empty directories when deleting files or thumbnails
2017-01-26 18:09:56 +09:00
conory
fcc484eeb7
신고 트리거에 신고 메세지 추가
2017-01-23 17:30:14 +09:00
conory
5511df2352
익명 관련 코드 정리
2017-01-17 20:06:29 +09:00
BJRambo
a495a1cecb
Check the success db input.
2017-01-17 07:51:45 +09:00
BJRambo
2150fc26cf
Add option to non login vote
2017-01-17 07:48:31 +09:00
BJRambo
884ecbd02e
improve dont sign in user also can vote
2017-01-14 14:45:56 +09:00
BJRambo
4c7ce6a380
Add a list of vote user
2017-01-07 17:10:55 +09:00
Kijin Sung
b0ad6b3027
Fix #632 inconsistent application of view count option
2016-11-08 22:17:31 +09:00
BJRambo
81f9727fd9
Fix permissions problems when move to the trash.
2016-10-01 17:54:44 +09:00
sejin7940
09cf929d91
Update document.controller.php
2016-09-25 14:33:08 +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
c227d188a7
Fix multiple queries for document/comment vote count
2016-04-24 19:50:22 +09:00
Kijin Sung
26c5a18a5b
Use simpler syntax for cache groups
2016-04-18 20:50:51 +09:00
Kijin Sung
2e98962264
Update references to CacheHandler in document module
2016-04-18 01:42:33 +09:00
Kijin Sung
c8c66c363d
Fix HTML filtering when an administrator updates a document
2016-03-22 15:07:55 +09:00
Kijin Sung
37bce0343d
Update core classes to refer to UA class for robot detection
2016-03-19 23:32:35 +09:00
BJRambo
9c653d210b
added a column for administrators.
2016-03-14 09:41:34 +09:00
bnu
c7dca3008a
fix #1868 임시저장 글을 불러와 등록 시 익명 설정임에도 작성자의 정보가 입력/노출되는 문제 고침
...
Conflicts:
modules/board/board.controller.php
modules/document/document.controller.php
2016-03-08 19:58:41 +09:00