kenjis
6b61e3c4f9
fix: CSR reportOnly behavior
2022-06-29 17:19:22 +09:00
kenjis
24f67ea95a
Merge pull request #6187 from kenjis/refactor-CompleteDynamicPropertiesRector
...
refactor: add CompleteDynamicPropertiesRector
2022-06-28 20:42:35 +09:00
kenjis
b03808f1c6
test: add test cases
2022-06-28 15:53:40 +09:00
kenjis
e49c0bd41f
refactor: run rector and fix types
2022-06-28 09:11:12 +09:00
kenjis
f211714cfd
test: replace public with private
2022-06-28 07:08:19 +09:00
kenjis
917597d574
refactor: run rector
2022-06-27 18:24:58 +09:00
kenjis
053d669157
Merge pull request #6186 from kenjis/fix-routes-group-slash
...
fix: `$routes->group('/', ...)` creates the route `foo///bar`
2022-06-27 08:41:12 +09:00
kenjis
8a70700f6b
Merge pull request #6089 from kenjis/fix-4.2-cli-filter-bug
...
fix: when running on CLI, two Request objects were used in the system
2022-06-27 08:39:52 +09:00
kenjis
1699a51b9d
Merge pull request #5118 from kenjis/fix-4311-select-escaping
...
fix: QueryBuilder breaks select when escape is false
2022-06-27 08:39:10 +09:00
kenjis
106eda3fe5
test: add test cases
2022-06-26 21:39:13 +09:00
kenjis
d5b52248da
fix: $routes->group('/', ...) creates the route foo///bar
2022-06-26 21:18:53 +09:00
kenjis
3f75d3ab23
refactor: isCLI() does not use is_cli()
2022-06-26 18:19:57 +09:00
kenjis
49889505c0
refactor: move logic to create request object to Services
2022-06-26 18:19:57 +09:00
kenjis
5792fdff60
test: update test
2022-06-26 18:19:57 +09:00
kenjis
11146689d5
test: fix tests for permit_empty
2022-06-22 21:27:16 +09:00
kenjis
a6ddbf22df
docs: add/update comments
2022-06-22 08:07:06 +09:00
kenjis
9737e34eb0
fix: unable to use regular expression inside select()
2022-06-22 07:59:21 +09:00
kenjis
54831ef319
fix: query builder breaks select when escape is false
...
fixes #4311
2022-06-22 07:59:21 +09:00
kenjis
c55e01a9a2
test: add tests for protectIdentifiers()
2022-06-22 07:59:20 +09:00
kenjis
1c246d3b4a
docs: add comments
2022-06-22 07:35:25 +09:00
kenjis
4a45833e76
test: add tests for various types of values to where() in QueryBuilder
2022-06-22 07:25:26 +09:00
Abdul Malik Ikhsan
0180479373
Merge pull request #6159 from kenjis/fix-Time-getAget
...
fix: Time::getAge() calculation
2022-06-21 22:55:20 +07:00
kenjis
1f81d2b016
test: add assertion
2022-06-20 19:06:37 +09:00
kenjis
a4329dde99
test: fix invalid prepared query
2022-06-20 18:19:37 +09:00
kenjis
efef8eb702
fix: getAge() calculation
2022-06-20 08:02:45 +09:00
kenjis
25feb6f2bc
test: change ->age
to ->getAge()
...
The magic property cannot find the test cases from the source of the Time::getAge() definition on IDE.
2022-06-20 07:46:56 +09:00
kenjis
ca938393ca
test: fix time dependent test
2022-06-20 07:44:22 +09:00
kenjis
87bd5ff4c1
test: add empty lines
2022-06-20 07:41:43 +09:00
kenjis
e06c8ba40d
fix: is_image causes PHP 8.1 deprecated error
...
ErrorException : mb_strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
.../CodeIgniter4/system/Validation/FileRules.php:138
2022-06-19 17:24:04 +09:00
Andrey Pyzhikov
b0823ec3cc
Fixed: BaseBuilder::increment() and BaseBuilder::decrement() do not reset the BaseBuilder state after a query.
2022-06-17 20:29:51 +08:00
kenjis
70281b5324
Merge pull request #6082 from kenjis/fix-get_cookie-prefix
...
fix: get_cookie() may not use the cookie prefix
2022-06-16 21:36:28 +09:00
kenjis
ed22aa5ce6
Revert "Merge pull request #5653 from kenjis/refactor-CLI-Incomming-Request"
...
This reverts commit 93b8bca5d68652fca97de495cfb9a376345adcad, reversing
changes made to 048d9973029803471f73d489bb418729587e1244.
2022-06-16 11:53:03 +09:00
kenjis
48a07b5b1f
Merge pull request #6120 from kenjis/fix-Time-humanize
...
fix: `Time::humanize()` causes error with ar locale
2022-06-16 08:45:36 +09:00
kenjis
89223f7a60
Merge pull request #6115 from kenjis/fix-DBDebug-false-tests
...
test: fix forgetting to restore DBDebug value
2022-06-15 09:10:17 +09:00
kenjis
15cd4ca050
fix: Time::humanize() causes error with ar locale
...
Fixes #4708
2022-06-14 15:12:05 +09:00
kenjis
7f7e7cfec4
fix: Time::setTestNow() does not work with fa Locale
...
ErrorException : DateTime::modify(): Failed to parse time string (۲۰۱۷-۰۳-۱۰ ۰۰:۰۰:۰۰) at position 0 (�): Unexpected character
.../CodeIgniter4/system/I18n/Time.php:96
2022-06-14 14:54:32 +09:00
kenjis
3e373b5011
test: fix missing email (not null column)
2022-06-13 12:42:35 +09:00
kenjis
d20d0213d2
test: add empty lines or so
...
To make more readable.
2022-06-13 11:28:21 +09:00
kenjis
9e1de18f59
test: add missing $this->enableDBDebug()
2022-06-13 11:27:54 +09:00
kenjis
a6d7572659
test: refactor to use disableDBDebug() and enableDBDebug()
2022-06-13 11:26:33 +09:00
ytetsuro
b1da2b6890
style: fix style.
2022-06-12 17:07:11 +09:00
ytetsuro
418831192f
test: fix lost error message when after testInsertResultFail.
2022-06-12 16:56:53 +09:00
kenjis
ef400de8bd
Merge pull request #6108 from kenjis/fix-QB-insert-error-message
...
fix: insert error message in QueryBuilder
2022-06-12 06:55:19 +09:00
kenjis
d2cc6a361a
fix: insert error message
2022-06-11 09:24:37 +09:00
kenjis
e23f940267
test: fix $_COOKIE value
...
It should be a string.
2022-06-10 10:46:59 +09:00
kenjis
0720d83b07
fix: get_cookie() may not use cookie prefix
2022-06-10 10:46:58 +09:00
kenjis
b2df4f7f00
test: split big TestCase class
2022-06-10 10:33:06 +09:00
kenjis
a1859601e0
fix: reverse routing does not work with full classname starting with \
...
E.g., url_to('\App\Controllers\backend\Dashboard::index')
2022-06-10 10:16:59 +09:00
kenjis
2cb259ec77
Merge pull request #6059 from paulbalandan/mime-guessing
...
Fix MIME guessing of extension from type
2022-06-09 19:58:46 +09:00
John Paul E. Balandan, CPA
f48f7491d9
Fix MIME guessing of extension from type
2022-06-07 23:14:30 +08:00