Roardom
d59ef3ba8d
remove: unused action from chat controller
2024-05-01 05:48:59 +00:00
Roardom
837441d34e
refactor: simplify chatroom get echoes/audibles exist condition
2024-05-01 05:48:59 +00:00
Roardom
d32ae88e86
remove: casino/trivia/bet bots
...
These bots don't currently do anything. Exception: the casino bot accepts donations through a nerdbot command but doesn't currently do anything else with it. If any trivia/casino/bet features need to be brought back, it would be easy enough to view the old code through the git history, but there's probably a bunch that can be improved with its interface as well.
2024-04-30 07:41:27 +00:00
HDVinnie
bd54a2334d
fix: carbon issues
2024-04-24 10:15:54 -04:00
Roardom
9d8621fc3c
fix: ci
...
`featured` is both an attribute and a relation. Using `getAttribute`, we always prioritize the attribute, which seems to satisfy CI.
2024-04-20 02:24:39 +00:00
Roardom
11ef47ca09
fix: refresh the torrent before sending to external tracker
...
We need to populate the status, seeders, leechers, and times_completed fields.
2024-04-20 01:47:32 +00:00
Roardom
899f121e6f
fix: add/remove featured torrents to external tracker
2024-04-19 14:29:50 +00:00
Roardom
f61364f803
fix: add torrents to external tracker immediately
...
Otherwise, we get errors when deleting pending torrents.
2024-04-19 13:39:43 +00:00
HDVinnie
c5d7859dd8
fix : #3724
...
- closes #3724
2024-04-07 21:03:50 -04:00
HDVinnie
d5b03b55fe
refactor: meta scoping
...
- removes duplicate code into a single usable trait
2024-03-19 13:39:24 -04:00
HDVinnie
a87887734d
add: #3665
2024-03-14 12:33:33 -04:00
Jay Sizzla
c59d3957e6
Add refundable to API for post and get requests
2024-03-06 07:27:59 +00:00
HDVinnie
ed7f17720a
update: ChatController
2024-02-23 20:54:26 -05:00
HDVinnie
221b9e4dee
remove: joypixel emojis
2024-02-22 17:44:53 -05:00
Roardom
5e6eeadc61
fix: case insensitivity duplicate checking in keyword upsert
...
We were deduping keywords, but we were only checking for exact duplicates. Now we check for case insensitive duplicates, and make sure to update the duplicates on upsert instead of treating the upsert as an insert. Fixes #3412 .
2024-01-24 04:51:38 +00:00
Roardom
5c57979d4a
add: adult filter to advanced torrent search
2024-01-22 09:54:01 +00:00
Roardom
29b16a1e2f
fix: missing mediainfo returning empty string instead of null
2024-01-16 02:26:42 +00:00
Roardom
575729e805
fix: larastan errors in Helpers\TorrentTools.php
2024-01-03 03:21:46 +00:00
Roardom
5fd8ac8733
update: enforce max torrents per page
2024-01-01 17:06:03 +00:00
Roardom
fc953a1985
add: filter torrent search by primary language
2023-12-27 11:39:12 +00:00
HDVinnie
3f03214e39
PHP Style Change (Laravel Pint CI)
2023-11-07 23:54:38 +00:00
HDVinnie
656647649f
Revert "cleanup: pt.2"
...
This reverts commit 33d9927abd .
2023-10-12 23:11:20 -04:00
HDVinnie
33d9927abd
cleanup: pt.2
2023-10-12 22:41:46 -04:00
HDVinnie
4ce90b163f
PHP Style Change (Laravel Pint CI)
2023-10-13 02:31:58 +00:00
HDVinnie
b3f0386149
cleanup: pt.1
2023-10-12 22:30:52 -04:00
Roardom
cea35dc5d2
fix: validate user permissions when uploading torrents via api
2023-10-07 06:03:44 +00:00
HDVinnie
47964f1e2e
Merge pull request #3120 from Roardom/fix-chatbox
...
(Fix) Chatbox
2023-09-10 17:17:42 -04:00
Roardom
5fc28983a6
fix: redundant movie db query for tv api calls
...
Tv torrents don't have the `movie` relation eager loaded so it will try and fetch the `movie` relation if it's not eager loaded. Since we don't care about movies on a tv torrent, use a variable that doesn't have the same name as a relation so that it can't get loaded.
2023-09-09 07:19:43 +00:00
Roardom
13f0b35625
fix: chatbox
2023-09-07 08:04:55 +00:00
HDVinnie
88d114c526
PHP Style Change (Laravel Pint CI)
2023-08-30 09:39:04 +00:00
Roardom
df1289d4cd
update: retrieve user by request rather than authFactory
2023-08-30 09:37:42 +00:00
Roardom
2ca7adbbe5
fix: various larastan controller issues
2023-08-25 09:13:18 +00:00
Roardom
a262891921
update: torrent upload keywords and files
...
Reduce n+1 queries, fix float being passed to `chunk` instead of int, fix incorrect column name (`torrent_id` is the correct one)
2023-08-23 03:22:56 +00:00
Roardom
40d8934abf
update: don't store announce url in torrent file
...
We previously overwrote the provided PID, but all we need to do is just delete it.
2023-07-31 05:24:26 +00:00
Roardom
4c4583bc86
add: torrent folder name to files list
2023-07-30 04:29:29 +00:00
Roardom
4f95933797
update: use eager loading in torrent api
2023-07-23 10:49:28 +00:00
Roardom
9d4789ba91
refactor: require whitespace before statements
2023-07-07 00:27:13 +00:00
Roardom
738bc7f2d1
refactor: single line delete queries
2023-07-07 00:26:17 +00:00
HDVinnie
5232781f03
Merge pull request #2840 from Roardom/code-cleanup-3
...
(Refactor) Code Cleanup
2023-06-19 20:14:57 -04:00
Roardom
177c59d88d
refactor: swap firstOrFail() for sole() to enforce a single result
2023-06-19 23:18:40 +00:00
Roardom
b5493c5642
refactor: swap where('id', '=', ) for find()
2023-06-19 23:18:40 +00:00
HDVinnie
d3f3510011
remove: unused foreach keys
2023-06-19 10:18:48 -04:00
Roardom
ff4e0854a7
update: implement basic caching for api
2023-04-10 01:11:29 +00:00
Roardom
ae81678287
update: optimize api
...
Make pagination opt in by default
Stop calculating thanks and comment count for the API since it's not used for anything
2023-04-10 00:39:24 +00:00
HDVinnie
3650900c97
update: lint
...
- not_operator_with_space to false
2023-02-03 16:01:29 -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
1dd60acb6d
PSR12 Linting
2023-01-07 04:44:46 +00:00
Roardom
54220dcfc8
remove: slugs
2023-01-06 16:05:53 -06:00
HDVinnie
d0b2ba5f94
update: torrent api
2022-11-17 21:12:43 -05:00
HDVinnie
f6bf6a326e
PSR12 Linting
2022-09-11 23:54:18 +00:00