Commit graph

1448 commits

Author SHA1 Message Date
mark_story
4704a8cd00 Removing unused $view property from CacheHelper.
Fixes #272
2009-11-07 10:40:48 -05:00
ADmad
002a01a9d8 passedArgs from current request are auto merged with url options of paginator helper
Signed-off-by: Florian Krämer <florian.kraemer@cakedc.com>
2009-11-06 18:31:42 +01:00
mark_story
4deaf27cc0 Removing deprecated code in Html::css()
Minor refactoring in HtmlHelper methods.
Fixes #268
2009-11-06 09:31:57 -05:00
mark_story
ab76cb1217 Merge branch '1.3' into 1.3-misc 2009-11-06 09:25:11 -05:00
predominant
62810fb4f4 Updating more Copyright dates. 2009-11-06 18:04:38 +11:00
predominant
1185681549 Removing newline caused by Subversion line removal. 2009-11-06 18:01:22 +11:00
predominant
384bb7a0e0 Update license lines throughout. 2009-11-06 17:51:51 +11:00
predominant
d7b604c8ed Fixing links throughout 2009-11-06 17:46:59 +11:00
predominant
8ff6505fe8 Removing excess whitespace 2009-11-06 17:08:23 +11:00
predominant
6782cb019c Update CakePHP Project link. 2009-11-06 17:00:11 +11:00
predominant
5dfe1777af Removing Subversion file headers. 2009-11-06 16:51:09 +11:00
predominant
ceee56013c Remove Subversion $Date$ lines. 2009-11-06 16:17:01 +11:00
predominant
04f1b6cdfe Remove Subversion $LastChangedBy$ lines. 2009-11-06 16:11:16 +11:00
predominant
42f3f16d60 Remove subversion $Revision$ lines. 2009-11-06 16:08:02 +11:00
predominant
1b9b0aae5e Updating Copyright date to include 2009. 2009-11-06 15:34:28 +11:00
mark_story
e776cf1ad2 Adding tests and fixing inline parameter being converted to an attribute.
Fixes #265
2009-11-05 23:32:39 -05:00
predominant
8f75ff58c7 Removing @filesource 2009-11-06 15:24:02 +11:00
predominant
490e76460f Changing quotes and adding spaces. Standarization cleanup. 2009-11-06 13:46:49 +11:00
predominant
2669b6179f Fix committed merge conflict for home page. 2009-11-05 14:30:56 +11:00
mark_story
380b49a446 Fixing Helper::value() and extraction of habtm data. Refs #256 2009-11-04 14:05:12 -05:00
mark_story
dc07a05fca Merge branch '1.3' into 1.3-misc 2009-11-04 09:20:21 -05:00
predominant
59c62426c9 Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc 2009-11-04 16:11:35 +11:00
predominant
cf42c8dd7f Updating default views and baking templates to use $this->Helper syntax for helpers. 2009-11-04 15:52:56 +11:00
mark_story
12c7203c71 Merge branch '1.3-alpha' into 1.3
Conflicts:
	cake/libs/view/pages/home.ctp
2009-11-03 23:19:01 -05:00
mark_story
1d22adbc1a Merge branch '1.3-misc' into 1.3 2009-11-03 22:50:11 -05:00
mark_story
0aecb9de2d Applying patch from 'dogmatic' to update home.ctp to use helper methods, and i18n. 2009-11-03 22:40:36 -05:00
mark_story
bc8d920c0f Updating changelog link on home.ctp 2009-11-03 19:53:59 -05:00
mark_story
d63218c0a0 Fixing error in previous commit. 2009-11-03 09:52:59 -05:00
mark_story
6b043c6c57 Updating doc blocks for paginator helper. 2009-11-02 21:37:20 -05:00
renan.saddam
91b9e1d50b Updating docblock for FormHelper::dateTime method. 2009-11-02 13:57:05 -02:00
renan.saddam
034b5c435c Allowing FormHelper::month() to use a $monthNames array as values. 2009-11-02 13:51:16 -02:00
ceeram
988ab2d29f fixes Ticket #6300
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-02 00:19:44 -05:00
mark_story
9d2628f699 Removing tab 2009-11-02 00:07:16 -05:00
mark_story
a87d31cc7f Fixing $cacheAction requiring the inclusion of the controller name for view cache files to be generated. This behavior makes the cache helper behave as documented.
Test cases added.  Fixes #232
2009-11-02 00:07:02 -05:00
mark_story
a3bb77c4f3 Merge branch '1.2' into 1.3-merger
Conflicts:
	cake/console/libs/acl.php
	cake/console/libs/tasks/controller.php
	cake/console/libs/tasks/db_config.php
	cake/console/libs/tasks/model.php
	cake/console/libs/templates/skel/views/layouts/xml/default.ctp
	cake/libs/model/datasources/dbo/dbo_mysql.php
	cake/libs/model/datasources/dbo/dbo_mysqli.php
	cake/libs/validation.php
	cake/libs/view/helpers/form.php
	cake/tests/cases/basics.test.php
	cake/tests/cases/console/libs/tasks/model.test.php
	cake/tests/cases/libs/cake_test_case.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
	cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
	cake/tests/cases/libs/view/helpers/javascript.test.php
	cake/tests/cases/libs/view/helpers/session.test.php
	cake/tests/groups/controller.group.php
	cake/tests/groups/lib.group.php
	cake/tests/groups/no_database.group.php
2009-11-01 12:11:49 -05:00
mark_story
44d7742b85 Minor refactoring and removal of duplicate test. 2009-10-31 16:28:43 -04:00
tPl0ch
2331cfde60 Added 'before' and 'after' options to FormHelper::submit(). Test cases updated.
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-31 16:21:53 -04:00
mark_story
6726b76077 Refactoring input() to reduce number of method calls.
Applying patch from 'j3ffy' to allow user defined types to override magic select type.
Test case added.
Fixes #5109
2009-10-31 01:45:17 -04:00
mark_story
ade96b7ea5 Updating doc blocks. 2009-10-31 01:11:02 -04:00
mark_story
83caf50918 Fixing doc blocks and minor refactoring. 2009-10-31 01:04:33 -04:00
mark_story
9ed7a5cd55 Adding new options into doc blocks.
Removing todo as its implemented already.
2009-10-31 00:58:21 -04:00
mark_story
ac302bb6c2 Minor refactoring.
Adding tests for form->create() with file type forms.
2009-10-31 00:08:49 -04:00
José Lorenzo Rodríguez
adea104edb Allowing output disabling of hidden fields in checkbox and radio input types. closes #6185
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 22:47:31 -04:00
José Lorenzo Rodríguez
1c47b2182e Adding form encoding default in form create options. Default is always taken from Configure::read('App.encoding'). closes #6042 2009-10-30 22:35:21 -04:00
José Lorenzo Rodríguez
dfc1014fba Making current action be the default for new forms. Updating test accordingly. closes #5353
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-30 22:29:49 -04:00
renan.saddam
84a10904fb Fixing typo on variable name. 2009-10-30 18:42:04 -02:00
mark_story
8b26d9ceb2 Applying optimization from 'Ceeram' reduces merges in FormHelper.
Fixes #225
2009-10-29 19:10:04 -04:00
renan.saddam
61845090ed Changing variable name to make consistency between others methods. 2009-10-29 01:31:55 -02:00
renan.saddam
e7074c1e5c Moving parameters to $options on Text::truncate() and Text::highlight(). 2009-10-29 01:23:44 -02:00
mark_story
6c18c0e0c7 Fixing escape parameter usage. 2009-10-28 18:41:29 -04:00
mark_story
00d7c655ce Improving documentation for PaginatorHelper::sort() Fixes #210 2009-10-27 13:28:43 -04:00
mark_story
6123ed47c4 Removing empty strings that caused undefined string offset errors.
Trimming trailing spaces.
2009-10-22 00:17:48 -04:00
José Lorenzo Rodríguez
2f0598b5c4 Removing todo message, as it is implemented correctly 2009-10-22 00:17:39 -04:00
José Lorenzo Rodríguez
ce743c00e8 Expanding Helper an View functionaility to accept deep nested entitities.
This allows the form helper to render inputs with arbitrary number of dot separated parts
2009-10-22 00:17:23 -04:00
José Lorenzo Rodríguez
50ec80ff50 Continuing work on Helper::setEntity and associated methods 2009-10-22 00:17:14 -04:00
José Lorenzo Rodríguez
2941e89da3 Making Helper::viewEntity accept any number of levels 2009-10-22 00:16:37 -04:00
José Lorenzo Rodríguez
31f0cdc214 REfactoring model introspection to gather info form multiple models 2009-10-22 00:16:28 -04:00
mark_story
8b419d2dd8 Removing use of ife() from core classes. 2009-10-21 12:57:15 -04:00
mark_story
fa6b1b1a20 Changing FormHelper::button() to actually create <button> elements instead of input elements. Test cases added. 2009-10-19 23:57:23 -04:00
mark_story
08f07a9aa4 Changing FormHelper::submit() to be able to create all types of submit buttons. Use 'type' option to create reset or button type inputs.
Test cases added.
2009-10-19 23:44:50 -04:00
mark_story
b9e28d1908 Updating doc blocks. 2009-10-19 23:34:34 -04:00
mark_story
34fb1cc683 Refactoring out common code blocks into a separate method. 2009-10-19 21:58:37 -04:00
mark_story
2675bbcd53 Fixing FormHelper::__selectOptions incorrectly selecting options due to type juggling. Fixes #167 2009-10-18 22:05:17 -04:00
mark_story
057e3ff0aa Removing $showEmpty parameter from all select based widgets.
Use attributes[empty] instead.  This change unifies the api between form->input() and other widget methods.
Tests and docblocks updated.
2009-10-17 01:29:16 -04:00
mark_story
610a281030 Updating doc blocks. 2009-10-17 00:55:17 -04:00
mark_story
f1c9b33f2b Fixing typos. 2009-10-16 23:19:46 -04:00
mark_story
a46ebc933b Removing redundant function calls. 2009-10-16 23:16:46 -04:00
mark_story
0dee625215 Removing escape parameter from para()
Renaming parameters.
2009-10-16 23:14:42 -04:00
mark_story
3c1d134685 Updating doc blocks.
Renaming inline param for style() to oneline.
Removing escape parameters from div() and tag()
2009-10-16 23:11:13 -04:00
mark_story
8e2f58d086 Removing HtmlHelper::css() inline parameter. Use $options[inline] instead.
Adding tests for inline = false script and css generation.
2009-10-16 23:00:31 -04:00
mark_story
fc4df2bb64 Updating documentation. 2009-10-16 22:53:38 -04:00
mark_story
6bb53a5c9d Removing HtmlHelper::link()'s escapeTitle parameter. $options[escape] now controls escaping of attributes and title text. 2009-10-16 22:49:44 -04:00
mark_story
7344c0ce7d Removing $inline parameter from HtmlHelper::meta() inline is now an option. 2009-10-16 22:31:56 -04:00
mark_story
b021461630 Updating documentation. 2009-10-16 22:15:57 -04:00
mark_story
23cf0da18e Updating doc blocks 2009-10-16 22:10:01 -04:00
mark_story
4e038e55b3 Removing NONE options from FormHelper::dateTime(). These options are legacy options, from before date() and time() existed. If you need only date selects, use date(), same for time selects. 2009-10-16 22:02:07 -04:00
mark_story
d5ce5813c7 Fixing typo. 2009-10-16 22:02:07 -04:00
mark_story
f9f2986f48 Implementing Form helper default options. Allows the creation of persistent form options when opening a form.
Adding patch from 'Ceeram' / 'bankai'
Refs #56.
2009-10-16 22:02:07 -04:00
mark_story
6dcc819121 Updating fileheaders. 2009-10-16 22:02:07 -04:00
mark_story
f07df02087 Making JsHelper::set() work well with setting the variables to an object property. 2009-10-16 22:02:06 -04:00
mark_story
4be98b6ed9 Adding JsHelper::set() + test cases. 2009-10-16 22:02:06 -04:00
predominant
1945204686 Minor formatting of media class. 2009-10-16 22:02:06 -04:00
mark_story
ecc7d9b303 Replacing $pluginPath loops with App::pluginPath(). Minor optimization for App::pluginPath(). 2009-10-16 22:02:06 -04:00
mark_story
906eb82e9b Fixing typo in prototype engine helper. Fixes #172 2009-10-15 11:09:13 -04:00
mark_story
082156f9a1 Fixing FormHelper::input() label's for attribute when a datetime type is created and dateFormat or timeFormat is set to NONE. Fixes #168 2009-10-14 21:17:00 -04:00
mark_story
d1f5acd0e0 Merge commit 'origin/1.2' into 1.2-merge-in
Conflicts:
	cake/console/libs/shell.php
	cake/libs/model/connection_manager.php
	cake/libs/view/helpers/html.php
	cake/libs/view/helpers/javascript.php
	cake/tests/cases/libs/i18n.test.php
	cake/tests/cases/libs/model/connection_manager.test.php
	cake/tests/cases/libs/model/model_read.test.php
	cake/tests/cases/libs/view/helpers/html.test.php
	cake/tests/groups/database.group.php
2009-10-14 00:51:55 -04:00
mark_story
a89882581b Adding i18n support to text that lacked it. Refs #5814 2009-10-10 00:35:54 -04:00
mark_story
955bd338e7 Unsetting local vars, so that viewVars with the name will be extracted. 2009-10-08 23:55:17 -04:00
mark_story
0d3ef03b9f Updating file headers. 2009-10-07 23:43:01 -04:00
mark_story
06162d5022 Deprecating TextHelper::trim() as it is an alias for truncate().
Expanding use of mb_ methods.
Tests updated.
2009-10-07 23:43:01 -04:00
Niles
cbf676c0e4 remove call to deprecated method. 2009-10-06 08:42:35 -04:00
mark_story
c47e899ba1 Fixing HtmlHelper::css, and JavascriptHelper::link so that files containing the asset extension always get the extension added. Test cases added. Refs #139 2009-10-02 12:53:20 -04:00
mark_story
f12cbdba38 Fixing CacheHelper and multiple cake:nocache tags in a view file, breaking cake:nocache following $content_for_layout. Fixes #136 2009-10-01 01:03:47 -04:00
mark_story
347c175b85 Updating documentation blocks for CacheHelper. 2009-09-30 22:44:15 -04:00
mark_story
58ec259714 Merge branch '1.3-router' into 1.3-misc 2009-09-30 00:51:20 -04:00
mark_story
1c8ec459b6 Removing 'id' key param in FormHelper::create() it normally only served to make routing more complex. Removal also enables reverse routing to work with scaffolding. 2009-09-29 22:46:45 -04:00
mark_story
070bbb5d0e Removing magic 'title' key in Controller::set() and View::set()
Removing Controller::$pageTitle and View::$pageTitle.
Instead you should set('title_for_layout', $val) from your view or controller.
Test cases updated.
2009-09-28 21:23:40 -04:00
mark_story
508d737b6a Updating HtmlHelper::css, JavascriptHelper::link to not replace multiple occurences of CSS_URL or JS_URL when using Asset.filter settings.
Test cases added.
Thanks to 'robustsolution' for the patch.
Fixes #105
2009-09-26 14:22:12 -04:00
mark_story
06cf97459a Fixing XmlHelper::elem() when value is null and cdata = true. Removing empty invalid tag.
Test cases added.
Fixes #127
2009-09-24 22:43:31 -04:00
mark_story
e030400f8e Updating links in home.ctp to point a new address for changelogs and to code.cakephp.org instead of trac. 2009-09-24 22:26:55 -04:00
mark_story
7f49f7f455 Updating HtmlHelper and JavascriptHelper to use Helper::assetTimestamp 2009-09-24 00:16:19 -04:00
mark_story
ee514f3fc6 Adding Helper::assetTimestamp()
Refactor's repeated code from Html and Javascript Helpers.
Test cases added.
2009-09-23 23:45:11 -04:00
mark_story
26d2237df0 Making conditions easier to read.
Adding additional test for image timestamping.
Refs #108
2009-09-23 23:30:55 -04:00
ADmad
de4737323f Updated Html and Javascript helpers to suffix asset urls with timestamp even when the app is run off a subfolder on the domain
Signed-off-by: Mark Story <mark@mark-story.com>
2009-09-23 23:30:34 -04:00
mark_story
6946bb0295 Updating docs for FormHelper::inputs()
Fixes #110
2009-09-23 23:05:08 -04:00
mark_story
022f8ccaa2 Making conditions easier to read.
Adding additional test for image timestamping.
Refs #108
2009-09-22 19:04:40 -04:00
ADmad
07a89cd953 Updated Html and Javascript helpers to suffix asset urls with timestamp even when the app is run off a subfolder on the domain
Signed-off-by: Mark Story <mark@mark-story.com>
2009-09-22 18:57:30 -04:00
mark_story
e6cc81226d Merge branch '1.3-jshelper' into 1.3 2009-09-20 17:46:30 -04:00
ADmad
5049265a49 Fixed incorrect doc. block for TimerHelper::format 2009-09-20 11:08:48 -04:00
mark_story
05f908d36d Fixing failing tests in JsHelper caused by changed API in HtmlHelper. 2009-09-16 01:55:15 -04:00
mark_story
5717e3b59c Merge branch '1.2' into 1.2-merger
Conflicts:
	app/webroot/test.php
	cake/VERSION.txt
	cake/bootstrap.php
	cake/config/config.php
	cake/console/cake.php
	cake/console/libs/schema.php
	cake/console/templates/skel/webroot/test.php
	cake/libs/configure.php
	cake/tests/cases/console/libs/schema.test.php
	cake/tests/cases/libs/debugger.test.php
	cake/tests/cases/libs/model/model_write.test.php
	cake/tests/fixtures/aco_fixture.php
2009-09-16 01:23:49 -04:00
mark_story
3ef53aa159 Applying optimization from 'wangbo' to View::renderCache(). Fixes #26 2009-09-14 23:56:50 -04:00
mark_story
f1194a4ec9 Commiting fix to pass tests in last commit.
Making View::renderCache tests more specific.
2009-09-14 23:53:04 -04:00
mark_story
01cf40bf12 Adding automatic use of $options for $disabledOptions in PaginatorHelper::next() and PaginatorHelper::prev(). Thanks to 'joaquin_win' for the initial patch. Refs #83 2009-09-14 23:06:24 -04:00
mark_story
326424592d Merge branch '1.2' into 1.2-merger
Conflicts:
	cake/VERSION.txt
	cake/config/config.php
	cake/dispatcher.php
	cake/libs/controller/scaffold.php
	cake/libs/inflector.php
	cake/libs/view/view.php
	cake/tests/cases/libs/controller/scaffold.test.php
	cake/tests/cases/libs/inflector.test.php
	cake/tests/cases/libs/view/view.test.php
	cake/tests/fixtures/counter_cache_post_fixture.php
	cake/tests/fixtures/counter_cache_user_fixture.php
2009-09-13 13:52:58 -04:00
mark_story
9c41efd6fe Adding NumberHelper::addFormat and test cases. Refs #5630 2009-09-10 22:54:49 -04:00
mark_story
5f6015c3c4 Updating file headers and removing @static. 2009-09-10 22:23:48 -04:00
mark_story
0065005f95 Fixing custom error class not being used if error for field is a named index. Test case added. Fixes #76 2009-09-10 09:57:23 -04:00
mark_story
cf3521737f Fixing selected with interval not selecting the correct option. Fixes #70. 2009-09-03 22:47:17 -04:00
mark_story
ce7864920f Adding ability to add arbitrary attributes to HtmlHelper::scriptBlock. Test case added. 2009-09-03 13:50:53 -04:00
mark_story
ead3b0ecf6 Allowing HtmlHelper::script() to take an array of options, allows for custom attributes to be added to script include tags. Test cases added. Fixes #2955 2009-09-03 13:45:39 -04:00
mark_story
c963d5cc43 Updating file headers. 2009-09-03 12:43:13 -04:00
mark_story
2ff5334347 Minor refactor to remove method calls to Inflector::camelize.
Adding tests to ensure references are maintained.
2009-09-03 09:37:25 -04:00
evilbloodydemon
75695341fa Helpers addressed by $this->Helper->func() 2009-09-03 00:58:26 -04:00
mark_story
4d458e93b6 Updating SessionHelper::flash() to use elements for custom flash wrapping html instead of layouts. 2009-09-01 00:03:56 -04:00
mark_story
1bedd8418b Merge branch '1.3-deprecation' into 1.3-misc 2009-08-31 23:41:41 -04:00
mark_story
5fa6e5b6f2 Removing deprecated params. 2009-08-31 22:34:14 -04:00
mark_story
4d7fc24850 Fixing errors generated by ajaxProvider class not being loaded when checking for method implementation. 2009-08-31 11:38:31 -04:00
mark_story
81cb097959 Merge branch '1.3-behavior-error' into 1.3-misc 2009-08-30 19:33:43 -04:00
mark_story
776992dc6c Further optimizations to path scanning. 2009-08-30 19:13:54 -04:00
mark_story
8be5de947b Minor refactor in how paths are checked, so that fallback extensions are checked only when all paths fail, instead of for each path. Refs #49 2009-08-30 19:07:36 -04:00
mark_story
ef23ecfe07 minor refactor for file_exists checks. 2009-08-30 18:59:07 -04:00
mark_story
81865bc960 Removing use of ife() from core classes. 2009-08-27 22:54:57 -04:00
mark_story
4bb5b615f7 Applying patch from 'mete0r' to make the legend generated FormHelper::inputs() more i18n friendly. Fixes #6360 2009-08-27 22:38:49 -04:00
mark_story
7c4d60abe8 Adding patch from 'grncdr' to allow default direction to be set for sort links created with PaginatorHelper::sort. Fixes #5151 2009-08-26 23:55:19 -04:00
mark_story
4f2d415663 Applying patch from 'kuja' to give default class names to links generated by Paginator::sort().
Fixes #6239
2009-08-26 23:33:13 -04:00
mark_story
38a4b619e6 Adding default classes to next and prev links.
Switching next() and prev() to use span by default.
2009-08-26 22:55:24 -04:00
mark_story
533f6e0d36 Updating doc block. 2009-08-26 22:54:23 -04:00
mark_story
136b4db7ad Deprecating $escape for HtmlHelper::tag() use $attributes['escape'] instead. Test case added. 2009-08-26 22:46:49 -04:00
mark_story
c2db059732 Adding error methods and templates for Missing Behavior class and Missing Behavior File errors. 2009-08-26 10:02:55 -04:00
mark_story
56d2423bc3 Additional documentation. 2009-08-24 22:57:01 -04:00
mark_story
1a51d58713 Updating file header. 2009-08-24 22:53:55 -04:00
mark_story
b265a99bc9 Removing deprecated properties. 2009-08-24 22:53:09 -04:00
mark_story
31ec714e2e Adding View::_paths() optimization.
Test cases added.
Refs #49
2009-08-23 23:13:56 -04:00
mark_story
325446a8b3 Updating View::_paths to remove an always miss file_exists() check.
Test case added.
Refs #49
2009-08-23 22:43:51 -04:00
mark_story
a0feb84789 Removing support for deprecated .thtml view file extension. 2009-08-22 11:50:02 -04:00
mark_story
7a3a6966c2 Removing deprecated View::renderElement() 2009-08-20 01:20:44 -04:00
mark_story
6b6d7959e1 Updating doc blocks. 2009-08-20 01:20:13 -04:00
mark_story
add1dede86 Removing conditional calling of View::_render() as a static method.
Updating doc blocks.
2009-08-20 01:15:08 -04:00
jperras
2737062c6f Fixing doc block for TimeHelper::timeAgoInWords(). Fixes #27. 2009-08-13 13:57:15 -04:00
jperras
deed69ea37 Adding ability to input an array parameter for 3rd argument of TextHelper::highlight(). Implements #17. 2009-08-13 13:32:34 -04:00
mark_story
06e59abb1f Removing trailing spaces. 2009-08-12 10:21:28 -04:00
mark_story
459fcb7a1a Applying patch from 'evilbloodydemon'. Fixes JqueryEngine::request() when wrapCallbacks is true. Test cases added. Fixes #20 2009-08-12 09:45:42 -04:00
mark_story
4b88ba5f9d Updating doc block. 2009-08-12 09:45:42 -04:00
mark_story
08f0c7c157 Fixing method dispatching errors in JsHelper with regards to Object::object, and PHP4 workarounds. 2009-08-12 09:45:42 -04:00
mark_story
a7e300a7c1 Adding warning errors when an incompatible class is used. 2009-08-12 09:45:42 -04:00
mark_story
b1a27b1760 Adding ability to inject an ajax provider class into paginator helper. updating tests. 2009-08-12 09:45:42 -04:00
mark_story
d69772952c Fixing fatal error in php4 2009-08-03 14:42:33 -04:00
mark_story
83a705f739 Merge branch '1.3' into 1.3-jshelper 2009-08-03 14:39:21 -04:00
AD7six
a4bc755cc7 whitespace normalization 2009-08-02 16:10:24 -07:00
gwoo
15ed658a27 Revert "Merge branch '1.3-newlines' into 1.3"
This reverts commit c088131cd8e9f53396852e8a320e2b0396807d20, reversing
changes made to 9341a2bb5eda1db208019aa8a9171224fb76fc6b.
2009-08-02 15:59:54 -07:00
gwoo
bf2b8a60e6 Merge branch '1.3-misc' into 1.3 2009-08-02 12:20:07 -07:00
gwoo
d118c6a764 Merge branch '1.3-newlines' into 1.3 2009-08-02 12:08:55 -07:00
gwoo
7fc465309e Merge branch '1.2' into 1.3 2009-08-02 11:58:39 -07:00
jperras
70c331f5db Updating doc blocks for paginator helper. Thanks to savant for the patch. Fixes #4994.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8271 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-02 18:55:37 +00:00
gwoo
38221e7aa2 Merge branch '1.2' into 1.3 2009-08-01 23:47:28 -07:00
mark_story
878f3367d4 Updating doc block on JavascriptHelper::object(). Thanks BrendonKox. Fixes #6540.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8266 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-01 06:24:55 +00:00
gwoo
1423b0067b Merge branch '1.2' into 1.3 2009-07-30 11:34:33 -07:00
mark_story
6d1c38c1cc expanding doc blocks. 2009-07-29 22:48:40 -04:00
mark_story
3a5b782737 Adding newlines and tests for slideDown slideUp alternate syntax for jquery engine. 2009-07-29 22:37:41 -04:00
mark_story
5b13b29a92 Adding callbackArguments and parseCallbacks to jQuery engine. 2009-07-29 22:19:02 -04:00
mark_story
24299cf943 Implementing wrapped callbacks in Mootools. Fixing implementation in Prototype. Adding JsBaseEngineHelper::_processOptions() to reduce duplicate code.
Test cases appended and updated.
2009-07-29 00:05:27 -04:00
DarkAngelBGE
f88cc56cfe Coding standards fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8260 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-28 20:01:42 +00:00
mark_story
47cd941b53 Applying optimization patch to PaginatorHelper and test refactorings to PaginatorHelper test case. Thanks Phally. Fixes #6526
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8259 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-28 12:40:31 +00:00
mark_story
75026715d1 Adding additional tests to Request and updating callback argument list. 2009-07-28 00:04:43 -04:00
mark_story
2e82d229b7 Adding variable declaration. 2009-07-27 22:37:14 -04:00
mark_story
ebc221dbf7 Updating sortable options.
Fixing drag() when selector is a multiple element selection.
2009-07-27 22:36:22 -04:00
mark_story
ec10e90efb Merge branch '1.3' into 1.3-jshelper 2009-07-27 12:11:43 -04:00
mark_story
cde9afb486 Updating Mootools engine to work seamlessly with $() and $$() type selections. 2009-07-27 08:45:31 -04:00
mark_story
7246563bae Adding newlines 2009-07-26 21:58:58 -04:00
AD7six
fd0aaefb39 whitespace normalization 2009-07-26 12:46:07 +02:00
gwoo
062f471b7f updating App::import usage. ran each test and everything seems ok. 2009-07-25 18:27:02 -07:00
mark_story
d4d9db43a7 Updating PrototypeEngineHelper::request() to use dataExpression. Allowing Js::submit() to work with prototype. 2009-07-25 18:12:53 -04:00
mark_story
dda6c93529 implementing serializeForm() in Prototype engine. 2009-07-25 18:02:54 -04:00
mark_story
def4c98a08 Merge branch '1.3' into 1.3-jshelper
Conflicts:
	cake/libs/view/helpers/html.php
	cake/libs/view/helpers/js.php
	cake/tests/cases/libs/view/helpers/html.test.php
	cake/tests/cases/libs/view/helpers/js.test.php
	cake/tests/lib/header.php
2009-07-25 17:35:27 -04:00
mark_story
6f10f5de6d Fixing issues with ajax forms and mootools. post needs to be lowercase.
Implementing serializeForm() in MootoolsEngine.
Updating doc blocks.
2009-07-25 17:10:22 -04:00
mark_story
2414a43c91 Adding HtmlHelper::scriptStart and HtmlHelper::scriptEnd. Further deprecates JavascriptHelper. Fixing issues in test case. 2009-07-25 15:43:26 -04:00
gwoo
766e12bc2a Merge branch '1.3' into 1.3-newlines 2009-07-25 10:41:40 -07:00
mark_story
4ebf5a4e32 Merge commit 'code/1.3' into 1.3-jshelper
Conflicts:
	cake/tests/cases/libs/view/helpers/html.test.php
	cake/tests/lib/header.php
2009-07-25 01:35:36 -04:00
mark_story
9a66c2cfc5 Fixing method param in jQuery engine. Needed to be converted to 'type'.
Fixing issues in JsHelper::submit() related to data being escaped.
Updating tests cases.
2009-07-24 23:29:44 -04:00
mark_story
49e0e5743f Adding tests for custom url on submit() 2009-07-24 22:54:22 -04:00
mark_story
e8b39fb9a5 Updating docs for serializeForm.
Making url for form js more flexible.
2009-07-24 22:47:08 -04:00
mark_story
36722c0ef2 Implementing serializeForm() in jquery engine. 2009-07-24 22:46:33 -04:00
mark_story
76c13fa98e Adding non buffered tests to Js::link()
Implementing Js::submit() adding test cases.
2009-07-24 22:13:54 -04:00
gwoo
986af28de0 Merge branch '1.2' into 1.3 2009-07-24 15:57:30 -07:00
AD7six
b2142df2bc adding a newline before all comment blocks 2009-07-24 21:18:37 +02:00
jperras
e40428801e Removing all uses of uses() global method & replacing with require or App::import. 2009-07-24 13:41:08 -04:00
DarkAngelBGE
8f61c666c2 Removing usage of r() from core
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8252 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 20:51:24 +00:00
gwoo
61c2c3009d updating session requires and removing deperacted method from text helper 2009-07-23 13:07:03 -07:00
mark_story
93d64c4e76 Removing use of e() from core classes. Refs #6525
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8250 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-23 13:35:14 +00:00