Commit Graph

446 Commits

Author SHA1 Message Date
Roardom
eeb13545f6 fix: freeleech token icon
A different variable was passed into the view compared to what was expected.
2023-11-14 18:58:43 +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
b3f0386149 cleanup: pt.1 2023-10-12 22:30:52 -04:00
Roardom
bc94c0ed5e update: cache torrents in announce by infohash 2023-09-07 03:37:09 +00:00
Roardom
37000e6d3f update: use movie/tv poster component for recommendations 2023-08-30 08:05:21 +00:00
Roardom
2ca7adbbe5 fix: various larastan controller issues 2023-08-25 09:13:18 +00:00
Roardom
6e6f551367 fix: various larastan livewire issues 2023-08-25 06:45:41 +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
bb5255d968 Revert "update: cache personal freeleech existence instead of its value"
This reverts commit b48a9222d1.
2023-07-28 06:08:55 +00:00
Roardom
b48a9222d1 update: cache personal freeleech existence instead of its value
We only cache it if it exists, so let's not query it every single time it doesn't exist.
We don't remove it from the hourly run command yet so that currently existing freeleeches can be deleted.
2023-07-25 22:48:56 +00:00
Roardom
229eed8091 refactor: use _id suffix on bon_transactions foreign keys 2023-07-22 21:30:50 +00:00
Roardom
5ec59675c4 update: drop position column on distributors
With almost 1000 distributors, it's a nightmare trying to add a new distributor and having to change its position. All the distributors are ordered alphabetically anyways so just order based on the `name` field instead.
2023-07-20 10:30:07 +00:00
HDVinnie
ab1bcce48c PHP Style Change (Laravel Pint CI) 2023-07-18 04:53:41 +00:00
HDVinnie
3330e0aa1f fix: torrent deletion pms
- insert does not set timestamps automatically
2023-07-18 00:52:34 -04:00
Roardom
061fb0153d fix: torrent deletion message not allowing spaces 2023-07-14 21:11:38 +00:00
Roardom
741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
Roardom
f28282fa8a fix: incorrect route parameters on torrent update
Route model binding isn't used here. We need to use the id manually.
2023-07-08 04:53:27 +00:00
Roardom
097c60db72 fix: fetch relation result instead of relation.
We want the category database record, not the query builder instance.
2023-07-08 04:52:22 +00:00
Roardom
b4da1366f4 fix: append to correct keywords variable on torrent edit
The wrong variable was used. Previously the string was used instead of the array.
2023-07-08 04:51:12 +00:00
Roardom
222d2dee59 refactor: cruddify playlists
Use cruddy routes and controllers. Use route model binding. Use mass assignment. Use form requests. Use pivot model.
2023-07-07 03:18:13 +00:00
Roardom
0000838d8b refactor: cruddy torrents
Separate torrents into cruddy route names. Route model binding isn't possible due to the global scope on unapproved torrents. Use form requests. Simplify the controller flow where possible.
2023-07-07 03:18:13 +00:00
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
HDVinnie
4aae465913 fix: TorrentController 2023-06-21 20:23:32 -04:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
Roardom
1fa4a3e506 refactor: swap sorting in laravel to ordering in the database 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
4aa67fe22a Merge branch '7.x.x' into Refund-System 2023-05-20 11:06:12 -04:00
Roardom
18e79baaaa refactor: remove torrent preview
No longer used
2023-05-01 03:04:28 +00:00
Roardom
af12edb4ea update: cruddify torrent views 2023-04-28 18:03:27 +00:00
LostRager
2a1fa078e7 Update TorrentController.php 2023-04-21 08:53:10 +02:00
HDVinnie
9c6405382c update: TorrentController
- close #2711
2023-04-20 09:13:02 -04:00
Roardom
05ad4c37b9 add: external tracker support 2023-03-27 04:17:30 -05:00
HDVinnie
d7b8130ff7 Merge branch '7.x.x' into Refund-System 2023-03-25 20:28:47 -04:00
Roardom
5d3ef3be48 fix: upload and request buttons on meta when value is missing 2023-03-21 02:12:08 -05:00
Roardom
7e1bb1ad5b update: new metadata redesign 2023-03-19 18:48:55 -05:00
Roardom
dc4a161fc0 optimize: torrents list
Eager load the bookmarks and fl tokens
2023-02-15 06:04:01 -06:00
HDVinnie
baec84fd20 Merge branch '6.x.x' into Refund-System 2023-02-11 10:17:44 -05:00
Roardom
d97ab002f2 remove: redundant bbcode converter 2023-02-07 23:51:10 -06:00
HDVinnie
09f12c18fd PHP Style Change (Laravel Pint CI) 2023-02-07 13:45:58 +00:00
HDVinnie
3ea06a0a6d Merge branch '6.x.x' into Refund-System 2023-02-07 08:44:57 -05:00
HDVinnie
f4ebee885c update: lint 2023-02-03 22:23:00 -05: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
85ab302611 update: announce 2023-01-23 21:31:51 -05:00
Roardom
7a89f93c9d update: torrent edit page 2023-01-10 01:53:35 -06:00
HDVinnie
39919f2d80 update: TorrentController 2023-01-09 02:09:25 -05:00