Commit Graph

69 Commits

Author SHA1 Message Date
HDVinnie
6160c03ede refactor: change variable with read only status and default value to a constant 2020-03-06 09:04:22 -05:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
29cd6e8eb6 refactor: use identical over equal with same type 2020-02-16 21:04:19 -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
ac3dc3bff7 (Fix) User Controller Doc Block 🐛 2019-12-01 11:36:18 -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
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
c45c715dcb (Update) CRUDDY PT.2 🚀 2019-10-22 20:29:07 -04:00
HDVinnie
9fc03ab492 (Update) CRUDDY PT.1 🚀 2019-10-22 14:29:58 -04: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
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
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
71d6f396e0 Merge branch 'master' into now-start-twitterization 2019-01-30 23:02:01 -05:00
singularity43
19457770ce (Update) UserController
Slug call instead of username.
2019-01-30 21:42:20 -05:00
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