HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
a2cdb5f5ff
update: type hints
2022-01-08 14:37:50 -05:00
HDVinnie
77ec35bea5
chore: apply the laravel code style linter
2022-01-08 00:03:12 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
alkl58
0432401fc7
FollowController: German & French Translation
2021-12-06 16:59:13 +01: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
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
78608a4666
refactor: space after sole ! operators
...
- There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
a9574f2228
chore: phpdoc block cleanup
2020-03-05 11:23:49 -05:00
HDVinnie
4b9c006a05
chore: phpdoc blocks cleanup
2020-03-05 10:46:14 -05:00
Ben Johnson
b9aa73c31c
tests: Add FollowController tests
2020-03-04 10:49:33 -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
c81dccecb4
(Fix) Follow System 🐛
2019-11-16 12:34:57 -05:00
HDVinnie
d889971834
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -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
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
c382aa5236
(Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀
2019-03-25 13:53:41 -04:00
HDVinnie
3c87845e54
(Update) Namespace models under App\Models 🚀
2019-02-22 08:15:41 -05:00
HDVinnie
adc6494012
Apply fixes from StyleCI
2019-01-31 04:04:04 +00:00
singularity43
7fdfbca5b0
(Update) FollowController
...
Check if user notify should happen based on permissions.
2019-01-30 21:39:01 -05:00
singularity43
5390026bfc
Merge branch 'Forums-Addons' of https://github.com/HDInnovations/UNIT3D into Forums-Addons
...
Need This Done.
2019-01-23 22:51:31 -05:00
singularity43
6c1aa3c219
(Update) FollowController
...
Send notifications for follow/unfollow.
2019-01-23 22:03:48 -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
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
4cc153c09e
(Update) Follow System
2018-06-05 22:58:08 -04:00
HDVinnie
2e6cfd470d
(Update) General Cleanup Of Controllers
...
- remove unused “use” statements
2018-04-25 15:15:41 -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
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
77a8c2140a
(Update) NOTICE OF LICENSE
...
- Updated Author Names To Match GitHub Usernames For Clarity.
2017-12-15 22:45:37 -05:00
Hyleus
e19e1bcf87
Remove the option to follow yourself
2017-12-13 17:00:31 +01:00
poppabear8883
e58563c88e
Reformatted per psr-2 coding standards
2017-12-12 21:50:27 -05:00