Commit Graph

31 Commits

Author SHA1 Message Date
Roardom
b2e29cfcf0 fix: migrate boolean columns to tinyint(1)
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
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
HDVinnie
192b5ed15d chore: remove unused imports that pint is missing 2024-12-01 20:52:32 -05:00
Roardom
a0299daa16 refactor: use eloquent relations directly 2024-08-18 03:26:41 +00:00
HDVinnie
bcb2cbcc35 update: internal controller 2024-07-08 19:46:46 -04:00
HDVinnie
16e6ef4fb5 add: internal stats 2024-07-08 00:08:28 -04:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
c3c95c2d41 update: allow users to be part of multiple internal groups 2024-02-23 23:57:12 +00:00
Roardom
31a228c88a refactor: use route model binding for staff internals 2023-07-07 03:18:13 +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
1fa4a3e506 refactor: swap sorting in laravel to ordering in the database 2023-06-19 23:18:40 +00:00
Roardom
b5493c5642 refactor: swap where('id', '=', ) for find() 2023-06-19 23:18:40 +00: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
a7b06b3e0b refactor: move internal requests to form requests 2023-01-08 05:04:49 -06:00
HDVinnie
0b334015a3 PSR12 Linting 2023-01-06 03:29:00 +00:00
Roardom
694e6f85ff refactor: move middleware checking from controllers to routes 2023-01-05 21:04:37 -06: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
StyleCI Bot
e292545306 Apply fixes from StyleCI 2022-05-31 22:06:07 +00:00
Shift
be2d37ed6e Use Illuminate\Support\Carbon 2022-05-31 22:05:34 +00:00
HDVinnie
594b7864d9 refactor: adopt new helpers in laravel 9 2022-03-06 17:20:05 -05:00
HDVinnie
98521378d2 chore: phpdoc blocks 2022-01-10 17:46:43 -05:00
HDVinnie
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
HDVinnie
a2cdb5f5ff update: type hints 2022-01-08 14:37:50 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04:00
HDVinnie
dc43831f58 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-28 16:19:23 +00:00
HDVinnie
75c2686f68 update: phpdoc blocks 2021-09-28 12:16:43 -04:00
Obi-Wana
c4013fd8f7 fix styleCI 2021-07-31 12:47:14 +02:00
Obi-Wana
15b0051772 add internal controller for staff 2021-07-31 10:25:17 +02:00