Commit graph

2463 commits

Author SHA1 Message Date
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
Kijin Sung
735d3dd97c Minimum version is actually PHP 7.2.5 because of dependencies 2022-12-26 00:51:28 +09:00
Kijin Sung
a667228f29 Change rhymix.less back to rhymix.scss because the LESS converter seems to be abandoned :( 2022-12-26 00:50:02 +09:00
Kijin Sung
e93b44aa3a Update SCSS compiler integration code to work with newer version of scssphp (fixes #1962) 2022-12-26 00:35:53 +09:00
Kijin Sung
da5697a5be Separate Swift Mail transport into own file outside of vendor directory 2022-12-26 00:25:58 +09:00
Kijin Sung
35a93f3928 Remove code that uses defuse/php-encryption (from next branch) 2022-12-25 19:45:12 +09:00
Kijin Sung
0ed1cfdef7 Support YYYY-MM-DD HH:MM:SS format and ISO 8601 format in zdate(), ztime(), and related functions 2022-12-24 22:57:18 +09:00
Kijin Sung
23a827923e Support timestamp() with customizable format in XML query 2022-12-24 22:38:18 +09:00
Kijin Sung
28323f1bb8 Check PHP version in common/autoload.php 2022-12-23 02:04:25 +09:00
Kijin Sung
1375f79539 Update constants for minimum and recommended PHP versions 2022-12-23 01:58:40 +09:00
Kijin Sung
56e94fac7d Version 2.0.24 2022-12-21 11:02:17 +09:00
Kijin Sung
cad4f37485 Reorder debug entries for easy viewing 2022-12-20 10:13:00 +09:00