15 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
Roardom ad8b0da80b fix: phpstan property.phpDoctype
Larastan uses a different doctype for these properties
2025-03-02 07:11:25 +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
Roardom b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom 1e3b036e03 fix: type of fillable model attribute 2024-05-18 08:43:25 +00:00
HDVinnie 8a03bec818 add: model docblocks
- this resolves some larastan property issues but in return has revealed quite a few issues with our castings and such. baseline has been regenerated so we can work through them. The properties in docblocks are in order and match everything in DB schema wise.
2024-02-07 16:39:43 -05:00
Roardom f2066f4441 fix: add type hints to models 2023-08-26 07:43:07 +00:00
HDVinnie cdf7291839 Merge branch '7.x.x' into Test-Suite 2023-08-15 23:49:26 -04:00
Roardom 3af1effaad fix: fillable type 2023-08-06 02:21:15 +00:00
HDVinnie b5f8200586 update: models
- use HasFactory for new factories
2023-07-10 12:55:12 -04:00
HDVinnie 67a25d5daf update: keywords system
- Im going to further refactor this as keywords should belong to media/meta and not torrent specific
2022-06-28 13:19:11 -04:00
HDVinnie 97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie e5a4a16ddf refactor: meta data system
- Complete rewrite of meta data system
- New media hub feature.
- Torrent Bumping Refactor
- Wish System Disabled until refactored
- Fetch meta command added for fetchinng new meta on prexsisnting torrents.
- plus alot more
- closes #1428
- closes #1344
- closes #1147
- closes #361
2020-10-28 16:42:22 -04:00