Commit Graph

330 Commits

Author SHA1 Message Date
Lifailon 62bf7242e5 error handling improved 2026-11-05 10:26:07 +03:00
Lifailon f630a08ab8 fix fast mode for async loading and refactor ssh commands 2026-11-03 11:23:57 +03:00
Lifailon eba97d4fb0 #71 add etc to config paths 2026-10-29 16:08:34 +03:00
Lifailon 0fae6ab87b #64 add function to clear ansi bytes from found words after filtering 2026-10-29 13:14:29 +03:00
Lifailon 2e980e094f #64 add feature to copy visible text from logs window to clipboard 2026-10-29 12:46:53 +03:00
Lifailon d3f4fb791e update app version on 0.8.7 and fix workflows 2026-10-28 12:48:02 +03:00
Lifailon a66796df91 code review from build 8 2026-10-27 13:43:12 +00:00
Lifailon 635a147b88 code review from build 7 2026-10-27 09:03:39 +00:00
Lifailon 3e71cfb6f1 move io_uring reader into internal package 2026-10-23 20:17:48 +03:00
Matt Van Horn 06d5095a55 Restore navigation after SSH manager host switching
After the manager is closed and drawn again, SetCurrentView selects the
new sshManager and that view's frame and title are set to the selected
colors. TestSSHManagerNavigation opens the manager with one configured
host, runs the selection through a stub ssh command, and checks that the
current view is the rebuilt manager with those colors.

Fixes #70
2026-10-23 06:12:36 -07:00
Acid 230de446bd - added io_uring on Linux
- Linux io_uring input and end-of-file log reads, with automatic fallback on unsupported systems.
- Cached coloring regexes and constant-time username lookup.
- Concurrent, ordered filtering and coloring using available CPUs.
- Streaming stdin processing slow producers now display output immediately instead of waiting for EOF.
- Buffered stdout, bounded work queues, long line and CRLF support.
2026-09-11 03:56:23 -04:00
Booyaka101 9f11f0d95e fix: stop dropping --user flag when filtering user units by name (#46)
In `loadJournalLogs`, the `--user` flag is appended to args when
`selectUnits == "userUnits"`, but the next two blocks reassigned args
with `args = []string{...}` instead of `append`, wiping the previously-
added `--user`. The result was a journalctl invocation like
`--unit=foo.service --boot=all --priority=debug --no-pager --lines=10000`
with no `--user`, which returns "-- No entries --" for user units.

This was introduced in 0.8.6 as part of the "Changed flags' order for
improved usability and consistency" entry in CHANGELOG and reported by
@bjarnesc on the issue thread. The maintainer acknowledged "I see a
mistake (changed the flag order when adding new ones)."

Fix: use `append(args, ...)` instead of `args = []string{...}` for the
two filter branches so the `--user` flag survives.

Closes #46.
2026-05-01 21:27:19 +08:00
Lifailon 8e1b3b1da0 autofix linters using golangci 2026-03-16 10:32:47 +00:00
Lifailon a4b854e683 move logging to func 2026-03-16 08:55:41 +03:00
Lifailon 2bc00dfcd9 update audit 2026-03-14 12:58:18 +03:00
Lifailon a93d3d69b2 add unit types check flag 2026-03-14 12:30:06 +03:00
Lifailon 96f04814bc add check value for journal flags 2026-03-14 12:16:57 +03:00
Lifailon 2033193305 change flags order 2026-03-13 14:04:18 +03:00
Lifailon 80b737df40 add journal priority flag 2026-03-13 09:49:28 +03:00
Lifailon c39fc5fecc move flag description to env and fix logging path in config 2026-03-12 12:49:53 +03:00
Lifailon 3e019e236f add journal-boot flag for limit log output to the specified system boot period 2026-03-12 12:16:46 +03:00
Lifailon de31e4c0b1 add journal-field flag for filtering system journals 2026-03-12 11:53:52 +03:00
Lifailon 47c579e315 add system journal list with filtering by field 2026-03-12 08:47:28 +03:00
Lifailon da58357d1d add logging for exec commands 2026-03-11 15:09:03 +03:00
Lifailon c65b770c53 #45 add checks for scroll position and filtered log length 2026-03-04 14:11:04 +03:00
Lifailon 41dfe068a4 #46 add flag and config param for filtering the unit list by type 2026-03-03 11:12:41 +03:00
Lifailon e1fd54cdc4 #46 update retrieval of unit lists instead of old logs and fixed loading of user logs 2026-03-03 10:48:33 +03:00
Lifailon a042aa44fd autofix linters using golangci 2026-02-05 21:26:55 +00:00
Lifailon a44a00706a add auditd and podman context removed to show audit 2026-02-05 02:43:19 +03:00
Lifailon 7f100d0d68 update container name for subtitle 2026-02-04 10:58:05 +03:00
Lifailon 37edab330a add flag for set timezone and moved date filter mode by default to interface 2026-02-04 02:57:28 +03:00
Lifailon b8468a8aca add timezone (utc offset) for filtering by date in container lags 2026-02-04 01:47:26 +03:00
Lifailon 5e40a800b3 add default path for win custom path and update to audit 2026-02-03 16:51:52 +03:00
Lifailon a70f8da925 #38 fix using context in podman 2026-02-03 13:55:48 +03:00
Lifailon f41433c447 updated the order and added comments in the configuration 2026-02-03 13:44:27 +03:00
Lifailon af4d31814f update subtitle and moved to the top of the function 2026-02-03 13:30:20 +03:00
Lifailon 483b6e167e #37 add set default panel loaded when the interface starts 2026-02-03 12:06:26 +03:00
Lifailon b6235ba416 fix handling of cluster connection error during kubernetes log upload 2026-02-03 01:46:49 +03:00
Lifailon 78d6aa65da add filter by since time for kubernetes 2026-02-03 01:18:46 +03:00
Lifailon a415f3dc02 add current upload time to subtitle of file list. 2026-02-02 13:18:23 +03:00
Lifailon 55f3194372 add custom path for windows 2026-02-02 12:03:12 +03:00
Lifailon 5715e1f50b fix docker options to ssh mode and add subtitle for full path 2026-02-01 23:50:15 +03:00
Lifailon e9dd3ba351 add quick navigation for entering text in the filter 2026-02-01 19:31:04 +03:00
Lifailon 84660a23e9 #38 add podman-context flag and update using context to docker 2026-02-01 16:41:24 +03:00
Lifailon c9be7e767c add check ssh and context manager in tests 2026-01-24 11:02:04 +03:00
Lifailon 5abd9ad41f add line reductions for tail mode in status 2026-01-24 00:50:45 +03:00
Lifailon 0c7b576b33 update flags 2026-01-24 00:47:14 +03:00
Lifailon 991f1d1575 add 40k lines and update default value for tail 2026-01-23 13:37:26 +03:00
Lifailon bfd3a13bd5 add flag for disable wrap mode 2026-01-23 12:11:23 +03:00
Lifailon a78e5919b1 update status for 2 lines 2026-01-22 13:25:34 +03:00