Commit graph

20481 commits

Author SHA1 Message Date
Kijin Sung
0b0b8f58a3 Remove unnecessary method overload 2025-03-23 20:58:47 +09:00
Kijin Sung
3003c31189 Update copyright notice #2436 2025-03-23 20:58:28 +09:00
Kijin Sung
6ead6ae434 Increase length of password columns for document and comment tables #2530 2025-03-23 20:50:48 +09:00
Kijin Sung
e0aaad0d0a
Merge pull request #2531 from kijin/pr/template-v2-fixes
템플릿 v2 문법 일부 변경
2025-03-23 20:49:12 +09:00
Kijin Sung
e192bc0ff6 Add widget directive for Template v2 2025-03-20 14:01:56 +09:00
Kijin Sung
3e052d2d00 Improve detection of template v1-style syntax in CSS/JS contexts 2025-03-19 12:44:17 +09:00
Kijin Sung
04a7734b2e Add unit test for contextual escape 2025-03-19 11:23:56 +09:00
Kijin Sung
d7cf825a7d Use regular escape() for CSS contexts 2025-03-19 11:23:42 +09:00
Kijin Sung
01f34781df Don't parse template v1 syntax (single braces) in CSS/JS context 2025-03-19 00:42:01 +09:00
Kijin Sung
49f57980dd Add unit test for inline styles in template v2 2025-03-19 00:16:08 +09:00
Kijin Sung
0bc3635b6c Update unit tests for improved contextual escape 2025-03-19 00:12:57 +09:00
Kijin Sung
9689a1ed68 Implement better contextual escape for template v2 2025-03-19 00:12:39 +09:00
Kijin Sung
baadb36e37 Improve escape_css() to accept most common CSS expressions 2025-03-18 23:53:06 +09:00
Kijin Sung
62eb6b2aae Add more context switches for inline scripts and styles 2025-03-18 23:17:42 +09:00
Kijin Sung
800eb2f444 Change behavior of \@mobile directive in template v2 #2510 2025-03-18 22:51:22 +09:00
Kijin Sung
82195c3e14 #2527 보완: 유닛 테스트 추가 2025-03-18 22:38:07 +09:00
Kijin Sung
2c05d3f0c7 #2527 보완: \n 뒤에 공백 남을 수 있는 문제 수정 2025-03-18 22:37:51 +09:00
Kijin Sung
ec8003003c
Merge pull request #2527 from dewekk/fix-spaces2
utf8_normalize_spaces() 함수에서 공백 문자 추가 제거
2025-03-18 22:32:49 +09:00
dewekk
2276110b0f
utf8_normalize_spaces 함수에서 불필요한 공백 문자 추가 제거 2025-03-14 09:46:10 +09:00
Kijin Sung
3f553d4d9c Hide vote/blame log if respective setting is disabled #2523 2025-03-14 01:37:51 +09:00
Kijin Sung
bb3ea5c9aa Fix overlapping pagination links #2521 2025-03-14 01:22:32 +09:00
Kijin Sung
fd103ba67d Fix #2522 browser titles for member pages not following admin template 2025-03-13 23:21:33 +09:00
Kijin Sung
beec50f217 Prevent files from being deleted upon module deletion if they belong to documents or comments that have since been moved to a different module 2025-03-13 22:57:38 +09:00
Kijin Sung
b213fc1968 Fix module_srl not being updated for files attached to comments, when a document is moved to a different module 2025-03-13 22:38:05 +09:00
Kijin Sung
f6a9d49db1 Add browser title for most items on the member menu 2025-03-09 20:41:13 +09:00
Kijin Sung
e072ba0391 Fix missing default mobile skin when a board is added in the menu #2510 2025-03-09 20:19:45 +09:00
Kijin Sung
fb1486ed1e Make layout header script textarea full-width #2516 2025-03-09 20:08:20 +09:00
Kijin Sung
3aa0d38a67 Make SEO info, header/footer text, and some other fields full width #2516 2025-03-09 20:06:28 +09:00
Kijin Sung
f980ea58c6 Improve description of mobile view setting, and hide mobile settings if mobile view is disabled #2510 2025-03-08 23:18:11 +09:00
Kijin Sung
b6c444c536 Add $sync parameter to send() method of Mail, SMS and Push classes #2402 2025-03-08 20:50:18 +09:00
Kijin Sung
7e9dd8f297 Move consultation setting above anonymous setting
관련없는 설정 사이에 끼어 있는 상담글 설정을 익명 설정 위로 이동
2025-03-08 19:14:50 +09:00
Kijin Sung
daf14d8e3e General reorganization of dispBoardContentList
- 상담글, 검색 목록 수 설정이 getDocumentPage 이후에 설정되어
  하단목록에 잘못된 페이지가 나올 수 있는 문제 수정
- 서로 연관된 조건은 동시에 처리
- 전반적 코드 품질 및 가독성 개선
2025-03-08 19:10:47 +09:00
Kijin Sung
59448bcfb1 Fix #2519 okay, let's fficially support comma-separated categories 2025-03-08 18:52:47 +09:00
Kijin Sung
5d1c6dd59a Make category_srl and document_srl nullable again #2519 2025-03-08 18:43:58 +09:00
Kijin Sung
ea1e0ef624 Enforce types of commonly used variables in board 2025-03-08 15:09:00 +09:00
Kijin Sung
18d1ace121 Enforce that values passed to urlencode() are strings 2025-03-08 15:08:42 +09:00
Kijin Sung
f33c52b20f Cast to string before verifying untrusted input 2025-03-08 14:57:24 +09:00
Kijin Sung
641bb89a9d Use typecast instead of trim, because these vars should already be trimmed 2025-03-08 14:52:01 +09:00
Kijin Sung
609e16fd62 Don't allow arrays in mid, vid, act, module parameters 2025-03-08 14:49:32 +09:00
Kijin Sung
445f760856 Merge remote-tracking branch 'master' 2025-03-08 14:48:55 +09:00
Kijin Sung
d53290861b Always define cache key 2025-03-08 14:47:25 +09:00
Kijin Sung
83a42081fa Fix fatal error when some important variables contain non-scalar values 2025-03-08 14:29:25 +09:00
Kijin Sung
7fce9fcc39 Fix fatal error when "lang" URL parameter is given on an external page 2025-03-08 14:07:44 +09:00
Kijin Sung
9429c7fbc8 Don't even touch point cache file if system-wide cache is enabled 2025-03-06 23:42:39 +09:00
Kijin Sung
400d3bcec4 Fix implicitly nullable parameters in last version of scssphp that supports PHP 7.4 2025-03-05 20:37:01 +09:00
Kijin Sung
b5823e97e4 Update HTMLPurifier, Guzzle and scssphp 2025-03-05 20:32:15 +09:00
Kijin Sung
074873d844 Fix deprecation warning in PHP 8.4 2025-03-05 20:24:09 +09:00
Kijin Sung
823b83b3da Change menu description input to textarea #2506 2025-03-05 19:01:31 +09:00
Kijin Sung
6cc9511243 Simplify check for mbstring #2507 2025-03-05 18:53:50 +09:00
Kijin Sung
6aac58eddb Fix repeated variable in condition #2511 2025-03-05 18:52:54 +09:00