Commit Graph

209 Commits

Author SHA1 Message Date
Alexander Makarov
91b61692c5 Better alias paths for advanced application 2013-11-01 03:16:34 +04:00
Alexander Mohorev
0d04846c08 php short echo syntax 2013-10-28 23:57:40 +03:00
Alexander Mohorev
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
Carsten Brandt
9fe0eb6c3f add sorting icons to gridview sort links in basic and advanced app css 2013-10-25 12:02:09 +02:00
Qiang Xue
10553b6afc adjusted the advanced app to use the new yii composer extension installer. 2013-10-22 21:29:42 -04:00
Qiang Xue
de59556d2d adjusted basic app to use the new yii extension installer. 2013-10-22 21:18:41 -04:00
Qiang Xue
8fc489091b removed InstallHandler. 2013-10-22 21:13:57 -04:00
Carsten Brandt
40d06e6f43 more on short array syntax 2013-10-22 11:30:39 +02:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Alexander Makarov
24bc980da4 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Alexander Makarov
55cc812847 Merge pull request #1012 from KingYes/master
Convert to short syntax [2].
2013-10-18 02:08:15 -07:00
Yakir Sitbon
dfb6e1f404 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
Alexander Makarov
e115b0c860 Updated docs, composer.json and other things to mention and use PHP 5.4 2013-10-18 13:01:13 +04:00
Alexander Makarov
c3ba7f6b6d Merge pull request #1010 from KingYes/master
Convert to short syntax (array)
2013-10-18 01:37:46 -07:00
Yakir Sitbon
dfb3895457 Convert to short syntax (array) 2013-10-18 09:48:27 +00:00
sensorario
249493985d Convert to short syntax 2013-10-18 07:30:41 +02: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
Alexander Makarov
f8ddb3d7be Advanced application: added applying migrations to readme 2013-09-28 01:27:23 +04:00
Alexander Makarov
c4354d6be6 Advanced application: init is now automatically called when installing via Composer 2013-09-28 01:14:19 +04:00
Alexander Makarov
4ab2e986c6 Advanced application: init script can now be executed in non-interactive input mode
Usage:
init --env=Development
init --env=Production
2013-09-28 01:10:38 +04:00
Alexander Makarov
907d24fb9e Advanced application: fixed console return codes 2013-09-28 01:01:49 +04:00
Alexander Makarov
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00
Alexander Makarov
e1061f19ac Advanced application template: Delete flash message after it was displayed 2013-09-24 12:07:41 +04:00
Alexander Makarov
4d901acd8e Advanced application template: removed unused scenario from User model 2013-09-23 18:01:13 +04:00
Qiang Xue
0fc423c74a Added support for data-method and data-confirm. 2013-09-18 23:11:55 -04:00
Alexander Makarov
bb6d0f1b47 Merge pull request #888 from sergon/patch-5
Update passwordResetToken.php
2013-09-18 11:27:52 -07:00
gsd
41e2c41002 Update SiteController.php 2013-09-18 22:18:12 +06:00
gsd
29394758ba Update passwordResetToken.php 2013-09-18 22:12:47 +06: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
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
347e79a467 Fixes #863: adjusted horizontal form layout 2013-09-09 21:27:58 -04:00
Qiang Xue
851dfe6333 Use horizontal form for login page. 2013-09-08 09:58:28 -04:00
Alexander Makarov
df85be3622 Added debug to preload in advanced app template 2013-09-04 16:18:15 +04:00
Alexander Makarov
f877de144b Removed DebugTarget reference from advanced app template configs 2013-09-04 15:55:32 +04:00
Alexander Makarov
8c7d0aebe1 Added note about the fact that PHP SSL extension is required to install all Composer dependencies 2013-09-04 15:44:31 +04:00
Roman Revin
fae8084524 Update alert widget 2013-08-21 11:48:01 +04:00
Alexander Makarov
4b008ae096 Updated bootstrap to release version including wrappers and views 2013-08-21 03:00:13 +04:00
Qiang Xue
b9553eb57a Replaced diff vendor. 2013-08-19 14:21:40 -04:00
Qiang Xue
829c10f4fa Fixed yii autoload precedence. 2013-08-18 20:33:11 -04:00
Qiang Xue
710d4767e9 composer config update. 2013-08-18 18:46:49 -04:00
Qiang Xue
1896dd1707 gii WIP 2013-08-16 07:38:18 -04:00
Qiang Xue
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
lancecoder
28317c454c Update main.php 2013-08-14 21:08:06 +00:00
lancecoder
c884aca466 Update main.php 2013-08-14 21:07:47 +00:00
lancecoder
4d69b56eb3 Update main.php 2013-08-14 21:06:17 +00:00
Qiang Xue
b07ac2810e Merge branch 'master' of github.com:yiisoft/yii2 2013-08-12 20:06:00 -04:00
Alexander Makarov
6040841687 fixed User class namespace in phpdoc 2013-08-13 02:50:16 +04:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Alexander Makarov
edb77393b2 fixes #736 2013-08-13 01:16:53 +04:00