22837 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
21b8877620
refactor: Apply code quality level 27 for rector 2024-12-05 23:58:11 +07:00
Michal Sniatala
0d3c3b1197
docs: update note about required filters (#9298)
* docs: update note about required filters

* Update user_guide_src/source/incoming/filters.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-04 07:44:14 +01:00
Thomas Meschke
455a559fb3
feat: Differentiate between kilobyte/kibibyte and megabyte/mebibyte (#9277) 2024-12-04 13:32:39 +08:00
Osman Bozdag
8cf0fa1593
docs: Fix $indexPage param explanations in helpers/html_helper.rst (#9162) 2024-12-02 19:49:38 +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
TechnoKa
695829c52f
Update create_news_items/001.php (#9297)
Updated Filters configuration to explicitly declare the $methods property as an array, ensuring compatibility with strict typing in PHP.
2024-12-02 07:18:38 +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
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
Dimitri Sitchet Tomkeu
bcedf1ccfc
feat: added the namespace option to the publish command (#9278) 2024-12-02 03:31:46 +08:00
John Paul E. Balandan, CPA
d6d30c0920
Merge pull request #9216 from maniaba/dev.9215
feat: [Validation] add support for `$dbGroup` as parameter in `is_unique` and `is_not_unique`
2024-12-02 01:19:11 +08:00
Amel Junuzović
86278d9ab2
feat: Add optional dbGroup support in validation rules for multiple database connections
cs fixer

docs format

fix rules

add test testIsNotUniqueWithDBConnectionAsParameter

docs: update v4.5.6.rst

docs: fix tabs

docs update for v4.6.0

Update validation.rst

Update user_guide_src/source/changelogs/v4.6.0.rst

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

Add a test case for `InvalidArgumentException` and remove the duplicate comment.

refactor: code for is_unique and is_not_unique methods; extracted common code into prepareUniqueQuery method

rector and phpstan fix
2024-12-02 01:03:46 +08: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
4c8b78215e
Merge pull request #9296 from paulbalandan/curl-base-uri
refactor: use `baseURI` instead of `base_uri`
2024-12-02 00:20:03 +08:00
John Paul E. Balandan, CPA
0b2c6f816c
Merge pull request #9295 from paulbalandan/config-check
test: refactor `ConfigCheckTest`
2024-12-02 00:19:18 +08:00
John Paul E. Balandan, CPA
9bbe30f5be
delete useless test 2024-11-30 23:08:00 +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
4713282134
test: refactor ConfigCheckTest 2024-11-30 22:24:28 +08:00
John Paul E. Balandan, CPA
17fa4d0d4b
Merge pull request #9279 from ping-yee/9043_pg_ping()
fix: `Postgre\Connection::reconnect()` `TypeError` in `pg_ping()`
2024-11-30 22:21:13 +08:00
ping-yee
0c9799fe45
docs: change the change log. 2024-11-30 22:08:57 +08:00
ping-yee
ace329fe5a
fix: rebase. 2024-11-30 22:08:35 +08:00
ping-yee
99b10314c8
fix: fix the reconnect function. 2024-11-30 22:08:05 +08:00
John Paul E. Balandan, CPA
d81f4c5391
Merge pull request #8863 from obozdag/patch-4
docs: Small typos in libraries/pagination.rst
2024-11-30 22:02:07 +08:00
John Paul E. Balandan, CPA
cdf78ab046
Merge branch 'develop' into 4.6 2024-11-30 21:15:11 +08:00
obozdag
676b0247e7
docs: Small typos in libraries/pagination.rst
Small typos in libraries/pagination.rst
2024-11-30 02:43:44 +08:00
John Paul E. Balandan, CPA
700ba29616
Merge pull request #9294 from paulbalandan/phpstan-1.12
refactor: use `Superglobals` in setting 'REQUEST_METHOD' in `FeatureT…
2024-11-30 01:47:24 +08:00
John Paul E. Balandan, CPA
74d3b2819e
refactor: use Superglobals in setting 'REQUEST_METHOD' in FeatureTestTrait 2024-11-30 01:23:07 +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
John Paul E. Balandan, CPA
72f6a78f9d
Merge pull request #9287 from JulianAtkins/develop
fix: `ResponseInterface::setJSON()` also accepts objects
2024-11-30 01:01:40 +08:00
ping-yee
5e14d16616
docs: add the change log. 2024-11-28 20:57:31 +08:00
Abdul Malik Ikhsan
713c869578
Merge pull request #9288 from samsonasik/refactor-remove-cast-is-array
refactor: remove unused (array) cast on array
2024-11-21 10:02:23 +07:00
Abdul Malik Ikhsan
978ca3df1e
refactor: remove unused (array) cast on array 2024-11-21 09:46:33 +07: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
Michal Sniatala
857673b3c3
fix: code issues after merging develop (#9284)
* cs-fix

* fix services call

* apply rector rules
2024-11-17 13:12:13 +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
Michal Sniatala
27ae8bb0ae
fix: DownloadResponse cache headers (#9237)
* fix: `DownloadResponse` cache headers

* update phpstan-baseline
2024-11-17 10:50:41 +01:00
Michal Sniatala
bb5f925ca4
fix: respect complex language strings when using validation (#9201)
* fix: respect complex language strings when using validation

* cs fix

* changelog update
2024-11-17 10:50:15 +01:00
neznaika0
417cbd2198
refactor: Fix phpstan errors related to Autoloader (#9249)
* refactor: Fix `phpstan` errors related to `Autoloader`

* fix: Update @ignore-line

* fix: Save `realpath()` as variable

* refactor: `phpstan` strict comparison

* fix: Restore check helpers
2024-11-17 10:49:47 +01:00
Ping-yee
42801e7402
docs: allow boolean values in the model for PHPStan (#9276)
* docs: add the type to row_array in model.

* fix: fix the ignore.
2024-11-17 10:44:59 +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
John Paul E. Balandan, CPA
43a62414b8
Merge pull request #9241 from ddevsr/redesign-exception
feat: design info environment top in `error_exception`
2024-11-16 00:12:01 +08:00
Abdul Malik Ikhsan
fcf37d6ce2
Merge pull request #9251 from neznaika0/fix-fetch-global-request
fix: `fetchGlobal()` with numeric key
2024-11-13 09:17:36 +07:00
Abdul Malik Ikhsan
9b6de62f40
Merge pull request #9264 from samsonasik/refactor-apply-code-quality-level-24-for-rector
refactor: Apply code quality level 24 for Rector
2024-11-12 15:44:46 +07:00
Abdul Malik Ikhsan
1e9483cff6
Merge pull request #9267 from samsonasik/use-compare-empty-array
refactor: use compare empty array on Forge on keys property
2024-11-12 11:01:35 +07:00
Abdul Malik Ikhsan
c8b3804f7d
refactor: use compare empty array on Forge on keys property 2024-11-12 09:12:54 +07:00
Abdul Malik Ikhsan
b64aeef0ea
refactor: Apply code quality level 24 for Rector 2024-11-11 09:00:41 +07:00
neznaika0
2642a9b74c
docs: Clarify the log 2024-11-09 23:31:27 +03:00
neznaika0
342296523e
refactor: Add indexes 2024-11-09 23:31:27 +03:00
neznaika0
8a1ca7b2af
docs: Update changelog 2024-11-09 23:31:27 +03:00
neznaika0
a37136a2f4
fix: Allows get by numeric key 2024-11-09 23:31:26 +03:00