Commit Graph

94 Commits

Author SHA1 Message Date
HDVinnie 6e4be4d83b chore: pint 2024-04-22 15:22:22 -04:00
Audionut 4444d9ce5b API - expose options
Expose featured and personal_release
2024-04-21 13:18:05 +00:00
LostRager 3152cc554f (Fix) Call to a member function pluck() on array 2024-04-03 04:39:28 +02:00
HDVinnie a87887734d add: #3665 2024-03-14 12:33:33 -04:00
HDVinnie 7997033fd4 Merge pull request #3640 from Roardom/no-genres
(Update) don't include `None` when there aren't any genres in api
2024-03-11 09:31:24 -04:00
Roardom 4fb8e3217d update: don't include None when there aren't any genres in api
Makes more sense than using special keywords and is undesired by downstream api consumers: https://github.com/Jackett/Jackett/pull/15106
2024-03-11 05:28:14 +00:00
Jay Sizzla c59d3957e6 Add refundable to API for post and get requests 2024-03-06 07:27:59 +00:00
HDVinnie 492c97d518 chore: pint 2024-02-04 20:57:34 -05:00
HDVinnie ea0018a862 PHP Style Change (Laravel Pint CI) 2024-01-16 18:05:08 +00:00
HDVinnie 568a422cad security: chatbox data 2023-12-30 10:04:35 -05: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 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 42c23aa0b5 fix: Resource php doc blocks 2023-08-25 03:07:58 +00:00
Roardom 4f95933797 update: use eager loading in torrent api 2023-07-23 10:49:28 +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
Roardom b5493c5642 refactor: swap where('id', '=', ) for find() 2023-06-19 23:18:40 +00:00
Roardom ea9fd6c9c9 update: swap infohash from ascii-encoded hex to binary 2023-04-08 08:02:04 +00:00
HDVinnie f4ebee885c update: lint 2023-02-03 22:23:00 -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 2ca429c4ce Revert "PSR12 Linting"
This reverts commit 7e65e1d589.
2022-09-11 19:51:58 -04:00
HDVinnie 7e65e1d589 PSR12 Linting 2022-09-11 23:50:41 +00:00
StyleCI Bot fd74a3528a Apply fixes from StyleCI 2022-08-07 15:05:40 +00:00
HDVinnie a8ce41b997 update: torrent resource
- requested by Jackett
2022-08-07 11:05:19 -04:00
StyleCI Bot 2eae5cb1e6 Apply fixes from StyleCI 2022-03-30 14:08:38 +00:00
HDVinnie fa9f5db5d3 update: torrent api 2022-03-30 10:08:14 -04:00
StyleCI Bot d3b0ed05cc Apply fixes from StyleCI 2022-02-09 04:35:52 +00:00
HDVinnie 1fc7c75eaa update: dependencies 2022-02-08 23:34:35 -05:00
HDVinnie 00d00024e5 chore: cleanup 2022-01-23 17:42:16 -05:00
HDVinnie 98521378d2 chore: phpdoc blocks 2022-01-10 17:46:43 -05:00
HDVinnie 97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie 791d0fe25d update: torrent api
- when filtering for free torrents show all >= 1
- show % base in torrent resource
2021-12-09 23:17:54 -05:00
HDVinnie b67193c211 Apply fixes from StyleCI 2021-11-30 02:32:11 +00:00
HDVinnie 75f45e55aa update: api torrent reasources 2021-11-29 21:31:54 -05:00
HDVinnie 3336aff19a update: torrent resource 2021-11-27 13:41:21 -05:00
HDVinnie d2dcb98c92 Apply fixes from StyleCI 2021-10-22 17:04:33 +00:00
HDVinnie a62fe5d4dc update: api torrent resource 2021-10-22 13:04:14 -04:00
HDVinnie 87a3fd1d01 update: torrent resource 2021-10-21 15:47:47 -04:00
HDVinnie 3d91329136 update: torrent api 2021-10-21 15:36:45 -04:00
HDVinnie 749a14eb46 security: chat data 2021-09-26 11:59:15 -04:00
HDVinnie f2c9281c4e update: torrent api
- closes #1803
2021-06-16 20:37:11 -04:00
HDVinnie 40157703a5 update: api torrent resource 2021-04-20 23:46:52 -04:00
HDVinnie 13ccb517ba Apply fixes from StyleCI
[ci skip] [skip ci]
2020-11-24 07:51:55 +00:00
HDVinnie a9c9067ab6 update: emoji support
- rebranding to latest joypixels
2020-11-24 02:51:43 -05:00
HDVinnie 80ea54dc57 fix: torrent api 2020-11-23 18:14:15 -05:00
HDVinnie 1042342923 refactor: preslash simple functions 2020-09-04 13:06:59 -04:00
HDVinnie 4a7dfdeceb update: chatbox 2020-08-27 09:37:50 -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