mark_story
7e29859676
Fixing E_STRICT errors in test models.
2010-12-04 14:19:53 -05:00
mark_story
7e3c98024e
Removing reference operators in ModelBehavior.
2010-12-04 14:19:36 -05:00
mark_story
18fb12c95c
Removing & pass by ref operators as they aren't needed any more.
...
Fixing a bunch of E_STRICT errors.
2010-12-04 14:15:32 -05:00
mark_story
64d1f799f8
Adding fixtures that fixed MissingTableExceptions I was getting.
2010-12-04 13:52:38 -05:00
mark_story
d13759522b
Removing strtolower() calls. You must now call model magic findBy and findAllBy using camelcase forms.
2010-12-04 13:45:42 -05:00
mark_story
466137485d
Removing a duplicated property.
...
Changing is_a() to instanceof as it marginally faster.
Adding a comment to getConnection as it was missing it.
Minor optimization to a regular expression.
2010-12-04 13:28:43 -05:00
José Lorenzo Rodríguez
66d0986cd4
Pepending table name to index generation to avoid name clashes
...
Finally, all tests using a Sqlite database pass
2010-12-03 15:25:26 -04:30
José Lorenzo Rodríguez
e167271568
Making more DboSlite tests pass
2010-12-03 14:41:39 -04:30
José Lorenzo Rodríguez
7c4ab886e6
Merge remote branch 'origin/2.0' into feature/2.0/pdo
2010-12-03 14:08:03 -04:30
José Lorenzo Rodríguez
3370b25f14
Fixing a couple more tests
2010-12-03 14:07:46 -04:30
José Lorenzo Rodríguez
32af53ab82
Fixing test for sqlite
2010-12-02 00:30:21 -04:30
José Lorenzo Rodríguez
cdc4cb9e1e
Implementing method in DboSqlite to avoid error while running the test suite
2010-12-02 00:20:08 -04:30
José Lorenzo Rodríguez
2e04c5260e
Fixing some tests to make them run on sqlite
2010-12-02 00:19:43 -04:30
Juan Basso
aa0bad9247
Ignore errorHandler if warning suppressor (@command()) is used.
2010-12-02 01:44:31 -02:00
José Lorenzo Rodríguez
2e9283abd9
Fixing fixture loading for sqlite
2010-11-29 20:52:54 -04:30
José Lorenzo Rodríguez
0d93520e0a
Fixing test case for sqlite
2010-11-29 20:52:32 -04:30
Juan Basso
ffaec10a7c
Fixing the result of App::import() when name of class have slash.
2010-11-29 22:37:08 -02:00
José Lorenzo Rodríguez
a791687784
Adding try catch for pdo exception on DboSource::_execute
2010-11-28 23:50:18 -04:30
José Lorenzo Rodríguez
130fe603a7
Skipping test incompatiblw with mysql
2010-11-28 23:34:20 -04:30
José Lorenzo Rodríguez
592dda92de
Fixing test to make it pass using DboSqlite
2010-11-28 22:48:34 -04:30
José Lorenzo Rodríguez
372123f15a
Moving common method put from DboMysl into DboSource, this makes more sqlite tests pass
2010-11-28 22:45:56 -04:30
Mark Story
40585a34e8
Adding support for userPath in IniAcl.
...
Test case added.
Fixes #1291
2010-11-28 21:22:10 -05:00
Mark Story
2495b3cd4c
Trimming whitespace and adding a file header.
2010-11-28 21:11:18 -05:00
Mark Story
3ddff879b1
Converting IniAcl to use IniFile, this removes one of the classes responsibilities.
2010-11-28 21:06:22 -05:00
Mark Story
35611d50c3
Fleshing out IniFile a bit more.
2010-11-28 21:05:32 -05:00
Mark Story
071cd9b477
Adding very naive implementation of an ini file parser.
2010-11-28 21:05:32 -05:00
mark_story
9d3b3a72ce
Starting to extract Ini file parsing out of IniAcl as it breaks single responsibility, and ini file parsing should be generic enough to be reused.
...
Adding a test case.
2010-11-28 21:05:32 -05:00
mark_story
cc18c15e61
Fixing coding standards.
2010-11-28 21:05:32 -05:00
Mark Story
43c184b2d2
Fixing issues with CLI test runner where the error handler would continue to be cakephp's instead of PHPUnit's.
2010-11-28 21:05:12 -05:00
Mark Story
1f72e504d5
Fixing incorrect imports that caused test case to fail in CLI when run by itself.
2010-11-28 20:49:42 -05:00
Mark Story
91b5a5265e
Making ConsoleErrorHandler be invoked with the correct error reporting level.
2010-11-28 20:44:28 -05:00
mark_story
284a8db3f4
Moving error handling classes into a separate directory.
...
Moving error handling test cases into a directory that matches the one in libs.
Updating imports.
2010-11-28 12:27:51 -05:00
mark_story
e40ee2576b
Minor optimization in h()
...
Minor optimizations in FormHelper, as calls to ArrayAccess methods are avoided now.
2010-11-28 00:33:01 -05:00
mark_story
7bfdbff377
Adding more documentation to core.php.
2010-11-27 19:39:55 -05:00
mark_story
da98791e14
Adding some more documentation about precedence of configuration.
2010-11-27 19:37:25 -05:00
mark_story
f08fa52a60
Syncing skel/config/core.php
2010-11-27 14:36:34 -05:00
mark_story
345779772d
Fixing issue where an AppController::appError would cause errors as $method was not a real method.
2010-11-27 14:35:36 -05:00
mark_story
d3f0d25c03
Removing error masking in ErrorHandler, instead correctly calling set_error_handler() works better.
2010-11-27 14:32:43 -05:00
José Lorenzo Rodríguez
492bcea85f
mproving decribing process of tables in sqlite
2010-11-27 00:37:13 -04:30
José Lorenzo Rodríguez
0ff01330c4
Making dates deconstruction in model more consistent for different datasources
2010-11-27 00:13:04 -04:30
José Lorenzo Rodríguez
41ee035d28
Starting to bring sqlite dbo up to date
2010-11-26 23:46:34 -04:30
José Lorenzo Rodríguez
b6731dd9ad
Merge remote branch 'origin/2.0' into feature/2.0/pdo
...
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
2010-11-26 20:26:41 -04:30
mark_story
c717ff2e72
Adding logging of errors when debug = 0 for console applications. Fixes #1311
2010-11-25 23:16:27 -05:00
mark_story
0d5ed014d1
Removing constants and configuration settings that don't are repeated or deprecated/not used.
2010-11-25 23:16:03 -05:00
mark_story
9b4f7a1a15
More documentation.
2010-11-25 22:51:31 -05:00
mark_story
f3feb1575c
Removing support for AppError. It doesn't make sense to have hardcoded class references when there is better configuration available.
...
Updating doc blocks for exceptions.
Updating core.php file.
2010-11-25 22:51:30 -05:00
mark_story
1cffea379f
More documentation.
2010-11-25 22:51:30 -05:00
mark_story
04d3feb6c0
Unknown errors cannot be mapped as they generate another error. Having a default case doesn't make much sense here.
...
Adding additional coverage to ErrorHandler.
2010-11-25 22:51:30 -05:00
mark_story
845edf38e1
Removing core classes using App::import() with an array(). This usage incurs an additional call to App::import().
...
Removing Set from core class imports, as Set is required as part of the framework bootstrapping.
2010-11-25 22:51:30 -05:00
mark_story
e88cdc8a01
Adding more documentation.
2010-11-25 22:51:30 -05:00