Commit Graph

69 Commits

Author SHA1 Message Date
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
ace8dcb5b1 revert: peer batching 2022-11-14 20:10:26 -05:00
HDVinnie
2fca81af28 disable: peer batching
- further debugging needed
2022-11-14 19:59:53 -05:00
HDVinnie
65e2b375e3 Merge pull request #2446 from Roardom/redis-peers
(Update) Batch peer updates
2022-11-11 20:39:08 -05:00
HDVinnie
b9025ce2cd Merge pull request #2074 from HDInnovations/Warnings-System
(Refactor) Warnings System
2022-11-04 22:08:40 -04:00
Roardom
cb62d9a872 update: batch peer updates 2022-10-30 19:56:43 -05:00
Roardom
199cd9ea5f add: staff page to view cheated torrents 2022-09-30 14:15:05 -05:00
HDVinnie
5414340e44 chore: code cleanup 2022-08-25 19:26:08 -04:00
HDVinnie
ad910b3832 update: announce 2022-08-21 00:04:48 -04:00
HDVinnie
76283bac0f update: announce 2022-08-18 19:44:26 -04:00
HDVinnie
29d6b85c82 update: announce 2022-08-09 16:21:38 -04:00
HDVinnie
8ab045e2bb update: announce system 2022-08-08 22:50:25 -04:00
HDVinnie
786417b5f4 Merge branch '6.x.x' into Warnings-System 2022-06-15 02:02:26 -04:00
HDVinnie
68e6ad87f8 update: remove timed torrent buffs command 2022-02-03 18:28:58 -05:00
Shift
88855eeda0 Streamline $commands property 2022-01-19 19:51:12 +00:00
HDVinnie
2f4406238f Merge branch '6.x.x' into Warnings-System 2022-01-10 20:33:00 -05:00
HDVinnie
7ff788b323 update: warning system 2022-01-10 06:31:43 -05:00
HDVinnie
8b0f4e0859 remove: auto ban command 2022-01-10 06:07:55 -05:00
HDVinnie
77ec35bea5 chore: apply the laravel code style linter 2022-01-08 00:03:12 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
alkl58
f700027513 (Add) Torrent Client Stats 2021-12-14 21:08:17 +01:00
Alkl58
2b9e97d5b4 Add Flush Peers for Users 2021-07-08 15:25:49 +02: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
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
41b617bb2e update: laravel 7 support 2020-07-19 17:33:50 -04:00
HDVinnie
dac9088a5e add: optional command to ban disposable users 2020-05-21 15:57:30 -04:00
HDVinnie
163bedd917 refactor: email blacklist system
- closes #1011
2020-05-21 03:47:45 -04:00
HDVinnie
4748e9ef7c refactor: backup manager 2020-05-18 21:28:20 -04: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
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
42c79ec46d (Add) New Sync Peers Command 🆕
- this command run daily to correct / sync torrents table seeder and leecher count in relation to peers in peers table. It may differ at times due to client faults. This resyncs the data. While we could just pull counts from peers table and not store counts in torrents table at all I think this maybe more load friendly.
2019-09-28 14:06:12 -04:00
Laravel Shift
d9ddbe6159 Shift cleanup 2019-05-09 00:05:27 +00:00
Laravel Shift
a66b941569 Leverage command autoloading
Laravel [automatically loads Commands][1] within the `app/Console/Command` folder. As such, there is no need to register them within the _Console Kernel_.

[1]: https://laravel.com/docs/5.7/artisan#registering-commands
2019-05-09 00:05:01 +00:00
HDVinnie
5a718ba273 Apply fixes from StyleCI 2018-12-30 19:19:34 +00:00
HDVinnie
93d721f2d9 (Add) Torrent Tags System
- used for genres
2018-12-30 13:35:46 -05:00
HDVinnie
655184b8dc (Update) Append Missing License 🚀 2018-12-16 19:34:10 -05:00
HDVinnie
514572a37b (Update) Disable CorrectHistory Command 🚀
- disabled until refactored
2018-12-14 21:18:04 -05:00
HDVinnie
00bb324053 Apply fixes from StyleCI 2018-12-06 14:42:13 +00:00
HDVinnie
03484d50ce (Add) AutoCorrectHistory Command 2018-11-17 13:25:39 -05:00
HDVinnie
619d83098b (Update) Hit&Run / History System
- add prewarnings
- update history table (migration)
- I added a check in the announce controller for the completed event sent by client. During that event I added `$history->immune = ($user->group->is_immune == 1) ? 1 : 0; ` which is pretty much saying is the user in a immune group upon download completion. This will solve people in immune groups that download but dont meet 7 days seedtime but then get demoted and banned. As we wont issue warnings for history records marked as immune.
2018-11-10 12:06:49 -05:00
HDVinnie
02b9d066e1 (Fix) Commands Schedule
- whoops
2018-11-05 14:02:00 -05:00
HDVinnie
ab01fcce33 (Update) Commands and Schedule
- use proper naming schema per laravel community standards.
2018-11-04 13:43:34 -05:00
Laravel Shift
ca0fe4481a Adopt PSR-2 coding style
The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.

[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer
2018-10-28 01:44:55 +00:00
HDVinnie
f6650d8beb (Add) recycleClaimedTorrentRequests Command
- Recycle torrent requests that were claimed but not filled within 7 days
2018-10-23 18:55:20 -04:00
HDVinnie
9f830e186f (Update) Commands
- schedule new commands
- set pruning system to off by default
- check if system is on or off in command
2018-10-15 09:45:12 -04:00
HDVinnie
e962a1f470 (Update) Command Kernal 2018-09-09 11:53:26 -04:00
HDVinnie
2970b35f5d (Update) Command Run Order 2018-09-06 21:01:13 -04:00