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
davidpersson
392a6b195d
Adding tests for Folder::copy and ::move showing that
...
skipping existing subdirectories is the intended behavior.
Disproves #6529 . Refs #6529 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8133 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-04-01 17:54:25 +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
a899af66da
Fixing jQuery tests.
2009-03-29 21:52:44 -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
8eeb00b66e
Refactoring writeScripts to buffer() methods to clarify API.
2009-03-29 14:23:42 -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
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
6551e2a45d
Adding test for file input creation on hasOne relationship. Refs #6223
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8132 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-28 02:46:23 +00:00
davidpersson
5d23f46118
Adding tests to disprove #6236 . Closes #6236 .
...
Removing return from testWriteEmptyValues method to enable the test.
Updating CacheTest to revert settings changed in the tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8131 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-26 20:40:45 +00:00
renan.saddam
9f0cbb00ce
Adding tests to Session Save Handler callbacks. Refs #6229 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8130 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-26 14:25:47 +00: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
mariano.iglesias
364fe18208
Adding test to disprove issue. Closes #4693
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8124 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-22 13:09:50 +00:00
jperras
0d8d8fa401
Adding tests for custom singular rules to Inflector.
2009-03-21 20:08:21 -04:00
davidpersson
fd7d6718a1
Updating tests to not affect other ones when run from a group
...
Adding NoCrossContamination group
Shortening group class names
Renaming lib_controller group
Updating test imports to include the core AppController by default
Some cosmetics
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8123 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-21 23:55:39 +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
jperras
641a48342b
Adding test for Auth login redirect to url with query string parameters. Disproves #6211 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8118 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-19 18:37:54 +00:00
gwoo
5c53fcfcb9
fixes #6209 , persistModel and undefined $Behaviors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8117 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-19 18:27:49 +00:00
davidpersson
3c3b852099
Changing package of tests from "cake.tests" to "cake".
...
Moving tearDown et al. to the top of each test class.
Adding short descriptions to docblocks.
Adding missing docblocks.
Removing unnecessary blank lines and whitespaces.
Updating labels of test groups.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8116 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-18 17:55:58 +00:00
jperras
3853259f3f
Adding test cases for Inflector::rule.
2009-03-18 01:43:53 -04: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
gwoo
de5907326e
fixes #6203 , Model::invalidFields respecting Model::whitelist
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8113 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-17 18:19:12 +00:00
gwoo
7f853532d9
updating ShellDispatcher to pass tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8112 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-16 23:08:39 +00:00
davidpersson
1c76e2e18e
Fixing ShellDispatcher tests.
...
Order of paths should not be taken into account.
CONSOLE_LIBS constant is not guaranteed to hold a relative path only.
Matching expectations for the output of help command to show correct shortened paths.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8111 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-16 22:54:22 +00:00
davidpersson
0ead89639a
Adding tests for Controller::redirect.
...
Proves #6200 is invalid.
Making original tests more strict.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8110 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-16 14:07:26 +00:00
mariano.iglesias
a9062e2e02
Adding new email validation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8109 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-16 12:54:25 +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
jperras
70e0316cd2
Renaming schema.php to cake_schema.php. Modifying relevant App::import calls.
2009-03-15 22:22:18 -04:00
mark_story
91903a4dec
Adding request() to mootools.
2009-03-15 22:15:22 -04:00
jperras
527b1f9cc8
Renaming libs/session.php to libs/cake_session.php . Modifying relevant App::import calls.
2009-03-15 22:07:12 -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
jperras
e651c77bcf
Renaming behavior.php to model_behavior.php. Modifying associated App::import calls.
2009-03-15 21:17:08 -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
jperras
b22ddc11f9
Renaming socket.php to cake_socket.php . Changing associated App::import calls.
2009-03-15 16:52:27 -04:00
gwoo
056402efa7
moving checks for Set::extract() so that null will be returned when empty data is passed and classicExtract is expected.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8105 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-15 19:39:35 +00:00
davidpersson
93bf4fd0dc
Fixing debug() test making it match truncated paths too.
...
Adding skip to uses() test to make running all tests in sequence more smooth.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8104 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-15 19:31:59 +00: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
e3b027288b
Removing unused setting in Session configuration.
...
Fixed bug in CakeSession::watch(); that allowed setting multiple vars to watch and CakeSession::ignore(); would only unset the first one found.
Fixed errors being thrown when testing database sessions and the database was dropped before script process ended.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8103 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-15 00:27:25 +00:00
davidpersson
70f18af78d
Adding Folder tests, fixes cases where ordered directory entries were expected
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8100 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-15 00:10:53 +00:00
mariano.iglesias
f1d25bcc20
Removing need to explicitly set IDs for Containable test, added in r6989
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8098 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-14 22:24:42 +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
gwoo
198548092b
cleaning up some Set::extract, adding tests for empty data and results. Removing some checks from Cache engine.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8097 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-14 19:56:28 +00: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
davidpersson
b184d0705d
Adding tests for ShellDispatcher, Shell, ExtractTask and TestTask.
...
Adding console test group.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8096 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-13 16:06:18 +00:00
nate
36d3540c19
Adding native-type-generation fixes for JavascriptHelper::object()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8095 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-13 14:49:00 +00:00
mark_story
a1a54a152b
Adding methods to baseEngine
...
Removing file inclusion from JsHelper
Adding writeCache to JsHelper
Adding tests.
2009-03-12 23:48:19 -04:00
mark_story
91e47a6379
Adding scriptBlock() to HtmlHelper.
...
Adding tests.
2009-03-12 22:59:55 -04:00
mark_story
7ea7bd90c2
Moving script() method into HtmlHelper.
...
Moving tests.
2009-03-12 19:51:30 -04:00
gwoo
de6541f658
fixes #6189 , paginator sort direction for associated fields of the same name
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8092 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-12 17:11:08 +00:00
davidpersson
149995c832
Adding tests for env, fileExistsInPath, debug, pr, params, stripslashes_deep and ife.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8091 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-11 23:46:10 +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
nate
4466c9f7b7
Reverting changes to Behavior so that all models use the same behavior instance, fixes #6038 , refs #4408 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8087 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-11 00:06:41 +00:00
the_undefined
55e72bb749
Better support for regex matching, fixes #6184
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8086 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-10 20:20:32 +00:00
nate
cb95f13608
Correcting issue in String::insert() where 0 offsets were handled incorrectly, affecting issue where values were not properly quoted and inserted into conditions strings. Fixes #6163 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8085 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-09 20:03:02 +00:00
nate
eea46e7cc8
Fixing issue where calculated columns were getting quoted incorrectly. Test included. Reformatting code to be 100 characters or less.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8084 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-09 18:36:32 +00:00
mark_story
100fdc1876
Adding tests for $once parameter
2009-03-08 22:33:34 -04:00
mark_story
6213b83f8d
Removing methods that are being/moved removed.
...
Reformatting tests.
2009-03-08 01:01:08 -05:00
mark_story
3e0d645957
Moving JS generating methods to BaseEngine class
...
Adding duplicate script detection.
2009-03-07 22:06:00 -05:00
mark_story
2362f283f2
Refactoring out string escaping and object conversion into base class.
2009-03-07 20:16:11 -05:00
mark_story
93a2e8fcad
Adding tests for timestamping
2009-03-07 19:34:05 -05:00
mark_story
0c77cc98b5
Adding min/pack detection and auto use.
2009-03-07 13:10:50 -05:00
mark_story
ea177fb7d8
Adding tests for features to be implemented
2009-03-07 02:26:19 -05:00
mark_story
1c2cd94786
Adding test cases for alert, confirm, prompt
2009-03-06 19:56:28 -05:00
mark_story
c92cfa7238
Starting Test Case for JsHelper
2009-03-06 19:51:13 -05:00
mark_story
c164be8c03
Enabling Asset.timestamp for HtmlHelper::image() making it consistent with Javascript::link().
...
Tests added.
Fixes #6170
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8078 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-06 04:40:50 +00:00
mark_story
18a7115385
Adding test to show proper escaping of escaped strings in Javscript::object() closes #6167 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8076 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-06 03:53:31 +00:00
jperras
79cba70758
Updating number helper to allow output of main currency symbol in the 'after' slot. Also added some basic i18n for NumberHelper::toReadableSize Fixes #6150 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8069 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-03 15:32:12 +00:00
mark_story
d9cbb85488
Adding test case for RequestHandler::beforeRedirect() when request is an ajax request. Ensures that requestAction() is properly triggered.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8068 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-01 06:11:03 +00:00
gwoo
b8d21c6c2c
closes #6142 , shows Auth works as expected with camelCased actions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8065 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-27 16:17:58 +00:00
jperras
b8feef23a8
Adding tests for Validation::notEmpty using ISO-8859-1 for App.encoding value, along with additional non-ascii utf-8 assertions. Disproves & closes #6101 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8063 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-26 16:48:00 +00:00
mark_story
0be4f64801
Adding test cases for URL encoded values. Refs #6134
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8062 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 20:01:55 +00:00
mark_story
af021cb4b2
Adding Html entity conversion to all urls generated by helpers, fixing potential for merged passedArgs to create xss vectors.
...
Adding integer cast in paginate() to page param.
Tests added/updated.
Fixes #6134
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8061 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 19:51:41 +00:00
jperras
f20ccc745c
Applying patch from 'phally' to update Set::extract to properly tokenize xpath selectors which contain hyphens (-). Fixes #6140
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8059 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 16:23:13 +00:00
mark_story
2a139b171c
Applying patch from 'farhadi' correcting regular expression when using magic findBy and fields that contain findBy in them. Fixes #6138
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8057 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 03:22:31 +00:00
gwoo
779b367d3b
adding some more test for dispatcher with array urls mainly used by request action. updated docblock
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8056 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 01:36:13 +00:00
mark_story
082ef2e4b0
Adding patch from 'mattcurry' Fixes Set::extract and parent selectors that with more than one element in the source array. Fixes #6043
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8055 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-24 03:01:06 +00:00
mark_story
b1d05222b8
Adding tests to show filtering of page param when using Controller::paginate(). Refs #6134
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8054 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-24 01:59:58 +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
31cd461d22
Correcting singluarizing of taxes, faxes, waxes, and pluralization of crisis in Inflector. Tests added. Fixes #6130 , #6131
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8052 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-22 04:09:39 +00:00
mark_story
5dfa7bf46f
Updating CakeTestCase::testAction() to respect $dropTables. Test case added Fixes #6123
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8051 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-21 15:05:17 +00:00
renan.saddam
52f4cd42db
Fixing issue when Model::$translateTable is set
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8050 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-19 13:45:51 +00:00
jperras
82a8599098
Adding test case for Model::saveAll for HABTM data with additional fields saved in join table.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8049 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-19 07:59:52 +00:00
TommyO
96e84c2e60
Fixes improper return from Xcache::clear();
...
Adds test
see #6110
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8046 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 18:07:06 +00:00
phpnut
8f2efce9ee
Adding asserts forgot in last commit.
...
Fixes #6115
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8044 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 01:23:42 +00:00
phpnut
19ec3765dd
Adding tests case to disprove #6115
...
Closes #6115
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8043 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-18 01:01:39 +00:00
gwoo
b62202f888
fixes #6117 , wrong controller name in debug messages
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8042 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-17 23:32:15 +00:00
gwoo
9217a85281
adding router test and patch for plugin reverse routing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8041 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-17 18:26:37 +00:00
mark_story
27c321190e
Applying patch from 'mcurry' Fixes Set::extract with mixed numeric and stringKeys. Tests added. Fixes #6072
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8038 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-17 04:41:30 +00:00
gwoo
5bb922323c
fixes #6106 , dispatcher plugin controller params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8037 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-16 18:39:09 +00:00
mark_story
6e6c5dc187
Removing getTests commited in [8033]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8036 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-16 13:52:03 +00:00
gwoo
b35de27de1
fixes #5866 and fixes #6069 , bugs in dispatcher with plugins and params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8033 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-16 00:18:59 +00:00
mark_story
ce4fa20f3f
Fixing escaping of fields in hasAny() also adding in correct model aliases.
...
Tests added.
Fixes #6089
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8032 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-15 21:05:42 +00:00
gwoo
43ad3d76e5
updating code from [8024] [8025]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8031 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-15 20:13:14 +00:00
mark_story
a3f4c60139
Adding test case to prove #6069
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8030 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 19:39:52 +00:00
mark_story
9122ad72f7
Commit tests to prove #5866
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8029 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 19:34:25 +00:00
mark_story
fdd6ad856e
Fixing issue in error handler, where URL was not escaped with debug == 0.
...
Tests added.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8028 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 14:56:00 +00:00
mark_story
2a36e5f8cd
Adding Test case for TestTask
...
Fixing path appending issues caused by continual baking.
Fixes #6099
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8027 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 14:22:11 +00:00
nate
440c629931
Fixing glob() handling in extract shell, added extract shell test, partial fix for #6044 , code formatting changes in CakeTestCase.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8026 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 06:22:34 +00:00
gwoo
712fea65ab
updating code from [8024]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8025 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-13 01:11:00 +00:00
mark_story
e045e6826a
Fixing Session from being added to components array twice.
...
Fixing greedy mergeVars with AppController.
Tests Added
Fixes #6091
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8024 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-12 13:36:20 +00:00
mark_story
2fc177869e
Applying patch from 'mattcurry' fixes Basic authentication case sensitivity in HttpSocket. Fixes #6088
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8023 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-11 23:46:59 +00:00
TommyO
5026a6c89f
Fixed memcache support for durations greater than 30 days. Fixes #6085
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8022 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-11 23:00:19 +00:00
mark_story
b1b67c811c
Applying patch from 'ralph.marchildon' Fixes saving habtm data using 'with' data. Fixes #6077
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8021 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-11 03:53:04 +00:00
gwoo
f0d03a91cf
Merge branch 'master' into 1.3.x.x
2009-02-09 12:01:06 -08:00
mark_story
d3ee6b31f1
Added conditional check for compatibility with MySQL 4.x result sets to DboMySqlBase::index(). Tests added. Thanks to 'teknoid' for the help. Closes #4503
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8020 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-08 23:09:08 +00:00
mariano.iglesias
b71457f332
Adding test case to show how auto-computed fields should be removed from data if using to clone records, closes #6066
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8019 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-07 14:56:37 +00: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
gwoo
f7dd0800d1
fixes #6062 , AuthComponent and Controller::scaffold
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8018 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-06 23:23:12 +00:00
gwoo
bf1e080aeb
updating cache documentation and tests refs #5347
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8017 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-06 22:56:06 +00:00
mark_story
9d24c1746f
Adding test case to validation for sbcglobal.net addresses closes #6065
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8016 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-06 14:18:53 +00:00
mark_story
ddc047751c
Adding submitted test cases from harking Closes #6047
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8013 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-02 02:58:15 +00:00
nate
bb6606a5ba
Removing Flay test case
2009-01-26 23:17:58 -05: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
the_undefined
27065d7aab
Fixed bug in AuthComponent that allowed uppercase actions to pass checks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8011 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-26 18:50:09 +00:00
mark_story
1895f1c3be
Fixing saveAll() when used in conjunction with belongsTo data and validate => first. Tests added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8010 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-25 23:48:28 +00:00
mark_story
af49aec444
Adding session->delete() to remove bleed through in tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8009 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-21 22:52:44 +00:00
mark_story
65a047542e
Adding test case to disprove regression in Auth component. Closes #5961
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8008 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-21 22:34:46 +00:00
renan.saddam
dcf1c1e154
Added tests to disprove TreeBehavior can generate warning. Closes #5975 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8007 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-21 01:17:51 +00:00
renan.saddam
b5d7f182a0
Disproving FormHelper::textarea always escapes value. Closes #6016 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8006 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-21 01:15:29 +00:00
nate
c7d133fc0f
Removing variable name inflection from Controller::set()
2009-01-20 14:36:39 -05:00
nate
d75b063dca
Correcting quoted-alias replacement in DboSource, adding (and mocking) MS SQL test, fixes #5942
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8003 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-16 19:08:44 +00:00
mark_story
1111829e99
Fixing issue in __saveMulti() where unique was not always honoured. Thanks for the patch 'Jafinto'. Tests added. Closes #6006
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8001 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-16 04:09:44 +00:00
renan.saddam
157ee1efbf
Removing VALID_NUMBER and VALID_NOT_EMPTY from tests, applying patch from 'jperras'. Fixes #5901
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7999 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-15 01:55:31 +00:00