Commit graph

137 commits

Author SHA1 Message Date
Kijin Sung
e676949669 Allow users to edit existing documents, even if they belong in categories they don't have permission to write in anymore 2025-10-24 17:51:33 +09:00
Kijin Sung
629c2ab73a Don't generate warning if admin_mail setting does not exist 2025-09-04 22:00:20 +09:00
Kijin Sung
eba7b75c3a Fix undefined values and other warnings 2025-06-01 18:45:46 +09:00
Kijin Sung
702eebaa92 Fix undefined values in various modules 2025-06-01 17:58:00 +09:00
Kijin Sung
936e1931c0 Ensure that all board config variables are available on all config screens #2433 2025-06-01 17:32:07 +09:00
Kijin Sung
1be734edc1 Clean up procBoardRevertDocument #2515 2025-03-25 19:46:50 +09:00
Kijin Sung
939c5d8160 Fix no admin mail if author is anonymous
https://xetown.com/questions/1858634
2025-02-13 21:43:55 +09:00
Kijin Sung
2f0ec84cc2 General cleanup of nonstandard syntax in board module classes 2024-12-10 23:02:42 +09:00
Kijin Sung
1a489a3f1c Add option to restrict excessively large data: URLs in inline images, enabled by default, 64KB by default 2024-10-09 16:13:17 +09:00
Kijin Sung
1e30de7ce5 Redirect to short URL after deleting document or comment 2024-05-09 02:05:55 +09:00
Kijin Sung
1d36b3e77a Redirect to document URL with category if, and only if, the write page was loaded with a category and the document was saved to the same category #2346 2024-05-09 02:02:07 +09:00
Kijin Sung
84bbd60895 Support hexadecimal digits in the random component of anonymous name 2024-05-03 23:42:23 +09:00
Kijin Sung
7c8e76b727 Fix list_order and update_order not bumped when updating a temporarily saved document (2.1.5 regression)
https://xetown.com/questions/1814863
2024-03-19 22:45:44 +09:00
Kijin Sung
78f7942e40 Pass procBoardVoteDocument() to procDocumentVoteUp(), not updateVotedCount()
오래된 액션인 procBoardVoteDocument()를 직접 호출할 경우,
라이믹스에서 새로 추가된 추천 관련 설정들이 적용되지 않는 문제 수정
2023-10-02 23:46:24 +09:00
Kijin Sung
ad7e0b0c93 Clean up outdated way of referring to other classes from Board module' 2023-10-02 23:36:07 +09:00
Kijin Sung
f7ed3519ac Fix anonymous info not being preserved when updating a temporarily saved document 2023-10-02 23:29:52 +09:00
Kijin Sung
f9e48fc85c Tentative fix for RVE-2023-3 and RVE-2023-4 2023-09-08 23:43:12 +09:00
Kijin Sung
fde3609f70 Fix #2164 untranslated error message "categoryneeded" 2023-08-12 22:09:08 +09:00
Kijin Sung
73c60b1297 Fix #2119 being allowed to set 0 as category_srl 2023-06-19 21:55:24 +09:00
Kijin Sung
b562df8959 Fix capitalization of class names in Board module 2023-06-19 13:49:20 +09:00
Kijin Sung
51a910a310 Fix #2117: don't allow adding comments to secret posts
- 비밀글이나 비밀댓글에 댓글이나 대댓글을 달 수 없도록 변경
- 댓글 작성을 시도중인 글이 부모댓글의 document_srl과 일치하는지 확인
- 문서 체크를 본문 내용 검증보다 먼저 수행
2023-05-21 19:51:41 +09:00
Kijin Sung
c5267b42fd Remove trailing whitespace 2023-01-30 21:37:41 +09:00
Kijin Sung
39093a7380 Fix #2004 allow customizing the number of digits in an anonymous nickname variable 2022-10-30 21:16:58 +09:00
dewekk
c3dcc29c77
글 작성 또는 임시 문서 수정 때만 익명 정보 생성
Fix https://github.com/rhymix/rhymix/issues/1990
2022-10-11 17:17:34 +09:00
Kijin Sung
7c963d0ac3 Prevent updating module_srl in procBoardInsertDocument 2022-08-02 08:27:54 +09:00
Johnny
96a65c01fc 86783b0270 보완 document의 정보를 따라 module_srl 을 수정 2022-06-29 19:13:41 +09:00
Johnny
86783b0270 Fix #1964 통합게시판 사용시 댓글 포인트 지급 오류 고침 2022-06-27 13:24:58 +09:00
Kijin Sung
9e67b5b010 Determine administrator status more accurately #1851 2022-02-07 21:43:14 +09:00
Kijin Sung
024c69390d #1851 보완 2022-02-07 21:31:42 +09:00
Ji Yong, Kim
75978c77fe #1838 관리자 계정의 익명 적용여부 설정 제공 2022-01-12 07:06:15 +09:00
Kijin Sung
3925c24487 Add option to disable admin content protection
최고관리자의 글을 게시판 관리자가 수정/삭제하지 못하도록 하는 기능은
게시판을 위키 등 협업 용도로 사용하는 경우 불편을 유발할 수 있으므로
옵션으로 켜고 끌 수 있도록 합니다. 기본값은 수정/삭제 금지입니다.
2021-12-30 23:55:10 +09:00
Kijin Sung
97f28141ae Fix #1827 unnecessary use of $is_admin when getting document or comment 2021-11-26 02:07:08 +09:00
Kijin Sung
4fe083b3c7 Fix #1625 failure to preserve comment with children when parent is moved to trash 2021-02-22 22:00:41 +09:00
Kijin Sung
f8859769e8 Clean up ModuleController::replaceDefinedLangCode() 2021-01-08 21:27:44 +09:00
Kijin Sung
ba971f7b5a Implement loading documents from other modules 2020-10-29 01:04:46 +09:00
Kijin Sung
818897fed4 Merge branch 'develop' into next 2020-08-03 14:04:20 +09:00
Kijin Sung
5571a16619 Fix #1373 add classname to popup menu items 2020-08-03 14:01:18 +09:00
Kijin Sung
0f469baae8 Merge branch 'develop' into next 2020-07-31 15:36:40 +09:00
Kijin Sung
4c9f2ec3a1 Fix #769 #1359 remove problematic characters in board module 2020-07-31 15:03:24 +09:00
Kijin Sung
5047c39bcf Merge branch 'develop' into next 2020-07-03 16:27:26 +09:00
Kijin Sung
8681923f3e 글, 댓글 삭제시 권한 체크 강화
김경욱님이 제보해 주신 버그를 수정합니다.
2020-07-03 16:03:36 +09:00
Kijin Sung
da73eb7427 Use static method calls and consistent permission checks throughout the Board module 2020-07-03 15:47:52 +09:00
Kijin Sung
f5f2cd99e0 Fix #1269 use proper translation for browser title 2020-04-16 17:38:38 +09:00
Kijin Sung
63daede292 Redirect to URL with comment_srl after writing a new comment 2019-09-14 20:14:13 +09:00
Kijin Sung
08964804be Use more granular exceptions and error messages in important modules 2018-09-06 10:11:05 +09:00
Kijin Sung
fe4e336f2b Add 3 special exception classes for common situations 2018-08-27 00:21:21 +09:00
Kijin Sung
1863edcbb8 Update some modules to throw exceptions instead of BaseObject 2018-08-27 00:03:12 +09:00
conory
eb17819ce0 게시판의 '작성 글 보기' 에서 닉네임과 상관없이 항상 해당 회원의 게시물만 출력될 수 있도록 개선
('작성 글 보기' 이용시 다른 회원의 게시물도 출력될 수 있는 문제 수정)
2018-04-06 00:17:46 +09:00
Kijin Sung
adb93006b4 Add option to limit the size of documents and comments
지나치게 용량이 큰 글을 등록하여 서버 과부하나 트래픽을 유발하는 경우가 있음.
예: ㅋㅋㅋ를 1000만 번쯤 복사해서 넣는다거나...

이런 문제를 막기 위해 게시판에서 글과 댓글의 용량을 제한할 수 있도록 함.
지저분한 태그가 많이 붙은 HTML 콘텐츠을 복붙하는 경우에 대비하여
기본값은 글 1024KB, 댓글 128KB로 여유있게 책정하였으며
사이트 특성에 따라 줄이면 됨.
2018-03-07 15:51:36 +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