Alexander Makarov
4e2045c040
release version 2.0.41
4 years ago
atiline
be6fa87642
Fix #18483 : Add `yii\log\Logger::$dbEventNames` that allows specifying event names used to get statistical results (profiling) of DB queries
4 years ago
Alexander Makarov
ccb14ff667
release version 2.0.39
4 years ago
Oleg Poludnenko
658c822f30
Fix #18120 : Include path to the log file into error message if `FileTarget::export` fails
4 years ago
Sergey
f69670fb65
Fix #17798 : Avoid creating folder for stream log targets in `FileTarget`
5 years ago
Somogyi Márton
48c08d093c
Fix #17749 : Dispatcher fix if target crashed in PHP 7.0+
5 years ago
Alexander Makarov
14a7198434
Fix #17485 : Revert "Fix #17469 : Fixed updating `Yii` logger instance when setting new logger via configuration"
...
This reverts commit 46136b09e7
.
5 years ago
Alexander Makarov
46136b09e7
Fix #17469 : Fixed updating `Yii` logger instance when setting new logger via configuration
5 years ago
Alexander Kartavenko
3275f97684
Fixes #16565 : Added missing parts of the context message in `\yii\log\Target::collect`
5 years ago
Alexander Makarov
ffe38a920f
release version 2.0.17
6 years ago
Pavel Dovlatov
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
6 years ago
Success Gao
b867cb7fd3
Fix comment space ( #17115 ) [skip ci]
6 years ago
Carsten Brandt
ed64d65886
release version 2.0.16
6 years ago
Robert Korulczyk
5349132043
Use `sprintf()` in `Target::getTime()` ( #16883 )
...
* Use `sprintf()` in `Target::getTime()`.
* Changelog line [skip ci].
6 years ago
SilverFire - Dmitry Naumenko
826a0fecdd
Fixed excess logging of sensitive information in `\yii\log\Target`
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Alexander Makarov
25e6cd45c5
Fixes #16752 : Fix rotating files under Windows
6 years ago
Vladimir Reznichenko
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Dmitry Alekseev
bf19882a23
is_dir check is removed
7 years ago
Dmitry Alekseev
484d2a63ec
is_dir check is removed
7 years ago
Dmitry Alekseev
1b14628dbf
Directory creation is moved to export() method
7 years ago
Bizley
8b74e29663
Fixes #14296 : Fixed log targets to throw exception in case log can not be properly exported
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
Alexander Makarov
6b0be47e0f
Fixes #14711 : Fixed `yii\web\ErrorHandler` displaying exception message in non-debug mode
7 years ago
Alexander Makarov
847e224d6f
Fixed #14612 : Added note about session's logVars [skip ci]
7 years ago
Elvira Sheina
9a16f8fecc
Fixes #8983 : Only truncate the original log file for rotation
7 years ago
Roman Ishchenko
b354b26d03
Fixes #15081 : Fixed "Undefined offset: 1" in log Target
7 years ago
Carsten Brandt
2745a16245
fix phpdoc in log\Target
7 years ago
Alexander Makarov
2d672b6722
release version 2.0.13
7 years ago
Alexander Makarov
fb23b0d0ea
Code style fixes
7 years ago
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
7 years ago
Pavel Chaplygin
d49ec7b8be
Fixes #14633 : Add miliseconds to log time in `\yii\log\Target`
7 years ago
Carsten Brandt
9d854c0f25
improved docs for #14273
7 years ago
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
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Alexander Makarov
d1d60e2d19
Fixes #14341 : Fixed regression in error handling introduced by fixing #14264
7 years ago
Robert Korulczyk
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
7 years ago
Bizley
deea1829db
Fixes #14264 : Fixed a bug where `yii\log\Logger::calculateTimings()` was not accepting messages with array tokens
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Bizley
ddee256a1a
Fixes #14133 : Fixed bug when calculating timings with mixed nested profile begin and end in `yii\log\Logger::calculateTimings()`
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Andrey Akimov
5695b869a9
Fixes #13890 : DbTarget log transaction bug
7 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Alexander Makarov
cc37cd626f
Fixes #12599 : Fixed MSSQL fail to work with `nvarbinary`. Enhanced SQL scripts compatibility with older versions
8 years ago
Sergei Malmygin
3ea671454c
Fixes #12133 : Fixed `getDbTargets()` function in `yii\log\migrations\m141106_185632_log_init` that would create a log table correctly
8 years ago
bashkarev
338e5967cb
Added Logging of memory usage
...
calculateTimings added options: `memory`, `memoryDiff` memory_get_usage only the used memory is reported.
close #13268
8 years ago
Tim Beks
f23dc5aee9
Add attribute to set the openlog $option attribute for SyslogTarget
...
Fixes issue #13074
close #13075
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago