Commit Graph

47 Commits

Author SHA1 Message Date
Roardom 2e91e1157f fix: some user group permissions
These permissions were never meant to be directly edited by staff. They should never have been added to the staff user edit page as it just caused confusion when the settings reset at the daily group change. I've now added these settings to the group directly and allow the settings on the user edit page to override the group settings. I refrained from fixing the can_download permission for now, because so many different things affect it and it will need at 3 separate permissions to control everything it does. Trying to fix it will take much more effort than what can be fixed today. Because of this, I removed the setting from the user edit page to reduce confusion from staff who don't realize it is controlled by the scheduler. Relevant issue: #1820.
2024-07-26 22:35:45 +00:00
Roardom 5a35684792 Revert "update: use eager loading for comment children existence"
This reverts commit 4f91acbc19.
2024-06-26 07:48:21 +00:00
Roardom 898fd9fed8 fix: anon comments
Regression from #3918
2024-06-17 14:59:29 +00:00
Roardom 68645ef825 fix: types for livewire comments 2024-06-09 04:05:01 +00:00
Roardom 4f91acbc19 update: use eager loading for comment children existence 2024-05-26 12:24:48 +00:00
Roardom b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
HDVinnie bde593e48b update: livewire 2024-03-03 22:41:29 -05:00
Roardom fe31076104 Reapply "Merge pull request #3380 from Roardom/livewire-types"
This reverts commit b4a9dfea8b.
2024-01-24 08:03:05 +00:00
HDVinnie b4a9dfea8b Revert "Merge pull request #3380 from Roardom/livewire-types"
This reverts commit a4e1a1bc62, reversing
changes made to 10982c68bd.
2024-01-14 16:18:08 -05:00
Roardom b6a3917575 fix: add type hints to Livewire computed properties 2024-01-14 11:35:55 +00:00
Roardom 0da9cef272 fix: specify primitive data types for Livewire properties 2024-01-14 11:35:55 +00:00
Roardom 8af4d06dc2 fix: exclude tickets from can_comment permission 2023-11-16 08:34:45 +00:00
Roardom 6e6f551367 fix: various larastan livewire issues 2023-08-25 06:45:41 +00:00
Roardom 741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
Roardom 9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
HDVinnie 6748622006 update: comments design
- based off posts which is a lot cleaner
2023-06-18 22:53:52 -04:00
HDVinnie 3939d7e414 fix: ticket comments
- Helpdesk comments should not count towards achievements
2023-06-03 00:12:39 -04:00
Roardom 7eb38d92e6 fix: ticket notification logic
Ticket assignees weren't always notified of new comments on tickets
2023-05-11 04:38:30 +00:00
Roardom a35b545979 fix: comment children avatars
Also remove unnecessary query: comments can only be replied to once, so children of children of comments don't exist.
2023-05-08 07:12:59 +00:00
HDVinnie dd923eed95 update: comments system 2023-04-26 19:38:22 -04:00
HDVinnie 1345c61c40 update: comments system 2023-04-25 20:56:21 -04:00
HDVinnie 88c2730113 PHP Style Change (Laravel Pint CI) 2023-04-25 23:09:06 +00:00
HDVinnie d8deb2ffcf update: add back chat system messages 2023-04-25 19:07:54 -04:00
HDVinnie 39cfc98bdd update: eager loading 2023-04-16 21:29:29 -04:00
HDVinnie 7d991881f4 fix: N+1 issues 2023-04-16 00:14:16 -04:00
HDVinnie b9e298a822 fix: n+1 comments
- add eager loading for user group
2023-04-16 00:00:04 -04:00
Roardom a0429ca442 fix: achievement unlock
The unlock() function only takes a single argument
2023-04-12 03:19:22 +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 b6f2df4e2d fix: Property [$model] not found on component: [comment]
- show proper error when trying to comment on non approved torrent.
2023-01-23 12:22:59 -05:00
HDVinnie 22144efe77 update: livewire comments 2022-12-27 00:33:45 -05:00
HDVinnie aeac77795b fix: user tagging 2022-12-27 00:19:22 -05:00
HDVinnie 35bfa41b97 refactor: user tagging
- simplify user tagging for posts and comments
2022-12-26 20:50:38 -05:00
HDVinnie 5fa0a122d0 PSR12 Linting 2022-11-14 21:27:58 +00:00
HDVinnie 83baf08e57 update: comments system
- new tagging system coming in a seperate PR
2022-11-14 16:27:08 -05:00
HDVinnie 1182ad7bd4 fix: torrent comment notifications 2022-11-13 12:50:48 -05:00
HDVinnie 6d2b591108 update: livewire comments component 2022-11-13 09:30:29 -05:00
HDVinnie 3f27fddfe9 update: livewire comments 2022-09-22 16:32:00 -04:00
HDVinnie 9e5a295db7 update: comments system 2022-09-19 21:48:55 -04:00
HDVinnie e4dfcf9601 fix: comments 2022-09-09 11:17:20 -04:00
HDVinnie e744824043 update: livewire comments 2022-06-28 20:30:24 -04:00
HDVinnie c1e35fb62b update: livewire comments 2022-06-28 19:22:54 -04:00
HDVinnie fbc17f2e20 update: comments component 2022-06-22 22:24:01 -04:00
StyleCI Bot 1abc878166 Apply fixes from StyleCI 2022-06-15 23:08:56 +00:00
HDVinnie 9e5c24c2b9 update: comments system 2022-06-15 19:08:37 -04:00
HDVinnie 9005cc5d19 update: comments system 2022-06-15 08:27:32 -04:00
StyleCI Bot 5d28170266 Apply fixes from StyleCI 2022-01-24 00:32:35 +00:00
HDVinnie 53e6fa10bd add: livewire components 2022-01-23 19:32:25 -05:00