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
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
7f49f7f455
Updating HtmlHelper and JavascriptHelper to use Helper::assetTimestamp
2009-09-24 00:16:19 -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
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
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
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
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
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
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
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
gwoo
a9d98e73c3
Merge branch '1.2' into 1.3
2009-07-22 09:27:31 -07:00
DarkAngelBGE
fefbe77208
Minor refactorings for DboMysql, DboSource and TextHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8241 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-21 20:57:39 +00:00
mark_story
a3d5a9beae
Adding stubs for JsHelper::submit()
2009-07-21 00:24:58 -04:00
gwoo
56bee6e1fc
fixes #6507 paginator sort directions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8239 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-21 01:53:14 +00:00
gwoo
4cfdd311a9
fixes #6476 , crash on missing layout in session flash
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8238 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-21 01:33:12 +00:00
gwoo
a2f0ab8b27
Merge branch '1.2' into 1.3
2009-07-20 09:31:56 -07:00
mark_story
76d5855d72
Applying patch from 'Phally' Fixes multiple issues in PaginatorHelper related to first and last option in numbers(). Fixes #6516
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8234 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-17 19:46:33 +00:00
mark_story
a5bfe72bd2
Updating file header and doc blocks.
2009-07-17 00:10:48 -04:00
mark_story
4a4b9eefe5
Updating file headers.
...
Removing newlines.
2009-07-17 00:09:06 -04:00
mark_story
baea319122
Applying patch from 'Dremora' fixes JavascriptHelper::codeBlock() and blockEnd() bugs where content vanished due to incorrectly structured buffers. Minor behavior change in that codeBlock(null) no longer returns an opening script tag. The entire script tag is returned when blockEnd() is called.
...
Test cases updated and refactored.
Fixes #6504
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8231 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-14 17:11:46 +00:00
mark_story
04fa46f228
Updating Js::link() adding confirm option.
2009-07-12 18:42:36 -04:00
mark_story
5119e58e3b
Starting work on Js::link()
2009-07-12 17:30:41 -04:00
mark_story
69de1291e1
Removing deprecated options from object()
...
Tests updated.
2009-07-11 17:31:54 -04:00
mark_story
50c624486e
Updating tests to reflect changes in json encoding.
2009-07-11 17:21:06 -04:00
mark_story
9c51f720ed
Merge branch '1.3' into jshelper-integration
...
Conflicts:
cake/tests/cases/libs/view/helpers/js.test.php
2009-07-06 23:43:57 -04:00
davidpersson
68d333d088
Applying patches by ADMad updating HtmlHelper and adding test. Adding missing properties in test case. Preventing bleed through in test case. Fixes #6490
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8220 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-04 22:04:40 +00:00
gwoo
f1a4352620
Merge branch '1.2' into 1.3
2009-07-03 08:24:42 -07:00
gwoo
9e143bc335
fixes #6473 , dot notation for sort in next/prev
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8213 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 23:48:10 +00:00
gwoo
bc359259a2
Merge branch '1.2' into 1.3
2009-07-02 09:27:00 -07:00
mark_story
1ea5f94c29
Updating JavascriptHelper::escapeString to properly encode utf8 characters as per the JSON spec.
...
Test cases added, with comparisons to json_encode()
Fixes #6400
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8198 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-17 01:59:41 +00:00
gwoo
e54dbd430f
fixes #6419 , redirect with cached view page
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8193 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-10 17:11:17 +00:00
gwoo
fdd63d4e8e
Merge branch 'master' into 1.3
2009-06-02 10:12:14 -07:00
mark_story
1910e5482b
Updating doc block for HtmlHelper::css(). Fixes #6059
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8175 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-22 01:25:13 +00:00
jperras
4f2d65943f
Fixing form helper checkbox hidden input generation for disabled fields. Thanks to 'trevorsg' for the patch & test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8173 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-14 03:26:53 +00:00
gwoo
15518b8c9a
merging 1.3-misc into master
2009-05-01 14:05:46 -07:00
gwoo
db71202aac
Merge branch '1.2' into 1.3
2009-05-01 08:26:02 -07:00
mark_story
7eaf331213
Updating doc block for FormHelper::input(). Fixes #6328
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8160 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-29 12:40:15 +00:00
mark_story
5bdd5560b7
Merge branch '1.3-jshelper' of git@thechaw.com:cakephp into 1.3-jshelper
...
Conflicts:
cake/libs/view/helpers/jquery_engine.php
cake/libs/view/helpers/js.php
2009-04-26 23:28:05 -04:00
mark_story
912f6589d5
Partial Revert "Adding optional param to remove colon on methods. Allows use inside"
...
This reverts commit b29e130606176e4ad4d834fdf42746b3c4085686.
2009-04-26 23:24:39 -04:00
mark_story
e990c5ba37
Adding optional param to remove colon on methods. Allows use inside
...
object literals.
2009-04-26 22:53:26 -04:00
mark_story
9754926d02
Merging with self.
2009-04-24 13:44:52 -04:00
mark_story
005cc1b338
Removing old JsHelperObject
2009-04-23 22:58:42 -07:00
mark_story
91edcacec2
Adding newlines between methods.
2009-04-21 09:31:52 -07:00
mark_story
dd01dda0b4
Adding slider to prototype
2009-04-21 09:18:45 -07:00
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
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
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
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
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
mark_story
e7c71b4125
Updating doc blocks in helpers. Helps generate cleaner API.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8014 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-03 18:48:28 +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
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
nate
e2c087f34b
Fixing failing tests in JavascriptHelper.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7944 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-19 01:30:02 +00:00
john
a1046de895
Couple of syntax fixes - missing semicolon and usage of empty() inside a conditional.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7933 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 18:09:32 +00:00
nate
870c4e87ca
Fixing code formatting in JavascriptHelper to wrap at 100 characters, small return-home-early refactoring.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7931 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 16:08:31 +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
b2b4c4be47
Adding App::import() to app_helper files. Fixes issues with Missing Helper Class, and allows you to use helpers in shell classes. Fixes #5458
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7904 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-05 16:49:43 +00:00
gwoo
4dd105d415
fixes #5829 , form helper using proper method reference for parseAttributes. A patch would have been nice, but some ticket submitters prefer not to make much effort.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7902 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-01 19:39:40 +00:00
mark_story
c49f213fcf
Adding spaces before self close of meta link elements. W3C recommends a space before />. Fixes #5821
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7899 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-30 05:25:37 +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
mark_story
ace8ef4b5a
Applying patch from 'tyler'. Updates Ajax helper to reflect updated scriptaculous API. See http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor . Fixes #5790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7885 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 05:23:31 +00:00
nate
ab152bd291
Updating AjaxHelper docblocks and fixing code formatting -- lines wrap at 100 characters. Fixes #5701 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7852 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 22:15:43 +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
6319f8ea69
Removed trailing whitespaces from core.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:54:07 +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
nate
40bf675589
Refactoring DboSource to remove use of str_split, adding $read (false to calls to) DboSource::value() inside DboSource::create(), cleaning up code formatting, fixes #5598 , fixes #5682
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7802 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 05:03:01 +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
1b456f2cf1
Applying patch from 'davidpersson' fixing code spacing. Closes #5643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10: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
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
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
DarkAngelBGE
cc425a5e0a
adding a couple whitespace corrections (trailing tabs, newlines, ..)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7654 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 11:52:29 +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
mark_story
44cf61b240
Updating doc blocks for ajax helper. Closes #5426
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7606 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-15 04:03:15 +00:00
nate
dba8d8740d
Adding object hook calls for JsHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7562 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-07 03:26:58 +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
mariano.iglesias
46620f8ee2
Fixing issue where reference fatal is thrown with PHP 5.0.5
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7552 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-04 13:35:04 +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
mark_story
c4b4c25402
Removed BOM from form.php. Closes #5317
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7497 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 14:57:37 +00:00
mark_story
9ae4975bff
Applied patch from 'biscazziere' updated TimeHelper::timeAgoInWords() to be i18n friendly. Closes #5082 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7496 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 03:15:10 +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
3fb44e4485
Adding 'submitOnBlur' to $editorOptions. Closes #5263
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7467 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-14 21:03:15 +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
mark_story
9e51a64f87
Adding additional doc block explanations for method options.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7446 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-08 12:29:49 +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
nate
0119c0d46f
Fixing HTML entity escaping in helpers, fixing broken XmlHelper test, all helper tests now passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 04:53:16 +00:00
mark_story
c5cfc77365
Removing php5 only code.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7402 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 01:34:17 +00:00
gwoo
cf8ddbada0
reverting accident commit in time helper from [7387]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7400 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 00:48:14 +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
mark_story
8b28eec1ab
Removed almost all am() calls from core.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7389 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 00:16:16 +00:00
gwoo
a4499befe3
fixes #4086 caching with params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7388 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 21:14:22 +00:00
TommyO
b6e9888753
Replaced all instances of ife() in /cake
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-30 20:34:01 +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
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
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
gwoo
c3aa47f08e
updating Securiity::hash(), closes #5060 , closes #5044 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7326 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 17:13:09 +00:00
mark_story
e20944a976
Added patch from 'biesbjerg' corrects timestamps not being applied to Vendors css and js. Closes #5045
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7325 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-07 01:19:41 +00:00
phpnut
ed0a031ec4
Adding correct test cases for #5046 showing proper prefix usage, closes #5046 as invalid
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7323 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:48:09 +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
30a49a39e4
Fixes #5016 , Security->disabledFields not working properly. Empty value arrays needed to be unset
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7314 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 10:10:19 +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
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
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
7ad1790ea2
removing and moving deprecated code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7285 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:19:04 +00:00
gwoo
67f55ba53e
fixes #3869 , required css for validation fields
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7242 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:07:33 +00:00
gwoo
4759a4506b
better fix for #3869
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7240 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:31:44 +00:00
gwoo
d29883993e
fixes #3869 , form 'required' CSS when not actually required
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7239 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:16:34 +00:00
gwoo
42db64bbb3
fixes #4778 , rss helper addNs, closes #4949 xml helper serialize with test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7227 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 15:23:58 +00:00
nate
f7a4858503
Correcting coding standards violations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7220 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 11:57:56 +00:00
nate
63217b7e10
Fixing failing tests in core helper group, closes #4946
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7213 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:31:00 +00:00
gwoo
73d9fec80d
closes #3691 , fix re added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7208 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:23:48 +00:00
gwoo
01bf6526c4
fixes #4911 , scripts for layout on cache refresh
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7197 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 19:48:15 +00:00
gwoo
9d950c7698
closes #4726 , test cases added to show special characters in select options
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7189 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:48:57 +00:00
gwoo
8707c6861a
fixes #4912 , correct label "for" in time input
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7188 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:40:01 +00:00
gwoo
2756634b73
removing deprecated methods from HtmlHelper, File, and Folder
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7182 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:53:06 +00:00
gwoo
97a57a0f05
fixing bug in error handler when callbacks were moved to construct classes, moved callbacks back to dispatcher for now until we find a better place in the controller, fixed caching for the "home" page by adding check for "/', original test case was incorrect.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7177 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-12 18:36:08 +00:00
gwoo
1e231e9511
some cleanup, wrapping uses() in class exists
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
mark_story
273dff46f1
reverting paginator helper back to parent::url. Closes #4887
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7171 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 12:18:54 +00:00
mark_story
0ce344d852
Minor changes to PaginatorHelper. $this->url() instead of parent::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7165 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:47:50 +00:00
mark_story
44159ec303
Removed all references to Router::url in all helpers. Closes #4880 . Fixed failing test in RssHelper, added more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7164 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:10:32 +00:00