Commit Graph
92 Commits
Author SHA1 Message Date
RandyTheSilly dd0d1ffe55 Revert use of ":" for options on Windows, use "-" but replace "-p" with "-pw" to avoid ambiguity, interpret no options as "password" 2024-03-17 17:32:13 -04:00
RandyTheSilly ff9092bc9f Fix slice bounds errors when editing notes on short entries 2024-03-17 15:59:47 -04:00
RandyTheSilly 279384ee4a Allow passing show flag arguments with PowerShell completions 2024-03-15 14:57:46 -04:00
RandyTheSilly 7e5823c35e Do not require a pre-existing entry name for PowerShell completions 2024-03-14 18:33:22 -04:00
RandyTheSilly 80e4148b9b Switch Windows to use ":" instead of "-" for options flags because PowerShell is horrible and interprets "-" as a named parameter 2024-03-14 17:01:12 -04:00
RandyTheSilly 02fb625230 Correctly handle entry names with spaces in PowerShell completion 2024-03-14 15:59:03 -04:00
RandyTheSilly fb984f4514 Call mutn.exe from PowerShell completion function 2024-03-14 14:47:49 -04:00
RandyTheSilly 148212b276 Implement initial PowerShell 6.0+ tab-completions (missing help fallback, show) 2024-03-13 15:40:35 -04:00
RandyTheSilly 5cee48d412 Fix complex strings failing to copy on Windows 2024-03-11 15:09:30 -04:00
RandyTheSilly c7735d32be Specify that "mutn init" generates libmutton.ini 2024-03-08 13:15:16 -05:00
RandyTheSilly 2252be1463 Use panic in editNote to prevent temp files from being left behind 2024-03-08 12:57:10 -05:00
RandyTheSilly edf1a4cd9a Strip carriage returns from user input 2024-03-08 12:48:19 -05:00
RandyTheSilly 82b4fbee64 Properly close files to fix various issues on Windows (fixes GPG keygen, note temp files not being deleted) 2024-03-08 12:19:05 -05:00
RandyTheSilly 404f24d361 Better sanitize user input in inputInt 2024-03-08 11:23:08 -05:00
RandyTheSilly f83bdb9bdb Disable sshyp-sync-shim on Windows 2024-03-08 10:43:00 -05:00
RandyTheSilly f35d1b3741 Add current UNIX timestamp to generated GPG ID, identify key based on it 2024-03-08 10:36:01 -05:00
RandyTheSilly a0ca7803f1 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 431082f711 Better detect if fallback editor needs to be used 2024-03-07 23:51:34 -05:00
RandyTheSilly 652ef48dd5 Prevent EntryListGen errors from appearing in-line with header 2024-03-07 23:46:19 -05:00
RandyTheSilly b01e5bded4 Exit after errors in EntryListGen 2024-03-07 23:43:35 -05:00
RandyTheSilly 31bc17cb0d Remove the gpg-gen file after use 2024-03-07 23:40:35 -05:00
RandyTheSilly 5a12eaf4cf Allow automatic generation of GPG keys 2024-03-07 23:35:38 -05:00
RandyTheSilly 7d17af9b61 Allow picking GPG key ID from a generated list 2024-03-07 22:48:57 -05:00
RandyTheSilly c6ee5fff06 Implement temporary "init" functionality 2024-03-07 22:12:38 -05:00
RandyTheSilly aa1098d472 Fixed indentation in main help menu for "edit -r" 2024-03-07 20:38:25 -05:00
RandyTheSilly 148ee53073 Add TEMPORARY sshyp-sync shim so that MUTN can be tested while native sync is under development 2024-03-07 20:35:24 -05:00
RandyTheSilly 408cff1a79 Replace TODO comment to correspond with learned information 2024-03-07 20:20:30 -05:00
RandyTheSilly 22758460ab Implement note editing 2024-03-07 20:15:01 -05:00
RandyTheSilly 3a90bef48a Allow generating new passwords for existing entries 2024-03-07 19:09:23 -05:00
RandyTheSilly 300516c3cd Implement initial entry editing support (no notes editing or gen update) 2024-03-07 18:34:12 -05:00
RandyTheSilly 9f1955eb82 Implement entry/directory renaming/moving 2024-03-07 17:40:57 -05:00
RandyTheSilly 609ef9bd8c Do not print redundant newline after creating a notes-only entry 2024-03-07 16:09:54 -05:00
RandyTheSilly 1e1a26b098 Implement password generation on new entries 2024-03-07 16:04:46 -05:00
RandyTheSilly 22fcad2fed Implement error messages for missing key values in libmutton.ini 2024-03-07 13:07:24 -05:00
RandyTheSilly b1f3a9eeec Properly set config file path on Windows 2024-03-07 12:34:50 -05:00
RandyTheSilly d6443c1966 Do not allow creating empty entries 2024-03-07 12:13:31 -05:00
RandyTheSilly 56ffe7e36f Allow optionally adding notes to new password entries 2024-03-07 12:01:49 -05:00
RandyTheSilly 14b3d7bd45 More correctly use build constraints in entryList.go 2024-03-06 20:45:02 -05:00
RandyTheSilly 11644b37ff Implement notes editor (required rewrite of offline.ReadConfig) 2024-03-05 17:11:53 -05:00
RandyTheSilly 1580227007 Implement initial entry adding (partial, missing notes support) 2024-03-05 14:09:50 -05:00
RandyTheSilly 85067fef40 Implement offline shearing/removal 2024-03-05 12:29:10 -05:00
RandyTheSilly 8704ba6972 Implement ability to add folders/directories (offline) 2024-03-05 11:52:33 -05:00
RandyTheSilly dfe917a4ff Implement Termux clipboard support 2024-03-05 10:47:41 -05:00
RandyTheSilly 24b899a83a Greatly reduce code duplication in clipboard implementations 2024-03-03 23:26:39 -05:00
RandyTheSilly 6fecf5a686 Move "clipclear" argument functionality to offline function to better facilitate third-party implementations 2024-03-03 22:47:58 -05:00
RandyTheSilly 0e6210f1af Implement untested MacOS clipboard support via pbcopy 2024-03-03 22:36:20 -05:00
RandyTheSilly 207a4762b6 Handle errors resulting from failed decryption 2024-03-03 22:15:35 -05:00
RandyTheSilly 0f65cd31cb Implement errors for copying entry fields that do not exist or are blank 2024-03-03 22:02:51 -05:00
RandyTheSilly 988724bac6 Handle errors when running clipboard-related commands with exec 2024-03-03 21:24:29 -05:00
RandyTheSilly 9802b7498b Implement X11 clipboard support via xclip 2024-03-03 20:58:51 -05:00