HDVinnie
99fd793d3d
refactor: rename param to match type
2020-09-04 13:33:20 -04:00
PyR8zdl
4cb4dfd17a
Fixes featured torrents not being set to freeleech and doubleup when uploaded via API
2020-08-07 17:26:30 -05:00
HDVinnie
0733269867
update: phpdoc blocks
2020-07-22 16:57:13 -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
HDVinnie
e7ccde0190
refactor: rename property to match type
2020-07-22 14:50:41 -04:00
HDVinnie
67edb56d01
fix: resolutions system
2020-06-09 22:06:13 -04:00
HDVinnie
296e4f590b
update: torrent api controller
2020-06-06 22:36:16 -04:00
HDVinnie
f8e93da99e
update: api torrent controller
2020-06-06 21:45:06 -04:00
HDVinnie
f69ecec866
refactor: code quality changes
2020-06-02 18:37:19 -04:00
HDVinnie
7c1c37d52e
update: torrent request types
2020-05-26 20:08:52 -04:00
HDVinnie
ee85ab10ba
update: torrent types
2020-05-26 13:45:43 -04:00
HDVinnie
3d3de56ccb
update: queries
2020-05-26 13:22:18 -04:00
HDVinnie
bf76798bd3
refactor: nullable compare to null
2020-04-24 11:31:12 -04:00
HDVinnie
78608a4666
refactor: space after sole ! operators
...
- There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
887fc2be78
chore: styleci
2020-04-07 14:24:15 -04:00
HDVinnie
657fe1d1d7
update: torrent api
...
- update torrent resource to parse torrent size
- add filter params for torrent size, info_hash and file_name
2020-04-07 14:20:15 -04:00
HDVinnie
a724a9c1eb
update: simplify if else to ternary
2020-03-22 11:45:41 -04:00
PyR8zdl
5b7decc002
styleci fixes
2020-03-20 14:09:25 -05:00
PyR8zdl
d71ca03455
Fixed indent's
2020-03-20 14:02:20 -05:00
PyR8zdl
efc65e45d1
Fixed more issues. Mostly tested.
2020-03-18 20:08:32 -05:00
PyR8zdl
dd67d63cbb
Fixed Logical Operator
2020-03-18 16:23:21 -05:00
PyR8zdl
91122f532c
ADD new options on torrent upload **STILL TESTING**
...
Adds options to set torrent as Featured, DoubleUp, Freeleech, and Sticky on upload api endpoint.
I've done limited testing on this and I'm worndering if this could be done better.
2020-03-18 16:00:13 -05:00
shlandturtle
89396e8068
fix: internal in API
2020-03-08 17:27:08 +00:00
HDVinnie
408bfafc3e
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-03-05 15:47:30 +00:00
HDVinnie
4b9c006a05
chore: phpdoc blocks cleanup
2020-03-05 10:46:14 -05:00
staticza
e3df04bca4
Fix error in check/delete of torrent after failing validation
...
Check / delete of torrent file was referencing the incorrect disk. It was referring to `torrent` instead of `torrents`.
2020-03-02 00:58:49 +02:00
Ben Johnson
aa32a893fa
tests: Implement TorrentController API tests
...
As part of this effort, a dedicated "torrents" storage location was
added to filesystems.php, which affects the torrent file storage
location. Accordingly, the torrent files in existing installations will
need to be moved (or symlinked) upon upgrade. The primary reason for
this change is mentioned in the Laravel docs: "This convention will
keep your publicly accessible files in one directory that can be easily
shared across deployments when using zero down-time deployment systems
like Envoyer."
2020-02-24 15:24:50 -05:00
Ben Johnson
a6f606ed9f
tests: Improve several tests
2020-02-21 17:51:22 -05:00
Ben Johnson
5db70a9ea8
tests: Flesh-out several more ChatController tests
2020-02-20 16:38:43 -05:00
Ben Johnson
837d84c82a
tests: Add a couple more tests
2020-02-19 22:08:19 -05:00
HDVinnie
605c337204
refactor: encapsed strings to sprintf
2020-02-17 13:52:20 -05:00
HDVinnie
29cd6e8eb6
refactor: use identical over equal with same type
2020-02-16 21:04:19 -05:00
HDVinnie
6eaeb07fc1
refactor: simplify ifelse to ternary
2020-02-13 17:30:47 -05:00
HDVinnie
285ecfa38b
refactor: count on null
2020-02-12 19:15:58 -05:00
HDVinnie
c8d953a3ad
Merge branch 'master' into development
2020-02-12 18:03:21 -05:00
HDVinnie
dd0adb5f5a
chore: add missing license blocks
2020-02-12 15:21:47 -05:00
HDVinnie
780e0c1f0e
chore: update license block
2020-02-12 15:05:34 -05:00
HDVinnie
e47afe4ab4
chore: styleci
2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c
chore: update license block
...
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940
chore: update license block
2020-02-12 14:45:59 -05:00
HDVinnie
8d72989943
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-02-12 17:41:17 +00:00
HDVinnie
611fcd6bc1
refactor: if / else / elseif statements
...
- Change If Else Value Assign To Early Return
- Change Nested Ifs To Early Return
- Remove Always Else
2020-02-12 12:34:34 -05:00
HDVinnie
52e280296e
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-02-08 13:03:22 +00:00
HDVinnie
3170373de0
Update TorrentController.php
2020-02-08 08:02:04 -05:00
PyR8zdl
3183cdf067
Add reseed filter to torrent API
...
This filter will aid in programmatically auto reseeding torrents that need it.
2020-02-07 21:56:51 -06:00
HDVinnie
9a893662de
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
d4f48c272f
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-12-23 04:25:21 +00:00
HDVinnie
c55d47cabb
(Update) Torrent API 🚀
...
- added filtering
2019-12-01 11:35:46 -05:00
HDVinnie
188fee71c9
(Update) TorrentController 🚀
2019-11-28 17:21:56 -05:00
HDVinnie
a557e92fc4
(Add) API BaseController 🆕
2019-11-28 17:21:30 -05:00