nate
bb2a68caec
Rewriting SQL generation for self-joins
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4679 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:16:43 +00:00
nate
6afca88bb2
Patching SELECT query test in DboSource::fetchAll() (Ticket #2288 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4678 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 19:46:16 +00:00
nate
f48b908ac6
Disabling ORDER BY clause for Model::findCount (Ticket #2227 ) and updating test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4677 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 18:17:15 +00:00
phpnut
b899bb58b4
Adding fix for Ticket #2183
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4674 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:14:41 +00:00
phpnut
f8023ff0dc
Added $config['database'] mysqli_connect() in DboMysqli::connect(), removed mysqli_select_db()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4661 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:56:42 +00:00
phpnut
330630c9d0
Adding fix for Ticket #2214
...
Removed persistent connection setting in DboMysqli::connect() since there is no persistent connection function for mysqli
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4656 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 08:57:42 +00:00
phpnut
2925df7c54
Adding fix for #2210
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4655 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 07:08:40 +00:00
nate
c65f2a1fd2
Fixing boolean conditions expression handling in DboSource::conditionKeysToString() and added test case (Ticket #2268 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:59:28 +00:00
nate
2a095d9ea6
Fixing redundant SQL condition generation in DboSource::conditionKeysToString(), fixing SQL ORDER parsing (Ticket #2266 ) and updating test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4644 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:26:42 +00:00
nate
c2c17f9b90
Fixing MySQL schema generation for null columns
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4637 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-21 05:00:54 +00:00
nate
5197bf60d3
Updating DboSource with new query generator, and updating model/dbo test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4636 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-20 17:38:53 +00:00
nate
e1452240e1
Fixing order of operations in Model::invalidFields() (Ticket #2229 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4629 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 02:59:48 +00:00
nate
222d19a43a
Adding Model::create() fix for Ticket #2200 and updating test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4628 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 00:24:33 +00:00
nate
de7423e4b6
Adding phishy's Oracle patch, fixing Sybase queries and column defs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4620 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 14:23:54 +00:00
nate
00c3711dd4
Fixing $_this reference in ConnectionManager (Ticket #2254 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 13:26:09 +00:00
nate
3b0a6bf5d4
Fixing 'ambiguous column' bug in Model::findCount()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4592 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 17:47:16 +00:00
phpnut
fd3e9fe9f8
Adding fix for Ticket #2198
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4590 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 14:48:49 +00:00
phpnut
a9c128b0ec
Adding fix for Ticket #2101 .
...
Changed Helper::loadConfig() to accept a param with the name of the file to load
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 13:48:21 +00:00
phpnut
0e44a16fbd
Adding fix for Ticket #2161
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 13:00:50 +00:00
phpnut
41aff9c2f6
Adding fix for Ticket #2055 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4576 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:33:21 +00:00
phpnut
55a66a9091
Adding fix for Ticket #2084
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4574 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 05:19:30 +00:00
phpnut
b3b1c80a69
Adding patch from Ticket #2176 , extracts the sequence name from the default value for the primary key and returns it's last value
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4572 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:54:48 +00:00
phpnut
82d0c2e742
Adding fix from Ticket #2074
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4569 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:05:57 +00:00
nate
7c9e71e72d
Refactoring Model::getColumnType() and Model::getColumnTypes()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4567 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-03 15:18:45 +00:00
phpnut
ff434df4e5
Adding fix for #1815
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4534 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:17:28 +00:00
phpnut
a324348be2
Adding fix for #2068 .
...
Renaming Translate to TranslateBehavior.
Added empty class methods to TranslateBehavior.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4533 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:10:11 +00:00
dho
076a5dbd63
Renaming $__transactionStarted to $_transactionStarted (ticket #2141 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4527 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 08:28:09 +00:00
dho
34c63427fb
Renaming $__sources to $_sources (ticket #2140 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4526 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:31:29 +00:00
phpnut
46c5c36fcb
Moving Translate class to the behaviors directory.
...
Moving i18n sql to app/config/sql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4525 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 07:07:57 +00:00
nate
a633a7392a
Adding key fix for Model::create() (Ticket #2106 ), and adding warning message for model load failures
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4522 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 18:45:47 +00:00
nate
64bbd74c85
Refactoring ACL and tree code for query optimization changes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4521 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 06:09:20 +00:00
nate
6989f80376
Fixing the display of SQL errors when DEBUG > 0
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4520 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 03:03:17 +00:00
phpnut
074598a96f
Adding the DB2 driver submitted by Daniel Krook
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4519 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 20:41:06 +00:00
nate
c78b777db7
Optimizing ACL node querying
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4517 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 07:26:42 +00:00
nate
2a954b5fbf
Refactoring ACL system to require less model code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4502 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 22:59:08 +00:00
nate
c87b48e034
Refactoring AclBehavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4501 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 20:28:22 +00:00
nate
96abdcb619
Fixing ACL node creation for multiple insertions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4494 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 04:15:25 +00:00
nate
b50b478f8a
Fixing permissions setting for ACL
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4493 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 21:26:09 +00:00
nate
45bff19372
Loading additional ACL model classes in AclBehavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4492 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 19:13:38 +00:00
phpnut
de3d0bb193
Adding define ACL_DATABASE
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4491 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 18:33:32 +00:00
phpnut
115037e815
Adding missing headers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 18:18:01 +00:00
nate
30134cbd9e
Importing new ACL system
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4487 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 08:13:13 +00:00
nate
a7653e4d80
Changing param order in Model::updateAll() so it makes more sense
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4479 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 18:36:26 +00:00
nate
fbc0ea77b7
Fixing $conditions === true in DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 18:13:14 +00:00
phpnut
af4bacb960
Reverting changes made in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4477 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:58:19 +00:00
nate
1e4ce0d35d
Implementing Model::deleteAll()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4476 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:50:47 +00:00
nate
15f7509171
Refactoring set() method into Object, and adding $conditiions === true translation in DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4475 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:33:59 +00:00
nate
0baab3b06f
Updating Behavior class def with new callback param
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:37:49 +00:00
nate
76548b0aad
Refactoring Model::save() and adding $created parameter to afterSave()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:36:19 +00:00
dho
24d65cafbc
Fixing typo (ticket #2057 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 12:26:31 +00:00