Commit Graph

94 Commits

Author SHA1 Message Date
HDVinnie
46aa876c06 refactor: add literal separator to numbers
- This is for PHP7.4 + only
- Adds an `_` as thousands separator in numbers
2020-04-14 20:25:07 -04:00
HDVinnie
6160c03ede refactor: change variable with read only status and default value to a constant 2020-03-06 09:04:22 -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
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
c8f2390c4d Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie
e77bf65da0 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-06 15:31:25 +00:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
46e1c434cf (Update) CRUDDY PT.9 🚀
- TODO: Finish Forums Refactor in CRUDDY PT.10
2019-10-30 16:50:20 -04: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
2979750a8f (Update) CRUDDY PT.4 🚀 2019-10-23 14:49:39 -04:00
HDVinnie
dc2cf66405 (Update) CRUDDY PT.3 🚀 2019-10-23 13:48:28 -04:00
HDVinnie
1423c6d5cd (Fix) Delete Topic Message 🐛 2019-10-03 23:14:33 -04:00
HDVinnie
e1b7480893 (Update) Forums System 🚀 2019-09-25 11:22:26 -04:00
Laravel Shift
d9ddbe6159 Shift cleanup 2019-05-09 00:05:27 +00:00
Laravel Shift
4853105815 Shift to consistent, fluent response chains 2019-05-09 00:05:17 +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
Laravel Shift
b0732954c4 Shift deprecated helpers
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are [deprecated in Laravel 5.8][1] and will be removed in a future version.

[1]: https://github.com/laravel/framework/pull/26898
2019-05-09 00:05:08 +00:00
HDVinnie
3da8fd97e5 (Update) Forums System 🚀
- closes #658
2019-04-03 13:47:18 -04:00
HDVinnie
c382aa5236 (Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀 2019-03-25 13:53:41 -04:00
HDVinnie
ec897bb6de Apply fixes from StyleCI
[ci skip] [skip ci]
2019-03-19 19:33:47 +00:00
HDVinnie
b670bb7daa (Fix) Forum Search 🐛 2019-03-14 18:56:59 -04:00
HDVinnie
3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -05:00
Laravel Shift
12397c9e6a 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
2019-02-22 03:22:51 +00:00
singularity43
df8c1d84c7 (Update) ForumController
Remove robot icon.
2019-02-09 14:59:05 -05:00
singularity43
578f671ff2 (Update) ForumController
Send user back to correct topic on post delete.
2019-02-01 15:27:39 -05:00
singularity43
a452a1281c (Update) ForumController
Pass topic.
2019-01-31 17:47:32 -05:00
HDVinnie
adc6494012 Apply fixes from StyleCI 2019-01-31 04:04:04 +00:00
HDVinnie
71d6f396e0 Merge branch 'master' into now-start-twitterization 2019-01-30 23:02:01 -05:00
singularity43
38c18a52d7 (Update) ForumController
Remove topics,posts by users.
Update notify routines.
2019-01-30 21:39:34 -05:00
HDVinnie
0471bc2ccb (Update) Permission Checks 🚀
- remove if else statements in favor for cleaner abort_unless and abort_if helpers
2019-01-27 11:17:51 -05:00
singularity43
c39f0dfc10 (Update) Forum Addon / (Update) User History
Fix the last reply pull.

Yes, the form fields don't match but I kept it this way for code clarity (IE: you know update_at needs to be ordered by insertion timeline).
-
Pass forum attribute as  type to Post (which may be extended)
-
As requested by user.
2019-01-24 21:55:16 -05:00
HDVinnie
e2a85b2755 Apply fixes from StyleCI 2019-01-25 02:14:36 +00:00
singularity43
a402ab12d4 (Update) Forum View
Change default ordering of topics/posts.
2019-01-24 21:03:04 -05:00
singularity43
2dac99dd27 (Fix) Forum Addon Bugs
Multi file commit because all changes at once.
2019-01-24 20:33:48 -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
21c7c46630 (Update) ForumController
Fix to work with new notification system.
2019-01-23 22:04:16 -05:00
singularity43
8994bf480b (Update) ForumController
1: Add latest topics
2: Add latest posts
3: Add subscriptions overview
4: Add advanced search
5: Add/fix category view
6: Add post tipping
7: Add ability for OP to close topic.
8: Fix security for labels.
9: Change mentions to notifications from PMs.
2019-01-23 15:24:21 -05:00
HDVinnie
7f943bb710 (Fix) Forum Post Edit/Delete 🐛 2019-01-16 22:09:59 -05:00
HDVinnie
c0ccbf0e87 (Fix) Forum Post Deletions 🐛 2019-01-14 09:40:38 -05:00
HDVinnie
aef4d38c9e (Update) Forums System 🚀
- pull like/dislike function out of ForumController and into its own.
- refactor perm checks
- fix redirects to point to the permalink of the specific post
- ref #398
- TODO: clean routes
2019-01-11 14:00:04 -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
f6d3a1fabc (Update) Code Cleanup
- replace unauthorized if else checks with a much cleaner approach using the abort_unless() helper.
2018-11-29 17:41:14 -05:00
HDVinnie
87563a2473 (Update) Refator Toastr Notifications 2018-11-12 11:14:41 -05:00