Commit graph

8347 commits

Author SHA1 Message Date
José Lorenzo Rodríguez
02635696d7 Removing function from created virtual fields in translate behavior as it was not needed 2010-10-26 17:51:29 -04:30
José Lorenzo Rodríguez
90274ef859 restoring commented code to make more tests pass 2010-10-26 17:50:37 -04:30
José Lorenzo Rodríguez
e989f71b99 making a backup of model virtual fields in traslate behavrio to avoid side effects 2010-10-26 17:49:43 -04:30
José Lorenzo Rodríguez
f94f79e146 Initial steps to start using virtual fields in TranslateBehavior, this will ease Dbo abstraction 2010-10-25 23:40:24 -04:30
José Lorenzo Rodríguez
25c213e976 Preventing zero length of fields using prostgres 2010-10-25 20:25:07 -04:30
José Lorenzo Rodríguez
2eb0392b8a Removing forced trucation of tables in fixture loading, it was not really needed 2010-10-25 19:47:53 -04:30
José Lorenzo Rodríguez
cec3512835 Fixing more errors in tests related to type casting 2010-10-25 19:47:32 -04:30
José Lorenzo Rodríguez
f027bf0f7b Fixing some errors in tests 2010-10-25 19:47:00 -04:30
José Lorenzo Rodríguez
a6b6720717 Fixing bug in boolean conversion for postgres 2010-10-25 19:46:23 -04:30
José Lorenzo Rodríguez
49ed8ede8e Trucating tables in postgres now correctly resets the associated sequences 2010-10-25 19:45:46 -04:30
José Lorenzo Rodríguez
f00f4eae0f Implementing getClientEncoding using postgres 2010-10-24 20:02:11 -04:30
José Lorenzo Rodríguez
2ec9a49f17 Resolving yet more problems with booleans in postgres 2010-10-24 20:01:33 -04:30
José Lorenzo Rodríguez
1acb619e75 Implementing DboSource::insertMulti so it uses prepared statements, also changing internal uses of this method to reflect the new api, this brings as consequence a better abstracttion for datasources in model and fixtures, but breaks BC 2010-10-24 19:59:54 -04:30
José Lorenzo Rodríguez
34813ab35c Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-10-24 19:55:02 -04:30
mark_story
c6c3295c5c Making default bake templates escape HTML. Fixes #1186 2010-10-24 19:34:57 -04:00
mark_story
eb3cc3db3a Making default scaffold views html escape contents. Refs #1186 2010-10-24 19:30:22 -04:00
mark_story
bf7b8b0e93 Fixing issues with RssHelper and updating tests to reflect changes in how Xml::build() differs from previous versions' Xml. 2010-10-23 13:11:50 -04:00
mark_story
3e2d09a802 Making h() preserve keys when escaping an array. 2010-10-23 12:18:39 -04:00
mark_story
7aaf7e6b68 Fixing issue where Xml would not read CDATA blocks. 2010-10-23 11:01:13 -04:00
José Lorenzo Rodríguez
139702e91c Moving methods from Dbo's to the parent class as PDO already abstract what they do 2010-10-21 20:48:26 -04:30
José Lorenzo Rodríguez
c7763b316e Fixing some boolean issues in DboPostgres 2010-10-21 20:34:11 -04:30
José Lorenzo Rodríguez
88289f071e Restarting sequences by default qhen calling DboSource::truncate(), removing option to drop the sequence as it does not match behavior from other dbos 2010-10-21 00:21:10 -04:30
José Lorenzo Rodríguez
2262844346 Implementing set encoding in DboPostgres 2010-10-21 00:01:36 -04:30
José Lorenzo Rodríguez
ba1eb62678 Calling right method in DboPostgres::trucante 2010-10-20 23:59:44 -04:30
José Lorenzo Rodríguez
0ffe6de9e4 Allowing multiple sql sentences to be executed only for creting or altering databases 2010-10-20 23:57:00 -04:30
José Lorenzo Rodríguez
09487f830c Preventing false positive in queries returning fields but havinf Count(*) inside them in DboPostgres 2010-10-20 23:29:07 -04:30
José Lorenzo Rodríguez
d0fc2fd171 Fixing describing of table columns for postgres 2010-10-19 00:48:08 -04:30
José Lorenzo Rodríguez
3f0c79f7f9 Fixing some problems in in DboPostgres::connect() 2010-10-19 00:15:32 -04:30
José Lorenzo Rodríguez
edd448f0b8 Implementing resultSet and fetchResult in DboPostgres 2010-10-18 00:38:48 -04:30
José Lorenzo Rodríguez
ad22bc31c7 Updating DboPosgres::describe() to use PDO 2010-10-18 00:23:19 -04:30
José Lorenzo Rodríguez
c1ca039582 Fixing typo in listSources 2010-10-18 00:11:24 -04:30
José Lorenzo Rodríguez
ab9c8904ad Implementing lastInsertId for postgres 2010-10-18 00:08:58 -04:30
José Lorenzo Rodríguez
5c87daf083 Implementing listSources for postgres 2010-10-18 00:08:34 -04:30
José Lorenzo Rodríguez
aedf69dee1 More refactoring to DboSource::value() 2010-10-17 23:55:11 -04:30
José Lorenzo Rodríguez
6778d4b565 Updating test case for floats 2010-10-17 23:42:12 -04:30
José Lorenzo Rodríguez
16463229e5 Fixing return value of DboSource::boolean() 2010-10-17 23:40:51 -04:30
José Lorenzo Rodríguez
d9c9a32ff3 Refactoring DboSource::value() so postgres and mysq behavior is the same, updating test case 2010-10-17 23:38:55 -04:30
José Lorenzo Rodríguez
159776fc00 Refactoring possible common code to DboSource, now that PDO abstract disconnection from source 2010-10-17 23:37:56 -04:30
José Lorenzo Rodríguez
f3d3ee92f2 Implementing basic connection to postgres using PDO 2010-10-17 23:36:34 -04:30
Juan Basso
d771239104 Fixed support to save XML data in Models. 2010-10-17 22:47:43 -02:00
José Lorenzo Rodríguez
28685dc234 More replacements of assignation by reference 2010-10-17 19:20:21 -04:30
José Lorenzo Rodríguez
122cb1ec5b Removing mor assignments by reference 2010-10-17 18:58:03 -04:30
José Lorenzo Rodríguez
bcc1417e5d Making database stats dependent of fullDebug
Leaving lastNumRows commented out until some bugs are solved
2010-10-17 18:36:35 -04:30
José Lorenzo Rodríguez
10646ba2ad Removing duplicate assignation of same object that didn't make much sense 2010-10-17 16:17:53 -04:30
Juan Basso
b2035a5c96 Fixing tests that failing in Set because merge of Xml class. 2010-10-17 18:40:33 -02:00
José Lorenzo Rodríguez
ee4add9c32 Fixing test case 2010-10-17 15:53:44 -04:30
José Lorenzo Rodríguez
f215cd01f1 Fixing tests for CakeSchema 2010-10-17 15:25:04 -04:30
José Lorenzo Rodríguez
cbdfb3f76e Removing all references to mysqli 2010-10-17 11:49:17 -04:30
José Lorenzo Rodríguez
78717ab45c Fixing some test cases 2010-10-17 11:29:49 -04:30
José Lorenzo Rodríguez
c016f1d97b Impriving documentation 2010-10-17 11:28:11 -04:30