Commit Graph

71 Commits

Author SHA1 Message Date
HDVinnie
bdd63aa816 update: controllers 2022-02-28 05:06:55 -05:00
StyleCI Bot
930fd18ce2 Apply fixes from StyleCI 2022-02-04 02:27:45 +00:00
HDVinnie
6c41e418cd Merge pull request #2100 from innocente205/patch-2
(Update) PollController
2022-02-03 21:27:33 -05:00
innocente205
23bb4d7bbc Update PollController.php
Delete poll options when poll is deleted.
2022-02-04 09:16:53 +07: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
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
b5b404c6cc refactor: staff poll controller 2020-12-30 12:18:50 -05:00
HDVinnie
8fd7d4b9a3 cleanup: poll controller 2020-12-28 23:44:52 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie
519a25bb19 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-12-03 05:16:37 +00:00
HDVinnie
601e4c1f90 update: general cleanup 2020-12-03 00:16:23 -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
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
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
605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -05:00
gyakkun
957ac57b4b remove: Purge ip_checking in models and views of poll. 2020-02-15 04:19:25 +08:00
Gyakkun
ae8014a96a Merge branch 'development' into patch_impl-poll-edit-delete 2020-02-14 12:53:20 +08:00
HDVinnie
6eaeb07fc1 refactor: simplify ifelse to ternary 2020-02-13 17:30:47 -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
gyakkun
089fad5ac4 misc: Remove useless comment.
Make CI happy.
2020-02-12 19:18:22 +00:00
gyakkun
6ede4d0287 fix: Flag ip_check and multi_choice in edit polls. 2020-02-12 19:17:17 +00:00
HDVinnie
c1f47c42ea chore: styleci 2020-02-12 13:14:44 -05:00
gyakkun
8207a2eaf5 add: Implement edit and delete polls. 2020-02-12 17:40:27 +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
7a0eb4f2d5 (Update) PHPDoc Comments 🚀 2019-11-05 10:33:04 -05:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
e001055ef2 (Update) CRUDDY PT.6 🚀 2019-10-23 19:25:34 -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
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