Commit graph

2674 commits

Author SHA1 Message Date
phpnut
df66228142 "Fixes #3682"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6150 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 07:18:59 +00:00
phpnut
2a310b36e3 "Fixes #3729, I18n::_ _loadMo() magicDb recognition fails on 64bit systems (And some older versions of PHP5)"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6149 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 05:40:00 +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
phpnut
21b89622cf "Fixes #3682, Unserializing cached file dies. If this issue still persists attache a zip file of the data dump and minimum amount of code to reproduce"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6147 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 00:25:03 +00:00
gwoo
44eae0705b updating dbos, fixes #3705
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6146 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 22:08:11 +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
gwoo
b7a0d4b31e making Santize entirely static, closes #2706
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6140 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-11 02:42:28 +00:00
nate
e6cceba47f Fixing warnings in Model::find('all') (Ticket #3712)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6139 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-10 03:28:21 +00:00
phpnut
0597a0ee70 "Fixing errors in the Dispatcher tests.
Refactored loading of controlllers"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6138 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-09 07:07:28 +00:00
phpnut
d4129b7c5e "Adding additional removal of harmful content when using Helper::clean();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6137 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-09 06:43:44 +00:00
gwoo
c7ddcab089 setting default time for FormHelper::dateTime(), adding boolean type to a select if pluralized var exists
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6136 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 19:31:47 +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
d6c918ec95 "Fixes #3689, Set::__map() array cast corrupt new object"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:59:54 +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
0382a9d197 "Fixes #3700, unserialization error"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6121 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:34:57 +00:00
nate
d9f713fefc Changing Model::$whitelist to filter fields in Model::save() instead of Model::set() (Ticket #3437)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6120 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:21:05 +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
13bd58587a "Correcting undefined index notice"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6117 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 16:04:29 +00:00
phpnut
72164591fb "Removing pr()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6115 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 02:08:18 +00:00
phpnut
d815b823dd "Fixes #3649, Page_Title Bug in Flash()/Render()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6114 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 01:47:17 +00:00
phpnut
1a223ee7a2 "Fixes #3618, Form::select don't call Form::_ _secure if option \"multiple\" is set"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6113 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 01:14:06 +00:00
phpnut
3a58f3cab6 "Fixes #3681, cascade has no effect"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6112 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:43:11 +00:00
phpnut
1c8577ed34 "Fixes #3675, View/ThemeView::renderElement() should reset plugin paths after rendering"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6111 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:27:50 +00:00
phpnut
063faf5a9c "Fixes #3449, Dispatcher using wrong filename for cache lookup"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6110 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:22:01 +00:00
phpnut
aa86d05b96 "Fixes #2298, Mail subject is not influenced by charset-setting"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6109 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-03 00:16:27 +00:00
phpnut
3030428eab "Updating TreeBehavior to use new find syntax"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6108 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 23:50:40 +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
phpnut
738449ee50 "Fixing Model::set() when null passed to first param, this was creating an empty keyed array"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6102 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:23:29 +00:00
phpnut
498d05ecd3 "Fixes #3666, Log files are not automatically created"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6101 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-02 22:11:00 +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