kenjis
|
25ec3df976
|
refactor: add declare(strict_types=1) to system files
|
2023-11-30 16:14:48 +09:00 |
|
Denny Septian Panggabean
|
188b1857f1
|
run cs-fix after rules shorthand operator
|
2023-09-19 11:34:15 +07:00 |
|
Christian Rumpf
|
ff10390204
|
Throttler::tokenTime fix, use cases
|
2023-01-21 18:35:09 +01:00 |
|
ddevsr
|
2b4861e21e
|
refactor: changes time() to Time class
|
2022-11-16 15:28:11 +07:00 |
|
kenjis
|
47c4c9cdc7
|
fix: tokenTime calcuration
When check() returns false, tokenTime is 0.
|
2021-12-18 22:27:04 +09:00 |
|
kenjis
|
10f772a4b9
|
docs: update sample code in comment
|
2021-12-18 22:27:04 +09:00 |
|
kenjis
|
31fb03b985
|
fix: does not show correct token time until 1 token is available
Fixes #5458
|
2021-12-18 22:27:03 +09:00 |
|
kenjis
|
f7c42268f6
|
fix: use $this->time() instead of time()
For testing, we need to use testTime in all places.
|
2021-12-15 16:40:40 +09:00 |
|
Abdul Malik Ikhsan
|
0c38916535
|
[Rector] Apply Rector dead code set list
|
2021-08-17 18:25:19 +07: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
|
5333844a19
|
Shift binary alignment to align_single_space_minimal
|
2021-06-10 00:35:54 +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
|
4129b40cb6
|
Use short forms of param and return types
|
2021-06-08 11:46:56 +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 |
|
Abdul Malik Ikhsan
|
1eb86d89ad
|
add require_once __DIR__ . /system/Test/bootstrap.php; outside rector config
|
2021-03-23 17:22:16 +07:00 |
|
Wolf Wortmann
|
b0ec96acec
|
Throttle: Fluid interface for removal of throttler buckets
Signed-off-by: Wolf Wortmann <wortmann@icue-medien.de>
|
2021-02-23 23:45:36 +00:00 |
|
Wolf Wortmann
|
74f091eb61
|
Throttle: allow removal of throttler buckets
Signed-off-by: Wolf Wortmann <wortmann@icue-medien.de>
|
2021-02-23 23:45:36 +00:00 |
|
John Paul E. Balandan, CPA
|
32978d2598
|
Fix whitespaces for system/
|
2020-11-19 01:25:50 +08:00 |
|
John Paul E. Balandan, CPA
|
81888e2545
|
Remove package tag
|
2020-10-28 19:28:07 +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
|
50f5548fe5
|
Apply phpstan level 2
|
2020-08-19 10:41:07 +07:00 |
|
michalsn
|
2d66981714
|
Throttler code style update
|
2020-07-11 12:04:39 +02:00 |
|
Jonathan Lamim
|
e19e0fa498
|
(update) Bug fix in Throttler class check validation
|
2020-04-24 10:29:08 -03:00 |
|
Jonathan Lamim
|
2f1e4136d3
|
Throttler bug - update comments
|
2020-04-24 07:28:25 -03:00 |
|
Jonathan Lamim
|
83b6e47b49
|
Bug fix in Throttler class check validation
|
2020-04-23 19:30:20 -03: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 |
|
Mohammed Karim
|
8cceaee8c8
|
CI Coding standards.
|
2019-06-24 22:03:49 +01:00 |
|
Mohammed Karim
|
50fbc8ade8
|
Change MockHandler to return null instead of false to be similar to other CacheHandlers.
Update Throttler to check for null instead of false when looking for existing bucket.
|
2019-06-24 21:45:00 +01:00 |
|
Mohammed Karim
|
8e0ab844be
|
Correctly calculate the amount of seconds required to pass before a new token is available.
|
2019-06-24 20:36:05 +01:00 |
|
Mohammed Karim
|
94ad967f47
|
Small amount of refactoring.
|
2019-06-24 18:38:34 +01:00 |
|
Mohammed Karim
|
be176c4c5d
|
Ensure that the cache keeps a record of the bucket for the maximum amount of time the bucket may be required.
|
2019-06-24 18:37:54 +01:00 |
|
Mohammed Karim
|
333e26f42d
|
Updated some comments.
|
2019-06-24 18:35:43 +01:00 |
|
Jim Parry
|
5b9ced3537
|
Merge branch 'develop' into apidocs/errors
|
2019-05-05 23:23:44 -07:00 |
|
Jim Parry
|
c2b0107892
|
Third batch of docs
|
2019-05-05 10:21:48 -07:00 |
|
Jim Parry
|
fd1486fd1c
|
Update docblock version to 4.0.0
|
2019-05-04 00:58:04 -07:00 |
|
Atish Amte
|
e1df0e663d
|
Throttler typos changes
|
2019-04-19 17:06:11 +05:30 |
|
Jim Parry
|
6892950e94
|
Docs: fix phpdocs for Session, Test & Throttle
|
2019-03-27 11:00:09 -07:00 |
|
Atish Amte
|
8ed08beb4b
|
Validation module typos
|
2019-03-23 23:52:12 +05:30 |
|
Jim Parry
|
7643dbfc95
|
Update copyright to 2019
|
2018-12-26 21:49:51 -08:00 |
|
Natan Felles
|
b597db5cee
|
phpcbf: fix all at once
|
2018-11-10 02:58:52 -02:00 |
|
Lonnie Ezell
|
871f541562
|
Get throttler rate limiting correctly. Fixes #827
|
2018-02-18 23:26:20 -06:00 |
|
Lonnie Ezell
|
d1f4b9f5e8
|
Make testing the throttler faster.
|
2018-02-18 22:45:43 -06:00 |
|
Master Yoda
|
b733001e59
|
Annual copyright update
|
2018-01-09 01:01:00 -08:00 |
|
Abdul Malik Ikhsan
|
4e6b51d154
|
remove unneded cast with (int) for Throttler::getTokenTime()
|
2017-07-21 04:29:48 +07:00 |
|