Commit graph

7476 commits

Author SHA1 Message Date
ucorina
a85aec5dc0 git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8450 201d5d3c-b55e-5fd7-737f-ddc643e51545 2011-06-03 14:50:31 +00:00
ucorina
69bca759f6 Fix for DELETE statement. MySql class refactoring to use new DBClasses.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8449 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-03 14:50:12 +00:00
ucorina
9ef9069ba2 Started work on MySql class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8443 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 18:33:50 +00:00
ucorina
2e122219f1 DBCubrid class: removed duplicate fetch code from pagination, updates to update, delete, insert queries.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8442 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 17:36:31 +00:00
lickawtl
251555245d Change DBParser.class.php to support left and right escape char. This change is required for unit tests.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8441 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 15:34:11 +00:00
lickawtl
0e3043d678 unit tests for Sql Server, CUBRID, My Sql
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8440 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 15:26:38 +00:00
ucorina
d51e931527 Updated DBCubrid pagination to use new Query class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8439 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:19:36 +00:00
ucorina
0cd318fcf5 Removed legacy methods from DB and DBCubrid classes.
Added Query object to hold together query parts. 
Updated structure of query cache file to return Query object. 
Added support for array query arguments - used in the IN clause.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8438 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:06:08 +00:00
ucorina
c384f6c753 Fix for XE Core: added code to create document module "is_secret" column if it didn't exist.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8437 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:04:22 +00:00
lickawtl
23e991bec0 Bug fixes:
DBCubrid.class.php - remove "WHERE" clause when all conditions are empty
queryargument/QueryArgument.class.php and queryargument/validator/QueryArgumentValidator.class.php - this is for backwords compatibility - there are many xml files that have variable names (var) given with "."
table/TableTag.class.php - autocomplete default table name alias with table name.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8426 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 12:51:13 +00:00
ucorina
b4ca6896bc Removed code for creating final SELECT statement - this will be moved to db classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8425 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 10:19:58 +00:00
mosmartin
68f068cf88 fix query "limit" tag in other cases than page select
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8409 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-30 13:20:28 +00:00
mosmartin
64d268ab6b Added a wrapper for queries - select can now be called like: $query->select(..)->from(..)->where(..)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8400 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-27 12:25:43 +00:00
mosmartin
0b78e26357 Fix condition/ConditionGroup.class.php when all conditions have no value.
Add page navigation mechanism.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8399 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-27 11:39:45 +00:00
mosmartin
750733936b add "limit" navigation control to xml query and db classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8395 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-25 11:32:54 +00:00
mosmartin
4d2d18b53b Fixed condition group bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8394 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 14:45:00 +00:00
mosmartin
c40ccf777f Fixed condition tag bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8393 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 09:28:18 +00:00
mosmartin
52c3d503bc Changed code to use dbParser as singleton - instead of passing it in the constructor every time.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8392 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 09:01:00 +00:00
mosmartin
abba8761cc fixed an issue when default argument name is column name
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8391 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:42:16 +00:00
mosmartin
a8bed44a83 Cleaned up some classes that weren't needed. Removed calls to getValidatorString from tags, since the argument escaping is now done directly in the QueryParser class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8390 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:18:19 +00:00
mosmartin
d3067703a4 Fixed join condidition bug: if the user specifies the "pipe" attribute of a condition in a join cause, it should be ignored (otherwise the sql string is like INNER JOIN ... ON AND a = b). Fixed order by bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8387 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 12:24:50 +00:00
mosmartin
520300fad1 Updated WHERE clause to ignore expressions when the argument value is not set.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8386 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 09:25:59 +00:00
mosmartin
0f61e5d499 Included some missing classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8383 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 15:31:47 +00:00
mosmartin
9a2c0a8ff9 fixed an issue when Argument class is required
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8382 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 14:46:11 +00:00
mosmartin
6e11747960 add support for insert select update and delete queries in CUBRID class
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8381 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 14:31:05 +00:00
mosmartin
7fe8000d0f Fix for XmlQueryParser.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8380 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:39:38 +00:00
mosmartin
2a35558b4e Update new xml query classes with xe 1.5
with improved query argument support and update and delete queries

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8379 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:17:46 +00:00
mosmartin
7dbe0626b6 Update new xml query classes with xe 1.5
with improved query argument support and update and delete queries

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8378 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:06:56 +00:00
mosmartin
5f9a5249ac Integrate new classes with XE
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8375 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-18 17:50:36 +00:00
taggon
9e04e84a65 Fixed a typo.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8372 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-16 06:40:09 +00:00
taggon
5f55d907cc #19692161 Add a minified css file.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8371 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-16 06:39:29 +00:00
taggon
877c2c61af #19756885 Modify some comments
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8370 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-16 05:35:56 +00:00
taggon
d0a270a559 #19756885 Validator class' interface.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8369 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-16 05:27:57 +00:00
taggon
f73c89d32c #19692545 Minifier can use both Google closure compiler and JSMinPlus.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8368 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 10:19:17 +00:00
taggon
4cd47ec681 #19746027 XEHttpRequest is improved as followings:
1. "Transfer-Encoding: chunked" response header is processed now.
2. send() method can submit POST variables. File attachement is not supported yet.
3. sendWithCurl() method does NOT return the error anymore: 417 Expectation Failed.


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8367 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 07:55:07 +00:00
taggon
412f95de48 #19745331 Converted four spaces to a tab in language files of the admin module.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8366 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 01:11:59 +00:00
taggon
9f1c561955 #19659920 jQueryUI is updated to ver 1.8.12
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8365 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 00:46:49 +00:00
ovclas
4f03c14134 #19705602 session, trackback, poll module refactoring, DB Column select specify
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8364 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 00:36:13 +00:00
taggon
ca1e187274 #19659920 jQuery is updated to ver 1.6.0
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8363 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 00:23:48 +00:00
taggon
9946500d23 #19745285 JS/CSS files will be cached for each release version.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8362 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 00:17:39 +00:00
taggon
a3848104d4 #19744704 XEHTTPRequest also support cURL library.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8361 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-12 00:03:12 +00:00
ovclas
72df762337 #19705602 point module refactoring, for db select column specify
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8360 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-11 07:48:00 +00:00
taggon
a621503c5c Fix a typo in minify.ini
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8359 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-11 07:06:48 +00:00
ovclas
ee276fe56e #19705602 module related DB select column arrangement
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8358 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-11 04:52:43 +00:00
ovclas
914f4d7ef0 #19705602 db select column specified in member module method paramter
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8357 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-06 06:03:35 +00:00
ovclas
b5d2e05282 merge with 1.4.5.7
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8356 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-06 02:42:14 +00:00
ngleader
25d2f6af1e #19735137 remove krzip module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8355 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-06 02:37:01 +00:00
ysnglee2000
e4d9c0d3b9 큐브리드 DB 클래스 문법 조정.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8344 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-29 11:22:48 +00:00
devjin
84aba4c8fc #19685832 Syndication query 'getSiteUpdateTime' from 'not in' partial modification
#19723832 Syndication bug fixed that 'except module' registered



git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8343 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-29 09:40:45 +00:00
ovclas
315345a566 #19705602 specify db table column parameter in layout module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8342 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-27 08:46:43 +00:00