10c68143cbИзменен FileLogger для возможности расширения класса
Alexander Demidov
2013-07-18 21:43:48 +04:00
ef99a26635Modife CliController.
Alexander Demidov
2013-06-26 13:32:17 +04:00
8133695eaeAdd Env.Request().
Alexander Demidov
2013-06-21 12:27:46 +04:00
5b9eab1067Merge remote-tracking branch 'origin/fix_error_log' into extended_classesAlexander Demidov2013-09-10 16:40:13 +04:00
3b6ae39707Added new validators without tests
Anton Terekhov
2012-12-12 13:11:54 +04:00
163ac086b0Merge branch 'fix_error_log'
Anton Terekhov
2012-12-11 19:25:15 +04:00
126d97b020Added exception name to log
Anton Terekhov
2012-12-11 19:05:39 +04:00
a2cb6a405eGet rid of $this->template logic, switched to type of exception
Anton Terekhov
2012-12-11 18:56:07 +04:00
fce43da00dFixed test error for testDebugAutoload() with coverage
Anton Terekhov
2012-12-11 18:45:48 +04:00
98324588b7added test for Mongo::addCondition method
Anton Grebnev
2012-12-11 18:39:26 +04:00
c525a09078fixed AutoloadBuilderTest to pass without template app
Anton Grebnev
2012-12-11 16:46:53 +04:00
748393f653Fixed function name
Anton Terekhov
2012-12-11 16:28:04 +04:00
5f47dab73eUse new logError in FrontController, tests
Anton Terekhov
2012-12-11 15:42:17 +04:00
91b364d01aSeparate function ErrorHandler::logError() and tests
Anton Terekhov
2012-12-11 15:03:48 +04:00
d007f356c0Remove duplicate lines from test
Anton Terekhov
2012-11-22 16:41:32 +04:00
b2aced98d2Merge branch 'feature_code_coverage'
master
Anton Terekhov
2012-11-21 22:00:55 +04:00
431fb8b60fPHPDoc for MySQLiStatementTest
Anton Terekhov
2012-11-21 22:00:03 +04:00
b261538286Removed dead code, explode will only return false if delimiter is empty string. In such a case explode will trigger warning
Anton Terekhov
2012-11-21 21:49:18 +04:00
2ee61dc42cSmall test for Load::setExclude
Anton Terekhov
2012-11-21 21:34:09 +04:00
f7b6837b91Test logging from CliController
Anton Terekhov
2012-11-21 21:18:11 +04:00
766cce1fbc@codeCoverageIgnoreStart for private __clone()
Anton Terekhov
2012-11-21 21:02:13 +04:00
c65ce706a9Merge branch 'ajax_action'
Anton Terekhov
2012-11-21 20:10:15 +04:00
255c3a837aMore complex regular expression for AutoloadBuilder
Anton Terekhov
2012-11-21 20:04:40 +04:00
a856dd484eRemoved @version and @filesource from PHPDocs
Anton Terekhov
2012-11-21 18:42:29 +04:00
6b9c076053Added new message types: info, warning to MgsViewHelper. Added method withPrefix to add custom css prefix to message
Anton Terekhov
2012-11-21 18:11:38 +04:00
e5a0df37fcAdded FormViewHelper @method form() to PHPView
Anton Terekhov
2012-11-21 17:44:52 +04:00
706f7a4444typo
Anton Terekhov
2012-11-21 15:50:28 +04:00
07a244ca35Code formatting for ViewHelper & tests
Anton Terekhov
2012-11-21 15:43:20 +04:00
0d58a907e5Refuse cloning of CliController
Anton Terekhov
2012-11-21 15:09:13 +04:00
3517a6450cTest for calling ErrorAction->setAjaxError() for ajax-based actions
Anton Terekhov
2012-11-21 14:47:35 +04:00
a789ad8966More strict test on autoload
Anton Terekhov
2012-11-21 14:31:43 +04:00
fa67637c67PHPDoc
Anton Terekhov
2012-11-19 19:25:38 +04:00
1354f3d001PHPDoc, some trailing PHP tags removed
Anton Terekhov
2012-11-19 19:20:15 +04:00
1e0d1aaa38PHPDocs for cache, Format
Anton Terekhov
2012-11-19 18:40:04 +04:00
2d02f25e22Some PHPDoc for PHPView
Anton Terekhov
2012-11-16 18:31:15 +04:00
6a2c861a71Switch http code header on showDebug with ErrorHTTPException.
Alexander Demidov
2012-11-13 14:03:42 +04:00
5cc54e182eModify FronController with use class_name in is_subclass_of.
Alexander Demidov
2012-11-12 19:30:25 +04:00
008eee4c8cfixed ErrorAction::setAjaxError() method call in FrontController
Anton Grebnev
2012-11-12 13:52:11 +04:00
e1c3da8019Reworked AJax action HTTP code and HTTP content. Added new HTTP template to process HTTP code output
Anton Terekhov
2012-11-11 20:42:48 +04:00
618f12224eRevorked Error404Exception . New ErrorHTTPException introduced.
Anton Terekhov
2012-11-11 18:31:57 +04:00
2aafb3a394New default value for AjaxAction->data, new tests
Anton Terekhov
2012-11-11 13:51:38 +04:00
4fa078d709Fixes for AjaxAction to send different header Content-type with $this->json_encode == true and $this->json_encode == false . This includes refactoring of $this->encode to $this->json_encode.
Anton Terekhov
2012-11-10 16:06:19 +04:00
4f55333064PHPdoc updated
Anton Terekhov
2012-11-10 15:55:11 +04:00
07206a0365Merge branch 'mongo'
Anton Terekhov
2012-11-12 14:17:05 +04:00
11a5968105refactored MongoModel to hide fetch method, fixed PHPDoc errors
Anton Grebnev
2012-10-19 20:15:26 +04:00
efb6c2d34cMerge branch 'init_to_bootstrap' into mongo
Anton Grebnev
2012-10-17 21:27:28 +04:00
e3db9d9081Merge branch 'new_error_layout' into init_to_bootstrap
Anton Grebnev
2012-10-09 20:29:55 +04:00
910a770ea2modified CliController to use stderr as default error stream
Anton Grebnev
2012-10-08 19:29:53 +04:00
774c86acd2modified Profiler to clear queries array on start()
Anton Grebnev
2012-10-05 19:39:45 +04:00
5bc65513ebmodified CliController to use ErrorStream conf var and separate logging by LOGGING/PROFILER settings
Anton Grebnev
2012-10-05 19:39:23 +04:00
8d60abe7d1modified ErrorHandler not to process error closed by @
Anton Grebnev
2012-10-05 19:38:24 +04:00
c72495de57Merge branch 'new_error_layout'
Anton Grebnev
2012-10-04 19:42:29 +04:00
5bce35f022modified setException method param type to Exception
Anton Grebnev
2012-10-04 19:41:42 +04:00
700ad52598Add comment PHP-doc methods in Redis class.
Alexander Demidov
2012-08-16 18:14:04 +04:00
9d0e22ebd2Modified Profiler message.
Alexander Demidov
2012-07-19 17:18:54 +04:00
a16a995ed3Add Profiler support report message with turn on PROFILER_DETAILS (if use to show queries). Modified tests MongoStatementTest, MySQLiStatementTest. Adding new tests to ProfilerTest.
Alexander Demidov
2012-07-19 17:07:54 +04:00
ed0c9f207fCorrected CliControllerTest.
Alexander Demidov
2012-07-19 17:05:56 +04:00
72ac3e2176Modified commented code in ProfilerTest, LayoutTest with DEBUG const.
Alexander Demidov
2012-07-13 17:44:10 +04:00
ad9c6b0a0cComplete tests for CliController.
Alexander Demidov
2012-07-11 17:23:14 +04:00
ac091ac1edAdd CliControllerTest (not working with RuntimeException).
Alexander Demidov
2012-07-10 19:38:10 +04:00
595c1b73ebAdd CliController and iCli interface for cli applications.
Alexander Demidov
2012-07-10 19:37:03 +04:00
e59e270476Modified tests Mongo, Mysqli, Redis with checking work Profiler (with PROFILER_DETAILS).
Alexander Demidov
2012-07-10 17:03:55 +04:00
4e0b762ab0Use PROFILER_DETAILS in RedisManager.
Alexander Demidov
2012-07-10 17:03:25 +04:00
34337efda4Remove use constant DEBUG from Load.php
Alexander Demidov
2012-07-10 13:50:04 +04:00
2395adf7b8Modified MySQLiStatementTest with use PROFILER_DETAILS set.
Alexander Demidov
2012-07-10 13:49:49 +04:00
69cd61121eFixed tests RedisDebugTest, ProfilerTest with use PROFILER setting.
Alexander Demidov
2012-07-09 14:28:02 +04:00
a0010c3706Replace values 1 to (bool)true in Config::set(PROFILER...) in majestic tests.
Alexander Demidov
2012-07-09 13:49:11 +04:00
b6a2c4dbc3Replace 0 to false and 1 to true in Config:;set(DEBUG...) in majestic tests.
Alexander Demidov
2012-07-09 13:47:32 +04:00
dc60d703bfReturn ob_end_clean to ErroHandler.
Alexander Demidov
2012-07-09 12:52:52 +04:00
c836b5974eReplace checking DEBUG in constructor Profiler to checking PROFILER is it true.
Alexander Demidov
2012-07-04 17:30:05 +04:00
060cb76653Merge branch 'fix_check_ob_handler' into init_to_bootstrap
Alexander Demidov
2012-06-29 13:01:20 +04:00
94b8fadbc4Replace ob_end_clean to ob_clean in ErrorHandler class error_handler method.
Alexander Demidov
2012-06-29 13:00:29 +04:00
7a26da1034Fixed tests with inc Config and Registry classes. Use LOGGING in logger tests.
Alexander Demidov
2012-06-28 16:18:28 +04:00
cfd6536c5fReplace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap).
Alexander Demidov
2012-06-27 17:56:06 +04:00
bcc9be619dMerge spl_autoload from init to Load::setAutoloadFrom.
Alexander Demidov
2012-06-26 17:52:37 +04:00
a1d33ea32fmerged mongo into master
Anton Grebnev
2012-06-05 14:08:33 +04:00
d5ae133478added test for findAndModify if no item in collection and test for eval
Anton Grebnev
2012-06-05 13:52:39 +04:00
ed015b23d0updated Load exclude path to use PATH constant before dir path
Anton Grebnev
2012-06-04 18:01:10 +04:00
0f1acaa7d6Merge branch 'new_error_layout'
Anton Grebnev
2012-06-04 16:11:28 +04:00
3076cf0b6aupdated ErrorHandler to check for existing output buffers befor ob_clean
Anton Grebnev
2012-06-04 16:10:34 +04:00
e6735dc158added setException method to ErrorLayout class
Anton Grebnev
2012-06-04 16:09:45 +04:00
1d999bda3fmodified FrontController to get error layout from Router
Anton Grebnev
2012-06-04 16:09:16 +04:00
90a8cb30e6added getter and setter to Router to use error layout
Anton Grebnev
2012-06-04 16:08:35 +04:00
950d1f4a9amodified MongoDbCommand __toString output
Anton Grebnev
2012-06-04 16:06:03 +04:00
f6e119d372modified GetViewHelper to return urlencoded GET query params
Anton Grebnev
2012-06-04 16:05:26 +04:00
359c712962modified AutoloadBuilder for atomic autoload.php write
Anton Grebnev
2012-06-04 16:04:17 +04:00
29a255776dMerge branch 'route_modified'
Alexander Demidov
2012-05-25 19:31:18 +04:00
444e5ba369Remove backtrace function from getRoute method.
Alexander Demidov
2012-05-25 19:26:21 +04:00
f207e80409Modified PHP-doc var types in Router.
Alexander Demidov
2012-05-25 19:22:14 +04:00
119bba5e23Modified PHP-doc in Router.
Alexander Demidov
2012-05-25 19:21:05 +04:00
9ef37d003bRefactor Router (remove getUri method. All logic moved to getRoute method). Modified RouterTest.
Alexander Demidov
2012-05-25 19:03:42 +04:00
6e4a9ef23aModify RouterTest (unmocked simply methods).
Alexander Demidov
2012-05-25 18:41:25 +04:00
c7815a2112Add tests app/router for new methods.
Alexander Demidov
2012-05-25 16:31:08 +04:00
1cf82d7442Add PHP-doc comments in new methods (routeIsExists, getRouteByName, getUri).
Alexander Demidov
2012-05-25 16:30:45 +04:00