Commit Graph

63 Commits

Author SHA1 Message Date
HDVinnie
0733269867 update: phpdoc blocks 2020-07-22 16:57:13 -04:00
HDVinnie
a975116218 refactor: preslash simple functions
- Add pre-slash to short named functions to improve performance by almost 30%
-  @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie
e7ccde0190 refactor: rename property to match type 2020-07-22 14:50:41 -04:00
HDVinnie
163bedd917 refactor: email blacklist system
- closes #1011
2020-05-21 03:47:45 -04:00
HDVinnie
12294fd94a chore: styleci 2020-04-24 16:50:21 -04:00
HDVinnie
eb12908712 refactor: use increment/decrement assign 2020-04-24 11:37:59 -04:00
HDVinnie
78608a4666 refactor: space after sole ! operators
-  There should be a space after sole `!` operators
2020-04-14 22:31: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
e77bf65da0 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-06 15:31:25 +00: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
46e1c434cf (Update) CRUDDY PT.9 🚀
- TODO: Finish Forums Refactor in CRUDDY PT.10
2019-10-30 16:50:20 -04:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
2979750a8f (Update) CRUDDY PT.4 🚀 2019-10-23 14:49:39 -04:00
HDVinnie
dc2cf66405 (Update) CRUDDY PT.3 🚀 2019-10-23 13:48:28 -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
Max Kovalenko
56c7e68b5f misc phpdoc fixes 2019-05-21 20:01:15 +03: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
b9968aef6b (Update) Replace Usage Of redirect()->back() 🚀
- replacing usages of `redirect()->back()` in favor of defining the named route.
2019-03-08 19:53:51 -05: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
singularity43
367fd90d12 (Update) InviteController
Route fixes for uniformity.
2019-01-30 21:39:54 -05:00
HDVinnie
664797d690 (Fix) Invite Restrictions 🐛 2019-01-10 13:59:26 -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
8061a3bd2f (Update) Invite System
- abilty to resend a invite to said email if invite has not yet been used/expired.
- slight refactor
2018-12-02 21:08:20 -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
ed4b140e1e (Update) Better Email Validation Checks 2018-09-17 22:06:49 -04:00
HDVinnie
acc65a4fb7 (Update) Invites System
- Master Invites Log and User Invite Tree are now fluid, paginated and
show user group, color and icon.
2018-08-21 12:59:15 -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
06d538653d (Add) Email Whitelist / Blacklist System
- Blacklist means that you won’t be able to sign-up with and or send
invites to a email email on blacklist.
- Whitelist means that you will only be able to sign-up with and or
send invites to a whitelisted email.
- Set “enabled” to null to not use either
2018-07-08 10:02:24 -04:00
HDVinnie
27ebc58d19 (Fix) config keys for invite groups 2018-06-10 23:46:48 -04:00
HDVinnie
6441ca7fb7 (Update) Mass Controllers Cleanup 2018-06-06 23:49:27 -04:00
HDVinnie
c0eb5c95e0 (Update) Invite System 2018-06-05 22:59:27 -04:00
HDVinnie
b4c16a26b3 (Update) Activity Logging 2018-04-15 19:08:00 -04:00
HDVinnie
53af9b5e0a (Update) Invite System Enhancements
- Closes #248
- Ability to set invite expire time in config/other.php
- Daily command to recycle old expired invites that were never used
2018-03-31 14:51:17 -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