Commit Graph

487 Commits

Author SHA1 Message Date
910a770ea2 modified CliController to use stderr as default error stream 2012-10-08 19:29:53 +04:00
774c86acd2 modified Profiler to clear queries array on start() 2012-10-05 19:39:45 +04:00
5bc65513eb modified CliController to use ErrorStream conf var and separate logging by LOGGING/PROFILER settings 2012-10-05 19:39:23 +04:00
8d60abe7d1 modified ErrorHandler not to process error closed by @ 2012-10-05 19:38:24 +04:00
c72495de57 Merge branch 'new_error_layout' 2012-10-04 19:42:29 +04:00
5bce35f022 modified setException method param type to Exception 2012-10-04 19:41:42 +04:00
700ad52598 Add comment PHP-doc methods in Redis class. 2012-08-16 18:14:04 +04:00
9d0e22ebd2 Modified Profiler message. 2012-07-19 17:18:54 +04:00
a16a995ed3 Add Profiler support report message with turn on PROFILER_DETAILS (if use to show queries). Modified tests MongoStatementTest, MySQLiStatementTest. Adding new tests to ProfilerTest. 2012-07-19 17:07:54 +04:00
ed0c9f207f Corrected CliControllerTest. 2012-07-19 17:05:56 +04:00
72ac3e2176 Modified commented code in ProfilerTest, LayoutTest with DEBUG const. 2012-07-13 17:44:10 +04:00
ad9c6b0a0c Complete tests for CliController. 2012-07-11 17:23:14 +04:00
ac091ac1ed Add CliControllerTest (not working with RuntimeException). 2012-07-10 19:38:10 +04:00
595c1b73eb Add CliController and iCli interface for cli applications. 2012-07-10 19:37:03 +04:00
e59e270476 Modified tests Mongo, Mysqli, Redis with checking work Profiler (with PROFILER_DETAILS). 2012-07-10 17:03:55 +04:00
4e0b762ab0 Use PROFILER_DETAILS in RedisManager. 2012-07-10 17:03:25 +04:00
34337efda4 Remove use constant DEBUG from Load.php 2012-07-10 13:50:04 +04:00
2395adf7b8 Modified MySQLiStatementTest with use PROFILER_DETAILS set. 2012-07-10 13:49:49 +04:00
69cd61121e Fixed tests RedisDebugTest, ProfilerTest with use PROFILER setting. 2012-07-09 14:28:02 +04:00
a0010c3706 Replace values 1 to (bool)true in Config::set(PROFILER...) in majestic tests. 2012-07-09 13:49:11 +04:00
b6a2c4dbc3 Replace 0 to false and 1 to true in Config:;set(DEBUG...) in majestic tests. 2012-07-09 13:47:32 +04:00
dc60d703bf Return ob_end_clean to ErroHandler. 2012-07-09 12:52:52 +04:00
c836b5974e Replace checking DEBUG in constructor Profiler to checking PROFILER is it true. 2012-07-04 17:30:05 +04:00
060cb76653 Merge branch 'fix_check_ob_handler' into init_to_bootstrap 2012-06-29 13:01:20 +04:00
94b8fadbc4 Replace ob_end_clean to ob_clean in ErrorHandler class error_handler method. 2012-06-29 13:00:29 +04:00
7a26da1034 Fixed tests with inc Config and Registry classes. Use LOGGING in logger tests. 2012-06-28 16:18:28 +04:00
cfd6536c5f Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap). 2012-06-27 18:02:42 +04:00
bcc9be619d Merge spl_autoload from init to Load::setAutoloadFrom. 2012-06-26 17:52:37 +04:00
a1d33ea32f merged mongo into master 2012-06-05 14:08:33 +04:00
d5ae133478 added test for findAndModify if no item in collection and test for eval 2012-06-05 13:52:39 +04:00
ed015b23d0 updated Load exclude path to use PATH constant before dir path 2012-06-04 18:01:10 +04:00
0f1acaa7d6 Merge branch 'new_error_layout' 2012-06-04 16:11:28 +04:00
3076cf0b6a updated ErrorHandler to check for existing output buffers befor ob_clean 2012-06-04 16:10:34 +04:00
e6735dc158 added setException method to ErrorLayout class 2012-06-04 16:09:45 +04:00
1d999bda3f modified FrontController to get error layout from Router 2012-06-04 16:09:16 +04:00
90a8cb30e6 added getter and setter to Router to use error layout 2012-06-04 16:08:35 +04:00
950d1f4a9a modified MongoDbCommand __toString output 2012-06-04 16:06:03 +04:00
f6e119d372 modified GetViewHelper to return urlencoded GET query params 2012-06-04 16:05:26 +04:00
359c712962 modified AutoloadBuilder for atomic autoload.php write 2012-06-04 16:04:17 +04:00
29a255776d Merge branch 'route_modified' 2012-05-25 19:31:18 +04:00
444e5ba369 Remove backtrace function from getRoute method. 2012-05-25 19:26:21 +04:00
f207e80409 Modified PHP-doc var types in Router. 2012-05-25 19:22:14 +04:00
119bba5e23 Modified PHP-doc in Router. 2012-05-25 19:21:05 +04:00
9ef37d003b Refactor Router (remove getUri method. All logic moved to getRoute method). Modified RouterTest. 2012-05-25 19:03:42 +04:00
6e4a9ef23a Modify RouterTest (unmocked simply methods). 2012-05-25 18:41:25 +04:00
c7815a2112 Add tests app/router for new methods. 2012-05-25 16:31:08 +04:00
1cf82d7442 Add PHP-doc comments in new methods (routeIsExists, getRouteByName, getUri). 2012-05-25 16:30:45 +04:00
8efaf2a0a7 Change static to dynamic method getUri. 2012-05-25 14:18:05 +04:00
73ff07ce7d Add method Router::getUri($route_name = null) - Give me this uri on route_name is null, other another route uri from route_name. 2012-05-24 17:30:17 +04:00
c0fa542b3c removed output buffer(ob_start/ob_end_clean) usasge in MongoDbCommand profile output 2012-05-23 18:59:20 +04:00