Michal Sniatala
c430f34720
fix: set headers for CORS ( #9437 )
...
PHPUnit / DatabaseLive (MySQLi, 5.7, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.4) (push) Has been cancelled
PHPUnit / SeparateProcess (8.1) (push) Has been cancelled
PHPUnit / SeparateProcess (8.2) (push) Has been cancelled
PHPUnit / SeparateProcess (8.3) (push) Has been cancelled
PHPUnit / SeparateProcess (8.4) (push) Has been cancelled
PHPUnit / CacheLive (8.1) (push) Has been cancelled
PHPUnit / CacheLive (8.2) (push) Has been cancelled
PHPUnit / CacheLive (8.3) (push) Has been cancelled
PHPUnit / CacheLive (8.4) (push) Has been cancelled
PHPUnit / Upload coverage results to Coveralls (push) Has been cancelled
* fix: set everything in the before filter for CORS
* fix append vary header
* cors: apply response headers in the after filter only if they are not already set
* cs fix
2025-02-08 19:43:28 +01:00
John Paul E. Balandan, CPA
b5e9715518
refactor: fix rector change on RedirectException ( #9433 )
2025-01-25 00:43:15 +08:00
Thomas Nguyen
909e9b0a1a
fix(CURLRequest): multiple header sections after redirects ( #9426 )
...
PHPUnit / DatabaseLive (MySQLi, 5.7, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (MySQLi, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (OCI8, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (Postgre, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLSRV, 8.0, 8.4) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.1) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.2) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.3) (push) Has been cancelled
PHPUnit / DatabaseLive (SQLite3, 8.0, 8.4) (push) Has been cancelled
PHPUnit / SeparateProcess (8.1) (push) Has been cancelled
PHPUnit / SeparateProcess (8.2) (push) Has been cancelled
PHPUnit / SeparateProcess (8.3) (push) Has been cancelled
PHPUnit / SeparateProcess (8.4) (push) Has been cancelled
PHPUnit / CacheLive (8.1) (push) Has been cancelled
PHPUnit / CacheLive (8.2) (push) Has been cancelled
PHPUnit / CacheLive (8.3) (push) Has been cancelled
PHPUnit / CacheLive (8.4) (push) Has been cancelled
PHPUnit / Upload coverage results to Coveralls (push) Has been cancelled
* fix: strip out multiple header sections for redirect
* test: add test for stripping out multiple redirect header sections
* docs: changelog for fixing returning multiple header sections after redirects
* Added a non-standard http redirect code test
* apply cs-fix for test
* Moved redirect header loop to a separate function
* Updated changelog to be clearer
2025-01-23 09:28:25 +08:00
John Paul E. Balandan, CPA
6414090ebe
Merge branch 'develop' into 4.6
2025-01-19 22:21:16 +08:00
Michal Sniatala
5f8aa24280
Merge commit from fork
...
Co-authored-by: neznaika0 <ozornick.ks@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
2025-01-18 11:54:38 +01:00
John Paul E. Balandan, CPA
797d37751a
Merge branch 'develop' into 4.6
2025-01-13 11:15:24 +08:00
John Paul E. Balandan, CPA
c3ac0f9483
chore: add more trailing commas in more places ( #9395 )
...
* Apply to parameters
* Apply to array destructuring
* Apply to match
* Apply for arguments
2025-01-13 11:03:02 +08:00
neznaika0
6d04e1dd71
refactor: Fix phpstan nullCoalesce
2025-01-07 23:23:27 +03: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
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
neznaika0
8cff0995de
refactor: fix phpstan
only boolean allowed ( #9302 )
...
* refactor: Fix `phpstan` boolean errors
* fix: Check predis response
* refactor: Improve comparison with an empty string
* dev: Update phpstan-baseline
* fix: Revert comparison with null
2024-12-28 20:21:06 +08:00
Michal Sniatala
22b8e9e9d9
fix: prioritize headers set by the Response
class ( #9235 )
...
* fix: prioritize headers set by the Response class
* cs fix
* add a note to the user guide
* docs: add an example to the header changes
* Update user_guide_src/source/changelogs/v4.6.0.rst
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
---------
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
2024-12-27 13:11:59 +01:00
Denny Septian Panggabean
c76a68f123
feat: CURL option force_ip_resolve
( #9194 )
...
* feat: CURL option force_ip_resolve
* test: CURL option force_ip_resolve
* docs: CURL option force_ip_resolve
* fix: PHPStan error
* fix: prevent using empty()
* fix: strict check
* tests: unknown value in option force_ip_resolve
* fix: using default match
* fix: PHPUnit option resolved_force_ip
2024-12-02 07:17:58 +01:00
John Paul E. Balandan, CPA
9fba8c7a49
Merge branch 'develop' into 4.6
2024-12-02 00:20:53 +08:00
John Paul E. Balandan, CPA
02e75eb6dd
refactor: use baseURI
instead of base_uri
2024-11-30 22:48:30 +08:00
John Paul E. Balandan, CPA
cdf78ab046
Merge branch 'develop' into 4.6
2024-11-30 21:15:11 +08:00
John Paul E. Balandan, CPA
979ba49591
Merge pull request #9285 from ping-yee/8526_curlRequest
...
fix: [CURLRequest] body contains "HTTP/1.0 200 Connection established"
2024-11-30 01:01:58 +08:00
Julian Atkins
d1d5b7f295
fix: The function setJSON also accepts objects
2024-11-18 22:58:38 +02:00
ping-yee
55c3998747
fix: extend the curl header handle.
2024-11-18 16:55:29 +08: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
Michal Sniatala
27ae8bb0ae
fix: DownloadResponse
cache headers ( #9237 )
...
* fix: `DownloadResponse` cache headers
* update phpstan-baseline
2024-11-17 10:50:41 +01:00
Ping-yee
4ca4204e54
fix: curl request crashes with params that give an int once hexed. ( #9198 )
...
* fix: handle hex2bin() function input.
* docs: add a comment out.
2024-11-16 00:22:21 +08:00
neznaika0
a37136a2f4
fix: Allows get by numeric key
2024-11-09 23:31:26 +03:00
neznaika0
583e7b61da
refactor: up performance service()
2024-11-09 08:44:46 +03:00
Abdul Malik Ikhsan
3e672fadc6
refactor: enable FlipTypeControlToUseExclusiveTypeRector
2024-11-05 05:03:14 +07:00
michalsn
3e78c58f0b
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-11-03 20:21:21 +01:00
Abdul Malik Ikhsan
dede747236
refactor: enable SimplifyBoolIdenticalTrueRector
2024-10-30 16:37:37 +07:00
Abdul Malik Ikhsan
70816be6c8
refactor: Apply code quality level 15 for Rector
2024-10-28 22:16:15 +07:00
kenjis
f5b210015d
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-10-04 08:38:10 +09:00
Abdul Malik Ikhsan
86ddfaaf57
refactor: add more readonly property definitions on AutoRouteCollector and SiteURI
2024-10-02 17:20:22 +07:00
kenjis
904e4f2a6b
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-09-13 17:24:56 +09:00
Denny Septian Panggabean
052520f1dc
feat: support CURL HTTP3
2024-09-10 17:03:35 +07:00
Abdul Malik Ikhsan
3f29f2883a
refactor: enable ClosureReturnTypeRector
2024-09-10 16:18:25 +07:00
kenjis
7c0a539063
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-08-03 08:20:24 +09:00
kenjis
80e9d3f391
docs: describe how to remove report-uri
2024-08-02 16:01:01 +09:00
kenjis
26da98d80b
docs: update PHPDocs
2024-08-02 16:01:01 +09:00
kenjis
b4c7879df1
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-07-18 05:26:18 +09:00
Mattias Sandstrom
c50ae9da47
Fixing locale-aware issue
2024-07-05 08:01:05 +02:00
Mattias Sandstrom
fd16faf147
Updated logic to convert to string for comparison
2024-07-04 18:07:03 +02:00
Mattias Sandstrom
20c5c21142
Ran CS fixer
2024-07-04 07:24:05 +02:00
Mattias Sandstrom
a9b42fedbe
Allow string as parameter to version
...
As indicated in the docs.
2024-07-04 07:17:07 +02: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
ef00c1125a
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-06-02 08:52:25 +09:00
kenjis
798d055404
style: remove unneeded x permissions
2024-05-28 21:37:32 +09:00
kenjis
99e2ba3cca
refactor: use CodeIgniter\Exceptions\RuntimeException
2024-05-06 19:19:29 +09:00
kenjis
8e75308f86
test: use odeIgniter\Exceptions\RuntimeException
2024-05-06 19:19:26 +09:00