Roardom
d10df2a8c2
fix: ticket notification shouldSend logic
...
Regression from #4274 .
2025-12-02 07:41:02 +00:00
Roardom
1c6bce64c3
refactor: simplify instanceof in match (true)
...
Now that models are final, we can do this without any gotchas or phpstan errors.
2025-10-29 10:19:58 +00:00
Roardom
39f4a15a7d
update: always notify uploader/requester on replies
...
But don't send two notifications, one to the top level commenter, and one to the uploader, if they happen to be the same user. Keep the logic that notifies the top level commenter of any replies within.
2025-04-14 09:49:13 +00:00
HDVinnie
f8060e3e22
fix: notification setting logic when notification doesn't exist
2025-03-09 06:00:52 +00:00
Jay
1b1e8399c4
Code cleanup & improvements
...
Co-authored-by: Roardom <78790963+Roardom@users.noreply.github.com >
2025-02-27 13:09:23 +00:00
Jay Sizzla
c1771dc65c
Use shouldSend for NewComment notifications
2025-02-27 13:09:23 +00:00
Roardom
8d6e2ba3e6
add: scroll to comment when clicking new comment notification
2024-08-18 19:54:15 +00:00
Roardom
4c7b406874
fix: larastan errors in notifications
2024-08-11 02:17:25 +00:00
Roardom
68645ef825
fix: types for livewire comments
2024-06-09 04:05:01 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
Roardom
182cfeaca7
fix: add type hints to notifications
2023-08-26 08:14:04 +00:00
HDVinnie
dd923eed95
update: comments system
2023-04-26 19:38:22 -04: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
77c2df3ece
fix: anonymous commenting
2022-12-26 23:45:58 -05:00
HDVinnie
8551eef8ef
update: comment notifications
2022-11-17 16:10:50 -05:00
HDVinnie
3f27fddfe9
update: livewire comments
2022-09-22 16:32:00 -04: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
98521378d2
chore: phpdoc blocks
2022-01-10 17:46:43 -05:00
HDVinnie
97394c062f
chore: adopt type hints
2022-01-07 23:35:33 -05:00
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04: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
467d31f10a
refactor: constructor promotions
2020-12-17 23:25:50 -05: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
c8d953a3ad
Merge branch 'master' into development
2020-02-12 18:03:21 -05:00
HDVinnie
780e0c1f0e
chore: update license block
2020-02-12 15:05:34 -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
c8f2390c4d
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie
92f825289e
(Update) CRUDDY PT.10 🚀
2019-11-03 13:09:45 -05:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -04:00
Laravel Shift
dcc003602b
Adopt Laravel coding style
...
The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.
However, Shift allows you to customize the adopted coding style through
the [.shiftrc][1] file by using your [PHP CS Fixer][2] config.
[1]: https://laravelshift.com/shiftrc-configuration-file
[2]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
2019-05-09 00:04:58 +00:00
HDVinnie
67339d7329
(Update) PHPDocs 🚀
2019-04-03 20:02:01 -04:00
HDVinnie
3c87845e54
(Update) Namespace models under App\Models 🚀
2019-02-22 08:15:41 -05:00
singularity43
9310b61899
(Update) NewComment Notification
...
Fix formatting.
2019-01-30 21:44:21 -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
2fed49a73f
(Add) NewComment Notifications
...
For request/torrent split.
2019-01-23 22:05:50 -05:00