52 Commits

Author SHA1 Message Date
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
71e810c89d Fix #19130: Fix DbSession breaks in some case 2022-02-08 16:45:42 +03:00
0041f034fd [doc] Update PHP doc links (#18957)
* Replace https://secure.php.net with https://www.php.net

* Replace http://www.php.net with https://www.php.net
2021-10-19 14:50:26 +02:00
74d1842dee Use the correct db if strict mode is used in DbSession fixes #18574 2021-03-18 15:39:57 +01:00
ce088e05df Fix #18247: Added support for the 'session.use_strict_mode' ini directive in yii\web\Session 2020-10-31 11:58:34 +03:00
f34d160179 Remove unused use 2020-08-05 09:23:12 +03:00
eb956e9c6b primary/replica in a definitely non-breaking way (#18106) 2020-06-16 11:33:27 +03:00
472600ee3f Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 2020-06-14 00:12:10 +03:00
9a3093442c Use inheritDoc to replace outdated docblock (#18100) 2020-06-13 12:50:34 +03:00
ffe38a920f release version 2.0.17 2019-03-23 00:26:26 +03:00
8bb334b9ae Fixes #9438, #13740, #15037: Handle DB session callback custom fields before session closed 2019-03-09 15:54:39 +03:00
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?
2019-02-28 13:09:27 +03:00
659b3d4b77 Fixing DB session override problems
See #16959
2019-01-15 12:42:13 +02:00
47e43a1b63 Try reverting init() 2018-02-10 11:50:14 +03:00
64d57043b1 Fixes #11401: Fixed yii\web\DbSession concurrency issues when writing and regenerating IDs 2018-02-09 03:13:50 +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
d16586334d Fixes #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL 2018-02-05 04:59:14 +07:00
2faf771118 Fixes #13436: Fixed migration for MSSQL DbSession 2017-10-31 12:50:37 +03:00
66723d0e74 Fixes #9438: yii\web\DbSession now relies on error handler to display errors 2017-10-06 22:22:59 +02:00
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +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
ab36cb29e1 Updated PHPDocs: marked session-handling methods as internal 2017-02-20 22:13:12 +02:00
21faee5504 Fixes #13212: Fixed DbSession::regenerateID() failure when session_regenerate_id() fails 2017-01-22 20:15:36 +03:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
8d5daef88e more direct link in DbSession comment 2016-10-13 12:28:52 +02:00
fa845ee481 Fixes #11726: DbSession was echoing database errors in production mode 2016-07-26 15:36:08 +03:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
1e1baec6e6 Reverted c478199 2016-02-25 12:14:22 +02:00
992bc264b6 Fixed PHPDoc 2016-02-25 00:20:55 +02:00
c478199937 Added property yii\web\DbSession::encodeData to encode/decode session data in base64 on session read/write
Closes #6173
2016-02-25 00:17:26 +02:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
8260cfa4ea Compare with null instead of isset 2015-10-10 01:12:59 +03:00
4283f29a5a yii\web\MultiFieldSession created 2015-06-08 17:25:24 +03:00
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00
22dac1af62 wording fix [skip ci] 2014-10-07 10:50:39 -04:00
df82aabe7b Fixes #5395: added note about session table id column length 2014-10-07 12:18:02 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
05afeb4831 Merge branch 'master' 2014-03-31 01:06:09 +04:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
01ae015088 Fixes issue #180: DbSession crashes with autoStart 2013-05-08 06:58:34 -04:00
597082a11a Automatic table and column name quoting. 2013-03-30 18:28:54 -04:00
e1acc64b2b refactoring cache and db references. 2013-03-27 17:09:18 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00