376 Commits

Author SHA1 Message Date
kenjis
ca73c0fcb6
docs: add/fix PHPDocs 2022-07-21 10:05:38 +09:00
kenjis
80bd30afcc
refactor: replace locale_set_default() with Locale::setDefault()
We are using Locale::getDefault().
2022-07-13 17:36:37 +09:00
kenjis
f12c23777b
fix: use lang('HTTP.pageNotFound') on production 404 page 2022-06-29 17:52:08 +09:00
kenjis
49889505c0
refactor: move logic to create request object to Services 2022-06-26 18:19:57 +09:00
kenjis
b79a77d5d2
fix: when running on CLI, two Request objects were used in the system
CodeIgniter created CLIRequest, but some classes call Services::request()
that returned IncommingRequest.
2022-06-26 18:19:56 +09:00
MGatner
de8d05714b
Prep for 4.2.1 release 2022-06-16 13:12:19 +00:00
kenjis
1f837bbcec
docs: fix PHPDoc 2022-06-16 08:55:34 +09:00
MGatner
785bd4c512
Prep for 4.2.0 release 2022-06-03 13:16:57 +00:00
Tomohiro Murota
fd19d90a83
fix: Ignore non-HTML responses in storePreviousURL 2022-05-31 12:32:32 +09:00
Abdul Malik Ikhsan
ffe1ad44b7
clean up config, re-run rector, and set alias to Config\ClassName when lastname is exists in use statements 2022-05-30 22:48:39 +07:00
kenjis
863dad5553
refactor: if a user update CI on product server, assert() may not work 2022-05-30 10:42:10 +09:00
MGatner
e3a00ee5f6
Prefer is_file 2022-05-24 16:53:04 +00:00
kenjis
6927873281
refactor: add strtolower() to Request::getMethod()
The $upper functionality will be removed.
2022-05-05 10:17:42 +09:00
Abdul Malik Ikhsan
598ae1e23e
Allow null type for request property in CodeIgniter class
to allow remove ignored unreachable phpstan notice
2022-04-23 09:30:46 +07:00
kenjis
fbfc4bbab4
docs: update PHPDocs 2022-04-20 14:55:18 +09:00
kenjis
78d42a58f5
fix: spark can't use options in PHP 7.4
Cannot unpack array with string keys
at SYSTEMPATH/CodeIgniter.php:893
2022-03-30 19:12:12 +09:00
kenjis
83fc5b26cd
Merge remote-tracking branch 'upstream/master' into develop 2022-02-26 10:20:42 +09:00
kenjis
21a21cc0e7
fix: options are not passed to Command $params 2022-02-20 10:47:38 +09:00
Abdul Malik Ikhsan
e6af132e15
Make CodeIgniter::context nullable to handle access before initialization 2022-02-19 06:49:57 +07:00
kenjis
bc966170be
Merge pull request #5650 from kenjis/remove-SPARKED
refactor: CodeIgniter has context
2022-02-19 08:36:42 +09:00
kenjis
a22a145201
docs: update PHPDoc types 2022-02-17 09:17:38 +09:00
kenjis
44a35f5f11
fix: 404 override controller does not output Response object body 2022-02-17 09:14:07 +09:00
kenjis
a10bde7560
refactor: improve error message 2022-02-12 17:12:12 +09:00
kenjis
9b58580c02
style: add parentheses to avoid confusion 2022-02-12 17:08:46 +09:00
kenjis
641aa56d24
docs: improve PHPDocs 2022-02-12 17:08:45 +09:00
kenjis
8815745381
refactor: CodeIgniter has context: web, php-cli, spark
Make the constant SPARKED deprecated.
Remove is_cli() in CodeIgniter.
2022-02-12 17:08:44 +09:00
kenjis
04da50dbda
Merge pull request #5657 from kenjis/refactor-kint-csp
refactor: update Kint CSP nonce
2022-02-11 13:47:16 +09:00
kenjis
559b9e57ed
docs: remove @var 2022-02-10 13:37:40 +09:00
kenjis
74840071c5
fix: only allows PUT, PATCH, DELETE when Method Spoofing 2022-02-09 11:45:42 +09:00
kenjis
88d8cfb7c0
docs: add @return description 2022-02-06 09:33:40 +09:00
kenjis
b26bbeaaa1
docs: fix @return type 2022-02-06 09:33:40 +09:00
kenjis
b416ddbb28
refactor: use Kint 4.1 CSP nonce functionality 2022-02-05 13:23:57 +09:00
kenjis
68beebbb82
config: update version number to 4.1.9 2022-02-02 19:48:09 +09:00
kenjis
4ccac8683c
fix: executing CLI routes via HTTP request 2022-02-02 19:48:09 +09:00
kenjis
498a5c083a
fix: spark does not show Exception 2022-02-01 17:24:07 +09:00
kenjis
845bc4a3cb
fix: DownloadResponse memory leak 2022-01-27 09:28:31 +09:00
MGatner
904404c5fd
Merge branch 'master' into develop 2022-01-24 17:14:01 +00:00
kenjis
0fac3c61ee Update version to 4.1.8 2022-01-21 13:06:54 +09:00
Abdul Malik Ikhsan
a659246bfd
update MIN_PHP_VERSION constant to 7.4 2022-01-10 02:02:55 +00:00
Abdul Malik Ikhsan
af7fb3f9a5
[Rector] Apply PHP 7.4 Requirement and syntax 2022-01-10 02:02:27 +00:00
kenjis
b6c21c35e3
chore: update verion to 4.1.7 2022-01-08 11:54:29 +09:00
MGatner
591e6d435d
Prep for 4.1.6 release 2022-01-03 23:52:54 +00:00
kenjis
70625366ae
fix: KINT visual error when activating CSP 2021-12-25 13:04:38 +09:00
kenjis
d542514edb
chore: rename changed property names in Kint 2021-12-19 16:28:11 +09:00
John Paul E. Balandan, CPA
f941858bcf
Use PHPStan's baseline instead of global ignore of errors 2021-12-13 15:05:13 +08:00
MGatner
033496767f
Prep for 4.1.5 release 2021-11-08 14:48:59 +00:00
kenjis
b1d3dd991a
refactor: move discoverFilters() to the instructor 2021-11-03 16:25:36 +09:00
kenjis
0f036a6c98
fix: module filters are not discovered when you use module route with filters
Fixes #4720
2021-11-03 10:43:57 +09:00
kenjis
98bad0a885
feat: add multiple filters for a route 2021-09-25 11:45:34 +09:00
MGatner
8e1b2805ce
Add tests 2021-09-15 01:47:19 +00:00