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
taggon
05cc65433e
Use preg_split() insted of deprecated split()
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8435 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 07:56:44 +00:00
taggon
76624b10c8
Admin module use only admin.css (or admin.min.css)
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8433 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 05:06:17 +00:00
taggon
1b5b2501c5
issue 19 : supplementary code
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8431 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 03:47:17 +00:00
taggon
44d915491d
issue 19 : JS and CSS files path should start from the XE root directory.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8430 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 03:36:55 +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
ovclas
3c52744d5b
#16 case '<!DOCTYPE', Templete engine parse error.
...
add exception case '!DOCTYPE'
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8419 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 08:32:22 +00:00
ovclas
0678de9512
#19780880 cond attribute in tag, not parsed
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8415 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 02:38:19 +00:00
ovclas
6e2fb02acd
#19790379 added db check in enviroment
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8412 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-31 01:45:08 +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
ovclas
2cca2a7913
#19790379 agreement form added
...
before install, session handeler not use db
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8405 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-30 09:31:27 +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
devjin
92332c8ebb
merge 1.4.5.7
...
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8398 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-27 06:03:31 +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
ovclas
8f3df45a2a
#19745697 trash module makem
...
document, comment module modify, because object in to trash and trash restore to object feature
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8388 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 04:48:43 +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
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
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
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
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
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
ovclas
ba796d9bad
#19705602 problem fixed, when specified column select
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8339 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-26 08:00:58 +00:00
ovclas
56f582c847
#19705602 problem fixed, when specified column select
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8338 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-26 07:52:29 +00:00
ovclas
d4bb3ade9a
#19705602 fix problem when specified column has alias
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8337 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-26 07:11:04 +00:00
ovclas
de414300a8
#19705602 document column parameter modify.
...
comment column parameter modify.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8336 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-26 07:03:05 +00:00
mosmartin
3ac4063af6
#19690852 Update serial creation statement to use cache.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8317 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-17 11:12:02 +00:00
mosmartin
c5e7a56a78
#19690852 Added calls to cubrid_close_request everywhere.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8316 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-15 14:50:34 +00:00
taggon
0bdf86ef26
#19692161 Use minified JS or CSS files if __DEBUG__ is not true.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8314 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-14 12:29:12 +00:00
mosmartin
a2851cc242
#19690852 Bug fix
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8313 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-14 11:40:36 +00:00
taggon
07cf8dc131
additional commit of r8276
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8312 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-14 10:44:18 +00:00
ovclas
f71f5b564e
#19692159 improve install UI
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8311 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-14 08:42:57 +00:00
mosmartin
9076974a59
#19690852 Refactoring: updated addQuotes to check if magic quotes are on only once and not on every function call.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8310 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-13 15:41:26 +00:00
mosmartin
23ddda10c6
#19690852 Refactoring: extracted the code for creating the "group by" and "order by" queries in separate functions. Replaced "inst_num", "orderby_num" and "groupby_num" with LIMIT.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8309 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-13 15:32:52 +00:00
mosmartin
8d2f988ee6
#19690852 Refactoring: replaced gettype() with the appropriate is_* functions in PHP. It is not recommended to use gettype to test for a certain type - see PHP documentation.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8308 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-13 15:10:52 +00:00
mosmartin
f6f393ae31
#19690852 Bug fix: CHAR and VARCHAR column size would never get updated (the comparison was between lowercase 'char' and 'varchar' and uppercase $type).
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8307 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-13 14:51:41 +00:00