José Lorenzo Rodríguez
e77ed92646
Merge branch '1.3-cache' into 1.3
...
* 1.3-cache:
Removing repeated checks, as they've been refactored into Cache::increment() and Cache::decrement().
Removing php5 visibility keywords.
Fixing various errors related to Cache::increment() and Cache::decrement().
Removing test ignore
Adding atomic increment and decrement methods to cache engines, closes #234
2010-01-21 14:57:07 -04:30
Mark Story
513db9a72a
Removing repeated checks, as they've been refactored into Cache::increment() and Cache::decrement().
...
Adding skipIf()'s to ApcEngineTest in case apc_inc, and apc_dec are not available.
2010-01-21 14:14:26 -05:00
Mark Story
ff7e906ba2
Removing php5 visibility keywords.
...
Fixing increment count tests in xcache test.
2010-01-21 14:06:18 -05:00
Mark Story
47c7387548
Fixing various errors related to Cache::increment() and Cache::decrement().
...
Removing php5 only keywords from test cases.
Updating memcache tests, to correctly skip multiple server test when multiple memcached servers cannot be found.
2010-01-21 13:57:42 -05:00
Mark Story
e150db2a45
Removing test ignore
2010-01-21 13:24:22 -05:00
Mark Story
2915493049
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-21 12:00:04 -05:00
Mark Story
c5a5d1dfe6
Making Session.model the required setting and not Session.table. Session.table can still be used to set the table name used when configuring sessions, but the default value is cake_session as before. Fixes #223
2010-01-21 11:59:49 -05:00
José Lorenzo Rodríguez
dff7e17fa2
Adding atomic increment and decrement methods to cache engines, closes #234
2010-01-21 12:11:44 -04:30
ADmad
a8040506b0
Fixing spacing between button tag attributes. Fixes #241
2010-01-21 22:03:03 +05:30
Mark Story
913450daef
Additional tests for virtualFields and fixing issues with index 0 being removed. Fixes #208
2010-01-21 10:35:20 -05:00
ADmad
570c9e5304
Cleaning up commented and unneeded test cases and moving tests to more appropriate file
2010-01-21 01:42:54 +05:30
renan.saddam
39dd15d3f6
Removing the with key from otherFields array, also fixing the page title. Tests added.
2010-01-19 14:05:29 -02:00
Mark Story
e1b0c41254
Making Model::isVirtualField() and Model::getVirtualField() work with both Model.field
as field
. This fixes a number of issues in conditions, and fields arrays when model aliases are used. Fixes #208 and #220
2010-01-19 09:22:13 -05:00
Mark Story
9f8e0e163e
Removing getTests included by accident.
2010-01-18 21:59:18 -05:00
Mark Story
9b3a2fd658
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-18 21:57:46 -05:00
Mark Story
080e34718d
Minor refactor, and adding tests from previous commit. Fixes #208
2010-01-18 21:57:03 -05:00
Mark Story
06ba7ac828
Adding omitted default route, and test cases to test its functionality. Fixes #212
2010-01-18 10:05:23 -05:00
Juan Basso
473e07a674
Putting __() in strings that missing internationalization.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 01:06:25 -05:00
Juan Basso
0ac99eddb5
Replacing "echo sprintf" by "printf" where possible. Fixes #209 .
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 00:56:22 -05:00
Mark Story
5203397a6a
Adding error expectation to model_write test. Models using useTable = false, will still issue count queries to their datasources when exists() is called.
2010-01-16 20:24:27 -05:00
Mark Story
3be28fc749
Fixing errors in CakeTestCase::testAction tests case caused by changes in test suite not always forcing an output parameter.
2010-01-16 20:18:20 -05:00
Mark Story
0e09fee3b1
Correcting timehelper tests to use correct timestamp for indicated times. Making timezone output more resilient.
2010-01-16 20:14:57 -05:00
Mark Story
f1276ce337
Fixing several issues in the CodeCoverageManager test case.
2010-01-16 20:14:16 -05:00
Mark Story
c4ef429004
Changing require to require_once to make tests less order dependent.
2010-01-16 19:41:52 -05:00
Mark Story
34fed29d05
Renaming session test case.
...
Adding missing doc block to inflector test case.
Updating Set::map reverse test to reflect changes in Model.
Removing Inflector from lib group as the reset test breaks many other tests.
Adding a table property to the session fixture.
2010-01-16 19:19:12 -05:00
Mark Story
1acc4c879a
Removing debug() from scaffold test.
2010-01-16 18:15:38 -05:00
José Lorenzo Rodríguez
1910a7f7ee
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
...
* '1.3' of git@github.com:cakephp/cakephp1x:
Removing gettests from jsHelper test case.
2010-01-15 19:04:13 -04:30
José Lorenzo Rodríguez
3bd4cc07a6
Fixes to make TimeHelper and test cases more compatible with PHP 4
2010-01-15 17:48:41 -04:30
Mark Story
71254f3d5e
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-15 17:17:26 -05:00
Mark Story
476ef19fff
Removing gettests from jsHelper test case.
2010-01-15 17:16:51 -05:00
ADmad
4c0a6d952f
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-16 03:34:14 +05:30
ADmad
2441849fa0
Replacing constant CIPHER_SEED with Configure class variable 'Security.cipher_seed' and renaming Security class method 'checkSessionKey' to 'checkSecurityKeys'
2010-01-16 03:26:26 +05:30
Mark Story
4f5ce7f94c
Adding additional plugin 'shortcut' dispatching tests.
2010-01-15 16:18:19 -05:00
Mark Story
1a8c3fd405
Fixing infinite loops caused by stale caches.
2010-01-15 16:17:34 -05:00
Mark Story
c20aba6b9c
Merge branch 'merger' into 1.3
2010-01-15 13:27:19 -05:00
Mark Story
f11068b831
Trimming trailing whitespace from files. Refs #201
2010-01-15 13:26:47 -05:00
Mark Story
09ad7418f5
Merge remote branch 'origin/1.2' into merger
...
Conflicts:
cake/console/templates/skel/config/inflections.php
cake/libs/model/cake_schema.php
cake/libs/model/model.php
2010-01-15 11:51:58 -05:00
Mark Story
7088afbb88
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-15 00:11:33 -05:00
Mark Story
34c4af549c
Adding missing reference operators for php4 compatibility.
2010-01-15 00:09:59 -05:00
Mark Story
f1a0690415
Fixing issues in JsHelper with PHP4 compatibility. Seems passing arrays by reference doesn't work very well.
2010-01-15 00:02:24 -05:00
Mark Story
276d183bdd
Adding conditional to php5 only function use.
2010-01-14 23:40:18 -05:00
Mark Story
371ac3971a
Fixing php4 compatibility in model_read test.
2010-01-14 23:38:24 -05:00
Mark Story
3a38e0869f
Fixing php4 issues in ErrorHandler and ErrorHandler testcase.
2010-01-14 23:17:24 -05:00
Mark Story
036d7e6e13
Updating helper syntax.
2010-01-14 23:07:15 -05:00
Mark Story
d4d9ed7bfe
Fixing test cases and php4 compatibility in Debugger.
2010-01-14 23:06:48 -05:00
Mark Story
5212406ea7
Making xml data test php5 only as Xml::compare() is non-functional in php4
2010-01-14 22:48:19 -05:00
Mark Story
5d280ea977
Making CodeCoverageManager and CakeSession tests run in php4. Removing test case for removed method.
2010-01-14 22:47:49 -05:00
Mark Story
2093f05ce7
Fixing php4 compatibility issues in CakeLog.
2010-01-14 22:33:14 -05:00
Joël Perras
259b59cae1
Adding optional $reset parameter to Inflector::rules(). Fixes #91 .
...
Inflector::rules() now has an optional 3rd parameter, $reset, which can
be set to true if you desire to remove the default inflections defined
in Inflector.
Note that the reset will only affect those inflection types which you
have explicitly re-defined in the $rules parameter.
2010-01-14 18:18:55 -05:00
Joël Perras
eb7e10db50
Updating Inflector::slug() handling of $map argument. Fixes #18 .
...
When passing a $map to Inflector::slug(), the $map values will now
overwrite any default mappings that Inflector::slug defines.
Modified pre-existing test-case for Inflector::slug() when using a $map.
2010-01-14 17:51:14 -05:00