71 Commits

Author SHA1 Message Date
Alexander Makarov
91f05a2891 Fixes #4071: mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer 2014-06-26 18:28:28 +04:00
Qiang Xue
c964a753d8 Fixes #3383: Added $type parameter to IdentityInterface::findIdentityByAccessToken() 2014-05-06 18:45:18 -04:00
SonicGD
93cc82c4bf Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
0055e1ab31 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
Alexander Mohorev
d78c7a7d21 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
Qiang Xue
b61e6d214a Support for other auth types. 2014-03-03 10:18:39 -05:00
Qiang Xue
e9148837ee rest api WIP 2014-03-01 23:14:16 -05:00
Alexander Makarov
dca062e4e2 Validate login data only of there are no other errors 2014-02-21 00:57:29 +04:00
Johnny Theill
a6c43f5eb7 Update doc-blocks and small fixes according to coding standards 2014-02-15 17:53:57 +01:00
Mark
ef23e05ba9 tests improved, aspect mock changes reverted 2013-12-31 23:02:10 +04: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
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
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
Qiang Xue
e1561bc3d1 updated apps to use the mail component. 2013-11-07 23:01:13 -05:00
Yakir Sitbon
332030325f Convert to short syntax (array) 2013-10-18 09:48:27 +00:00
Alexander Makarov
2e265bc2e1 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00
Qiang Xue
cb76b82e09 Renamed apps/bootstrap to apps/basic. 2013-05-24 10:14:49 -04:00