gwoo
7ad1790ea2
removing and moving deprecated code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7285 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:19:04 +00:00
gwoo
67f55ba53e
fixes #3869 , required css for validation fields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7242 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:07:33 +00:00
gwoo
4759a4506b
better fix for #3869
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7240 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:31:44 +00:00
gwoo
d29883993e
fixes #3869 , form 'required' CSS when not actually required
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7239 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:16:34 +00:00
gwoo
42db64bbb3
fixes #4778 , rss helper addNs, closes #4949 xml helper serialize with test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7227 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 15:23:58 +00:00
nate
f7a4858503
Correcting coding standards violations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7220 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 11:57:56 +00:00
nate
63217b7e10
Fixing failing tests in core helper group, closes #4946
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7213 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:31:00 +00:00
gwoo
73d9fec80d
closes #3691 , fix re added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7208 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:23:48 +00:00
gwoo
01bf6526c4
fixes #4911 , scripts for layout on cache refresh
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7197 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 19:48:15 +00:00
gwoo
9d950c7698
closes #4726 , test cases added to show special characters in select options
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7189 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:48:57 +00:00
gwoo
8707c6861a
fixes #4912 , correct label "for" in time input
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7188 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:40:01 +00:00
gwoo
2756634b73
removing deprecated methods from HtmlHelper, File, and Folder
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7182 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:53:06 +00:00
gwoo
97a57a0f05
fixing bug in error handler when callbacks were moved to construct classes, moved callbacks back to dispatcher for now until we find a better place in the controller, fixed caching for the "home" page by adding check for "/', original test case was incorrect.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7177 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-12 18:36:08 +00:00
gwoo
1e231e9511
some cleanup, wrapping uses() in class exists
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
mark_story
273dff46f1
reverting paginator helper back to parent::url. Closes #4887
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7171 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 12:18:54 +00:00
mark_story
0ce344d852
Minor changes to PaginatorHelper. $this->url() instead of parent::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7165 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:47:50 +00:00
mark_story
44159ec303
Removed all references to Router::url in all helpers. Closes #4880 . Fixed failing test in RssHelper, added more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7164 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:10:32 +00:00
gwoo
b3f605c1d8
fixes #4836 components initialize for error pages, also changing Object::stop() to Object::_stop()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7116 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 19:04:58 +00:00
TommyO
7c6cdb6354
Updated RssHelper to use XmlHelper updated in 7110. fixes #4778
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7111 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:40:35 +00:00
TommyO
546d804b10
updated XmlHelper to take advantage of Xml class to support namespaces
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7110 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:35:44 +00:00
gwoo
a13232659f
updating cache with new component callback handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7101 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 05:12:12 +00:00
joelmoss
8b122d5480
OOps! Fixing typo from last commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7067 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 16:06:49 +00:00
joelmoss
d294e91d42
Fixing PHP error with $divOptions in FormHelper::input() when passing $option['div'] = false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7066 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 16:05:53 +00:00
joelmoss
03322a31d7
FormHelper::submit() now accepts alternative wrapping tags, instead of a div.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7065 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:44:39 +00:00
joelmoss
4dfe7333b7
FormHelper::error() can now be passed the tag to wrap the error message in.
...
FormHelper::input() can now be passed the tag to wrap the input element in; same applies to the tag that wraps the error message.
Corrected date format in Form test testMonth().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7064 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 15:07:32 +00:00
nate
42da5aba81
Moving Cake folder to correct location
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2
deleting cake folder from svn
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
mark_story
ca48055ddb
Added ability to specify cdata blocks and ignore special character stripping in RssHelper. Tests updated as well. Closes #4491
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7051 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 02:19:55 +00:00
mark_story
027a90fab3
Implemented 'mech7' patch to AjaxHelper. Closes #2844
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7050 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-28 00:28:20 +00:00
mark_story
78e534b73b
Refactored month() to take monthNames in the options array. Added options descriptions to several doc blocks. Tests updated.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7047 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-27 00:07:00 +00:00
gwoo
0bfa2f72bf
fixes #4762 , monthNames count
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7046 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 19:26:44 +00:00
mark_story
9da3e638df
Applied Enhancement submitted by 'chjunior', month display can be set to numbers or translated text. Closes #4327 . Tests also updated.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7039 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 04:00:26 +00:00
mark_story
0c164efb21
Added missing params to FormHelper doc blocks, marked private methods.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7038 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-24 02:57:48 +00:00
gwoo
7889668b6e
disable callbacks in view cache by default
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7034 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 18:52:49 +00:00
gwoo
f7d07012dd
cleaning up some deprecated code. renderElement is deprecated, but a the notice was removed for this release. Notice will be thrown in next release and method will be removed in the following release. Refactor of View Caching, along with addition of enabling beforeFilter and component initialize/startup callbacks. Use {{{
...
//set for the individual action
var $cacheAction = array('view' => array('duration' => '+1 hour', 'callbacks' => false));
//globally disable callbacks for all actions
var $cacheAction = array(callbacks' => false, 'view' => '+1 hour');
//per method
$this->cacheAction = array('duration' => '+1 hour', 'callbacks' => true);
}}}
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7031 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 17:43:13 +00:00
the_undefined
52bae8a7bf
Made form helper pick up field definitions outside the current context
...
Made form helper handle maxlength for float fields properly, fixes #4724
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7021 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:14:57 +00:00
nate
7402680cc1
Misc code formatting and whitespace fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7020 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:11:41 +00:00
joelmoss
be63f26e78
Improving documentation for HtmlHelper::tableCells()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7004 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 12:32:38 +00:00
joelmoss
17c542d76d
HtmlHelper::tableCells() now accepts a fifth parameter $continueOddEven, which by default is true, thereby not affecting current behaviour. When false, $count will not be static, and will therefore start from zero, giving correct odd and even values if they are passed. Fixes #4222
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7003 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 09:13:23 +00:00
mark_story
f7438da72e
Implemented patch from 'johnathansnook' closes #4496 Form::inputs now allows for fieldset classname to be set. Updated tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6991 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-21 03:57:35 +00:00
mark_story
ed56a8e637
Added ability to define end user time offset to TimeHelper closes #2656
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6975 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 00:24:00 +00:00
mark_story
0d9ca660b0
Implemented Enhancement: closes #4670
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6974 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 22:05:42 +00:00
mark_story
f2eab6ef59
Implemented enhancements, closes #4059 and #4584
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6972 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 21:01:02 +00:00
DarkAngelBGE
45bccc5215
optimization refs #3415
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6970 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 20:36:39 +00:00
DarkAngelBGE
a625537c4e
optimization, refs #3877 , fixes #3415
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6969 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 20:31:42 +00:00
mariano.iglesias
5459b92f02
Ensuring that a valid maxlength value is used for inputs, fixes #4691
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6965 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 12:17:37 +00:00
DarkAngelBGE
5047963a77
small change to allow onSubmit pass strict validation, fixes #4311
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6961 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 08:06:58 +00:00
DarkAngelBGE
0db9a4ca00
fixing html helper textarea duplicate key, fixes #4214
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6960 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 08:03:22 +00:00
the_undefined
0053b162a8
Converted spaces to tabs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6953 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 06:55:17 +00:00
the_undefined
3204ced2ed
Made TextHelper::highlight utf8 compatible, fixes #4602
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6952 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 06:54:53 +00:00
the_undefined
9e79d1768c
Applied patch by 'mark_story' making form helper month names i18n ready, fixes #4409
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6950 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 06:29:40 +00:00
the_undefined
fbbde864f7
Added $invalid parameter to format function, closes #2709
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6941 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 03:58:34 +00:00
the_undefined
ec628f0fd2
Converted date_string occurrences to dateString according to coding standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6940 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-19 03:58:17 +00:00
mariano.iglesias
660d5bb804
Allowing CakeTestCase::assertTags() to receive strings as expectation.
...
Removing default value in AjaxHelper::options() and AjaxHelper::__optionsForAjax() since it always require a parameter.
Using Object::stop() instead of exit() in AjaxHelper::afterRender().
Bringing AjaxTest coverage to 88%
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6928 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 19:51:30 +00:00
joelmoss
64e68c9b7c
Text helper highlight method now handles HTML tags correctly. Closes #2242
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6912 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 18:45:24 +00:00
joelmoss
09ebd9cbe6
Paginator Helper prev and next methods now use the Html::tag helper method, allowing you to pass a tag option to specify what HTML tag the disabled links should be wrapped in. Defaults to div. Fixes #3991
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6862 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:35:47 +00:00
joelmoss
9a4c186ccd
Html::tag now accepts $attributes as a string, in which case, it will be used as the tags class name.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6859 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:09:37 +00:00
joelmoss
65454882f3
Created Html::tag helper which allows you to create any HTML block tag. Html::div now uses this method.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6858 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:04:52 +00:00
DarkAngelBGE
88a2f0936e
fixes #4559
...
bringing xmlhelper to 100% code coverage
fixing small bugs in XmlHelper::__parseContent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6838 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 07:56:33 +00:00
the_undefined
93ad951a8c
Fixed small bug in TextHelper::autoLinkUrls, closes #4357
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6832 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 03:53:26 +00:00
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