Commit graph

1110 commits

Author SHA1 Message Date
mark_story
b7845657a8 Adding slider to Mootools. Test cases added. 2009-04-18 22:44:47 -04:00
mark_story
5bc6bcfce1 Adding slider to base engine and jquery engine. Tests added. 2009-04-18 22:00:58 -04:00
renan.saddam
bd7bd5d891 Fixing issue when generating textarea with null value.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8146 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-16 18:12:01 +00:00
mark_story
4507d2b895 Adding slider() skel to libraries. 2009-04-15 23:59:13 -04:00
mark_story
518dd41ca8 Updating doc blocks. Removing old methods from JsHelper. 2009-04-15 23:48:04 -04:00
gwoo
ec18aac4ab Merge branch 1.2 into 1.3 2009-04-15 15:16:01 -07:00
mark_story
8db4fe682b Allowing name attribute to pass on to hidden field in FormHelper::radio().
Fixes inconsistency with checkbox().  Test case added.
Fixes #6260

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8145 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-15 17:18:01 +00:00
mark_story
4b2504d334 Refactor repetitive logic in jquery engine. 2009-04-11 23:47:43 -04:00
mark_story
3a3e003982 Adding drop() to mootools. 2009-04-11 23:37:24 -04:00
mark_story
1d5e3150a2 Adding drag() to mootools. 2009-04-11 23:09:58 -04:00
mark_story
02bb4e71f3 Adding drag and drop() methods to prototype.
Adding test for option pass through on _mapOptions(). Ensures that
correctly named options do not get munged.
2009-04-11 00:01:40 -04:00
mark_story
646cfd7a83 Adding drop() to jquery.
Adding testcases.
Fixing doc blocks.
2009-04-08 23:57:32 -04:00
mark_story
0269994842 Adding Drag() to jquery 2009-04-08 23:31:17 -04:00
mark_story
49f689a9ce Updating mootools and prototype sortable implementation. 2009-04-06 21:56:20 -04:00
mark_story
f74408df0a Updating request() in prototype. 2009-04-06 00:39:16 -04:00
mark_story
00f3c6f25d Updating prototype engine and test case for request() 2009-04-06 00:03:19 -04:00
mark_story
5f7abae48c Fixing request() callbacks. Starting test for prototype 2009-04-05 23:49:09 -04:00
mark_story
5f4cdf91ac Fixing AjaxHelper::dragOptions to match scriptaculous docs.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8136 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-06 00:57:46 +00:00
mark_story
5c4f838f5a Adding buffer flush to ajax helper test. Test suite menus now properly display.
Fixing Drag options.  Adding test coverage. Fixes #6266

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8135 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-06 00:45:53 +00:00
mark_story
d74e2d1a73 Fixing newline escaping for single quote strings, output now matches json_encode().
Test added, and old test fixed.
Fixing buffering issues, causing test suite menu to disappear when running JavascriptHelper Test case.
Fixes #6167

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8134 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-04 02:42:46 +00:00
mark_story
87c5a5da6a Fixing jquery::request() and update key.
Adding drag and drop test skeleton to mootools/jquery
2009-03-29 23:00:39 -04:00
mark_story
23423f2791 Updating request in Mootools 2009-03-29 22:08:49 -04:00
mark_story
923883bdad Adding default list of buffered methods to the JsBaseEngine. 2009-03-29 16:14:56 -04:00
mark_story
f2578315e7 Refactoring how buffering works.
Adding buffer params to method calls.
Adding tests for buffer calls.
2009-03-29 16:10:04 -04:00
mark_story
57ceba5c9c Adding docs to explain buffering control. 2009-03-29 14:38:09 -04:00
mark_story
8eeb00b66e Refactoring writeScripts to buffer() methods to clarify API. 2009-03-29 14:23:42 -04:00
mark_story
e2918c6f5e Updating slide effects for jquery engine. 2009-03-29 00:28:15 -04:00
mark_story
ba15d955e2 Updating effect in Mootools
Updating effects and effect test in Prototype
2009-03-28 23:46:23 -04:00
mark_story
768941baeb Adding each() to prototype engine 2009-03-28 18:11:16 -04:00
mark_story
55eafaf112 Adding domReady to prototype 2009-03-28 18:06:20 -04:00
mark_story
8cc5990e09 Adding event() and tests to prototype library 2009-03-28 12:08:34 -04:00
mark_story
da2361de14 Adding get() + tests to prototype 2009-03-28 11:50:57 -04:00
mark_story
977efe4e1d Fixing callback naming issues with mootools 2009-03-28 00:31:51 -04:00
mark_story
29b3a96cb2 Adding sort() to option parsing, makes testing easier. 2009-03-28 00:31:08 -04:00
mark_story
9708b2dc50 Adding sortables to mootools engine. 2009-03-28 00:15:05 -04:00
mark_story
d59a704fb1 Adding sortable to jQuery engine. 2009-03-27 23:44:57 -04:00
mark_story
dfe6fe1c0c Reformatting doc blocks 2009-03-27 23:30:03 -04:00
mark_story
0b7d61f8cd Adding docs and errors for methods. 2009-03-27 23:24:08 -04:00
mark_story
574b0529ec Merge branch '1.3' into 1.3-jshelper
Conflicts:
	cake/tests/cases/libs/view/helpers/html.test.php
	cake/tests/cases/libs/view/helpers/js.test.php
2009-03-27 23:13:50 -04:00
mark_story
0516fb2090 Enabling disabled attribute to be passed to hidden input when making checkboxes.
Test case added. 
Fixes #6226

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8128 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-25 16:58:29 +00:00
jperras
4439bc4f70 Fixing regression in PaginatorHelper. Adding tests for PaginatorHelper::sortDir, as well as fixing incorrect test for sorting with Model.field dot notation. Fixes #6218.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8125 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-22 18:59:53 +00:00
mark_story
f15b793a4a Disabling caching of JS files by default. Requiring webroot to be
writable by default it not a good idea.
2009-03-19 22:05:06 -04:00
mark_story
0bd3cc97c1 Adding tests and features for script caching to files. 2009-03-19 22:02:18 -04:00
gwoo
643651fe56 Merge master in 1.3 2009-03-19 14:10:13 -07:00
renan.saddam
76e0f17dbc Updating documentation to improve code completion
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8114 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-17 21:10:28 +00:00
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
phpnut
e89bc0be10 Committed [8099] before I finished changing variable names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8101 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-15 00:19:02 +00:00
phpnut
ed43e95cf3 Adding methods for setting headers and handling header output, will make testing easier on the class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8099 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-15 00:08:56 +00: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
12cc01eff5 Fixing + updating doc blocks 2009-03-14 13:48:31 -04: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
2f40804d21 Removing Html tags from JsHelper 2009-03-12 23:49:26 -04: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
mark_story
8025743830 Fixing doc blocks in HtmlHelper 2009-03-12 19:34:04 -04:00
mark_story
bf4fa09b8f Removing whitespace introduced in [8014]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8093 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-12 17:33:47 +00: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
nate
92cc331341 Updating docblocks and code formatting in XML classes, adding test change to previous commit.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8089 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-11 04:09:35 +00:00
mark_story
cf0582773b Adding jqueryEngineHelper stub. 2009-03-09 09:25:39 -04:00
mark_story
100fdc1876 Adding tests for $once parameter 2009-03-08 22:33:34 -04:00
mark_story
efbef5f8c6 Adding Access tags, adding _parseOptions 2009-03-08 01:28:07 -05: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
0c77cc98b5 Adding min/pack detection and auto use. 2009-03-07 13:10:50 -05:00
mark_story
86c7d62fc2 Updating JsHelper 2009-03-07 11:08:49 -05:00
renan.saddam
b0a0f2ad30 Refactoring last change to cover issues like [7636]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8079 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-06 13:29:56 +00: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
jperras
571f57822d Refactoring NumberHelper::toReadableSize to properly use I18n functionality.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8071 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-03 23:39:48 +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
259ecbe9a7 Updating doc blocks on formhelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8067 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-28 22:17:56 +00:00
jperras
f2b698a965 Updating Media View to throw a 404 cakeError if the requested file does not exist; thanks 'aidan' for suggested patch. Fixes #6120.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8066 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-27 16:37:37 +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
gwoo
2849bb0a48 adding check in core home.ctp to throw a 404 when debug == 0
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8060 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 19:50:30 +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
mark_story
01340e8014 Fixing docblocks in HtmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8048 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 19:07:15 +00:00
mark_story
42ef8bfbcf Updating doc strings in Javascript helper for better api generation.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8047 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 18:26:22 +00:00
mark_story
0beda262d1 Updating doc blocks in FormHelper.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8045 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 01:39:01 +00:00
mariano.iglesias
5378c79758 Fixing issue where MediaView doesnt properly force download on IE, fixes #6064
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8040 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-17 18:23:44 +00:00
gwoo
f0d03a91cf Merge branch 'master' into 1.3.x.x 2009-02-09 12:01:06 -08:00
nate
519db5e281 Changing FormHelper::label() to allow param to be a string (class name) 2009-02-09 11:39:37 -05: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