gwoo
9f8b4b2cd5
updating scaffold view handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 18:14:10 +00:00
gwoo
ef3b73d690
adding plugin task, closes #965
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 02:54:45 +00:00
gwoo
60f4dd360d
updating View and Controller::flash, fixes #3749 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6177 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-20 01:19:19 +00:00
nate
cd8c26bda7
Allowing models to save empty records if they have a created, updated, or modified field (Ticket #3501 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6173 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 02:05:15 +00:00
nate
570e71f62a
Adding fix for Router named arguments where arg value contains the separator key (Ticket #3752 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6172 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 01:49:25 +00:00
phpnut
608f32172e
"Adding missing fixture"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6167 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 18:07:36 +00:00
mariano.iglesias
d5a8cd3c22
Changing valid XHTML comment of script blocks and adjusting tests, fixes #3746
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6166 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 17:02:54 +00:00
gwoo
dcb9996b43
updating view loading helpers, fixes #3744 , tests added, uses Inflector::slug() for element cache file name, uses renderElement for dump of cakeDebug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6165 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 07:28:53 +00:00
nate
68b024e187
Enabling custom URLs in HtmlHelper::image(), and adding FormHelper::file() tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6163 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 23:46:56 +00:00
gwoo
f0f5d1ca09
updating FormHelper::submit() to handle images, deprecated FormHelper::submitImage(), added tests, closes #3741
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6161 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 18:46:02 +00:00
gwoo
c4eb4caef8
adding configure group test and fixing view group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6160 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 16:55:59 +00:00
gwoo
01b52fec4a
updating schema, fixes #3718 , added $cache param to Configure::listObjects(), updating view tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 02:06:10 +00:00
gwoo
67bbb0e93e
refactoring view classes, added ScaffoldView that extends ThemeView in scaffold.php, adding tests, adding test_app with files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6155 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 22:20:44 +00:00
nate
481cbf521e
Adding fixes to Router::normalize() when called with empty parameter (Ticket #3734 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6152 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:09:05 +00:00
nate
003aaec870
Adding PaginatorHelper::url() (Ticket #2493 ), refactoring Paginator, eliminating extra space in <a /> tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6151 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:07:25 +00:00
phpnut
1e6665909b
"Fixes #3101 , Model::deconstruct() corrupting fields
...
Fixes #3726 , Saving date, datetime, and time into database (form->input)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6148 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 04:21:58 +00:00
nate
9d58121205
Removing trailing slash from normalized URLs in AuthComponent, moving AuthComponent::_normalizeURL() to Router::normalize(), refactoring (Ticket #3042 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 07:03:59 +00:00
nate
6c719eca1a
Removing Model test case 2
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6144 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 04:05:04 +00:00
gwoo
16ee2d2661
fixing fieldSuffix in Helper::setEntity(), closes #3724 added tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6143 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 04:08:19 +00:00
gwoo
98859c8c72
updating FormHelper to use fieldset instead of p. Inline styles are still used on these elements. We are not promoting the use of inline style, merely attempting to make life easier. Also, this adds a fieldset to multiple checkboxes if there is a group and also wraps the multiple checkboxes in divs and provides proper label for and input id attributes. also some changes to generic css to handle markup. Closes #3703
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6142 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-12 00:46:21 +00:00
gwoo
b6b2696488
allowing RequestHandler to load helpers for extension from any path, closes #2230
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6141 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-11 03:01:46 +00:00
nate
4689258464
Adding REST route matching fixes (Ticket #3665 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6135 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 16:59:57 +00:00
nate
78b1452fca
Adding assertions to model test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6134 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 09:01:14 +00:00
nate
e56b92255f
Adding lower bound for page numbers in Controller::paginate() (Ticket #3683 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6133 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:54:27 +00:00
nate
0b9f2c1b9d
Array handling fix for Paginator and additional test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6132 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:46:01 +00:00
nate
c2db2a3936
Adding test case for Model::saveField() (Ticket #3687 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6131 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:22:20 +00:00
nate
5c11da9c3d
Adding whitelist-enabled fixes for TreeBehavior (Ticket #3472 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6130 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 08:09:46 +00:00
mariano.iglesias
91ecdfdf15
Fixing tests for AjaxHelper and PaginatorHelper since code blocks generated by JavascriptHelper are now XHTML complaint
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6129 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 07:10:19 +00:00
phpnut
8a2b51c3ec
"Removing all shortcut function usage from the core"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 06:08:03 +00:00
mariano.iglesias
5adbf2d75b
By default codeBlock generates XHTML strict valid blocks.
...
All options to JavascriptHelper functions are now set via array. Functions that use codeBlock (such as event) also allow options for codeBlock to be sent in $options array.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6127 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 21:24:05 +00:00
phpnut
5cb90731f2
"Closes #3664 , Some units tests for Set::pushDiff();"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6126 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 17:27:45 +00:00
gwoo
f3d0b54cb3
fix for Helper::setEntity(), tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6125 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-07 10:55:42 +00:00
mariano.iglesias
7d8bf76744
Adding tests for RssHelper::items
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6124 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 20:05:03 +00:00
phpnut
34227c0f68
"Fixes #3702 , Radiobutton field ids conflict when using 2 models with the same fieldname"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6122 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:55:44 +00:00
phpnut
872dfbfcef
"Correcting Helper::setEntity() check if $parts[0] matches current model
...
Added tests for fix.
Adding escaping of \\ in FileEngine::write();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6119 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 07:43:19 +00:00
gwoo
adcba2cc2d
updating Helper::value, adding some tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6118 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 01:16:14 +00:00
phpnut
4dbd53e3d9
"Fixes #3645 , DboSource::conditions() bug ($conditions = null, $where = false)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6107 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:39:43 +00:00
phpnut
13530f42dc
"Correcting typo"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6106 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:03:13 +00:00
phpnut
61eebea0f4
"Refactoring Controller::paginate()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6105 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:58:23 +00:00
nate
a61b32c91e
Adding fix for AjaxHelper::form() (Ticket #3582 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6104 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:42:59 +00:00
nate
73d4844b22
Adding log file creation test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6103 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:40:23 +00:00
nate
6a8c1474e0
Adding fix and updating test case for Model::find('count') (Ticket #3581 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6100 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 21:39:43 +00:00
nate
00dc6dedb5
Adding fix for Controller::paginate() when default model is loaded from a plugin (Ticket #3660 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6098 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-30 22:27:43 +00:00
phpnut
625b86dc9b
"Fixes 3655, $form->end() is missing 'div' customizability when passing to $form->submit();
...
Added additional tests, updated doc comment"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6096 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-29 07:33:51 +00:00
gwoo
86dafa3009
updating Set::map() to return an array of objects if the key is numeric. Changed __identity__ to _name_, updated tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6091 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 17:57:59 +00:00
phpnut
d13c836ae9
"Correcting tests for php 4"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6090 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 02:14:24 +00:00
gwoo
21bea5ffb5
updating Set class and added valid test, fixes #3652
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6088 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 00:33:10 +00:00
phpnut
c6f9c4bdb1
"Fixes #3589 , Model::deconstruct() undefined index notice with $data['meridian']
...
Fixed loading of classes in Model test"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6086 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-26 18:00:06 +00:00
gwoo
101ebba716
updatin HtmlHelper::css() to accept .css?1234, closes #3503
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6080 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 20:17:25 +00:00
gwoo
28ada1f684
updating HtmlHelper::nestedList() to accept string type ul/ol as second attribute, also closes #3144
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6079 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-25 20:12:51 +00:00