phpnut
d6159f1b09
Adding fixed for Ticket #1703
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3992 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 07:36:54 +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
gwoo
b056c5abbf
refactoring scaffold, if var $uses exists scaffold will use the first model specified in the array, if $scaffold is an array, only methods added to the array will allow scaffold to render, ex: var $scaffold = array('index'); only the index action will be rendered
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3988 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 05:23:33 +00:00
nate
bce8e016d2
Adding to last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3987 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:25 +00:00
nate
1e5dbe0e69
Adding to last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3986 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:00 +00:00
nate
c4bee9b414
Fixing validationErrors, and updating ClassRegistry alias for View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3985 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:45:03 +00:00
gwoo
2beb0f2f06
fixed bad check for uses from last commit, update scaffolding
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3984 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 02:31:18 +00:00
gwoo
dfcc29f6bf
refactoring scaffold, scaffodl views, generateFieldNames, FormHelper, ClassRegistry, missingView
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3983 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 01:04:19 +00:00
nate
890c0125c8
Adding model-based form creation to FormHelper, deprecating old methods, and fixing issue where using $uses in AppController overwrites existing models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3982 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 20:43:54 +00:00
dho
38596258f1
Fixing undefined variable errors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3981 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 15:24:58 +00:00
gwoo
59049a0fa8
refactoring scaffold and generateFieldNames
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3980 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 06:15:30 +00:00
gwoo
edef4155e3
changes to cake.generic.css
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3979 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 06:13:41 +00:00
phpnut
ccfd962f98
Renaming core view templates with the new CakePHP extension .ctp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3978 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 03:22:02 +00:00
gwoo
3bcf9e6044
fix for thtml custom missingView
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3976 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:10:59 +00:00
gwoo
9ad12b1f4e
removed errant echo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3975 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:06:20 +00:00
phpnut
aafdff2250
Fixing SessionComponent not loading when AppController has var $components set.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3971 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 22:58:58 +00:00
gwoo
9e404b3ce3
refactor of view paths
...
refactor theme view paths
fix cleanUpFields error, changed ext in controller to ctp, fix for paginate conditions and scope
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3970 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 22:04:43 +00:00
gwoo
4320acdb96
1.2: continue refactor of view files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3969 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 21:27:34 +00:00
phpnut
99f50e78c3
Removing class_exists('Model') in loadPluginModels()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3968 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 20:39:19 +00:00
phpnut
f8274a3862
Adding fix for Ticket #1698
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3967 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 20:30:17 +00:00
phpnut
76394b643f
Refactoring loading plugin views and layouts.
...
Plugin templates can be overridden in the app/views/plugins/$plugin/$viewPath directory
If template is not found in this directory or the app/plugins/$plugin/views/$viewPath a missing
view error will be rendered
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3966 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 19:58:16 +00:00
phpnut
0c0ba050cb
Cleaning up core views/caching.php
...
Removing unused files in app/webroot/css/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3965 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 18:23:53 +00:00
dho
3682fff468
Replacing deprecated $html->formTag with $form->create
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3964 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 17:33:42 +00:00
phpnut
e0096f0528
Fixing CacheHelper after removal of controller from View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3962 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 09:27:13 +00:00
nate
c680a98eea
Refactoring Controller::generateFieldNames()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3961 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 09:27:01 +00:00
nate
b7e8551143
Updating AjaxHelper docblocks to remove references to deprecated methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3960 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:57:27 +00:00
nate
41c79da1c3
Removing direct reference between View and helpers, and explicitly defining all Helper object properties
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3959 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:55:16 +00:00
phpnut
1fa21aa551
Refactoring session classes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3958 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:43:17 +00:00
nate
d4af73c2a6
Adding Overloadable2 interface for get() and set() magic methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3957 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:19:51 +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
nate
e8222444b8
Removing extra directory separators in uses() paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3954 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 06:42:24 +00:00
nate
11d5b0fa7b
Removing extra directory separators in uses() paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3953 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:31:26 +00:00
phpnut
c308326555
SessionComponent and SessionHelper to extend CakeSession.
...
Refactored both classes and added doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3952 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:15:08 +00:00
gwoo
f77254511f
1.2 updates to ACL
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3951 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 17:27:11 +00:00
dho
50a8925070
Replacing wiki link with link to the bakery
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3950 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 12:30:59 +00:00
phpnut
54f770ae53
Refactoring fix for Ticket #1648
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3949 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 04:41:56 +00:00
phpnut
e42df60a24
Adding fix for Ticket #1648
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3948 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 03:53:44 +00:00
nate
e8751b7103
Refactoring Security component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3947 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 23:06:19 +00:00
nate
00741f0ca6
Adding default overload methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3946 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 22:48:47 +00:00
phpnut
35ff9d45dc
Allowing loadModel to accept null as a param.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3944 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 21:39:09 +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
dho
ac310dbabe
Typo (ticket #1416 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3942 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 17:07:28 +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
553190bb98
Added fix for Ticket #1679
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3939 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:48:22 +00:00
phpnut
c41db64070
Adding fix for Ticket #1527
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3937 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:17:05 +00:00
phpnut
282ca26319
Adding fix for Ticket #1666
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3936 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:13:36 +00:00
phpnut
984ceb3b51
Adding fix for Ticket #1629
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3935 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:06:49 +00:00
phpnut
2d83d125e4
Updating core views to render better notices
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3934 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 09:50:20 +00:00
phpnut
9703a90937
Merging fix from [3228]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3933 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 07:51:13 +00:00
phpnut
6ed2c67521
Fixing bad merge in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3926 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 06:55:44 +00:00
phpnut
26350a3890
Changed code format for test files generated by bake.php.
...
Changed name of controller test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3925 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 06:51:50 +00:00
gwoo
46408b2a8b
1.2 bake: porting changes from 1.1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3924 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 06:46:10 +00:00
phpnut
92bce405b0
Merging fix from [3914]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3915 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 05:12:24 +00:00
phpnut
ac552a256e
Merging fix from [3912]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3913 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 21:32:59 +00:00
phpnut
ca5f7d952c
Merging fix when using Controller::persistModel = true and a requestAction method is used
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3911 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 20:33:21 +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
phpnut
4ebbdd9055
Fixing error in default view when database file is present.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3899 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 18:02:14 +00:00
phpnut
3343368dde
Adding loadModels() to cached views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3897 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 17:54:22 +00:00
nate
b11e215827
Refactoring Router to eliminate usage of NeatArray
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3894 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 16:33:50 +00:00
phpnut
2ab7e5120d
Removing Helper::readConfigFile().
...
tags.ini.php will not be used as of 1.2
file should be changed to tags.php and use php arrays.
$tags['tagname'] = 'value';
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3893 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 04:27:23 +00:00
phpnut
056bda7e4b
Moving all tags from Helper to child classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3892 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:51:21 +00:00
phpnut
22588729d4
Moving helper tags to specific helper classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3891 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:32:58 +00:00
phpnut
204ff6bcbb
Refactoring Helper class and adding tags.php as a var.
...
Removing old /config/tags.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3890 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:16:34 +00:00
phpnut
95c919a7a5
Updating changes made to the core files that are loaded
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3889 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:47:42 +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
nate
403bcb54b4
Fixing typo in tags.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3887 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:22:58 +00:00
nate
91b9b3be6c
Fixing Notice on "Missing Model" page
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3886 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:03:52 +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
51fe30c65f
Rewriting tags.php as a single array def
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3884 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 21:16:38 +00:00
phpnut
ca5778ff52
Removing bad characters in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3882 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:17:26 +00:00
phpnut
a867b2ff3e
renaming tags.ini.php to tags.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3881 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:06:35 +00:00
phpnut
30cf172bbc
Refactoring helper tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3880 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:05:57 +00:00
dho
38a606d2a2
Adding doc strings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3877 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-19 15:03:46 +00:00
gwoo
8b88865c29
1.2 RssHelper: fixing enclosure bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3876 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-18 22:58:29 +00:00
phpnut
7d63f4340c
Changing the date string used in CakeLog::write() to use full 4 digit year
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3875 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-17 03:04:45 +00:00
gwoo
d31434336b
fix for enclosures in rss helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3871 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 16:33:57 +00:00
phpnut
8048251fd0
Added implementation of Validation::decimal()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3869 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 06:14:12 +00:00
phpnut
ac30edb9f0
Implementing custom regular expression in Validation::date()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3867 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:51:35 +00:00
phpnut
ded7398254
Adding doc comment for Validation::date()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3865 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:37:47 +00:00
phpnut
6f6b068227
Finishing Validation::date()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3864 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 03:08:41 +00:00
nate
85ee09fb19
Purging the "evil" from comments
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3862 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-14 16:20:52 +00:00
nate
47c86b8c8b
Minimizing RequestHandler array usage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3861 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 19:55:30 +00:00
nate
eb59ae1534
Unsetting redundant form data in parseParams()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3860 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 19:53:42 +00:00
phpnut
f95285d75f
Starting to change all core code that uses $this->params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3859 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 00:12:34 +00:00
nate
99a420c8ef
Refactoring code, adding error message to deprecated method (View::setLayout), and updating method references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3858 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-11 21:05:00 +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
31623de654
Adding $scripts_for_layout to default template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3856 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:41:35 +00:00
nate
bd4f1aceff
Modifying JavascriptHelper::link() to accept arrays of links, and adding warning for deprecated methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3855 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:31:27 +00:00
nate
6ba7032e68
Moving strip_plugin() to Router::stripPlugin(), and enabling reverse routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3854 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 17:08:31 +00:00
phpnut
3ca4762d32
Adding Validation::date() implementation for:
...
mm/dd/yyyy mm/dd/yy m/d/yy m/d/yyyy
yyyy/mm/dd yy/mm/dd y/m/d/ /yyyy/m/d/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3853 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-09 16:26:54 +00:00
phpnut
678e1be889
Adding Validation::date() implementation for dd/mm/yyyy dd/mm/yy d/m/yy d/m/yyyy
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3851 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-09 14:19:32 +00:00
phpnut
fa3e71d169
Additional changes to Validation::comparison()
...
Refactored Validation::custom()to set an error.
Added more doc comments.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3849 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 22:48:15 +00:00
phpnut
2a5f53ddb9
Changes made to Validation::comparison().
...
Added Validation::__reset().
Removed redundant code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3847 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 21:15:34 +00:00
phpnut
a046a338bb
Changed Validation::cc() so custom regex match will call Validation::_luhn()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3845 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 12:50:39 +00:00
phpnut
57ef07a04d
Added additional credit card validation regex in Validation:cc().
...
Added Validation::_luhn() to check the Luhn algorithm or credit cards.
[http://en.wikipedia.org/wiki/Luhn_algorithm Luhn algorithm]
Added new doc comments for both methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3843 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 10:55:07 +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
nate
13c579292a
Refactoring and moving countdim() to Set::countDim()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3840 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 03:26:09 +00:00
nate
97753554c6
Adding Security::requireSecure() to require controller actions to be accessed via SSL-secured connections
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3839 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 02:18:41 +00:00
nate
199eac5a35
moving strip_plugin() to Router::stripPlugin()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3838 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 02:07:11 +00:00
phpnut
803bf4d0e4
Correcting Validation::blank() implementation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3837 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 01:56:07 +00:00
phpnut
d2ffbe2016
Adding changes to Validation::alphaNumeric().
...
Added doc comment to Validation::alphaNumeric() and Validation::between()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3835 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 01:09:56 +00:00
phpnut
20da5e67a7
Formatting Validation class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3830 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-07 21:05:48 +00:00
dho
a1be115dd1
Fixing several problems related to creating unit tests (ticket #1624 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3829 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-06 09:12:38 +00:00
phpnut
4cfafba726
Fixing overload() calls in both branches
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3828 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-05 06:56:28 +00:00
phpnut
d77a19e4a4
Adding fix for loadModel() not checking for existence of model before loading
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3827 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-05 06:29:15 +00:00
phpnut
969676bbf9
Fixing path search for the test suite in bake script
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3826 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-04 07:08:17 +00:00
gwoo
1db5de6623
1.2: bake, merging changes from 1.1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3823 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 22:47:43 +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
cf6aef3059
Enabling full base URL to be used with array-based URLs in Router::url() (Ticket #1444 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3818 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 19:38:54 +00:00
phpnut
0a2db46225
Added a few changes the AclCLI::upgradedb()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3814 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 06:24:49 +00:00
phpnut
a8c98f38d9
corrected method name
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3813 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 06:09:34 +00:00
phpnut
0c759b9ce7
Adding AclCLI::upgrade() for upgrading previous releases to 1.1.9.x and above
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3812 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 06:01:48 +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
e17610842c
Refactoring RequestHandler::setAjax() to use respondAs(), adding fix for respondAs(), and adding RequestHandler::isSSL() (Ticket #1604 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3808 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 04:53:27 +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
gwoo
9b659da949
1.2: changing some names in Xml class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3804 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 19:20:50 +00:00
nate
b002cd0ec3
Updating method names in XML and XMLNode
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3803 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 18:08:21 +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
d4e539f1a5
Removing inline comment since \n is not longer converted to < br/>
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3800 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-02 03:51:26 +00:00
nate
91ade8fe45
Enabling overload of AppHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3798 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 20:42:11 +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
dho
f6be113855
Adding functionality to add and modify database configurations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3790 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 08:57:51 +00:00
phpnut
9bc506b058
Merging fixes from 1.2.x.x into 1.1.x.x and vice versa.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3788 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 07:15:44 +00:00
phpnut
d6b2545628
Adding fix for #1544 .
...
Adds additional path searches for elements and layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3786 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 06:51:57 +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
ce9f9bc4da
Adding $this->params['requested']; if method is called through requestAction
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3783 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 04:54:25 +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
phpnut
b4306ac594
Adding fix for #1606
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3781 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 03:24:49 +00:00
gwoo
45fd88df49
bake in 1.1 and 1.2 refactor and bug fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3780 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 19:57:17 +00:00
phpnut
d7724fbfc4
Adding Controller::_selectedArray() to 1.1.x.x branch
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3779 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 19:35:47 +00:00
dho
7a69c02c7c
Adding functionality to rename database.php.default to database.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3777 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 15:59:59 +00:00
dho
fb7e66881c
Fixing wrong key names for hasMany associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3775 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 08:07:16 +00:00
phpnut
19f5a9b677
Adding fix for #1556 .
...
Errors are no longer cached
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3774 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 06:52:04 +00:00
phpnut
f22dc77ea1
Added fix for #1442 .
...
SessionHelper was creating a second instance of CakeSession which would call the session_start(). Added a second param that can be set to false so this does not happen anymore
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3771 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 06:06:16 +00:00
phpnut
d9113f5165
Adding fix #1532
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3770 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 05:23:37 +00:00
phpnut
8963f1d4e1
Added fix for #1535 .
...
Whitespaces are now preserved in error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3769 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 05:01:48 +00:00
phpnut
581dec2248
Applied part of patch from #1603
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3768 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:42:36 +00:00
phpnut
54583f0afe
Changing code in View::_loadHelpers() to use Inflector::variable()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3767 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:20:57 +00:00
phpnut
1634eefce5
Adding Inflector::variable() to create camelBacked version of a string
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3766 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:14:26 +00:00
dho
846af89259
Refactoring help parameter handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3764 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-30 17:58:50 +00:00
nate
40381bf3ff
Allowing SessionComponent::write() to accept an associative array of keys/values
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3763 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-30 16:35:57 +00:00
gwoo
b68181311c
fixing #1598 : bake edit actions
...
fixing baked views with admin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3762 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 20:15:41 +00:00
nate
802ec2d913
HTML-escaping select option titles (Ticket #1577 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3761 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 16:02:58 +00:00
phpnut
02df38c26f
Renaming user_id to foreign_key in all ACL scripts
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3758 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 04:40:30 +00:00
phpnut
6af7c6cca9
Added fix for #1317 .
...
Method would return true on the first loop if persistModel was set to true.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3756 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 02:54: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
607dfac428
Enabling auto-load for AppHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3751 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 21:41:34 +00:00
nate
de52eb88c9
Updating helper class hierarchy, and adding 1.2 fix for Ticket #1569
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3750 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 21:40:34 +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
094ed0e0d5
Adding AppHelper shell class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3747 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 17:10:13 +00:00
dho
c18cd26ccb
Adding PHP5 constant
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3746 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 07:41:49 +00:00
nate
58f1dcd0ff
Adding install task for bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3745 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 17:31:46 +00:00
dho
41465fe8bd
Typo fixed (ticket #1590 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3744 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 16:29:10 +00:00
nate
b90109059c
Removing references to $this (Ticket #1587 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3743 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 16:29:10 +00:00
phpnut
12a6df23ef
Adding Controller::_selectedArray().
...
Changed Bake to use _selectedArray instead of _ _selectedArray()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3742 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 03:08:53 +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
dho
d9b8b52eba
Adding definition for WWW_ROOT constant (ticket #1533 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3738 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-24 14:45:55 +00:00
dho
2069b63e11
Fixing a problem with PHP4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3737 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-24 12:10:33 +00:00
dho
2b008eb66a
Initial version of a DBConfig task
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3735 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-22 16:04:30 +00:00
dho
c186656ae3
Show error message if a task is not found
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3734 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-22 12:34:50 +00:00
nate
81342be675
Adding additional options for Object::trace()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3732 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-21 01:46:22 +00:00
gwoo
8b680a0107
1.2: router fix for plugins in url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3731 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 21:58:43 +00:00
gwoo
da2cf11ef3
1.2: pass the plugin name to renderElement
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3730 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 21:48:35 +00:00
gwoo
cd81fd3b24
baker 1.2: last one before adding i18n support back
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3729 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 20:58:14 +00:00
nate
4caa838d09
Adding output fix for dynamically-called methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3728 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 19:20:50 +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
607158de45
Removing deprecated method AjaxHelper::linkToRemote()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3726 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 17:22:23 +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
gwoo
20bdd8181b
bake 1.2 : removed _ _() for now, added admin to urls for admin methods and views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3722 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 01:19:46 +00:00
gwoo
755e3dbae1
1.2: updated file_put_contents in basics to return number of bytes written or false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3721 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 18:14:09 +00:00
dho
8115129597
Actualizing config file in skel folder
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3719 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 07:39:59 +00:00
gwoo
5b6eb9f59d
1.2: updating bake to use _ _() function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3718 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 04:55:07 +00:00
phpnut
64359fe7ba
Removing functions from basics.php that where added as workarounds for PHP < 4.3.
...
Removing legacy.php and all references to the file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3717 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-19 00:37:29 +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
9c8d4d83dd
Adding Router fix for # URLs (Ticket #1552 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3715 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 21:15:54 +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
114a465a36
Adding fix for Ticket #1551
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3712 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 18:07:55 +00:00
phpnut
ad65992ead
removed bad char in my last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3711 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 17:51:29 +00:00
phpnut
2e4101a54b
Removed variable from the I18n::translate(); in basics.php __() function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3710 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 17:17: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
phpnut
260c257514
Fixing bug in bake that would use the class name for the foreign key in a hasOne association
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3708 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 13:00:34 +00:00
phpnut
37329bb385
Reverting changes in [3706]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3707 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 12:55:19 +00:00
phpnut
e6e50dc936
Warning: Invalid argument supplied for foreach() in /project/cake/libs/controller/controller.php on line 724
...
Error would occur when the associated table did not contain any records
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3706 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 12:23:28 +00:00
phpnut
b64e19073b
Fixed bake script dropping associations if no is selected during the model creation.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3705 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 11:22:34 +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
gwoo
6d572a2b2b
bake: fixing lists
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3700 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 00:16:09 +00:00
nate
b570516c7e
Adding more docblock information to RequestHandler, and enhancement for respondAs()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3699 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 20:23:30 +00:00
gwoo
cf81d3077a
bake: add list of controllers for controllers and view baking, just like models.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3698 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 19:37:55 +00:00
gwoo
3e2c52a5ab
bake: fixing generated views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3697 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 18:28:52 +00:00
gwoo
0078f8291e
updating generic css
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3696 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 18:15:18 +00:00
gwoo
1b09e10216
bake: fixing controllers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3695 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 18:01:58 +00:00
gwoo
251bf74e6a
bake: fixing pluralName error
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3694 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 17:39:48 +00:00
gwoo
0f4783b2ad
bake: stop the primaryKey from being printed if it equals id
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3693 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 16:49:09 +00:00
gwoo
51f95aada4
re-format of generated model code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3691 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-17 05:05:08 +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
gwoo
3e21696255
removing debug code from bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3688 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 20:57:56 +00:00
gwoo
cefde59a76
some more fixes for custom associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3687 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 20:30:27 +00:00
gwoo
4e081f804e
some more fixes and code changes in bake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3686 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 11:19:39 +00:00
gwoo
25b1bfa1c2
fix for custom model table in bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3684 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 08:33:23 +00:00
gwoo
6f2d0f6951
fix for custom model name in bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3683 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 08:28:26 +00:00
gwoo
5b0738d73f
fix for custom associations in bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3682 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 08:13:41 +00:00
gwoo
8e8898102c
fix for custom associations in bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3681 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 07:30:01 +00:00
gwoo
efa9eaba4d
fix for custom associations in bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3680 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 07:10:32 +00:00
gwoo
7554887b1e
fix for custom associations in bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3679 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 06:45:13 +00:00
gwoo
9a4e2c4f48
fix for custom associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3678 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 06:19:46 +00:00
gwoo
878d786f05
removed useTable from bake model if it follows conventions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3677 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 06:06:49 +00:00
gwoo
c9a209ec92
updating bake 1.2 model building
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3676 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-15 05:58:13 +00:00
gwoo
f67e3189ab
changing default connect setting in bake to connect rather than pconnect
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3671 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 19:05:23 +00:00
phpnut
337a7af264
Removing bad character in bake script
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3670 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 18:45:00 +00:00
phpnut
3d47887211
Updating Bake to create admin route in core.php if not already set and admin routing option is used.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3669 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-14 18:07:52 +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
gwoo
94bd840e8a
another fix for Set::extract()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3653 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 20:21:38 +00:00
gwoo
d39b398a20
another fix for Set::extract()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3651 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 20:08:00 +00:00
gwoo
294bf20624
fixing Set::extract()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3645 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 19:00:04 +00:00
gwoo
1c1bc8bfa8
more happy fixes for bake, admin option works now
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3640 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 09:31:20 +00:00
gwoo
89549ec129
fix belongsTo select for bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3639 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 08:52:26 +00:00
gwoo
46b1451a8e
another fix for bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3638 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 07:54:27 +00:00
gwoo
9d1c5334bd
another fix for bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3637 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 07:51:55 +00:00
gwoo
80481ae318
added extract() to Set, added format() to TimeHelper, fixed bake admin views creation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3636 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 07:41:10 +00:00
gwoo
c7e5a528a3
removing debug code from bake 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3635 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 04:45:12 +00:00
gwoo
1a977a2053
bake fix for root path
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3633 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 03:46:47 +00:00
nate
8a64ba93fc
Refactoring Paginator helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3631 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 20:03:58 +00:00
phpnut
e2ffad5a65
Reverting changes made in [3622] and reopening ticket #1442
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3630 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 20:03:56 +00:00
nate
91f6adcfab
Adding Paginator helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3629 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 19:45:12 +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
gwoo
ff847150e2
bake 1.2 fixes, skel and css updates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3627 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 22:05:41 +00:00
gwoo
5f88da5d70
bake 1.2 fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3625 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 20:00:35 +00:00
gwoo
79a538d6c5
updating css and bake in 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3624 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 18:24:25 +00:00
phpnut
ebbb773c57
Moving session_start to CakeSession::__begin()
...
Fixes #1442
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3622 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-10 00:49:38 +00:00
phpnut
af7856e505
Adding fix for #1489
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3621 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 23:44:20 +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
phpnut
d88f2bae9a
Reverting changes made to the Session class related to #1442
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3617 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:33:13 +00:00
nate
0544a063f6
Adding 1.2 fix for Ticket #1442
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3616 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 21:06:29 +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
gwoo
f0ce5ba0ce
bake refactoring for 1.2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3613 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 20:27:28 +00:00