Commit graph

786 commits

Author SHA1 Message Date
stacksmash76
9d0d70c075
fix(web): API client json detection (#1129)
fix(web/apiclient): fix erroneous json serialization condition
2023-09-19 18:12:00 +02:00
ze0s
32b8f57d9c
chore(deps): update go-qbittorrent to v1.3.4 (#1116) 2023-09-11 22:25:51 +02:00
ze0s
93f96e9758
ci(docker): change docker metadata tag to {{raw}} from {{version}} (#1115)
ci(docker): change docker tag to raw

* version was missing the v prefix
2023-09-11 21:18:12 +02:00
martylukyy
80aa0b6331
enhancement(web): disable background scroll when IRC fullscreen view is active (#1112)
* enhancement(web): disable background scroll when IRC fullscreen view is active

* switch from add/remove to toggle.

* add missing unmount
2023-09-11 20:31:00 +02:00
Kyle Sanderson
28b13d6d24
fix(releases): improve search keyword specifiers (#1106)
fix(search): improve keyword specifiers.
2023-09-11 13:34:52 +02:00
martylukyy
041ca5ba34
fix(web): Add and update Indexer tooltips (#1111)
fix tooltips in IndexerForms.tsx
linting
2023-09-11 13:33:38 +02:00
stacksmash76
3c030dc0ce
fix(web): cant update from settings panels (#1105)
* fix(web): propagation bug with IRC network table dropdown

* fix submit button not working
2023-09-11 13:31:07 +02:00
Fabricio Silva
996519cbae
ci: fix docker metadata to parse semver tags (#1110)
ci: fix docker metadata to parse semVer tags
2023-09-11 13:09:48 +02:00
stacksmash76
d63c704b17
fix(web): slideover propagation bug (#1104)
fix: slideover propagation bug which was present when one added IRC networks and interacted with TextFields (the irc network would toggle itself)
2023-09-10 19:26:30 +02:00
stacksmash76
ac4892dd09
fix(web): improve initial context state (#1103)
* fix(web): set initial context state correctly by triggering onSet callbacks

* chore: simplified ContextMerger logic and avoided edge-cases
2023-09-10 19:25:12 +02:00
stacksmash76
528405d1cb
fix(web): floating "Import filter" dropdown button (#1102)
fix: incorrect z-height on "Import filter" dropdown button
2023-09-10 18:38:42 +02:00
stacksmash76
1215036d89
fix(web): actions ratio limit support decimal values (#1100)
fix(web): make NumberField support decimal values
2023-09-10 17:50:24 +02:00
martylukyy
bdea9599d2
fix(web): removal of service worker (#1088)
disable registration of service worker and remove service worker
linting
2023-09-10 17:42:14 +02:00
Kyle Sanderson
a1a16adbab
fix(web): implement offline detection (#1065)
* xtreme connected edition

* change fallbackRender to fallbackComponent on ErrorBoundary

* call healthz endpoint when error is 500

* display custom offline message

* fix eslint indentation for switchCase

* Update ErrorPage.tsx

* check against error.cause

---------

Co-authored-by: Fabricio Silva <hi@fabricio.dev>
2023-09-10 17:39:58 +02:00
stacksmash76
d187daa566
enhancement(web): layout improvements (#1095)
* minor style fixes

fix: removed not-allowed button-in-button in IRCLogsDropdown, removed unnecessary inner div as well
fix: removed shadow from 'remove releases older than X?' modal in settings on the light theme. (told soup about this long ago)

* added tips for searching releases, improved overall look

enhancement: made title page headings have a smaller vertical margin (almost by half)
chore: moved title page headings from <header> to some less-obtuse screen-reader element
enhancement: added documentation to the search engine on the releases table page
enhancement: made StatsItem cards more compact (WIP - to be coupled with more stats items)
enhancement: made WarningAlert be more contrastful on the light theme, made it more compact and added a border as well.

* better wording for search tips

* bad merge resolve, fixed now
2023-09-10 17:28:30 +02:00
Fabricio Silva
6a4d96f988
feat(config): check for updates reading from config (#1038)
* go indent linting

* getLatest endpoint follows config.CheckForUpdates

* Revert "getLatest endpoint follows config.CheckForUpdates"

This reverts commit 495fabad13b1a96aa83ce50792f5725e9b51061a.

* getLatestRelease follows config.check_for_updates

* revert: rename data - less changes to conflict

* fixup: revert: rename data - less changes to conflict

* change queryFn to arrow function
2023-09-10 16:59:59 +02:00
stacksmash76
438902137b
enhancement(web): modernize APIClient and improve robustness (#1093)
modernized APIClient, removed Notification type collision

enhancement: APIClient now follows the recent RFC3986 (this wasn't the case previously)
enhancement: improved APIClient DX by adding a queryString parameter (avoiding URLSearchParameters)
fix: changed Notification type to ServiceNotification (collision with built-in browser API https://developer.mozilla.org/en-US/docs/Web/API/Notification -- so TS checks wouldn't function as necessary)
2023-09-10 16:18:39 +02:00
stacksmash76
2fed48e0dd
enhancement(web): add react suspense and improve DX (#1089)
* add react suspense, fix broken stuff, clean up code, improve DX

enhancement: added react suspense + spinner to show loading (still can be added in certain places)
chore: cleaned up Header/NavBar code
chore: cleaned up DeleteModal code
chore: cleaned up other relevant code
enhancement: changed remove button style to be much more pleasant (see e.g. filter tabs)
fix: made active tab on filters page to be blue (as it should've been) when active
fix: fixed ghost delimiter which was only visible when DeleteModal was active in FormButtonGroup
chore: removed most of linter warnings/errors
fix: fixed incorrect/double modal transition in FilterExternalItem
fix: fixed incorrect z-height on Options popover in Settings/IRC (would've been visible when Add new was clicked)
enhancement: improved robustness of all Context classes to support seamless new-feature expansion (#866)
enhancement: improved expand logic (see #994 comments)

* reverted irc expand view to previous design

* forgot to propagate previous z-height fix

* jinxed it

* add license header to new files

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2023-09-10 12:35:43 +02:00
ze0s
cbf668e87c
feat(logs): show full log event (#1096)
* feat(logs): show all extra fields in UI

* feat(logs): init log level as debug then trace
2023-09-10 12:28:10 +02:00
stacksmash76
7b77ff766e
enhancement(web): improve font loading performance and avoid page reflow (#1087)
* enhancement: improve font loading performance and avoid page reflow

chore: get rid of postcss-import (we're not using it and it's not needed for tailwind)

* fix indent
2023-09-09 23:07:00 +02:00
stacksmash76
64f81a4614
enhancement(web): improve functionality of utility components (#1094)
added missing Buffer definition for Stacktracey, made date functions more robust against undefined values

enhancement: made simplifyDate and IsEmptyDate prone against undefined values
fix: added a global Buffer definition (apparently required by Stacktracey)
2023-09-09 23:02:54 +02:00
dependabot[bot]
087471a1f7
build(deps): bump the github group with 1 update (#1091) 2023-09-09 10:33:56 +00:00
Kyle Sanderson
0cd560d7f3
fix(releases): use case-insensitive searching (#1092)
* fix(web/search): use case-insensitive searching for releases

* to the moon
2023-09-09 12:33:07 +02:00
ze0s
5b01aa14b7
feat(indexers): DigitalCore support tags (#1090) 2023-09-08 23:13:11 +02:00
Kyle Sanderson
3d64ed150a
ci: goreleaser lower parallelism to mitigate OOM issues (#1086)
ci: clamp parallelism to reality
2023-09-07 23:52:37 +02:00
Kyle Sanderson
08d7ecf329
feat(downloadclients): arrs increase timeout for release/push (#1083)
* fix(sonarr): increase timeout to 120s

* feat(arrs): increase timeouts
2023-09-07 23:47:31 +02:00
ze0s
1a48316233
fix(irc): merge with existing network (#1085)
* fix(irc): merge with existing network

* fix(irc): log format wrong type
2023-09-07 17:48:07 +02:00
ze0s
9eec6b3b68
build(deps): bump go-deluge to v1.1.0 (#1082) 2023-09-06 17:16:25 +02:00
Kyle Sanderson
a97574f64a
feat(notifications): add Size to Discord notification (#1075)
* feat(discord): add Size to notification.

* adjust positioning

* add additional fields
2023-09-03 16:40:48 +02:00
Kyle Sanderson
b3957ac447
ci: build Goreleaser binaries on windows (#1040)
try windows again
2023-09-03 15:48:31 +02:00
ze0s
0d3e10f094
feat(downloadclient): set downloadClientId for arr clients (#1081)
feat(downloadclient): arrs set downloadClientId
2023-09-03 15:34:55 +02:00
ze0s
1bfbe38335
feat(macros): add SizeString DownloadURL and InfoURL (#1080)
* feat(macro): add new variables

* SizeString
* DownloadURL
* InfoURL

* feat(macro): add new test cases
2023-09-03 13:27:47 +02:00
dependabot[bot]
63660946eb
build(deps): bump the npm group in /web with 1 update (#1079) 2023-09-03 11:24:41 +00:00
Kyle Sanderson
c6c260ce31
ci: back-off Dependabot to monthly due to spam (#1076)
ci: back-off Dependabot to monthly due to bugs
2023-09-03 12:41:00 +02:00
ze0s
a6d789ee44
feat(feeds): show next run (#1074) 2023-09-02 23:06:21 +02:00
ze0s
6fd8626507
feat(feeds): add scheduled cleanup (#1073)
* refactor(feeds): make feed scheduling more robust

* feat(feeds): add daily cleanup job

* removes feed cache older than 30 days

* fix(feeds): fmt wrong type
2023-09-02 22:44:28 +02:00
dependabot[bot]
cfc2436d50
build(deps): bump the npm group in /web with 2 updates (#1072) 2023-09-02 20:20:03 +00:00
martylukyy
2f0d52e71c
enhancement(web): IRC logs view (#1066)
* enhancement(web): IRC logs view

* revert sorting changes and implement auto scroll

* replace setTimeout with useEffect and dep
add option menu for scroll on new log toggle.
prevent duplicate log entries when toggling settings.scrollOnNewLog through clearing logs once

* linting
2023-09-01 21:56:12 +02:00
martylukyy
48e09b51dc
fix(web): autoscrolling for Logs page (#1069)
* fix(web): autoscrolling for Logs page

* replace setTimeout with useEffect and dep
prevent duplicate log entries when toggling settings.scrollOnNewLog through clearing logs once
2023-09-01 21:55:35 +02:00
sigma2017
dbaaed0e50
fix(indexers): update iPlay IRC port (#1062)
Update iplay.yaml

Port changed due to botnet attack
2023-09-01 21:45:43 +02:00
martylukyy
d708ced8b4
build(deps): bump pnpm (#1067) 2023-09-01 21:41:01 +02:00
martylukyy
392dcb746f
fix(web): typo on NotFound page (#1070) 2023-09-01 21:40:30 +02:00
ze0s
b6de7144e0
feat(feeds): clear feed cache (#1071) 2023-09-01 21:39:39 +02:00
ze0s
3755881c40
feat(filters): log external filter exec cmd output (#1029) 2023-08-28 23:52:52 +02:00
dependabot[bot]
c3cbe0e8ba
Merge pull request #1056 from autobrr/dependabot/go_modules/golang-d0725a6551 2023-08-28 21:42:32 +00:00
dependabot[bot]
06f628a7d2
build(deps): bump the npm group in /web with 17 updates (#1064)
Bumps the npm group in /web with 17 updates:

| Package | From | To |
| --- | --- | --- |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) | `1.7.16` | `1.7.17` |
| [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms) | `0.5.4` | `0.5.6` |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `4.32.6` | `4.33.0` |
| [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools) | `4.32.6` | `4.33.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.4.10` | `20.5.7` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.20` | `18.2.21` |
| [@types/react-table](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-table) | `7.7.14` | `7.7.15` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `6.3.0` | `6.5.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `6.3.0` | `6.5.0` |
| [eslint](https://github.com/eslint/eslint) | `8.47.0` | `8.48.0` |
| [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | `2.28.0` | `2.28.1` |
| [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.33.1` | `7.33.2` |
| [postcss](https://github.com/postcss/postcss) | `8.4.27` | `8.4.28` |
| [react-textarea-autosize](https://github.com/Andarist/react-textarea-autosize) | `8.5.2` | `8.5.3` |
| [react-tooltip](https://github.com/ReactTooltip/react-tooltip) | `5.20.0` | `5.21.1` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.1.6` | `5.2.2` |
| [zod](https://github.com/colinhacks/zod) | `3.21.4` | `3.22.2` |


Updates `@headlessui/react` from 1.7.16 to 1.7.17
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v1.7.17/packages/@headlessui-react)

Updates `@tailwindcss/forms` from 0.5.4 to 0.5.6
- [Release notes](https://github.com/tailwindlabs/tailwindcss-forms/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-forms/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-forms/compare/v0.5.4...v0.5.6)

Updates `@tanstack/react-query` from 4.32.6 to 4.33.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.33.0/packages/react-query)

Updates `@tanstack/react-query-devtools` from 4.32.6 to 4.33.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.33.0/packages/react-query-devtools)

Updates `@types/node` from 20.4.10 to 20.5.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 18.2.20 to 18.2.21
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-table` from 7.7.14 to 7.7.15
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-table)

Updates `@typescript-eslint/eslint-plugin` from 6.3.0 to 6.5.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.3.0 to 6.5.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/parser)

Updates `eslint` from 8.47.0 to 8.48.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.48.0)

Updates `eslint-plugin-import` from 2.28.0 to 2.28.1
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1)

Updates `eslint-plugin-react` from 7.33.1 to 7.33.2
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2)

Updates `postcss` from 8.4.27 to 8.4.28
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.28)

Updates `react-textarea-autosize` from 8.5.2 to 8.5.3
- [Release notes](https://github.com/Andarist/react-textarea-autosize/releases)
- [Changelog](https://github.com/Andarist/react-textarea-autosize/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Andarist/react-textarea-autosize/compare/v8.5.2...v8.5.3)

Updates `react-tooltip` from 5.20.0 to 5.21.1
- [Release notes](https://github.com/ReactTooltip/react-tooltip/releases)
- [Changelog](https://github.com/ReactTooltip/react-tooltip/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ReactTooltip/react-tooltip/compare/v5.20.0...v5.21.1)

Updates `typescript` from 5.1.6 to 5.2.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

Updates `zod` from 3.21.4 to 3.22.2
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.21.4...v3.22.2)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tailwindcss/forms"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@types/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: eslint-plugin-import
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: eslint-plugin-react
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: react-textarea-autosize
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: react-tooltip
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 23:37:00 +02:00
Fabricio Silva
0d7cbdfe50
build(docker): improve cache on web-builder stage (#1034)
* upgrade pnpm

* add postcss-import npm dependency

* fix postcss.config.js lint

* improve cache for Docker web-builder stage
2023-08-28 23:16:38 +02:00
Devin Buhl
f234caec08
feat(indexers): support improved ANT announce (#1063)
fix: update regex for ant irc announcements
2023-08-28 23:13:29 +02:00
martylukyy
d335d01ad1
fix(indexers): remove nickserv options for AlphaRatio (#1053)
fix(indexers): remove nickserv options for alpharatio
2023-08-28 23:12:54 +02:00
soup
603312cebe
fix(indexers): MTV announce regex pattern (#1054) 2023-08-28 23:09:18 +02:00