7473c422ee
Fixes #15318 : Fixed "session_name(): Cannot change session name when session is active" errors
2018-02-24 01:03:27 +03:00
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
25f8b263e5
Fixes #14811 : Fixed yii\filters\HttpCache
to work with PHP 7.2
2018-02-11 12:08:01 +03:00
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()`
2018-02-11 01:48:29 +03:00
73fe41ee9f
Removed redundant condition
2018-02-10 12:40:50 +03:00
d86db78276
Extra checks
2018-02-10 01:39:17 +03:00
7924a22490
Remove extra condition
2018-02-10 01:07:20 +03:00
07e623e415
Don't use open() method because it registers handlers
2018-02-10 00:42:17 +03:00
a23a325ca7
Fixes #15627 : Corrected session freezing/unfreezing not to attempt opening or closing connection if it isn't necessary
2018-02-10 00:06:10 +03:00
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>
2018-02-08 20:11:45 +03:00
5a8c3d537b
Enable phpdoc_summary
rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
fe8a0a6a2e
Enable no_useless_else
rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
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.
2017-06-12 12:25:45 +03:00
4b9e48b8dc
improved docs: link term "path alias" to the guide
2017-06-02 10:45:20 +02:00
4af62a6bd7
improve session PHPdoc
2017-04-25 23:02:19 +02:00
ab36cb29e1
Updated PHPDocs: marked session-handling methods as internal
2017-02-20 22:13:12 +02:00
c19b2f7dc8
release version 2.0.11
2017-02-01 17:46:29 +01:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
22a224d232
Usage of extract()
at Session::setCookieParamsInternal()
removed
2016-09-07 11:42:33 +03:00
eb02b362be
Revert "Replaced extract()
function usages with custom polyfill in order to fix HHVM compatibility"
...
This reverts commit f7bd7c2b6b1b9941e3c50d99e4f07ff17d513cca.
2016-09-07 11:33:57 +03:00
f7bd7c2b6b
Replaced extract()
function usages with custom polyfill in order to fix HHVM compatibility
2016-09-06 22:50:00 +03:00
0ae73251ee
Fixed tests
2016-08-09 02:31:08 +03:00
457abe8939
Fixes #12085 : Fixed session destruction sequence
2016-08-09 01:49:23 +03:00
ce65e23851
#10583 check for sent content before attempting to regenerate headers in debug mode
2016-07-30 01:18:52 +03:00
b2fbbdf5d7
Reverted non-suppression of session_start since it seems it's not possible to achieve same behavior w/o it #10583
2016-07-30 01:09:39 +03:00
25e0a879d6
Added output check for session handler #10583
2016-07-30 00:57:49 +03:00
0061692e60
Replaced unnecessary double quotes with single quotes
2016-07-29 22:56:38 +03:00
7c6f76cb1a
Fixes #10583 : Do not silence session errors in debug mode
2016-07-29 22:44:04 +03:00
217d50e4ff
improved PHPdoc and @since
annotations
2016-07-11 12:58:43 +02:00
fc987f48de
Fixes #11459 : Fixed flash messages not destroyed when session.auto_start = 1
set in php.ini
2016-04-30 19:17:31 +03:00
ab25b8a358
10218 - Fix for session regenerate id issue that occured after user logged out #10218
2016-01-19 13:02:43 +03:00
c39c0b3ddd
returned shutdown handler to it's original place
2015-12-18 17:28:58 +05:00
84702f1e6f
1. Added init() warning to session component
...
2. register_shutdown_function() for Session::close now only calls after successful session open
2015-12-15 12:12:27 +05:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
6d9fe671de
various code style and whitespace adjustments
2015-08-02 00:27:19 +02:00
0c5e4b7105
PSR-2 foreach statement
2015-06-08 23:21:21 +03:00
f68e970de2
link to PHP classes just as we do with normal classes
...
apidoc can handle this!
2015-06-05 21:53:24 +02:00
8e33fbfbff
Fixes #7636 : yii\web\Session::getHasSessionId()
uses a more lenient way to check if session ID is provided in URL
2015-03-26 22:57:27 -04:00
6481d13494
Optimized checks order in conditions
2015-02-08 17:56:36 +03:00
ab9afd74df
phpdoc improvements
2014-10-23 00:25:41 +02:00
ae8d978270
2.0.0 release.
2014-10-12 13:09:06 -04:00
42609dbed5
Fixes #5314 : Fixed typo in the implementation of yii\web\Session::getHasSessionId()
2014-10-02 12:53:04 -04:00
f41abf9105
Update documentation to mention addFlash
2014-09-30 09:51:17 +02:00
1cfa5bc9ee
Fixes #4740 : Added yii\web\Session::addFlash()
2014-08-18 14:20:09 -04:00
f1aeac5dc2
addFlash method was implemented
2014-08-18 14:14:24 -04:00
3d2cac534c
Multiple flash messages per type support
2014-08-18 14:14:23 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
7b1cef269d
Fixes #3996 : Traversing Yii::$app->session
may cause a PHP error
2014-06-21 13:32:40 -04:00
209dd7e600
Fixes #3956 : Flash messages set via Yii::$app->session->setFlash()
will be removed only if they are accessed
2014-06-19 21:36:48 -04:00