Commit graph

79 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
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
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
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
12a8671065 Fix #1424 incorrect handling of multi-method (GET|POST) actions 2020-10-19 13:56:46 +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
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
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
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
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
47bb30c535 Implement getColumnInfo() 2020-06-30 00:40:10 +09:00
Kijin Sung
58133573b3 Implement addColumn() and modifyColumn() 2020-06-30 00:31:06 +09:00
Kijin Sung
84a7b915b7 Implement the COUNT(*) query for pagination 2020-06-29 21:32:25 +09:00
Kijin Sung
14e91b2e09 Rewrite DB parsers to use array attributes for better stability 2020-06-29 12:30:58 +09:00
Kijin Sung
f47e2dd3fb Merge branch 'next' into next-db 2020-06-29 11:31:37 +09:00
Kijin Sung
e1df71bc38 Separate common methods into BaseParser class 2020-06-29 11:31:11 +09:00
Kijin Sung
59b6402ddb Remove duplicate method 2020-06-28 23:19:57 +09:00
Kijin Sung
dcbd26e7f2 Reorder and categorize query attributes for easy reference 2020-06-27 01:25:05 +09:00
Kijin Sung
a1b946bae6 Add some useful functions to default values 2020-06-27 01:05:32 +09:00
Kijin Sung
6f0ecd26a7 Support ON DUPLICATE KEY UPDATE (upsert) queries 2020-06-27 00:58:24 +09:00
Kijin Sung
7f8312ee1a Implement INSERT and UPDATE queries using new parser 2020-06-27 00:49:04 +09:00
Kijin Sung
03279788da Implement DELETE queries using new parser 2020-06-27 00:32:23 +09:00
Kijin Sung
a086c93935 Support SELECT DISTINCT queries 2020-06-27 00:08:48 +09:00
Kijin Sung
e3138f7278 Prepare to support INSERT/UPDATE/DELETE queries, too 2020-06-27 00:04:19 +09:00
Kijin Sung
6d251dfbe1 Finish the SELECT query generator 2020-06-26 21:56:25 +09:00
Kijin Sung
bc287b0e0f Parse GROUP BY and HAVING clauses 2020-06-26 21:04:00 +09:00
Kijin Sung
db13d110b8 Finish work on condition parsing 2020-06-26 20:56:32 +09:00
Kijin Sung
6eca8736c1 More work on the query parser 2020-06-26 16:52:41 +09:00
Kijin Sung
92ff69591f Use new parser to create all tables 2020-06-26 13:51:22 +09:00
Kijin Sung
93be42c477 Restrict index size to 191 chars for utf8mb4 and 255 chars for utf8 (767 chars total) 2020-06-26 13:46:48 +09:00
Kijin Sung
93e597989d Generate CREATE TABLE queries using new parser 2020-06-26 11:14:51 +09:00
Kijin Sung
b912c623e2 More work on the query parser 2020-06-22 23:43:56 +09:00
Kijin Sung
20025077f7 Create basic structure of XML query 2020-06-22 16:53:44 +09:00
Kijin Sung
c97b161e42 Remove unnecessary size from int/bigint types 2020-06-22 11:26:11 +09:00