Commit Graph

128 Commits

Author SHA1 Message Date
HDVinnie
481d8133dd Apply fixes from StyleCI
[ci skip] [skip ci]
2021-06-17 00:49:38 +00:00
HDVinnie
f2c9281c4e update: torrent api
- closes #1803
2021-06-16 20:37:11 -04:00
HDVinnie
2dbadb0b75 add: torrent bdinfo 2021-05-25 19:36:36 -04:00
HDVinnie
321847e067 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-16 02:41:53 +00:00
HDVinnie
3407075214 refactor: better php8 usage
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie
041927202c refactor: type and name of catch exception should match 2021-05-15 14:01:27 -04:00
HDVinnie
999c16093b cleanup: unused variables 2021-05-15 12:52:00 -04:00
HDVinnie
07bb03c9bc Revert "refactor: dynamic calls to static"
This reverts commit 71ff333eb4.
2021-05-09 10:49:39 -04:00
HDVinnie
71ff333eb4 refactor: dynamic calls to static 2021-04-27 21:35:23 -04:00
Oha-you
7a7cdcacf3 fix: Check filenames properly, use separate function without '/' 2021-04-17 14:48:52 +03:00
Oha-you
452254c691 add: Validate if files inside torrents have valid filenames 2021-04-15 01:15:53 +03:00
Oha-you
3b8cbab91f fix: Validate if the uploaded file is a valid torrent 2021-04-14 23:01:45 +03:00
HDVinnie
8ef0446933 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-01-14 02:57:55 +00:00
HDVinnie
3e97e3941b update: torrent upload message 2021-01-13 21:57:42 -05:00
HDVinnie
c7401b7ea8 refactor: preslash simple functions
- performance
2021-01-05 17:45:46 -05:00
HDVinnie
7f77d02dd1 refactor: encapsed strings to sprintf 2021-01-02 17:46:39 -05:00
HDVinnie
c413575d44 refactor: api torrent controller
- Combine Ifs
2020-12-31 12:58:10 -05:00
HDVinnie
8a9d94e07a update: preslash simple functions
- performance
2020-12-31 12:41:46 -05:00
HDVinnie
90b3880dab update: strpos and substr functions
- strpos and substr functions calls that can be replaced with the str_* functions calls (introduced in PHP 8.0).
2020-12-30 22:55:44 -05:00
HDVinnie
0ffcc0bf46 refactor: api torrent controller 2020-12-30 01:21:27 -05:00
HDVinnie
18f299157e refactor: api chat controller 2020-12-30 01:20:40 -05:00
HDVinnie
a5ffe4a71a cleanup: api torrent controller 2020-12-28 23:13:42 -05:00
HDVinnie
2476770b10 cleanup: api chat controller 2020-12-28 23:11:30 -05:00
HDVinnie
de86488112 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-12-18 05:20:06 +00:00
HDVinnie
f0cac4a7d9 fix: api chat controller 2020-12-18 00:02:07 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie
51c8d70f94 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-12-16 03:32:01 +00:00
HDVinnie
45d9602d17 update: torrent api
- add keywords support
2020-12-15 22:31:49 -05:00
HDVinnie
8efb7b4c58 update: api chat controller
- condition that are already covered by earlier condition and thus has no effect
2020-12-03 00:09:14 -05:00
HDVinnie
78b5958686 refactor: use null comparison instead of empty 2020-12-02 21:19:45 -05:00
HDVinnie
817ce03fd0 refactor: insecure uniqid usage 2020-12-02 21:18:16 -05:00
HDVinnie
f70452da1a refactor: 'substr(...)' replaced with 'strpos(...)'
- 'substr(...)' invokes additional memory allocation (more work for GC), which is not needed in the context. 'strpos(...)' will do the same job with CPU resources only.
2020-12-02 21:07:17 -05:00
HDVinnie
80ea54dc57 fix: torrent api 2020-11-23 18:14:15 -05:00
HDVinnie
992245bbcc Apply fixes from StyleCI
[ci skip] [skip ci]
2020-10-28 20:42:44 +00:00
HDVinnie
e5a4a16ddf refactor: meta data system
- Complete rewrite of meta data system
- New media hub feature.
- Torrent Bumping Refactor
- Wish System Disabled until refactored
- Fetch meta command added for fetchinng new meta on prexsisnting torrents.
- plus alot more
- closes #1428
- closes #1344
- closes #1147
- closes #361
2020-10-28 16:42:22 -04:00
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