Commit graph

691 commits

Author SHA1 Message Date
phpnut
9bed2fa6d7 "Fixes #3255, Adding link attributes to breadcrumb links in Html helper"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:07:27 +00:00
phpnut
f9c1058a20 "Closes #3295, Centralize encoding / charset setting in one Configure setting"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 09:08:36 +00:00
phpnut
23ad8a4c7d "Closes #3651, Allow the specification of an interval in the generation of the minute select"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 06:45:48 +00:00
gwoo
66fc807b93 note to self, remember to make a diff first
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:18:00 +00:00
gwoo
1ee0b564e1 adding TimeHelper::toQuarter() with range, closes #3121
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 02:16:20 +00:00
mariano.iglesias
9160660f58 Allowing AjaxHelper::observeForm to receive frequency setting for periodical observations.
AjaxHelper::drop and AjaxHelper::dropRemote can also accept arrays in their 'accept' setting.
Adding more tests for AjaxHelper.
Making AjaxHelper::autoComplete accept only dot notation fields. Adding callback setting for autoComplete.
Closes #2438, closes #3038, closes #3058, closes #3316.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-24 01:45:39 +00:00
mariano.iglesias
12075ec7c1 Adding contentType, encoding and postBody AJAX options.
Adding onCreate (specify 'create' in $options) and onException (specify 'exception' in $options) callbacks. All callbacks should be specified using their aliases (so use 'complete' => 'completeFunc();' for onComplete callback, etc.)
Adding tests for AJAX helper.
Closes #1244, closes #2644, closes #2856.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6234 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 21:08:54 +00:00
phpnut
46f0615479 "Fixes #3549, AjaxHelper::sortable update and change invalid options for script.aculo.us"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6222 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 10:27:48 +00:00
phpnut
cf87b90bbc "Fixes #3691, HTML Helper returns incorrect url from when <cacke:nocache> is used"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6212 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 07:06:31 +00:00
gwoo
a2624df5f2 fixing fail in Html::meta(); and adding ClassRegistry::flush(); to fix no_database test group.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-23 01:07:10 +00:00
gwoo
eebdb12eaa updating HtmlHelper::meta(), closes #3223, #3224, #3225, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6206 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 23:36:24 +00:00
gwoo
b99ac8de46 adding more extensive formating options to NumberHelper::currency() with tests, closes #3532
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6204 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 22:01:38 +00:00
gwoo
ba5713391d another update to dump
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6201 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:49:02 +00:00
gwoo
6231086e6f updating dump.ctp, fixes #2247
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6200 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:32:02 +00:00
gwoo
0a703ef8c0 adding 'cake bake all' see cake bake help for more info, also refactored tasks (api changes) and class registry, closes #1470, closes #3612, closes #2697, closes #3412
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6198 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 19:24:56 +00:00
mariano.iglesias
d03e8d680f Properly formatting string for i18n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6197 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 17:50:09 +00:00
gwoo
ea1b6581bc adding error to html tags array, adjust form helper to use it, closes #2088, closes #1022
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6196 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 06:37:30 +00:00
gwoo
81b074cf1f adding Paginator::first() and last() methods, also adding them to numbers, tests added, closes #3709, closes #3208, closes #3465, closes #2412, closes #2954
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 06:03:48 +00:00
nate
10a2a446d3 Fixing FormHelper::select() with multiple checkbox option when all options are de-selected (Ticket #3716)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6191 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 04:20:35 +00:00
gwoo
0b21622734 allowing templates to override layout, but only when property is used, if layout is passed to Controller::render(); it will be used, closes #3759
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6190 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 02:04:26 +00:00
gwoo
98f454bc8a updating asset handling, closes #3149 To use compression for css and js files in vendors use Configure::write('Asset.compress', true);
Also, closes #1897 serving css and js from plugin vendors folder for paths within that plugin. Tests added.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6189 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 01:37:46 +00:00
nate
5e7f3a8287 Implementing FormHelper::button(), with options for alternate button types (Ticket #2341)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6188 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-22 01:27:50 +00:00
gwoo
87b33dc12a updating formHelper label to only translate text if the default is used, closes #2314
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6184 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 19:53:10 +00:00
gwoo
e6bd38d7d1 updating formhelper dateTime, fixes 3753, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6182 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 19:09:46 +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
john
1e89fd676b Adding tempdocs link to default home.ctp page.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6170 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 22:06:19 +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
phpnut
649840b91a "Correcting path to dump.ctp"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6164 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-17 00:35:21 +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
nate
2bec88b134 Adding fix for array to string conversion error in Helper::__formatAttribute() (Ticket #3674)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6162 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-15 23:00:42 +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
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
phpnut
dfe85153f2 Restructuring core views directories
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6153 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 18:59:26 +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
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
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
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
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
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
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
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
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
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