Commit Graph

13 Commits

Author SHA1 Message Date
pandaadir05
d09429ea2e Fix CI/CD: Update ratatui dependencies and ignore unmaintained paste warning
- Updated ratatui from 0.24 to 0.29 to get latest features
- Updated crossterm from 0.27 to 0.29 for compatibility
- Updated tui-input from 0.8 to 0.14
- Updated unicode-width from 0.1 to 0.2
- Fixed ratatui API changes:
  - Use Frame::area() instead of deprecated Frame::size()
  - Table::new() now requires widths as second parameter
  - Use row_highlight_style() instead of deprecated highlight_style()
- Added ignore for RUSTSEC-2024-0436 (paste unmaintained warning)
  - This is a transitive dependency through ratatui/tui-input
  - The crate still works fine, just not actively maintained
2025-11-21 14:30:21 +02:00
pandaadir05
a8fe6ed2f8 Fix CI/CD validation errors
- Add allow dead_code to unused helper function
- Remove redundant PID assertion in macOS test
- All clippy checks pass with -D warnings
- All tests passing (33/33)
2025-11-21 13:53:30 +02:00
pandaadir05
ed489f985a Fix TUI tab index mismatch causing wrong content display
Tab titles array was missing 'Threat Intel', causing Memory to show
nothing, Logs to show Memory content, etc. Added the missing tab.
2025-11-21 13:14:39 +02:00
pandaadir05
655585d9ef Fix all clippy lints and pass CI checks
- Box large enum variants in EventData to reduce memory footprint
- Add Default trait implementations for types with new() methods
- Replace or_insert_with(Vec::new) with or_default()
- Convert vec init+push patterns to vec! macro
- Fix field reassignment with default initialization
- Convert match to if for simple equality checks
- Remove unused Backend type parameters from TUI draw functions
- Apply rustfmt formatting

All tests passing (24 total). Zero clippy warnings. Ready for CI/CD.
2025-11-20 15:13:16 +02:00
pandaadir05
27dffbd108 Fix formatting issues for CI/CD 2025-11-20 14:55:46 +02:00
pandaadir05
934b367f49 Re-enable disabled tests and reduce warnings to 8 2025-11-20 14:53:31 +02:00
pandaadir05
17fdf7ffc4 Add missing newline at end of file 2025-11-20 14:26:51 +02:00
pandaadir05
2f7eed4047 Fix TUI borrow checker and generic type issues 2025-11-20 14:26:37 +02:00
pandaadir05
34007d11c1 fix: Resolve 44 compilation errors in ghost-core 2025-11-17 22:26:53 +02:00
pandaadir05
96b0d12099 refactor: comprehensive codebase improvements and documentation
- Enhanced error handling with expanded GhostError variants and From impls
- Fixed race conditions in TUI (ui.rs unwrap calls)
- Added comprehensive module documentation with doc comments
- Improved type safety with proper validation in DetectionConfig
- Implemented Linux process enumeration via procfs
- Refactored TUI for better state management and removed emojis
- Enhanced CLI with proper logging initialization
- Added example configuration file (examples/ghost.toml)
- Updated README with complete feature documentation
- Added performance optimizations (saturating arithmetic, reduced clones)
- Improved testing framework with proper struct initialization
- Added validation and preset modes to DetectionConfig
2025-11-17 21:28:37 +02:00
Adir Shitrit
db7a60d091 enhance TUI layout and threat visualization 2025-11-08 11:49:39 +02:00
Adir Shitrit
75171c7ff2 improve TUI responsiveness and error handling 2025-11-08 11:49:33 +02:00
Adir Shitrit
5794afb4a0 feat: implement sophisticated TUI with real-time monitoring 2025-11-08 11:23:10 +02:00