Commit graph

432 commits

Author SHA1 Message Date
soup
92f2b0ebe3
enhancement(web): emphasize the need for HTTP in SABnzbd host URL (#748)
* emphasize the need for http

* added reverse proxy example
2023-03-11 21:17:08 +01:00
Kyle Sanderson
e6e436936f
chore(web): settings update debug description (#749) 2023-03-11 21:15:35 +01:00
martylukyy
67ff1058e9
feat(downloadclients): make fields required (#715)
* initial commit for DownloadClientForms field validation

* changed behaviour of required fields

* removed validate from download clients

* removed unused const

* removed unused vars

---------

Co-authored-by: soup <soup@r4tio.dev>
2023-03-05 16:13:19 +01:00
soup
25e2dbf9d6
fix(filters): quality multi select not closing (#725)
fix: drop down menu interactions
2023-03-05 16:01:01 +01:00
soup
d172e70046
enhancement(web): stats and releases pretty loading (#731)
* enhancement(web): improved loading message

* dark mode fix

* added skeleton for loading

* placeholder

* handle activitytable loading

* name StatsItems in isLoading

* handling ReleaseTable loading

* made releasetable 10 rows while loading

* derp

* style: simplify loading state

---------

Co-authored-by: soup <soup@r4tio.cat>
Co-authored-by: ze0s <ze0s@riseup.net>
2023-03-04 23:45:43 +01:00
Kyle Sanderson
13a74f7cc8
feat: add usenet support (#543)
* feat(autobrr): implement usenet support

* feat(sonarr): implement usenet support

* feat(radarr): implement usenet support

* feat(announce): implement usenet support

* announce: cast a line

* feat(release): prevent unknown protocol transfer

* release: lines for days.

* feat: add newznab and sabnzbd support

* feat: add category to sabnzbd

* feat(newznab): map categories

* feat(newznab): map categories

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
Co-authored-by: ze0s <ze0s@riseup.net>
2023-03-04 20:27:18 +01:00
ze0s
ca196f0bf1
feat(releases): support magnet links (#730)
* feat(releases): support magnet links

* feat(feeds): support magnet links

* feat(actions): log messages

* fix: component warning

* fix: check hasprefix instead of hassuffix for magnet

* feat(release): resolve magnet uri from link

* fix(actions): deluge use magnet uri

* fix(macros): add `MagnetURI` var

* fix(actions): run magnet resolving before macros

* feat(feeds): set download type on creation
2023-02-28 22:16:10 +01:00
ze0s
d100703784
feat(download-clients): porla implement rules (#711)
* feat(downloadclients): Porla implement rules

* feat(downloadclients): Porla add basic auth support

* feat(porla): use new token for auth

* feat(porla): update check can download rules
2023-02-24 19:17:02 +01:00
soup
209e23de4f
fix(web): revert disable freeleech field when using percent (#719)
fix(web): reverted freeleech lock
2023-02-23 23:10:17 +01:00
soup
2d36a12da8
fix(web): Logs page scroll to bottom (#717)
fix(web): fixed scroll to bottom
2023-02-15 18:53:17 +01:00
soup
da416451e5
fix(web): fixed baseurl for log downloads (#713)
fix(Logs): fixed baseurl for log downloads
2023-02-13 20:51:20 +01:00
ze0s
b21c01a7df
feat(logs): make log files downloadable (#706)
* feat(logs): show and download log files

* feat(logs): make logs settings dropdown

* feat(logs): minor cosmetic changes

* fix(logs): send empty response when lohpath not configured

* fix(logs): remove unused imports

* feat(logs): check if logs dir exists

* feat(logs): list log files in settings
2023-02-12 17:34:09 +01:00
soup
21724f29f6
enhancement(web): reduce tooltip icon contrast (#709)
* failed to compile locally without trailing slash

* matching tooltip color with subtitles/descriptions

* reverted docs icon

* fixed freeleech tooltip text

* corrected colors for tooltip icon on login page
2023-02-12 15:32:10 +01:00
ze0s
ac276868fb
feat(settings): make log level configurable from UI (#704)
* feat(settings): set log level

* fix: light theme colors

* fix: light theme colors size unit
2023-02-11 22:37:06 +01:00
soup
8cb4a0244c
enhancement(web): login and onboarding tooltips (#702)
* attempt to fix broken link

* removed PUBLIC_URL from link

* enhancement(web): login and onboarding rework
2023-02-11 22:35:00 +01:00
ze0s
2917a7d42d
feat: show new updates in dashboard (#690)
* feat: show new update banner

* feat(http): add request logger

* refactor: updates checker

* feat: make update check optional

* fix: empty releases

* add toggle switch for update checks

* feat: toggle updates check from settings

* feat: toggle updates check from settings

* feat: check on toggle enabled

---------

Co-authored-by: soup <soup@r4tio.dev>
2023-02-05 18:44:11 +01:00
soup
3fdd7cf5e4
feat(web): Add helper tooltips for inputs and link them to docs (#663)
* Fixed button border in settings/download-clients

Button border for "Add new" is now uniform with other "Add new"-buttons

* enhancement(docs) add helper tooltips

-  Add helper tooltips for inputs and link them to docs #161

* fix build error

* tooltips: changed positition

* hide tooltip below 640 width

* made tooltips better

now attaching to TextField names

* Added icon variation for MultiSelect and CheckboxField

* cleaned up old code

* refactor

Co-authored-by: ze0s <zze0s@users.noreply.github.com>

* added tooltips for DownloadClientForms

* added tooltips for indexerforms

* div for passwordfieldwide

* tooltips for details.tsx

* added tooltips to actions.tsx

* added tooltips to indexerforms.tsx

* replaced info icon with a more rudimentary one

* linting, removed duplicate tailwind display properties

* remove margin for flex centering

* fixed tooltip alignment on all fields

* add tooltip to PwFieldWide in indexer edit window

* refactor: simplify tooltips

* refactor: scope tooltip css

* refactor: tooltip default clickable

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-02-03 17:03:49 +01:00
soup
a50332394c
enhancement(web): disable freeleech percent field if freeleech is enabled (#680)
fix(filters) freeleech percent handling
2023-02-02 23:47:09 +01:00
ze0s
4c83787a0b
feat(releases): add info url link to releases list (#683)
* feat(indexers): definitions add infourl to irc parsing

* feat(indexers): add infourl to releases

* fix(indexers): fix info urls

* fix(indexers): update btn
2023-01-29 21:40:49 +01:00
Viktor Elofsson
870e109f6c
feat(download-client): add support for Porla (#553)
* Add support for the 'Test' button to work

* Make Porla show up in filter actions select

* Add an empty Porla action

* Make Porla action find download client

* Make implementation actually add torrent to Porla

* Fix qBittorrent import

* Finish up Porla action

* Check length on commitish before slicing

* Move Porla to the other DL clients

* Add Porla to type name map

* Move Porla to beneath the other download clients
2023-01-29 18:17:01 +01:00
martylukyy
81b7d341e7
fix(filters): allow negative priority again (#669)
fix(web/filters): allow negative priorites again
2023-01-29 16:02:35 +01:00
martylukyy
2d2ddb45bd
chore(web): ignore eslint warnings (#662)
* enhancement(web): styled scrollbars for listboxes

* chore(web): fix eslint warnings

* Revert "enhancement(web): styled scrollbars for listboxes"

This reverts commit 6b4a28baa6b560044799f31927a3acb88d2b65d6.
2023-01-28 17:04:30 +01:00
martylukyy
27c23df46d
enhancement(web): styled scrollbars for webkit browser (#661)
* enhancement(web): styled scrollbars for listboxes

* Revert "enhancement(web): styled scrollbars for listboxes"

This reverts commit 6b4a28baa6b560044799f31927a3acb88d2b65d6.

* CSS styling for scrollbars in webkit enabled browsers
2023-01-28 17:01:50 +01:00
Audionut
b7e43dd13f
docs(filters): update placeholders for advanced filters (#674)
* Minor cosmetic change to advanced filters

Make it abundantly clear that the advanced uploader filters are comma separated.

* Remove superfluous spaces
2023-01-28 16:50:33 +01:00
martylukyy
5d8131e211
fix(web): filters list desktop and mobile friendly (#659)
changed the resolution response from sm (640px) to 768px (md) for the indexer column
compacted the filter lines while maintaining the padding to the border when a filter name spans over multiple lines
span the filter name over the full width until the next div
fixed a duplicate display property
adjusted the width of the indexer and sort listbox for show the full values. (widths for both are uniform)
adjusted padding of indexer listbox entries
2023-01-18 22:10:48 +01:00
martylukyy
05edb7c7a7
enhancement(web): make settings pages uniform for desktop and mobile (#634)
* enhancement(web): make settings pages uniform for desktop and mobile
removed var 'idx' from line 17:51 since it is defined but never used
converted the indexer table in to a responsive grid

* fix missing col-span adjustment for mobile

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-01-17 23:43:49 +01:00
soup
14b7bc2fe2
enhancement(web): filters list mobile friendly (#648)
* Made Filters page dynamic for mobile screens

* Small corrections

Filter names
- Break very long words (Just to safe guard)
- Whitespace wrap
- w-4/5 on filter names to avoid clipping
2023-01-17 23:37:10 +01:00
ze0s
a6c1944df8
feat(downloadclients): qBit rules add speed threshold condition (#652)
* fix: qbit add rules min check

* feat(downloadclients): add check condition

* feat(downloadclient): return on rejection
2023-01-17 23:34:03 +01:00
soup
5c7d2349d3
fix(filters): Set NumberFields to required (#651)
* Set log score default to 0

NumberField:
min={0} required={true}

To avoid errors when user clears the field

* removed max value by mistake

* set max downloads default to 0

* Added requirements number fields in Action rules
2023-01-15 18:08:18 +01:00
ze0s
122803b785
fix(filters): music type don't disable when perfect flac is selected (#645)
fix(filters): music format dont disable perfect flac
2023-01-10 20:34:01 +01:00
soup
834be0a309
enhancement(web): autobrr logo link to dashboard (#638)
* feat(web): Made autobrr logo link to frontpage

Clicking the logo now directs you to the frontpage.

* fixs(dashboard) Changed Stats header tag to h1

Header on Dashboard was a h3 tag while the ones on Filters etc. is h1.

Made it match the rest of the UI with this change.
2023-01-10 19:25:20 +01:00
ze0s
9e8672fdfe
feat(irc): add with network password (#639)
* feat(irc): initial add with network password

* feat(irc): check irc auth obj exists
2023-01-09 20:49:44 +01:00
ze0s
5c402b6d6c
feat(filters): support Language filtering (#632)
* feat(filters): add support for language

* feat(filters): add db migrations and repo

* feat(filters): fix failing tests

* feat(filters): fix failing tests
2023-01-09 00:33:08 +01:00
ze0s
d437f8455e
feat(downloadclients): qBit add rule UploadSpeedThreshold (#633)
feat(downloadclients): qbit add rule upload speed threshold
2023-01-08 18:34:06 +01:00
ze0s
12d05f0748
fix(feeds): view last run with baseurl (#628)
fix(feeds): last run baseurl link
2023-01-07 17:39:12 +01:00
martylukyy
6a839bedec
feat(web): irc settings add toggle switches (#606)
* feat(web): switch buttons on irc settings page

* changed resolution limit for responsive design from 640px to 768px
values in Network, Server and Nick will now truncate instead of showing a scrollbar
changes in element alignments

* feat(irc): toggle from settings

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-01-06 22:41:47 +01:00
soup
ca4ad498a4
feat(web): settings cosmetic improvements (#621)
* Minor cosmetic changes

- Changed Feeds paragraph to include regular RSS feeds
- Centered "Danger Zone" header on Settings/Releases
- Added punctuations to subtitles and sublabes that were missing them
- Removed some subtitles over "Create new" buttons in Settings

* settings(releases) Added paragraph below header

* Changed user and docs icons

* Fixed Notifications table for narrow screens

* Made Notifications-page dynamic like the IRC-page

- Hiding notification type and events on smaller screens

* Made API table look better on smaller screens

- Adjusted col-spans
- overflow-auto on name

* overflow-hidden on name

* Made Feeds dynamic like Notifications

* Made Clients dynamic like Feeds and Notifications

* name field will now truncate instead of span itself over multiple lines
mouseovering the name will now show the full value
mitigated scrollbars
changes to col-span to move the name column closer to enabled switch
adjusted paddings in desktop and mobile layout

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-01-06 22:07:27 +01:00
martylukyy
b8ced5d59a
chore(web): fix indentation (#607) 2023-01-02 23:59:56 +01:00
martylukyy
ebe5de0863
feat(web): improve disabled checkbox colors (#608)
* enhancement(web): gray color for disabled checkboxes

* fix 11PM coding mistakes.

* put dark last for uniformity
2023-01-02 23:58:48 +01:00
soup
636ffd23c1
fix(web) reversed onChange for priority numberfield (#611)
reversed onChange for priority number field
2023-01-02 23:03:13 +01:00
ze0s
fd67a7b24e
feat(feeds): view latest RSS and Torznab feed (#609)
feat(feeds): view latest run
2023-01-02 23:00:11 +01:00
ze0s
5972d421d8
feat(filters): perfect flac disable fields (#605)
* feat(filters): perfect flac disable fields

* feat(filters): logscore min 0 max 100

* feat(filters): validate numberfield 0 value

* feat(filters): cleanup logs

* feat(filters): set default priority 0
2023-01-01 16:47:07 +01:00
soup
1a1a10a7b3
feat(web): added missing placeholders (#584)
Added placeholders where there weren't any.
2022-12-28 14:56:20 +01:00
ze0s
38795be9ea
feat(filters): smart episode (#563)
* feat(filters): initial smart episode

* feat(smart-episode): pseudo-logic

* feat(filters): check releases

* feat(filters): update logic

* feat(web): smart episode (#562)

* add frontend part for smart episode feature

* change description for smart episode help text

* fix wording

* feat(filters): smart-episode logic

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: xoaaC <35452459+xoaaC@users.noreply.github.com>
2022-12-14 19:07:04 +01:00
xoaaC
f6e68fae2b
enhancement(web): red disabled switch button (#552)
* added red background to "Enabled" switch button when disabled for IRC update form

created const SwitchGroupWideRed in web/src/components/inputs/input_wide.tsx
added const SwitchGroupWideRed in web/src/components/inputs/index.ts
changed SwitchGroupWide to SwitchGroupWideRed in IrcNetworkUpdateForm in web/src/forms/settings/IrcForms.tsx

* added red background to SwitchGroupWideRed for default/white mode too

* made white and dark mode red one shade lighter (red-600 -> red-500)
2022-12-10 19:25:48 +01:00
Viktor Elofsson
4623921cbb
feat(web): When adding the first action, display it in edit mode (#556)
When adding the first action, display it in edit mode
2022-12-03 17:16:26 +01:00
xoaaC
ef088c27ad
fix(web): download client table overflow (#522)
* convert client table to grid

* too much data

* fix(web): download client table overflow
• Converted DownloadClient table into a responsive grid.
• Overflowing content will now truncate and hovering over it will show you the full value.
2022-12-03 15:51:16 +01:00
xoaaC
2ae237015d
fix(web/filters): truncate too long name (#545)
* Fixed an issue where the div containing the filter name in the delete modal would overflow if the filter name is too long. Text inside the div is now contained and will word-break when too long.
* Fixed an issue where the filter name headline would break into a second line if the filter name is too long. In case the filter name is too long the filter name headline will now truncate and show it's full value at mouseover.
2022-12-03 15:45:18 +01:00
ze0s
25a165b764
feat(indexers): add support for optional baseurl override (#551)
* feat(indexers): optional baseurl override

* feat(indexers): update baseUrl parsing

* refactor(indexers): BREAKING move parse to IRC struct

* Move Parse as part of IRC struct from Indexer
* Updated definitions
* Build torrentUrl in stages
* Use new url.JoinPath to build torrentUrl
* Update tests

* refactor(indexers): select option obj

* refactor(indexers): make backwards compatible
2022-12-03 15:40:45 +01:00
Kyle Sanderson
a93b54bbbc
fix(feeds): indexer identifier issues (#538)
* fix(torznab/rss): keep original name

* fix(feeds): get identifier via indexer join

* fix(feeds/web): remove identifier slugify
2022-11-17 18:50:40 +01:00