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
11 years ago
Yakir Sitbon
dfb6e1f404
Convert to short syntax [2].
11 years ago
gsd
41e2c41002
Update SiteController.php
11 years ago
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".
11 years ago
Qiang Xue
27ad7e1fc7
Added Controller::goHome().
12 years ago
Qiang Xue
3d5388ff2b
Reorganized captcha code.
12 years ago
Alexander Makarov
aa3e816023
fixes #652 advanced app fixes
12 years ago
Alexander Makarov
b02f01f6be
More on advanced app template:
...
- Unified way to use Alert
- Added link to restore password to login form
- Refactored restore password
12 years ago
Alexander Makarov
90ed776296
implemented password reset
12 years ago
Alexander Makarov
c5e9d84c6a
signup action for advanced app template
12 years ago
Qiang Xue
9cf82b3ae1
Added Model::load(). Added Controller::refresh() and redirect().
12 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
12 years ago
Carsten Brandt
71782b344e
Changed existing code to match the changes regarding response
12 years ago
Qiang Xue
420637443c
Refactored the way of sending response in controller actions.
12 years ago
Alexander Makarov
75917e2cb1
User and LoginForm are now common models, User is AR and Identity
12 years ago
Alexander Makarov
e8d59fb6cb
specified proper namespaces
12 years ago
Alexander Makarov
0fb30f8d25
Advanced application template
12 years ago
Qiang Xue
759c303a65
Renamed apps/bootstrap to apps/basic.
12 years ago
resurtm
89bbdae6c1
Initial version of the new error/exception page.
12 years ago
Qiang Xue
7dc624d1da
Reorganized the bootstrap app to prepare it as a separate composer package.
12 years ago
Qiang Xue
80b3d5641d
Fixed SiteController about Yii.
12 years ago
Qiang Xue
8d23d4c7e5
Added namespace to the controllers of the bootstrap app.
12 years ago
Qiang Xue
96fd37de2e
Fixes issue #49 : finished CAPTCHA feature.
12 years ago
Qiang Xue
14699b5ec3
reorganized app code.
...
removed app template from framework folder.
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Qiang Xue
6e997cb428
improved contact page.
12 years ago
Qiang Xue
147b3155c8
Added contact page. Fixed various form bugs.
12 years ago
Qiang Xue
0d182ace40
basic app WIP
12 years ago
Qiang Xue
06fa0259b5
Added Controller::populate().
12 years ago
Qiang Xue
4131878512
activeform WIP
12 years ago
Qiang Xue
399a53cfc4
activeform wip
12 years ago
Qiang Xue
90cfb6ebb8
ActiveForm wip
12 years ago
Qiang Xue
122376a868
Added a basic app.
12 years ago