Commit graph

243 commits

Author SHA1 Message Date
nate
2ea8e4edee Adding NOT query conditions fix for Ticket #1793
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4167 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 21:24:30 +00:00
nate
a420c70c91 Optimizing findCount() query, and adding beforeFind() reference fix for Ticket #1693
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4165 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 20:36:00 +00:00
nate
19798c71b3 Adding 1.2 fix for Ticket #1797
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4132 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 00:17:52 +00:00
phpnut
4f1c5ef386 Wrapping all core messages in translation function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4129 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 22:49:47 +00:00
phpnut
238ddacded Cleaning up translations model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4124 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 20:30:09 +00:00
nate
982381dc74 Binding additional Behavior callbacks to Model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4108 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-19 19:26:02 +00:00
nate
b5face3516 Changing Model::del to check for existence of itself before allowing deletes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4099 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-13 04:04:15 +00:00
nate
37281be9de Checking if model exists when setting 'created' field, to enable use with custom IDs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4094 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 22:06:22 +00:00
dho
cc9b30ad2f Typo (ticket #1738)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4088 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 17:37:54 +00:00
dho
9ca5e14891 Adding new methods to Configure and moving all core messages using DEBUG to use Configure::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4069 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-05 09:49:59 +00:00
gwoo
ecb2b8c786 fix for generateList
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4065 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-04 06:59:56 +00:00
phpnut
adae18da2d Corrected doc comments in dbo sources.
Renamed DBO_Pear to DboPear

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4042 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 02:34:56 +00:00
phpnut
85b0e9c842 Adding core Oracle DBO driver
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4041 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 02:26:12 +00:00
phpnut
83afee9a52 Merging fixes between branches for DboSource::generateAssociationQuery()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4037 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 22:26:24 +00:00
phpnut
32d3349eb2 Adding fix for Ticket #1568.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4036 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 18:54:22 +00:00
nate
cc484ddbd2 Adding DboSource::order parsing fix for Ticket #1677
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4004 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 08:18:53 +00:00
phpnut
25eedb8502 Starting work on Translate model.
Restructured code to standards

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3995 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 18:15:36 +00:00
phpnut
e935b51b8d Adding fix for Ticket #1699
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3991 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 05:57:53 +00:00
nate
b479c5f49e Adding fix for Ticket #1701
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3989 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 05:32:18 +00:00
nate
e955f3fd65 Refactoring DboSource::update(), and adding magic finder method fix for Ticket #1673
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3955 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 07:53:31 +00:00
phpnut
ca5753bc39 Adding fix for Ticket #1683
This frees memory returned from a result set.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3943 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 20:23:43 +00:00
phpnut
fd65f226e6 Adding fix for Ticket #1626.
This fixes deleting of associated hasOne and hasMany when using bindModel before Model::delete()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3941 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 11:31:59 +00:00
phpnut
2e0ec28018 Fix for Ticket #1689.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3940 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 11:05:47 +00:00
phpnut
87af38c7dc Merging fixes from [3908] for Ticket #1689
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3909 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 20:25:13 +00:00
phpnut
b76c2179e1 Merged fixes from [3906]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3907 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 20:08:53 +00:00
phpnut
3180035f0f Merged fixes for Ticket #1681
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3905 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 19:58:53 +00:00
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