Skip to content

Latest commit

 

History

History
608 lines (446 loc) · 48 KB

CHANGELOG.md

File metadata and controls

608 lines (446 loc) · 48 KB

2024-10-22

Chores

Features

Refactors

2024-09-07

Reverts

  • Expect lint was causing issues with crates/docker builds, revert until fix is found, 578ed9f0

2024-09-07

Chores

Docs

Refactors

  • switch lints from allow(x) to expect(x), 2a0ab6d8

2024-08-01

Chores

Docs

Features

Fixes

  • log_sanitizer raw() & remove_ansi() now functioning as intended, 0dc98dfc
  • Dockerfile command use uppercase, 068e4025
  • heading section help margin, 0e927aae
  • install.sh use curl, 197a031b

Tests

  • fix layout tests with new left alignment, dfced564

2024-05-25

Chores

Docs

  • exec mode "not available on Windows", in both README.md and help panel, df449a85

Fixes

2024-05-07

Chores

Features

Fixes

  • correct header display when terminal width changes, 4628803b

Refactors

Tests

  • reduced header section test, aa094740
  • test_draw_blocks_help() with add esc text, ff839af4

2024-03-31

Chores

2024-02-14

Chores

Docs

Fixes

Refactors

Tests

  • update port test with new colour, f74ae3f5
  • color match tests updated, 5b287416

2024-01-18

Chores

Docs

= Readme updated, screenshot added, 7561a934, 4069e557

Features

Fixes

  • sort arrow now on left of header, 40ddcb72

Refactors

  • rename string_wrapper > unit_struct, 27cf53e4

Tests

  • Finally have tests, currently for layout and associated methods, at the moment running the tests will not interfere with any running Docker containers, 4bcf77db

2024-01-05

Chores

Docs

Features

  • re-arrange columns, container name is now the first column, added a ContainerName & ContainerImage struct via string_wrapper macro, closes #32, e936bb4b

Fixes

Refactors

2023-11-21

Chores

Features

  • Docker exec mode - you are now able to attempt to exec into a container by pressing the e key, closes #28, c8077bca, 0e5ee143, 0e5ee143
  • Export logs feature, press s to save logs, use --save-dir cli-arg to customise output location, closes #1, a15da5ed

Fixes

2023-10-21

Chores

Docs

Refactors

2023-08-28

Chores

Features

  • Custom hostname. oxker will use $DOCKER_HOST env if set, or one can use the cli argument --host, which takes priority over the $DOCKER_HOST, closes #30, 10950787

Refactors

  • set_error() takes gui_state and error enum, to make sure app_data & gui_state is in sync 62c78dfa
  • fn loading_spin doesn't need to be async, 2e27462d

2023-06-04

Chores

Fixes

2023-03-30

Chores

Docs

  • README.md and screenshot updated, 73ab7580

Features

  • Ability to delete a container, be warned, as this will force delete, closes #27, 937202fe, b25f8b18
  • Publish images to ghcr.io as well as Docker Hub, and correctly tag images with latest and the current sermver, cb1271cf
  • Replace tui-rs with ratatui, d431f850

Fixes

  • out of bound bug in heading_bar(), b9c125da
  • -d arg error text updated, e0b49be8

Refactors

  • popup() use saturating_x() rather than checked_x(), d628e802
  • button_item() include brackets, 7c92ffef

2023-03-13

Chores

Features

  • increase mpsc channel size from 16 to 32 messages, 924f14e9
  • KeyEvents send modifier, so can quit on ctrl + c, 598f67c6
  • only send relevant mouse events to input handler, 507660d8

Fixes

  • GitHub workflow on SEMEVR tag only, 14077386

Refactors

Reverts

  • temporary devcontainer buildkit fix removed, d1497a44

2023-03-02

Chores

Docs

Features

  • mouse capture is now more specific, should have substantial performance impact, 10x reduction in cpu usage when mouse is moved observed, as well as fixing intermittent mouse events output bug, 0a1b5311, 93f7c07f, c74f6c11
  • improve the styling of the help information popup, 28de74b8
  • use checked_sub & checked_div for bounds checks, 72279e26

Fixes

Refactors

  • dead code removed, b8f5792d
  • improve the get_width function, 04c26fe8
  • place ui methods into a Ui struct, 3437df59
  • get_horizotal/vertical constraints into single method, e8f5cf9c
  • docker update_everything variables, 074cb957

2023-02-04

Fixes

  • Container runner FROM scratch (missing from v0.2.2 D'oh), this now should actually reduce Docker image size by ~60%, 0bd317b7

2023-02-04

Chores

  • devcontainer.json updated, typos-cli installed, temporary(?) buildkit fix, 3c6a8db6
  • create_release.sh check for typos, 310a63f4

Docs

Features

  • Use a scratch container for the docker image, should reduce image size by around 60%. This checks for the ENV OXKER_RUNTIME=container, which is automatically set by the docker image, 17b71b6b

2023-01-29

Chores

Docs

Fixes

  • deadlock on draw logs when no containers found, 68e444bf
  • github workflow release on main only (with semver tag), e4ca41df, 749ec712

Refactors

  • major refactor of internal data handling, b4488e4b
  • needless (double) referencing removed, a174dafe
  • app_data methods re-ordered & renamed, c0bb5355

Reverts

  • is_running AtomicBool back to SeqCst, c4d80061

2023-01-21

Chores

Features

all potentially considered breaking changes

  • store Logs in own struct, use a hashset to track timestamps, hopefully closes #11, 657ea2d7
  • Spawn docker commands into own thread, can now execute multiple docker commands at the same time, 9ec43e12
  • align memory columns correctly, minimum byte display value now 0.00 kB, rather than 0 B, closes #20, bd7dfcd2, 51c58001

Refactors

2023-01-03

Chores

Features

  • install.sh script added, for automated platform selection, download, and installation, 7a42eba6, e0703b76

Fixes

  • If a sort order is set, sort containers on every update_stats() execution, cfdea775

Refactors

  • input sort executed in app_data struct sort_by_header(), 3cdc5fae

2022-12-25

Chores

Features

Fixes

Refactors

  • remove_ansi() to single liner, 57c3a6c1

2022-12-05

Fixes

  • disallow commands to be sent to a dockerised oxker container, closes #19, 160b8021
  • if no container created time, use 0, instead of system_time(), 1adb61ce

2022-12-05

Chores

  • dependencies updated, e3aa4420
  • docker-compose.yml alpine bump, 911c6596
  • github workflow use dtolnay/rust-toolchain, 57c18878

Features

  • Clicking a header now toggles between Ascending -> Descending -> Default. Use the containers created_time as the default order - maybe add created column in future version, closes #18, cf14ba49, d1de2914
  • -s flag for showing the oxker container when executing the docker image, c93870e5

2022-11-13

Chores

Docs

  • README.md improved Download & Install section, and now available on NixPkg, thanks siph, 67a9e183

2022-10-16

Chores

Fixes

  • loading icon shifting error fix, also make icon white, closes #15, 59797685,

Features

  • Show container name in log panel title, closes #16, 9cb0c414,
  • use gui_state HashSet to keep track of application gui state, 9e9d5155,
  • terminal.clear() after run_app finished, 67c49575,

Refactors

  • CpuStats & MemStats use tuple struct, a060d032,

2022-10-07

Chores

Docs

Features

  • use newtype construct for container id, 41cbb84f,

Refactors

  • Impl Copy where able to, e76878f4,
  • replace async fn with just fn, 17dc604b,
  • remove pointless clone()'s & variable declarations, 6731002e,
  • replace String::from("") with String::new(), 62fb2247,
  • replace map_or_else with map_or, 3e26f292, 5660b34d,

2022-09-07

Chores

Features

  • containerize self, github action to build and push to Docker Hub, 07f97202,
  • gui_state is_loading use a HashSet to enable multiple things be loading at the same time, 66583e1b,
  • github action publish to crates.io, 90b2e3f6,
  • derive Eq where appropriate, d7c2601f,
  • ignore containers 'oxker' containers, 1be9f52a,
  • update container info if container is either running OR restarting, 5f12362d,

Fixes

  • devcontainer updated, 3bde4f56,
  • Use Binate enum to enable two cycles of cpu/mem update to be executed (for each container) at the same time, refactor hashmap spawn insertions, 7ec58e79,

Refactors

  • improved way to remove leading '/' of container name, 832e9782,

2022-08-04

Chores

Features

  • build all production targets on release, 44f8140e,

Fixes

2022-07-23

Fixes

2022-07-23

Chores

  • update Cargo.toml, in preparation for crates.io publishing, fdc6898e,

Docs

  • added cargo install instructions, c774b10d,

Fixes

  • use SpawnId for docker hashmap JoinHandle mapping, 1ae95d58,

2022-07-23

Chores

Features

  • Enable sorting of containers by each, and every, heading. Either via keyboard or mouse, closes #3, a6c296f2,
  • Spawn & track docker information update requests, multiple identical requests cannot be executed, 740c059b,

2022-07-06

Docs

Fixes

Refactors

2022-05-30

Docs

  • Readme one-liner to download & install latest version, 11d5ba36,
  • Example docker-compose.yml bump alpine version to 3.16, 98c83f2f,

Fixes

  • use Some() checks to make sure that container item indexes are still valid, else can create out-of-bounds errors, closes #8, 4cf02e3f,
  • Remove + replace as many unwrap()'s as possible, d8e22d74,
  • Help panel typo, e497f3f2,

2022-05-08

Fixes

2022-05-08

Docs

Features

  • vim movement keys, 'j' & 'k', to move through menus, thanks siph, 77eb33c0,

Fixes

  • create_release.sh correctly link to closed issues, 5820d0a9,

Refactors

  • generate_block reduce params, insert into area hashmap from inside generate_block function, 32705a60,
  • dead code removed, d20e1bcd,
  • create_release.sh improved flow & comments, 4283a285,

2022-04-29

Features

  • allow toggling of mouse capture, to select & copy text with mouse, closes #2, aec184ea,
  • show id column, b10f9274,
  • draw_popup, using enum to draw in one of 9 areas, closes #6, 1017850a,
  • use a message rx/sx for all docker commands, remove update loop, wait for update message from gui instead, 9b70fdfa,

Fixes

2022-04-25

  • init commit