Commit Graph

40 Commits

Author SHA1 Message Date
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
HDVinnie e53a3c60d0 (Update) Announce Controller 2018-07-10 20:19:02 -04:00
HDVinnie 63890fc224 (Update) Announce Controller 2018-06-30 09:40:50 -04:00
HDVinnie 8cfb41aea7 (Update) Announce Controller
- typos
2018-06-24 14:07:08 -04:00
HDVinnie dc16c8179a (Update) Cleanup Announce Controller 2018-06-06 19:56:14 -04:00
HDVinnie 83776fdbf3 (Update) Torrent/Announce System
- update Peers table (rename hash to info_hash for consistency)
- update announce and torrent controller to match new column name
- major cleanup / refactor of torrent controller
- remove torrent rules from model into controller
- cleanup torrent, peer and torrentfile models

- THIS REQUIRES `php artisan migrate`
2018-05-22 14:53:14 -04:00
HDVinnie 2e6cfd470d (Update) General Cleanup Of Controllers
- remove unused “use” statements
2018-04-25 15:15:41 -04:00
HDVinnie 32e8b1c62b (Update) Controller + Commands Query Syntax
- using shorter and more readable syntax
- remove “=“ in where clauses
- uses oldest() / latest() instead of like orderBy('created_at', 'DESC')
2018-03-24 16:42:59 -04:00
HDVinnie 0fd3bbd0c3 (Update) Announce Controller
- user $request->input() over $request->get()
2018-03-21 11:58:37 -04:00
HDVinnie 2da7207d2b (Update) Refactor General and Staff Controllers
- Remove all facades use besides mail
- Use Dependency Injection for Illuminate\Http\Request
- use helpers for auth, cache, validator, and more to rid of facades use
- use $request->input() over $request->get()
- use $request->isMethod('POST') over $request->getMethod('POST')
- general cleanup
2018-03-15 12:32:40 -04:00
HDVinnie edbc68180e (Update) Refactor Toastr Notifications 2018-02-16 14:57:52 -05:00
HDVinnie 8a8f440781 (Update) Refactor HTTP Redirects
- Use global redirect() helper instead of facade
2018-02-16 14:07:24 -05:00
Hyleus 777bb63880 Change license to AGPL 2018-02-12 17:27:32 +01:00
Laravel Shift fdb73966cd Adopt PHP short array syntax
Laravel 5 adopted the short array syntax which became available in
PHP 5.4.
2018-01-18 01:04:20 +00:00
Laravel Shift 0e48e34c8a 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-01-18 01:04:19 +00:00
HDVinnie 9a807064d6 (Update) Personal Freeleech + Graveyard System + Freeleech Tokens
- Personal Freeleech System Reworked
- Graveyard Working (Beta, could use more love and will get it)
- Added Freeleech Tokens System To Couple With Graveyard
2018-01-15 20:51:20 -05:00
HDVinnie 3f30f6d558 (Feature) Add Announce Config
- Can now set interval and min_interval via config……best to stay with
defaults in my opinion though unless debugging.
2018-01-11 16:16:38 -05:00
MrG01 aab3264054 (Fix) Ghost issue with Announce
- New functions for Blacklist and Request Type
- Reduced call to $request for user agent
- Users who have download rights revoked can seed but not leech
- Ghost peers now are forced into a started event
- Started events should never push stats to history or users
2018-01-11 16:54:23 +02:00
HDVinnie 67981756dc (Fix) Announce Checks 2018-01-07 13:27:21 -05:00
HDVinnie 0c9007bc41 (Update) Announce
- Added more checks
- Added logging
2018-01-07 09:31:12 -05:00
HDVinnie 0d06879cf9 (Fix) Announce Blacklist 2018-01-04 22:29:02 -05:00
HDVinnie 67fce7be50 (Update) Announce Blacklist 2018-01-04 22:02:47 -05:00
HDVinnie c8c541511a (Feature) Client/Browser Tracker Announce Blacklist 2018-01-04 21:50:46 -05:00
Hyleus 97fb9c4752 Fix typo 2018-01-04 21:45:40 +01:00
HDVinnie c902c0dc4a (Feature) Last Seed Activity
- If said torrent is dead then the Last Seed Activity is displayed
which shows how long ago the most recent seeder announced to tracker.
2017-12-26 14:24:38 -05:00
HDVinnie 77a8c2140a (Update) NOTICE OF LICENSE
- Updated Author Names To Match GitHub Usernames For Clarity.
2017-12-15 22:45:37 -05:00
poppabear8883 e58563c88e Reformatted per psr-2 coding standards 2017-12-12 21:50:27 -05:00
HDVinnie 5a32c2c38d (Release) UNIT3D v1.0
- BETA
- There are bugs and features not yet complete
- This is not recommended for production use
2017-12-10 21:06:18 -05:00