Commit Graph

53 Commits

Author SHA1 Message Date
5dd81b24fc Modified PHP-Doc for CliController::execute(). 2013-09-10 16:56:22 +04:00
ef99a26635 Modife CliController. 2013-09-10 16:41:13 +04:00
a2cb6a405e Get rid of $this->template logic, switched to type of exception 2012-12-11 18:56:07 +04:00
5f47dab73e Use new logError in FrontController, tests 2012-12-11 15:42:17 +04:00
766cce1fbc @codeCoverageIgnoreStart for private __clone() 2012-11-21 21:02:13 +04:00
a856dd484e Removed @version and @filesource from PHPDocs 2012-11-21 18:42:29 +04:00
0d58a907e5 Refuse cloning of CliController 2012-11-21 15:09:13 +04:00
1354f3d001 PHPDoc, some trailing PHP tags removed 2012-11-19 19:20:15 +04:00
6a2c861a71 Switch http code header on showDebug with ErrorHTTPException. 2012-11-13 14:03:42 +04:00
5cc54e182e Modify FronController with use class_name in is_subclass_of. 2012-11-12 19:30:25 +04:00
008eee4c8c fixed ErrorAction::setAjaxError() method call in FrontController 2012-11-12 14:22:55 +04:00
e1c3da8019 Reworked AJax action HTTP code and HTTP content. Added new HTTP template to process HTTP code output 2012-11-12 14:22:54 +04:00
2aafb3a394 New default value for AjaxAction->data, new tests 2012-11-12 14:22:54 +04:00
4fa078d709 Fixes 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. 2012-11-12 14:22:54 +04:00
4f55333064 PHPdoc updated 2012-11-12 14:22:54 +04:00
910a770ea2 modified CliController to use stderr as default error stream 2012-10-08 19:29:53 +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
ad9c6b0a0c Complete tests for CliController. 2012-07-11 17:23:14 +04:00
595c1b73eb Add CliController and iCli interface for cli applications. 2012-07-10 19:37:03 +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
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
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
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
755f1b46c7 Fixed packages for some files 2012-03-19 18:18:25 +04:00
bdae057a8e replace Exception on PHPUnit_Framework_Error 2011-11-24 19:12:53 +04:00
3ebfac9db4 Code formatting 2011-10-13 14:55:06 +04:00
165bf08c09 Reworked profiler 2011-07-29 13:09:43 +04:00
d93edd1ea7 Modified handling of Error404Exception for AjaxAction-based classes 2011-06-28 18:25:14 +04:00
4dcbf284cc If DEBUG - send exception as HTTP 500 2011-06-01 22:25:06 +04:00
2a11b9b4f6 deleted unnececcary artefact from trunk 2011-05-13 14:42:22 +04:00
01b4bf641b Added default Ajax action part 2 2011-04-27 19:16:40 +04:00
822e1e614a Added default Ajax action 2011-04-27 18:33:57 +04:00
70ccc8bc26 Changed PagerAction, search and order methods of Model, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@148 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-05-24 13:54:50 +00:00
6e0f302249 Session autostart, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@143 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-04-27 19:14:43 +00:00
cb3ac1a04f params urlencode, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@136 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-26 15:47:13 +00:00
942d73caf7 i18n, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@134 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-25 11:03:08 +00:00
f9ef17a685 No more relative urls by default, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@129 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-15 21:06:36 +00:00
41bc23cfab Bug fixed in exception handling, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@128 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-15 20:45:58 +00:00
c9b35cf6f0 Session, some fixes in PagerView and ErrorView #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@126 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-14 16:12:52 +00:00
d0630c4240 ViewAction functional merged to Action, Model::inset now returns last insert id if returned or affected rows count, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@125 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-14 12:12:17 +00:00
8fc917dca2 Memcache, refactoring, View helpers, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@124 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-13 23:33:46 +00:00
5b7ad8e2ea Errors and exceptions handling, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@122 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-07 19:54:09 +00:00
4f7e5b00bc Errors and exceptions handling, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@121 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
2010-03-07 17:26:44 +00:00