Commit Graph

13 Commits

Author SHA1 Message Date
Roardom
5f60ce6b77 refactor: enforce view filenames to use kebab case
Also had to use `@style` directives inside /resources/views/components/user-tag.blade.php. Prettier was erroring when the `@if` directive was inside the html attribute otherwise. Seems to have always been an issue, but the CI must only be formatting files that changed and because the file was only just changed now, it never discovered it until now.
2025-05-07 08:28:46 +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
Roardom
9ab8ba18e5 refactor: reduce usage of numeric strings 2024-08-26 10:14:52 +00:00
Roardom
46240da36f refactor: clean up user settings controllers
Use form requests
2024-05-29 10:40:15 +00:00
Roardom
d00475778b update: normalize user settings
Use a 1-1 relation. Cache it indefinitely to reduce queries for every http request. This will make it much easier to add additional user settings for various site features without sacrificing clean code or performance.
2024-05-26 10:42:00 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
HDVinnie
aa3dc8ed18 refactor: enums 2024-01-04 03:26:10 -05:00
HDVinnie
834f7f4d7a update: UserGroups ENUM 2023-10-31 06:47:08 -04:00
Roardom
4d16bc08df refactor: use mass assignment for user settings 2023-07-07 00:28:47 +00:00
Roardom
aef482682b refactor: swap comparing ids to is() and isNot 2023-07-07 00:28:47 +00:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25: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
35c69b8f2f update: user privacy settings 2022-12-31 23:29:15 -06:00