Commit Graph

54 Commits

Author SHA1 Message Date
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
e8a6f740b9 refactor: Updated the 2018 idiom lint to the 2021_compatibility lint 2025-01-26 14:47:40 -07:00
f7c96d81e9 refactor(BlockSelectionState): Refactored so selection of blocks in 2x2 grids is more intuitive and added left() and right() methods to aid this effort. 2024-11-30 12:22:46 -07:00
f139db07d9 feat(app): Dispatch support for all relevant Sonarr blocks 2024-11-27 17:06:20 -07:00
f5631376af fix(network): Fixed an issue with dynamic typing in responses from Sonarr for history items 2024-11-20 19:22:13 -07:00
a012945df2 feat(network): Added network support for fetching host and security configs from Sonarr 2024-11-18 20:49:07 -07:00
214c89e8b5 feat(models): Created the StatefulTree struct for displaying seasons and episodes (and any other structured data) for the UI. 2024-11-15 12:08: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
1f8d72c939 Added the full Radarr CLI so users can programmatically access all the same management features as in the TUI 2024-10-29 18:47:40 -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
6ba78cb4ba Refactored table sorting into the ManagarrTable widget and StatefulTable so any and all tables created can support sorting with minimal UI changes and thus only need to focus on the handlers. I'm going to continue this effort tomorrow and look at what other widgets can be created to simplify things. Most likely, prompt boxes. 2024-02-12 19:15:02 -07:00
adda82f7f3 Refactored table filtering and searching so that they are now relative to the table being filtered/searched on. Also created two new widgets for error messages and popups to make life easier moving forward. Going to refactor table sorting into StatefulTable's as well so all tables can be searched, filtered, and sorted moving forwards. 2024-02-11 19:02:18 -07:00
76e21e7697 Added 'Test All Indexers' table and functionality to the Indexers tab, and upgraded to Ratatui 0.24.0 and cleaned up code for newer Ratatui version 2023-11-25 17:36:30 -07:00
2b15afcb83 Added support for editing all indexer settings (finally)! 2023-09-08 16:06:20 -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
ce12ebd301 Refactored the HorizontallyScrollableText struct to handle Unicode strings more uniformly and to not rely on byte boundaries but instead to rely on Unicode char boundaries 2023-08-08 14:15:23 -06:00
218d442694 Fixed unicode bug where horizontally scrollable text would attempt to iterate beyond the length of the string; this happens whenever unicode values are present in the string 2023-08-08 10:50:18 -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
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
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
97c60b47e3 Fixed overflow error when users try to scroll on empty tables or lists 2023-08-08 10:50:07 -06:00
b2e475200c Implemented full system browsing support with logs, events, and tasks. 2023-08-08 10:50:06 -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
841147f1c2 Fixed a bug that no longer reset horizontally scrollable text once the selection changed 2023-08-08 10:50:06 -06:00
9be4affec5 Fixed a bug that no longer reset horizontally scrollable text once the selection changed 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
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
1b915a7f9a Fixed an accidental overflow bug when determining when to scroll text horizontally or not 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
08eabb24db Added support for sorting when looking to manually add a release 2023-08-08 10:50:05 -06:00
d358935386 Optimized copy-able types 2023-08-08 10:50:05 -06:00
4962f3d5c3 Added tests for models 2023-08-08 10:50:05 -06:00
0f9dc639a8 Cleaned up some code with some macros 2023-08-08 10:50:05 -06:00
cab3d1d50d Updated README for what still needs to be done 2023-08-08 10:50:05 -06:00
6735849518 Fully functional manual searching capabilities and refresh capabilities for all movies, downloads, and collections 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
8120debe81 Working manual search with UTF-8 support and scrolling. Still need release details and finally, manually selecting release to download. 2023-08-08 10:50:05 -06:00
8f6505bb1e Full support for adding movies with drop downs! 2023-08-08 10:50:04 -06:00
b748d27a06 Partial implementation for additional add-movie details. Need to implement selection menus now but that's it! 2023-08-08 10:50:04 -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
ae6e19a414 Partial matrix implementation 2023-08-08 10:50:04 -06:00
24a36443e9 Refactored filtering and searching logic to be more clean and added home/end support in tables. 2023-08-08 10:50:04 -06:00
ca86cad950 Fully added filtering and searching! 2023-08-08 10:50:04 -06:00