Commit graph

470 commits

Author SHA1 Message Date
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
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
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
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