Commit Graph

64 Commits

Author SHA1 Message Date
d963d4ff88 Fix test_parse_server_configuration 2025-02-07 13:03:22 +01:00
89cd5232cf Remove old command module 2025-02-05 23:56:44 +01:00
7c64383d72 Use new ShellCommand interface in main application 2025-02-05 23:55:06 +01:00
6b0b648d67 Implement ShellInterface for EnvCommand 2025-02-05 21:16:45 +01:00
6c7e718748 Fix ServerReferences using invalid parser 2025-02-04 23:43:11 +01:00
0632d7b0a9 Handle input in environment 2025-02-04 23:09:02 +01:00
85b0b3dbbf Add shell_interface and environment and prepare main application for those changes 2025-02-04 16:33:00 +01:00
75368d4c0c Really fix uploading wrong file in replace actions 2025-02-03 23:52:42 +01:00
3aa326e737 Fix wrong command when querying server files 2025-02-03 23:14:36 +01:00
a288bf58a5 Fix replace actions replacing with wrong file 2025-02-03 23:03:16 +01:00
02619870b9 Rename os_string_extension.rs to os_str_extension.rs 2025-02-03 22:33:30 +01:00
ad710581b3 Add os_string_extension.rs and refactor FileNameInfo 2025-02-03 22:11:25 +01:00
c143b29a3d Avoid lossy strings when renaming and matching files 2025-02-03 18:06:57 +01:00
d1924aa758 Refactor FileMatcher to use OsString 2025-02-03 18:01:54 +01:00
faf4e47cac Don't use shell command on local machine 2025-02-03 17:55:34 +01:00
0109bf6c6f Add TODO for bug 2025-02-03 16:54:42 +01:00
290a64d0ab Add exclusion flag to upload command 2025-02-03 16:08:36 +01:00
c9b95d2b0c Add pure flag to upload command 2025-02-03 15:36:16 +01:00
6d8b16b011 Fix canonicalization adding files with empty name 2025-02-03 13:14:40 +01:00
2eb37aa07a Fix canonicalization of remote files 2025-02-03 13:05:47 +01:00
ffd8f71f8b Add collect_full_output method to commands 2025-02-03 12:33:15 +01:00
930e02d802 Add remaining TODOs 2025-02-03 02:19:01 +01:00
6e4a23254a Canonicalize files to upload if they are on remote server 2025-02-03 01:47:36 +01:00
329ba8f381 Canonicalize upload directory when uploading to local 2025-02-03 00:51:56 +01:00
da2b6097e9 Add relative local path ankers, when parsing servers 2025-02-03 00:29:23 +01:00
04a8ebef38 Support uploading multiple files 2025-02-02 22:04:59 +01:00
4b4c7b9416 Add file-server parameter to upload command 2025-02-02 14:16:16 +01:00
b6b389e5a0 Allow localhost as server target 2025-02-02 02:23:25 +01:00
71d089512e Rename working-directory flag to download-directory and use ~/Downloads as default download directory 2025-02-01 13:52:34 +01:00
25286daea9 Add spaces to confirm prompts 2025-01-15 18:18:01 +01:00
0829590486 Add confirmation dialoge when file already exists in download directory 2025-01-15 13:45:49 +01:00
c7415478a8 Add input macro similar to pythons input function and replace previous usages of input acquisition 2025-01-15 13:38:56 +01:00
8f9ae82e6a [WIP] add input function and ask user whether he wants to override files 2025-01-08 18:34:59 +01:00
51c8286565 Use collect_output where possible 2025-01-08 13:43:05 +01:00
fefdffe1e9 Use run function for commands where possible 2025-01-08 10:24:15 +01:00
d0a14d7763 Add command module 2024-12-17 06:19:09 +01:00
b88fabb725 replace print calls with log calls 2024-12-17 06:02:25 +01:00
4a3fd978a4 fix --quit not conflicting with --info and use default value for log level 2024-12-17 05:49:37 +01:00
7f3adc9bc2 fix --quit not conflicting with --info and use default value for log level 2024-12-17 05:38:39 +01:00
c25e0264b4 Add log level parameters to CLI (untested) 2024-12-16 15:48:05 +01:00
058830e510 Refactor logger module 2024-12-16 15:41:15 +01:00
5ea52fdf0e Add basic logger 2024-12-16 14:34:40 +01:00
45914bd567 Add editor feature 2024-12-15 14:34:19 +01:00
d48fa4d489 Don't attempt to upload if no servers were given 2024-12-13 21:30:21 +01:00
826bc237a3 Show error message if ssh-agent failed to start 2024-12-13 21:03:05 +01:00
ebb78c3628 Also show working directory on action overview
Fixes #1
2024-12-13 18:09:17 +01:00
9e8214d742 Use replace action instead of explicit delete action where possible 2024-12-13 13:07:52 +01:00
435c87c958 Add OsStringBuilder and remove debug usages 2024-12-13 12:50:05 +01:00
28bdcb41aa Minor reformatting 2024-12-13 00:51:36 +01:00
affdc29df9 Add a bunch of TODO items 2024-12-13 00:50:24 +01:00