Commit graph

475 commits

Author SHA1 Message Date
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
stacksmash76
1b6fd01575
fix(web): infinitely retry queries, remove ago from age cells (#528)
- infinitely retry web queries so we avoid the "failed to fetch" error when the web server is unavailable
- remove the "ago" suffix from age cells (closes #497)
2022-11-10 12:32:57 +01:00
stacksmash76
b6ba23d0ee
fix(web): download client table overflow, filter alerts, dubious wording (#521)
* fix table overflow in settings -> download client

* fixed uneven line height in CellLine component

* filters/details: rename "Cancel" to "Reset form values"
Added log level and log path to Application settings.
Added column truncation to Download Client settings.

* feat: change settings debug toggle wording

* fix: typo in irc add form
2022-11-10 12:27:09 +01:00
stacksmash76
e7222504d6
fix(web): tooltips (#519)
fix: fixed broken wrapping in tooltip child elements (missed last letter)
enhancement: increased line height for tooltip child cells in case of wrapping for clearer text
enhancement: renamed filter rejections from `Filter` to `Rejected` in tooltips
chore: changed remaining purple highlights to blue.

Co-authored-by: anonymous <anonymous>
2022-11-03 00:44:40 +01:00
ze0s
4bf023d030
feat(irc): support optional SASL and NickServ auth (#511)
* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): support SASL and NickServ auth

* feat(irc): add missing fields

* feat(irc): add validation

* feat(indexers): unify and set required values

* feat(irc): add postgres migrations

* feat(irc): use nick as handlerkey

* feat(irc): use account for nickserv

* fix(irc): pg db migration
2022-10-27 22:25:58 +02:00
ze0s
5183f7683a
feat(filters): filtering for raw releaseTags (#506)
feat(filters): add releaseTags filtering
2022-10-18 23:52:36 +02:00
ze0s
e2bb14afa4
feat(feeds): improve RSS (#502)
* feat(feeds): improve rss

* save last_run time
* remove interval check
* refactor feed job keys
* add rss test
* add max_age check

* feat(feeds): rss basic freeleech parsing

* feat(feeds): rss cookie support

* feat(feeds): db get max_age

* feat(feeds): update log messages

* feat(feeds): pass cookie to release for download

* feat(feeds): improve size parsing

* feat(feeds): improve datetime check
2022-10-18 18:51:10 +02:00
stacksmash76
ac988f28f4
feat(web): better tooltips and uniformity (#474)
* - fix: changed all {text,bg}-{teal,indigo}-* color properties to {text,bg}-{blue}-* so there is only one dominant primary color in the UI -- blue
- enhancement: added `cursor: pointer` to the PageButton component (used in pagination)
- enhancement: modified TitleCell to use the new Tooltip component and modified the width selectors to a more sane default value, now instead of scrolling one just has to tap the cell to see it's untruncated value
- enhancement: modified the Tooltip component to use react-popper-tooltip (which in turn uses popper.js) which is a much better alternative, since it uses auto-positioning in case there's not enough space and some things aren't as broken as in the previous version (e.g. there was a problem with forcing the previous tooltip to use a specific width)
- enhancement: added a useMedia hook selector from the react-use repository, which might come in handy in the future for better/easier decoupling of Desktop and Mobile UI/UX patterns via JS (versus CSS-only)
- enhancement: made the mobile navbar more visible and clear. also fixed previous path === "/" bug which was fixed on desktop.
- fix: fixed table headers/footers so they're rounded
- enhancement: made pagination components more compact (buttons and show N result selector)

* changed {ring, border}-indigo-* to ring-blue-*

* build: add yarn.lock

* fix: formatting warnings

* fix: formatting warnings

* fix: more formatting warnings

* fix: more formatting
2022-10-14 21:54:21 +02:00