Commit Graph

86 Commits

Author SHA1 Message Date
Roardom
e4c07b5f52 fix: rely on if tmdb/igdb exists to determine meta
Instead of blindly using the respective tmdb associated with the torrent's category. Also fixes wishlist notifications if a user has a wishlist entry with a null tmdb and a user uploads a torrent without a tmdb.
2025-03-26 21:35:41 +00:00
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
HDVinnie
6e2c8f569d Merge pull request #4492 from Roardom/moderation-status-enum
(Refactor) Use moderation status enum and cast
2025-03-05 06:16:23 -05:00
Jay Sizzla
54a9541240 Use shouldSend for NewUpload notifications 2025-02-27 13:08:43 +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
b2e29cfcf0 fix: migrate boolean columns to tinyint(1)
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
Roardom
604b7e1937 add: spell check ci
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
2025-01-24 11:30:34 +00:00
Roardom
a0299daa16 refactor: use eloquent relations directly 2024-08-18 03:26:41 +00:00
Roardom
64a60089d9 refactor: treat sprintf as native function
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +00:00
HDVinnie
2c0a4794cc Merge pull request #3952 from costaht/master
(FIX) Appending missing colon to the function privmsg
2024-06-29 23:35:51 -04:00
costaht
a8e1167c1e Removing delimiter from the message body 2024-06-27 13:51:35 -03:00
HDVinnie
3214000ca7 Merge pull request #3950 from costaht/master
(Fix) IRC Bot PRIVMSG prefix missing
2024-06-26 19:47:17 -04:00
costaht
d726969b47 PRIVMSG prefix missing
Formatting in accordance with RFC 1459
2024-06-26 20:24:41 -03:00
HDVinnie
1f702a2d37 Merge pull request #3863 from Roardom/title-subscribe
(Refactor) Wishlist and add movie/tv subscriptions
2024-05-26 15:13:22 -04:00
Roardom
0df196f077 refactor: wishlist and add movie/tv subscriptions
closes #3826
2024-05-24 11:38:06 +00:00
Roardom
12903f64ac fix: strict type issues
Don't pass null into functions that don't accept null.
2024-05-23 17:40:16 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
c4371a3dee add: tmdb votes and count to irc announce 2024-04-26 18:37:14 +00:00
HDVinnie
3429ddb7c0 fix: torrent helper autofreeleech
- credit to @MiM-MiM

Co-Authored-By: MiM-MiM <69122723+MiM-MiM@users.noreply.github.com>
2024-03-24 18:57:02 -04:00
Roardom
2fbae7f55d refactor: use more fluent syntax for irc bot 2024-03-03 19:36:54 +00:00
Roardom
f8d6e73902 refactor: use system user id constant in more places 2024-02-24 05:08:58 +00:00
Roardom
4422222a4b add: automatic torrent freeleeches
Automatically set torrents to freeleech if they match the given criteria.
2024-02-07 11:14:39 +00:00
Roardom
7bc0bc87d9 fix: larastan errors in Helpers\TorrentHelper.php 2024-01-03 03:23:04 +00:00
Roardom
bc94c0ed5e update: cache torrents in announce by infohash 2023-09-07 03:37:09 +00:00
Roardom
2085656e76 fix: various larastan helper issues 2023-08-25 07:21:45 +00:00
Roardom
741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
Roardom
b5493c5642 refactor: swap where('id', '=', ) for find() 2023-06-19 23:18:40 +00:00
Roardom
a0429ca442 fix: achievement unlock
The unlock() function only takes a single argument
2023-04-12 03:19:22 +00:00
Roardom
05ad4c37b9 add: external tracker support 2023-03-27 04:17:30 -05: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
fbc0c994e8 PSR12 Linting 2022-12-29 02:55:17 +00:00
Roardom
a78ac29132 update: user followers 2022-12-28 16:26:26 -06:00
HDVinnie
0b9aea5903 update: torrent helper 2022-12-16 16:27:21 -05:00
HDVinnie
33494ca5ce refactor: simplify pointless boolean expressions in ifs 2022-08-25 19:17:06 -04:00
Shift
be2d37ed6e Use Illuminate\Support\Carbon 2022-05-31 22:05:34 +00:00
HDVinnie
00d00024e5 chore: cleanup 2022-01-23 17:42:16 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
21a25d326d fix: movie wishlist system 2020-11-01 12:05:41 -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
HDVinnie
d3e44408e5 update: irc bot 2020-10-19 11:05:01 -04:00
HDVinnie
a975116218 refactor: preslash simple functions
- Add pre-slash to short named functions to improve performance by almost 30%
-  @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie
e7ccde0190 refactor: rename property to match type 2020-07-22 14:50:41 -04:00
HDVinnie
3dc98b6d13 update: torrent helper 2020-06-20 14:35:13 -04:00
HDVinnie
ee85ab10ba update: torrent types 2020-05-26 13:45:43 -04:00
HDVinnie
605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -05:00
HDVinnie
780e0c1f0e chore: update license block 2020-02-12 15:05:34 -05:00
HDVinnie
575e8dda5e Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-06 11:44:34 +00:00
HDVinnie
e0379e5b95 (Add) Audit System 🆕
- filtering to follow
2019-11-06 06:42:17 -05:00