Carsten Brandt
93f6ddfbe9
document the fact that widgets use output buffering
...
so they may break ob stack when end() and begin() are called in
different views.
close #11687
8 years ago
Hisateru Tanaka
9585939d9f
Fixes #11723 : Fixed PHP 7 + XDebug error handling displaying "Expected array for frame 0"
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
Carsten Brandt
e49bc29aa8
Update ActionFilter.php
8 years ago
Paul Klimov
7e7db38011
Fix #11591 `ActionFilter` wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
8 years ago
Evgeniy Tkachenko
d0a68883c7
phpDoc of $layout updated
8 years ago
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
9 years ago
Carsten Brandt
f2f082dbab
moved checks before random_bytes() to have consistent behavior accross php versions
9 years ago
Alexander Makarov
0c6c1eebd1
Better buffer usage description as suggested by @tom--
...
https://github.com/yiisoft/yii2/pull/11285#discussion_r59960199
9 years ago
Alexander Makarov
6a80a132e2
Converted constant into local variable #11285
9 years ago
Alexander Makarov
81b18e1538
Fixed variable name
9 years ago
Alexander Makarov
371440d59a
More Security component enhancements
...
- Removed PHP version checks since both are met by default because Yii requires 5.4.0+.
- Limit PHP fread buffer in order to prevent entropy wasting.
- Fixed incorrect bytes to read calculation.
- Added more notes explaining decisions.
9 years ago
Tom Worster
c455a3c54b
Security component enhancements
...
- Added tests for random key generation speed.
- Better generateRandomKey() performance for small reads because of using fopen + buffered read and local caching of source detection.
- Use /dev/random on FreeBSD.
9 years ago
Andrii Vasyliev
e8d30f0c51
enable use of yii2 inside of phar packaged console applications
9 years ago
Joel Waldock
20de74d343
Fix spelling in Controller.php
9 years ago
Nikola Kovacs
ff37be0fb8
add doc summary for getUniqueID
...
This way it won't be empty in the table of methods.
9 years ago
Evgeniy Tkachenko
aa0bf9a3c7
phpDoc: Added null to Controller::$layout
9 years ago
mdmunir
67b5f4ea19
fix for unsafe validator
...
Closes #8145 #8139 #11153
9 years ago
Carsten Brandt
191f2a4943
fixed phpdoc type names
9 years ago
Alexander Makarov
1f7134634b
Use static:: instead of $this for static method calls
9 years ago
Carsten Brandt
9b5f6cb188
prepare for 2.0.7 release
...
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
Carsten Brandt
e8d309dddb
documentation fixes for 2.0.7
9 years ago
Evgeniy Tkachenko
be4c9ae5b8
it added also to detachBehavior()
9 years ago
Evgeniy Tkachenko
187e44d3ba
Update phpDoc Component::getBehavior().
...
Added `@return null`
9 years ago
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