Alexander Makarov
dbe284c618
Changed formatting of phpdoc. See #12409
2016-08-31 15:43:48 +03:00
Roman Grinyov
f0c44bca91
Cosmetic changes 2 ( #12409 ) [skip ci]
2016-08-31 14:53:17 +03:00
Carsten Brandt
e97c798a4f
fixed wrong docs about behaviors
...
fixes #12392
2016-08-30 11:40:15 +02:00
Roman Grinyov
ba43ef370d
Cosmetic changes
2016-08-26 16:00:51 +03:00
Roman Grinyov
00e4470c42
Cosmetic changes
2016-08-23 09:46:22 +03:00
Alexander Makarov
9f71bf400e
Fixes #12038 : Introduced yii\base\ViewNotFoundException which is thrown when views file doesn't exists, used it in ViewAction
2016-07-30 15:07:56 +03:00
Klimov Paul
8de6a5117c
Fixed yii\base\Model::offsetExists() throws an exception on un-existing field
2016-07-28 12:33:16 +03:00
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
2016-07-04 12:12:44 +02:00
Hisateru Tanaka
9585939d9f
Fixes #11723 : Fixed PHP 7 + XDebug error handling displaying "Expected array for frame 0"
2016-06-09 15:30:48 +03:00
Nikola Kovacs
9d327baa8b
coding style fixes
2016-05-26 11:19:32 +02:00
Carsten Brandt
e49bc29aa8
Update ActionFilter.php
2016-05-20 13:13:42 +02:00
Paul Klimov
7e7db38011
Fix #11591 ActionFilter wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
2016-05-20 11:04:17 +02:00
Evgeniy Tkachenko
d0a68883c7
phpDoc of $layout updated
2016-05-13 14:18:19 +03:00
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
2016-04-28 11:45:37 +02:00
Carsten Brandt
f2f082dbab
moved checks before random_bytes() to have consistent behavior accross php versions
2016-04-28 04:16:22 +02:00
Alexander Makarov
0c6c1eebd1
Better buffer usage description as suggested by @tom--
...
https://github.com/yiisoft/yii2/pull/11285#discussion_r59960199
2016-04-16 12:45:23 +03:00
Alexander Makarov
6a80a132e2
Converted constant into local variable #11285
2016-04-12 16:34:47 +03:00
Alexander Makarov
81b18e1538
Fixed variable name
2016-04-06 10:59:17 +03:00
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.
2016-04-06 03:35:52 +03:00
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.
2016-04-06 01:49:07 +03:00
Dmitry Naumenko
bfa7c7b13b
Merge pull request #11262 from hiqsol/phar-compatibility
...
Enable use of yii2 inside of PHAR packaged console applications
2016-04-04 13:33:12 +03:00
Andrii Vasyliev
e8d30f0c51
enable use of yii2 inside of phar packaged console applications
2016-04-04 10:32:50 +00:00
Joel Waldock
20de74d343
Fix spelling in Controller.php
2016-04-04 06:21:33 +02:00
Nikola Kovacs
ff37be0fb8
add doc summary for getUniqueID
...
This way it won't be empty in the table of methods.
2016-03-28 15:06:13 +02:00
Evgeniy Tkachenko
aa0bf9a3c7
phpDoc: Added null to Controller::$layout
2016-03-23 16:37:42 +03:00
mdmunir
67b5f4ea19
fix for unsafe validator
...
Closes #8145 #8139 #11153
2016-03-22 23:31:16 +02:00
Carsten Brandt
191f2a4943
fixed phpdoc type names
2016-02-25 20:24:32 +01:00
Alexander Makarov
1f7134634b
Use static:: instead of $this for static method calls
2016-02-16 14:06:23 +03:00
Carsten Brandt
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
Carsten Brandt
f620f4de90
phpdoc fixes
2016-02-07 19:48:13 +01:00
Carsten Brandt
e8d309dddb
documentation fixes for 2.0.7
2016-02-06 19:47:13 +01:00
Evgeniy Tkachenko
be4c9ae5b8
it added also to detachBehavior()
2016-01-20 10:44:14 +03:00
Evgeniy Tkachenko
187e44d3ba
Update phpDoc Component::getBehavior().
...
Added `@return null`
2016-01-20 10:37:48 +03:00
Tom Worster
40fc49bf16
remove obsolete @throw tags
2016-01-04 15:08:04 -05:00
Pavel
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
Tom Worster
ba19858e58
move private state var also
2015-12-20 21:28:03 -05:00
Tom Worster
83b61eae43
move "private" consts before generateRandomKey()
2015-12-20 21:25:33 -05:00
Tom Worster
358e9115ed
comment lstat
2015-12-20 21:21:34 -05:00
Tom Worster
e7a888ad11
use file_get_contents and not magic numbers
2015-12-20 11:48:36 -05:00
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()
2015-12-19 13:13:23 +03:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
artur
e1509bfe73
Fix methods references
2015-11-25 12:04:43 +02:00
SilverFire - Dmitry Naumenko
2d68840898
yii\base\Module::getLayoutPath() fixed code style
2015-11-21 19:33:16 +02:00
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.
2015-11-21 19:28:06 +02:00
SilverFire - Dmitry Naumenko
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
Alexander Makarov
1b3770fd21
Use === instead of == where possible
2015-10-10 01:04:35 +03:00
Alexander Makarov
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
jeicd
c2f83da8d8
Fix phpdoc
2015-10-05 15:00:13 +06:00
Nikola Kovacs
a7ef39ca6b
fix typo in documentation
2015-09-30 12:44:31 +02:00
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
2015-09-19 17:09:35 +02:00