Commit Graph

117 Commits

Author SHA1 Message Date
Alexander Makarov
8995c0b0ca Code style fixes for layouts 2013-11-28 01:19:43 +04:00
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
Qiang Xue
c6318050d9 removed unneeded setting. 2013-11-24 21:29:11 -05:00
Carsten Brandt
e775c82dd8 Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static

verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
Qiang Xue
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
marsuboss
4d54319e35 Duplicate 2013-11-19 10:56:47 +01:00
Qiang Xue
83ab0f0655 minor refactoring 2013-11-16 20:39:51 -05:00
Alexander Makarov
ad6411cae2 Fixed LoginForm::getUserByUsername 2013-11-17 02:19:05 +04:00
Alexander Makarov
5795522fc2 Use Yii::$app->user->login result in LoginForm 2013-11-16 22:16:24 +04:00
Alexander Makarov
5b36503ca8 One less SQL query for login sequence in basic and advanced apps 2013-11-16 19:39:11 +04:00
Qiang Xue
3106105ed0 changed color setting. 2013-11-14 15:36:38 -05:00
Qiang Xue
c7b430cf55 removed extra line. 2013-11-14 12:42:27 -05:00
Qiang Xue
8775e25ca6 Added readme and updated test helper classes. 2013-11-14 11:11:51 -05:00
Qiang Xue
220e6dc42d Added readme about tests. 2013-11-14 11:05:09 -05:00
Qiang Xue
cd7a4a6745 fixed functional test. 2013-11-14 10:36:35 -05:00
slavcodev
4c4f7bd708 Move AppAsset from config to assets directory 2013-11-13 18:17:05 +02:00
Qiang Xue
447bad5a12 Merge pull request #1184 from slavcodev/only-arrays-in-rules
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
Qiang Xue
75dc290a24 Fixes #1193 2013-11-13 08:31:49 -05:00
slavcodev
f57b3536a2 Fixed apps rules 2013-11-13 11:41:25 +02:00
slavcodev
ecc557ef92 Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
slavcodev
93dd629411 Fix apps phpDoc and short tags 2013-11-12 06:24:07 +02:00
Qiang Xue
f09c78aad9 save security keys as a serialized string instead of exported variable. 2013-11-08 21:35:51 -05:00
Qiang Xue
998cf7e675 updated apps to use the mail component. 2013-11-07 23:01:13 -05:00
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
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Qiang Xue
83a937990c moved bootstrap to extension 2013-11-03 00:40:06 -04:00
Qiang Xue
6aa45b34d0 updated dependency. 2013-11-03 00:25:31 -04:00
Qiang Xue
1500f978b0 Fixed dependency of apps 2013-11-02 23:00:13 -04:00
Qiang Xue
3caf59b1bf fixed extension list file location. 2013-11-02 16:04:38 -04:00
Qiang Xue
e5d5ab5655 updated license information. 2013-11-02 15:37:25 -04:00
Alexander Mohorev
0d04846c08 php short echo syntax 2013-10-28 23:57:40 +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
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
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
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04: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
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
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