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
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
mark_story
a3d5a9beae
Adding stubs for JsHelper::submit()
2009-07-21 00:24:58 -04:00
mark_story
4a4b9eefe5
Updating file headers.
...
Removing newlines.
2009-07-17 00:09:06 -04:00
mark_story
04b151edc9
Updating tests to be more specific. Adding tests for confirm.
2009-07-12 19:06:45 -04: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
4d4bc9040e
Adding additional tests for object() encoding.
2009-07-11 17:36:48 -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
b90b743853
Adding test cases from Javascript Helper. Preparing for refactor of
...
JsHelper::object().
2009-07-11 15:58:39 -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
gwoo
f1a4352620
Merge branch '1.2' into 1.3
2009-07-03 08:24:42 -07:00
gwoo
f2b7a26be8
fixes #5710 , HABTM - constraining unique ids, but removing non-unique
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8217 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 03:31:05 +00:00
mark_story
45a51ed809
Changing return of Model::deleteAll(). When no records are matched by the delete conditions return is now (bool)true as no records matching those conditions exist.
...
Test case added.
Fixes #6453
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8216 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-03 00:26:58 +00: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
92b8e87ed7
fix for cross database joins when recursive < 1
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8212 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 23:14:38 +00:00
gwoo
2ba8e8777c
Merge branch '1.2' into 1.3
2009-07-02 16:12:50 -07:00
gwoo
3c76f173f7
removing deprecated model methods
2009-07-02 10:24:42 -07:00
gwoo
bc359259a2
Merge branch '1.2' into 1.3
2009-07-02 09:27:00 -07:00
jperras
a6d3193a6d
Updated EmailComponent::__strip regex for mailto: links. Fixes #6464 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8211 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-02 02:58:43 +00:00
mark_story
975e4452d2
Fixing Xml parsing where multiple child elements of the same name, with no value are collapsed causing data errors when Xml object was converted to an array. Test cases from 'burzum' added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8209 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-01 18:58:05 +00:00
mark_story
ff5d9ed6e0
Fixing issues created in [8205] where allowedActions check was done incorrectly. Fixes #6482
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8208 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-01 03:56:16 +00:00
gwoo
58b5c0d77d
cleaning up some ;;
2009-06-30 19:56:15 -07:00
mark_story
fb6b2aecde
Renaming {{{SimpleTestOptions::ignore()}}} to {{{SimpleTest::ignore()}}} Refs #6425
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8207 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 01:37:33 +00:00
mark_story
fd7cf5e5e6
Adding test cases for boolean and boolean-ish values. Fixes false being converted to '' when using Xml::toString().
...
Fixes #6478
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8206 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 01:14:20 +00:00
mark_story
8c7883fe3e
Fixing camel cased methods in checks for allowedActions in AuthComponent under PHP5. Normalizes to lowercase method name. Fixes #6142
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8205 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-30 00:25:09 +00:00
mark_story
6a34c9ef31
Fixing Model::saveAll() PHP4 compatibility. Minor API change in __save(). __save() no longer takes a model instance as the first parameter. Because of Model implementation details in PHP4 this caused broken references. Fixes #6389 , #6223
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8204 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-27 15:25:07 +00:00
mark_story
285fdc22c6
Adding test case for api console.
...
Fixing issue where methods with no parameters were omitted from api method lists.
Fixes #6474
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8203 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-25 13:34:28 +00: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
16eb51e91c
Adding ControllerMergeVarsTestCase to more extensively test merging of vars in Controller::__mergeVars.
...
Fixing issue where components declared in AppController would get doubled settings if no components were declared in subclasses.
Fixes #6459
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8201 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-24 18:09:14 +00:00
mark_story
3e8e7a2a6f
Adding tests to Component.test. Disproves #6459
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8200 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-21 15:24:09 +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
88e0cfa2f8
fixes #6427 , default datasource not loaded when ds is specified
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8197 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-16 21:35:21 +00:00
gwoo
f9339e3c81
simplified App::path(). Changed App::build() to handle all paths.
...
tests passing.
2009-06-11 09:13:16 -07:00
gwoo
c3643767bf
some more updates to path handling
2009-06-10 16:13:39 -07:00
jperras
6064019339
Refactoring model.test.php for 100 col display.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8192 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-10 03:00:38 +00:00
gwoo
24d78dd671
moving path configuration to App class
2009-06-07 15:24:10 -07:00
DarkAngelBGE
d9489b942b
Removing duplicate START TRANSACTION sql execution in mysqli environment, fixes #6422
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8191 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-06 15:41:33 +00:00
mark_story
2c1b7fc24e
Adding nullish value handling for date, datetime, and timestamp column types to DboPostgres. Empty string values now return instead of "". Fixes #6386
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8190 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-05 02:43:08 +00:00
mark_story
b055db19f7
Increasing Model test compatibility with SQLite and Postgres
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8188 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-04 00:37:27 +00:00
gwoo
0ea02c5a94
Merge branch 'master' into 1.3
2009-06-03 10:00:56 -07:00
mark_story
f983340d21
Changing setUp() and tearDown() to startTest() and endTest().
...
Fixing test failures when app/controllers/pages_controller.php or app/views/pages/home.ctp was present.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8187 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-03 16:23:35 +00:00
mark_story
7401b0c70f
Updating Session path handling to fix cases when path = ''.
...
Test cases added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8186 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-06-03 16:22:00 +00:00
gwoo
303bc0fc89
fixing up some tests. pretty much all greens for me.
2009-06-02 17:21:15 -07:00
gwoo
5a45c15d9d
merging 1.3-session
2009-06-02 14:52:14 -07:00
gwoo
6f21c18366
Merge branch '1.3-lib_renames' into 1.3
2009-06-02 10:17:02 -07:00