Commit Graph

43 Commits

Author SHA1 Message Date
Roardom ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom a447269552 refactor: use moderation status enum and cast
For consistency and less magic numbers hard coded everywhere.
2025-02-26 14:23:02 +00:00
Roardom b2e29cfcf0 fix: migrate boolean columns to tinyint(1)
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
Roardom d6a4acc533 fix: parent comment not receiving notification on reply
Regression from 68645ef.
2024-08-16 08:28:12 +00:00
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 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 b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
HDVinnie 78346276c0 fix: app/Http/Livewire/Comment.php
- deprecated
2024-03-19 14:26:41 -04: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 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
HDVinnie 3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
Roardom 6e6f551367 fix: various larastan livewire issues 2023-08-25 06:45:41 +00:00
Roardom 09f6747741 fix: prevent comment parent deleting comment chain 2023-07-30 04:50:56 +00:00
Roardom d19bb4f2ea refactor: swap auth()->user()->id to auth()->id() 2023-07-07 00:28:47 +00:00
Roardom 9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00: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
HDVinnie c8efbef568 fix: match 2023-04-26 19:45:36 -04: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
Roardom a0429ca442 fix: achievement unlock
The unlock() function only takes a single argument
2023-04-12 03:19:22 +00:00
HDVinnie 3650900c97 update: lint
- not_operator_with_space to false
2023-02-03 16:01:29 -05: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 fcd1be61e5 fix: Property [$model] not found on component: [comment] 2023-01-27 05:48:38 -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 bcd601c6e5 fix: livewire comment component 2022-12-05 10:00:40 -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 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 46f37029e6 update: sanitize comment edits 2022-06-20 23:48:05 -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