Commit graph

702 commits

Author SHA1 Message Date
nate
81b57b7d5d Pushing TextHelper code coverage to 100%
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6816 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 07:05:33 +00:00
nate
66e1efbcdb Deprecating TextHelper::flay(), fixes #3052
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6815 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 06:46:58 +00:00
nate
b7a5a28fbb Improving code coverage for PHP-native JSON generation in JavascriptHelper, fixing object output bug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6814 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 06:04:56 +00:00
mariano.iglesias
219dca11a0 Fixing issue where 'safe' option was not being considered when calling JavascriptHelper::codeBlock and then blockEnd. Increasing test code coverage for JavascriptHelper.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6806 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:14:35 +00:00
mariano.iglesias
751a1b7cf7 Reverting [6795] as it changes existing behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6796 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 18:53:15 +00:00
joelmoss
df24fff1a2 Paginator Helper prev and next methods are now wrapped in span tags instead of div tags. Tests also modified to support this. Closes #3991
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6795 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 18:32:51 +00:00
mariano.iglesias
b32a196238 Adding more coverage for HtmlHelperTest and fixing issue where HtmlHelper::meta() was overriding the found type as specified in attribute
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6788 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 04:57:46 +00:00
nate
a392e5e605 Refactoring tests and adding code coverage for HtmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 17:48:14 +00:00
the_undefined
0a715f2afe Refactored CakeTestCase::assertTags to tokenize the validation process and give useful debug information on demand
Refactored all FormHelper test cases to work for the new approach and make use of new features
Fixed a FormHelper::hour dateTime bug causing the hour 0 to be selected at 12pm

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6769 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 11:32:31 +00:00
DarkAngelBGE
85cd5adaf1 changing numeric check in TimeHelper::wasWithinLast to remove the use of a php extension
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6761 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:04:02 +00:00
DarkAngelBGE
0628b24760 fixing the time helper leap year problem,
adding tests to time helper to bring it close to 90% coverage

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6758 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:38:03 +00:00
mariano.iglesias
e0a9f03572 Fixed issue where $selected = true sent to FormHelper date method was generating multiple OPTION tags with SELECTED attribute
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:26:11 +00:00
mariano.iglesias
893c218be6 Fixing issue where FormHelper::dateTime was generating non valid XHTML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6745 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:22:08 +00:00
joelmoss
7f6e54ea3a Validation now supports error messages on multi record forms. Added tests to support this. Closes #4499. Thanks jose_zap
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 14:14:58 +00:00
joelmoss
a0af56f923 Removing inline comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:58:26 +00:00
joelmoss
8fa2d1cf9c Added tests for TextHelper::truncate. Truncate now also fully respects HTML tags and characters if $considerHtml is passed and true. The third parameter of truncate can now also be an array consisting of any of the remaining params.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:23:12 +00:00
nate
648d01e2e6 Adding test cases for HtmlHelper::charset()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 12:02:58 +00:00
mariano.iglesias
ab3b90503f Fixing issue in Security component with modeless field names, fixes #4454. Thanks vuego for the test and patch!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:51:40 +00:00
mariano.iglesias
d64e94e264 Fixing issue where AjaxHelper::link() would produce non-XHTML compliant links
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6677 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 22:17:11 +00:00
nate
017c07c7bf Fixing case of Xml class references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6652 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-10 19:43:06 +00:00
nate
7e68ab152c Correcting timestamp issues in JavascriptHelper::link(), fixes #4441
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6650 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 19:08:04 +00:00
phpnut
1250c6e0cc "Adding patches and test from #4447.
Closes #4447, Multiselects' hidden input should not have an id attribute.
Thanks sarimarton"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6640 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:39:10 +00:00
phpnut
a138ae3d63 "Fixing use of array('minuteInterval' => #);
Proper usage is array('interval' => #); but for backwards compatibility this fix has been added"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6633 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 12:48:13 +00:00
phpnut
d14b50fc92 "References #4394, additional fixes to multi record forms.
Added additional test cases"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6629 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 06:48:56 +00:00
nate
80340da3c5 Removing parameter merging in pagination links, fixes #4312
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6616 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:44:16 +00:00
nate
07d2b0d2d3 Fixing AjaxHelper::sortable() options and filtering Ajax callbacks from link options in AjaxHelper::link(), fixes #4279, fixes #4274
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6576 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 22:48:46 +00:00
nate
698d3e4f40 Removing default value for required parameter in HtmlHelper::meta(), fixes #4321
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6562 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 04:10:39 +00:00
nate
6fe1e62555 Implementing JavascriptHelper::$inBlock, docblocking JavascriptHelper properties, adding fix for AjaxHelper::sortable() 'overlap' option, fixes #4292
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6561 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 03:57:54 +00:00
phpnut
5374807164 "Fixes #3846, Security blackhole when no radio selected
Fixes #3920, Multiple select w/ checkboxes issues warning when all are unselected
Fixes #3962, validation POST never pass when select multiple is submit
"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6546 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 00:25:59 +00:00
gwoo
dd10cb191f fixes #3788, paginator numbers first and last issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 16:42:04 +00:00
nate
c096e20350 Fixing XmlHelper::elem() when rendering non-empty content values, fixes #4300
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6520 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 18:39:00 +00:00
nate
b5d0baf98b Fixing TimeHelper::timeAgoInWords()/relativeTime(), fixes #4241
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6485 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 05:06:37 +00:00
nate
97dded350f Returning default column type for models with no schema defined
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6482 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:53:54 +00:00
nate
bd2ac9a1c1 Fixing Auth component so login still works when you allow('*'), fixes #4159
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6473 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:20:43 +00:00
nate
0073683a54 Added Configure option Asset.timestamp = 'force', to force asset timestamps in production mode, fixes #921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6461 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 17:35:13 +00:00
nate
f3355bd74b Removing all references to deprecated 'webservices' and 'bare' routes and route parameters, removing deprecated constants, updating core tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:18:41 +00:00
nate
14523dc8c4 Fixing XML class references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:24:10 +00:00
nate
e1e9a6fe28 Updating docblock for JavascriptHelper::link(), fixes #4079
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6443 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 17:34:55 +00:00
nate
5fcf4c7bb3 Clean-up from XML commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6423 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 05:00:44 +00:00
nate
172d355e05 Adding namespace support to XML class, as well as XML generation options, entity conversion, whitespace output support, node filtering, I could go on. Props to Mike O'Toole. Fixes #3476
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6422 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 04:53:09 +00:00
nate
41cb80ee46 Removing deprecated function call from HtmlHelper::checkbox()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6419 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-30 15:19:53 +00:00
gwoo
5138bcda38 updating form helper field map, if var $map is defined it will use that, closes #3976
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6418 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 16:52:15 +00:00
gwoo
cb27bcc21a fixes #3961 options in Html::tableCells,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 16:37:47 +00:00
gwoo
e127d8f86f updating ajax and form closes #3582, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 07:47:56 +00:00
nate
7e3a30fd85 Correcting database input value for midnight on 12-hour display, fixes #3927
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 12:53:37 +00:00
gwoo
a98c80d44b updating form helper which really fixes #3869, required css class, test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 00:39:44 +00:00
gwoo
39eb8a9218 updating encoding in HtmlHelper::charset((), fixes #3937
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:57:19 +00:00
gwoo
411bf98d40 updating form handling of required validation, fixes #3869
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6391 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:52:13 +00:00
gwoo
1c3d18db23 updating form.php, fixes #3942 "FormHelper::create() ignores non-standard primary key"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6389 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:16:34 +00:00
nate
1e4549679a Refactored JavascriptHelper::object(), improved JSON spec compliance, added sport for native json extension, improved tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 05:21:07 +00:00
nate
14122fd1e6 Refactoring TimeHelper, adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 04:29:55 +00:00
gwoo
5649f17f7b updating PaginatorHelper::numbers(), fixes #3788
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6369 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:59:37 +00:00
gwoo
edcdcf3235 updating form helper labels for multiple records, fixes #3880, updating custom acl component loading, #3875
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 23:13:53 +00:00
nate
aa7ca4e703 Updating docblocks of deprecated methods, closes #3819, closes #3878
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6357 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 19:50:33 +00:00
gwoo
aeaeb97a49 updating helpers for multiple records, fixes #3874
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 18:50:31 +00:00
nate
db621672d3 Enabling alternate titles for PaginatorHelper::sort() links based on sort direction, closes #3865
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 01:12:26 +00:00
gwoo
d963a721b3 updating TimeHelper, fixes #3801
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6316 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:42:36 +00:00
nate
93f034b9bd Fixing JavascriptHelper::link() for script files outside of webroot/js (i.e. plugins), fixes #3799
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 19:32:46 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
nate
368b085c94 Adding asset filters for CSS and JS, set using 'Asset.filter.css' and 'Asset.filter.js', fixes #2233
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 05:19:00 +00:00
nate
18110fe97a Adding asset timestamps for JS, CSS, and images. Set 'Asset.timestamp' to true in Configure (only in dev mode), fixes #921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 04:24:14 +00:00
gwoo
b57ee695a4 updating TimeHelper, closes #1182
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 01:45:57 +00:00
gwoo
f6b71c29e9 updating HtmlHelper, closes #2592, closes #2406, closes #2220, closes #2080, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 21:14:15 +00:00
gwoo
fdeb41a826 updating FormHelper::inputs(), fixes #3770, tests updated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 18:25:00 +00:00
gwoo
99da081907 updating dispatcher, fixes #3773, fixes #3783, fixes #3779, updating default layouts, adding Debugger::dump($var); and some other changes for exporting string vars
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 19:05:22 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
gwoo
072495f5e1 updating TextHelper::autoLinkUrls(), fixes #3597
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6043 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-22 05:36:20 +00:00
phpnut
18c7a00a47 Correcting issues with Sessions and Controller::redirect()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5999 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 03:52:14 +00:00
phpnut
2726d97cfb Correct location of the AppHelper file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5998 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-16 01:11:30 +00:00
gwoo
3fdfdfb1cb updating FormHelper::input() to allow multiple checkbox
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-15 07:18:25 +00:00
nate
1f56ef2b7a Adding 'multiple' => 'checkbox' option to FormHelper::select() (Ticket #1901 and Ticket #3043)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5992 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-14 05:51:49 +00:00
gwoo
f5dc3c7655 fix for overriding of FormHelper::input() type
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5991 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-13 09:36:31 +00:00
phpnut
eb6c94a01e Closes #2781, $form->input on date fields renders maxYear and minYear in $options as HTML attributes.
Closes #3181, Year list ordering in FormHelper order is now formated descending.
Fixes #3524, FormHelper->month, day, year, hour, and minute should use $selected if it is supplied.
Fixes #3558, post validation don't pass if form use only hidden fields.
Fixes #3568, Saving datetime fields is broken in scaffolding.
Fixes #3574, Typo in Session class.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5987 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 11:31:43 +00:00
phpnut
c7307742e2 Adding fix for Undefined variable: _SESSION
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5986 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 05:31:35 +00:00
phpnut
2d428905aa Fixing blackHole of forms when date/datetime fields are used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5984 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 02:41:23 +00:00
phpnut
11d295eb0c Fixes #3507 Session Security.level "high", session destroyed on media 404.
Added ability to turn off HTTP_USER_AGENT check in a Controller::beforeFilter(),
Added id() to Session helper and component to return current Session id, the component accepts a $id parameter to force setting the Session id which must be called in a Controller::beforeFilter().
Sessions id are not longer renewed if a request is from Ajax, or from requestAction();
When Security.level (1.2) or CAKE_SECURITY (1.1) is set the 'high' renewing of Session id only happens if request is 2 seconds after the last request.
Added $_Session[Config][timeout] which forces renewing Session if request are within the 2 second limit and over 10 request.
If an application is expected to make multiple request (more than 10) to the server in a single proccess, Configure::write('Security.level', 'medium'); (1.2) or $this->Session->security = 'medium'; (1.1) should be used in a beforeFilter for the specific methods.
1.2 Sessions allow using CacheEngines to store Sessions, be aware that using memory caching as the only storage of Sessions is not reliable. Further work will be done to allow using the CacheEngines with database Sessions, etc.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5982 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 01:36:20 +00:00
gwoo
6c0e70faa5 updating scope in Helper::setEntity()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5981 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 00:57:38 +00:00
gwoo
25252e678a updating scope in Helper::setEntity()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5980 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-12 00:43:38 +00:00
gwoo
18c916fc76 adding tests, closes #3550, closes #3513, fixes #3556
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5971 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-09 01:36:34 +00:00
gwoo
42767170d1 fixing habtm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5967 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 01:44:47 +00:00
nate
858447a184 Fixing date/time inputs and removing dependency on Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5965 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-08 00:05:12 +00:00
nate
0b217acd18 Enabling formatting attribute for FormHelper date and time fields (Ticket #2405)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5951 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-05 03:57:12 +00:00
nate
a320969c0a Fixing form entity scoping when security tokens are enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5947 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 19:15:18 +00:00
nate
6040dd2779 Updating helpers with new form field naming scheme
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5945 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-04 18:07:59 +00:00
gwoo
cce99ee386 fix for FormHelper not picking up habtm fields with latest schema changes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5921 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 16:20:37 +00:00
gwoo
0f6c59ce50 removing TimeHelper::trim() closes #3049
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5915 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 21:42:24 +00:00
nate
7e9b05e429 Adding hidden form inputs for REST routing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5913 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 05:28:45 +00:00
gwoo
fbd3811cd1 removing usage of Model::loadInfo() replaced by Model::schema(), removing new lines at the end of some files, removed deprecated chmodr() function from basics, updated bake and scaffold views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5912 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-28 04:18:18 +00:00
nate
a87a0e2a68 Refactoring schema generation, passing model tests with SQLite driver, refactoring database methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5909 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 20:32:19 +00:00
phpnut
7bc90a2eb1 Fixes #3474, Plugin Models Not Loading for 1.2.0.5875 pre-beta release.
Remove deprecated loadPluginController() from basics.php
Fixed changed loadPluginController to loadController in CacheHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5905 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-27 03:27:09 +00:00
nate
585d0fc645 Changing FormHelper::create() back to being model-oriented
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5879 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-23 02:36:07 +00:00
gwoo
beb600094b updating FormHelper and scaffold edit template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5873 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 23:41:43 +00:00
phpnut
5a270f2220 Fixes #3435, In FormHelper::end($options), unable to use $options['submit'] with $options['label']
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5863 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 17:30:14 +00:00
mariano.iglesias
896f62544b Changing @return int to @return integer and @param bool to @param boolean
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
160cd28440 Correcting @return int
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5858 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:11:12 +00:00
phpnut
da97a5c871 Correcting @return bool
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
mariano.iglesias
897825d596 Adding documentation to classes belonging to Cake console.
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
phpnut
1704efa50a Fixes #3419, $text->autoLink does not preserve existing links
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5836 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 22:21:28 +00:00
phpnut
ae9243e43d Added translated string for 'Submit' in FormHelper::end()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5814 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:12:54 +00:00
phpnut
5ddf8f7180 Corrected missing second param in __() in FormHelper::submit()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5813 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:10:46 +00:00
phpnut
e78fc1e90c Fixes #3305, Console i18n extract using wrong paths.
Closes #3396, i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
ffc1e3d93f Adding additional fixes from #3271
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5797 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:46:19 +00:00
phpnut
5e48ab9bb8 Fixes #3271, onclick="return false;" don't work in IE
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:41:42 +00:00
mariano.iglesias
1545b730ae Escaping value for FormHelper::textarea() and adding some tests, fixes #2921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5778 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 17:08:34 +00:00
phpnut
1aa1164b1d Closes #3394, applied test patch
Deprecated define('MAX_MD5SIZE', (5 * 1024) * 1024); in core.php
Removing additional defines in core.php, replaced with Configure::write();
Added CakeSession::__startSession() to check for sent headers before attempting to start the session.
Added notices to Configure::__loadBootstrap() that will be removed before stable release.
Refactored Folder::tree().
Added additional FolderTest cases

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5768 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 09:05:25 +00:00
nate
16fbd33eee Fixing FormHelper::inputs() to respect both 'legend' and 'fieldset' settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5767 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 04:41:00 +00:00
gwoo
1ff8feb94c updated rss helper, fixes #3226
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5765 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 00:44:37 +00:00
gwoo
9c7f0755a5 updating FormHelper::radio(), closes #3315 and closes #3279, updated Token wrappers, closes #3317, updated tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5759 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 07:47:13 +00:00
gwoo
a3fc6e4af5 updating FormHelper::inputs(), closes #3325 and closes #3324, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5758 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 23:41:05 +00:00
mariano.iglesias
b06c7f88e2 Reflecting new radio signature in usage, and adding tests for separator usage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5749 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-11 16:45:23 +00:00
nate
736ab28b0b Refactoring Helper/FormHelper to actually use dynamically generated name attributes; refactoring out extra parameter in FormHelper::radio(), per gwoo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5744 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 20:44:28 +00:00
phpnut
fda664d737 Fixes #3282, Problem with _Token.fields and few submit buttons
Fixed failing Dbo*Test

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5725 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 04:37:58 +00:00
phpnut
d7ad471580 Fixing undefined notice in FormHelper when using SecurityComponent.
Corrected test case in FormHelperTest::testFormCreateWithSecurity()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5722 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 19:43:32 +00:00
phpnut
47e8b36c92 Adding fix for hidden fields causing blackHole on forms when using SecurityComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5720 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:27:35 +00:00
phpnut
bfa4c12166 Closes #2094, removed unreachable return
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 04:32:43 +00:00
phpnut
34a88741bf Fixing sorting of fields used in a form when using the SecurityComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5696 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 00:38:03 +00:00
phpnut
603ed0e39c Initial start of Unicode support, I may move this handling of this to a unicode class.
Implemented multi-byte methods for:
String::strpos();
String::stripos();
String::strtoupper();
Added test cases for String::utf8() String::ascii() String::strpos() String::stripos() and String::strtoupper()
Corrected file encodings.
Added loading of configurations from cake/config
Added specifc case folding files to cake/config/unicode/casefolding


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5691 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 23:49:54 +00:00
nate
8f4dd39257 Fixing return value for JavascriptHelper::blockEnd() for script caching (Ticket #3172)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5686 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-23 14:23:39 +00:00
phpnut
b1d79fb0d3 Adding test for RssHelper.
Added syntax for adding attributes to channel child elements
Fixed bug in item method that added bogus attributes
Added default description to channel method


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5670 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 18:00:22 +00:00
phpnut
3a4b960520 Fixes #2966, soring of fields corrected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5661 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 20:09:09 +00:00
phpnut
337c81bc74 Removing ability to write to a session using the SessionHelper.
All writing to the session should be handled in the Controller

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5657 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 19:05:31 +00:00
nate
55e8592e17 Fixing passed args support in Router, refactoring helper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5653 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:32:02 +00:00
phpnut
590ec3650f Closes #1497, Non-linked breadcrumbs
Closes #1103, List functions for ul / ol elements in HtmlHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:42:33 +00:00
gwoo
ed6b0d7649 fixes #3184 FormHelper::radio() values, fixes #3156 FormHelper::create() action, fixes #3097 FormHelper::label() localization text. Thank you for the patches and tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-07 01:22:03 +00:00
mariano.iglesias
3eaa019625 Small typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5618 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:41:54 +00:00
mariano.iglesias
a798cd3dbb Adding some documentation tags. Fixing issue with stripLinks not properly removing multiple links. Making excerpt and autoLinkUrls case insensitive. Adding some tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:28:36 +00:00
gwoo
656247427f fix for label in radio
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5586 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:08 +00:00
gwoo
e54fe6a523 adding label and fieldset for radio, set label=>false to turn it off, css adjusted
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 00:11:36 +00:00
gwoo
85dca42d93 fixing shells formatting an api shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:00:19 +00:00
gwoo
8e213b8124 fix for number helper separator spelling, #3048
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:33:46 +00:00
nate
bd194b51e5 Routing fixes for invalid null value matching and named argument handling (Ticket #3083, #3085, #3086, #3093). Thanks biesbjerg for all your help!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00
nate
5ba07c76c4 Localizing label text in FormHelper::input() (Ticket #2314)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5549 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 12:55:23 +00:00
dho
a5fd1561e8 By default no radio element is checked (ticket #2963)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 09:15:19 +00:00
dho
3c7168c58c Removing unwanted id from radio elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5539 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 08:50:16 +00:00
nate
90567a286a Moving named argument handling into Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:31:50 +00:00
nate
8d2d9d8684 Refactoring FormHelper::__selectOptions() (Ticket #1312) and adding tests for multiple select boxes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:20:01 +00:00
dho
ee3658894e Applying patch from ticket #2236 plus adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5506 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 14:47:53 +00:00
gwoo
4c26620a9e adding fix for Paginator numbers, #2891
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5485 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 15:51:37 +00:00
nate
9a915e90ef Applying correct fix for Ticket #2917, updating FormHelper test cases, and adding Helper test group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 14:23:38 +00:00
dho
1bda1d2ada Avoiding to add 'type="checkbox"' twice (ticket #2917)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5462 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:50:01 +00:00
phpnut
549d86ac23 Refactoring dispatcher.
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
nate
8dd6c78754 Modifying HtmlHelper::style() for use in attribute arrays, adding core helper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:33:03 +00:00
phpnut
c9eb45232d Adding fix for #2836, PaginatorHelper::numbers() outputting extra url params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5408 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:28:41 +00:00
phpnut
d6bf52dce7 Adding fix from #2872, $ajax->afterRender() has no decoding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:06:44 +00:00
phpnut
7e6ac60eeb Adding fix for 2691, Error caching xml files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5393 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:50:15 +00:00
nate
8976f07acf Adding fix for 'after' value not being rendered in FormHelper::input() (Ticket #2860)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5388 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:30:40 +00:00
phpnut
4ff21a6a08 Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 03:47:35 +00:00
gwoo
c405d3ad6b fix Paginator::numbers() seperator: #2685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5360 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:53:38 +00:00
gwoo
642b45a008 fix Paginator::numbers() seperator: #2685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5359 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:49:30 +00:00
gwoo
f757103dbe adding test for form checkbox: #2785
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5358 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:37:51 +00:00
gwoo
f3b67a24e1 adding fix for paginator numbers: #2825
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5355 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:20:56 +00:00
phpnut
a08f18c4a1 Adding patch from Ticket #2817, Allow type radio in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5338 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:25:37 +00:00
phpnut
f29f6f99e6 Adding fix for duplicated hidden tag for fields token
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5332 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:10:27 +00:00
phpnut
bf5fc48087 Adding patch from #2791
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5330 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 04:13:29 +00:00
phpnut
4b2e8dffe3 Adding fix for Ticket #2719, Paginator::numbers() not accepting $options like the prev() and next()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5328 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:38:15 +00:00
phpnut
364f3f4ff6 Adding fixes for:
Ticket #2805, fixes Blacklisting fields in FormHelper::inputs doesn't work like intended
Ticket #2806, adds FormHelper::inputs can work recursively on $fields
Merged changes from [5326]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5327 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:02:56 +00:00
mariano.iglesias
496e97aaec Fixing issue #2810, AjaxHelper does not render boolean options properly, and adding tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5325 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:24:13 +00:00
mariano.iglesias
97a10184f3 Fixing issue #2713, NumberHelper does not handle some currency formatting very well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:01:11 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
a9c0b7e406 Adding fix for Ticket #2786, fixes form dateTime helper does not set year to current
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5312 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:07:11 +00:00
phpnut
d93d746663 Adding fix for Ticket #2795, fixes hidden field for checkbox.
Updated FormHelperTest::testCheckboxField() to reflect the correct return value

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5310 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 04:30:45 +00:00
nate
430e11004d Fixing forced empty element selection in FormHelper::select() (Ticket #2749)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5292 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-18 05:06:13 +00:00
nate
028ffae272 Fixing double merging of URL parameters in PaginatorHelper::sort() (Ticket #2692)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 17:01:18 +00:00
dho
d9a0aa1c69 Applying patch from ticket #2763, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 08:32:04 +00:00
gwoo
1737dba3d6 update to formhelper habtm fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 10:38:22 +00:00