Jack Wills
0436ff1b73
refactor: draw_block constaints into consts
2024-01-23 21:43:06 +00:00
Jack Wills
7a096a65c4
fix: ports display tweak, plus test
2024-01-18 18:48:33 +00:00
Jack Wills
65a1afcb06
feat: Added ports section, closes #21
2024-01-18 14:30:54 +00:00
Jack Wills
9aab99dbf0
docs: changelog
2024-01-17 16:15:09 +00:00
Jack Wills
53543a1b72
tests: gui tests
2024-01-16 10:38:22 +00:00
Jack Wills
8e9243d884
test: terminal wip
2024-01-14 00:31:38 +00:00
Jack Wills
a68794f78d
wip: terminal tests
2024-01-14 00:22:26 +00:00
Jack Wills
a34c046dee
fix: is_oxker_in_container()
...
Check is both is_oxker and running in a container, so that oxker container commands will only be ignored if both are true
2024-01-13 23:01:22 +00:00
Jack Wills
b9df4e446a
tests: AppData tests
2024-01-13 22:51:42 +00:00
Jack Wills
40ddcb727d
fix: header arrow on left
2024-01-06 22:32:09 +00:00
Jack Wills
27cf53e41f
refactor: rename string_wrapper > unit_struct
2024-01-06 22:05:16 +00:00
Jack Wills
a722731c6a
refactor: string_wrapper .get() return &str
2024-01-05 14:14:55 +00:00
Jack Wills
4301e4709f
fix: Docker Commands hidden
...
When only one container running, mistakingly hid the Docker Commands section
2024-01-05 13:16:20 +00:00
Jack Wills
e936bb4b78
feat: re-arrange columns + ContainerName + ContainerImage, closes #32
...
Have container name as first column.
Wrap name and image using the StringWrapper macro, so that can have a custom fmt::Display, which will only show the firs 29 chars of both the name and image name
2024-01-05 13:16:06 +00:00
Jack Wills
ccf8b55a74
refactor: sort_containers
2024-01-02 19:02:36 +00:00
Jack Wills
0890991ff1
chore: dependencies updated
2023-12-31 00:09:58 +00:00
Jack Wills
81be75f27f
chore: Rust 1.75.0 linting
2023-12-31 00:06:16 +00:00
Jack Wills
0ad1ec9d85
docs: comment typo
2023-12-15 18:56:57 +00:00
Jack Wills
bd7df7983d
chore: release v0.4.0
2023-11-20 17:10:25 +00:00
Jack Wills
9e83d48641
fix: typo
2023-11-20 15:24:35 +00:00
Jack Wills
39943645c7
style: UI text changes
2023-11-20 14:19:05 +00:00
Jack Wills
5ef24b840b
fix: Help menu added missing keys
2023-11-20 12:46:15 +00:00
Jack Wills
b608432865
refactor: variable names updated
2023-11-20 10:27:54 +00:00
Jack Wills
56dba91e9a
refactor: variable name changes
2023-11-19 23:03:41 +00:00
Jack Wills
cd1da2ad96
fix: State ordering use .order()
2023-11-19 22:52:43 +00:00
Jack Wills
d200d13c26
refactor: dead code removed
2023-11-19 22:48:49 +00:00
Jack Wills
2de76e2f35
chore: lints moved from main.rs to Cargo.toml
2023-11-19 22:48:40 +00:00
Jack Wills
a15da5ed43
feat: export logs feature, closes #1
...
Save logs to a file.
`--logs-dir` cli arg to change from the default location.
Refactor of input_handler
2023-11-19 22:25:28 +00:00
Jack Wills
3a6489396e
fix: sort created_at clash, closes #22
...
Additionally sort by name, so that if a clash of first comparison, the order will be consistent
2023-11-19 11:05:17 +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
650aa0fc91
refactor: DockerData refactors
...
Use a croner in the docker_data, instead of in the ui thread, as this thread will be paused when in exec mode.
is_initilised is again done in docker_data, after stats have been calculated
use bollard from git, waiting for new release due to Docker changes
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
Daniel Boll
e1998c9fca
refactor(draw_blocks.rs): remove unnecessary .as_ref() calls on constraints method to improve code readability
...
refactor(mod.rs): remove unnecessary .as_ref() calls on constraints method to improve code readability
chore(draw_blocks.rs): format code using rustfmt to improve code readability
chore(draw_blocks.rs): remove unnecessary indentation in NAME_TEXT constant to improve code readability
chore(draw_blocks.rs): remove unnecessary fmt skip directive
Signed-off-by: Daniel Boll <danielboll.academico@gmail.com >
2023-11-16 11:18:49 +00:00
Jack Wills
4e9fb65fe2
chore: Dependencies updated
...
ratatui v0.24.0 fixes
2023-11-16 11:11:59 +00:00
Jack Wills
09bf70abd2
chore: release v0.3.3
2023-10-21 16:25:42 +00:00
Jack Wills
faeaca0cd1
refactor: set_info_box take &str
2023-10-18 10:44:49 +00:00
Jack Wills
a6ff412431
refactor: parse_args/mod.rs > parse_args.rs
2023-10-18 10:38:06 +00:00
Jack Wills
44f581f5b3
refactor: LogsTZ from &str
2023-10-18 10:25:34 +00:00
Jack Wills
21234c66c3
chore: Rust 1.73 linting
2023-10-05 19:54:05 +00:00
Jack Wills
ca79893df5
refactor: from string impl
...
Remove redudant impl's, use `.as_str()`
2023-09-17 18:41:10 +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
e17aad06cd
feat: replace loading enum with FRAMES const
2023-06-14 20:47:40 +00:00
Jack Wills
3b61a704e2
feat: Clippy mem drop,
...
re-arrange .lock() ordering, and use `value_capture!`, to satisfy has_significant_drop rule
2023-06-14 20:47:24 +00:00