Commit Graph

69 Commits

Author SHA1 Message Date
Laravel Shift
d9ddbe6159 Shift cleanup 2019-05-09 00:05:27 +00:00
Laravel Shift
4853105815 Shift to consistent, fluent response chains 2019-05-09 00:05:17 +00:00
Laravel Shift
97e88dd68b Leverage injected request object
Laravel automatically injects the current Http [request object][1] to all Controller actions and Middleware. Leveraging this object improves consistency and testability.

[1]: https://laravel.com/docs/5.7/requests#accessing-the-request
2019-05-09 00:05:13 +00:00
Laravel Shift
b0732954c4 Shift deprecated helpers
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are [deprecated in Laravel 5.8][1] and will be removed in a future version.

[1]: https://github.com/laravel/framework/pull/26898
2019-05-09 00:05:08 +00:00
HDVinnie
7ee22fe312 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-04-29 02:25:13 +00:00
HDVinnie
3dff7b6203 (Update) RequestController 🚀
- no need to send PM
2019-04-28 21:16:43 -04:00
HDVinnie
67339d7329 (Update) PHPDocs 🚀 2019-04-03 20:02:01 -04:00
HDVinnie
c382aa5236 (Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀 2019-03-25 13:53:41 -04:00
HDVinnie
384fe0809d (Fix) Isuue #643 🐛
- closes #643
2019-03-13 15:59:08 -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
8a7310f2d5 (Update) System Messages 🚀
- formated for new chat
2019-02-09 20:02:21 -05:00
HDVinnie
adc6494012 Apply fixes from StyleCI 2019-01-31 04:04:04 +00:00
HDVinnie
71d6f396e0 Merge branch 'master' into now-start-twitterization 2019-01-30 23:02:01 -05:00
singularity43
10c2aefa4a (Update) RequestController
Send all PMs via notifications and respect permissions.
2019-01-30 21:41:26 -05:00
HDVinnie
0471bc2ccb (Update) Permission Checks 🚀
- remove if else statements in favor for cleaner abort_unless and abort_if helpers
2019-01-27 11:17:51 -05:00
HDVinnie
d3c4038782 (Fix) Request Helper Call 🐛 2019-01-25 11:10:01 -05:00
singularity43
e132047792 (Update) RequestController
Rename function.
2019-01-23 22:04:32 -05:00
HDVinnie
3bce91a728 (Update) Seaching by IMDB ID
- you can now search a IMDB ID with or without the tt
2019-01-17 16:07:44 -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
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
f6d3a1fabc (Update) Code Cleanup
- replace unauthorized if else checks with a much cleaner approach using the abort_unless() helper.
2018-11-29 17:41:14 -05:00
HDVinnie
87563a2473 (Update) Refator Toastr Notifications 2018-11-12 11:14:41 -05:00
HDVinnie
b777ef03e2 (Update) Optimize Queries
- eager loading
2018-10-17 14:15:18 -04:00
HDVinnie
2883c4ed51 (Update) Facated Search Queries
- use eager loading
2018-10-16 23:27:35 -04:00
HDVinnie
85b5633a32 (Update) Automated System Chat Messages 2018-09-29 23:04:15 -04:00
HDVinnie
40234c0662 (Update) Torrent Request System
- requires `php artisan migrate && php artisan clear:all` if not using
gitupdater

- Create A Torrent Request Anonymously
- Add Bounty To A Torrent Request Anonymously
- Fill A Torrent Request Anonymously

- closes #201
2018-09-29 22:44:22 -04:00
HDVinnie
2891499865 (Update) Torrent Request System 2018-08-04 15:50:50 -04:00
HDVinnie
f5161d87ff (Update) Torrent Requests System
- refactor system which removes use of the RequestViewHelper
2018-07-26 19:49:17 -04:00
werrpy
c08305eefb (Fix) Request filled activity log 2018-07-20 21:18:48 -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
werrpy
843da9b659 (Fix) PM names and links 2018-06-26 20:22:26 -04:00
HDVinnie
11a7b0ebf2 (Fix) Torrent Request BON Bounty PM
- don’t pm torrent request creator when he adds bounty to his own
torrent request
2018-06-25 20:14:16 -04:00
HDVinnie
d24045acba (Update) Aborts
Replace `abort(403, 'Unauthorized action.’);` use with a graceful
toastr error.
2018-06-09 21:29:44 -04:00
HDVinnie
b1ee48ed55 (Update) Torrent Requests System 2018-06-08 15:03:04 -04:00
HDVinnie
0d392abb32 (Update) Automated Private Messages 2018-05-23 15:31:13 -04:00
HDVinnie
7906bc821a (Fixes) Torrent Request System
- appears my original changes were squashed by the chat branch
-
https://github.com/HDInnovations/UNIT3D/commit/b9a94017a3f7f6ae6f4fb0efb
019bc7ecc3a6331
- This resolves the issue
2018-05-11 17:36:21 -04:00
poppabear8883
a4876cc5c0 (Fix) Various bugs with $appurl 2018-05-11 10:48:37 -04:00
Poppabear
7ea7c05b64 (Update)[Chat 2.0] Updating system messages
Added a Helpers file for some common usages. Its being autoloaded via
composer.
2018-05-08 20:27:22 -04:00
HDVinnie
7728d26913 (Update) Change System Announcements To Use New Chat 2018-04-29 16:47:06 -04:00
HDVinnie
b4c16a26b3 (Update) Activity Logging 2018-04-15 19:08:00 -04:00
HDVinnie
1b357272d1 (Update) Finalize Torrent Request System 2018-03-26 22:29:14 -04:00
HDVinnie
e39d005e1a (Fix) Request Controller
- fix reset request by adding missing $appurl variable
2018-03-26 20:31:45 -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
87ce42daf3 (Update) Refactor Torrent Request System
- renamed  models/functions and more to avoid conflict with
`App\Http\Requests` which will be used to refactor all HTTP Validation
rules into dedicated form requests
2018-03-22 20:10: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
84f7eb1935 (Update) Add Position To Categories
- closes #219
- Add position to categories and sortBy position
- Added few spots where Types sortBy position was missing
2018-03-13 15:57:26 -04:00
HDVinnie
66b6ff43e2 (Update) Requests Faceted Search System
- extra filters have been added. My Requests, Unfilled, Claimed,
Pending and Filled.
2018-03-12 11:11:42 -04:00
HDVinnie
bfb2c64129 (Update) Add Request Faceted Search
- Remove old basic request search
- Added faceted search for requests like torrents
2018-03-11 13:50:05 -04:00