150 Commits

Author SHA1 Message Date
kenjis
15ad0a3983
Merge remote-tracking branch 'upstream/develop' into 4.5 2024-03-05 16:09:50 +09:00
kenjis
29717da4f6
docs: add @internal 2024-02-26 13:46:23 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
kenjis
71e4831c01
docs: add @deprecated to unused param 2023-11-03 17:03:49 +09:00
kenjis
4f9fe45dcf
refactor!: remove deprecated properties in Response 2023-11-03 16:51:27 +09:00
kenjis
6329255a8b
docs: add "see test" annotations 2023-09-08 17:35:23 +09:00
kenjis
02bc22c0a3
Merge remote-tracking branch 'upstream/develop' into 4.4
Conflicts:
	system/Commands/Generators/MigrationGenerator.php
	system/Commands/Utilities/Routes.php
	system/Config/Services.php
	system/HTTP/Response.php
	system/Helpers/cookie_helper.php
	system/Security/Security.php
	system/Session/Handlers/BaseHandler.php
	system/Session/Handlers/DatabaseHandler.php
	system/Session/Handlers/MemcachedHandler.php
	system/Session/Handlers/RedisHandler.php
	system/Session/Session.php
	system/Test/CIUnitTestCase.php
	system/Test/FeatureTestCase.php
	user_guide_src/source/database/configuration.rst
2023-06-26 10:04:55 +09:00
kenjis
3bdb53f374
refactor: use ::class to config() param 2023-06-24 09:20:24 +09:00
kenjis
e954b72926
refactor: add @var to specify type 2023-02-05 13:31:53 +09:00
kenjis
967f1d80e2
refactor: remove Cookie config items in Config\App 2023-02-05 13:31:53 +09:00
MGatner
7cee85fab5
Fix HTTP interface inheritance 2022-10-15 14:34:31 +00:00
kenjis
4cff965ffb
docs: add @testTag
See https://github.com/DaveLiddament/php-language-extensions#testtag
2022-09-23 08:31:31 +09:00
kenjis
331f76f21a
docs: add empty line 2022-09-23 08:31:31 +09:00
John Paul E. Balandan, CPA
4369d209b7
Configure groups option of phpdoc_separation 2022-09-03 20:21:49 +08:00
kenjis
b694c6e266
docs: replace getServer with server
See f524c25cb0
2022-06-17 19:50:04 +09:00
kenjis
c4aaa4f4b0
refactor: rename from contentsecuritypolicy() to csp() 2022-01-12 09:15:52 +09:00
kenjis
9ece590bd3
refactor: use Services::contentsecuritypolicy() 2022-01-12 09:15:52 +09:00
kenjis
f43a6b41a8
refactor: move $CSPEnabled from Response to ContentSecurityPolicy
ContentSecurityPolicy will be needed out of Response.
2022-01-12 09:15:49 +09:00
Abdul Malik Ikhsan
af7fb3f9a5
[Rector] Apply PHP 7.4 Requirement and syntax 2022-01-10 02:02:27 +00:00
Abdul Malik Ikhsan
4876b4855e
[HTTP] Update Http Status Description based on latest iana.org 2021-10-24 15:58:34 +07:00
John Paul E. Balandan, CPA
b7ec33cd56
Remove superfluous phpdoc tags (#4941) 2021-07-24 19:30:51 +08:00
John Paul E. Balandan, CPA
0ee2b2f922
Add file-level headers 2021-07-19 23:04:56 +08:00
John Paul E. Balandan, CPA
a6cfb8c1e6
Remove useless code separator comments (#4946) 2021-07-19 21:08:51 +08:00
John Paul E. Balandan, CPA
7a38ce6980
Remove unneeded and aliased phpdocs 2021-06-11 23:23:14 +08:00
John Paul E. Balandan, CPA
4129b40cb6
Use short forms of param and return types 2021-06-08 11:46:56 +08:00
John Paul E. Balandan, CPA
d030096732
Enable braces 2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08:00
John Paul E. Balandan, CPA
8a1f8be9f1
Add fallback for Config\Cookie (#4625) 2021-05-01 19:48:43 +08:00
Abdul Malik Ikhsan
a4b95a9c52
[Test] Use @codeCoverageIgnore for deprecated class/method 2021-04-29 18:46:24 +07:00
Mostafa Khudair
e8efe58e83
Rename namespace of CookieException (#4544) 2021-04-11 01:48:09 +08:00
Mostafa Khudair
4841326693
Create Config\Cookie for Cookie class (#4508) 2021-04-10 23:25:16 +08:00
mostafakhudair
b52e2781f3 Relocate Cookie 2021-03-29 20:33:09 +02:00
kenjis
31ccc2f3ba
fix: for CodeIgniter\HTTP\ResponseCookieTest::testCookieBlankSetSameSite
1) CodeIgniter\HTTP\ResponseCookieTest::testCookieBlankSetSameSite
CodeIgniter\HTTP\Exceptions\CookieException: The SameSite value must be None, Lax, Strict or a blank string,  given.
2021-03-01 11:15:18 +09:00
kenjis
6bb82584cb
fix: Undefined property
Notice: Undefined property: Config\App::$cookieSameSite
2021-03-01 09:43:06 +09:00
John Paul E. Balandan, CPA
6367766ea5
Implement code review 2021-02-13 00:20:36 +08:00
John Paul E. Balandan, CPA
63d9889616
Add Cookie to HTTP component 2021-02-12 23:43:24 +08:00
MGatner
5b32d54007
Split out Response with trait 2020-12-01 19:32:52 +00:00
MGatner
e51cb50a7d
Make room for PSR interface extension 2020-12-01 17:54:10 +00:00
John Paul E. Balandan, CPA
32978d2598
Fix whitespaces for system/ 2020-11-19 01:25:50 +08:00
John Paul E. Balandan, CPA
81888e2545
Remove package tag 2020-10-28 19:28:07 +08:00
Abdul Malik Ikhsan
1bee972205
Merge pull request #3801 from paulbalandan/file-level-docblocks
Enforce consistent file-level docblock across all system files
2020-10-28 04:13:10 +07:00
John Paul E. Balandan, CPA
1c6ac0aded
Import native classes 2020-10-25 22:29:42 +08:00
John Paul E. Balandan, CPA
c3dcd05e35
Use short notices for header docblock 2020-10-25 21:38:43 +08:00
Abdul Malik Ikhsan
b8ad7782ab
apply rector: set auto import FQCN 2020-10-11 13:22:34 +07:00
John Paul E. Balandan, CPA
e9afd76ee0 Refactor Format class 2020-08-29 21:37:15 +08:00
Abdul Malik Ikhsan
c39046d4b5
Fix phpstan error notice after update to v0.12.40 2020-08-27 16:44:59 +07:00
Mattias Sandström
17f9b84260
Add support for SameSite cookies (#3447)
Add support for SameSite cookies #3442
2020-08-24 19:48:49 +02:00
Abdul Malik Ikhsan
7f09840cf4
cs fix 2020-08-19 10:41:08 +07:00
Abdul Malik Ikhsan
50f5548fe5
Apply phpstan level 2 2020-08-19 10:41:07 +07:00
michalsn
bc125f5944
Fix deleteCookie() when prefix is defined. Fixes #3433 2020-08-01 12:27:43 +02:00