Commit Graph

76 Commits

Author SHA1 Message Date
Jack Wills 9acf60334c chore: Rust 1.86.0 linting 2025-04-14 11:47:00 +00:00
Jack Wills 7e4a960b88 feat: update Rust edition to 2024 2025-02-21 22:45:06 +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 1a8dab654a refactor: remove app_data param from generate_lock()
insert data into FrameData instead
2024-12-03 20:42:24 +00:00
Jack Wills 1b26997d25 feat: ContainerPorts use ipaddr 2024-12-03 20:39:51 +00:00
Jack Wills e5927f781a refactor: Remove numerous clones()
get_container_name_by_id clone, init_all_log refactor to remove clones,
remove id.clone() by using SpawnId.get_id()
2024-12-03 19:54:02 +00:00
Jack Wills 2d540b0e22 refactor: statefulList get_state_title 2024-11-16 13:40:54 +00:00
Jack Wills 7bb2bef28d refactor: statefulList next/previous 2024-11-16 13:38:41 +00:00
Jack Wills 76ccf7c006 refactor: remove uneccessary is_running load 2024-11-15 16:30:02 +00:00
Jack Wills 2a834d6c2f refactor: execute_command()
Include Id and DockerCommand in a DockerMessage, used by the execute_command function to reduce duplicated code
2024-11-15 15:39:06 +00:00
Jack Wills 78f3de40be fix: docs typo 2024-10-22 09:56:14 +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 2a0ab6d81c refactor: switch lints from allow(x) to expect(x)` 2024-09-06 22:48:36 +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 38a2c52247 Merge branch 'aljazerzen-left-align' into dev 2024-07-25 16:06:59 +00:00
Jack Wills 9e5cf68b8f fix: colum width minimums 2024-07-24 21:02:56 +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 d33dce3eec chore: update to ratatui v0.26.0 2024-02-05 22:11:49 +00:00
Jack Wills 0436ff1b73 refactor: draw_block constaints into consts 2024-01-23 21:43:06 +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 b9df4e446a tests: AppData tests 2024-01-13 22:51:42 +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 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 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 09bf70abd2 chore: release v0.3.3 2023-10-21 16:25:42 +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 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 d431f85021 feat: use ratatui 2023-03-19 21:08:33 +00:00
Jack Wills 9d2e72086b docs: comment typos 2023-03-02 03:54:55 +00:00
Kian-Meng Ang a0e2eb38ae docs: fix typos
Found via `typos --format brief`
2023-02-03 10:21:16 +08:00
Jack Wills 657ea2d751 feat: Logs in own struct
Store the logs, and timestamp into a hashset, so that won't push data into the vec if it's already in the hashset, close #11
2023-01-18 02:04:44 +00:00
Jack Wills bd7dfcd2c5 feat: align memory columns correctly, closes #20
use kB as minimum bytestats unit, screenshot updated
2023-01-14 18:01:38 +00:00
Jack Wills 46d4e5a832 chore: release v0.1.10 2022-12-25 15:48:57 +00:00
Jack Wills bf9dcac704 chore: Rust 1.66 linting 2022-12-15 16:34:24 +00:00
Jack Wills e71802fe21 chore: release v0.1.9 2022-12-05 14:06:22 +00:00
Jack Wills 160b8021b1 fix: disallow commands to be sent so an oxker container, closes #19 2022-12-05 03:52:41 +00:00
Jack Wills cf14ba4989 feat: default order of created time, reset sorted, closes #18 2022-12-04 21:42:54 +00:00
Jack Wills 00af24e944 chore: release v0.1.7 2022-11-13 16:39:47 +00:00
Jack Wills 8f3a151371 chore: aggressive linting, with rust v1.65.0 2022-11-06 01:34:13 +00:00
Jack Wills 283fda6982 chore: release v0.1.6 2022-10-16 02:15:04 +00:00
Jack Wills a060d03258 refactor: Cpu+Mem stats use tuple struct 2022-10-16 01:23:02 +00:00
Jack Wills 62fb224786 refactor: String::from("") > String::new() 2022-10-07 03:04:06 +00:00
Jack Wills 5660b34d51 refactor: map_or_else to map_or 2022-10-07 02:22:26 +00:00
Jack Wills 6bee4d007a refactor: clone()'s removed, allow(precision_loss) 2022-10-02 01:14:42 +00:00