Commit Graph

53 Commits

Author SHA1 Message Date
HDVinnie
8a03bec818 add: model docblocks
- this resolves some larastan property issues but in return has revealed quite a few issues with our castings and such. baseline has been regenerated so we can work through them. The properties in docblocks are in order and match everything in DB schema wise.
2024-02-07 16:39:43 -05:00
Roardom
f11d1bb804 fix: phpstan level 7 errors in Models 2024-01-07 17:21:12 +00:00
HDVinnie
b3f0386149 cleanup: pt.1 2023-10-12 22:30:52 -04:00
HDVinnie
88d114c526 PHP Style Change (Laravel Pint CI) 2023-08-30 09:39:04 +00:00
Roardom
f2066f4441 fix: add type hints to models 2023-08-26 07:43:07 +00:00
Roardom
f4642c0baa fix: html entity double encoding
Bbcode is always sanitized first before being saved, which causes html entities. However, when content is edited again, the html entities aren't decoded before the user edits them, which causes the user to remove the html entities before updating the content. This commit now decodes the html back to text and will resanitize again upon save.
2023-07-22 04:55:15 +00:00
Roardom
9ba5c7e7c3 update: lazily compute forum post permalink page number 2023-07-15 23:24:26 +00:00
Roardom
8824abd9d5 update: forums 2023-05-08 01:30:43 +00:00
Roardom
bd81ed4004 optimize: forum posts db queries 2023-02-14 08:01:34 -06:00
Roardom
d97ab002f2 remove: redundant bbcode converter 2023-02-07 23:51:10 -06: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
46141cf28c fix: #2532
- closes #2532
2023-01-23 14:37:43 -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
38338b672d fix: #2353
- closes #2353
2022-08-24 19:52:38 -04:00
HDVinnie
0a7fe71cbd update: models 2022-02-28 05:03:31 -05:00
StyleCI Bot
2cc3d2b2cb Apply fixes from StyleCI 2022-01-23 22:42:35 +00:00
HDVinnie
00d00024e5 chore: cleanup 2022-01-23 17:42:16 -05:00
StyleCI Bot
fb1ade3587 Apply fixes from StyleCI 2022-01-10 22:46:58 +00:00
HDVinnie
98521378d2 chore: phpdoc blocks 2022-01-10 17:46:43 -05:00
HDVinnie
ebb5b72c2b fix: model type hints 2022-01-08 16:26: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
Oha-you
23122962c1 update: Improve Linkify, escape special chars for BBcode 2021-05-20 22:55:39 +03:00
HDVinnie
53a56f79c8 refactor: post like/dislike to livewire
- no more full page reloads. realtime like / dislike.
2021-03-02 21:23:11 -05:00
HDVinnie
a2c6e8c5f1 update: phpdoc blocks 2020-12-30 21:39:36 -05:00
HDVinnie
f9baf4d9fe refactor: models 2020-12-30 12:27:53 -05:00
HDVinnie
9687ba484a cleanup: post model 2020-12-28 23:49:58 -05:00
Laravel Shift
fac1da0b42 Shift cleanup 2020-09-08 22:25:06 +00:00
Laravel Shift
add31768f5 Shift to class based factories 2020-09-08 22:24:30 +00:00
HDVinnie
01093d711c Apply fixes from StyleCI
[ci skip] [skip ci]
2020-07-28 16:54:24 +00: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
3f688c0d65 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-06-03 06:10:58 +00:00
HDVinnie
b96511357b update: model doc blocks 2020-06-03 02:09:16 -04:00
HDVinnie
667e1bc0e7 refactor: simplify useless variables 2020-02-13 10:06:41 -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
865a139038 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-22 15:49:44 +00:00
HDVinnie
4e9a2d9304 (Update) XSS Protection 🔐
- close #1068
- update dependencies
- add JS obfuscator
- enable purgeCSS by default
2020-01-20 10:10:24 -05:00
HDVinnie
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
ef0b9e0203 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-13 14:36:38 +00:00
HDVinnie
2a0affa30d (Update) Model PHPDocs 🚀 2019-11-11 20:52:59 -05:00
HDVinnie
e0379e5b95 (Add) Audit System 🆕
- filtering to follow
2019-11-06 06:42:17 -05:00
HDVinnie
77e178069a Merge branch 'master' into Cruddy-By-Design 2019-10-28 14:39:16 -04:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
c9cf937e8b (Update) Purifier 🚀 2019-10-12 18:28:22 -04:00
HDVinnie
a3efd98e84 (Security Update) HTMLPurifier 🔐
- closes #875
- Fixes HTML Tags Not Being Contained / Elevated within user-generated bodies like (posts, comments, signature, etc.)
2019-10-11 11:57:17 -04:00
HDVinnie
9a735ba293 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-06-12 18:49:32 +00:00
HDVinnie
1100e56c35 (Update) BBCode V2 🚀
- complete refactor of BBCODE
- updated wysibb
- removed decoda for internal BBCODE parser
2019-06-10 15:46:05 -04:00