Commit graph

269 commits

Author SHA1 Message Date
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
Kijin Sung
43c5da7818 Update parser classes 2020-06-22 11:19:26 +09:00
Kijin Sung
59f14d8a3f Import DB parser classes from previous private project 2020-06-22 11:00:18 +09:00
Kijin Sung
1bb7248e3e Add tests for Router::getURL() and Router::parseURL() 2020-06-22 00:52:51 +09:00
Kijin Sung
67d4217052 Set default language if lang_type is not available 2020-06-22 00:04:08 +09:00
Kijin Sung
c8a6b8de79 Support global routes 2020-06-18 16:36:27 +09:00
Kijin Sung
5fa72f8629 Add 404 error handler and update permission data structure 2020-06-18 14:13:23 +09:00
Kijin Sung
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Kijin Sung
a814b4e334 Improve parsing of route definitions and deleted vars 2020-06-17 12:33:21 +09:00
Kijin Sung
7ac27fffce Reorganize type shortcuts 2020-06-16 23:24:47 +09:00
Kijin Sung
a2bd361737 Implement route priority 2020-06-16 21:33:26 +09:00