Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Release) v8.1.0 #3783

Merged
merged 94 commits into from
Apr 26, 2024
Merged
Changes from 1 commit
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
fdce543
Update two-factor-auth-form.blade.php
BitPyrate Apr 2, 2024
3152cc5
(Fix) Call to a member function pluck() on array
LostRager Apr 3, 2024
bcfbb35
Add invite priv to group requirements page
Obi-Wana Apr 4, 2024
b628252
Requirements & Perks columns should be equal in width
Obi-Wana Apr 4, 2024
f01beb9
Add mobile layout
Obi-Wana Apr 4, 2024
2825e1e
Take global invite restriction into account
Obi-Wana Apr 4, 2024
0ba1ce5
Blade Style Change (Prettier Blade CI)
HDVinnie Apr 4, 2024
081e68e
Improve desktop and mobile layout
Obi-Wana Apr 6, 2024
900ce10
Merge pull request #3722 from Obi-Wana/invite-privs-to-group-requirem…
HDVinnie Apr 7, 2024
14652fa
fix: broken syntax
HDVinnie Apr 7, 2024
3f1e497
chore: larastan
HDVinnie Apr 7, 2024
4857fb5
Merge pull request #3716 from BitPyrate/BitPyrate-patch-1
HDVinnie Apr 7, 2024
86da181
Merge pull request #3717 from LostRager/patch-4
HDVinnie Apr 7, 2024
5da5729
Update row.blade.php
crKtv Apr 7, 2024
fd829a4
Merge pull request #3731 from crKtv/master
HDVinnie Apr 7, 2024
65ced2c
fix: #3729
HDVinnie Apr 8, 2024
c5d7859
fix: #3724
HDVinnie Apr 8, 2024
94e7021
Merge pull request #3733 from HDInnovations/Bug-3729
HDVinnie Apr 8, 2024
1f96ca1
Merge pull request #3734 from HDInnovations/Bug-3724
HDVinnie Apr 8, 2024
b308deb
update: dependencies
HDVinnie Apr 8, 2024
4d5d701
fix: middleware alias
HDVinnie Apr 8, 2024
2685606
add: request #3676
HDVinnie Apr 8, 2024
19f3f13
update: homecontroller test
HDVinnie Apr 8, 2024
4634790
Merge pull request #3737 from HDInnovations/Dependencies
HDVinnie Apr 8, 2024
3eb9db3
Merge pull request #3738 from HDInnovations/Helpdesk
HDVinnie Apr 8, 2024
adb103f
(Update) TMDb/IMDb icons for movie_meta partials
EkoNesLeg Apr 9, 2024
ec23605
add: personal releases
HDVinnie Apr 11, 2024
27581be
Merge pull request #3742 from HDInnovations/Request-3676
HDVinnie Apr 11, 2024
d0ba5f7
chore: lint
HDVinnie Apr 12, 2024
25c898b
update: meta icons
HDVinnie Apr 12, 2024
3469d46
Merge pull request #3743 from EkoNesLeg/8.x.x
HDVinnie Apr 12, 2024
1502f8f
update: images
HDVinnie Apr 12, 2024
062f166
Blade Style Change (Prettier Blade CI)
HDVinnie Apr 12, 2024
612f6a4
Merge pull request #3749 from HDInnovations/Images
HDVinnie Apr 12, 2024
96984a4
(Update) User profile invite persmission - 2fa
Audionut Apr 14, 2024
ea38a1c
Add search for title and year
Obi-Wana Apr 13, 2024
845d9f7
Merge pull request #3753 from Obi-Wana/missing-media-search
HDVinnie Apr 14, 2024
627e67f
Merge pull request #3754 from Audionut/invite_profile
HDVinnie Apr 14, 2024
b40250f
fix: form request
HDVinnie Apr 14, 2024
fa2a5a2
chore: actions
HDVinnie Apr 14, 2024
5682bd0
update: rules
HDVinnie Apr 15, 2024
3240dd6
update: notifications
HDVinnie Apr 15, 2024
8a33400
Merge pull request #3757 from HDInnovations/Warning-Notifications
HDVinnie Apr 16, 2024
78e1622
Merge pull request #3755 from HDInnovations/Group-Validation
HDVinnie Apr 16, 2024
567b0c6
fix: permission check
HDVinnie Apr 16, 2024
e0c967e
Merge pull request #3758 from HDInnovations/Playlist-Permissions
HDVinnie Apr 16, 2024
0bf9ad7
refactor: Change input type for better 2FA inference
EkoNesLeg Apr 17, 2024
5b59fcb
Merge pull request #1 from EkoNesLeg/EkoNesLeg-patch-1
EkoNesLeg Apr 17, 2024
9bd216e
(Update) two-factor-challenge.blade.php
EkoNesLeg Apr 17, 2024
134e5f0
update: two-factor-challenge.blade.php
EkoNesLeg Apr 17, 2024
5a93a1d
fix: primary language metadata class
MiM-MiM Apr 17, 2024
f0bd8d1
Merge pull request #3760 from MiM-MiM/meta_primary_language_fix
HDVinnie Apr 17, 2024
fc399fd
Merge pull request #3759 from EkoNesLeg/8.x.x
HDVinnie Apr 17, 2024
41db02b
add: request #3745
HDVinnie Apr 17, 2024
b27c533
Blade Style Change (Prettier Blade CI)
HDVinnie Apr 17, 2024
8e8c373
Merge pull request #3762 from HDInnovations/Request-3745
HDVinnie Apr 17, 2024
e3234da
fix: viewing stats from external tracker
Roardom Apr 19, 2024
6aab657
Merge pull request #3764 from Roardom/fix-external-tracker
HDVinnie Apr 19, 2024
f61364f
fix: add torrents to external tracker immediately
Roardom Apr 19, 2024
509ee73
Merge pull request #3765 from Roardom/fix-external-tracker-torrent-add
HDVinnie Apr 19, 2024
899f121
fix: add/remove featured torrents to external tracker
Roardom Apr 19, 2024
f653641
fix: connectivity check on external tracker
Roardom Apr 19, 2024
3b6dac0
Merge pull request #3766 from Roardom/fix-external-tracker-featured
HDVinnie Apr 19, 2024
ab956c2
Merge pull request #3767 from Roardom/fix-external-tracker-connectivi…
HDVinnie Apr 19, 2024
b4f402a
fix: user profile
HDVinnie Apr 19, 2024
c5377ae
fix: top_users.blade.php
HDVinnie Apr 19, 2024
11ef47c
fix: refresh the torrent before sending to external tracker
Roardom Apr 20, 2024
9d8621f
fix: ci
Roardom Apr 20, 2024
f9f8948
Merge pull request #3768 from Roardom/fix-null-torrent-status
HDVinnie Apr 20, 2024
4444d9c
API - expose options
Audionut Apr 21, 2024
4bcc9cb
add: bluray.com support
HDVinnie Apr 22, 2024
6e4be4d
chore: pint
HDVinnie Apr 22, 2024
518dfef
Merge pull request #3771 from Audionut/patch-1
HDVinnie Apr 23, 2024
ed392eb
Merge pull request #3773 from HDInnovations/Meta-Data
HDVinnie Apr 23, 2024
51fa8ec
update: laravel
HDVinnie Apr 23, 2024
1420eb4
remove: deprecated methods and dbal
HDVinnie Apr 23, 2024
0f52a11
fix: other.php config
HDVinnie Apr 23, 2024
b3b04f6
update: mysql-schema.sql
HDVinnie Apr 23, 2024
4f10a0f
chore: composer bump
HDVinnie Apr 23, 2024
e4dd9bf
update: configs
HDVinnie Apr 24, 2024
bd54a23
fix: carbon issues
HDVinnie Apr 24, 2024
a7fc767
fix: user search
HDVinnie Apr 24, 2024
2b5d924
Merge pull request #3774 from HDInnovations/Laravel-11
HDVinnie Apr 24, 2024
1ebcff0
Merge pull request #3775 from HDInnovations/User-Search
HDVinnie Apr 24, 2024
bb934b8
update: automatically resize textarea input depending on content
Roardom Apr 25, 2024
34f58f2
fix: topic reads on home page
Roardom Apr 25, 2024
e4a4715
update: disable PHP announce when external tracker is enabled
Roardom Apr 26, 2024
161fbcc
Merge pull request #3781 from Roardom/disable-announce
HDVinnie Apr 26, 2024
87515f4
Merge pull request #3780 from Roardom/topic-caching
HDVinnie Apr 26, 2024
bff0abd
Merge pull request #3779 from Roardom/textarea-size
HDVinnie Apr 26, 2024
34e3669
fix: #3752
HDVinnie Apr 26, 2024
78d5f91
PHP Style Change (Laravel Pint CI)
HDVinnie Apr 26, 2024
33748bc
update: unit3d config
HDVinnie Apr 26, 2024
1706578
Merge pull request #3782 from HDInnovations/Bug-3752
HDVinnie Apr 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: ci
`featured` is both an attribute and a relation. Using `getAttribute`, we always prioritize the attribute, which seems to satisfy CI.
Roardom committed Apr 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9d8621fc3cd988ce242ee802050dd16366ff74fc
6 changes: 3 additions & 3 deletions app/Http/Controllers/API/TorrentController.php
Original file line number Diff line number Diff line change
@@ -319,12 +319,12 @@ public function store(Request $request): \Illuminate\Http\JsonResponse

Unit3dAnnounce::addTorrent($torrent);

if ($torrent->featured) {
if ($torrent->getAttribute('featured')) {
Unit3dAnnounce::addFeaturedTorrent($torrent->id);
}

// Set torrent to featured
if ($torrent->featured == 1) {
if ($torrent->getAttribute('featured')) {
$featuredTorrent = new FeaturedTorrent();
$featuredTorrent->user_id = $user->id;
$featuredTorrent->torrent_id = $torrent->id;
@@ -375,7 +375,7 @@ public function store(Request $request): \Illuminate\Http\JsonResponse
$user = $torrent->user;
$username = $user->username;
$anon = $torrent->anon;
$featured = $torrent->featured;
$featured = $torrent->getAttribute('featured');
$free = $torrent->free;
$doubleup = $torrent->doubleup;