Nalaka Samarasinghe
e3d19a183b
style: Update Cache to fix some formatting ( #9438 )
2025-01-30 18:17:45 +08:00
neznaika0
17d6adeee4
refactor: Remove deprecation related to cookies ( #9406 )
...
* refactor: Remove deprecated `Config\Security::$samesite`
* refactor: Remove deprecated methods in `CookieStore`
* docs: Update changelog
* refactor: Update phpstan baseline
* docs: Update userguide
* refactor: Remove deprecated `Cookie::withNeverExpiring()`
* docs: Update changelog, userguide
2025-01-14 13:50:28 +08:00
neznaika0
35321ac6c2
refactor: Remove deprecated Config\Format::getFormatter()
( #9405 )
...
* refactor: Remove deprecated `Config\Format::getFormatter()`
* docs: Update changelog
2025-01-13 14:59:49 +08:00
neznaika0
c6bb6e9552
refactor: Remove deprecated Cache::$storePath
2025-01-13 07:54:39 +03:00
neznaika0
4c16324780
refactor: Remove deprecated EVENT_PRIORITY_*
( #9401 )
...
* refactor: Remove deprecated `EVENT_PRIORITY_*`
* docs: Update changelog, userguide
2025-01-13 11:34:13 +08:00
neznaika0
cc96fe3639
feat: Strict locale negotiation ( #9360 )
...
* feat: Add parameter for locale comparison
* feat: Update language negotiator
* tests: Update `NegotiateTest`
* docs: Update userguide
* fix: Rename feature option
* feat: Add `getBestLocaleMatch()`
* tests: Update `Negotiate` tests
* docs: Update docs
* fix: Rename feature option to back
* docs: Update the description for Negotiation
* fix: Update with the renamed option
* fix: Delete checking *.*
* fix: Move code to file
2025-01-05 12:40:35 +08:00
John Paul E. Balandan, CPA
eec3739823
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-12-31 20:22:12 +08:00
Abdul Malik Ikhsan
47d69b6080
refactor: update var_export() return
2024-12-29 01:15:51 +07:00
John Paul E. Balandan, CPA
c7548a3771
Merge branch 'develop' into 4.6
2024-12-29 00:21:53 +08:00
Abdul Malik Ikhsan
a2ec5054d7
refactor: enable AddArrowFunctionReturnTypeRector
2024-12-28 23:00:15 +07:00
Abdul Malik Ikhsan
ee4ee987b1
refactor: enable instanceof and strictBooleans rector set ( #9339 )
...
* refactor: enable instanceof and strictBooleans rector set
* refactor: bump to rector 2.0.4
* refactor: clean condition check
* refactor: revert ThirdParty change
* refactor: re-run phpstan baseline
* refactor: fix never empty array on Image
* refactor: avoid repetitive call pg_last_error()
* refactor: pg_last_error() always returns string
* refactor: use return empty string on pg_last_error() got empty "0"
* refactor: various compare !== 1 on preg_match()
* refactor: use falsy check on getenv()
* refactor: more !== 1 compare on preg_match()
* refactor: use empty string check on guessExtension
* refactor: run cs fix
* refactor: more !== 1 compare on preg_match()
* use direct result of pg_last_error()
* refactor: use str_contains() over strpos on Forge
* refactor: fix unused variable
* refactor: check empty string on ResponseTrait
* refactor: more preg_match() and empty string only check
* refactor: compare to 0 on preg_match_all()
* refactor: re-run rector
* refactor: preg_match_all() likely less to return false
2024-12-28 23:16:32 +08:00
Michal Sniatala
35c578496b
feat: add SQLite3 config synchronous ( #9202 )
...
* feat: add SQLite3 config synchronous
* add synchronous value validation
* Update system/Database/SQLite3/Connection.php
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
* add type for the synchronous property
* use InvalidArgumentException from the CodeIgniter namespace
* fix rector
---------
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
2024-12-02 07:28:31 +01:00
Denny Septian Panggabean
c46cea4ee0
chore: update Kint
to v6.0 ( #9289 )
...
* feat: update kint to v6.0
* fix: run cs
2024-12-02 07:17:23 +01:00
michalsn
c32dcd4329
Merge remote-tracking branch 'upstream/develop' into 4.6
...
# Conflicts:
# system/Autoloader/Autoloader.php
# system/BaseModel.php
# system/CLI/CLI.php
# system/Database/MigrationRunner.php
# system/Exceptions/PageNotFoundException.php
# system/Router/RouteCollection.php
# system/Validation/FileRules.php
# tests/system/Autoloader/AutoloaderTest.php
# tests/system/Filters/FiltersTest.php
# tests/system/Test/ControllerTestTraitTest.php
# tests/system/Test/FeatureTestTraitTest.php
# tests/system/Validation/CreditCardRulesTest.php
# tests/system/Validation/FileRulesTest.php
# tests/system/Validation/StrictRules/DatabaseRelatedRulesTest.php
# tests/system/Validation/StrictRules/FileRulesTest.php
# tests/system/View/ViewTest.php
2024-11-17 12:21:31 +01:00
neznaika0
ea3894755d
fix: Update the typing
2024-11-09 08:44:47 +03:00
neznaika0
583e7b61da
refactor: up performance service()
2024-11-09 08:44:46 +03:00
Denny Septian Panggabean
8ee36a541d
refactor: set position fixed
2024-10-28 12:14:30 +07:00
Denny Septian Panggabean
8ab8332fb4
feat: design info environment top in error_exception
2024-10-28 12:01:51 +07:00
kenjis
7b235d07c4
feat: add page for 400 request
2024-07-11 10:29:21 +09:00
kenjis
dc9adb1334
Merge remote-tracking branch 'upstream/develop' into 4.6
...
Conflicts:
system/Filters/Filters.php
2024-06-30 11:36:56 +09:00
Abdul Malik Ikhsan
9e4777a0c8
refactor: enable AddClosureVoidReturnTypeWhereNoReturnRector to add void return on closure
2024-06-27 22:19:28 +07:00
kenjis
4722157f9f
Merge pull request #8981 from kenjis/change-auto-routing-improved-config
...
config: change default config for Auto Routing Improved
2024-06-26 08:08:02 +09:00
kenjis
ab49378eb7
config: change default config for Auto Routing Improved
...
Feature::$autoRoutesImproved -> true
Routing::$translateUriToCamelCase -> true
2024-06-24 18:34:45 +09:00
ducng99
48875f5ba1
feat: add foundRows
config for MySQLi
2024-06-21 00:05:21 +12:00
kenjis
798d055404
style: remove unneeded x permissions
2024-05-28 21:37:32 +09:00
kenjis
7485e25ec1
docs: update comment
2024-05-08 14:33:00 +09:00
kenjis
b3d844ecc4
style: add space after !
2024-04-06 09:24:47 +09:00
kenjis
93bb672ab4
docs: restore comments that are deleted by rector
2024-04-06 09:24:47 +09:00
kenjis
e25bc7e7a7
refactor: run rector
2024-04-06 09:24:47 +09:00
kenjis
e78c92994f
Merge remote-tracking branch 'upstream/develop' into 4.5
2024-04-05 16:59:18 +09:00
kenjis
f1d6b1be35
style: fix indentations
...
For consistency.
2024-04-04 10:11:00 +09:00
kenjis
9e07476f97
docs: add sample db config as comments
2024-04-01 09:28:17 +09:00
kenjis
03b406b5d7
docs: remove line breaks
2024-04-01 09:23:43 +09:00
kenjis
0bab68b48a
Merge pull request #8673 from kenjis/config-Security-redirect
...
feat: environment-specific Config\Security::$redirect
2024-03-31 08:54:48 +09:00
kenjis
62bcfa80b3
Merge pull request #8649 from kenjis/feat-cors
...
feat: add CORS filter
2024-03-31 08:52:10 +09:00
kenjis
96ce795691
Merge remote-tracking branch 'origin/develop' into 4.5
...
Conflicts:
system/CodeIgniter.php
system/Filters/Filters.php
system/Language/Language.php
system/Router/Router.php
2024-03-29 13:56:45 +09:00
kenjis
4d6b45b769
fix: add missing URI Security and Conig\App::$permittedURIChars
2024-03-29 11:16:40 +09:00
kenjis
00896cf231
feat: environment-specific Config\Security::$redirect
2024-03-29 10:46:50 +09:00
kenjis
681c41efa8
feat: support multiple configurations
2024-03-27 19:20:40 +09:00
kenjis
d42c786997
feat: make $allowedOriginsPatterns more secure
...
Also, this is easier to read.
2024-03-27 19:20:37 +09:00
kenjis
31de58efd2
feat: add Cors filter
2024-03-27 19:20:37 +09:00
kenjis
fd25f15255
feat: add HTTP\Cors class
2024-03-27 19:20:36 +09:00
kenjis
8f46563848
feat: add Config\Optimize::$locatorCacheEnabled
2024-03-27 06:20:26 +09:00
kenjis
fef194b399
perf: add config Optimize and move $configCacheEnabled
...
The Cache Config class that extends BaseConfig is very slow to instantiate..
See https://github.com/codeigniter4/CodeIgniter4/pull/8558#discussion_r1506813270
2024-03-27 06:20:26 +09:00
kenjis
e32b962bf8
config: move $cacheQueryString down
...
This setting is for Web Page Caching, not for Cache service.
2024-03-27 06:20:25 +09:00
kenjis
c1ca7b7206
feat: add config Cache::$configCacheEnabled
...
and move code from index.php to Boot class.
2024-03-27 06:20:24 +09:00
kenjis
879479c3b5
Merge pull request #8578 from kenjis/improve-redis-session
...
feat: improve Redis Session
2024-03-26 08:18:21 +09:00
kenjis
fb4a1f5f30
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
phpstan-baseline.php
2024-03-25 07:52:41 +09:00
kenjis
02b0ac8d82
docs: remove redundant comments
2024-03-21 18:02:40 +09:00
kenjis
8aa7a0a3d5
docs: replace string with class-string
2024-03-21 18:00:54 +09:00