Alexander Makarov
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
Razvan Grigore
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
Bizley
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
Brandon Kelly
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
Игорь Тарасов
330166e703
fix Exception\Throwable order
2021-06-13 18:07:43 +05:00
蛋蛋
d5a428e001
Fix some code smells ( #18696 )
2021-06-05 13:37:45 +03:00
Alexander Makarov
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
Alexander Makarov
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
Alexander Kartavenko
3275f97684
Fixes #16565 : Added missing parts of the context message in \yii\log\Target::collect
2019-06-13 16:37:46 +03:00
Alexander Makarov
ffe38a920f
release version 2.0.17
2019-03-23 00:26:26 +03:00
Success Gao
b867cb7fd3
Fix comment space ( #17115 ) [skip ci]
2019-02-08 12:47:39 +03:00
Carsten Brandt
ed64d65886
release version 2.0.16
2019-01-31 00:54:16 +01:00
SilverFire - Dmitry Naumenko
e4eaccc14d
Merge branch 'security'
2019-01-28 22:50:38 +02:00
Robert Korulczyk
5349132043
Use sprintf() in Target::getTime() ( #16883 )
...
* Use `sprintf()` in `Target::getTime()`.
* Changelog line [skip ci].
2018-11-28 08:22:04 +01:00
SilverFire - Dmitry Naumenko
826a0fecdd
Fixed excess logging of sensitive information in \yii\log\Target
2018-11-23 12:55:16 +02:00
Alexander Makarov
847e224d6f
Fixed #14612 : Added note about session's logVars [skip ci]
2018-01-21 22:47:44 +03:00
Roman Ishchenko
b354b26d03
Fixes #15081 : Fixed "Undefined offset: 1" in log Target
2017-11-03 21:51:49 +03:00
Carsten Brandt
2745a16245
fix phpdoc in log\Target
2017-11-03 01:11:09 +01:00
Alexander Makarov
2d672b6722
release version 2.0.13
2017-11-03 01:09:29 +03:00
Alexander Makarov
fb23b0d0ea
Code style fixes
2017-11-01 02:43:02 +03:00
Carsten Brandt
93bbf5b39d
Fixes #15015 : Added StringHelper::floatToString() to savely cast float values independent of the locale, also fixes some places in the framework that use it now
2017-10-27 11:41:45 +03:00
Pavel Chaplygin
d49ec7b8be
Fixes #14633 : Add miliseconds to log time in \yii\log\Target
2017-10-18 17:53:10 +03:00
Carsten Brandt
9d854c0f25
improved docs for #14273
2017-09-06 09:32:50 +02:00
Dmitry Dorogin
9b01ca275f
Fixes #14273 : yii\log\Target::$enabled now supports callable value ( #14539 )
...
* Fixes #14273 : yii\log\Target:: now supports callable value
* added empty line in changelog [skip ci]
* getter and setter
* Update Target.php
2017-09-01 23:49:53 +02:00
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
Dmitriy Makarov
2d9b659777
Fixes #12296 : Added value validation to yii\log\Target::setLevels()
2016-08-25 20:47:03 +03:00
Carsten Brandt
217d50e4ff
improved PHPdoc and @since annotations
2016-07-11 12:58:43 +02:00
Alexander Makarov
4fd4ac04b1
Minor adjustments for #11462
2016-07-03 02:05:13 +03:00
Viktor Pikaev
30bb9bd7c8
Fixes #11462 : Added support of filtering rules to yii\log\Target::$logVar, added \yii\helpers\BaseArrayHelper::filter() method
2016-07-03 01:56:05 +03:00
zuozp8
95a7631e4f
fixes #11333 avoid serializing php7 errors ( #11335 )
...
fixes #11333
2016-04-13 05:52:48 +02:00
Alexander Makarov
1f7134634b
Use static:: instead of $this for static method calls
2016-02-16 14:06:23 +03:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Sebastian Chojniak
6ee285f321
unused imports removed
2015-07-09 22:20:11 +02:00
Alexander Mohorev
0c5e4b7105
PSR-2 foreach statement
2015-06-08 23:21:21 +03:00
Carsten Brandt
dd1995551c
convert exceptions to string before saving log messages
...
fixes #7305
2015-05-15 18:49:38 +02:00
Alexander Makarov
6481d13494
Optimized checks order in conditions
2015-02-08 17:56:36 +03:00
Tobias Munk
b33824044f
added check for undefined application to log Target
...
allows using logger without a Yii application now.
close #6739
2015-01-07 23:15:38 +01:00
Qiang Xue
f1812210a8
Fixes #5768 : When setting data-confirm attribute to a submit button, clicking on the button would not trigger form submission
2014-11-07 10:29:04 -05:00
Qiang Xue
8923d20a3f
Fixes #5619 : yii\log\Target should not attempt to start session when there is none
2014-11-07 09:53:45 -05:00
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
2014-10-11 09:35:55 -04:00
Alexander Makarov
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
2014-07-30 02:15:08 +04:00
Carsten Brandt
31a56b59b0
Avoid endless loop when exporting logs
...
fixes #4470
2014-07-27 22:11:57 +02:00
Carsten Brandt
c0a15ded02
added trace level to log message formatting
...
fixes #4123
2014-07-02 18:46:07 +02:00
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
Carsten Brandt
886def8571
removed unused argument
2014-06-09 15:51:50 +02:00
Carsten Brandt
efbd23b52e
refactored logger to support array values out of the box.
...
fixes #3245 , #3244
2014-06-09 14:58:36 +02:00
Alexander Makarov
4e5079abd8
Fix #3327 : "Unable to find debug data" when logging objects with circular references
2014-05-04 20:02:06 +04:00
Qiang Xue
3616d1f0d1
Fixes #2816 : Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s
2014-04-05 18:15:06 -04:00