643 Commits

Author SHA1 Message Date
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
1f7134634b Use static:: instead of $this for static method calls 2016-02-16 14:06:23 +03:00
9b5f6cb188 prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
e8d309dddb documentation fixes for 2.0.7 2016-02-06 19:47:13 +01:00
be4c9ae5b8 it added also to detachBehavior() 2016-01-20 10:44:14 +03:00
187e44d3ba Update phpDoc Component::getBehavior().
Added `@return null`
2016-01-20 10:37:48 +03:00
40fc49bf16 remove obsolete @throw tags 2016-01-04 15:08:04 -05:00
b68613b746 Added support for events declared in interfaces #10108
Added guide in russian for events in interfaces
2015-12-27 23:07:36 +02:00
ba19858e58 move private state var also 2015-12-20 21:28:03 -05:00
83b61eae43 move "private" consts before generateRandomKey() 2015-12-20 21:25:33 -05:00
358e9115ed comment lstat 2015-12-20 21:21:34 -05:00
e7a888ad11 use file_get_contents and not magic numbers 2015-12-20 11:48:36 -05:00
1f41a2c9af Fixes #9878,9879,9880: Make \base\Security use random_bytes(), LibreSSL, mcrypt, limit OpenSSL to Windows, and to prefer password_hash() over crypt() 2015-12-19 13:13:23 +03:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
e1509bfe73 Fix methods references 2015-11-25 12:04:43 +02:00
2d68840898 yii\base\Module::getLayoutPath() fixed code style 2015-11-21 19:33:16 +02:00
d08ef83e2a Controller->viewPath can be set, fixes #10086
Added setViewPath() that allows setting the base path for the
controller's views. Changed getViewPath() to return the value that was
explicitly set, before defaulting to the usual module-based path.
2015-11-21 19:28:06 +02:00
035a9ce0a8 Added yii\filters\auth\AuthMetod::optional property
Added `yii\base\ActionFilter::getActionId()` - code extracted from `ActionFilter::isActive()`
2015-11-19 19:00:12 +02:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
c2f83da8d8 Fix phpdoc 2015-10-05 15:00:13 +06:00
a7ef39ca6b fix typo in documentation 2015-09-30 12:44:31 +02:00
cf2c722a1f update comments in \yii\base\Controller
I had problems with understanding of why AccessControll filter didn't work, as i wish, with PageCache. Then i remembered the quote "The validation rules are evaluated in the order they are listed." from guide http://www.yiiframework.com/doc-2.0/guide-input-validation.html#declaring-rules, but when i tried to redirect some certain user using beforeAction(), as you advised, it didn't work.

close #9717
2015-09-19 17:09:35 +02:00
00a8a6270e revised docs about Model::load()
thanks to @tom-- for review.
2015-08-12 16:01:41 +02:00
abc7dbbf0f added missing @since annotations 2015-08-04 12:40:12 +02:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
9012aa66bf Fixed documentation according to Chg #4911 2015-07-29 12:42:56 +02:00
8ced2ba96a Fixes #8933: Yii is now able to properly handle HHVM fatal errors 2015-07-28 10:32:52 +03:00
d3bd7af956 improved documentation of Model::load() return value
fixes #8803
close #9216
2015-07-26 02:21:41 +02:00
6a4436f95b [Fixes #9177] Password Hash Cost setting for Security component 2015-07-23 09:09:55 +02:00
e0d2d2cc88 Improve summary description of Action class 2015-07-21 12:08:35 -04:00
c4ab9a0891 Fixed typo in base/Security file and docs 2015-07-02 11:22:15 +03:00
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
39cb131984 Spelling and sc fixes 2015-06-16 23:53:12 +03:00
d34d890a32 PSR-2 if-else statement 2015-06-09 00:10:09 +03:00
38ca276e1f PSR-2 try-catch statement 2015-06-08 23:32:08 +03:00
0c5e4b7105 PSR-2 foreach statement 2015-06-08 23:21:21 +03:00
f68e970de2 link to PHP classes just as we do with normal classes
apidoc can handle this!
2015-06-05 21:53:24 +02:00
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
b2e8bf2552 Update PHPDoc Comment 2015-05-26 15:47:11 +04:30
1fe171b328 only close output buffer if it is still open
Pjax did alredy close it before ExitException

fixes #8506
2015-05-21 14:22:53 +02:00
d5693cfe01 small improvements of Model phpdoc 2015-05-19 01:16:47 +02:00
a0cc77d78d Update Model.php
close #8463
2015-05-19 01:16:30 +02:00
b9916b1718 log the whole exception object to allow log targets to work with it
fixes #6354
made possible by #7305
2015-05-16 00:32:01 +02:00
8f1811919f ensure error will always result in a failing HTTP status code
fixes #8326
proper fix for #7571 which did not work in all situations
2015-05-08 22:38:49 +02:00
a4f760e798 Fixed yii\base\Model does not recognize scenario declared by rules using 'except' 2015-04-24 18:03:34 +03:00
f11bdfa2a7 Grammar fix: followings -> following 2015-04-21 15:08:16 +02:00
10d0ad70af close output buffer for widget on exception
while running bootstrap extension unit tests which were failing first
I found phpunit complaining about risky tests because output buffers
were not closed correctly. This change fixes this problem.

close #7844
2015-04-20 15:17:51 +02:00