Commit Graph

78 Commits

Author SHA1 Message Date
Jack Wills bfc295c50e fix: Only re-draw the screen if data/layout has changed 2025-02-21 16:40:34 +00:00
Jack Wills 17a5e7a258 feat: set log timezone, closes #56
Implement a CLI arg, and config file setting, for changing the timezone of the Docker logs timestamp
2025-02-21 11:03:19 +00:00
Jack Wills f4d54e1ba8 feat: config file, closes #47
Enable use of a config file, with custom keymap and custom colours
2025-02-16 12:54:35 +00:00
Jack Wills c739637b91 feat: --no-stderr cli arg, closes #52
New cli argument which will remove stderr output from logs, defaults to false
2024-12-03 15:01:56 +00:00
Jack Wills d01e0a8588 refactor: remove Docker sleep 2024-11-18 11:08:19 +00:00
Jack Wills 7f42383495 refactor: input_handler 2024-11-16 14:50:25 +00:00
Jack Wills fe3696e557 refactor: use check_sub for sleep calculations 2024-11-15 16:44:10 +00:00
Jack Wills 76ccf7c006 refactor: remove uneccessary is_running load 2024-11-15 16:30:02 +00:00
Jack Wills 578ed9f085 revert: expect lint
Expect lint was causing issues with crates/docker builds, revert until fix is found
2024-09-07 21:25:14 +00:00
Jack Wills 30ef0ab793 chore: release v0.7.1 2024-09-07 07:35:58 +00:00
Jack Wills 2a0ab6d81c refactor: switch lints from allow(x) to expect(x)` 2024-09-06 22:48:36 +00:00
Jack Wills 372f759ca4 chore: Rust 1.81.0 linting 2024-09-05 20:50:54 +00:00
Jack Wills de87681816 feat: unhealthy status, closes #43
Highlight an unhealthy container in Orange, and display "! running" as the state,

refactor: Move dev Docker files to docker directory
2024-08-01 21:35:37 +00:00
Jack Wills 26a2cf55d2 feat: advanced filtering
Allow filtering by name, image name, status, or a combination of all of the three
2024-07-24 14:20:29 +00:00
Jack Wills d5d8a0dbc5 feat: filter containers, closes #37
Enable filtering of containers, toggled by pressing `F1` or `/`, build on PR #38 from MohammadShabaniSBU
2024-07-12 15:43:42 +00:00
Jack Wills 10180d2e08 chore: update dependencies
Some breaking changes in ratatui, should now all have been addressed
2024-02-12 16:20:02 +00:00
Jack Wills 65a1afcb06 feat: Added ports section, closes #21 2024-01-18 14:30:54 +00:00
Jack Wills 53543a1b72 tests: gui tests 2024-01-16 10:38:22 +00:00
Jack Wills 56dba91e9a refactor: variable name changes 2023-11-19 23:03:41 +00:00
Jack Wills 2de76e2f35 chore: lints moved from main.rs to Cargo.toml 2023-11-19 22:48:40 +00:00
Jack Wills 0e5ee143b0 feat: exec mode improvements
Use Bollard library to exec in pure Rust.

`--use-cli` cli arg, will then only try to exec into containers using
Docker.

Only try to exec into a container if the state == Running.
2023-11-18 22:44:39 +00:00
Jack Wills d08cbb6640 refactor: remove redundant loop 2023-11-16 18:03:11 +00:00
Jack Wills aafe89d0eb docs: changelog 2023-11-16 11:40:01 +00:00
Jack Wills 40090865fd refactor: Multiple UI improvements;
Use FrameData struct to store commonly accessed data, in order to
reduce mutex locks.

rename unpause to resume

use get_selected_panel() function instead of directly
gui_state.selected_panel

debug mode now shows some usefull information
2023-11-16 11:19:42 +00:00
Jack Wills c8077bca0b feat: Docker exec mode, closes #28 2023-11-16 11:19:09 +00:00
Jack Wills 09bf70abd2 chore: release v0.3.3 2023-10-21 16:25:42 +00:00
Jack Wills 18c3ed4337 refactor: env handling
target specific env's rather than looping through them all
2023-09-17 18:19:48 +00:00
Jack Wills 76fd178894 chore: release v0.3.2 2023-08-28 13:32:34 +00:00
Jack Wills 62c78dfaa5 refactor: set_error take gui_state
insert into gui_state status when setting error
2023-08-26 12:40:53 +00:00
Jack Wills 2e27462d1b refactor: loading_spin fn remove async 2023-08-24 16:26:30 +00:00
Jack Wills 1095078764 feat: Docker Host env, closes #30
oxker will check for an optional cli_arg `--host`, then the $DOCKER_HOST env, and if found use for connection.

Fix unresponsiveness in debug mode when error set
2023-08-17 15:34:18 +00:00
Jack Wills 937202fe34 feat: delete container, closes #27
Enable a user to delete a container. A dialog will pop up to ask the user to confirm the deletion. A user can then click on either button, or press N/Y to make a selection
2023-03-30 02:12:03 +00:00
Jack Wills e3d0d64b4d docs: changelog 2023-03-13 00:56:16 +00:00
Jack Wills 8ba37a165b refactor: reaplace unwrap_or(()) with .ok() 2023-03-09 15:18:00 +00:00
Jack Wills 924f14e998 feat: increase mpsc channel size (16 to 32 messages) 2023-03-07 03:24:42 +00:00
Jack Wills 598f67c6f6 feat: KeyEvents send modifier, so can quit on ctrl + c 2023-03-02 16:09:57 +00:00
Jack Wills 0a1b531116 feat: Acutal fix the the mouse events output
The EnableMouseCapture from Crossterm was too broad, by only enabling a subject of the events, 1) performance is improvedand 2) and intermittent bug where mouse events were output to stdout has been removed
2023-03-02 01:09:17 +00:00
Jack Wills b8f5792d18 refactor: dead code removed 2023-03-01 19:18:36 +00:00
Jack Wills 3437df5988 refactor: ui into a struct 2023-02-28 19:48:49 +00:00
Jack Wills 2626250ace fix: stop_running function
Use stop_running to set the global is_running AtomicBool to false, and to also, on a seperate thread, enable & then disable mouse capture, as was experience strange issue on Linux & WSL with mouse movements being piped to stdout
2023-02-28 18:10:24 +00:00
Jack Wills 31bfaa7a95 wip: fix for mouse capture bug 2023-02-28 04:10:31 +00:00
Jack Wills 846e0641d0 wip: mouse capture errors 2023-02-27 19:52:03 +00:00
Jack Wills b6c3ce21ca fix: move final stout flush to main.rs 2023-02-27 02:56:38 +00:00
Jack Wills 8437cca72f docs: changelog 2023-02-03 22:39:09 +00:00
Jack Wills d48e6561f9 chore: clippy todo warn 2023-02-03 21:49:19 +00:00
Jack Wills 17b71b6b41 feat: switch to scratch docker container 2023-02-03 21:40:14 +00:00
Jack Wills d7a8639d8b docs: changelog 2023-01-29 02:12:02 +00:00
Jack Wills c0bb5355d6 refactor: app_data methods re-ordered & renamed 2023-01-29 01:52:38 +00:00
Jack Wills 1025579138 docs: comment typo 2023-01-28 17:23:27 +00:00
Jack Wills a174dafe1b refactor: needless (double) referencing removed 2023-01-26 21:00:32 +00:00