mark_story
ae328ffb3a
Adding plugin support for PhpReader.
...
Tests added.
2010-12-02 23:14:26 -05:00
mark_story
fdb5955d6c
Adding PhpReader to implement php file reading as per #1334
2010-12-02 23:06:08 -05:00
Juan Basso
aa0bad9247
Ignore errorHandler if warning suppressor (@command()) is used.
2010-12-02 01:44:31 -02:00
Juan Basso
ffaec10a7c
Fixing the result of App::import() when name of class have slash.
2010-11-29 22:37:08 -02:00
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
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
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
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
f2f3f13c75
Adding exception logging configuration setting. Allows uncaught exceptions to be logged.
...
Implementing logging, and adding a test case.
2010-11-25 22:51:30 -05:00
mark_story
74bf455c49
Updating ConsoleErrorHandler to match ErrorHandler.
...
Updating test cases for ConsoleErrorHandler.
2010-11-25 22:51:30 -05:00
mark_story
3bc708ba19
Adding the new group to AllTests.
...
Removing ErrorHandler test from AllLibs.
2010-11-25 22:51:30 -05:00
mark_story
fac222e2cd
Removing classes that were not used in the ErrorHandler test case. Adding a new test suite for error classes.
2010-11-25 22:51:29 -05:00
mark_story
e2c8e20afa
Pulling exception page rendering out into a separate class, ErrorHandler felt very large and confusing, as it had a few too many jobs.
2010-11-25 22:51:29 -05:00
mark_story
722b1a02ba
Adding Debugger output to ErrorHandler::handleError, and adding tracing for log writes.
...
Renaming Debugger::_output() -> Debugger::outputError() and making it public instead of protected.
2010-11-25 22:51:29 -05:00
mark_story
f373fc19d1
Removing logError from CakeLog, it will be moved into ErrorHandler::handleError()
2010-11-25 22:51:29 -05:00
mark_story
6c2c4f91df
Removing dead tests and updating ones to reflect changes in how Configure works.
2010-11-25 22:51:29 -05:00
mark_story
4960b6e7bf
Changing method names on CakeLog and Debugger to better reflect what they do. Updating test cases.
2010-11-25 22:51:28 -05:00
mark_story
da3bf1c747
Adding ErrorHandler::handleError for consolidating core error handling out of CakeLog and Debugger.
2010-11-25 22:51:28 -05:00
mark_story
4c0e69b8fc
Removing constant checks, they aren't used anymore.
2010-11-21 15:13:33 -05:00
mark_story
8aabf3689e
Making BehaviorCollection more consistent with other object collections.
...
Fixing failing tests caused by not being updated when behavior changed.
2010-11-21 14:42:13 -05:00
mark_story
cb657b158b
Fixing failing test and adding skip for test that will fail in a non-isolated case.
2010-11-21 14:39:07 -05:00
mark_story
a729d29cfd
Updating ModelTask test to have fewer skips and collisions with the rest of the testsuite.
2010-11-21 13:39:18 -05:00
mark_story
d7b1f70680
Adding some additional output to bake tasks to make them more consistent. Adding flags for Quiet output so the shells give minimal output.
2010-11-21 12:55:01 -05:00
mark_story
8a129ec3a0
Adding a normalize parameter to Object::_mergeVars(). This allows existing behavior to be maintained.
...
Updating Controller and Shell usage to match new parameters.
2010-11-21 00:47:42 -05:00
mark_story
8f82156a51
Adding _mergeVars to Controller (this duplicated method will be re-factored away).
...
Updating tests in ControllerMergeVarsTest to use PHPUnit assertions.
2010-11-21 00:14:29 -05:00
mark_story
b80535573e
Adding _mergeVars to Shell. This allows $tasks and $uses to work much
...
like $uses in Controllers, and provides consistency in the framework.
Adding tests for merging vars.
2010-11-21 00:12:07 -05:00
mark_story
4f6891705b
Moving Shell test to the same path as the shell class.
2010-11-21 00:12:06 -05:00
mark_story
3237402fb8
Merge branch '1.3' into merger
...
Conflicts:
cake/libs/configure.php
2010-11-20 23:14:33 -05:00
mark_story
ef3cb0e50c
Adding tests for Set::normalize()
2010-11-20 22:46:55 -05:00
mark_story
6d9b000aee
Changing how mergeVars are handled, so the difference of app/current is used as a base.
...
Also fixing issues where passing settings to helpers in AppController could result in them not being correctly merged.
Thanks to hashmich for the partial patch.
Fixes #1183
2010-11-20 22:34:24 -05:00
mark_story
e0a8ffe8a3
Applying patch from 'jmccaffrey' to fix issues on windows where virtual
...
machine paths would not be correctly handled. Fixes #1254
2010-11-20 13:26:30 -05:00
mark_story
ba10003ef2
Fixing failing tests when HtmlHelper test was run by itself.
2010-11-16 22:52:49 -05:00
mark_story
d12c232d8a
Merge branch '1.3' into merger
...
Conflicts:
app/config/core.php
cake/console/templates/skel/config/core.php
cake/dispatcher.php
cake/libs/controller/components/auth.php
cake/libs/view/helpers/form.php
cake/tests/cases/libs/cake_test_case.test.php
cake/tests/cases/libs/controller/components/security.test.php
cake/tests/cases/libs/model/models.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/view/helpers/paginator.test.php
cake/tests/lib/cake_test_case.php
2010-11-16 21:48:13 -05:00
mark_story
f0ac462775
Updating test cases with failing tests.
2010-11-15 22:53:49 -05:00
mark_story
66e6ec763e
Merge branch 'dispatcher-request' into 2.0
...
Conflicts:
cake/libs/configure.php
cake/tests/cases/libs/all_routing.test.php
cake/tests/cases/libs/controller/controller.test.php
2010-11-15 22:42:54 -05:00
mark_story
27287e4b9f
Moving AppTest into a separate file.
...
Updating test suite.
2010-11-14 13:06:25 -05:00
mark_story
f02e0483ee
Reworking parameter munging specific to requestAction into requestAction. Updating tests cases for Object. As request->data is an array() not null. And leading / is trimmed off of [url][url].
2010-11-14 01:01:11 -05:00
mark_story
55cc3296ab
Making the Debugger tests pass when you have debug = 0 in your config file. Tests are runnable while debug = 0 from CLI.
2010-11-14 00:59:45 -05:00
mark_story
557d797297
Making Dispatcher test cases pass when Dispatcher expects a CakeRequest instead of a string.
2010-11-14 00:29:56 -05:00
mark_story
dad7963ea4
Moving Dispatcher inside libs directory, as it is part of CakePHP's libs.
2010-11-14 00:00:23 -05:00
mark_story
6073ac5dfa
Fixing errors caused by accessing things that don't exist.
2010-11-13 23:57:01 -05:00
mark_story
9b08b725fe
Merge branch '2.0' into 2.0-view
...
Conflicts:
cake/libs/controller/controller.php
cake/libs/view/helpers/cache.php
2010-11-13 21:03:54 -05:00
mark_story
76a80c262e
Fixing failing test caused by name() being able to quote things better now.
2010-11-13 12:04:22 -05:00
mark_story
6c8c7ca4a5
Turning __get() back into methods. There were so few properties being accessed that it didn't make sense to have __get(), over a handful of methods.
...
Tests updated.
2010-11-12 23:57:55 -05:00
mark_story
f9b7cbcb96
Making ConsoleOptionParser allow subclasses of the option, argument and subcommand classes to be supplied as arguments to the builder methods. Adding tests.
2010-11-12 23:52:33 -05:00