Commit Graph

484 Commits

Author SHA1 Message Date
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
HDVinnie
b8af663a1f fix: torrent controller 2023-01-09 00:48:11 -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
4da8bc29de PSR12 Linting 2023-01-05 07:54:08 +00:00
Roardom
47f64e47da update: cache freeleech tokens 2023-01-04 23:10:03 -06:00
Roardom
50e7463926 update: cache personal freeleeches 2023-01-04 23:07:23 -06:00
HDVinnie
05bccf43f8 Merge branch '6.x.x' into Refund-System 2022-12-27 19:34:32 -05:00
HDVinnie
d4747f2ca7 PSR12 Linting 2022-12-24 23:23:46 +00:00
Roardom
fc0235e39b update: fulfill requests with torrent id instead of info_hash 2022-12-23 16:07:47 -06:00
HDVinnie
1c4eec355c Merge branch '6.x.x' into Refund-System 2022-12-15 17:30:03 -05:00
HDVinnie
ed7e21e21e update: TorrentController 2022-12-15 17:26:30 -05:00
HDVinnie
31baa631a8 update: torrent show function and views 2022-12-15 17:19:39 -05:00