Tom Worster
40fc49bf16
remove obsolete @throw tags
9 years ago
Pavel
b68613b746
Added support for events declared in interfaces #10108
...
Added guide in russian for events in interfaces
9 years ago
Tom Worster
ba19858e58
move private state var also
9 years ago
Tom Worster
83b61eae43
move "private" consts before generateRandomKey()
9 years ago
Tom Worster
358e9115ed
comment lstat
9 years ago
Tom Worster
e7a888ad11
use file_get_contents and not magic numbers
9 years ago
Tom Worster
1f41a2c9af
Fixes #9878,9879,9880: Make `\base\Security` use `random_bytes()`, LibreSSL, mcrypt, limit OpenSSL to Windows, and to prefer `password_hash()` over `crypt()`
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
artur
e1509bfe73
Fix methods references
9 years ago
SilverFire - Dmitry Naumenko
2d68840898
`yii\base\Module::getLayoutPath()` fixed code style
9 years ago
Luis Hernández
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.
9 years ago
SilverFire - Dmitry Naumenko
035a9ce0a8
Added `yii\filters\auth\AuthMetod::optional` property
...
Added `yii\base\ActionFilter::getActionId()` - code extracted from `ActionFilter::isActive()`
9 years ago
Alexander Makarov
1b3770fd21
Use === instead of == where possible
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
jeicd
c2f83da8d8
Fix phpdoc
9 years ago
Nikola Kovacs
a7ef39ca6b
fix typo in documentation
9 years ago
namlier
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
9 years ago
Carsten Brandt
00a8a6270e
revised docs about Model::load()
...
thanks to @tom-- for review.
9 years ago
Carsten Brandt
abc7dbbf0f
added missing `@since` annotations
9 years ago
Carsten Brandt
a2568d1ec8
updated some comments and `@since` annotations
9 years ago
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
9 years ago
Sebastian Chojniak
9012aa66bf
Fixed documentation according to Chg #4911
9 years ago
adinata
8ced2ba96a
Fixes #8933 : Yii is now able to properly handle HHVM fatal errors
9 years ago
Carsten Brandt
d3bd7af956
improved documentation of Model::load() return value
...
fixes #8803
close #9216
9 years ago
freezy
6a4436f95b
[ Fixes #9177 ] Password Hash Cost setting for Security component
9 years ago
tom--
e0d2d2cc88
Improve summary description of Action class
9 years ago
onedevlink
c4ab9a0891
Fixed typo in base/Security file and docs
9 years ago
Alexander Mohorev
68c30c1034
Replace aliases of functions
9 years ago
Alexander Mohorev
39cb131984
Spelling and sc fixes
9 years ago
Alexander Mohorev
d34d890a32
PSR-2 if-else statement
9 years ago
Alexander Mohorev
38ca276e1f
PSR-2 try-catch statement
9 years ago
Alexander Mohorev
0c5e4b7105
PSR-2 foreach statement
9 years ago
Carsten Brandt
f68e970de2
link to PHP classes just as we do with normal classes
...
apidoc can handle this!
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
Mohamad Mohebifar
b2e8bf2552
Update PHPDoc Comment
9 years ago
Carsten Brandt
1fe171b328
only close output buffer if it is still open
...
Pjax did alredy close it before ExitException
fixes #8506
9 years ago
Carsten Brandt
d5693cfe01
small improvements of Model phpdoc
10 years ago
Andrew Potter
a0cc77d78d
Update Model.php
...
close #8463
10 years ago
Carsten Brandt
b9916b1718
log the whole exception object to allow log targets to work with it
...
fixes #6354
made possible by #7305
10 years ago
Carsten Brandt
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
10 years ago
Klimov Paul
a4f760e798
Fixed `yii\base\Model` does not recognize scenario declared by rules using 'except'
10 years ago
Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
10 years ago
Carsten Brandt
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
10 years ago
Carsten Brandt
851a914f67
phpdoc tweak: Model::scenarios()
10 years ago
Klimov Paul
85ca8c3712
Added ability to specify hints for model attributes
10 years ago
Yasser Hassan
daab0e9aef
Fixing typo.
...
close #7941
10 years ago
Qiang Xue
c01804d7c9
Fixes #7775 : Added more strict check on controller IDs when they are being used to create controller instances on Windows
10 years ago
Carsten Brandt
2f5345b63c
improved beforeAction docs
10 years ago
tom--
70fa53a20f
Update Controller.php and Module.php
...
beforeAction() code style:
1. Return early on error
2. Don't else-after-return
close #7804
10 years ago
Alexander Makarov
b6a591c720
Fixes #7571 : HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and `YII_DEBUG` is false
10 years ago