mark_story
d787ec3720
Moving writeCache and getCache to JsHelper.
...
Adding drag, drop, sortable stubs.
Adding control of caching to JsHelper.
Refactoring tests.
2009-03-15 23:42:25 -04:00
mark_story
91903a4dec
Adding request() to mootools.
2009-03-15 22:15:22 -04:00
mark_story
e237eec343
Fixing event stopping in mootools
2009-03-15 21:51:00 -04:00
mark_story
eea1fa576c
Refactoring quote style in jquery engine
2009-03-15 21:44:40 -04:00
mark_story
87d68e5029
Switching quote styles in mootools engine
...
Adding effect() and each() to mootools
Adding tests
2009-03-15 19:59:16 -04:00
mark_story
51a187f3e5
Adding Event binding to mootools engine
2009-03-15 18:48:34 -04:00
mark_story
a9da171e8c
Removing multiple param for JsBaseEngine::get() it is not needed.
...
Adding get() to Mootools engine
2009-03-15 17:48:27 -04:00
mark_story
6b0058308e
Adding skeletons for mootools engine
2009-03-15 17:32:04 -04:00
mark_story
4b690237f0
Merge branch '1.3' of git@thechaw.com:cakephp into 1.3-jshelper
...
Conflicts:
cake/libs/view/helpers/html.php
2009-03-15 13:20:43 -04:00
mark_story
e873bb5ab9
Adding querystring creation and option mapping to jquery engine.
...
More complex ajax requests can now be done.
2009-03-15 13:08:29 -04:00
mark_story
72866966b0
Updating parseOptions to allow safeKeys that do not need to be escaped
...
Useful for handling function callbacks in options arrays.
2009-03-15 12:26:12 -04:00
mark_story
ffdbec12fe
Refactoring event() and adding ability to stop default events.
2009-03-15 12:10:46 -04:00
mark_story
ae2114dcc1
Starting request() for jquery engine.
...
Adding _mapOptions so engines can map from abstract to concrete option
names.
Tests added.
2009-03-14 17:01:49 -04:00
gwoo
6cb8b3d286
Merge branch 'master' into 1.3.x.x
2009-03-14 13:57:18 -07:00
mark_story
72e1c73134
Adding effects and effects tests to JqueryEngine
2009-03-14 01:57:24 -04:00
mark_story
94c4e18112
Adding error feedback to base class methods
2009-03-14 00:10:43 -04:00
mark_story
20530f5ffb
Adding test case for jquery engine
...
Adding some methods for jquery engine
Updating methods in base class
2009-03-13 20:50:31 -04:00
mark_story
518e567458
Fixing handling of true, false, null in object encoding.
2009-03-13 19:37:57 -04:00
nate
36d3540c19
Adding native-type-generation fixes for JavascriptHelper::object()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8095 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-13 14:49:00 +00:00
mark_story
a1a54a152b
Adding methods to baseEngine
...
Removing file inclusion from JsHelper
Adding writeCache to JsHelper
Adding tests.
2009-03-12 23:48:19 -04:00
mark_story
91e47a6379
Adding scriptBlock() to HtmlHelper.
...
Adding tests.
2009-03-12 22:59:55 -04:00
mark_story
7ea7bd90c2
Moving script() method into HtmlHelper.
...
Moving tests.
2009-03-12 19:51:30 -04:00
gwoo
de6541f658
fixes #6189 , paginator sort direction for associated fields of the same name
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8092 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-12 17:11:08 +00:00
mariano.iglesias
fdbf102228
Fixing issue where disallowing plugin was not possible in PaginatorHelper, fixes #6159
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8090 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-11 19:24:06 +00:00
mark_story
100fdc1876
Adding tests for $once parameter
2009-03-08 22:33:34 -04:00
mark_story
6213b83f8d
Removing methods that are being/moved removed.
...
Reformatting tests.
2009-03-08 01:01:08 -05:00
mark_story
3e0d645957
Moving JS generating methods to BaseEngine class
...
Adding duplicate script detection.
2009-03-07 22:06:00 -05:00
mark_story
2362f283f2
Refactoring out string escaping and object conversion into base class.
2009-03-07 20:16:11 -05:00
mark_story
93a2e8fcad
Adding tests for timestamping
2009-03-07 19:34:05 -05:00
mark_story
0c77cc98b5
Adding min/pack detection and auto use.
2009-03-07 13:10:50 -05:00
mark_story
ea177fb7d8
Adding tests for features to be implemented
2009-03-07 02:26:19 -05:00
mark_story
1c2cd94786
Adding test cases for alert, confirm, prompt
2009-03-06 19:56:28 -05:00
mark_story
c92cfa7238
Starting Test Case for JsHelper
2009-03-06 19:51:13 -05:00
mark_story
c164be8c03
Enabling Asset.timestamp for HtmlHelper::image() making it consistent with Javascript::link().
...
Tests added.
Fixes #6170
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8078 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-06 04:40:50 +00:00
mark_story
18a7115385
Adding test to show proper escaping of escaped strings in Javscript::object() closes #6167 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8076 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-06 03:53:31 +00:00
jperras
79cba70758
Updating number helper to allow output of main currency symbol in the 'after' slot. Also added some basic i18n for NumberHelper::toReadableSize Fixes #6150 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8069 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-03 15:32:12 +00:00
mark_story
0be4f64801
Adding test cases for URL encoded values. Refs #6134
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8062 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 20:01:55 +00:00
mark_story
af021cb4b2
Adding Html entity conversion to all urls generated by helpers, fixing potential for merged passedArgs to create xss vectors.
...
Adding integer cast in paginate() to page param.
Tests added/updated.
Fixes #6134
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8061 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 19:51:41 +00:00
the_undefined
74bf622866
Fixes #6071
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8053 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-23 15:19:33 +00:00
gwoo
f0d03a91cf
Merge branch 'master' into 1.3.x.x
2009-02-09 12:01:06 -08:00
nate
c2f111a45a
Standardizing format string in PaginatorHelper::counter(), %page% becomes {:page}, old keys still work, but will be deprecated
2009-02-07 08:41:15 -05:00
mark_story
2da0c208d5
Fixing Helper::value() when only a fieldname is used. Refactoring Helper::value() to reduce method calls. Added tests to Helper. Fixes #6033
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8012 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-26 19:45:55 +00:00
renan.saddam
b5d7f182a0
Disproving FormHelper::textarea always escapes value. Closes #6016 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8006 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-21 01:15:29 +00:00
mark_story
b94a85e938
Altering Helper::url() to enforce escaped query strings for generated urls.
...
Tests added to Html::link(). Fixes #5982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7991 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:41:47 +00:00
TommyO
de1d1ae3bd
Fixed asset.timestamp inconsistency for css files.
...
Added tests to confirm css linking.
Closes #5990 . Fixes #5991
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7990 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:19:11 +00:00
mark_story
287968934f
Fixing next()/prev() when paginating multiple models. Added tests from 'hummer'. Fixes #5970
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7989 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:08:11 +00:00
mark_story
7b12272253
Fixing issues with am times and form test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7975 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-13 18:42:08 +00:00
mark_story
79c791548f
Fixing formHelper::hour when specifying a strtotime compatible string for the selected value. Tests added Fixes #5941
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7967 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-30 16:20:38 +00:00
nate
ad208ff8c3
Refactoring previous fix to revert markup changes in HtmlHelper, updating FormHelper tests to comply with coding standard, correcting bad assertions, fixing issue with field types being mis-identified if duplicate names are used, fixes #5919
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7959 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 22:13:06 +00:00
nate
61850b1be1
Cleaning up test code formatting, adding fix for POST hash validation of checkbox lists, fixes #5903 , test cases added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7951 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-23 08:13:00 +00:00
mark_story
60e3c6caa4
Removing unecessary Mock object creation.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7949 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-22 04:31:21 +00:00
mark_story
943bb53dda
Correcting callback firing of helpers in view. Tests added fixes #5906
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7948 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-21 22:14:48 +00:00
mark_story
9071d8165f
Correcting generation of id attributes for radio buttons. Tests added, fixes #5891
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7924 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 01:49:58 +00:00
mark_story
8c51d72ed8
Adding tests to disprove #5855 . Closes #5855
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7911 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-09 18:49:00 +00:00
mark_story
090028403b
Fixing FormHelper dateTime creation when using custom empty strings and null values. Tests added. Fixes #5769
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7898 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-29 00:28:31 +00:00
mariano.iglesias
f9557c7611
Fixing issue where radio elements would produce wrong hash when Security component enabled in FormHelper, fixes #5791
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7891 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 16:32:54 +00:00
phpnut
69f883a89f
Adding $data['attrib'] back to RssHelper::channel(); after more research use cases for this were found.
...
Related test case added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7889 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 05:54:31 +00:00
mark_story
cfa2229689
Fixing incorrect implementation of RssHelper::channel(). Test cases added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7887 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 23:10:29 +00:00
mariano.iglesias
04d06bccf8
Adding tests for PaginatorHelper::prev(), disproves and closes #5793
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7884 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-23 16:38:35 +00:00
mark_story
f3fc8dd742
Fixing RssHelper test. Timezone in tests did not reflect the DST change.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7877 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-16 05:06:36 +00:00
mariano.iglesias
e9953e3f93
Fixing issue where JavascriptHelper::link was generating wrong URLs when webroot is defined and appending timestapping. Fixing issue in previous commit. Fixes #5723 , fixes #5045
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7851 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:45:00 +00:00
mariano.iglesias
81e2f4a044
Fixing commit in r7843 so real files are accounted for
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7850 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:34:51 +00:00
renan.saddam
3223ba55cc
Changing tests in order to works in both Linux and Windows.
...
Using correcly syntax of javascript->block.
Commenting no:cache test, it must be fixed in 1.2+.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7849 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 03:47:09 +00:00
renan.saddam
111b886570
Removed trailing whitespaces from tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7848 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:58:37 +00:00
mariano.iglesias
8777b8ef96
Fixing issue where double call to webroot on HtmlHelper::css was generating wrong URLs when forcing asset timestamp, fixes #5723
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7843 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:24:51 +00:00
mariano.iglesias
8da2a5208f
Adding multibyte support to TextHelper::truncate, fixes #5610
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7842 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:07:17 +00:00
AD7six
3f2fa6929b
changing tabs for spaces in comment block indentation
...
Removing address and replacing with cakefoundation url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
588f92ca31
Adding test for model saving with habtm.
...
Refactoring tests for ajax helper to use assertTags()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7799 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 00:05:59 +00:00
nate
318c2b4952
Correcting SecurityComponent form hash generation when handling arrays, fixes #5588 . Fixing code formatting in FormHelper test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7794 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 06:55:42 +00:00
renan.saddam
41d82920f5
Fixing issue with rounded values in NumberHelper::toReadableSize. Fixes #5676 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7790 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 01:15:59 +00:00
mark_story
97cd2c5aef
Committing patch from 'fernyb' to add support for with key in AjaxHelper::autoComplete()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7785 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 23:47:00 +00:00
mark_story
5a2db7a5b4
Fixing interaction between Model::_clearCache() and CacheHelper. Cached view files for camelCased controller or underscored URL's were not being cleared. Fixes #5611
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7783 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 18:51:38 +00:00
mark_story
2d1483e1e5
Updating formHelper::dateTime() to work correctly with string timestamp values. Closes #5621
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7781 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 14:53:06 +00:00
nate
16e2579f01
Correcting Security component to treat POST data arrays as a single field for validation purposes, fixes #5588
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7774 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 03:18:08 +00:00
mark_story
2350000be0
Adding tests for formHelper::select() to test secured fields generation. Refs #5588
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7765 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-20 03:01:01 +00:00
phpnut
f281f8814a
Adding changes to tests to correct expected results when using hasAndBelongsToMany associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7752 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 00:38:38 +00:00
mark_story
439116fd03
Adding test to paginator test. Disproves #5582
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7730 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 20:20:44 +00:00
mark_story
5c962accc1
Fixing timehelper::fromString when input time is invalid.
...
Tests added and renamed for better consistentancy with other tests.
Closes #5556
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 17:19:07 +00:00
mark_story
acce4fa54e
Adding interval to minute() attributes when timeformat = 24.
...
Tests added.
Closes #5428 , refs #4641
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 16:57:22 +00:00
mark_story
06955ad42f
Removing stray comment from last commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7708 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 23:58:35 +00:00
mark_story
5ca239870d
Adding tests to disprove #5540 . Closes #5540
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7707 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 23:57:27 +00:00
AD7six
3ddc5e6be2
adding failing testcase for identical <cake:nocache> content confussion.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7703 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-05 18:27:02 +00:00
nate
b29f805632
Allowing $attributes param of FormHelper::select() to be null, fixes #5518
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7697 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 21:55:41 +00:00
nate
badfb42c6a
Fixing issue with file upload inputs not being factored into form security hash, closes #5489
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7678 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 16:23:39 +00:00
mark_story
bf3e254987
Removing secure() from FormHelper::submit(). Removes creation of multiple _Token inputs when multiple submit buttons are created. Fixes #5490 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7677 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 01:58:27 +00:00
mark_story
c416b5d241
Removing cruft from form test
...
Adding test descriptions.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7663 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 00:07:57 +00:00
nate
eb7fb6d7e3
Re-implementing form hashing security to using string-based keying. Fixes #5262 , fixes #5300
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7658 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 23:02:14 +00:00
nate
80c1950530
Refactoring FormHelper security token generation, fixing code formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7639 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-21 04:06:37 +00:00
phpnut
8ae5866a1c
Additional optimization refactoring
...
Removed ability to use deprecated / with plugin, helper, etc combinations. The dot notation is only allowed from this point forward.
Corrected tests for the above changes.
Corrected formating in basics.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7623 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 03:09:19 +00:00
nate
e3788dd6fa
Updating XmlHelper test case for consistency with recent quoting fix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7622 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 02:33:33 +00:00
AD7six
0df14f183f
adding cache test with multiple no cache tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7591 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-10 16:48:43 +00:00
mark_story
b3c33af9ee
Removing test disabler in CacheHelper test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7561 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-05 21:44:30 +00:00
mark_story
e5cfd69636
Adding test layout with cake:nocache tags.
...
Adding tests to CacheHelper
Fixing CacheHelper not parsing cake:nocache after $content_for_layout when view file has cake:nocache tags as well.
Closes #5275
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7560 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-05 21:41:07 +00:00
nate
ccc602c82a
Updating PaginatorHelper::options() docblock and adding test cases to demonstrate correct usage, closes #5380
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7556 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 19:10:15 +00:00
mark_story
c58e58a491
Adding tests for secured forms. Fixes the issues related to checkboxes in multi row forms.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7533 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-29 03:11:35 +00:00
renan.saddam
db5235261e
Proving correct especial char encoding. Closes #5335
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7528 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-28 02:37:37 +00:00
phpnut
80fa429785
Adding fix for undefined notice in vendors.php
...
Removed check for required file in Cache::!__loadEngine();
Fixed cache being wrote on each request from Configure::listObjects(); when data was an empty array
Removed extra call to App::getInstance(); in App::import();
Moved setting of App::!__loaded; inside of if statement.
Removed cake core install directory paths from the cached dir_map.
Changed uses('file'); to require statement in file.php
Changed uses('set'); to require statement in inflector.php
Removed check for existing inflections.php since this file has been included in 1.2 since Dev releases.
Added additional test for Helper::clean();
Fixed bug in Helper::!__clean();
Fixed random output of 1 when using MediaView;
Added csv mime type to MediaView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 03:42:17 +00:00
mark_story
7e039ee62d
Adding additional tests to XML.
...
Added XML group, updated RssHelper and XmlHelper tests to not cause issue when run as part of a group.
Updated assertions on helper test.
Fixed broken methods in XML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7514 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 23:15:48 +00:00
mark_story
d8e1778a0d
Adding additional tests to expand coverage of stripping script elements.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7494 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-24 19:01:54 +00:00
mark_story
792863a3b4
Adding test to illustrate #5302 . Corrected Error in doc block. Closes #5302
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7487 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 17:50:32 +00:00
nate
6f660812ca
Adding FormHelper security token patch from renan.saddam, fixes #5061 , adding test to disprove #2729 (FormHelper::input() and float fields)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7486 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 16:05:34 +00:00
mark_story
5874916ccb
Adding Tests to cover 'in' when doing finds, and making multi record forms with loops.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7468 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-15 01:12:31 +00:00
mark_story
a180071f6c
FormHelper::checkbox() now sets name of hidden field when name option is set. Closes #5224
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7449 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-09 22:08:17 +00:00
renan.saddam
cd09746201
Added tests to prove wrong generation of hash when hidden value equal to 0 (zero). Refs #5061 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7447 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 15:08:18 +00:00
mark_story
54fa1833e8
Added category handling to RssHelper. Additional tests added. Closes #5135
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7443 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 03:49:53 +00:00
renan.saddam
5319e89b5c
Refactoring RssHelper tests.
...
Adding tests to multiple category inside item. Refs #5135 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7434 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 03:24:18 +00:00
mark_story
5ff62650e5
Correcting file layout in test_app. Fixing tests in Configure test and ThemeView Test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7413 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:23:16 +00:00
mark_story
bdf4c8406c
Fixing broken view tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 15:50:37 +00:00
nate
22edda11ad
Adding FormHelper test to disprove ticket #5184
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 05:39:53 +00:00
gwoo
7ce4bd4131
closes #5160 , finishing tag implementation on paginator helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 16:58:57 +00:00
DarkAngelBGE
0948035eba
fixing broken test in theme test file
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7381 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:57:24 +00:00
DarkAngelBGE
0d147f8652
fixing broken test in view test file
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7380 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:56:45 +00:00
DarkAngelBGE
1052d21522
fixing broken tests in FormHelper, closes #5088
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 13:40:59 +00:00
nate
b0b9c1e4bd
Adding PaginatorHelper tests for additional custom URL settings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 04:04:21 +00:00
mark_story
d7b043a374
Fixing test_app/test_plugin files. Many had incorrect file / class names. Added tests to cover plugin class loading, and dispatching.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-24 02:19:05 +00:00
mark_story
0b23ec64ff
Modified all remaining tests to use CakeTestCase. Switched all uses() calls to App::import().
...
Added tests to configure.test to test importing from plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-21 02:40:58 +00:00
mark_story
c1bac3358a
Adding additional tests related to prefix routing. Shows usage in paginator. Refs #5115
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7346 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-19 17:20:42 +00:00
mark_story
c19e7ff3da
Modified test to use accented characters.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7345 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-17 17:14:28 +00:00
mark_story
4355a13939
Altered TextHelper::truncate() when using exact = false and considerHtml = true close tags would be chopped off leaving incorrect Html. Closes #4941
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-16 12:40:49 +00:00
joelmoss
029f2ab75c
Created test to prove #4941 . Refs #4941
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7339 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 11:01:44 +00:00
mark_story
b2d74c8be1
Added tests to cover model validation setting errors, controller render passing error and form helper field error display. Closes #5077 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7338 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-15 02:13:14 +00:00
mark_story
5ec8eef6ce
Added userOffset check to timeAgoInWords, tests added. Closes #5068 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7333 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-10 03:30:28 +00:00
joelmoss
aa1b0c776e
JavascriptHelper::blockEnd now correctly respects safe option. Test also added. Fixes #5074
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7330 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-09 12:08:51 +00:00
phpnut
9bc1acb2ec
Closes #5051 , AjaxHelper form function should use mt_rand() instead of rand().
...
Replaced all rand() with mt_rand() in the core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7322 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:31:22 +00:00
phpnut
6ee4849172
Removing invalid test case added in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:47:13 +00:00
phpnut
822c8978a9
Fixes #5002 Model name in PaginatorHelper sortKey.
...
Closes #5032
Small performance improvement in App::!__load();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7312 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 09:44:42 +00:00
mark_story
3da913f392
Updated String::insert() so that when using ? as parameter it offsets the length of the parameter. Added tests to model, and string. Closes #5035
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 02:19:19 +00:00
mark_story
c25ed9016a
Fixed attributes being set for select elements in formHelper::dateTime() when $options[id] is specified. Closes #5013 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-03 00:46:42 +00:00
gwoo
c004dd68a5
removing empty lines from the end of test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:17:02 +00:00
phpnut
022ffa3f4f
Adding fixes for pagination on associated models.
...
Corrected dot notation use in Controller::paginate();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7286 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:25:08 +00:00
gwoo
924ca38fea
updating view test case for enhancement
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7273 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 21:04:46 +00:00
renan.saddam
57dabe311f
adding test case to #4980 , proving cake:nocache bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7262 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-26 05:26:10 +00:00
gwoo
abf3d0685a
fixes #4986 , .ctp extension failover for layouts
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7260 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-25 03:16:53 +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
df75a06756
Fixing coding standards violations in core, and adding misc tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
renan.saddam
66ea6be098
fixes #4958 , Windows directory separator issue
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7221 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 19:30:29 +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
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
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
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
mark_story
8c32547351
Adding test to formHelper. Testing checkbox in response to #4869
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7146 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 12:34:30 +00:00
gwoo
5807def032
updating some view stuff
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7140 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-08 15:44:46 +00:00
AD7six
a978fb2661
adding Doc blocks to everything in tests folder missed in the first pass.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7126 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-05 15:20:45 +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
gwoo
298ede514c
removing debug statement from form.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7115 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 17:07:40 +00:00
gwoo
071af32eb2
adding test cases showing usage of showParents in form helper, closes #4831
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7113 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-04 15:57:45 +00:00
TommyO
f1921c15ef
New tests added for xml-based helpers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7109 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 22:33:21 +00:00
TommyO
57b6dedc49
Additional tests added for XmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7106 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-03 17:59:23 +00:00
AD7six
f44c755475
Adding doc blocks to everything in the tests dir
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7094 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 19:22:55 +00:00
mariano.iglesias
3cfa3132e4
Fix issue with test and precision of float numbers. Adding test to show use of quoteKey, closes #4806
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7083 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-01 21:22:59 +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
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
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
nate
57473a4633
Fixing XML test for case where App.encoding is empty
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7025 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:53:49 +00:00
gwoo
deb972d13d
fixing theme view test usage of error handler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7024 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:37:43 +00:00
gwoo
d5f71ccadf
fixing view test usage of error handler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7023 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 05:26:33 +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
mark_story
6384da5b53
View::beforeLayout and View::afterLayout now implemented closes #4722
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7018 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-23 02:16:36 +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
2a0f5dd041
Fixed View::element(). If CacheHelper is added to the $helpers array in lowercase, it caused undefined var errors fixes #4705
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6984 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 12:22:46 +00:00
nate
092d51b4f1
Upating RssHelper test to reflect changes in XmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6982 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 04:55:04 +00:00
mark_story
44470c2e72
Merged View::renderElement() and View::element() closes #4569
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6978 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-20 00:56:17 +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
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
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
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
mariano.iglesias
f900ecc1ef
Removed unneeded function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6929 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 19:56:00 +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
phpnut
9d9d69d194
Fixing svn props on files.
...
Renamed sessionHelper.ctp
Fixed test case with proper layout name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6880 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 05:13:44 +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
4621e68803
bringing the numbers helper to 100% coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6850 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 18:04:09 +00:00
DarkAngelBGE
ead3ff125d
adding header test to XmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:50:27 +00:00
DarkAngelBGE
2bdf2a7704
removing one test from xml helper that would not work in a group test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6842 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:20:58 +00:00
DarkAngelBGE
79e1fd6ed2
enabling php4 for xml helper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6839 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 08:15:15 +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
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
94c129cf9e
Updating test in JavascriptTest so float precision is taken into account
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6808 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:42:56 +00:00
mariano.iglesias
98cf0f47f5
More code coverage for JavascriptTest
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6807 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:37:45 +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
ce01acfbdf
Reverting test change from [6790]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6799 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 16:39:18 +00:00
nate
925e022e4f
Adding check for XDebug in CCM test, fixing database check in MySQL, adding test coverage for View, fixes #4619
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6797 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 15:48:45 +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