Commit graph

1172 commits

Author SHA1 Message Date
ucorina
0a53ac3e9d First version of uncorellated select subquery.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8539 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-27 17:44:56 +00:00
lickawtl
af9ced8c5c start implementing SubQuery
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8538 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-27 13:45:52 +00:00
ucorina
763fc6d56b DBMssql class - working version of XE with SQL Server.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8535 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-23 16:04:46 +00:00
ovclas
525d8e3f5f issue 46 validator apply to member module.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8533 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-23 06:03:29 +00:00
taggon
e63179d4ec Remove debug code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8531 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-23 02:42:54 +00:00
taggon
d964631a14 issue 54 : Add a mobile agent string
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8529 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-22 09:30:07 +00:00
taggon
64430a7cc8 issue 55 : Fix a bug for missing uploaded files.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8527 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-21 14:04:59 +00:00
lickawtl
33c0923009 escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8525 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-21 12:20:11 +00:00
lickawtl
7f0c67bfae escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8524 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-21 11:56:00 +00:00
lickawtl
2c21bc07e9 escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8523 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-21 11:28:08 +00:00
lickawtl
e13c62c479 escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8522 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-21 11:27:10 +00:00
lickawtl
ed3fd79304 escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8518 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-21 10:01:43 +00:00
ucorina
6f17aa5759 Updated query classes in order to support prepared statements - added support for parameter binding. Added unit tests for mssql select using new prepared statement syntax.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8511 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-20 14:03:27 +00:00
lickawtl
32fe8750e9 bug-fix pagination Limit
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8510 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-20 09:25:58 +00:00
ovclas
6cd7c0e5ad issue 46 file, communication module ruleset not committed.
comment Validator not committed.
threfore this source commit


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8507 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-20 01:17:39 +00:00
ovclas
b4f4afcc17 issue 46 Validator apply install module.
viewing error message debug


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8506 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-17 09:58:36 +00:00
ovclas
8f7335c776 issue 46 Validator apply communication module.
standalone method apply validator.
Auto Form generation error in Template engine is fixed


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8482 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-15 07:48:45 +00:00
taggon
26c3fce74f Fix a bug related to checking content's length.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8480 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-15 07:40:53 +00:00
ovclas
b17464e1c1 issue 37 Server Side Validator apply core code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8477 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-14 02:16:44 +00:00
taggon
32d69fdeff Add some localized text.
Related to issue 39.


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8474 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-13 02:35:21 +00:00
taggon
8502d9cae3 issue 18 : Fix a bug for empty error messages
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8471 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-10 02:21:34 +00:00
taggon
7107bc0d77 issue 18 : fix a bug for applying default value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8470 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-09 06:43:01 +00:00
taggon
c00dba7f82 issue 18 : fix a bug
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8463 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-08 09:02:06 +00:00
taggon
98a643d0c3 Fix a small bug
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8462 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-08 08:14:46 +00:00
ucorina
b6a1088995 Updated DB classes for supporting prepared statements - SQL string can now be returned with '?' instead of argument values.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8458 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 19:01:58 +00:00
ucorina
313bfca8e8 Updated the query parts that work with arguments (conditions, update and insert expressions) to work with QueryArgument objects instead of string values.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8457 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 17:18:32 +00:00
lickawtl
e41c45433e add some unit tests for CUBRID
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8456 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 16:21:55 +00:00
ucorina
d7cf3cb731 Removed extra methods from Firebird, Msssql and SqlLite db classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8455 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 16:17:36 +00:00
taggon
23453c0aac issue 18 : Done for writing the ruleset compiler
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8454 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 09:33:02 +00:00
ucorina
57b91e1d3e Postgres class - removed methods that are no longer needed. Updated to work with new classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8452 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-06 15:41:00 +00:00
ucorina
d071909cde Added column type information inside QueryArgument objects.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8451 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-06 09:24: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
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
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