Commit Graph

39 Commits

Author SHA1 Message Date
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
32cf8da4db refactor: split tmdb into movie_id and tv_id
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
Roardom
5a6259cea7 remove: sd content and stream optimized flags
SD content is represented by the resolutions table now instead of this flag. Most people prefer web-dls over stream-optimized encodes these days.
2025-03-09 03:33:32 +00:00
Roardom
a447269552 refactor: use moderation status enum and cast
For consistency and less magic numbers hard coded everywhere.
2025-02-26 14:23:02 +00:00
Roardom
df9fa5004c fix: normalize torrent featured flag
When the featured flag goes out of sync with the featured_torrents table (for reasons still unknown), the torrent is permanently labeled as freeleech, while 100% of traffic is always credited.
2025-02-10 17:47:12 +00:00
clandestine8
28678ab0b8 fix: Blank NFO in Torrent Factory due to encoding issues when displaying factory generated NFOs. 2025-01-11 11:14:17 -05:00
HDVinnie
f92194281c refactor: release years
- remove the release_year column from the torrents table and just search the movie/tv tables instead
2024-08-13 22:18:38 -04:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
417cf366f2 fix: phpstan database factory errors 2024-01-08 12:38:34 +00:00
HDVinnie
cdf7291839 Merge branch '7.x.x' into Test-Suite 2023-08-15 23:49:26 -04:00
HDVinnie
5a96be05c0 update: torrent factory 2023-07-31 09:11:02 -04:00
HDVinnie
b41e44310c update: factories
- update existing factories
- add missing factories
2023-07-10 12:54:19 -04:00
Roardom
741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
Roardom
ea9fd6c9c9 update: swap infohash from ascii-encoded hex to binary 2023-04-08 08:02:04 +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
54220dcfc8 remove: slugs 2023-01-06 16:05:53 -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
db58733d02 Apply fixes from StyleCI 2022-01-19 19:53:29 +00:00
Shift
1cb135b552 Remove unnecessary $model property 2022-01-19 19:51:29 +00:00
HDVinnie
dd19889ee6 Merge branch '6.x.x' into Code-Style 2022-01-10 17:03:50 -05:00
HDVinnie
d601775e7e tests: use Faker methods instead of accessing Faker properties 2022-01-08 03:43:50 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
7a5f1d8d5b update: torrent factory 2021-12-10 00:34:45 -05:00
HDVinnie
69fc0f7f40 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-13 00:38:30 +00:00
HDVinnie
d75bbdc665 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-13 00:36:19 +00:00
HDVinnie
b5c27ce8cd refactor: convert simple closures to arrow functions 2021-07-12 20:35:41 -04:00
HDVinnie
abea2d1ea5 update: factories 2020-12-15 19:06:09 -05:00
HDVinnie
bb4461a6dd update: torrent factory 2020-12-15 14:51:47 -05:00
HDVinnie
8ee27e47b4 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-10-06 05:45:59 +00:00
HDVinnie
67831cd7e0 update: laravel 8 support 2020-10-06 01:45:47 -04:00
HDVinnie
9f2fdb5335 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-09-08 22:25:50 +00:00
Laravel Shift
add31768f5 Shift to class based factories 2020-09-08 22:24:30 +00:00
HDVinnie
5756be5432 update: tests 2020-06-06 22:14:31 -04:00
HDVinnie
f0eb5f3672 update: torrent factory 2020-05-18 23:14:01 -04:00
HDVinnie
ad3ec8de19 tests: console commands 2020-02-25 13:01:48 -05:00
Ben Johnson
aa32a893fa tests: Implement TorrentController API tests
As part of this effort, a dedicated "torrents" storage location was
added to filesystems.php, which affects the torrent file storage
location. Accordingly, the torrent files in existing installations will
need to be moved (or symlinked) upon upgrade. The primary reason for
this change is mentioned in the Laravel docs: "This convention will
keep your publicly accessible files in one directory that can be easily
shared across deployments when using zero down-time deployment systems
like Envoyer."
2020-02-24 15:24:50 -05:00
HDVinnie
de0b19f27d Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-14 21:42:32 +00:00
HDVinnie
f6bb39b56e tests: update model factories 2020-02-14 16:39:13 -05:00