61 Commits

Author SHA1 Message Date
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
kenjis
8e5e2078f5
refactor: remove unneeded implements ExceptionInterface 2024-05-06 19:19:20 +09:00
kenjis
e25bc7e7a7
refactor: run rector 2024-04-06 09:24:47 +09:00
kenjis
ed4fce13ab
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	phpstan-baseline.php
	rector.php
	system/Database/BaseBuilder.php
	system/Honeypot/Honeypot.php
	system/Router/RouteCollection.php
	system/Test/FeatureTestCase.php
	system/Test/FeatureTestTrait.php
	system/Validation/FormatRules.php
2023-12-22 07:07:52 +09:00
kenjis
2718024906
fix: remove unneeded conditions 2023-12-21 09:46:51 +09:00
kenjis
d258659947
refactor: apply DisallowedEmptyRuleFixerRector 2023-12-21 09:46:49 +09:00
kenjis
c8461122f1
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-12-10 08:41:42 +09:00
kenjis
3f1a71b412
fix: DEPRECATED error in Honeypot
[DEPRECATED] str_ireplace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in SYSTEMPATH\Honeypot\Honeypot.php on line 93.
2023-12-09 20:37:23 +09:00
kenjis
bb89363dcf
refactor: remove unnecessary check 2023-11-30 16:14:50 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
kenjis
4892849941
fix: CSP style nonce is added even if honeypot is not attached
The tag like this was added in <head> tag in every page.
<style nonce="ccdd15247e8da0a5b9023a5e">#hpc { display:none }</style>
2023-10-10 16:50:46 +09:00
kenjis
6329255a8b
docs: add "see test" annotations 2023-09-08 17:35:23 +09:00
ping-yee
25248a5c41
Dev: change the return type. 2023-08-07 18:28:24 +08:00
ping-yee
31a83ed04f
Dev: Define the comment of exception. 2023-08-07 18:28:24 +08:00
ping-yee
39d09d91ed
Dev: change the return type for the honeypot exception. 2023-08-07 18:28:24 +08:00
ping-yee
26d7b48eeb
Dev: Remove the Honeypot and I18n ignore errors in phpstan-baseline.php 2023-08-07 18:28:14 +08:00
kenjis
b7ef46c850
fix: inline style "display:none" for honeypot field does not work with CSP 2022-12-27 14:26:33 +09:00
kenjis
873f616fc1
fix: Honeypot filter causes error
Call to undefined method CodeIgniter\HTTP\CLIRequest::getPost()
2022-08-27 11:59:14 +09:00
John Paul E. Balandan, CPA
b7ec33cd56
Remove superfluous phpdoc tags (#4941) 2021-07-24 19:30:51 +08:00
John Paul E. Balandan, CPA
0ee2b2f922
Add file-level headers 2021-07-19 23:04:56 +08:00
John Paul E. Balandan, CPA
a6cfb8c1e6
Remove useless code separator comments (#4946) 2021-07-19 21:08:51 +08:00
John Paul E. Balandan, CPA
cbfe80d854
Separate and group similar phpdocs 2021-06-08 12:19:15 +08:00
John Paul E. Balandan, CPA
2b78883c06
Align phpdocs 2021-06-08 12:11:23 +08:00
John Paul E. Balandan, CPA
d030096732
Enable braces 2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08:00
John Paul E. Balandan, CPA
32978d2598
Fix whitespaces for system/ 2020-11-19 01:25:50 +08:00
John Paul E. Balandan, CPA
c3dcd05e35
Use short notices for header docblock 2020-10-25 21:38:43 +08:00
John Paul E. Balandan, CPA
7dd927fbe3 Enforce consistent file-level docblock across all system files 2020-10-25 21:29:13 +08:00
Abdul Malik Ikhsan
b8ad7782ab
apply rector: set auto import FQCN 2020-10-11 13:22:34 +07:00
Abdul Malik Ikhsan
b772c5ee79
apply rector: set local variable name to camel case 2020-09-28 19:00:49 +07:00
Abdul Malik Ikhsan
4ee4cfc9d4
Apply phpstan level 4 2020-08-25 20:03:59 +07:00
Abdul Malik Ikhsan
ebc4d19ea9
More tests Honeypot on empty container or no {template} 2020-08-23 13:47:05 +07:00
Abdul Malik Ikhsan
7f09840cf4
cs fix 2020-08-19 10:41:08 +07:00
Abdul Malik Ikhsan
50f5548fe5
Apply phpstan level 2 2020-08-19 10:41:07 +07:00
michalsn
3b26e601ab
Use named variable in honeypot container 2020-07-11 07:20:02 +02:00
Milan Hoško
c76b1dd7ab
Update Honeypot.php 2020-07-08 06:49:21 +02:00
Milan Hoško
9716d301d9
Update system/Honeypot/Honeypot.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
2020-07-08 06:46:08 +02:00
Milan Hoško
4fa3424d6b
Update system/Honeypot/Honeypot.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
2020-07-08 06:45:56 +02:00
Milan Hoško
de9be9e846
Usage of config hiddenContainer and hiddenByClass 2020-07-07 07:06:19 +02:00
Milan Hoško
c88c017943
Add hidennby string to the output of template 2020-07-03 07:42:24 +02:00
Milan Hoško
7af80ea084
Hide in bootstrap4
If the CSP policy is on, the style wouldn't work. So if the project use Bootstrap 4 or Bootstrap 3, it will be better to add thes classes.
2020-07-02 11:26:12 +02:00
Abdul Malik Ikhsan
ab5c587693
clean up use statements: remove unused and sort 2020-04-23 01:27:54 +07:00
Lonnie Ezell
fed757bee0
It is now 2020 2020-02-06 22:58:39 -06:00
Jim Parry
e8ae780d83
CodeIgniter Foundation gets copyright [ci skip] 2019-10-19 00:43:47 -07:00
Jim Parry
e5f575dfe8
Fix missing form close tag 2019-09-01 12:05:20 -07:00
Jim Parry
5b9ced3537
Merge branch 'develop' into apidocs/errors 2019-05-05 23:23:44 -07:00
Jim Parry
dc84007619
Add missing comments 2019-05-05 07:46:30 -07:00
Jim Parry
fd1486fd1c
Update docblock version to 4.0.0 2019-05-04 00:58:04 -07:00
Lonnie Ezell
41e74d20ff
Merge branch 'develop' into changes 2019-03-28 16:12:54 -05:00