Commit Graph
42 Commits
Author SHA1 Message Date
RandyTheSilly 26a5898e15 Better document new blank option="password" shortcut, order arguments in order of expected use, list passwords first in entry reader 2024-03-18 12:59:18 -04:00
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 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 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 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 24b899a83a Greatly reduce code duplication in clipboard implementations 2024-03-03 23:26:39 -05:00
RandyTheSilly b17a3ae372 Implement password hiding in entry readouts 2024-03-01 22:11:59 -05:00
RandyTheSilly 51313eb307 Re-write argument parsing, implement skeleton of copy functionality 2024-03-01 21:09:56 -05:00
RandyTheSilly 0afcdbb29b Implement initial entry readout formatting 2024-03-01 18:26:05 -05:00
RandyTheSilly fc2a6ab22f Do not trim file extensions from entries (file extensions are no longer expected) 2024-03-01 14:07:53 -05:00
RandyTheSilly 7d5bd76489 Fix initial entry reader shortcut on Windows 2024-03-01 13:47:28 -05:00
RandyTheSilly ba89fbeab6 Replace remaining ANSI escape codes with constants 2024-02-27 12:01:35 -05:00
RandyTheSilly fa6d5bc78a Implement ReadConfig for reading ~/.config/libmutton/libmutton.ini 2024-02-27 11:48:02 -05:00
RandyTheSilly e61beb3f94 Split into separate packages 2024-02-26 16:58:39 -05:00