6569 Commits

Author SHA1 Message Date
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
4764fe3b7f
Merge branch 'develop' into 4.6 2025-01-01 21:33:45 +08:00
John Paul E. Balandan, CPA
8e0bb04262
docs: add changelog and upgrade for v4.5.8 (#9359) 2024-12-31 22:49:18 +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
e8cd894fdf
Prep for 4.5.7 release (#9357) 2024-12-31 19:56:33 +08:00
John Paul E. Balandan, CPA
d7ce2ba7d3
fix: Forge::dropColumn() always returns false on SQLite3 driver (#9351) 2024-12-31 18:41:07 +08:00
Abdul Malik Ikhsan
c942fd9e0b
Update user_guide_src/source/changelogs/v4.5.7.rst
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
2024-12-30 21:33:16 +07:00
Abdul Malik Ikhsan
c61cb4a839
chore: add changelog for bug fix helper() throw FileNotFoundException on valid namespaced helper 2024-12-30 21:29:32 +07:00
John Paul E. Balandan, CPA
65219d74d0
style: bump to php-cs-fixer v3.66 2024-12-30 21:06:37 +08:00
John Paul E. Balandan, CPA
0bc67dbb21
docs: add changelog and upgrade for v4.5.7 (#9347) 2024-12-29 15:53:24 +08:00
John Paul E. Balandan, CPA
4a0d845fd7
Merge branch 'develop' into 4.6 2024-12-29 02:35:17 +08:00
John Paul E. Balandan, CPA
6785d8f56d
Prep for 4.5.6 release (#9344) 2024-12-29 01:19:15 +08:00
John Paul E. Balandan, CPA
c7548a3771
Merge branch 'develop' into 4.6 2024-12-29 00:21:53 +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
Michal Sniatala
6cbbf601b0
fix: handling binary data for prepared statement (#9337)
* fix prepare statement sqlite

* fix prepare statement postgre

* fix prepare statement sqlsrv

* fix prepare statement oci8

* tests

* abstract isBinary() method

* fix prepare statement mysqli

* fix prepare statement oci8

* sqlsrv blob support

* fix tests

* add changelog

* fix rector

* make sqlsrv happy

* make oci8 happy - hopefully

* add a note about options for prepared statement

* ignore PreparedQueryTest.php file

* apply code suggestion for oci8
2024-12-27 08:14:06 +01:00
John Paul E. Balandan, CPA
bd5945df9b
Merge branch 'develop' into 4.6 2024-12-19 16:39:09 +08:00
Andi Fahruddin Akas
cc2dcee4ed
docs: variable naming adjustments (#9324)
* Update 006.php

* Update 008.php

* Update 046.php
2024-12-16 19:31:13 +08:00
John Paul E. Balandan, CPA
64c8fcefb7
refactor: fix method.nameCase errors 2024-12-12 00:29:57 +08:00
Michal Sniatala
1b530cd8b6
docs: add info about handling exceptions for non-HTML responses (#9310) 2024-12-11 08:35:33 +01:00
Michal Sniatala
539436f58d
fix: primary key mapping in the model for the entity (#9307)
* fix primary key mapping for the entity in the model

* fix phpstan

* update comment in the code
2024-12-11 08:35:20 +01:00
John Paul E. Balandan, CPA
8ba6f2ab53
Merge branch 'develop' into 4.6 2024-12-06 20:50:04 +08: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
Dimitri Sitchet Tomkeu
bcedf1ccfc
feat: added the namespace option to the publish command (#9278) 2024-12-02 03:31:46 +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
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
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
ping-yee
5e14d16616
docs: add the change log. 2024-11-28 20:57:31 +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
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
2642a9b74c
docs: Clarify the log 2024-11-09 23:31:27 +03:00
neznaika0
8a1ca7b2af
docs: Update changelog 2024-11-09 23:31:27 +03:00
michalsn
3e78c58f0b
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-11-03 20:21:21 +01:00
maniaba
34358721a0
fix: TypeError for routes when translateURIDashes is enabled (#9209)
* fix: TypeError for OPTIONS routes when translateURIDashes is enabled

* docs: Update changelog for v4.5.6
2024-11-03 20:14:42 +01:00
Michal Sniatala
fc19b690f8
fix: case-insensitivity in the like() method when in use with accented characters (#9238)
* fix: case-insensitivity in the like() method when in use with accented characters

* Update system/Database/BaseBuilder.php

Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>

* add more cases for tests

* even more tests

* fix types

* set collation for sqlsrv

---------

Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>
2024-11-03 19:48:50 +01:00
Jéssica Pereira
3d0f9f2b30
fix: Parser - Equal key name replace conflict (#9246)
* Parse equal key name replace

* fix: parsing equal key name replace for parser

* improved code readability

Co-authored-by: Mostafa Khudair <59371810+mostafakhudair@users.noreply.github.com>

* updated changelog

---------

Co-authored-by: Mostafa Khudair <59371810+mostafakhudair@users.noreply.github.com>
2024-11-03 18:44:55 +01:00
michalsn
c830d5fe2f
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-23 15:31:59 +02:00
Denny Septian Panggabean
4a7fbd1229
fix: getValidated() when validation multiple asterisk (#9220)
* fix: validation multiple asterisk

* docs: changelog

* Update user_guide_src/source/changelogs/v4.5.6.rst

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

* tests: multiple asterisk for fail

* fix: PHPStan errors appear

---------

Co-authored-by: Michal Sniatala <michal@sniatala.pl>
2024-10-22 08:23:28 +02:00
michalsn
b068de9e36
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-17 17:48:11 +02:00
Wolf Wortmann
c8b9ea48eb
fix: change session start log level (#9221)
* Change session start log level

* Added changelog

Signed-off-by: Wolf Wortmann <7399618+element-code@users.noreply.github.com>

* Remove PR number from changelog

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

---------

Signed-off-by: Wolf Wortmann <7399618+element-code@users.noreply.github.com>
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
2024-10-15 08:08:15 +02:00
kenjis
f5b210015d
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-04 08:38:10 +09:00
Denny Septian Panggabean
b1d044e358
fix: only v4.4.x config must set manually 2024-09-17 16:58:15 +07:00