Commit Graph

55 Commits

Author SHA1 Message Date
HDVinnie
ea2a12be15 refactor: closure to arrow function 2020-04-14 20:38:48 -04:00
HDVinnie
408bfafc3e Apply fixes from StyleCI
[ci skip] [skip ci]
2020-03-05 15:47:30 +00:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
c8d953a3ad Merge branch 'master' into development 2020-02-12 18:03:21 -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
8d72989943 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-12 17:41:17 +00:00
HDVinnie
611fcd6bc1 refactor: if / else / elseif statements
- Change If Else Value Assign To Early Return
- Change Nested Ifs To Early Return
- Remove Always Else
2020-02-12 12:34:34 -05:00
HDVinnie
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
0bece18c5c (Update) Group Queries 🚀
- add caching to system required groups
2019-11-20 12:11:41 -05:00
HDVinnie
e0379e5b95 (Add) Audit System 🆕
- filtering to follow
2019-11-06 06:42:17 -05:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
7a0eb4f2d5 (Update) PHPDoc Comments 🚀 2019-11-05 10:33:04 -05:00
HDVinnie
ab095580f7 (Fix) User Reported Bugs 🐛
- closes #886
2019-11-05 09:34:19 -05:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
e001055ef2 (Update) CRUDDY PT.6 🚀 2019-10-23 19:25:34 -04:00
HDVinnie
426b801eda (Update) CRUDDY PT.5 🚀 2019-10-23 16:59:03 -04:00
HDVinnie
dc2cf66405 (Update) CRUDDY PT.3 🚀 2019-10-23 13:48:28 -04:00
HDVinnie
9fc03ab492 (Update) CRUDDY PT.1 🚀 2019-10-22 14:29:58 -04: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
HDVinnie
c382aa5236 (Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀 2019-03-25 13:53:41 -04:00
HDVinnie
8bb397c29c (Update) Standardize Select Queries 🚀 2019-03-13 11:26:20 -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
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
singularity43
d72a6363ef (Update) BanController
Update to send correct parameters to fixed Mail BanUser/UnbanUser call. Commits coming.
2019-01-10 16:26:33 -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
87563a2473 (Update) Refator Toastr Notifications 2018-11-12 11:14:41 -05:00
HDVinnie
13f9c333ff (Fix) Ban / Unban Emails
- add missing reason text
2018-11-08 21:24:35 -05:00
HDVinnie
ac5e15b141 (Update) Rework Group Queries
- use select and not pluck
2018-10-16 22:18:41 -04:00
HDVinnie
14341a6964 (Update) Optimize Queries 2018-10-16 21:45:15 -04:00
HDVinnie
895bbb66e3 (Update) Optimize Many Queries
- reduce load
2018-10-16 21:27:47 -04:00
HDVinnie
dc0dfd176e (Update) Group Handling 2018-09-17 19:09:12 -04:00
HDVinnie
6441ca7fb7 (Update) Mass Controllers Cleanup 2018-06-06 23:49:27 -04:00
HDVinnie
f31b8cbc20 (Update) Cleanup Ban Controller 2018-06-05 14:23:15 -04:00
HDVinnie
b2be1de4d1 (Update) Minor Cleanup To Multiple Controllers
- just basic cleanup to function headers/descriptions
2018-05-22 14:03:39 -04:00
HDVinnie
1920a0bbb0 (Fix) Unban User 2018-05-20 22:02:36 -04:00
HDVinnie
a93795fd45 (Update) Ban System
- update validator
2018-05-18 15:13:45 -04:00
HDVinnie
e5947da080 (Update) Ban System
- Cleanup Model
- Cleanup Controller
- New rename migration to change table name from ban to bans. Tables
should be plural while models are singular.
2018-05-18 14:57:34 -04:00
HDVinnie
120e0e53c7 (Update) Ban System 2018-05-03 15:03:06 -04:00
HDVinnie
d83861ff29 (Update) Add Pagination To Staff Logs
- Paginate Ban Logs
- Paginate Note Logs
- Paginate Report Logs
- Cleanup existing paginate by centering
2018-04-09 11:55:10 -04:00
HDVinnie
e3e21896e2 (Update) Controllers Syntax
- use shorter and more readable syntax
- replace orderBy('created_at', 'DESC') with latest()
2018-03-24 15:56:39 -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
1a4e6c3670 (Update) Ban/Unban Email Notifications
- closes #206
- Email user when banned
- Email user when unbanned
2018-03-02 09:29:10 -05: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
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