phpnut
883ecc1cd0
Merged fix for Ticket #1675
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3903 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 19:36:59 +00:00
nate
099144bcbd
Changing Set interface to act like NeatArray, disabling Model::cacheQueries by default, and removing NeatArray usage in Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3888 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:40:30 +00:00
phpnut
c773b64bfe
Starting to refactor model loading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3885 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 21:48:05 +00:00
nate
26955aefda
Adding coding-issue fix (Ticket #1633 ), and insert ID fix (Ticket #1641 ), and updating method reference
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3857 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:45:46 +00:00
nate
075891f1f9
Refactoring code and updating method references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3841 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 03:28:24 +00:00
phpnut
b42373467f
Adding fix for scaffold when using an alias association, mostly found on self joined models, or models that have multiple associations to the same model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3820 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 21:01:24 +00:00
gwoo
8fef7cf4ba
1.2: fix for groupPath recursive in generateList
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3819 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 19:49:32 +00:00
nate
3b8b34114b
Adding path fixes for DataSource loading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3809 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 05:45:11 +00:00
nate
eb01aad01d
Fixing associations for ADODB driver (Ticket #1568 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3806 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 04:10:40 +00:00
nate
50da950aba
Fixing Model::findCount() for ADODB (Ticket #1613 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3802 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 14:44:44 +00:00
phpnut
dedb404423
Merging fixes for associations to 1.1.x.x branch
...
Removed commented code from Model::_ _generateAssociation() in 1.2.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3796 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 20:31:45 +00:00
phpnut
708dc77ae8
Merging __mergeAssociation() into 1.2 branch
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3793 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 19:27:08 +00:00
phpnut
f187ac9cef
Adding fix for IN( sql.
...
Merging fixes between versions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3792 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 19:19:11 +00:00
dho
613bb29300
Adding special log output for cli
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3791 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 15:58:52 +00:00
nate
e72eba2f82
Fixing PostgreSQL boolean conversion (Ticket #1586 ), and fixing code formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3784 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 06:14:50 +00:00
phpnut
29ba60481a
Fixing DboSource::execute() so it only logs when fullDebug is set to true
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3782 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 03:52:41 +00:00
nate
add6e512e7
Adding Model::__wakeup() (Ticket #1582 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3754 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 00:42:51 +00:00
nate
0bab7de4d6
Updating docblock for Model::create
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3753 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 22:35:40 +00:00
nate
d22e84af09
Fixing code formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3752 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 21:42:29 +00:00
nate
45f27cda1c
Refactoring Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3748 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 18:14:35 +00:00
nate
79a8944ba4
Refactoring Dbo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3741 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-25 13:43:35 +00:00
nate
2046eed40d
Refactoring DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3740 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-25 13:27:32 +00:00
gwoo
42676402d3
fix for #1572 , $this->id set to lastInsertId after save
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3739 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-25 12:07:16 +00:00
nate
2993a8d412
Adding Router path fixes for error pages (Ticket #1566 ), fixing code formatting (Dispatcher), and adding API enhancements for model behaviors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3727 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 17:24:37 +00:00
nate
3ed7c6e931
Adding 1.2 fix for Ticket #1498
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3725 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 02:32:50 +00:00
nate
fd4d9e41e2
Additional commit for [3713]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3716 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 23:03:55 +00:00
nate
7506859555
Fixing DataSource path typo in ConnectionManager, and removing hardcoded paths to DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3713 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 19:35:29 +00:00
nate
57f27126bd
Adding conditions-based updating to DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3709 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 15:38:37 +00:00
gwoo
d485edd1ab
adding fix for generate list to 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3703 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 01:07:09 +00:00
nate
eea428e55d
Code formatting and 1.2 interface updates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3689 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-16 20:02:34 +00:00
nate
8b23234b53
Fixing code formatting in DBOs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3668 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 17:21:28 +00:00
nate
3a03674c76
Moving DataSource::getFieldValue to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3667 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 17:19:03 +00:00
nate
d66ca81671
Adding validation logic fix (Ticket #1518 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3628 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 22:29:13 +00:00
nate
d412939912
Refactoring Model::save and teaching Model to eat XML
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3620 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 22:00:22 +00:00
nate
76e52d3862
Adding fix for decimal numbers being quoted (Ticket #1360 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3618 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:42:35 +00:00
nate
1842759ed4
Adding 'with' join fixes, and field quoting fix for Ticket #1445
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3614 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:03:45 +00:00
nate
49d8dac242
Merging in MS SQL fixes from 1.1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3591 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 22:41:50 +00:00
nate
f0a44f4810
Small refactoring in DboMysql
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3588 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:51:35 +00:00
gwoo
46d9b86b76
adding fix for #1465 and #1469
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3581 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 16:44:02 +00:00
nate
f01e1a28f4
Adding field quoting fix for Ticket #1372
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3536 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 03:56:57 +00:00
nate
9a03326ad6
Adding DboPostgres::value() fix for boolean values (Ticket #1285 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3528 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 05:00:06 +00:00
phpnut
bdf3e7e61f
Fixed #1433
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3524 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 03:26:52 +00:00
phpnut
2d6eee36ac
Refactored fix that was created in [3519]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3521 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 15:24:15 +00:00
phpnut
6cc9c12839
reverting changes made in [3519]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3520 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 15:17:17 +00:00
phpnut
79ad31c514
Adding fix for #833 .
...
Fixes recursive >=1 when using Model::findCount();
Removed all fields being added to the query.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3519 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 07:20:51 +00:00
nate
68e046e3a2
Adding 1.2 branch fix for Ticket #1357
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3515 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 02:50:53 +00:00
phpnut
fb7585e7ee
Added fix for #1345 and #1417 .
...
This fixes Self Referencing Models losing data when recursive > 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3513 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 02:08:54 +00:00
phpnut
ead9f329e9
Adding fix for #1396 .
...
Would not allow saving values with \ in the string
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3504 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 02:39:06 +00:00
phpnut
fc54b0f31a
Adding fix for #1165 .
...
Changing Model::__constructLinkedModel() to use the association name for
the instance of an associated model.
Changed DboSource::read() to use the association name.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3484 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 21:59:51 +00:00
phpnut
f08a4d7fa2
Removing empty lines
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3480 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-14 18:50:33 +00:00