bscheshirwork
7473c422ee
Fixes #15318 : Fixed "session_name(): Cannot change session name when session is active" errors
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Alexander Makarov
25f8b263e5
Fixes #14811 : Fixed `yii\filters\HttpCache` to work with PHP 7.2
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Alexander Makarov
73fe41ee9f
Removed redundant condition
7 years ago
Alexander Makarov
d86db78276
Extra checks
7 years ago
Alexander Makarov
7924a22490
Remove extra condition
7 years ago
Alexander Makarov
07e623e415
Don't use open() method because it registers handlers
7 years ago
Alexander Makarov
a23a325ca7
Fixes #15627 : Corrected session freezing/unfreezing not to attempt opening or closing connection if it isn't necessary
7 years ago
Alexander
24f4e3126a
Bug #15523 : `yii\web\Session` settings could now be configured after session is started (StalkAlex, rob006, daniel1302, samdark)
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
Co-authored-by: daniel.1302 <daniel.1302@gmail.com>
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
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
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
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Carsten Brandt
4af62a6bd7
improve session PHPdoc
8 years ago
SilverFire - Dmitry Naumenko
ab36cb29e1
Updated PHPDocs: marked session-handling methods as internal
8 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
8 years ago
Klimov Paul
22a224d232
Usage of `extract()` at `Session::setCookieParamsInternal()` removed
8 years ago
SilverFire - Dmitry Naumenko
eb02b362be
Revert "Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility"
...
This reverts commit f7bd7c2b6b
.
8 years ago
SilverFire - Dmitry Naumenko
f7bd7c2b6b
Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility
8 years ago
Alexander Makarov
0ae73251ee
Fixed tests
8 years ago
Alexander Makarov
457abe8939
Fixes #12085 : Fixed session destruction sequence
8 years ago
Alexander Makarov
ce65e23851
#10583 check for sent content before attempting to regenerate headers in debug mode
8 years ago
Alexander Makarov
b2fbbdf5d7
Reverted non-suppression of session_start since it seems it's not possible to achieve same behavior w/o it #10583
8 years ago
Alexander Makarov
25e0a879d6
Added output check for session handler #10583
8 years ago
Alexander Makarov
0061692e60
Replaced unnecessary double quotes with single quotes
8 years ago
Alexander Makarov
7c6f76cb1a
Fixes #10583 : Do not silence session errors in debug mode
8 years ago
Carsten Brandt
217d50e4ff
improved PHPdoc and `@since` annotations
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
cartmanchen
fc987f48de
Fixes #11459 : Fixed flash messages not destroyed when `session.auto_start = 1` set in php.ini
9 years ago
Andrew Nester
ab25b8a358
10218 - Fix for session regenerate id issue that occured after user logged out #10218
9 years ago
AnatolyRugalev
c39c0b3ddd
returned shutdown handler to it's original place
9 years ago
AnatolyRugalev
84702f1e6f
1. Added init() warning to session component
...
2. register_shutdown_function() for Session::close now only calls after successful session open
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
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
Qiang Xue
8e33fbfbff
Fixes #7636 : `yii\web\Session::getHasSessionId()` uses a more lenient way to check if session ID is provided in URL
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Carsten Brandt
ab9afd74df
phpdoc improvements
10 years ago
Qiang Xue
ae8d978270
2.0.0 release.
10 years ago
Qiang Xue
42609dbed5
Fixes #5314 : Fixed typo in the implementation of `yii\web\Session::getHasSessionId()`
10 years ago
nkovacs
f41abf9105
Update documentation to mention addFlash
10 years ago
Qiang Xue
1cfa5bc9ee
Fixes #4740 : Added `yii\web\Session::addFlash()`
10 years ago
restyler
f1aeac5dc2
addFlash method was implemented
10 years ago
restyler
3d2cac534c
Multiple flash messages per type support
10 years ago