Commit Graph

278 Commits

Author SHA1 Message Date
ChristianVisintin
f06f718b47 when file index is at the end of the list, moving down will set the current index to the first element and viceversa 2020-12-13 09:46:36 +01:00
ChristianVisintin
db532cc4b7 Added <CTRL+C> to help page 2020-12-13 09:41:41 +01:00
ChristianVisintin
962843bb97 Log transfer aborted 2020-12-13 09:39:12 +01:00
ChristianVisintin
a8a9cb9d2e Abort upload/download pressing Ctrl+C 2020-12-12 22:00:12 +01:00
ChristianVisintin
3e72787625 Transfer states 2020-12-12 21:32:11 +01:00
ChristianVisintin
d89839443d Trim hostname 2020-12-12 18:04:47 +01:00
ChristianVisintin
1fb614642c Added 'E' to keybindings; behaves as <DEL> (added because some keyboards don't have <DEL> 2020-12-12 17:44:04 +01:00
ChristianVisintin
3dcf33ebe2 Optimized code, with the newest fsentry methods 2020-12-12 17:33:15 +01:00
ChristianVisintin
912da10696 When downloading symlinks, the filename and its size is now known (thanks to the new symlinks management) 2020-12-12 17:32:49 +01:00
ChristianVisintin
57e83a63dd Optimized code for fsentry 2020-12-12 16:32:21 +01:00
ChristianVisintin
f73e43304e FsEntry::*::symlink is now a Option<Box<FsEntry>>; this improved symlinks, which gave errors some times 2020-12-12 16:26:03 +01:00
ChristianVisintin
55bda874f0 Optimized code and performance using clippy 2020-12-12 12:14:51 +01:00
ChristianVisintin
c9c35d027b Removed unused import 2020-12-10 12:13:45 +01:00
ChristianVisintin
11475b64ea Removed ctrl to 'Q' 2020-12-10 12:06:32 +01:00
ChristianVisintin
53249c8bc5 Break on recv/send errors 2020-12-10 11:52:00 +01:00
ChristianVisintin
843c5ab6d0 Break on recv/send errors 2020-12-10 11:51:49 +01:00
ChristianVisintin
040b684398 Typo in windows version 2020-12-10 11:04:53 +01:00
ChristianVisintin
7e6044a41b Removed CTRL key; just press associated key to perform command 2020-12-10 10:28:40 +01:00
ChristianVisintin
145b778ff3 Added FileInfo popup ('I') 2020-12-10 10:28:13 +01:00
ChristianVisintin
98e3866447 Elide paths in explorer tabs if they are too long 2020-12-10 09:22:58 +01:00
ChristianVisintin
93977cc714 Ignore capital letters when sorting files 2020-12-09 16:35:16 +01:00
ChristianVisintin
b3537afd2e Check value in set_progress 2020-12-09 16:29:35 +01:00
ChristianVisintin
5e0b130123 Improved sftp and I/O in general: set buffer size to 65536 2020-12-06 20:59:45 +01:00
ChristianVisintin
0ed6bd30f1 Fixed help popup 2020-12-06 18:06:42 +01:00
ChristianVisintin
e015f558c9 lol, removed blinking texts (that I couldn't see on my terminal) 2020-12-06 10:48:06 +01:00
ChristianVisintin
be60ae1705 Enlarged yes/no dialog 2020-12-06 10:43:41 +01:00
ChristianVisintin
4017739dbb Don't c align text in yes/no dialog 2020-12-06 10:39:39 +01:00
ChristianVisintin
8e8247c4a9 Multi-line popups; wrap texts and align popup texts to the center 2020-12-05 23:07:23 +01:00
ChristianVisintin
79fadf64de Align popup texts to center 2020-12-05 22:56:09 +01:00
ChristianVisintin
bcaaab3c21 Fixed underflow 2020-12-05 21:09:07 +01:00
ChristianVisintin
a0b8af8bf1 Fixed progress bar optimizations (before did nothing) 2020-12-05 19:36:46 +01:00
ChristianVisintin
7e5e5d2df2 Report errors as alerts 2020-12-05 19:36:33 +01:00
ChristianVisintin
d73d56576c Keep exlorer entry index (if possible); reset only when changing directory 2020-12-05 18:31:41 +01:00
ChristianVisintin
28a4bed8fa Ctrl+Q quit; <esc> just disconnect 2020-12-05 17:04:39 +01:00
ChristianVisintin
1f4998b1c1 Removed header from filetransfer activity 2020-12-05 16:56:11 +01:00
ChristianVisintin
9bb19abd0c Write current path on explorer tabs 2020-12-05 16:32:16 +01:00
ChristianVisintin
a7c2de0669 Added Scp file transfer to ui 2020-12-05 15:21:01 +01:00
ChristianVisintin
b45440586b FsFile as argument for both recv_file and send_file 2020-12-05 14:52:53 +01:00
ChristianVisintin
54c02cd4e2 on_sent and on_recv methods for file transfer to finalize streams 2020-12-04 18:25:59 +01:00
ChristianVisintin
82a19dd089 Welcome messages 2020-12-04 14:00:23 +01:00
ChristianVisintin
a63af295de Fixed ui auth 2020-12-03 17:23:36 +01:00
ChristianVisintin
175acd9f5b Wait, file_size in recv is completely useless 2020-12-03 13:43:40 +01:00
ChristianVisintin
a328a4f751 Added to FileTransferProtocol bool secure flag to Ftp 2020-12-03 08:16:07 +01:00
ChristianVisintin
231f83810c FileTransferActivity: ftp is now allowed 2020-12-01 16:43:03 +01:00
ChristianVisintin
ca797558d7 Allow FTPS/FTP; added secure param 2020-12-01 16:41:15 +01:00
ChristianVisintin
c19416abdd Layout error 50% width 2020-12-01 16:03:48 +01:00
ChristianVisintin
cd3ffae285 fmt 2020-12-01 15:14:49 +01:00
ChristianVisintin
3944367fb3 Added FTP/FTPs options 2020-12-01 15:14:33 +01:00
ChristianVisintin
bc17c9bbc1 Split filetransfer_activity into different files 2020-12-01 14:59:13 +01:00
ChristianVisintin
4510b9c6b9 Wrap log records using textwrap crate 2020-12-01 12:32:33 +01:00