11 Commits

Author SHA1 Message Date
Roardom
8b27413fe8 refactor: make laravel eloquent models final
We never plan to extend a model, and value composition over inheritance. We need to add the AllowDynamicProperties warning to prevent PHPStan errors that arise with pivot relations (https://www.github.com/larastan/larastan/issues/2256).
2025-10-29 10:19:39 +00:00
Roardom
3988eaaf70 update: model phpdocs
- `use` the relation types
- Use sentence case
- Write better summaries similar to laravel's documentation (don't just repeat the type and the model)
2025-09-20 01:35:37 +00:00
HDVinnie
a1e45a4dca add: ability to hide adult content
- closes #4866
- closes #4867
2025-09-17 14:35:00 -04:00
HDVinnie
60a887faf8 chore: larastan ci 2025-07-15 18:14:45 -04:00
HDVinnie
170f704d0c add: user homepage block ordering
- closes #4791
- uses alpinejs drag and drop function
- renames visible columns for better consistency
- eager loads user settings for block performance
2025-07-15 18:04:18 -04:00
HDVinnie
885e34d953 add: user homepage block settings
- Now users can fully customize which blocks they want to see on sites homepage by toggling them in the user settings page.
2025-06-19 11:43:20 -04:00
Roardom
7998c4a204 add: setting to automatically unbookmark torrents upon completion
Only every 15 minutes for now instead of upon immediate completion, but it makes the code much easier to implement.
2025-03-23 21:17:11 +00:00
Roardom
872d28d9c0 fix: larastan relations 2024-08-09 07:33:56 +00:00
HDVinnie
8ad0097fc9 fix: HasFactory types 2024-07-18 23:42:13 -04:00
HDVinnie
c4cd52e23b fix: multiple bugs
- adds laravel 11 casts support to phpstan https://github.com/larastan/larastan/blob/2.x/UPGRADE.md#upgrading-to-296-from-295
- fixes multiple bugs found by phpstan
- removes dead code in torrent filter trait
- ignores three new files in phpstan.neon temp until debugged for timeouts
2024-06-19 13:43:59 -04: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