Commit graph

1135 commits

Author SHA1 Message Date
Kijin Sung
ee5404eab6 Enable password hashing with argon2id algorithm on supported systems (PHP 7.3+) 2023-04-24 01:06:54 +09:00
Kijin Sung
a6774937a2 Add methods for async and multiple concurrent HTTP requests 2023-04-23 16:59:56 +09:00
Kijin Sung
77a7ff9133 Separate HTTP request settings manipulation to its own method 2023-04-23 16:37:33 +09:00
Kijin Sung
6f9bb059e8 Use helper class to handle various error conditions during HTTP request 2023-04-23 14:50:39 +09:00
Kijin Sung
6a9902c3bb Clean up default settings and proxy URL parsing logic 2023-04-23 14:26:19 +09:00
Kijin Sung
8db0b06b6a Fix sender info not being available until the before trigger has been called 2023-04-23 00:40:58 +09:00
Kijin Sung
4f73c9562b Update several mail and SMS drivers to use HTTP class instead of Requests or raw curl 2023-04-23 00:40:30 +09:00
Kijin Sung
cf84d70ca1 Also recognize Content-Type headers with optional parameters 2023-04-23 00:40:03 +09:00
Kijin Sung
d731198aa6 Cache and reuse the Guzzle client for multiple requests 2023-04-23 00:26:27 +09:00
Kijin Sung
c825fdaf43 Add Rhymix Framework HTTP class to wrap Guzzle 2023-04-23 00:18:37 +09:00
Kijin Sung
901bdab6a9 Filter more potentially malicious tags in SVG uploads 2023-04-10 22:51:07 +09:00
Kijin Sung
969ee5d068 Fix #2085 SCSS compile error when variables contain false, null, empty string, etc. 2023-04-08 11:59:55 +09:00
Kijin Sung
ee52d17fee Fix missing property 'caller' of Push class 2023-03-23 20:54:54 +09:00
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
a9f72a5cd2 Remove trailing whitespace 2023-01-17 20:57:44 +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
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
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
cc2a8597b5 Fix forward-incompatible use of null in DateTime constructor 2022-12-26 16:45:53 +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
426a971c6c Remove $relax_key_checks because we are no longer using Flash uploader 2022-12-26 01:08:04 +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
23a827923e Support timestamp() with customizable format in XML query 2022-12-24 22:38:18 +09:00
Kijin Sung
cad4f37485 Reorder debug entries for easy viewing 2022-12-20 10:13:00 +09:00
Kijin Sung
70acafb8ea Add AllowDynamicProperties to SessionHelper 2022-12-20 09:27:36 +09:00
Kijin Sung
e1f98e573c Fix #1944 add option to display complete call stack for queries 2022-12-19 01:11:43 +09:00
Kijin Sung
4cc730e489 Support order_default attribute to <index> tag in XML query 2022-12-18 01:18:55 +09:00
Kijin Sung
9acb39a623 Fix undefined variable warning in Router 2022-11-28 01:11:39 +09:00
Kijin Sung
fb23b7da6b Merge remote-tracking branch 'upstream/develop' into develop 2022-11-22 13:34:39 +09:00
Kijin Sung
4926a44ecc Fix warnings when executing unusual queries 2022-11-22 13:34:17 +09:00
Kijin Sung
e03ee87345 Disable exception chaining for DB errors 2022-11-06 19:13:43 +09:00
Kijin Sung
80a7a9583a Fix #1974 remove cafe24 SMS driver 2022-10-30 17:27:53 +09:00
Kijin Sung
ad23796906 Fix #2003 remove default act from short URL if there are no arguments 2022-10-29 22:06:36 +09:00
Kijin Sung
a44959382e Fux #2006 allow some aspect-ratio values and all valid object-fit values in HTML filter 2022-10-29 21:23:39 +09:00