| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-06-19 | Refactor: Extract magic numbers as constants and reduce client code duplication | Paul Buetow | |
| - Created internal/constants package with organized constant files: - timeouts.go: All time duration constants (timeouts, intervals, delays) - channels.go: Channel buffer size constants - limits.go: Numeric limits and configuration values - buffers.go: Buffer size constants in bytes - Replaced all magic numbers throughout codebase with named constants: - Time durations (2s, 3s, 5s, 10s, 100ms, 24h) now use descriptive constants - Buffer sizes (8KB, 64KB, 1MB) extracted to constants - Channel buffer sizes and multipliers - Configuration limits (max connections, concurrency, etc.) - Health check status codes - Percentage calculations - Reduced code duplication in client implementations: - Created CommonClient to share functionality between CatClient, GrepClient, and TailClient - All three clients now inherit from CommonClient - Eliminated duplicate makeHandler() and makeCommands() methods - Simplified client constructors This refactoring improves code maintainability by centralizing configuration values and reducing redundant code across similar client implementations. | |||
| 2021-11-02 | Make it so that DTail 3 incompatibility error is printed when trying to ↵ | Paul Buetow | |
| connect to it via a DTail client 4.x | |||
| 2021-11-02 | Bugfix: Dealing correctly with files without newline characters, also add ↵ | Paul Buetow | |
| more tests | |||
| 2021-10-06 | enable faster shutdown - useful for dgrep/dmap and dcat commands | Paul Buetow | |
| 2021-10-05 | Paul Buetow | ||
| 2021-10-02 | refactor config reader - also looks in additional search paths for config ↵ | Paul Buetow | |
| file unless NONE is specified | |||
| 2021-10-02 | move args to config package | Paul Buetow | |
| logger package rewrite as dlog | |||
| 2021-10-02 | fix auto reconnect | Paul Buetow | |
| 2021-10-02 | add spartan mode | Paul Buetow | |
| 2021-10-02 | new docker test cases - also change default FATAL bg color to magenta | Paul Buetow | |
| 2021-10-02 | mapreduce tables are in colors now too | Paul Buetow | |
| 2021-09-06 | Print out client/server update notice even from dtail server 4 to dtail | Paul Buetow | |
| client 3. | |||
| 2021-08-22 | introduces the protocol package | Paul Buetow | |
| 2021-08-21 | read files bytewise for more control of whats happening - change transport ↵ | Paul Buetow | |
| protocol for more control over newlines | |||
| 2020-12-26 | code cleanup and minor refactorings | Paul Buetow | |
| 2020-12-08 | merge develop | Paul Buetow | |
| 2020-03-04 | fix silent logging https://github.com/mimecast/dtail/issues/5 | Paul Buetow | |
| 2020-02-12 | exec will always err if status is > 0 | Paul Bütow | |
| 2020-02-07 | Introduce drun command, refactor code to use context package | Paul Bütow | |
| 2020-01-21 | Move commands to cmd/ and move internal dependencies to internal/ | Paul Bütow | |
