summaryrefslogtreecommitdiff
path: root/internal/color
AgeCommit message (Collapse)Author
2026-07-22feat: DTail fork — server/client feature developmentPaul Buetow
Squashed development of the snonux/dtail fork's product code (internal/, cmd/) since diverging from mimecast/dtail. Major areas: - Read/output path: the former "turbo" channel-less path is now the single, default server-side read/output path for cat/grep/tail and MapReduce; the old channel-based path and its config/env toggles were removed. - MapReduce: single aggregate implementation (server + serverless) fed directly by a processor pipeline, with input-exhausted finalization via the shutdown coordinator; high-concurrency and data-race fixes. - Journal source reads (journal:unit.service) via journalctl, Linux-gated behind a journal-v1 capability. - Auth-key fast reconnect: in-memory per-user public-key cache with TTL/max-keys, registered over an authenticated session (AUTHKEY), checked before authorized_keys. - Interactive query reload (--interactive-query) with SESSION START/UPDATE generation boundaries and capability negotiation. - Client-side deadlines: --timeout / --shutdownAfter as context deadlines; follow shutdown handling. - Client logging: diagnostics-only daily log by default, opt-in payload tee via --log-payload. - Numerous correctness fixes (buffer-pool double-recycle races, EOF-sentinel leaks, glob-expansion cap, TOCTOU in CSV parsing) with accompanying unit tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2021-11-02Bugfix: Dealing correctly with files without newline characters, also add ↵Paul Buetow
more tests
2021-10-10vetting and linting and some code restylingPaul Buetow
2021-10-02move args to config packagePaul Buetow
logger package rewrite as dlog
2021-10-02mapreduce tables are in colors now tooPaul Buetow
2021-09-07Produce MAPREDUCE lines, can aggregate these via default log formatPaul Buetow
2021-09-06fine tweak color schemaPaul Buetow
2021-09-06REMOTE and CLIENT colors are brushed correctly too nowPaul Buetow
2021-09-05-colorTable in combination with -debug prints whole sample paragraphs inPaul Buetow
all color combinations.
2021-09-05fix unit testPaul Buetow
2021-09-05finalize new default color schemaPaul Buetow
2021-08-281. Major performance gain by not checking for file truncation aftterPaul Buetow
each bytes read. 2. Introduce field separator to the protocol package.
2021-08-12add missing brush and also add color client configs plus jsonschemaPaul Buetow
2021-08-11add paint.goPaul Buetow
2021-08-11add colorTable optionPaul Buetow
2021-08-10can compile with new color codesPaul Buetow
2021-08-10add color unit testPaul Buetow
2021-08-09change paint APIPaul Buetow
2021-08-09we have all basic ansi text color codes and attributes now. we can alsoPaul Buetow
convert a string to a corresponding code (e.g. from a config file).
2021-07-31more on configurable colorsPaul Buetow
2021-07-30initial color config supportPaul Buetow
2020-12-26code cleanup and minor refactoringsPaul Buetow
2020-01-21Move commands to cmd/ and move internal dependencies to internal/Paul Bütow