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
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
8971aad8bf
closes #6413 , scaffoldFields not working with add/edit methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8214 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 00:14:36 +00: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
fd818bc493
Applying patch from 'mulleto'. Fixes plugin view file location with CamelCase plugin names. Test cases added.
...
Fixes #6334
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8202 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-24 22:02:00 +00: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
24d78dd671
moving path configuration to App class
2009-06-07 15:24:10 -07: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
mark_story
bf7e257e02
Updating coding standards in bake templates and scaffolds. Fixes #6346
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8167 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-07 00:53:44 +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
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
nate
23174203e3
Optimizing helper loading loop in View::_render()
2009-02-06 18:13:17 -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
mark_story
2da0c208d5
Fixing Helper::value() when only a fieldname is used. Refactoring Helper::value() to reduce method calls. Added tests to Helper. Fixes #6033
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8012 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-26 19:45:55 +00:00
mark_story
b94a85e938
Altering Helper::url() to enforce escaped query strings for generated urls.
...
Tests added to Html::link(). Fixes #5982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7991 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:41:47 +00:00
TommyO
de1d1ae3bd
Fixed asset.timestamp inconsistency for css files.
...
Added tests to confirm css linking.
Closes #5990 . Fixes #5991
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7990 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:19:11 +00:00
mark_story
287968934f
Fixing next()/prev() when paginating multiple models. Added tests from 'hummer'. Fixes #5970
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7989 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:08:11 +00:00
mark_story
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
gwoo
4f799a7141
closes #5121 , updating home.ctp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7955 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 18:02:06 +00:00
nate
61850b1be1
Cleaning up test code formatting, adding fix for POST hash validation of checkbox lists, fixes #5903 , test cases added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7951 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-23 08:13:00 +00:00
mark_story
943bb53dda
Correcting callback firing of helpers in view. Tests added fixes #5906
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7948 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-21 22:14:48 +00:00
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
phpnut
4cdbd4edd9
Removing unreachable code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7896 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-27 04:52:45 +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
acb9e72355
Minor refactor to helper callback triggering. Moving repeated loops to _triggerHelpers(). Allows View subclasses to add additional callbacks.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7886 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 05:36:06 +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
fde0d21053
Cleaning up and finishing code formatting changes in View class.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7854 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 03:37:24 +00:00
nate
16eebce7f7
Adding support for DboSource::expression(), plus test in Model case. Fixing code formatting in model test and View class -- wrapping lines at 100 characters.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7853 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 03:20:14 +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
renan.saddam
1c9b1d0d78
Removing unnecessary str_replace call.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7780 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 11:25:19 +00:00
AD7six
d8ad330bca
correcting quotes which cause "undefined constant cache assumed 'cache'.." error
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7779 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 08:03:36 +00:00
renan.saddam
a04af731ab
Allowing custom mime types and adding more default mime types. Fixes #4517 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7778 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 01:12:09 +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
AD7six
26c7262acc
correcting message as to how to override core error message for missing_connection
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7728 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 16:12:15 +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
john
f3de3ce9af
Adding svg and svgz mime types to the media view, both as 'image/svg+xml'.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 16:25:35 +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
phpnut
8b45eeed8b
Fixing MediaView so it will stop reading file when connection is aborted.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7642 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 05:35:36 +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
953db61447
Adding ability to cache content rendered with MediaView.
...
Fixed header()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7625 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-18 06:37:35 +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
AD7six
93c5b68a93
fixes #5427 missing brackets for connection_aborted call
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7602 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 09:14:59 +00:00
mark_story
2b984bed94
changing array_key_exists to isset. Refs #5161
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7601 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 05:00:05 +00:00
phpnut
869cd1fe36
Small fix for MediaView randomly outputting 1 and corrupting output.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7600 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 03:02:57 +00:00
phpnut
cb487bd6e6
More optimization refactoring.
...
Fix cache but causing object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
DarkAngelBGE
fe82e827f0
Refactoring ScaffoldView::_getViewFileName()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7569 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 15:44:32 +00:00
DarkAngelBGE
311072f4ae
Refactoring View::_getLayoutFileName()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7568 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-08 15:39:40 +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
aeb8a4176f
Adding non-breaking space to view.ctp. Closes #5377
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7548 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-03 20:01:12 +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
phpnut
80fa429785
Adding fix for undefined notice in vendors.php
...
Removed check for required file in Cache::!__loadEngine();
Fixed cache being wrote on each request from Configure::listObjects(); when data was an empty array
Removed extra call to App::getInstance(); in App::import();
Moved setting of App::!__loaded; inside of if statement.
Removed cake core install directory paths from the cached dir_map.
Changed uses('file'); to require statement in file.php
Changed uses('set'); to require statement in inflector.php
Removed check for existing inflections.php since this file has been included in 1.2 since Dev releases.
Added additional test for Helper::clean();
Fixed bug in Helper::!__clean();
Fixed random output of 1 when using MediaView;
Added csv mime type to MediaView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 03:42:17 +00:00
gwoo
ecac053ea2
minor optimization on loading helpers in view
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7503 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-25 22:56:56 +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
21acac5c59
Removing Helper::assign()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7477 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-19 01:25:33 +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
gwoo
ed6ea45581
closes #5207 , empty values in scaffold view
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-05 14:33:44 +00:00
mark_story
d9de0c6cd5
Adding documentation to doc-blocks for View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7425 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-03 05:24:10 +00:00