Commit Graph

47 Commits

Author SHA1 Message Date
Calmcacil
f1712b5f9e bd sync: 2026-01-12 21:41:27 2026-01-12 21:41:27 +01:00
Calmcacil
5d129562e2 fix: Properly parse compound handshake time and fix q key handling
- Fix parseHandshake to correctly parse number-unit pairs from '14 hours, 24 minutes, 40 seconds ago'
  Previous logic tried to parse unit words instead of finding associated numbers
  Now correctly accumulates all time units (hours, minutes, seconds)
- Fix q key handling to properly check screen type before quitting
  Only quit application when 'q' is pressed on list screen
  Other screens (detail, add, help) now handle 'q' to navigate back

Note: q key navigation may still need investigation for edge cases
2026-01-12 19:27:21 +01:00
Calmcacil
e0f8210c17 fix: Fix 'q' key handling and connectivity status issues
- Fix 'q' key in detail/add/help screens to return to list instead of quitting
- Only quit application with 'q' when on main list screen
- Fix parseHandshake to accumulate all time units instead of returning early
  This resolves handshake timing discrepancy with wg show output
- Increase connection status threshold from 3 to 5 minutes
  Allows ~12 missed keepalive intervals (25s each)
  Improves connectivity status accuracy for peers with marginal connections
2026-01-12 19:17:51 +01:00
Calmcacil
85f2e521c9 feat: Add Dracula and Everforest color themes, set Everforest as default
- Add DraculaTheme with official Dracula color palette
- Add EverforestTheme with natural Everforest dark color scheme
- Set Everforest as default theme (was 'default')
- Update README with theming documentation and THEME env var usage
- Build verified successfully
2026-01-12 19:10:46 +01:00
Calmcacil
26120b8bc2 Add WireGuard TUI implementation
- Add Go TUI with bubbletea for WireGuard management
- Implement client CRUD operations with QR code generation
- Add configuration and validation modules
- Install/update scripts for client setup
- Update Makefile to build binaries to bin/ directory
- Add .gitignore for Go projects
2026-01-12 19:03:35 +01:00
Calmcacil
5ac68db854 Fix Makefile: use -C flag to set module root 2026-01-12 19:00:35 +01:00
Calmcacil
bbc8e77e99 Fix Makefile: run go commands from project root 2026-01-12 18:59:07 +01:00
Calmcacil
320a9454fe Add Makefile for build automation 2026-01-12 18:54:55 +01:00
Calmcacil
aeea977884 bd sync: 2026-01-12 18:06:59 2026-01-12 18:06:59 +01:00
Calmcacil
a55629bb7f bd sync: 2026-01-12 18:06:08 2026-01-12 18:06:08 +01:00
Calmcacil
900cbad4cd bd sync: 2026-01-12 18:05:24 2026-01-12 18:05:24 +01:00
Calmcacil
c638800137 bd sync: 2026-01-12 18:04:46 2026-01-12 18:04:46 +01:00
Calmcacil
88d4ca79d1 bd sync: 2026-01-12 17:59:34 2026-01-12 17:59:34 +01:00
Calmcacil
427e3b402c bd sync: 2026-01-12 17:56:53 2026-01-12 17:56:53 +01:00
Calmcacil
9c7990c192 bd sync: 2026-01-12 17:54:28 2026-01-12 17:54:28 +01:00
Calmcacil
acab9f95b4 bd sync: 2026-01-12 17:51:29 2026-01-12 17:51:29 +01:00
Calmcacil
e86f968c5f bd sync: 2026-01-12 17:51:02 2026-01-12 17:51:02 +01:00
Calmcacil
cb7844c730 bd sync: 2026-01-12 17:48:32 2026-01-12 17:48:32 +01:00
Calmcacil
09a3524a71 bd sync: 2026-01-12 17:47:26 2026-01-12 17:47:26 +01:00
Calmcacil
93a3615a60 Add keyboard shortcuts help screen
- Created help.go with Screen interface implementation
- Help screen displays all shortcuts in two-column layout
- Categories: Navigation (j/k, arrows, Enter, Esc), Actions (a, d, D, Q, r, l), Other (?, /, q)
- Added '?' key handler in main.go to switch to help screen
- Help reference added to status bar
- Press q or Esc to return from help screen
- Styled with lipgloss for clear readability
2026-01-12 17:46:38 +01:00
Calmcacil
b53e1af96a bd sync: 2026-01-12 17:46:34 2026-01-12 17:46:34 +01:00
Calmcacil
efb8b5da72 bd sync: 2026-01-12 17:46:25 2026-01-12 17:46:25 +01:00
Calmcacil
f58bf18cf1 bd sync: 2026-01-12 17:42:41 2026-01-12 17:42:41 +01:00
Calmcacil
5982a5ddfb bd sync: 2026-01-12 17:41:35 2026-01-12 17:41:35 +01:00
Calmcacil
a393e64d20 bd sync: 2026-01-12 17:40:18 2026-01-12 17:40:18 +01:00
Calmcacil
e66de51d6d bd sync: 2026-01-12 17:38:49 2026-01-12 17:38:49 +01:00
Calmcacil
429bce1484 bd sync: 2026-01-12 17:34:30 2026-01-12 17:34:30 +01:00
Calmcacil
b9f781f548 bd sync: 2026-01-12 17:32:36 2026-01-12 17:32:36 +01:00
Calmcacil
6c9ee6ef3e bd sync: 2026-01-12 17:29:26 2026-01-12 17:29:26 +01:00
Calmcacil
718432911b bd sync: 2026-01-12 17:21:52 2026-01-12 17:21:52 +01:00
Calmcacil
1c76b64e2f bd sync: 2026-01-12 17:20:35 2026-01-12 17:20:35 +01:00
Calmcacil
b7e7454711 bd sync: 2026-01-12 17:16:28 2026-01-12 17:16:28 +01:00
Calmcacil
69f73516c5 bd sync: 2026-01-12 17:13:13 2026-01-12 17:13:13 +01:00
Calmcacil
fc4aa2a577 bd sync: 2026-01-12 17:11:08 2026-01-12 17:11:08 +01:00
Calmcacil
21e5608ef0 bd sync: 2026-01-12 17:05:01 2026-01-12 17:05:01 +01:00
Calmcacil
4eb122c0dc Add Go TUI implementation plan
- Comprehensive research on Go TUI libraries
- Architecture design with Bubble Tea stack
- 14-day implementation roadmap
- Package structure and component design
- User experience wireframes
- Security and performance considerations
2026-01-12 16:59:41 +01:00
Calmcacil
375fcba7eb bd sync: 2026-01-12 16:50:43 2026-01-12 16:50:43 +01:00
Calmcacil
c499fce077 bd sync: 2026-01-12 16:48:58 2026-01-12 16:48:58 +01:00
Calmcacil
ac87dcdb9d bd sync: 2026-01-12 16:44:13 2026-01-12 16:44:13 +01:00
Calmcacil
8f12aa36e2 bd sync: 2026-01-12 16:43:17 2026-01-12 16:43:17 +01:00
Calmcacil
719ce14235 bd sync: 2026-01-12 16:34:12 2026-01-12 16:34:12 +01:00
Calmcacil
3e856702e3 bd sync: 2026-01-12 16:32:54 2026-01-12 16:32:54 +01:00
Calmcacil
d4dd5c1a21 Add Gitea issue workflow documentation 2026-01-12 16:15:25 +01:00
Calmcacil
0be89f10a1 Fix firewall rules not loading on reboot
- Enable and start nftables service during installation
- Create /etc/nftables.conf that includes /etc/nftables.d/wireguard.conf
- nftables service now loads firewall rules automatically on boot
- Update documentation to reflect proper configuration file paths
- Remove historical VALIDATION.md document
- Clean up documentation references to non-existent scripts

Closes #1
2026-01-12 16:13:12 +01:00
Calmcacil
6b97f0532f bd sync: 2026-01-12 16:03:21 2026-01-12 16:03:21 +01:00
Calmcacil
140957857a bd sync: 2026-01-12 15:57:12 2026-01-12 15:57:12 +01:00
Calmcacil
8df350a196 First commit 2026-01-12 15:23:32 +01:00