Commit Graph

130 Commits

Author SHA1 Message Date
Nikolay Oleynikov
2ac711fa20 Fix incorrect type hints (#115) [skip ci] 2017-04-11 15:47:45 +03:00
Kalinin Alexandr
ddeab345bb Update SiteController.php (#61) [skip ci] 2016-06-19 16:56:22 +03:00
Alexander Makarov
f002567220 Removed unnecessary slash 2016-03-09 18:47:19 +03:00
MaximAL
8a1f362e9f Remove redundant elses 2015-06-05 17:39:43 +03:00
Qiang Xue
4f00e23565 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
SonicGD
93cc82c4bf Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Johnny Theill
7227889464 Fix newlines and missing parameter description 2014-02-16 03:14:28 +01:00
Johnny Theill
a6c43f5eb7 Update doc-blocks and small fixes according to coding standards 2014-02-15 17:53:57 +01:00
Johnny Theill
0eff9fb382 Fixed minor consistency bugs in apps * Added 'return' to goHome() calls in actions * Changed $_POST to Yii::$app->request->post() 2014-02-15 16:32:24 +01:00
Alexander Makarov
4df6370173 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
332030325f Convert to short syntax (array) 2013-10-18 09:48:27 +00:00
Carsten Brandt
44b1fce99b 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
8a599e9474 Added support for data-method and data-confirm. 2013-09-18 23:11:55 -04:00
Alexander Makarov
f7a28f3df0 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
19a872c422 Added Controller::goHome(). 2013-08-12 13:19:37 -04:00
Qiang Xue
5072e526be Refactored the basic app. 2013-08-10 07:33:24 -04:00
Qiang Xue
37f69a52d7 Fixed the basic app template. 2013-08-08 21:56:58 -04:00
Qiang Xue
42cad0bbe3 Fixed debugger with the new bootstrap. 2013-08-08 21:06:40 -04:00
Qiang Xue
da0afe1957 Reorganized captcha code. 2013-08-03 07:20:39 -04:00
Qiang Xue
7f05967cf5 Added more YII_ENV constants. 2013-07-31 07:18:59 -04:00
Qiang Xue
72dd7acbef Removed test code. 2013-07-08 06:47:10 -04:00
Qiang Xue
7efa64c733 debugger furnishing 2013-07-08 06:44:22 -04:00
Qiang Xue
eace6dca8c Added Model::load(). Added Controller::refresh() and redirect(). 2013-06-26 08:34:27 -04:00
Qiang Xue
955f351e6d Added acceptance tests for the basic app. 2013-06-22 20:26:22 -04:00
Qiang Xue
37b579fad6 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a51ae7030b667f740c2a97471cf7f6e, reversing
changes made to 6b6390f72b6a6010cfbe614aab236a90d10b1a00.
2013-06-16 19:45:58 -04:00
Carsten Brandt
452bd8e5e3 Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00
Qiang Xue
a8053352f2 Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00
Qiang Xue
f026d360de removed test line. 2013-06-10 07:44:30 -04:00
Qiang Xue
7e6ed22ec6 Response WIP 2013-06-09 09:47:41 -04:00
Qiang Xue
cb76b82e09 Renamed apps/bootstrap to apps/basic. 2013-05-24 10:14:49 -04:00