flowerey
2307a72b8b
refactor: swap united-community-edition to unit3d
2025-11-25 14:07:48 +03:00
Jay Sizzla
25acde5e8d
Fix tests
2025-11-01 12:19:38 +00:00
Jay
1d3b052b21
Updates from code review
...
Co-authored-by: Roardom <roardom@protonmail.com >
2025-11-01 12:19:38 +00:00
Jay Sizzla
74243f3b43
Add new tests for staff report handling
2025-11-01 12:19:38 +00:00
Roardom
7aee9f4c3e
update: validate email dns for register, profile update, invite
...
closes #5030
2025-10-17 22:49:54 +00:00
Roardom
34940180ee
update: prefer sentence case over title case in translations
2025-09-28 21:35:57 +00:00
Jay Sizzla
92179be953
Refactor user invite and registration tests
...
Remove obsolet tests, include email verification for registration tests, and complete more tests from InviteControllerTest
2025-09-21 14:05:23 +01:00
Roardom
cc26a18d05
update: prefer sentence case over title case in toast notifications
2025-09-20 03:09:40 +00:00
HDVinnie
0a7814f453
update: cleanup logic and test
2025-09-07 16:12:51 -04:00
Roardom
902fd94b0c
add: unfollow button to following page
2025-08-10 00:35:57 +00:00
Roardom
9bdbe9764c
refactor: cached select group id by slug queries
...
Uses a better key. Doesn't use the cache when it's not needed.
2025-07-14 18:15:29 +00:00
HDVinnie
8bac01a5de
Merge pull request #4811 from AnabolicsAnonymous/follow-controller-validation
2025-07-03 19:57:00 -04:00
AnabolicsAnonymous
de0ea160e9
chore: lint
2025-07-03 11:47:02 -05:00
AnabolicsAnonymous
de83aadfaf
update: phpunit test to follow before unfollowing
2025-07-03 11:43:54 -05:00
AnabolicsAnonymous
257867c2a4
update: move follow test above unfollow test
2025-07-02 03:52:57 -05:00
Roardom
4a8248d576
refactor: rename top10 to trending
...
It is more than just a top 10 page now.
2025-06-30 07:39:55 +00:00
HDVinnie
ea36520af1
Merge pull request #4800 from Roardom/enum-strings
2025-06-29 13:32:57 -04:00
Roardom
da7a606d3a
update: require 24 (configurable) hours after enabling 2fa before inviting
...
Previous (less secure) behavior can be restored by setting the config value to 0.
2025-06-23 06:33:03 +00:00
Roardom
46bfccc8b7
refactor: use enums for auth guards, middleware groups, and rate limits
2025-06-22 20:00:02 +00:00
Roardom
702ac45cb6
fix: normalize request claims
...
Errors happen when requests have the claimed flag but don't actually have a claim record (or vice-versa).
2025-06-20 03:08:01 +00:00
Roardom
a84c6de560
refactor: use laravel 7 seeder naming conventions
...
In laravel 7 and onward, seeder naming convention was changed to be singular and without `Table`.
2025-06-13 18:05:32 +00:00
HDVinnie
afc9b22514
Merge pull request #4760 from Roardom/active-verified-email
...
(Refactor) Replace `users.active` with `users.email_verified_at`
2025-06-13 11:06:08 -04:00
Roardom
0d92098d6f
refactor: replace users.active with users.email_verified_at
...
This is the correct column intended to be used by the Laravel framework. `active` seems to be a custom column that was implemented in UNIT3D before Laravel added email verification in version 5.7.
2025-06-11 06:07:56 +00:00
Roardom
725d13b0c4
refactor: remove unused ticket/comment events/listeners/notifications
...
These aren't currently being used. If this functionality is to be completed, it should be easy enough to find the code through the git history again. However, UNIT3D doesn't really use events and it'd be better for most of the notification sending to be inline (except the stale one of course).
2025-06-10 07:28:34 +00:00
Roardom
5f60ce6b77
refactor: enforce view filenames to use kebab case
...
Also had to use `@style` directives inside /resources/views/components/user-tag.blade.php. Prettier was erroring when the `@if` directive was inside the html attribute otherwise. Seems to have always been an issue, but the CI must only be formatting files that changed and because the file was only just changed now, it never discovered it until now.
2025-05-07 08:28:46 +00:00
HDVinnie
094f64ed46
refactor: mass private message system
...
- Dedicated CRUD controller
- Allow selected groups only
- Old Mass action controller will be moved to own Mass validate users controller in separate pr
- closes #4690
2025-05-06 08:37:54 -04:00
Roardom
9d478c928b
remove: public view of all users in group
2025-04-05 10:31:11 +00:00
Roardom
9efc2d3c5c
add: playlist categories
2025-04-01 09:54:31 +00:00
Roardom
ea1bdca818
update: store null for metadata id if they do not exist
...
And make it difficult / encourage users to submit the ids instead of leaving them empty.
2025-03-25 23:19:10 +00:00
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
32cf8da4db
refactor: split tmdb into movie_id and tv_id
...
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
Roardom
7e4ae4a5fc
fix: notification comment tag tests
...
Tagging a user while creating a comment will both create a notification for the tag, as well as create a notification to the user who made the torrent/request. We only want to assert that the count of notifications created during the test is 1 only for the tag notifications and not count the other notification created.
2025-03-09 06:35:07 +00:00
HDVinnie
a364cf3954
Merge branch '8.x.x' into stream-sd
2025-03-09 00:14:06 -05:00
Roardom
5a6259cea7
remove: sd content and stream optimized flags
...
SD content is represented by the resolutions table now instead of this flag. Most people prefer web-dls over stream-optimized encodes these days.
2025-03-09 03:33:32 +00:00
Roardom
933efb785b
update: inline client stats query
...
The query only takes 6 seconds on my local untuned machine. Caching it for an hour is probably fine, we have worse queries out there, and indexing isn't an option since this table is write-heavy. Reduces overall complexity and prevents blank page after cache is reset.
2025-03-06 16:53:06 +00:00
HDVinnie
6e2c8f569d
Merge pull request #4492 from Roardom/moderation-status-enum
...
(Refactor) Use moderation status enum and cast
2025-03-05 06:16:23 -05: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
bf479ec455
Use shouldSend for NewPostTag notifications
2025-02-27 13:09:23 +00:00
Jay Sizzla
19eb2819ba
Use shouldSend for NewCommentTag notifications
2025-02-27 13:09:23 +00:00
Jay Sizzla
3f91b00747
Use shouldSend for NewTopic notifications
2025-02-27 13:09:23 +00:00
Jay Sizzla
6e34a86388
Use shouldSend for NewBounty notifications
2025-02-27 13:09:23 +00:00
Jay Sizzla
c1771dc65c
Use shouldSend for NewComment notifications
2025-02-27 13:09:23 +00:00
Jay Sizzla
29c144a931
Use shouldSend for NewRequestUnclaim notifications
2025-02-27 13:09:23 +00:00
Jay Sizzla
a3524f9092
Use shouldSend for NewRequestClaim notifications
2025-02-27 13:08:43 +00:00
Jay Sizzla
034fecac9f
Use shouldSend for NewRequestFillApprove notifications
2025-02-27 13:08:43 +00:00
Jay Sizzla
9e1dd2acf7
Use shouldSend for NewRequestFillReject notifications
2025-02-27 13:08:43 +00:00
Jay Sizzla
1942d9f13b
Use shouldSend for NewRequestFill notifications
2025-02-27 13:08:43 +00:00
Jay Sizzla
aa8cefe803
Use shouldSend for NewPost notifications
2025-02-27 13:08:43 +00:00
Jay Sizzla
c2ad50f230
Use shouldSend for NewBon notifications
2025-02-27 13:08:43 +00:00
Jay Sizzla
66fc82f6d7
Use shouldSend for NewUnfollow notifications
2025-02-27 13:08:43 +00:00