Commit Graph

753 Commits

Author SHA1 Message Date
HDVinnie
413d2d6e52 Merge pull request #4916 from Roardom/fix-public-private-migration 2025-08-21 18:16:24 -04:00
Roardom
0fdf5e5386 fix: exclude empty filenames from public to private file migration
Empty filenames cause the rename command to rename the directory instead of the file, which fails.
2025-08-21 22:08:27 +00:00
Roardom
1a38a070dd fix: boolean migration when it has nulls
The `user_read` and `staff_read` columns were nullable initially so we have to fix edge cases where the database got into this state.
2025-08-21 22:07:12 +00:00
unit3d-bot
d95a40def8 automation: update schema dump 2025-07-15 22:08:48 +00:00
HDVinnie
170f704d0c add: user homepage block ordering
- closes #4791
- uses alpinejs drag and drop function
- renames visible columns for better consistency
- eager loads user settings for block performance
2025-07-15 18:04:18 -04:00
HDVinnie
aaa7812f04 Merge pull request #4792 from Roardom/fix-chat-visible-migration 2025-06-22 20:42:31 -04:00
Roardom
a3063fb8c5 refactor: normalize request votes
Cleans up the code and better normalization practice. Should this ever be a performance issue (such as sorting by vote count on request search page), then it'd probably be better to use meilisearch, but currently with 60k bounties, the query time only takes ~300ms compared to the 40ms previously.
2025-06-22 00:49:41 +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
6211f1f63b fix: chat_hidden to chat_visible migration
The column value needs to be inverted where it already exists. Any sites running the develpoment branch in production and have already ran this migration will need to run this additional query manually.
2025-06-20 03:01:10 +00:00
HDVinnie
885e34d953 add: user homepage block settings
- Now users can fully customize which blocks they want to see on sites homepage by toggling them in the user settings page.
2025-06-19 11:43:20 -04:00
unit3d-bot
c17189e284 automation: update schema dump 2025-06-19 14:36:03 +00:00
HDVinnie
e901ee27de Merge branch 'development' into unread-news 2025-06-19 10:34:11 -04:00
unit3d-bot
6d61fe73f6 automation: update schema dump 2025-06-18 05:06:23 +00:00
Roardom
9e63d82297 add: store unread news notifications 2025-06-18 05:04:40 +00:00
unit3d-bot
fbd01555cf automation: update schema dump 2025-06-18 04:43:43 +00:00
Roardom
b16232a8cf update: allow requesting torrents with any resolution or type 2025-06-18 04:41:52 +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
Roardom
436c8d96c9 refactor: rename password_resets table to password_reset_tokens
To match upstream Laravel and its documentation.
2025-06-13 15:59:32 +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
unit3d-bot
cf5011c334 automation: update schema dump 2025-05-28 12:28:44 +00:00
Roardom
596019ff53 update: improve cheated torrent algorithm 2025-05-28 12:26:59 +00:00
Roardom
aee98af699 Revert "automation: update schema dump"
This reverts commit 343a12d329.
2025-05-02 19:37:24 +00:00
Roardom
ddb0f37690 Revert "add: tmdb content rating"
This reverts commit c40334332d.
2025-05-02 19:37:19 +00:00
unit3d-bot
343a12d329 automation: update schema dump 2025-04-29 15:43:34 +00:00
AnabolicsAnonymous
c40334332d add: tmdb content rating 2025-04-29 10:41:43 -05:00
unit3d-bot
38abd5098f automation: update schema dump 2025-04-15 13:32:22 +00:00
HDVinnie
3daf9dee41 Merge branch 'development' into playlist-suggestions 2025-04-15 09:30:42 -04:00
unit3d-bot
2fbfb85c49 automation: update schema dump 2025-04-15 11:43:11 +00:00
Roardom
c9e58f6f56 add: playlist suggestions
Allow other users to suggest torrents to add to other users' playlists.
2025-04-15 11:41:22 +00:00
unit3d-bot
8e81c3ce1f automation: update schema dump 2025-04-15 08:39:50 +00:00
Roardom
e032d0f858 add: description to playlist categories 2025-04-15 08:37:51 +00:00
unit3d-bot
d6d27252b7 automation: update schema dump 2025-04-09 21:32:11 +00:00
Roardom
e3cbfd7d7f refactor: split tmdb recommendations into movies and tv 2025-04-07 17:20:57 +00:00
Roardom
69363b7d7a remove: seasons, episodes, guest_stars
These tables and models aren't used anymore. Seasons and episodes aren't used because most torrents do not follow tmdb's episode and season ordering, but instead follow tvdb's, so it is more accurate to specify the episode and season number directly. Guest stars haven't been used for a long time, if ever.

Fixes #4565
2025-04-03 09:05:19 +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
7998c4a204 add: setting to automatically unbookmark torrents upon completion
Only every 15 minutes for now instead of upon immediate completion, but it makes the code much easier to implement.
2025-03-23 21:17:11 +00:00
unit3d-bot
0f65b822cc automation: update schema dump 2025-03-19 01:05:49 +00:00
HDVinnie
8bef41483c Merge pull request #4569 from Roardom/tmdb-prefix 2025-03-18 21:04:28 -04:00
HDVinnie
82870ff6c6 (Update) GitHub actions (#4571) 2025-03-18 01:28:19 -04: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
7889c71618 refactor: use unsigned int for igdb
Use the correct type for the external id.

Step 3 in cleaner meta fetching code.
2025-03-16 20:58:30 +00:00
Roardom
8fde78124b refactor: save igdb games to the database
Step 1 towards cleaner meta fetching code.

Users with a game category must run `php artisan fetch:meta` after migration.
2025-03-11 19:48:25 +00: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
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 Sizzla
761a7617c8 Fix TorrentRequestClaimFactory 2025-02-27 13:39:46 +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
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
HDVinnie
7879b437ec Merge pull request #4497 from Roardom/public-private
(Fix) Store user-uploaded files in private directories
2025-02-25 07:42:38 -05:00