Skip to content

Commit b552162

Browse files
authored
Merge pull request #4735 from HDInnovations/development
(Release) UNIT3D v9.1.0
2 parents d9c69e2 + cbdf848 commit b552162

38 files changed

+574
-604
lines changed

README.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</h1>
66

77
<p align="center">
8-
<a href="http://laravel.com"><img src="https://img.shields.io/badge/Laravel-11-f4645f.svg" /></a>
8+
<a href="http://laravel.com"><img src="https://img.shields.io/badge/Laravel-12-f4645f.svg" /></a>
99
<a href="https://github.com/HDInnovations/UNIT3D/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-AGPL%20v3.0-yellow.svg" /></a>
1010
<a href="https://github.com/HDInnovations/UNIT3D-Community-Edition/actions/workflows/lint.yml/badge.svg?branch=master"><img src="https://github.com/HDInnovations/UNIT3D-Community-Edition/actions/workflows/lint.yml/badge.svg?branch=master" /></a>
1111
<a href="https://github.com/HDInnovations/UNIT3D-Community-Edition/actions/workflows/phpunit-test.yml/badge.svg?branch=master"><img src="https://github.com/HDInnovations/UNIT3D-Community-Edition/actions/workflows/phpunit-test.yml/badge.svg?branch=master" /></a>
@@ -27,17 +27,17 @@
2727
2. [Installation](#installation)
2828
3. [Updating](#updating)
2929
4. [Contributing](#contributing)
30-
4. [Translations](#translations)
31-
5. [License](#license)
32-
6. [Services](#services)
33-
7. [Discord](#discord)
34-
8. [Donations](#donations)
35-
9. [Shoutouts](#shoutouts)
30+
5. [Translations](#translations)
31+
6. [License](#license)
32+
7. [Services](#services)
33+
8. [Discord](#discord)
34+
9. [Donations](#donations)
35+
10. [Shoutouts](#shoutouts)
3636

3737

3838
## <a name="introduction"></a> 🧐 Introduction
3939

40-
We have been developing a Private Torrent Tracker Software called `UNIT3D` (pronounced "united"). This is a PHP software based on Laravel 11, Livewire and AlpineJS. It is MySQL Strict Mode Compliant, and PHP 8.4 Ready. It uses an MVC Architecture to ensure clarity between logic and presentation.
40+
UNIT3D (pronounced "united") is a modern Private Torrent Tracker software built with Laravel, Livewire and AlpineJS. It offers a feature-rich platform with excellent performance, security and scalability to create and manage a private tracker. It is MySQL Strict Mode Compliant and PHP 8.4 Ready. It uses an MVC Architecture to ensure clarity between logic and presentation.
4141

4242
## <a name="installation"></a> 🖥️ Installation
4343

@@ -47,11 +47,11 @@ No public script or documentation is available at this time.
4747

4848
To update your installation to the latest version, run the following command. This will pull the latest changes from the repository and update your instance:
4949

50-
`php artisan git:update`
50+
`sudo php artisan git:update`
5151

5252
## <a name="contributing"></a> 🤝 Contributing
5353

54-
Please read [CONTRIBUTING.md](https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
54+
Please read [CONTRIBUTING.md](https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests to us.
5555

5656
## <a name="translations"></a> 🌎 Translations
5757

@@ -63,7 +63,7 @@ We use Weblate for translations. You can easily contribute to translations at ht
6363

6464
## <a name="license"></a> 📜 License
6565

66-
This project is licensed under the AGPL v3.0 License - see the [LICENSE](https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/LICENSE.md) file for details.
66+
This project is licensed under the AGPL v3.0 License. See the [LICENSE](https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/LICENSE.md) file for details.
6767

6868
## <a name="services"></a> 🛠️ Services
6969

@@ -79,15 +79,14 @@ If you would like to support the development of UNIT3D, please consider donating
7979

8080
*Donations are non-refundable and made voluntarily without exchange of goods or services. It is support the project as a whole.*
8181

82-
### **Credit / Debit (Square)**
82+
#### You can donate via Square payment processor using the following link:
8383

84-
<a href="https://square.link/u/VjB1CNfm" target="_blank"><img alt="unit3d-donate.png" src="public/img/unit3d-donate.png" width="200px"/></a>&nbsp;&nbsp;&nbsp;
85-
<img alt="unit3d-qr-code.png" src="public/img/unit3d-qr-code.png" width="169px"/>
84+
[Donate via Square](https://square.link/u/VjB1CNfm)
8685

87-
### **Crypto**
86+
#### You can also donate via BTC cryptocurrency using the following addresses:
8887

89-
- **Bitcoin (BTC):** `bc1qzgrgfrw2y4x20ywzu49q50ptxg8jeuqv3tmx9v`
90-
- **Bitcoin via Email (Proton Wallet Only):** `[email protected]`
88+
- Bitcoin (BTC): `bc1qzgrgfrw2y4x20ywzu49q50ptxg8jeuqv3tmx9v`
89+
- Bitcoin via Email (Proton Wallet Only): `[email protected]`
9190

9291
## <a name="shoutouts"></a> 🎉 Shoutouts
9392

@@ -98,11 +97,6 @@ We would like to extend our heartfelt thanks to the following companies, sites a
9897
<!-- cspell:disable-next-line -->
9998
**airclay**, **Henriette**, **Jocelyn**, **Marcus**, **Poppers**, **sam**, **samual**, **schizobolic**, **x64**
10099

101-
### 🌐 Sites
102-
<img src="https://i.postimg.cc/BQJmGYMt/blu.png" height="30px;">&nbsp;
103-
<img src="https://i.postimg.cc/PrK2fWRy/tik.png" height="30px;">&nbsp;
104-
<img src="https://i.postimg.cc/zDCx6Zw9/fnp.png" height="27px;">&nbsp;
105-
106100
### 🏢 Companies
107101
<a href="https://scoutapm.com/?utm_source=github&utm_medium=referral&utm_campaign=opensource_referral"><img src="https://i.postimg.cc/g29XCJDh/Logo-rounded-square-495x495-1.png" height="30px;"></a>&nbsp;
108102
<a href="https://www.jetbrains.com/?from=UNIT3D"><img src="https://i.imgur.com/KgDXZV8.png" height="30px;"></a>&nbsp;

app/Console/Commands/AutoBonAllocation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ public function handle(ByteUnits $byteUnits): void
124124
});
125125
}, 25);
126126

127-
$this->comment('Automated BON Allocation Command Complete in '.now()->diffInMilliseconds($now).' ms');
127+
$this->comment('Automated BON Allocation Command Complete in '.(int) now()->diffInMilliseconds($now, true).' ms');
128128
}
129129
}

app/Console/Commands/AutoGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ final public function handle(): void
9999
}
100100
});
101101

102-
$elapsed = $now->diffInSeconds(now());
102+
$elapsed = (int) $now->diffInSeconds(now(), true);
103103
$this->comment('Automated User Group Command Complete ('.$elapsed.' s)');
104104
}
105105
}

app/Console/Commands/AutoSyncPeopleToMeilisearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ public function handle(): void
6060

6161
$index->addDocuments($documents);
6262

63-
$this->comment('Synced all people to Meilisearch in '.(now()->diffInMilliseconds($start) / 1000).' seconds.');
63+
$this->comment('Synced all people to Meilisearch in '.(int) (now()->diffInMilliseconds($start, true) / 1000).' seconds.');
6464
}
6565
}

app/Console/Commands/AutoSyncTorrentsToMeilisearch.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ public function handle(): void
6262
// recently finished 15-minute period (since this cron job runs
6363
// every 15 minutes, but might be delayed by a few seconds/minutes
6464
// each time)
65-
$since = now()->startOfHour()->addMinutes(15 * (intdiv(now()->diffInMinutes(now()->startOfHour()), 15) - 1));
65+
$since = now()->startOfHour()->addMinutes(15 * (intdiv((int) now()->diffInMinutes(now()->startOfHour(), true), 15) - 1));
6666

6767
Torrent::query()
6868
->selectRaw(Torrent::SEARCHABLE)
6969
->where('updated_at', '>', $since)
7070
->searchable();
7171
}
7272

73-
$this->comment('Synced all torrents to Meilisearch in '.(now()->diffInMilliseconds($start) / 1000).' seconds.');
73+
$this->comment('Synced all torrents to Meilisearch in '.((int) now()->diffInMilliseconds($start, true) / 1000).' seconds.');
7474
}
7575
}

app/Console/Commands/AutoUnbookmarkCompletedTorrents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ final public function handle(): void
4747
->whereRelation('history', 'completed_at', '>', now()->subDay())
4848
->delete();
4949

50-
$this->comment($affected.' bookmarks unbookmarked on torrent completion in '.now()->floatDiffInSeconds($start).' seconds.');
50+
$this->comment($affected.' bookmarks unbookmarked on torrent completion in '.(int) now()->diffInSeconds($start, true).' seconds.');
5151
}
5252
}

app/Console/Commands/DeleteUnparticipatedConversations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function handle(): void
4848

4949
$deletedConversations = Conversation::query()->whereDoesntHave('participants')->delete();
5050

51-
$elapsed = now()->floatDiffInSeconds($start);
51+
$elapsed = (int) now()->diffInSeconds($start, true);
5252

5353
$this->info("Deleted {$deletedParticipants} participants and {$deletedConversations} conversations in {$elapsed} seconds");
5454
}

app/Console/Commands/FetchMeta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ final public function handle(): void
121121
}
122122
}
123123

124-
$this->alert('Meta fetch queueing complete in '.now()->floatDiffInSeconds($start).'s.');
124+
$this->alert('Meta fetch queueing complete in '.(int) now()->diffInSeconds($start, true).'s.');
125125
}
126126
}

app/Helpers/BackupEncryption.php

Lines changed: 0 additions & 50 deletions
This file was deleted.

app/Helpers/BackupPassword.php

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)