Commit graph

753 commits

Author SHA1 Message Date
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
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
4a7c18f0ac Implement most methods for adding/dropping tables and indexes 2020-06-29 23:16:03 +09:00
Kijin Sung
98bf9e485c Implement isTableExists() and fix return types of prepare(), query(), etc. 2020-06-29 22:46:38 +09:00
Kijin Sung
1903deee40 Fix condition for recording backtraces 2020-06-29 22:37:48 +09:00
Kijin Sung
902b931b89 Provide methods to tell total elapsed time 2020-06-29 22:30:48 +09:00
Kijin Sung
421199b196 Improve debugging 2020-06-29 22:27:45 +09:00
Kijin Sung
84a7b915b7 Implement the COUNT(*) query for pagination 2020-06-29 21:32:25 +09:00
Kijin Sung
7e96affa1a Add prepare() and query() for direct querying 2020-06-29 20:11:04 +09:00
Kijin Sung
8f746af45f Implement more methods for DB class 2020-06-29 17:00:04 +09:00
Kijin Sung
cc271ee154 Initial implementation of DB class based on PDO MySQL driver 2020-06-29 15:45:01 +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