Commit graph

579 commits

Author SHA1 Message Date
Kijin Sung
417e4d15b0 More fixes to improve PHP 8.0 compatibility 2020-10-31 00:40:28 +09:00
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
90084efd75 Fix undefined indices and incompatible function signatures 2020-10-30 23:14:08 +09:00
Kijin Sung
3e18f2d6ba Add session_start() delay and all query time to debug data 2020-10-30 15:52:52 +09:00
Kijin Sung
4aba149425 Resend the session cookie periodically to prevent early logout
서버단에는 세션 쿠키가 살아 있는데 클라이언트단에서 먼저 만료되지 않도록
일정한 시간 간격으로 세션 쿠키를 재전송해 주도록 한다.
특정한 환경에서 로그인이 풀리는 빈도를 줄이는 데 도움이 될 수 있다.
2020-10-30 01:34:01 +09:00
Kijin Sung
ed7add6d9c Separate device type (android/ios) from token type (fcm/apns)
애플 기기에서도 FCM을 사용하여 푸시알림을 구현할 수 있으므로
디바이스의 운영체제와 무관하게 토큰 타입을 지정하도록 변경합니다.
기존에 등록된 토큰은 운영체제 및 포맷에 따라 자동 변환합니다.
2020-10-28 00:37:55 +09:00
Kijin Sung
325ace58e0 Reorganize method/route parser order 2020-10-27 21:39:36 +09:00
Kijin Sung
c920f6dca4 Refine default allowed methods 2020-10-27 21:38:26 +09:00
Kijin Sung
c9cf1a5bc5 Allow both GET and POST for actions that aren't proc 2020-10-27 20:43:15 +09:00
Lastorder
aade411188 Sendgrid: Set reply_to to object
Sendgrid는 reply_to 값으로 object를 사용하나 string값이 넘어가 HTTP 400 오류가 발생하는데, 이 부분을 수정합니다.
2020-10-22 11:54:26 +09:00
Kijin Sung
7f2504b9b7 Allow escaping column type with a backslash to use literal DB type, e.g. date
DB에서 지원하는 타입명과 XE 호환성을 위해 유지하는 타입명이 충돌하는 경우
(예: date) XML 스키마에서 타입명 앞에 백슬래시를 붙이면 (예: \date)
DB에서 지원하는 타입명을 강제로 사용할 수 있도록 함.
2020-10-22 01:15:23 +09:00
Kijin Sung
265a23f5ce Change sendgrid mail driver to use API key instead of SMTP
- https://xetown.com/topics/1470719
- https://xetown.com/questions/1335074
2020-10-22 01:06:20 +09:00
Kijin Sung
9752c2ed61 Fix #1432 incorrect redirect in widget document edit popup 2020-10-21 23:57:37 +09:00
Kijin Sung
28b3c2ef34 Fix #1422 incorrect quoting of expressions in XML queries 2020-10-21 23:20:35 +09:00
Kijin Sung
57b356f5fa Fix #1439 incorrect parsing of default value in some queries 2020-10-21 23:01:34 +09:00
Kijin Sung
2a87c060b9 Fix #1442 add prefixes to INSERT/UPDATE queries, too 2020-10-21 22:47:34 +09:00
Kijin Sung
12a8671065 Fix #1424 incorrect handling of multi-method (GET|POST) actions 2020-10-19 13:56:46 +09:00
Kijin Sung
44e73027a1 Don't fetch if the query isn't SELECT
https://xetown.com/questions/1464687
2020-10-04 16:46:51 +09:00
Kijin Sung
0f9b96f9b4 Stop providing XE-compatible $db_info and db.config.php 2020-09-29 00:55:10 +09:00
Kijin Sung
76c83a5ce1 Fix IS NULL / IS NOT NULL conditions being omitted from XML queries 2020-08-11 11:12:39 +09:00
Kijin Sung
4ad35bff8c Support index options 2020-07-11 18:00:36 +09:00
Kijin Sung
25373e6540 Support more index types in DB::addIndex() 2020-07-11 15:50:12 +09:00
Kijin Sung
9b776942e5 Support more index types in DB table parser
UNIQUE, SPATIAL, FULLTEXT
2020-07-11 15:42:37 +09:00
Kijin Sung
143600306d Clean up editor module 2020-07-09 16:37:04 +09:00
Kijin Sung
f6b260d829 Remove args from return value 2020-07-07 14:04:38 +09:00
Kijin Sung
5496180b47 Fix handling of empty string arguments in write queries 2020-07-07 14:03:06 +09:00
Kijin Sung
89e4b03265 Fix incorrect detection of update-duplicate attribute 2020-07-06 20:07:57 +09:00
Kijin Sung
7659c18df9 Fix error when there are no tables or columns in an XML query 2020-07-06 14:51:22 +09:00
Kijin Sung
bb94e91fe0 Fix subquery detection in tables and columns section of XML 2020-07-06 14:36:36 +09:00
Kijin Sung
d2f24dcd12 Replace DB::isValidOldPassword() with Rhymix's own implementation 2020-07-06 11:51:04 +09:00
Kijin Sung
305d045bf6 Fix isValidOldPassword() not working in new DB class 2020-07-06 11:40:13 +09:00
Kijin Sung
dfc1082c85 Add UA::getLocale() 2020-07-05 20:21:44 +09:00
Kijin Sung
aab715f9e5 Fix #1339 function in default value not working in new DB 2020-07-04 17:41:20 +09:00
Kijin Sung
ee1ea9729c Fix handling of empty string with default value in INSERT/UPDATE queries 2020-07-03 12:25:23 +09:00
Kijin Sung
13ea096cd4 Remove use_ssl attribute from module.xml 2020-07-03 00:50:14 +09:00
Kijin Sung
9fdcd86f1d Add XMLRPCParser class to parse XE-compatible XML requests 2020-07-03 00:03:58 +09:00
Kijin Sung
945c09059a Fix inconsistent handling of empty string in INSERT/UPDATE queries 2020-07-02 16:04:05 +09:00
Kijin Sung
54375d16ad Fix incorrect URL in admin header 2020-07-02 14:29:18 +09:00
Kijin Sung
6a98d061b7 Merge branch 'next' into next-db 2020-07-01 15:17:39 +09:00
Kijin Sung
6e6aa6401d Detect the index action in Router 2020-07-01 15:17:19 +09:00
Kijin Sung
ed7130f552 Add 'raw' result type 2020-06-30 23:28:06 +09:00
Kijin Sung
6e7049234e Reorganize query logging and add detailed comments 2020-06-30 23:21:14 +09:00
Kijin Sung
8a3afa03cc More element handling of executeQueryArray() 2020-06-30 23:05:04 +09:00
Kijin Sung
8266114512 Fix erroneous sequence query 2020-06-30 20:49:59 +09:00
Kijin Sung
e4d40af5ec Add missing end marker to router regexp 2020-06-30 20:26:01 +09:00
Kijin Sung
8cd1cdff9f Fix install problems 2020-06-30 20:05:08 +09:00
Kijin Sung
85df901924 Misc fixes for compatibility with existing XML queries and schemas 2020-06-30 14:43:42 +09:00
Kijin Sung
fa220fb1e1 Fix incorrect parsing of subquery in IN () clause 2020-06-30 13:22:21 +09:00
Kijin Sung
978d3d167a Fix error handling issues 2020-06-30 12:16:59 +09:00
Kijin Sung
936568a8a5 Improve error handling by using wrapper classes for PDO and PDOStatement 2020-06-30 12:00:42 +09:00