Commit Graph

127 Commits

Author SHA1 Message Date
HDVinnie db55d77880 (Update) Announce Controller 🚀 2020-02-07 16:41:00 -05:00
HDVinnie 6810711223 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-07 21:27:19 +00:00
HDVinnie fdc4a2c545 (Update) Announce Controller 🚀
- add observers and cache
2020-02-07 16:21:17 -05:00
HDVinnie c9c7704547 (Update) Announce Controller 🚀
- Shorten If Else Statement
2020-02-04 18:15:36 -05:00
HDVinnie 443d017610 (Update) Announce Controller 🚀
- minor cleanup
2020-02-04 17:52:17 -05:00
HDVinnie b6553ce584 (Update) Announce Controller 🚀
- cleanup
- rearrange
- better comments
2020-02-04 17:34:06 -05:00
HDVinnie 9bb7acde3b (Fix) Annnounce Controller 🐛
- close #1077
2020-01-22 13:46:53 -05:00
HDVinnie ac34c65e8f (Fix) Announce Controller 🐛
- close #1074
2020-01-22 12:09:59 -05:00
HDVinnie 9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie 8ec9b3ccb9 (Update) Announce Controller 🚀 2019-11-20 13:59:11 -05:00
HDVinnie da25ee7ead Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-20 14:13:55 +00:00
HDVinnie 3d9dce9012 (Update) Announce Controller 🚀 2019-11-20 09:07:46 -05:00
HDVinnie 9e14c55948 (Update) Announce Controller 🚀
- forever cache system required group checks.
- eager load user group relation with only the two specific columns used.
- eager load user history
2019-11-19 13:50:21 -05:00
HDVinnie f59f4a4da9 Revert "(Update) Announce Controller 🚀"
This reverts commit 2409976942.
2019-11-19 13:46:21 -05:00
HDVinnie 2409976942 (Update) Announce Controller 🚀
- forever cache system required group checks.
- eager load user group relation with only the two specific columns used.
- eager load user history
2019-11-19 13:45:59 -05:00
HDVinnie d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie 6ad846084b (Update) AnnounceController 🚀 2019-11-05 11:24:58 -05:00
HDVinnie eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie 8e989b5ef4 (Update) AnnounceController 🚀 2019-06-30 10:08:59 -04:00
HDVinnie b88049cf6a (Update) AnnounceController 🚀 2019-06-16 02:11:12 -04:00
Max Kovalenko 56c7e68b5f misc phpdoc fixes 2019-05-21 20:01:15 +03:00
Laravel Shift 4853105815 Shift to consistent, fluent response chains 2019-05-09 00:05:17 +00:00
buaapyj 58b6a78119 Update AnnounceController.php 2019-05-04 03:17:55 +08:00
buaapyj fcfc081019 Update AnnounceController.php 2019-05-04 03:16:35 +08:00
buaapyj e15948828d Update AnnounceController.php 2019-05-04 03:15:40 +08:00
buaapyj 7118cf1c44 Update AnnounceController.php
add Ipv6 support for Tracker based on IPv6 Tracker Extension(BEP 7 on BitTorrent.org) #699
2019-05-04 03:13:45 +08:00
buaapyj 7bb55c139b Update AnnounceController.php
add Ipv6 support for Tracker based on IPv6 Tracker Extension(BEP 7 on BitTorrent.org) #699
2019-05-04 03:09:53 +08:00
HDVinnie b7813b6814 (Update) AnnounceController 🚀
- ref. #710
2019-04-30 21:22:56 -04:00
HDVinnie 2c3d2e4f5f (Update) AnnounceController 🚀
- avoid using super-global variable $_SERVER.
2019-04-30 17:08:04 -04:00
HDVinnie 903c148391 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-04-24 19:39:24 +00:00
HDVinnie 56dacdf7b4 (Update) Announce Controller 🚀
- closes #680
2019-04-22 20:08:15 -04:00
HDVinnie 67339d7329 (Update) PHPDocs 🚀 2019-04-03 20:02:01 -04:00
HDVinnie 1e40db9cf0 (Update) Relocate TorrentTools + Bencode To Helpers 🚀
- these are better fit as helpers and not a service.
2019-03-19 13:44:19 -04:00
HDVinnie 408af47b0b (Update) AnnounceController 🚀
- helps combat agaist mass announces from a single user by return a random announce interval per torrent. Thanks @werrpy  for the idea!
2019-03-13 21:14:29 -04:00
HDVinnie e0e1aa924b Apply fixes from StyleCI 2019-02-22 13:16:32 +00:00
HDVinnie 3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -05:00
HDVinnie 0850390860 (Update) Standardize Where Expressions 🚀
- using `Model::where('download', '=', 1)` over`Model::where('download', 1)`
- decided is easier for new devs to understand.
- thanks to @werrpy for helping with the regex to mass update.
2018-12-16 18:32:58 -05:00
HDVinnie 7358d3d0bb (Update) Announce Controller 🚀
- allow for rate limit to be configuarable
2018-12-14 12:12:24 -05:00
HDVinnie aebc64e044 Apply fixes from StyleCI 2018-12-08 16:26:45 +00:00
HDVinnie ed51d34ccb (Update) Announce Controller
- remove eager loading
2018-12-08 11:25:42 -05:00
HDVinnie 2f2c52328b Apply fixes from StyleCI 2018-12-06 22:57:41 +00:00
HDVinnie 00bb324053 Apply fixes from StyleCI 2018-12-06 14:42:13 +00:00
HDVinnie 42b7f9deb5 (Fix) Announce Controller
- fix mistake from commit https://github.com/HDInnovations/UNIT3D/commit/619d83098b08233ffe8647fafbe46525bf28acf7
2018-11-10 14:39:27 -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 80e78d80cd (Update) AnnounceController Query
- standardize select query
2018-11-05 18:48:37 -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 2d907a3a94 (Fix) Announce Controller 2018-08-08 12:31:10 -04:00
HDVinnie 0e23115640 (Update) Announce System
- inplemeted Eager Loading
2018-08-04 17:47:56 -04:00
Laravel Shift 5c1c56d2ca 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-07-18 20:13:14 +00:00
HDVinnie 6e34c89b2e (Update) Announce Controller 2018-07-17 08:56:33 -04:00