Commit Graph

61 Commits

Author SHA1 Message Date
5cb60c317d feat: Initial support for custom user-defined themes 2025-03-04 18:09:09 -07:00
104bcd7bb2 refactor: Addressed Cargo fmt complaints 2025-02-27 20:42:32 -07:00
fd6fcfc98f feat: CLI Support for multiple Servarr instances 2025-02-27 20:37:03 -07:00
f87e02cd7c test: Added in unit tests for TUI support for multiple custom named Servarrs 2025-02-27 19:30:17 -07:00
9b63b10118 feat: Support for multiple servarr definitions - no tests [skip ci] 2025-02-27 18:00:28 -07:00
111485e7c4 feat: Support for loading Servarr API tokens from a file 2025-02-27 16:53:29 -07:00
tangowithfoxtrot
8d450dea5a Merge branch 'main' into var-interpolation 2025-01-26 14:36:45 -08:00
c4ace8c53f feat: Tweaked the implementation for environment variables in the config a bit 2025-01-26 14:59:09 -07:00
tangowithfoxtrot
6f3c6ec840 feat: var interpolation 2025-01-26 09:28:47 -08:00
368d5d3db7 fix: Cancel all requests when switching Servarr tabs to both improve performance and fix issue #15 2024-12-17 14:36:49 -07:00
e38e430c77 fix: dynamically load servarrs in UI based on what configs are provided 2024-12-16 14:16:01 -07:00
08f190fc6e feat(ui): Initial UI support for switching to Sonarr tabs 2024-11-29 15:58:19 -07:00
f139db07d9 feat(app): Dispatch support for all relevant Sonarr blocks 2024-11-27 17:06:20 -07:00
16bf06426f fix(config): The CLI panics if the servarr you specify has no config defined 2024-11-19 16:29:25 -07:00
cc02832512 feat(network): Added support for fetching season releases for Sonarr 2024-11-19 15:59:35 -07:00
60d61b9e31 feat: Added initial Sonarr CLI support and the initial network handler setup for the TUI 2024-11-10 21:23:55 -07:00
0d8803d35d fix(ui): Fixed a bug that would freeze all user input while background network requests were running 2024-11-06 15:50:47 -07:00
9936ce1ab5 Removed the need for use_ssl to indicate SSL usage; instead just use the ssl_cert_path
Added the ability to specify either host/port, or uri for configuring Radarr
2024-11-05 18:16:01 -07:00
f6f477b124 Added HTTPS support for all Servarrs 2024-11-02 18:32:44 -06:00
d84e7dfcab Refactored to require handlers to specify the components they rely on and to specify when they are ready. This fixes a lot of bugs with the UI when users try to press buttons while the application is still loading. 2024-07-17 19:55:10 -06:00
b16a58deae Updated Ratatui, created custom deserialization logic for i64s to make life easier, and used string interpolation where possible to reduce the lines needed to write log messages or create formatted text 2023-09-07 17:20:38 -06:00
77fd9e621f Did a lot of things in this one: Cleaned up a bit of leftover unused code from yesterday; deprecated the use of drain() on HorizontallyScrollableText; Refactored the uses of search and filter to be wrapped in Options; Fixed a race condition when closing the Add Movie modals in rapid succession; upgraded to ratatui 0.22.0; Fixed a bug in attempting to close an empty root folder; fixed a bug in attempting to close an empty filter; fixed a bug in attempting to close an empty search; fixed a bug in attempting to close an empty filter without resetting the view; fixed a bug in attempting to delete a movie after dynamically added one and updating the main library table 2023-08-08 10:50:07 -06:00
2d624e2648 Refactored the Edit/Add modals into their own structs so that adding similar modals in the future is more consistent, uses less RAM (since it's wrapped in an Option now), and is easier to implement. This comes with an initial example of the IndexerSettings UI that needs its own modal now. The modal has been created but it is still not used just yet so that's the next step. 2023-08-08 10:50:07 -06:00
e2e4bf16e4 Added additional fixes 2023-08-08 10:50:07 -06:00
618ba09b02 Refactored the RadarrData and ActiveRadarrBlock structs into their own file in models/servarr_data to make things neater and cleaner and easier to build on 2023-08-08 10:50:07 -06:00
dd339d1685 Refactored the key_mappings into files for context_clues for better naming conventions, and added unit tests for the clues and the contents of the ActiveRadarrBlock arrays that are used for chain-of-responsibility delegation in the handlers and UI components. 2023-08-08 10:50:07 -06:00
5602fc4341 Tweaked the key mappings so that it is now easier to change key mappings and update the corresponding UI elements as well 2023-08-08 10:50:07 -06:00
a8f6a5398b Fixed long-running requests to be cancelled when users try to change tabs or contexts. 2023-08-08 10:50:07 -06:00
e253ca8359 Did some cleanup 2023-08-08 10:50:07 -06:00
d32f2b538d Fixed a bug in the UI that would scroll text on edit window popups when it shouldn't 2023-08-08 10:50:07 -06:00
519778c0ca Partial implementation of Tasks and Logs and test refactor 2023-08-08 10:50:06 -06:00
4fb83c114a Cleaned up the block selection logic to use the new BlockSelectionState struct 2023-08-08 10:50:06 -06:00
bf5ecbd5a6 Implemented the ability to edit collections and fixed a refresh bug so screens will automatically refresh when users edit movies or collections 2023-08-08 10:50:06 -06:00
514fd2244a Added horizontal scrolling for long movie titles, a refresh key, and fixed the network issues so that network requests are sent once every 20 seconds by default to not stress out the server. 2023-08-08 10:50:06 -06:00
7f3dd18478 Full support for editing movies and managing tags 2023-08-08 10:50:06 -06:00
a23fc84d5b Mostly completed tags implementation; still need to add the UI option for the Add Movie popup, and I still need to fix the REALLY FAST horizontal scrolling issue (I'm thinking just %2 everything to slow it down). Oh, and also need to convert the quality profile Hashmap into a BiMap 2023-08-08 10:50:05 -06:00
207b8a8c80 Mostly completed tags implementation; still need to add the UI option for the Add Movie popup, and I still need to fix the REALLY FAST horizontal scrolling issue (I'm thinking just %2 everything to slow it down). Oh, and also need to convert the quality profile Hashmap into a BiMap 2023-08-08 10:50:05 -06:00
d5117fda39 Added pre-commit and pre-push hooks with the help of cargo-husky. This also means that I need to temporarily allow specific bits of dead code until I implement support for at least one more Servarr 2023-08-08 10:50:05 -06:00
6866f90329 Added support for adding movies directly from the collection details UI, refactored to support contexts for different routes, and fixed the horizontal scrolling bug with the get_width_with_margin function. 2023-08-08 10:50:05 -06:00
d358935386 Optimized copy-able types 2023-08-08 10:50:05 -06:00
15d29e0362 Partially complete radarr_network tests. Still need to add everything past get_collections 2023-08-08 10:50:05 -06:00
52739f4da0 Added unit tests for the add_movie_handler and added an additional test to radarr handles to ensure proper delegation. Also added a few macros for testing scrolling and home/end in all handlers to make life easier for those tests. 2023-08-08 10:50:05 -06:00
c15bda5885 Started writing more tests in the handlers 2023-08-08 10:50:05 -06:00
3af3eddf71 Added unit tests to the app module 2023-08-08 10:50:05 -06:00
05b8f85dfb Updated UI to have contextual help with tables so the UI doesn't feel so crowded 2023-08-08 10:50:05 -06:00
1ad1b16668 Refresh, disk scan, and trigger auto-scan support and partial implementation for manual searches 2023-08-08 10:50:05 -06:00
08cde20359 Mostly added Add movie functionality. Removed calendar functions for now. Want to add the ability to modify settings and quality profiles first 2023-08-08 10:50:04 -06:00
cd0cf2e04a Added delete movie functionality 2023-08-08 10:50:04 -06:00
3f378fb25a Refactored things a bit and added help text support 2023-08-08 10:50:04 -06:00
ff6e392af1 Added collections support 2023-08-08 10:50:04 -06:00