Commit Graph

55 Commits

Author SHA1 Message Date
HDVinnie
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
321847e067 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-16 02:41:53 +00:00
HDVinnie
3407075214 refactor: better php8 usage
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie
041927202c refactor: type and name of catch exception should match 2021-05-15 14:01:27 -04:00
HDVinnie
c7401b7ea8 refactor: preslash simple functions
- performance
2021-01-05 17:45:46 -05:00
HDVinnie
7f77d02dd1 refactor: encapsed strings to sprintf 2021-01-02 17:46:39 -05:00
HDVinnie
8688f57167 refactor: staff home controller 2020-12-30 12:17:51 -05:00
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
8cde8c8e71 chore: styleci 2020-06-03 03:39:23 -04:00
HDVinnie
d1fd67b936 refactor: staff dashboard count queries 2020-06-03 03:28:46 -04:00
HDVinnie
4afdfbdade Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-19 05:31:13 +00:00
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
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
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
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
da30d2a706 (Update) CRUDDY PT.8 🚀 2019-10-29 20:26:54 -04:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
c45c715dcb (Update) CRUDDY PT.2 🚀 2019-10-22 20:29:07 -04:00
HDVinnie
f19899caab (Update) Code Style 🚀
- php-cs-fixer
2019-09-17 18:48:44 -04:00
HDVinnie
7b87b14982 (Update) Staff Dashboard 🚀
- removes countup too
2019-09-16 18:06:56 -04:00
HDVinnie
761f3175e9 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-05-18 17:13:15 +00:00
HDVinnie
ad2e4c0a11 (Update) Refactor Seedbox System 🚀 2019-05-15 23:10:44 -04:00
Laravel Shift
d9ddbe6159 Shift cleanup 2019-05-09 00:05:27 +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
8bb397c29c (Update) Standardize Select Queries 🚀 2019-03-13 11:26:20 -04:00
HDVinnie
3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -05:00
HDVinnie
d96c853423 Merge branch 'master' into Application-System 2019-01-28 09:21:40 -05:00
HDVinnie
cf13fce6f7 (Update) SSL Info Card 🚀
- thanks @JackPriceBurns
2018-12-19 11:52:04 -05:00
HDVinnie
1a5f973be6 (Add) Applications Link To Staff Dashboard 🆕 2018-12-17 20:46:03 -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
60f48a14b5 (Fix) Staff Dashboard SSL Cert Card
- add check to see it connection is secure. If connection is not https then dont try to pull SSL Cert Info.
2018-11-03 15:36:15 -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
d4e9ea9ee5 (Update) Staff Dashboard
- Add More System / App Info Cards
2018-09-05 08:51:21 -04:00
HDVinnie
9cc3730268 (Update) Staff Dashboard
- New Layout
- New System Info Cards
- New SSL Info Card

- NOTE: You must run `npm run prod && php artisan clear:all`

- NOTE: You must install `sudo apt-get install php7.x-intl`
You need to replace 'x' by the actual php version you currently have
installed.
2018-09-04 13:24:23 -04:00
HDVinnie
60710a7b82 (Update) Cleanup Home Controller 2018-06-05 14:35:43 -04:00
HDVinnie
e725418c7f (Update) More Minor Controller Cleanup 2018-05-21 11:12:37 -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
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