Commit Graph

41 Commits

Author SHA1 Message Date
HDVinnie
2d6baeb83d Apply fixes from StyleCI 2019-01-28 16:02:27 +00: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
948858605d Apply fixes from StyleCI 2019-01-26 05:06:39 +00:00
singularity43
647b03fa69 (Update) UserEdit Logic In UserController
Suggested by user.

1. Mods can not edit mods and above.
2. Admins can not edit admins and above.
3. Owners can edit all.

Also:

1. Mods can not add mods and above.
2. Admins can not add admins and above.
3. Owners can add all.
2019-01-25 23:49:46 -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
87563a2473 (Update) Refator Toastr Notifications 2018-11-12 11:14:41 -05:00
HDVinnie
5826086a67 (Fix) User Groups
- hotfix
2018-10-19 17:14:09 -04:00
HDVinnie
d6d2021d27 (Update) User Search Queries
- use eager loading
2018-10-16 23:49:43 -04:00
HDVinnie
ac5e15b141 (Update) Rework Group Queries
- use select and not pluck
2018-10-16 22:18:41 -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
8c0099f7c3 (Fix) User Deleting 2018-09-04 10:14:42 -04:00
HDVinnie
dbeefc7535 (Fix) User Account Deleting 2018-08-25 18:08:12 -04:00
HDVinnie
dd987bdd4a (Update) Mass Validate Users Tool 2018-08-22 16:42:22 -04:00
HDVinnie
7caadce2bc (Update) Invites System
- closed #369
- this eventually will be refactored and done properly with foreign key
constraints. Idea is to have Migrations redone for UNIT3D v2.0 LTS with
all proper foreign key constraints and indexing.
2018-08-12 20:42:56 -04:00
HDVinnie
d06b8a2ac1 (Add) Mass Validate Users Tool
This is a tool to mass validate any users that are not currently
validated…..meaning the users active field is 0 and group_id is 1
(validating). Running this from staff dashboard will take all users
that meet above criteria and set there active field to 1 and group_id
to 3 (member)
2018-06-30 16:03:32 -04:00
HDVinnie
6441ca7fb7 (Update) Mass Controllers Cleanup 2018-06-06 23:49:27 -04:00
HDVinnie
bc1345a362 (Update) Cleanup User Controller 2018-06-05 21:07:18 -04:00
HDVinnie
e569a29606 (Update) User Delete Function 2018-06-03 17:17:34 -04:00
poppabear8883
5bca3ded3b Merge branch 'master' into Chat-2.0
# Conflicts:
#	app/Http/Controllers/RequestController.php
#	resources/assets/js/app.js
2018-05-07 09:54:19 -04:00
HDVinnie
20650b66c8 (Update) Staff User Tools System 2018-05-03 15:09:30 -04:00
HDVinnie
7728d26913 (Update) Change System Announcements To Use New Chat 2018-04-29 16:47:06 -04:00
HDVinnie
e50018a70e (Update) Minor Controllers Cleanup
- Toastr
- Code Comments
- Activity Logging
2018-04-15 19:35:14 -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
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
77b196a0d8 (Update) User Profiles
- fix name profil to profile in controllers, images, blades
- refactor user profile blade and UserController profile function
2018-03-21 18:50:57 -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
HDVinnie
9893abfbb5 (Update) Refactor Controller
- closes #196
- removes use of redirect()->back() and Redirect::back()
2018-02-16 13:49:58 -05:00
Hyleus
777bb63880 Change license to AGPL 2018-02-12 17:27:32 +01:00
HDVinnie
38f1941360 (Update) User Delete Function 2018-01-18 20:10:17 -05: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
e62687fbc0 (Feature) Force Update User Password
- Staff can now force update a users password. A failsafe if user is
having password recovery problems
2017-12-30 21:52:47 -05:00
HDVinnie
d62338e876 (Update) Account Delete Function
- Cannot delete yourself or other staff
- Make Bots is_modo
2017-12-21 19:48:51 -05:00
HDVinnie
ba8aee77d3 (Update) Use System ID 1
- no longer use 0
2017-12-20 07:32:17 -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