Commit Graph

82 Commits

Author SHA1 Message Date
b381e6fa7f [WIP] Integration of TestEnvironment 2025-03-30 00:28:00 +01:00
d87cd468cc [WIP] Integration of TestEnvironment 2025-02-08 22:49:11 +01:00
b6a6e63358 Revert Environment needing to be ShellInterface 2025-02-07 14:10:13 +01:00
1230a3ea07 Require Environment to be ShellInterface 2025-02-07 14:08:38 +01:00
a324935005 Rework how EnvCommand and ShellInterface interact with each other 2025-02-07 14:05:20 +01:00
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
85a9cd9ae5 Implement ShellCommand to Command conversion 2025-02-05 22:32:45 +01:00
ca7be76937 Remove minor code duplication 2025-02-05 21:19:07 +01:00
6b0b648d67 Implement ShellInterface for EnvCommand 2025-02-05 21:16:45 +01:00
4095ee32f6 Make environment in EnvCommand mutable 2025-02-05 00:02:54 +01:00
8315549838 Make into_result_with_error_logging available for every MaybeCast<Output> type 2025-02-04 23:52:06 +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
744fd0f6c2 Remove unused FileInfoError variant 2025-02-03 23:05:23 +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
67eca84f9d Add unit tests for osstring extensions 2025-02-03 22:32:47 +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
a932a9eb67 Add collect_output function to shell commands 2025-01-08 13:38:51 +01:00
fefdffe1e9 Use run function for commands where possible 2025-01-08 10:24:15 +01:00
0c56e837d4 Improve command error messages and unit test coverage 2024-12-18 11:35:38 +01:00
b6002b635d Add unit test to command module 2024-12-17 15:40:53 +01:00
9befc1fcf2 Fix and refactor command module 2024-12-17 15:29:35 +01:00