Commit graph

71 commits

Author SHA1 Message Date
soup
e5a95415a1
docs(web): add missing full stops to match the rest of the webui (#249) 2022-04-16 14:16:23 +02:00
stacksmash76
4b74a006c8
feat(web): added ability to customize logs view (#236)
* enhancement(frontend/logs): added ability to indent messages, hide wrapped text and ability to turn off "scroll to bottom page on new line". addresses #232

* fix: improved "hide wrapped text" feature
2022-04-12 16:57:20 +02:00
stacksmash76
1a4f3cf55d
feat: add ability to create an account via the webui (#223)
* feat: add ability to create an account via the webui without the need for autobrrctl

* refactor redundant code block.

* fix: early return and 0 value
2022-04-10 18:26:14 +02:00
Ludvig Lundgren
99b0c9383b
chore: update react 18 breaking deps (#226) 2022-04-09 23:42:32 +02:00
Ludvig Lundgren
9d0ab6ea52
feat(clients): add whisparr (#218)
* feat(clients): add whisparr

* feat: add client connection test
2022-04-06 10:40:44 +02:00
Ludvig Lundgren
431742fd94
feat: add notifications (#216)
* feat: initial notifications support

* chore: update deps
2022-04-04 19:13:09 +02:00
Ludvig Lundgren
ffa2447c59
feat: change default port (#207)
Change default port from 8989 to 7474
2022-03-26 21:38:57 +01:00
Ludvig Lundgren
2d3ab67604
feat(web): redirect to login on expired cookie (#201)
* feat(web): redirect to login on expired cookie

* refactor: simplify auth wrapper
2022-03-26 19:46:16 +01:00
Ludvig Lundgren
3493a39537
fix(filters): refetch on update (#200) 2022-03-22 23:18:47 +01:00
Ludvig Lundgren
159133ef35
feat(actions): add webhook support (#184)
* feat(actions): add webhook support

* feat: add type and method
2022-03-20 12:16:47 +01:00
Ludvig Lundgren
bb9e51f9d3
feat: download clients skip tls verify option (#181) 2022-03-17 20:57:27 +01:00
Ludvig Lundgren
8bf43dc1e0
fix: no irc network created when adding a new indexer (#177) 2022-03-16 20:39:48 +01:00
Ludvig Lundgren
3b43ccba8a
feat: delete all releases from settings (#170) 2022-03-06 18:08:32 +01:00
Ludvig Lundgren
cb6cbb83d5
feat(filters): duplicate (#168) 2022-03-06 16:08:07 +01:00
Ludvig Lundgren
72b74f9d19
fix: indexer add default values (#167) 2022-03-06 02:29:57 +01:00
Ludvig Lundgren
2dc02a4c02
feat(filters): add priority (#166) 2022-03-05 22:44:29 +01:00
stacksmash76
9ea29d02a2
refactor: releases table-related code and fix for #158 (#159)
* refactor(APIClient): updated the newly added findQuery function to use URLSearchParams instead of manually crafting the URI string itself.

* refactor: moved duplicate dashboard/release code to a separate folder: components/data-table.

* refactor(SlideOver): added proper typings to the SlideOver component and added a sanity check to prevent passing of null/undefined values to the child component before rendering.

* refactor: removed the redundant Network and Channel typings and updated relevant typings to match the backend. adapted relevant code to match these changes.

* fix(ChannelsFieldArray): fixed a bug where it was unable to add a new irc network due to the validation object being initialized as non-empty (formik requires that successful validated entries return empty objects)

* refactor(screens/settings/Irc): replaced incorrect typings, sanitized potentially null values and cleaned up the code.

* fix: included changes should fix issue #158 as well.

* feat: send chan empty array
2022-03-04 21:13:46 +01:00
gl0ryus
5442bf71e9
feat(web): logs add description (#145)
* feat: add text about only new logs showing

* feat: make log window bigger
2022-02-26 15:20:39 +01:00
Ludvig Lundgren
246e3ddc26
feat(web): releases list filtering (#136) 2022-02-19 20:00:48 +01:00
stacksmash76
279d4ff7a3
feat: add filter dropdown #26 (#142)
feat(FilterItemDropdown): added a filter dropdown component from #26 

* fix(react-multi-select-component): adjusted the component to fit in with other components when comparing across multiple browsers. (where firefox consistently handles pixels and rem's, chromium doesn't agree).

refactor(input): removed shadow from input components to match react-multi-select-component look where needed.

refactor(SwitchGroup): added a small top margin for a less dense look. cleaned up surrounding code.

refactor(DeleteModal): adjusted the background color to fit more nicely across dark/light themes. made the exclamation icon bigger and removed the circle container.

refactor(Logs): adjusted text color on the light theme. cleaned up the code.

refactor(FilterAddForm): adapted to conform with the changes.

feat(FilterItemDropdown): added a dropdown component to the filter list as proposed in #26. could use a better look, though. also, cleaned up surrounding code and got rid of pesky negative margins.

refactor(FilterListItem): made the table striped when using the dark theme. adapter for the dropdown component.

refactor(filters/details):
- removed needless border properties from remove button, which left artifacts after de-focusing the button. also, removed the shadow from the cancel button.
- added invalidation of the filter list on a delete mutation before redirecting to /filters.
- modified certain group descriptions a bit in order to make them a bit more concise.
- overall, cleaned up the surrounding code further.
2022-02-17 20:59:06 +01:00
stacksmash76
d4d9169210
fix: user dropdown colors (#141)
fix(Base): Added missing transition-colors property to the user dropdown pill in the header component.
2022-02-17 19:09:54 +01:00
Ludvig Lundgren
78f83c674b
fix: pin react-ridge-state (#139) 2022-02-15 18:09:18 +01:00
stacksmash76
ac37bd4d9c
feat: overhaul webui (#135)
feat: Added Inter Variable as the default font

feat: Added a pattern to the page background.

fix(react-multi-select-component): Made the multiselect components theme-agnostic, so it works properly with the light theme now.

fix(react-select): Made the components fix the default 30px height of the rest of the input components.

fix(useToggle): Fixed a bug where the toggle didn't work due to useCallback memoizing a callback with the old value.
refactor(Base):
- Added small theme-primary gradient to the beginning of the header.
- Made the splitter border theme-agnostic.
- Increased logo size a bit.
- Moved the links a bit closer to the logo.
- Updated the default link style to look more stylish.
- Added a link to the autobrr Docs section (currently defaults to the Indexers sections, but this should lead to an "Overview" page for configuring autobrr)
- Adapted the user dropdown to match the other header links' stylesheets and removed the annoying ring focus.
- Adapted the header for theme-agnostic mobile usage.
- Removed the negative padding/margin hacks.

refactor(StatsItem): Increased shadow size/strength and made the description text a bit lighter on the dark theme.

refactor(Dashboard): Increased the heading text sizes.

refactor(Logs, Releases, Settings, Login, filters/details, filters/list): Adapted to match the previous changes and improved theme compatibility with regards to text.

refactor(RegexPlayground): Fixed match highlight for JS regex.
2022-02-14 19:12:10 +01:00
stacksmash76
b60e5f61c6
refactor: web api client and cleanup (#128)
refactor: refactored APIClient.ts with a new fetch wrapper and changed it into an explicit-import.

chore: modified package.json not to start browser on "npm run start"

chore: cleaned up code, deleted 2mo+ useless old comments.

fix: fixed parameter collision in screens/filters/details.tsx

fix: override react-select's Select component style to make it consistent. addresses #116

Co-authored-by: anonymous <anonymous>
2022-02-10 17:47:05 +01:00
Ludvig Lundgren
c25ba31a70
build: remove yarn lock (#131) 2022-02-09 19:26:15 +01:00
stacksmash76
fe06363530
chore: add eslint and cleanup (#118)
* refactor: modified existing react imports to conform with the recommended approach of not using the default export directly, since it will be deprecated in one of the future releases. see https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html for more info. note: react types don't require importing of react.
refactor: cleaned up some of the imports

* feat: added eslint and fixed all the errors/warning. eslint can now be invoked by running "npm run lint".
chore: updated .gitignore not to include unnecessary artefacts.
refactor: re-organized some of the imports.

* refactor: converted remaining few typed functional components to proper prop argument structure.

* fix: fixed small react-query invalidation bug for the FilterDetails component.

Co-authored-by: anonymous <anonymous>
2022-02-08 18:10:47 +01:00
Ludvig Lundgren
8c9f9495ba
feat: web add more types (#114) 2022-02-05 15:20:54 +01:00
Ludvig Lundgren
6df77de953
fix: web settings menu icon color (#113)
* fix: web settings menu icon color
2022-02-05 14:21:16 +01:00
Ludvig Lundgren
65973758bd
fix: web correct remove button colors (#112) 2022-02-05 14:08:47 +01:00
Ludvig Lundgren
90bda2e309
fix: set theme (#111) 2022-02-05 13:43:49 +01:00
Raghu Saxena
0076ea9129
chore: update web dependencies (#102)
* chore: update deps

* chore: remove craco

* chore: fix exports

* fix: filters list indexer bg

* fix: extend theme with correct color
2022-02-05 13:27:44 +01:00
Ludvig Lundgren
c35744dc3a
fix: filters list wrong status (#109) 2022-02-04 18:39:13 +01:00
Ludvig Lundgren
fe25cdec28
refactor: download client addr parsing (#108)
* refactor: client addr parsing

* feat: add logging to client test

* feat: imrpove help for download client forms
2022-02-04 17:38:18 +01:00
Ludvig Lundgren
26f558859a
fix: blank page loading filters (#107)
* fix(filters): load indexers separate

* feat: add ctx to filter related db methods
2022-02-03 21:58:41 +01:00
Ludvig Lundgren
10a2ab2c96
fix: add indexer dropdown background color (#106) 2022-02-03 18:17:30 +01:00
Ludvig Lundgren
9b85f512e5
refactor(filters): music sources to media (#104) 2022-01-31 19:16:47 +01:00
Ludvig Lundgren
373c85f060
feat: return action rejections from arrs (#103)
* refactor: push status

* feat: return push status for arr actions
2022-01-29 17:53:44 +01:00
stacksmash76
20138030e1
refactor: various frontend improvements (#101)
* Removed recoil and replaced it with react-ridge-state, a 0.4kb alternative.

* Added AuthContext and SettingsContext persistent localStorage states.

* Fixed tailwind.config.js incorrect key directive. See https://tailwindcss.com/docs/content-configuration#safelisting-classes.

* Changed darkMode in Tailwind to "class" and started manually adjusting the theme according to the appropriate media query.

* Added possibility of changing the theme manually via the Settings tab.

* Changed Releases.tsx behavior to show the UI only when the HTTP request succeeded and there is some data (i.e. table is non-empty).

* Changed the table color of screens/filters/list.tsx to a one notch lighter shade of gray for eye-comfort.

* Replaced "User" in the header, with the users real username.

* Made data version, commit and date fields optional in settings/Application.tsx.

* Started working on a RegExp playground, which works fine, but JS won't cooperate and return the right match length. Either way, the RegExp must be implemented on backend and then must be communicated with the frontend. Otherwise a potential for incorrect results exists.

* Removed Layout.tsx, since it was redundant.

* Created a Checkbox component class for easier and consistent future use.

* Rewritten App.tsx, Login.tsx, Logout.tsx to accomodate for new changes.

* Fixed previous mistake regarding tailwind.config.js purge key, since we're still using old postcss7 from October last year

* Removed package-lock.json from both root and web directories.

* Refresh TypeScript configuration to support a types/ directory containing d.ts. The effect of this is that types don't have to be imported anymore and are at all times available globally. This also unifies them into a single source of truth, which will be a lot easier to manage in the future. Note: Only certain interop types have been moved at the time of writing.

* Fixed minor Checkbox argument mistake.

* fix: remove length from data check

* chore: lock files are annoying

* fix: select

* fix: wip release filtering
2022-01-26 23:54:29 +01:00
Ludvig Lundgren
00bc8298ac
feat(filters): add music filters (#91)
* feat(filters): add music filters

* feat: improve parsing and filtering

* feat: add red api support
2022-01-19 18:50:04 +01:00
KaiserBh
8ff8e6bbb0
feat(indexers): add animebytes (#87)
* feat: Added support for AB indexer.

* docs: Changed readme to inlcude all the supported trackers.

* feat: improve releasetags parsing and regex
2022-01-16 15:28:01 +01:00
Ludvig Lundgren
284a2f9590
feat: add hdr filtering (#86)
* feat: filter hdr content

* feat: check filter hdr

* feat: improve hdr parse and filter and tests
2022-01-16 13:50:21 +01:00
Ludvig Lundgren
dbf7ce0deb
feature: clickable filter link (#81) 2022-01-13 22:17:23 +01:00
Ludvig Lundgren
2daeedbdc7
Feature: Support multi user per irc network (#78)
* feat: delete irc network in transaction

* feat: use compound key for irc handlers

* chore: update deps

* refactor: start network

* refactor: init irc handler

* indexers: update network name
2022-01-13 21:26:23 +01:00
Ludvig Lundgren
d8c37dde2f
fix: irc network distinguish inactive and error (#76) 2022-01-10 22:05:27 +01:00
Ludvig Lundgren
140fc97398 feat: show irc channel status 2022-01-09 02:41:19 +01:00
Ludvig Lundgren
f103dff221 feat: show irc network status in settings list 2022-01-08 21:18:38 +01:00
Ludvig Lundgren
e03eac24ba
Feature: Support multiple action status per release (#69)
* feat: move release actions to separate table

* chore: update sqlite driver
2022-01-08 15:40:31 +01:00
Ludvig Lundgren
b09796bf7e
Feature: Set and display version info (#63)
* chore: update packages

* feat: show version info

* build: remove ldflags override
2022-01-02 15:18:28 +01:00
Ludvig Lundgren
739c80fed9
fix(filters): use correct property for tags (#61) 2022-01-01 22:08:23 +01:00
Ludvig Lundgren
48155e5f82
fix: filter list toggle (#55) 2021-12-27 16:10:15 +01:00