Commit Graph
118 Commits
Author SHA1 Message Date
RandyTheSilly fcde9689c8 Bump dependencies 2024-10-19 16:11:56 -04:00
RandyTheSilly ab3f6be41b Bump Go to v1.23.2 2024-10-19 16:07:39 -04:00
RandyTheSilly 1fb2834844 Fix renaming an entry/folder to an invalid path still attempting the rename on the server 2024-10-18 12:34:17 -04:00
RandyTheSilly 7b4241b2cd Prepare for release v0.2.2 v0.2.2 2024-08-20 21:00:24 -04:00
RandyTheSilly de508d17f2 Fix edited entries (edited to have fewer lines than before) not being truncated during sync (regression from 88b7a6be6d) 2024-08-20 01:05:11 -04:00
RandyTheSilly f5a635004a Prepare for release v0.2.1 v0.2.1 2024-08-13 21:30:46 -04:00
RandyTheSilly 4c54349b39 Assign error-specific exit codes to constants 2024-08-13 20:48:20 -04:00
RandyTheSilly a1c9827c04 Move FSSpace, FSPath, and FSMisc constants to core package to avoid import cycles 2024-08-13 20:28:33 -04:00
RandyTheSilly be46b0d6b2 Fix init if devices directory does not exist/is empty 2024-08-13 20:21:11 -04:00
RandyTheSilly b1fc8e3c4d Bump: golang.org/x/sys v0.23.0 => v0.24.0 2024-08-13 18:43:33 -04:00
RandyTheSilly 645bd964e6 Create and close sshClient instances in one-off sync functions (ShearRemoteFromClient, RenameRemoteFromClient, AddFolderRemoteFromClient) 2024-08-13 18:41:47 -04:00
RandyTheSilly 88b7a6be6d Create all config/entry files (both local and remote) with 0600 permissions 2024-08-13 17:20:15 -04:00
RandyTheSilly cbf9139713 Handle remaining errors in sync/client.go 2024-08-13 16:21:55 -04:00
RandyTheSilly d67114b9ba Simplify TOTP copy message 2024-08-13 15:54:59 -04:00
RandyTheSilly 7d51d12b55 Remove old device ID from server in DeviceIDGen 2024-08-12 15:53:40 -04:00
RandyTheSilly e861b2b6f3 Close sshClient at the end of RunJob 2024-08-12 14:22:58 -04:00
RandyTheSilly bb1ecc5bae Handle or explicitly ignore all remaining errors 2024-08-12 14:13:48 -04:00
RandyTheSilly ed9c4e91ff Implement error-specific exit codes 2024-08-11 20:21:01 -04:00
RandyTheSilly 06b9527a33 Properly format function documentation comments 2024-08-11 16:37:28 -04:00
RandyTheSilly 9f43337437 Call GetSSHClient once in a full sync procedure, reusing the client (fixes multiple keyfile passphrase prompts) 2024-08-11 15:01:24 -04:00
RandyTheSilly 102ef6955c Mention MUTN in README.md 2024-08-08 20:10:14 -04:00
RandyTheSilly 38f3896e99 [wiki] Add bug mentioned in developer guide to known bugs list 2024-08-08 20:04:29 -04:00
RandyTheSilly cf796c984d [wiki] Add server binary build info; link to developer guide from README.md 2024-08-08 20:00:04 -04:00
RandyTheSilly 49ec3d6c62 [wiki] Fix links to various wiki pages 2024-08-08 19:45:25 -04:00
RandyTheSilly baf4236162 Add roadmap to README.md 2024-08-08 19:43:00 -04:00
RandyTheSilly 13af0a97b5 Add gofmt targets 2024-08-08 19:16:26 -04:00
RandyTheSilly e31e451bf5 Update .gitignore 2024-08-08 18:44:06 -04:00
RandyTheSilly f5e5cd31bb Move libmuttonserver.go to this repo 2024-08-08 17:39:18 -04:00
RandyTheSilly d82188f566 [wiki] Remove extra subdirectory 2024-08-08 16:57:13 -04:00
RandyTheSilly ef2a3dbbb2 Add go.mod and go.sum 2024-08-08 16:53:29 -04:00
RandyTheSilly c83a3aa018 Rename "backend" package to "core" 2024-08-08 16:49:34 -04:00
RandyTheSilly ba4f7f2340 Move packages out of src/ 2024-08-08 16:35:03 -04:00
RandyTheSilly 57d7cdf8f9 Restore README.md and commit.sh (lost in migration) 2024-08-08 16:15:10 -04:00
RandyTheSilly a0d9318fe9 Prepare for release v0.2.0 2024-08-06 14:57:09 -04:00
RandyTheSilly 9df37b0890 Announce TOTP code has been copied only after the entry has already been decrypted 2024-07-30 18:32:14 -04:00
RandyTheSilly afaef3685b [wiki/MUTN] Add basic setup and usage instructions 2024-07-19 17:56:42 -04:00
RandyTheSilly a382d31997 Fail early if adding an entry to a directory that does not exist (or if the directory is a file) 2024-07-19 15:53:54 -04:00
RandyTheSilly af88c89b50 Fix rename prompting for new location before verifying old one exists 2024-07-19 13:48:14 -04:00
RandyTheSilly 0f4eff440e [wiki/libmutton] Update known bugs list and add a relevant bug to the developer guide 2024-07-18 17:51:05 -04:00
RandyTheSilly a76452d9bb 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 fa35469ca9 When server and client clocks are out of sync, warn the user that they should update mod times even if the pending upload operations appear correct 2024-07-18 16:16:50 -04:00
RandyTheSilly 6366800c84 Do not upload/download any entries if the client and server time are more than 30 seconds out of sync; appropriately warn the user 2024-07-18 15:55:50 -04:00
RandyTheSilly 7a48544932 Fix ANSI escapes (on Windows) not being interpreted after using GPG pinentry 2024-07-17 18:54:29 -04:00
RandyTheSilly d5e07bdeb6 Allow writing to different section headers in libmutton.ini 2024-07-17 15:49:45 -04:00
RandyTheSilly 3ae85adc18 Move text editor determination to cli package 2024-07-17 14:59:57 -04:00
RandyTheSilly 7ab0c91c0e Allow parsing different section headers in libmutton.ini 2024-07-17 14:44:18 -04:00
RandyTheSilly 93f8e1d867 [wiki/libmutton] Add config file info to developer guide 2024-07-15 14:54:47 -04:00
RandyTheSilly a2a92985af Replace use of ASCII control characters with unicode characters allowed in Windows filenames (fixes shearing with a Windows server) 2024-07-10 15:23:13 -04:00
RandyTheSilly 6b3a136c5e Fix "shear" throwing errors if no device ID is present (instead of running in offline mode) 2024-07-10 02:07:59 -04:00
RandyTheSilly d5146d7625 Split sync.Rename into separate functions for client and server to avoid compiling SSH into the server binary 2024-07-10 00:01:59 -04:00