Commit Graph

71 Commits

Author SHA1 Message Date
HDVinnie
594b7864d9 refactor: adopt new helpers in laravel 9 2022-03-06 17:20:05 -05:00
HDVinnie
bdd63aa816 update: controllers 2022-02-28 05:06:55 -05:00
HDVinnie
14daa3bb0b fix: private message controller type hint 2022-01-13 21:19:26 -05:00
HDVinnie
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
StyleCI Bot
06bcb20688 Apply fixes from StyleCI 2022-01-08 18:56:52 +00: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
6dbff28bbd PrivateMessageController: German & French Translation 2021-12-08 21:12:53 +01:00
HDVinnie
58b915291a fix: pm controller 2021-11-14 16:37:50 -05:00
HDVinnie
2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04: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
999c16093b cleanup: unused variables 2021-05-15 12:52:00 -04:00
HDVinnie
0de2a75b4b refactor: private message controller 2020-12-30 12:14:32 -05:00
HDVinnie
258a2897fb cleanup: private message controller 2020-12-28 23:43:43 -05:00
HDVinnie
5aac6a8f04 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-07-22 20:57:33 +00: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
42c36a02c0 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-19 17:06:34 +00:00
HDVinnie
bb0bf1e97f Merge pull request #1287 from clandestine8/empty-inbox
(Add) Empty Inbox button to the Private Message inbox
2020-04-19 12:59:56 -04:00
Clandestine8
6ae99e94b1 Fix: StyleCI Changes 2020-04-19 03:47:25 -04:00
Clandestine8
8405f02c3e Add: emptyInbox function to PM Controller
Add: emptyInbox function to PM Controller
Add: empty-inbox to mail route
2020-04-19 03:36:53 -04:00
HDVinnie
4afdfbdade Apply fixes from StyleCI
[ci skip] [skip ci]
2020-04-19 05:31:13 +00:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
6eaeb07fc1 refactor: simplify ifelse to ternary 2020-02-13 17:30:47 -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
c365a53421 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-12-23 04:15:50 +00:00
innocente205
67b6c15185 Update PrivateMessageController.php 2019-12-19 15:35:36 +07:00
innocente205
c13dc1d137 Update PrivateMessageController.php 2019-12-19 15:29:13 +07: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
HDVinnie
7e52caf450 (Remove) Select2 ♻️
- closes #683
2019-05-29 12:03:57 -04: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
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
adc6494012 Apply fixes from StyleCI 2019-01-31 04:04:04 +00:00
singularity43
7c71d8b186 (Update) PMController
Kind of dirty fallback method.. i stacked this badly. But ya.. send to inbox or profile.
2019-01-30 21:40:58 -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