Roardom
46bfccc8b7
refactor: use enums for auth guards, middleware groups, and rate limits
2025-06-22 20:00:02 +00:00
HDVinnie
99800ce14e
Revert "Merge pull request #4774 from Roardom/laravel11-app-structure-3"
...
This reverts commit d38964cbd7 , reversing
changes made to 5c00b12e7c .
2025-06-16 22:41:15 -04:00
Roardom
12b9a30b0c
refactor: migrate to laravel 11 app structure
2025-06-13 22:31:20 +00:00
Roardom
9f1e6f3851
refactor: remove unused middlewares 3
...
I missed some more from the other times (#4744 and #4749 ). The json check in Authenticate.php has since been upstreamed into laravel, so we don't need to modify that explicitly anymore and can swap it out for laravel's middleware. The RedirectIfAuthenticated middleware now has an option to set the route to redirect to, so we can call that method directly instead of overwriting the method in the middleware. The TrimStrings middleware also now has an option to exclude certain attributes, so we can call that method directly instead of overwriting the method in the middleware.
TrustProxies.php is the only remaining Laravel middleware that is customized, but that can only be replaced with the laravel 11 app structure.
2025-06-09 04:48:44 +00:00
Roardom
513f81f6f0
refactor: remove unused middlwares 2
...
I missed some the first time (#4744 ).
2025-06-07 18:53:17 +00:00
Roardom
51aa570cbf
refactor: remove unused middlewares
...
These middlewares are the same as what exists in laravel. We can directly use Laravel's middlewares in Kernel.php instead of importing them and not overwriting anything.
2025-06-05 05:55:39 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
ee9eab2014
fix: web rate limiter
...
We need to separate chat with its own route limiter.
2024-01-19 06:29:32 +00:00
HDVinnie
de87f975a6
PHP Style Change (Laravel Pint CI)
2024-01-09 21:13:21 +00:00
HDVinnie
46ebbe2632
revert: #3306
2023-12-27 14:02:22 -05:00
Roardom
a33bf6b8c6
add: requests per second metric tracking
2023-12-25 08:49:30 +00:00
HDVinnie
033e86149d
PHP Style Change (Laravel Pint CI)
2023-11-08 00:34:31 +00:00
HDVinnie
c2e66bbb12
Merge branch '7.x.x' into fortify
2023-11-07 18:22:10 -05:00
HDVinnie
f4aab26086
remove: email based 2fa
2023-11-06 10:30:18 -05:00
HDVinnie
b37c330572
Merge branch '7.x.x' into Ip-Blocking
2023-11-06 10:04:14 -05:00
HDVinnie
bf5989cd5a
remove: Http2ServerPush middleware
...
- http3 will be released soon and Http2ServerPush will be deprecated.
2023-09-11 19:21:14 -04:00
HDVinnie
0c89b79eab
update: ip blocking system
2023-09-11 13:37:54 -04:00
Roardom
372ea1d20c
fix: incorrect php doc block type
2023-08-25 02:38:13 +00:00
Roardom
f2f6c86a00
update: prevent announce/rss/api from using some middleware
...
The announce, rss and api have no use for HTTP2 server push, nor do they need all the extra web browser headers added.
2023-08-09 08:19:29 +00:00
HDVinnie
2808526c5f
PHP Style Change (Laravel Pint CI)
2023-07-19 02:07:55 +00:00
clandestine8
d88159b46e
Update: views & related
2023-07-18 22:06:35 -04:00
HDVinnie
da314482f1
update: disabled web throttle
...
- to be discussed with core devs
2023-05-21 08:31:35 -04:00
Roardom
3289281ce8
add: rate limit for web pages
2023-05-08 08:40:38 +00:00
HDVinnie
f66f93e375
update: Kernel
...
- bindings middleware not needed
2023-04-16 21:29:58 -04:00
Shift
e5a6a09f76
Shift core files
2023-02-15 00:28:10 +00:00
Shift
1f1387d252
Remove fruitcake/laravel-cors dependency
2023-02-15 00:27:17 +00:00
HDVinnie
2ca429c4ce
Revert "PSR12 Linting"
...
This reverts commit 7e65e1d589 .
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589
PSR12 Linting
2022-09-11 23:50:41 +00:00
HDVinnie
c330f1fe62
fix: Kernel.php
2022-09-04 23:18:53 -04:00
StyleCI Bot
2daaf09a13
Apply fixes from StyleCI
2022-08-25 22:59:36 +00:00
HDVinnie
5d4f850e66
add: rss rate limiting
2022-08-25 18:59:20 -04:00
clandestine8
30f8c71ae7
fix: announce
2022-06-03 21:02:26 -04:00
StyleCI Bot
4239cdabc2
Apply fixes from StyleCI
2022-05-18 03:36:13 +00:00
clandestine8
7816df4f64
update: announce throttling
2022-05-17 23:35:43 -04:00
clandestine8
d84b8e1097
add: announce routing
2022-05-17 19:19:42 -04:00
HDVinnie
32de8c3343
update: api rate limit
2022-05-01 12:15:30 -04:00
HDVinnie
1fc7c75eaa
update: dependencies
2022-02-08 23:34:35 -05:00
HDVinnie
b5119636c1
remove: old middleware
2021-01-18 12:08:02 -05:00
Laravel Shift
14bee49eeb
Shift HTTP kernel and middleware
2020-09-08 22:24:16 +00:00
HDVinnie
41b617bb2e
update: laravel 7 support
2020-07-19 17:33:50 -04:00
Laravel Shift
6686b7d3cb
Shift core files
2020-05-13 12:23:59 +00:00
HDVinnie
8bb3e5c162
remove: html-encrypt
...
- This feature is somewhat misleading being called html-encrypt, as it does not encrypt HTML or JS files, it basically re-encodes their bytes as hex values and then decodes it in the browser again. Every script kiddy with basic javascript knowledge will be able to read the files. This feature obfuscates the files for direct access, but provides no additional security benefits. It really doesnt seem benificail to have seeing UNIT3D is open-source.
2020-05-05 03:35:56 -04:00
HDVinnie
9cf874de7a
update: poll system
2020-02-16 17:05:17 -05:00
HDVinnie
780e0c1f0e
chore: update license block
2020-02-12 15:05:34 -05:00
HDVinnie
e47afe4ab4
chore: styleci
2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c
chore: update license block
...
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940
chore: update license block
2020-02-12 14:45:59 -05:00
HDVinnie
c8f2390c4d
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -04:00
HDVinnie
41bf8295fe
(Update) HTTTP Kernel 🚀
2019-09-16 11:28:13 -04:00