Commit Graph

10 Commits

Author SHA1 Message Date
Alexander Makarov
f2484fd616 Modified application templates so when trying to log in when already logged in it just redirects to homepage instead of throwing exceptions 2013-11-07 01:19:36 +04:00
Alexander Makarov
d3f5d34819 Fixed advanced app error view 2013-11-07 01:15:01 +04:00
Yakir Sitbon
dfb6e1f404 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
Alexander Makarov
f5778b6bf0 Advanced application enhancements.
- Turned on CSRF validation by default.
- Added access control for login, signup and logout for frontend application.
- Added access control for login, logout and index for backend application.
- YII_ENV is now defined for all applications.
- No trace is writted to logs if debug is turned off.
- Added default error view for frontend and backend.
- In frontend application captcha will always ask for "testme" if YII_ENV is defined as "test".
2013-09-16 02:46:29 +04:00
Qiang Xue
27ad7e1fc7 Added Controller::goHome(). 2013-08-12 13:19:37 -04:00
Qiang Xue
9cf82b3ae1 Added Model::load(). Added Controller::refresh() and redirect(). 2013-06-26 08:34:27 -04:00
Qiang Xue
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a, reversing
changes made to 6b6390f72b.
2013-06-16 19:45:58 -04:00
Carsten Brandt
71782b344e Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00
Qiang Xue
420637443c Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00
Alexander Makarov
88b05cdfeb renamed backstage → backend 2013-06-09 20:15:55 +04:00