Skip to content

Commit

Permalink
Merge v2.0.91
Browse files Browse the repository at this point in the history
  • Loading branch information
MentalBlank committed Dec 12, 2024
2 parents ddbaafe + ea364ee commit 1739a18
Show file tree
Hide file tree
Showing 20 changed files with 643 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- GHCR in build workflow.
- Removed some junk from changelog.

## [2.0.91] - 2024-12-11
### Changed
- Torbox fixes.

## [2.0.90] - 2024-12-06
### Changed
- Download individual files from Torbox instead of a zip file.
Expand Down
2 changes: 1 addition & 1 deletion client/src/app/navbar/navbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<a class="navbar-item" routerLink="profile"> Profile </a>
<a class="navbar-item" (click)="logout()"> Logout </a>
<hr class="navbar-divider" />
<a href="https://github.com/mentalblank/rdt-client" target="_blank" class="navbar-item">Version 2.0.90</a>
<a href="https://github.com/mentalblank/rdt-client" target="_blank" class="navbar-item">Version 2.0.91</a>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions client/src/app/setup/setup.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<a href="https://www.premiumize.me/" target="_blank" rel="noopener"
>Use this link to sign up to Premiumize.</a
>
<br />
<a href="https://torbox.app/" target="_blank" rel="noopener"
>Use this link to sign up to TorBox.</a>
<br />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rdt-client",
"version": "2.0.90",
"version": "2.0.91",
"description": "A web interface to manage your torrents on various debrid services.",
"main": "index.js",
"dependencies": {
Expand Down
17 changes: 17 additions & 0 deletions server/RdtClient.Data/Data/DownloadData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,23 @@ public async Task UpdateUnrestrictedLink(Guid downloadId, String unrestrictedLin
await TorrentData.VoidCache();
}

public async Task UpdateFileName(Guid downloadId, String fileName)
{
var dbDownload = await dataContext.Downloads
.FirstOrDefaultAsync(m => m.DownloadId == downloadId);

if (dbDownload == null)
{
return;
}

dbDownload.FileName = fileName;

await dataContext.SaveChangesAsync();

await TorrentData.VoidCache();
}

public async Task UpdateDownloadStarted(Guid downloadId, DateTimeOffset? dateTime)
{
var dbDownload = await dataContext.Downloads
Expand Down
Loading

0 comments on commit 1739a18

Please sign in to comment.