Commit graph

761 commits

Author SHA1 Message Date
Bogdan
b70ad9f144
feat(indexers): update SSL port for AR (#1171) 2023-10-10 17:57:25 +02:00
martylukyy
a60595bfba
fix(web): actions tooltip links (#1178) 2023-10-10 17:54:57 +02:00
Fabricio Silva
8600d3a2ab
fix(indexes): toggle on and off with switch (#1164)
* chore(indexers): replace array position with id

* fix(indexers): enable and disable without editing

* feat(indexer): add toggle endpoint and refactoring

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-03 21:57:11 +02:00
martylukyy
603191b47d
fix(indexers): pbay regex pattern (#1165) 2023-10-03 16:38:24 +02:00
jolinarofmalkshur
dbb3ff3a3b
feat(feeds): improve file size parsing (#1162)
* In rss feeds, sometimes the only place the size is mentioned is in the
description field. If the size has not already been determined from
another source try to read it from there.

* Accept sizes with no space between value and unit of measure

* feat(feeds): get size from description add test

* fix(feeds): tests

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-01 22:47:47 +02:00
ze0s
03ef86ac96
fix(indexers): NBL irc announce regex (#1153)
* fix(indexers): NLB regex pattern

* fix: improve regex

* fix: reintroduce category group
fix: exempt season numbering from title

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-10-01 16:47:30 +02:00
dependabot[bot]
a20f40c2cd
build(deps): bump the golang group with 4 updates (#1160) 2023-10-01 13:33:21 +00:00
dependabot[bot]
ed3b6d5dcb
build(deps): bump the github group with 1 update (#1158) 2023-10-01 13:16:45 +00:00
stacksmash76
3e3454724b
fix(web): tooltips (#1154)
* fix broken tooltips, replace react-tooltip with react-popper-tooltip

* make tooltips use ExternalLink component

* fix import

* get rid of unused import

* fix(tooltip): set delayHide

* removed unecessary comment

* fix tooltip on mobile

* stop tooltip label propagation (mainly for mobile devices)

* added onClick convenience prop for label component wrapper (since onClick isn't propagated down)

---------

Co-authored-by: soup <soup@r4tio.dev>
2023-10-01 15:16:05 +02:00
Kyle Sanderson
98df0c9040
chore(build): enable CodeQL (#1026)
* Create codeql.yml

* setup pnpm

* sq.Eq{"ras.status": params.Filters.PushStatus}

* enable extended and quality

* fix: code scanning alert #58 #57

https://github.com/autobrr/autobrr/security/code-scanning/58
https://github.com/autobrr/autobrr/security/code-scanning/57

* fix: linting issues for code scanning 60, 59, 56

https://github.com/autobrr/autobrr/security/code-scanning/60
https://github.com/autobrr/autobrr/security/code-scanning/59
https://github.com/autobrr/autobrr/security/code-scanning/56

---------

Co-authored-by: Fabricio Silva <hi@fabricio.dev>
2023-09-26 21:24:59 +02:00
ze0s
a78a5d1bf8
fix(indexers): API get torrent check for nil body (#1146) 2023-09-26 20:33:36 +02:00
Adam Lau
657c966ecb
feat(notifications): Telegram display file size (#1148) 2023-09-26 20:32:51 +02:00
stacksmash76
25c3f02c72
fix(filters): importer (#1149)
fix(web): early exit on filter import
chore(readme): add new pic to readme
2023-09-26 20:30:23 +02:00
martylukyy
1900bf7742
fix(indexers): SubsPlease parse line pattern (#1152) 2023-09-26 20:27:21 +02:00
ze0s
d3ca3e59c0
feat(web): show more app info (#1145)
* feat(web): add app info

* database type used
* application binary path
* config path

* feat(web): label colors light theme

* feat(web): truncate long fields
2023-09-22 22:05:14 +02:00
ze0s
2eed1b3e90
feat(indexers): add TorrentHR (#1144)
* Add torrenthr definition

* add nickserv fields
change id
change url to use https

* fix help string and re-organize settings

---------

Co-authored-by: Flupster <esptidus@gmail.com>
2023-09-22 21:31:15 +02:00
ze0s
58ca0a9d60
feat(notifications): Pushover add size (#1143) 2023-09-22 19:14:13 +02:00
stacksmash76
f72fea998e
feat(web): add autodl-irssi filter import (#1132)
* improve filter importing code

feat: added autodl-irssi filter importer/parser
enhancement: improved filter importing code
enhancement: redesigned filter list page
fix(DeleteModal): don't center text on mobile
fix(CustomTooltip): don't set opacity (avoid console.log spam), update prop names

* fix wrong variable ref name mistake

* switch position of buttons, use old blue

* give back the dropdown menu you stole
2023-09-22 18:44:23 +02:00
stacksmash76
779383e2a4
fix(web): Inter font (#1133) 2023-09-22 18:37:56 +02:00
ze0s
664e5413b6
fix(http): do not send null for empty arrays (#1134) 2023-09-22 18:35:27 +02:00
Kyle Henfrey
8694b04876
feat(indexers): add Bemaniso (#1140)
* add bemaniso definition

* fix infourl location

* fix regex and add auth_key setting

* typo

* add releaseTags and tests

* fixing my mistakes

* fixing my oversights v2

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-09-22 18:34:56 +02:00
Kyle Henfrey
ccd823e118
feat(indexers): IRC do not require auth for irc.rizon.net (#1137)
* remove nickserv fields
add tests to subsplease
add infourl to subsplease

* re-add nickserv but set not required

* re-add rss since SubsPlease has RSS on site

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-09-22 18:31:37 +02:00
Viktor Elofsson
1413cf9ff3
fix(downloadclient): Porla remove flags property (#1119)
Remove 'flags' property in the torrent item
2023-09-19 18:22:12 +02:00
dependabot[bot]
816753f0da
build(deps): bump the github group with 6 updates (#1124) 2023-09-19 16:19:57 +00:00
martylukyy
a145ebe45c
feat(indexers): add ReeFflix (#1127)
feat(indexers): add reelflix
2023-09-19 18:15:36 +02:00
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