Roardom
72a1e1a885
refactor: rename warnings/bans/notes <-> user/staff relations
...
These relations are older than the laravel convention for using camel case. Clean up their names to match modern styling and make them easier to read.
2025-11-08 10:23:22 +00: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
2855238c7d
Show unsolved report counts in torrent view
2025-11-01 12:19:38 +00:00
Jay Sizzla
fb31f889d3
Add reports assigning
2025-11-01 12:19:38 +00:00
Roardom
b0968db537
refactor: replace date_sub and date_add mysql syntax with - and +
...
Much easier to read for similar logic.
2025-10-03 10:09:10 +00:00
Roardom
cc26a18d05
update: prefer sentence case over title case in toast notifications
2025-09-20 03:09:40 +00:00
Roardom
2a3270e748
update: use cache()->flexible() to improve response times
2025-09-12 01:43:47 +00:00
HDVinnie
eff38a9ebb
Merge pull request #4934 from HDInnovations/delete-group
...
(Add) Ability to delete groups
2025-09-07 16:58:30 -04:00
HDVinnie
0a7814f453
update: cleanup logic and test
2025-09-07 16:12:51 -04:00
HDVinnie
34b9643e24
add: ability to delete groups
...
- request #4268
2025-09-02 09:43:30 -04:00
HDVinnie
ee2fd3789d
add: staff ticket category and priority management
...
- request #4674
2025-09-01 20:58:36 -04:00
Roardom
6a703e810b
fix: most phpstan types in donation controllers
2025-08-19 19:39:30 +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
Roardom
fb0f77c920
fix: delete prior article/category/playlist image upon new image upload
2025-06-30 08:41:28 +00:00
Roardom
9e63d82297
add: store unread news notifications
2025-06-18 05:04:40 +00: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
HDVinnie
3dd529d0ba
fix: dashboard_torrents count to not include soft deletes
2025-05-30 09:30:47 -04:00
Roardom
6fec472ac5
update: exclude cheated torrents under 5% the torrent size
...
Less false positives caused by different clients providing different traffic stats depending on if a downloaded piece is corrupted and retries or similar.
2025-05-29 09:37:40 +00:00
Roardom
596019ff53
update: improve cheated torrent algorithm
2025-05-28 12:26:59 +00:00
HDVinnie
230c7de1fd
Merge pull request #4726 from HDInnovations/Laravel-12
...
(Add) Laravel 12 Support
2025-05-26 22:27:49 -04:00
HDVinnie
482424550d
fix: reported phpstan errors
2025-05-26 21:54:57 -04:00
Roardom
fca4543949
Revert "Allow Admins to Edit Any Profile"
...
This reverts commit 797395ac87 .
2025-05-26 03:35:46 +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
HDVinnie
4ed0834818
lint: use to_route helper
2025-05-05 22:03:33 -04:00
HDVinnie
299d1dae2a
add: event deletion condition
...
- One cannot delete an event where users have already claimed a prize. Foreign key constraint stops this. So we implement a condition to prevent this and return message to mark the event as inactive instead.
2025-05-05 20:26:27 -04:00
Roardom
9efc2d3c5c
add: playlist categories
2025-04-01 09:54:31 +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
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
1af1862229
fix: store user-uploaded files in private directories
...
Filenames were randomized for a few of these to prevent public access, but it's still much better to put user-uploaded files behind auth.
2025-02-24 16:03:01 +00:00
HDVinnie
6080308758
Merge pull request #4485 from Roardom/tinyint-bool
...
(Fix) Migrate boolean columns to tinyint(1)
2025-02-20 18:05:21 -05:00
Roardom
58ff976f12
update: hide 'flush ghost peers' button when external tracker is enabled
...
The button doesn't do anything anyways for the external trackers. Users have to just wait it out.
2025-02-19 06:32:41 +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
dc8ba9530e
fix: updating bon earning with no conditions
2025-02-02 11:44:39 +00:00
HDVinnie
22ee788343
Merge pull request #4450 from Roardom/fix-bon-earning-dashboard
...
(Fix) Various staff dashboard issues with new bon system
2025-01-28 12:01:11 -05:00
HDVinnie
d2452f478f
Merge pull request #4447 from Roardom/spellcheck
...
(Add) Spell check ci
2025-01-28 12:00:43 -05:00
Roardom
604b7e1937
add: spell check ci
...
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
2025-01-24 11:30:34 +00:00
Roardom
1c5b3c5c26
fix: storing bon earnings without conditions
2025-01-24 09:32:57 +00:00
Roardom
868ad35aa4
refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
...
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.
Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
Roardom
d922562f86
update: make bonus point allocation more customizable
2025-01-16 21:40:25 +00:00
HDVinnie
455ba75337
Merge pull request #4380 from Roardom/group-permissions
...
(Add) Edit forum permissions when creating/editing group
2024-12-16 19:52:22 -05:00
Roardom
1e342d98fe
add: edit forum permissions when creating/editing group
2024-12-16 11:04:27 +00:00
HDVinnie
193c280358
fix: eager loading regression from #2908
...
- category was duplicated awhile back in https://github.com/HDInnovations/UNIT3D-Community-Edition/pull/2908
2024-12-03 23:03:48 -05:00
HDVinnie
192b5ed15d
chore: remove unused imports that pint is missing
2024-12-01 20:52:32 -05:00
HDVinnie
a56c0cf73d
(Add) New torrent moderator group ( #4351 )
...
* add: new torrent moderator group
- this group is limited to moderating and editing torrents via is_editor and is_torrent_modo group permissions
2024-11-26 20:17:49 -05:00
Roardom
18b3735085
add: log unregistered torrents
2024-11-13 09:56:43 +00:00
HDVinnie
8eb1e64cc1
Merge pull request #4300 from Roardom/ansi-db
...
(Refactor) Use ANSI-compatible syntax for raw database queries
2024-11-03 21:15:37 -05:00
Roardom
0e4bcb570d
refactor: use ANSI-compatible syntax for raw database queries
2024-11-02 04:26:49 +00:00
HDVinnie
98b7bad411
add: donation package soft deletes
...
- fixes #4277
2024-10-31 23:09:35 -04:00