Commit Graph
36 Commits
Author SHA1 Message Date
RandyTheSilly e2d79d4ce3 Make use of libmutton's new core.PrintError utility function 2025-02-01 21:01:35 -05:00
RandyTheSilly 118ffc2adb Move expandPathWithHome to libmutton 2025-01-16 14:26:57 -05:00
RandyTheSilly d1d88c2e69 Port to newest libmutton development version 2025-01-16 13:49:21 -05:00
RandyTheSilly 9cc4965ed8 Bump: github.com/rwinkhart/libmutton PRE-TAG => v0.2.1; add script for generating release binaries 2024-08-13 21:46:14 -04:00
RandyTheSilly b68b2a8931 Implement error-specific exit codes defined by libmutton 2024-08-13 17:36:15 -04:00
RandyTheSilly 888b1ca80d Properly format function documentation comments 2024-08-11 19:05:16 -04:00
RandyTheSilly a23ae4a4b9 Switch to dependence on github.com/rwinkhart/libmutton 2024-08-08 17:24:48 -04:00
RandyTheSilly 4b82738048 Add fallback SSH identity file (~/.ssh/id_ed25519) 2024-07-21 22:56:24 -04:00
RandyTheSilly cdb2c949f0 Verify user-specified SSH identity file exists 2024-07-21 22:41:13 -04:00
RandyTheSilly cdf554179a Improve StringGen to allow creating file name-safe complex strings; remove in-code references to future additions 2024-07-18 17:04:48 -04:00
RandyTheSilly 1e5c0feaba Simplify text editor fallback 2024-07-17 17:26:01 -04:00
RandyTheSilly c9b87dd121 Move text editor config under [MUTN] section header in libmutton.ini 2024-07-17 15:53:17 -04:00
RandyTheSilly 4daa031c0e Allow writing to different section headers in libmutton.ini 2024-07-17 15:49:45 -04:00
RandyTheSilly e6edc7c336 Move text editor determination to cli package 2024-07-17 14:59:57 -04:00
RandyTheSilly 9614ffc513 Expand "~" to home directory when specifying ssh identity file 2024-07-09 17:23:36 -04:00
RandyTheSilly 20c70bac9e Prompt for SSH port before IP (to avoid users responding to the IP prompt with a socket); specify SSH address may be a domain name 2024-07-09 15:26:17 -04:00
RandyTheSilly 295b126d3a Write and append to config file using ini package 2024-06-05 14:56:17 -04:00
RandyTheSilly 182b50cd27 Fix Windows sync (WalkEntryDir now returns only UNIX-style separators); fix setting remote mod time on remote files when downloading; fix server binary compilation; fix init failing silently during SSH configuration 2024-05-31 01:23:50 -04:00
RandyTheSilly 423ea8a81b Fix init deleting device ID immediately after generating it; fix sync failure for non-manual syncs 2024-05-30 23:25:08 -04:00
RandyTheSilly 7dd313add0 Save server EntryRoot and OS type during init, use to progress toward Windows server support 2024-05-30 22:57:05 -04:00
RandyTheSilly 8c1eaf3d65 Fix import cycle (over SSH keyfile passphrase input) 2024-05-17 12:25:10 -04:00
RandyTheSilly 66995c3c06 Implement initial support for passphrase-protected SSH keyfiles 2024-05-17 11:42:44 -04:00
RandyTheSilly a703c6b2ac Move device ID generation to sync.DeviceIDGen 2024-05-16 21:26:42 -04:00
RandyTheSilly f18a023bb7 Implement device ID server registration and server-side init 2024-05-16 17:14:42 -04:00
RandyTheSilly bb67446653 Implement initial server-side shearing logic 2024-05-16 16:35:05 -04:00
RandyTheSilly e4b9ca6c34 Implement initial SSH data retrieval 2024-05-15 14:58:21 -04:00
RandyTheSilly 570e257f08 Initial groundwork for native sync support 2024-05-11 20:52:38 -04:00
RandyTheSilly f33eb3d480 Refactor for better modularity (share more code among edit functions, rename "offline" package to "backend" 2024-04-15 18:16:05 -04:00
RandyTheSilly f8bf12677f Better sanitize user input in inputInt 2024-03-08 11:23:08 -05:00
RandyTheSilly 5fc2ef81bc Add current UNIX timestamp to generated GPG ID, identify key based on it 2024-03-08 10:36:01 -05:00
RandyTheSilly cd61d3ada3 Manually select auto-generated GPG key due to inconsistent GPG output, use tempfile for gpg-gen 2024-03-08 00:46:22 -05:00
RandyTheSilly d552f03de1 Better detect if fallback editor needs to be used 2024-03-07 23:51:34 -05:00
RandyTheSilly 27c70e84c8 Remove the gpg-gen file after use 2024-03-07 23:40:35 -05:00
RandyTheSilly 276da8222f Allow automatic generation of GPG keys 2024-03-07 23:35:38 -05:00
RandyTheSilly 7fc1c46018 Allow picking GPG key ID from a generated list 2024-03-07 22:48:57 -05:00
RandyTheSilly 93a1a2209c Implement temporary "init" functionality 2024-03-07 22:12:38 -05:00