Commit Graph

21 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
Yakir Sitbon
dfb3895457 Convert to short syntax (array) 2013-10-18 09:48:27 +00:00
Carsten Brandt
2c30ddfcb0 added web\Controller::goBack() as shortcut
goBack() will redirect user to his returnUrl
fixes #925
2013-10-01 20:01:14 +02:00
Qiang Xue
0fc423c74a Added support for data-method and data-confirm. 2013-09-18 23:11:55 -04:00
Alexander Makarov
325f83f66b Basic application enhancements.
- Turned on CSRF validation by default.
- Application params are now readed before config is defined to be able to use values from params when configuring.
- Added access control for login and logout.
2013-09-16 02:41:19 +04:00
Qiang Xue
27ad7e1fc7 Added Controller::goHome(). 2013-08-12 13:19:37 -04:00
Qiang Xue
bc21de98bd Refactored the basic app. 2013-08-10 07:33:24 -04:00
Qiang Xue
a602ee0e8c Fixed the basic app template. 2013-08-08 21:56:58 -04:00
Qiang Xue
0e013c4f46 Fixed debugger with the new bootstrap. 2013-08-08 21:06:40 -04:00
Qiang Xue
3d5388ff2b Reorganized captcha code. 2013-08-03 07:20:39 -04:00
Qiang Xue
eda171e1be Added more YII_ENV constants. 2013-07-31 07:18:59 -04:00
Qiang Xue
4a60711b3c Removed test code. 2013-07-08 06:47:10 -04:00
Qiang Xue
d121c0d3e9 debugger furnishing 2013-07-08 06:44:22 -04:00
Qiang Xue
9cf82b3ae1 Added Model::load(). Added Controller::refresh() and redirect(). 2013-06-26 08:34:27 -04:00
Qiang Xue
a5a2481b4f Added acceptance tests for the basic app. 2013-06-22 20:26:22 -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
Qiang Xue
9cce66c794 removed test line. 2013-06-10 07:44:30 -04:00
Qiang Xue
f2d477dce6 Response WIP 2013-06-09 09:47:41 -04:00
Qiang Xue
759c303a65 Renamed apps/bootstrap to apps/basic. 2013-05-24 10:14:49 -04:00