Commit Graph

17 Commits

Author SHA1 Message Date
Roardom
868ad35aa4 refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.

Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
d613092ed8 update: allow empty peer id prefix for client blacklist
Simple way to block all clients in emergencies.
2024-01-12 11:50:01 +00:00
Roardom
3c107635bb refactor: use route model binding for blacklisted clients
Also fix the html to match the other pages. Also fix up the url and route names to match the naming conventions. The model name and database table name will have to be renamed at a later time.
2023-07-07 00:28:47 +00:00
Roardom
738bc7f2d1 refactor: single line delete queries 2023-07-07 00:26:17 +00:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
Roardom
05ad4c37b9 add: external tracker support 2023-03-27 04:17:30 -05:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
Roardom
05b7764edc refactor: move blacklist client requests to form requests 2023-01-08 05:04:49 -06:00
HDVinnie
45c5b11448 Merge pull request #2534 from Roardom/refactor-middleware
(Refactor) Move middleware checking from controllers to routes
2023-01-05 22:28:03 -05:00
Roardom
694e6f85ff refactor: move middleware checking from controllers to routes 2023-01-05 21:04:37 -06:00
Roardom
985423e267 update: announce 2023-01-04 05:46:02 -06:00
HDVinnie
cac27757a4 chore: styleci 2022-09-07 10:13:27 -04:00
HDVinnie
fbf16412e3 refactor: fixes and updates
- still need to add lang and test
2022-09-07 10:12:13 -04:00
Jay Sizzla
1a0e8718c9 fix style ci 2022-09-07 08:51:35 +02:00
Jay Sizzla
490b6fc1ec fix style CI 2022-09-07 08:49:31 +02:00
Jay Sizzla
32c448e99b add client blacklist from DB 2022-09-07 08:45:10 +02:00