Commit Graph

15 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
ee55abcd3b refactor: use relational upserts
New feature added to laravel 11.18-11.19 that results in cleaner code.
2024-08-10 09:43:58 +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
Roardom
77c55b783a remove: user ratings source
This hasn't worked for years and never will due to lack of free API from IMDb.
2024-02-04 07:28:20 +00:00
Roardom
a5aa4513ad add: torrent posters search view 2023-08-19 21:48:19 +00: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
dcd4f0b578 update: combine torrent searches 2023-02-22 03:53:20 -06: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
HDVinnie
cd2c0fadab fix: GeneralSettingController 2023-01-15 20:36:03 -05:00
HDVinnie
6d585b05bc update: GeneralSettingController 2023-01-15 20:20:25 -05:00
Roardom
fb7f5f6c33 update: user general settings 2022-12-31 23:41:10 -06:00