Kijin Sung
29bf72c998
Fix #2077 don't check hwpx files as XML
2023-03-05 23:03:50 +09:00
Kijin Sung
5ecf8ea99b
Fix warning when query is executed from outside of a class or function
2023-02-06 01:57:18 +09:00
Kijin Sung
9aec92fbfd
Merge pull request #2069 from kijin/pr/whitespace
...
.editorconfig에서 trim_trailing_whitespace = true로 변경
2023-02-05 20:38:49 +09:00
Kijin Sung
b122f35e62
Fix deprecation notice in rmccue/requests in PHP 8.2
2023-01-31 00:01:39 +09:00
Kijin Sung
c6bcad909e
Bump version during 2.1 development
2023-01-31 00:01:18 +09:00
Kijin Sung
8c879da8f8
Check PHP version using integer constant to be more efficient
2023-01-31 00:01:06 +09:00
Kijin Sung
dfa1e93c79
Remove unnecessary header and footer from class files
...
- 아래에 이미 author 언급이 있으므로 중복되는 저작권 표기는 제거
- 클래스 하단에 불필요한 end of file 표시 제거 (파일 하나에 클래스 하나씩이므로
파일이 중간에 끊겼다면 클래스가 닫히지 않아 쉽게 알 수 있음)
2023-01-30 23:52:23 +09:00
Kijin Sung
1ab8f3470f
Merge branch 'develop' into pr/whitespace
2023-01-30 21:49:10 +09:00
Kijin Sung
e1a3961973
Fix mixing tabs and spaces
2023-01-17 21:04:51 +09:00
Kijin Sung
ca35eda1da
Fix #2068 type error in utf8_clean()
2023-01-17 21:04:33 +09:00
Kijin Sung
a9f72a5cd2
Remove trailing whitespace
2023-01-17 20:57:44 +09:00
Kijin Sung
651238916b
Fix deprecation warnings in PHP 8.2
2023-01-17 00:15:12 +09:00
Kijin Sung
60433f93d2
Fix deprecated code in less compiler
2023-01-16 23:05:21 +09:00
Kijin Sung
e0a041bb3d
Fix deprecation warnings in PHP 8.2
2023-01-16 22:42:04 +09:00
Kijin Sung
33b58b5e77
Convert ?: to ??
2023-01-16 22:31:50 +09:00
Kijin Sung
4c15e8fef5
Merge pull request #2066 from Waterticket/develop
...
fix deprecated warnings
2023-01-16 22:27:24 +09:00
Kijin Sung
a6872d6e2a
Remove all type declarations in DBHelper/DBStmtHelper methods inherited from PDO, for broad compatibility with PHP 7 and 8
2023-01-16 22:21:48 +09:00
Kijin Sung
8eb387de3c
Fix autoloader not working for DBStmtHelper in PHP 7.x
...
SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args));
2023-01-16 21:57:01 +09:00
Kijin Sung
0ba4c51c3c
Fix type error in DBHelper::query() when there is a query error
2023-01-16 21:39:30 +09:00
Kijin Sung
c07efe7905
Fix deprecation notices in PHP 8.2 #2064
2023-01-16 21:24:59 +09:00
Kijin Sung
8e2c4b3ef9
Fix #2065 add ReturnTypeWillChange attribute to DBHelper
2023-01-16 21:16:13 +09:00
Waterticket
f58e865f4d
fix deprecated warnings
2023-01-16 09:29:34 +00:00
Kijin Sung
b8351bf3c8
Fix #2063 incorrect path to cacert.pem
2023-01-12 00:18:25 +09:00
Kijin Sung
5f4e7946a3
Fix deprecation warning in PHP 8
2023-01-06 18:37:02 +09:00
Kijin Sung
7688c8fb38
Merge branch 'master' into develop
2023-01-03 14:01:34 +09:00
Kijin Sung
5c009ba28f
Fix type error when page_count is not defined in query ( #2039 regression)
2023-01-03 13:56:46 +09:00
Kijin Sung
2437de31f3
Remove wincache and xcache drivers - they are no longer maintained for PHP 7.2+
2022-12-30 00:16:06 +09:00
Kijin Sung
8234fd5c7b
Disable file cache driver
2022-12-30 00:10:18 +09:00
Kijin Sung
ab757d0b8a
Clean up admin footer and adjust lang codes
2022-12-29 00:55:47 +09:00
Kijin Sung
0aa4fed636
Add option to select jQuery 3.x ( #1835 ) + add description to other options in Advanced config screen
2022-12-28 01:09:27 +09:00
Kijin Sung
dc1182f6f5
Add jQuery 3.x
2022-12-28 00:52:48 +09:00
Kijin Sung
bd904d7426
Remove non-minified version of jQuery migrate 1.x
2022-12-28 00:52:32 +09:00
Kijin Sung
c21d728880
Delete jQuery 1.x which is only used in very old IE
2022-12-28 00:52:06 +09:00
Kijin Sung
5a6adb5c05
Remove remaining targetie reference
2022-12-28 00:51:12 +09:00
Kijin Sung
9e9adcdb43
Remove support for targetie attribute on assets
2022-12-28 00:35:57 +09:00
Kijin Sung
d34d08438f
Fix #2052 move all charset and import statements to the beginning of concatenated CSS scripts
2022-12-28 00:06:50 +09:00
Kijin Sung
f74976508e
Let's see some deprecation warnings now
2022-12-27 22:44:45 +09:00
Kijin Sung
e0e4da50b7
Fix incorrect detection of admin user when writer is anonymous
2022-12-27 22:44:30 +09:00
Kijin Sung
33bef05b09
Update Korea IP range database
2022-12-26 17:08:43 +09:00
Kijin Sung
cc2a8597b5
Fix forward-incompatible use of null in DateTime constructor
2022-12-26 16:45:53 +09:00
Kijin Sung
5fff6b6eab
Move all composer files inside the common directory
...
- 2022년 3월 개발팀 결정사항 적용
- 모듈 등 서드파티 자료 개발시 composer를 사용하면 상위 경로에 있는 코어의
composer.json을 수정하고, 코어의 vendor 디렉토리를 건드리는 것이 기본값임
- 이를 방지하기 위해 코어의 composer.json과 vendor를 common 디렉토리 안으로
이동하여, 모듈 경로에서 상위 폴더로 인식하지 않도록 함
2022-12-26 16:33:32 +09:00
Kijin Sung
7b912d21fc
Fix include filename of IpFilter.php
2022-12-26 16:27:36 +09:00
Kijin Sung
17279c264b
Add support for short download URLs #1875 #1922
...
- Originally committed on April 3, 2022
- Thanks to @misol @conory
- getDownloadUrl()에서 기존 메소드 형태 최대한 그대로 유지하는 방향으로 작업
(단, source_filename 파라미터를 전달하지 않으면 긴주소로 강제됨)
- getDirectFileUrl()의 불필요하게 복잡한 코드 정리
- getFileList()에서 이미지가 아닌 파일도 절대경로를 반환하도록 수정
- procFileDownload, procFileOutput에서 URL에 포함된 파일명을 검증하도록 하여
동일한 첨부파일에서 파일명 부분만 변형한 링크를 무한 생성할 수 없도록 함
- 짧은주소 미사용시 불필요한 module_srl 파라미터 제거
2022-12-26 16:23:19 +09:00
Kijin Sung
0029d1a1ec
Rename all common/framework source files to be case-sensitive
2022-12-26 16:13:09 +09:00
Kijin Sung
60fd7d7cf2
Move cacert.pem loader to autoload.php
2022-12-26 02:36:44 +09:00
Kijin Sung
9cb1e3e3fc
Preload all classes that are referenced in autoload.php
2022-12-26 02:34:21 +09:00
Kijin Sung
a07307d343
Change autoloader to support case-sensitive class files + fix lang path for namespaced modules
2022-12-26 02:30:59 +09:00
Kijin Sung
7218e4fac6
Remove nginx help document (see official documentation instead)
2022-12-26 01:17:52 +09:00
Kijin Sung
426a971c6c
Remove $relax_key_checks because we are no longer using Flash uploader
2022-12-26 01:08:04 +09:00
Kijin Sung
07c809a9ef
Use compoer/ca-bundle instead of using our own cacert.pem
2022-12-26 00:57:50 +09:00