Commit Graph

66 Commits

Author SHA1 Message Date
Roardom
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
HDVinnie
2ca429c4ce Revert "PSR12 Linting"
This reverts commit 7e65e1d589.
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589 PSR12 Linting 2022-09-11 23:50:41 +00:00
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
d3abd28925 update: type hints 2022-01-08 15:35:53 -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
a2da1e3480 PollController: German & French Translation 2021-12-08 20:57:23 +01:00
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
fe83bb7841 fix: poll controller union type 2021-05-24 21:29:49 -04: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
8f1565ddad refactor: poll controller 2020-12-30 12:13:03 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -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
f69ecec866 refactor: code quality changes 2020-06-02 18:37:19 -04:00
HDVinnie
8c8e2865b2 refactor: camel case function naming to underscore 2020-04-24 11:04:24 -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
HDVinnie
605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -05:00
HDVinnie
9cf874de7a update: poll system 2020-02-16 17:05:17 -05:00
gyakkun
cb4f912653 revert: Revert "update: Semantic adjustment in poll/vote."
This reverts commit 7856d27dbf.
2020-02-13 12:58:29 +08:00
gyakkun
b3c8f82935 misc: CI. 2020-02-13 12:33:00 +08:00
gyakkun
7856d27dbf update: Semantic adjustment in poll/vote.
Both controller and view.
2020-02-13 12:19:34 +08:00
gyakkun
621f7ba437 update: Validation logic for poll. 2020-02-13 12:18:52 +08: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
clandestine8
861571092f (Fix) Fix URLs for Polls Redirects, Polls Votes, and UserFilters Form
Signed-off-by: clandestine8 <clandestine8@protonmail.com>
2019-11-11 14:54:58 -05:00
HDVinnie
da7f0d4584 (Fix) Controllers withErrors Typo 🐛 2019-11-10 11:08:05 -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
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
8a7310f2d5 (Update) System Messages 🚀
- formated for new chat
2019-02-09 20:02:21 -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
85b5633a32 (Update) Automated System Chat Messages 2018-09-29 23:04:15 -04:00
HDVinnie
af74ba7678 (Update) Poll System 2018-06-06 23:47:25 -04:00
Poppabear
7ea7c05b64 (Update)[Chat 2.0] Updating system messages
Added a Helpers file for some common usages. Its being autoloaded via
composer.
2018-05-08 20:27:22 -04:00