Commit graph

476 commits

Author SHA1 Message Date
Kijin Sung
6486462b73 Fix #2245 don't change file state when moving document or comment to trash 2023-12-30 20:33:00 +09:00
Kijin Sung
6e4c428420 Fix title_bold and other flags not being unset when updated 2023-10-18 20:45:14 +09:00
Kijin Sung
cf079833c7 Preserve all other information when an admin updates guest post 2023-10-04 21:06:21 +09:00
Kijin Sung
8940dd92ef Clean up legacy class references in comment and document controllers 2023-10-02 21:55:30 +09:00
Kijin Sung
3c415e18d5 Fix #1204 #407 display more helpful error message when a post cannot be upvoted/downvoted/reported for whatever reason 2023-09-25 22:32:17 +09:00
Kijin Sung
33b2c79891 Fix 2056 add trigger before moving document/comment to trash 2023-09-22 02:07:53 +09:00
Kijin Sung
565cfad15f Clean up trash handling logic 2023-09-22 02:05:14 +09:00
Kijin Sung
26f923d64b Fix #2145 rename $is_admin to more descriptive variable name in some controller actions 2023-09-13 11:15:13 +09:00
Kijin Sung
28c4a9573c Also remove unnecessary parameters in procDocumentTempSave 2023-09-09 01:23:21 +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
ebcd6ceadd Fix return during transaction without rollback (fix #2163) 2023-08-08 23:41:28 +09:00
Kijin Sung
5a865fc4aa Fix #2141 add trash_srl to trigger objects 2023-07-05 22:29:51 +09:00
Kijin Sung
3215631dfc Move non-member voting, vote canceling, and report canceling options from Board module to Document & Comment modules 2023-07-05 22:27:17 +09:00
Kijin Sung
60ed013915 Add options to allow voting and reporting from the same IP as the author of a document or comment 2023-07-04 23:15:31 +09:00
Kijin Sung
b8465cc022 Clean up category handling code in DocumentController #2119 2023-06-19 21:54:30 +09:00
Kijin Sung
f34c27c26b Fix truncated password hash for documents and comments written by non-members, if member module is configured to use a hashing algorithm that produces more than 60 chars 2023-06-19 01:59:27 +09:00
Kijin Sung
c6523706f8 Fix #2088 display error if spam filter prevents temp save 2023-03-23 22:30:13 +09:00
Kijin Sung
c5267b42fd Remove trailing whitespace 2023-01-30 21:37:41 +09:00
Kijin Sung
0b5d9858a7 Fix deprecation warning 2022-12-27 23:11:40 +09:00
Kijin Sung
bc3502988e Fix incorrectly capitalized class names in document and comment modules 2022-12-27 23:09:25 +09:00
Kijin Sung
9d50286445 Clean up declaredDocumentCancel() 2022-12-18 00:17:05 +09:00
Kijin Sung
6c2ab78a4a Fix #1969 clear extra_vars cache before calling document.updateDocument/after trigger 2022-10-30 17:25:26 +09:00
Kijin Sung
24f49d441e Remove \n in comment, closes #1705 2022-10-11 01:38:36 +09:00
Kijin Sung
9bc69abe0b Fix #1999 missing rollback on query error during updateVotedCount 2022-10-11 01:09:05 +09:00
conory
582024daf4 Fix 99d16d84c3 2022-08-05 23:31:02 +09:00
conory
99d16d84c3 Fix potential vulnerabilities 2022-08-05 11:19:02 +09:00
Kijin Sung
418c2b9dfa Fix #1901 always delete thumbnail directory when deleting document or comment 2022-03-21 14:14:37 +09:00
Kijin Sung
031261469e Fix #1900 incorrect detection of non-member vote status 2022-03-16 10:20:15 +09:00
Kijin Sung
ba33e59897 Clean up code concerning multilang document support 2022-02-07 02:22:59 +09:00
Kijin Sung
a30647d988 Fix #1853 move non-BMP character encoding before multilang juggling 2022-02-07 02:15:50 +09:00
Kijin Sung
df1438ea04 Move XSS filtering before multilang juggling 2022-02-07 02:13:59 +09:00
Kijin Sung
5a95f0c3f3 Fix #1853 encode non-BMP characters in multilang document title and content 2022-02-07 02:10:21 +09:00
Kijin Sung
7e82d37cfa Fix PHP warnings due to unitiated variables #1866 thanks to @Erictoby 2022-02-04 01:41:56 +09:00
Kijin Sung
3925c24487 Add option to disable admin content protection
최고관리자의 글을 게시판 관리자가 수정/삭제하지 못하도록 하는 기능은
게시판을 위키 등 협업 용도로 사용하는 경우 불편을 유발할 수 있으므로
옵션으로 켜고 끌 수 있도록 합니다. 기본값은 수정/삭제 금지입니다.
2021-12-30 23:55:10 +09:00
Kijin Sung
53a7e4d90f Fix #1773 add function to delete temp saved document 2021-09-11 21:30:31 +09:00
conory
c5138ab477 긴 댓글은 휴지통에 들어가지 않는 문제 수정
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'title' at row 1

불필요 코드 제거
2021-09-03 01:04:41 +09:00
BJRambo
468368e1ba Fix the warning error in PHP8.0 2021-06-23 19:08:37 +09:00
BJRambo
290066cf37 Fix #1738 카테고리가 마지막 한개만 표시되는 문제 고침 2021-06-23 18:50:54 +09:00
Kijin Sung
7dd9330b1e Add DocumentController::updateDocumentExtraVars()
- 특정 확장변수의 값을 쉽게 업데이트할 수 있는 메소드 제공
- 확장변수 추가 또는 변경 메소드 호출시 var_idx 또는 eid 중 하나만 전달해도 되도록 개선
2021-06-21 21:16:07 +09:00
Kijin Sung
786dace639 Fix various warnings in PHP 8.0 2021-06-20 22:25:16 +09:00
Kijin Sung
856f2af743 Fix #1732 inconsistent 'target' attribute in popup menus 2021-06-19 22:30:18 +09:00
BJRambo
8c1fda8815 Fix #1714 분류 선택이후 분류를 미지정으로 글 수정시 권한이 없다는 문제 고침 2021-06-16 13:24:42 +09:00
Kijin Sung
2e92fc4f40 Fix #1696 update_member_srl and update_nick_name fields are null when updater is not logged in 2021-04-27 21:38:15 +09:00
Kijin Sung
6780125174 Fix #1674 Preserve extra_vars when updating document 2021-04-12 21:26:33 +09:00
Kijin Sung
fc4d8a6824 Fix #1634 bypass spamfilter when sending messages from core modules 2021-02-23 22:01:32 +09:00
Kijin Sung
6b956d2e5b Allow admin to report (declare) even if it's the same IP 2021-02-10 15:56:47 +09:00
Kijin Sung
e8e6546067 Fix #1608 leave copy of notice in board manager's message box 2021-02-10 00:49:52 +09:00
BJRambo
04147e7606 Fix #1599 카테고리 권한을 검사하지 않던 문제 고침 2021-02-03 20:05:45 +09:00
Kijin Sung
4dcdb9e4bd Fix various warnings in PHP 8.0 2021-01-08 00:27:00 +09:00
Kijin Sung
53c296d1a1 Fix unmatched %s in sprintf() 2021-01-05 23:17:09 +09:00