Commit Graph

315 Commits

Author SHA1 Message Date
Qiang Xue
6769595fd2 removed unneeded setting. 2013-11-24 21:29:11 -05:00
Carsten Brandt
6aa0755eeb 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
3b0ffb51ca Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
marsuboss
d94413ad1b Duplicate 2013-11-19 10:56:47 +01:00
Qiang Xue
c9a7d7dda7 minor refactoring 2013-11-16 20:39:51 -05:00
Alexander Makarov
fb2f0a6e61 Fixed LoginForm::getUserByUsername 2013-11-17 02:19:05 +04:00
Alexander Makarov
abb1a10b89 Use Yii::$app->user->login result in LoginForm 2013-11-16 22:16:24 +04:00
Alexander Makarov
302b25026c One less SQL query for login sequence in basic and advanced apps 2013-11-16 19:39:11 +04:00
Qiang Xue
be56a9c542 changed color setting. 2013-11-14 15:36:38 -05:00
Qiang Xue
8d93daf571 removed extra line. 2013-11-14 12:42:27 -05:00
Qiang Xue
2dc8a4cc98 Added readme and updated test helper classes. 2013-11-14 11:11:51 -05:00
Qiang Xue
fa1061d95b Added readme about tests. 2013-11-14 11:05:09 -05:00
Qiang Xue
ca8511dd43 fixed functional test. 2013-11-14 10:36:35 -05:00
slavcodev
7d521cb75a Move AppAsset from config to assets directory 2013-11-13 18:17:05 +02:00
Qiang Xue
5221777033 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
0af884dcc1 Fixes #1193 2013-11-13 08:31:49 -05:00
slavcodev
c2b27b7364 Fixed apps rules 2013-11-13 11:41:25 +02:00
slavcodev
3708ef51ac Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
slavcodev
c61d43e883 Fix apps phpDoc and short tags 2013-11-12 06:24:07 +02:00
Qiang Xue
5ada6348ae save security keys as a serialized string instead of exported variable. 2013-11-08 21:35:51 -05:00
Qiang Xue
e1561bc3d1 updated apps to use the mail component. 2013-11-07 23:01:13 -05: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
Alexander Makarov
d9735bc3b7 Refactored View 2013-11-06 22:52:27 +04:00
Qiang Xue
1fff71bb31 moved bootstrap to extension 2013-11-03 00:40:06 -04:00
Qiang Xue
6ccc880fe3 updated dependency. 2013-11-03 00:25:31 -04:00
Qiang Xue
5d5755e4c1 Fixed dependency of apps 2013-11-02 23:00:13 -04:00
Qiang Xue
333b1f4b1f fixed extension list file location. 2013-11-02 16:04:38 -04:00
Qiang Xue
1ddfca3f8e updated license information. 2013-11-02 15:37:25 -04:00
Alexander Mohorev
573b4b0757 php short echo syntax 2013-10-28 23:57:40 +03:00
Carsten Brandt
cb30f8d0e7 add sorting icons to gridview sort links in basic and advanced app css 2013-10-25 12:02:09 +02:00
Qiang Xue
130449e2be adjusted basic app to use the new yii extension installer. 2013-10-22 21:18:41 -04:00
Qiang Xue
e684a34f6a removed InstallHandler. 2013-10-22 21:13:57 -04:00
Carsten Brandt
575c3852f1 more on short array syntax 2013-10-22 11:30:39 +02:00
Alexander Makarov
e2e05c2383 Adjusted short tags 2013-10-20 00:59:56 +04:00
Alexander Makarov
4bf4751320 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Alexander Makarov
65c64d4c70 Merge pull request #1012 from KingYes/master
Convert to short syntax [2].
2013-10-18 02:08:15 -07:00
Yakir Sitbon
4023798e42 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
Alexander Makarov
9c81480193 Updated docs, composer.json and other things to mention and use PHP 5.4 2013-10-18 13:01:13 +04:00
Alexander Makarov
65cc32344d Merge pull request #1010 from KingYes/master
Convert to short syntax (array)
2013-10-18 01:37:46 -07:00
Yakir Sitbon
332030325f Convert to short syntax (array) 2013-10-18 09:48:27 +00:00
sensorario
b0fcdfab1a Convert to short syntax 2013-10-18 07:30:41 +02: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
Alexander Makarov
2e265bc2e1 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04: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
7c1050460c Fixes #863: adjusted horizontal form layout 2013-09-09 21:27:58 -04:00
Qiang Xue
0f5aac1e21 Use horizontal form for login page. 2013-09-08 09:58:28 -04:00
Alexander Makarov
732d25eca8 Added note about the fact that PHP SSL extension is required to install all Composer dependencies 2013-09-04 15:44:31 +04:00
Alexander Makarov
e4ecdf9d8e Updated bootstrap to release version including wrappers and views 2013-08-21 03:00:13 +04:00
Qiang Xue
94c7393598 Replaced diff vendor. 2013-08-19 14:21:40 -04:00