Roardom
cea35dc5d2
fix: validate user permissions when uploading torrents via api
2023-10-07 06:03:44 +00:00
HDVinnie
7dc1be3ce0
fix: announce
...
- checkMinInterval should not be able to be turned off
2023-10-06 05:38:16 -04:00
HDVinnie
22b538ffc0
fix: typo
2023-10-06 05:23:02 -04:00
Roardom
e1ea7b1c68
fix: phpredis compatibility for checking announce min interval
...
phpredis has a different function signature for the redis set command compared to predis. Laravel just passes the arguments directly through to the underlying package.
2023-10-06 06:19:21 +00:00
HDVinnie
777969b9b4
fix: checkMinInterval function
...
- phpredis support
2023-10-06 01:06:16 -04:00
HDVinnie
77bec4c06c
update: phpredis support
2023-10-05 22:46:12 -04:00
HDVinnie
83b5a27d4e
Merge pull request #3145 from Roardom/fix-rss-perms
...
(Fix) Rss edit/delete access
2023-10-03 08:58:15 -04:00
HDVinnie
9abf1a43de
Merge pull request #3144 from Roardom/fix-torrent-announce-cache
...
(Fix) Announce torrent cache misses
2023-10-03 08:58:02 -04:00
HDVinnie
bc551f2561
Merge pull request #3141 from milkers69/7.x.x
...
(Update) Allow Admins to Edit Any Profile
2023-10-03 08:55:59 -04:00
HDVinnie
35b75b8ac8
fix: ReportController
2023-10-01 17:54:20 -04:00
HDVinnie
e070e3420f
Merge branch '7.x.x' into fix-rss-perms
2023-09-29 07:24:23 -04:00
HDVinnie
8397a8c0e0
Merge branch '7.x.x' into fix-torrent-announce-cache
2023-09-29 07:24:09 -04:00
HDVinnie
b7d42ef807
Merge branch '7.x.x' into 7.x.x
2023-09-29 07:21:46 -04:00
HDVinnie
8992fe1956
update: TopicController
2023-09-29 07:18:19 -04:00
Roardom
741778d355
fix: rss edit/delete access
2023-09-24 01:04:45 +00:00
Roardom
361a9b3c0f
fix: announce torrent cache misses
2023-09-23 22:07:56 +00:00
milkers69
797395ac87
Allow Admins to Edit Any Profile
2023-09-12 21:38:57 -05:00
HDVinnie
fbbc7c337d
Merge pull request #3139 from HDInnovations/User-Registration
...
(Update) User registration
2023-09-12 15:52:45 -04:00
HDVinnie
1704cff498
PHP Style Change (Laravel Pint CI)
2023-09-11 23:24:19 +00:00
HDVinnie
a3494203b1
update: harden password requirements
2023-09-11 19:23:19 -04:00
HDVinnie
95aadb2e93
fix: TrackerException
2023-09-11 19:22:04 -04:00
HDVinnie
9e9b0106de
Merge pull request #3135 from Roardom/fix-announce-torrent-cache-busting
...
(Fix) Announce torrent cache busting
2023-09-10 21:04:43 -04:00
Roardom
f055335aec
fix: announce torrent cache busting
...
We don't select the info_hash on the torrent. We have to take it from the validated query parameter instead.
2023-09-10 23:44:00 +00:00
HDVinnie
47964f1e2e
Merge pull request #3120 from Roardom/fix-chatbox
...
(Fix) Chatbox
2023-09-10 17:17:42 -04:00
HDVinnie
d52b9e2815
Merge pull request #3131 from Roardom/optimize-process-announce-loop
...
(Update) Optimize process announce peer loop
2023-09-10 00:51:46 -04:00
Roardom
7e32ff041b
update: optimize process announce peer loop
...
Only loop over once instead of once for each property, check both properties in each iteration, and break early.
2023-09-10 04:47:51 +00:00
HDVinnie
a8c5bbfef4
Merge pull request #3130 from Roardom/fix-announce-user-update
...
(Fix) Announce user uploaded/downloaded update
2023-09-10 00:45:21 -04:00
Roardom
10dfb5ffef
fix: announce user uploaded/downloaded update
...
Bug caused from 31e7b73549
2023-09-10 03:21:59 +00:00
Roardom
88f8a67d1b
update: optimize announce return peer loop
...
Only loop through the peers when absolutely needed. Don't loop through more peers after we reach the limit. Do logic before looping instead of inside it.
2023-09-10 02:05:43 +00:00
HDVinnie
e04cb67336
Merge pull request #3128 from Roardom/dont-convert-ip-format
...
(Update) Don't convert ip format
2023-09-09 20:40:51 -04:00
HDVinnie
4c32ed6d63
Merge pull request #3127 from Roardom/fix-inactive-peer-counts
...
(Fix) Decrease torrent seeders/leechers when a peer is marked inactive
2023-09-09 20:40:25 -04:00
HDVinnie
51e29da577
Merge pull request #3126 from Roardom/rss-select
...
(Update) Only select what's necessary in RSS
2023-09-09 20:39:54 -04:00
HDVinnie
7903941768
Merge pull request #3125 from Roardom/fix-extra-movie-api-call
...
(Fix) Redundant movie db query for tv api calls
2023-09-09 20:39:37 -04:00
HDVinnie
d3901b0ef0
Merge pull request #3124 from Roardom/increase-cache-expiry
...
(Update) Increase announce cache expiry
2023-09-09 20:39:14 -04:00
Roardom
c092c30a3e
update: don't convert ip format
...
Bittorrent, MySQL, and Linux (and therefore PHP) all store IP addresses in network byte order, so we don't have to convert them.
2023-09-10 00:13:24 +00:00
Roardom
e62d342cb3
fix: decrease torrent seeders/leechers when a peer is marked inactive
2023-09-09 21:13:00 +00:00
Roardom
d4bb88e39f
update: only select what's necessary in RSS
...
Don't need to select the description, mediainfo, bdinfo, etc.
2023-09-09 08:01:55 +00: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
f05da6047c
update: increase announce cache expiry
...
Cache busting seems to be working enough that we probably don't need this fail-safe, but we can bump it up a bit at least. The key and value (<50 bytes for non-existant values) are small enough that we don't have to worry about running out of memory with the current rate limit in case of a few malicious users.
Co-authored-by: HDVinnie <hdinnovations@protonmail.com >
2023-09-09 06:12:39 +00:00
Roardom
ecb60fd4a2
remove: unneeded binary string encoding in announce
...
When the queue system was used, Laravel's queue system required all variables to be json-encodable, which meant encoding binary strings in either hex or base64. Now that we have inlined the queue, we can use the binary data directly without encoding.
2023-09-09 05:16:56 +00:00
HDVinnie
97c44d10e6
Merge pull request #3122 from Roardom/manual-announce-bencoding
...
(Update) Manually bencode the announce response
2023-09-08 05:23:42 -04:00
Roardom
285642f26e
fix: ci
2023-09-08 03:04:26 +00:00
Roardom
9345ad6bb3
update: manually bencode the announce response
...
Performance optimization compared to recursively encoding one character at a time using the Bencode helper function.
2023-09-08 01:46:58 +00:00
Roardom
8707d7f42d
update: remove throw_if helper overhead in announce
2023-09-07 23:23:18 +00:00
HDVinnie
9c67f26d0a
Merge pull request #3119 from Roardom/cache-announce-torrents
...
(Update) Cache torrents in announce by infohash
2023-09-07 09:32:56 -04:00
Roardom
13f0b35625
fix: chatbox
2023-09-07 08:04:55 +00:00
Roardom
bc94c0ed5e
update: cache torrents in announce by infohash
2023-09-07 03:37:09 +00:00
Roardom
8d3a796868
fix: torrent activity indicator logic
2023-09-06 01:11:42 +00:00
HDVinnie
b02991b284
Merge pull request #3117 from Roardom/treat-stop-differently-for-min-announce-enforcement
...
(Update) Delete min interval timer if stopped event
2023-09-05 21:03:18 -04:00
Roardom
f622a356b5
update: delete min interval timer if stopped event
2023-09-06 00:28:39 +00:00