Commit graph

459 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
2a7eeebcbd Add numeric value column to extra vars, and add option to mark extra var as sortable #2604 #2559 2025-10-23 11:17:24 +09:00
Kijin Sung
893b08a742 Clarify message sending options when managing documents 2025-09-06 13:31:00 +09:00
Kijin Sung
08fc4d72d9 Fix incorrect error message when a document/comment is voted/blamed already #2590 2025-08-13 21:15:11 +09:00
Kijin Sung
94869286ce Fix missing category_srl in updateDocument return value #2575 2025-07-06 17:06:52 +09:00
Kijin Sung
eaa0aee988 Update file count after copying document or comment with its files #2569 2025-06-17 13:37:26 +09:00
Kijin Sung
3c44f96f63 Fix empty procDocumentAddCart request (2.1.24 regression) #2568 2025-06-14 13:49:48 +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
2df0474a06 Fix category color not being updated when set to empty value 2025-05-29 09:47:10 +09:00
Kijin Sung
a1f452fa83 Fix missing extra vars when document cache is cleared in the middle of a script #2553 2025-05-15 20:11:49 +09:00
dewekk
612fa92835
문서 파일 개수에서 확장변수 파일 개수 제외 2024-12-17 14:53:25 +09:00
dewekk
5502df5b81
확장변수 파일 삭제 불가 문제 수정
Call to a member function toBool() on null
2024-12-10 13:37:57 +09:00
Kijin Sung
6a93e0c12d Fix excessive session data after accessing and voting on many documents and comments 2024-12-07 21:55:14 +09:00
Kijin Sung
453f83db7d Fix error message when leaving current file unchanged in extra vars 2024-10-09 02:36:28 +09:00
Kijin Sung
52c573fdba Skip extra var validation if manually inserted/updated 2024-10-09 01:47:21 +09:00
Kijin Sung
0398b64350 Display uploaded file name and link in extra vars section 2024-10-09 00:07:48 +09:00
Kijin Sung
50274a7f9b Support file upload in extra vars 2024-10-09 00:03:16 +09:00
Kijin Sung
3de4f786b7 Fix whitespace 2024-10-08 22:18:58 +09:00
Kijin Sung
b438666ea7 Validate required and strict extra vars on document insert and update 2024-10-08 22:17:00 +09:00
Kijin Sung
db4103b732 Implement is_strict and options fields 2024-10-08 21:46:56 +09:00
Kijin Sung
e4c3c5ac6c Fix #2376 unnecessary header output in menu, document, layout modules 2024-07-15 10:14:37 +09:00
Kijin Sung
7df5a84f11 Update category document count using +1/-1 diff instead of running COUNT(*) query every time 2024-05-04 21:50:00 +09:00
Kijin Sung
07c2574c72 Fix #2321 return voted_count or blamed_count when vote is canceled 2024-05-04 20:43:33 +09:00
Kijin Sung
684b86a636 Fix #2335 allow selecting a category as default 2024-05-04 20:21:13 +09:00
Kijin Sung
55fe822b2b Fix #2320 incorrect class name in docblock 2024-04-24 01:43:07 +09:00
Kijin Sung
fa756b5169 Fix #2238 add option to control whether to allow redeclaring documents 2024-03-28 21:30:19 +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
56af0cb5c3 Use strict equality to check if title is empty 2024-01-30 20:44:30 +09:00
Kijin Sung
7cb9b8c786 RVE-2024-1 also apply escape() when updating document 2024-01-30 20:43:39 +09:00
Kijin Sung
a3650bb899 RVE-2024-1 missing escape of autogenerated document title 2024-01-20 00:39:19 +09:00
Kijin Sung
e44f5ef434 Fix inncorrect read count for anonymous documents 2024-01-16 21:31:37 +09:00
Kijin Sung
ca4e2d60e3 Fix #2221 add document.publishDocument (before/after) triggers that cover both insert and update 2024-01-01 17:34:49 +09:00
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