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

feat: downloads widget #844

Merged
merged 49 commits into from
Sep 11, 2024
Merged

feat: downloads widget #844

merged 49 commits into from
Sep 11, 2024

Conversation

manuel-rw
Copy link
Member

@manuel-rw manuel-rw commented Jul 21, 2024

From PR #895

image
image
(Screenshot only include test files and linux ISO, therefore safe to use)

Usenet and Torrent downloads in 1 widget.
sabNZBd, NzbGet, Deluge, qBitTorrent, and transmission support.
Columns can be reordered in Edit mode.
Sorting enabled.
Time uses Dayjs with auto translation.
Can pause/resume single items, clients, or all.
Can delete items (With option to delete assossiated files).
Clients list and details.
Include all filtering and processing for ratio from oldmarr torrent widget.
Invalidation of old data (older than 30 seconds) to show an integration is not responding anymore.

Misc (So many miscs):
Fixed validation error with multiText.
Fixed translation application for multiSelect to behave the same as select.
Added background to gitignore (I needed to add a background to visually test opacity, probably will in the future too)
Added setOptions to frontend components so potential updates made from the Dashboard can be saved.
Extracted background and border color to use in widgets.
humanFileSize function based on the si format (powers of 1024, not 1000).
Improved integrationCreatorByKind by @Meierschlumpf.
Changed integrationCreatorByKind to integrationCreator so it functions directly from the integration.
Added integrationCreatorFromSecrets to directly work with secrets from db.
Added getIntegrationKindsByCategory to get a list of integrations sharing categories.
Added IntegrationKindByCategory type to get the types possible for a category (Great to cast on integration.kind that isn't already properly limited/typed but for which we know the limitation)
Added a common AtLeastOneOf type. Applied to TKind and IntegrationSecretKind[] where it was already being used and Added to the getIntegrationKindsByCategory's output to be more freely used.
Added the Modify type, instead of omiting to then add again just to change a parameters type, use the modify instead. Applied code wide already.
Hook to get list of integration depending on permission level of user. (By @Meierschlumpf)

@manuel-rw manuel-rw self-assigned this Jul 21, 2024
@SeDemal SeDemal self-assigned this Jul 23, 2024
@homarr-labs homarr-labs deleted a comment from hillaliy Jul 23, 2024
Copy link

deepsource-io bot commented Aug 8, 2024

Here's the code health analysis summary for commits 9d5007c..a37baa0. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ Success
🎯 5 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@SeDemal SeDemal changed the title feature: downloads widget feat: downloads widget Sep 7, 2024
@SeDemal SeDemal force-pushed the feature/usenet-downloads branch from 1d4582c to b059edf Compare September 7, 2024 11:40
@SeDemal SeDemal force-pushed the feature/usenet-downloads branch from 903b355 to df7e129 Compare September 7, 2024 15:45
@Meierschlumpf
Copy link
Member

The build error is happening because of a upstream dependency issue with crypto-hash, that we provided a suggestion to fix it in the used dependency for qBittorrent: scttcper/torrent-file#77

@SeDemal SeDemal force-pushed the feature/usenet-downloads branch from 972145f to 4ee9f0a Compare September 10, 2024 13:02
@SeDemal SeDemal force-pushed the feature/usenet-downloads branch 2 times, most recently from a05090f to ca90a43 Compare September 10, 2024 19:40
SeDemal
SeDemal previously approved these changes Sep 10, 2024
@SeDemal SeDemal force-pushed the feature/usenet-downloads branch from ca90a43 to a3e17db Compare September 10, 2024 19:57
@SeDemal SeDemal marked this pull request as ready for review September 10, 2024 20:02
@SeDemal SeDemal requested a review from a team as a code owner September 10, 2024 20:02
packages/api/src/router/widgets/media-server.ts Outdated Show resolved Hide resolved
packages/api/src/router/widgets/smart-home.ts Outdated Show resolved Hide resolved
packages/integrations/test/nzbget.spec.ts Outdated Show resolved Hide resolved
@Meierschlumpf Meierschlumpf self-requested a review September 11, 2024 14:31
@SeDemal SeDemal merged commit 2535192 into dev Sep 11, 2024
10 checks passed
@SeDemal SeDemal deleted the feature/usenet-downloads branch September 11, 2024 15:30
This was referenced Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants