Commit graph

275 commits

Author SHA1 Message Date
ChristianVisintin
015a17d9f7 Fixed help 2020-11-30 14:27:48 +01:00
ChristianVisintin
512f76738e Default ticks to 10ms 2020-11-30 14:20:16 +01:00
ChristianVisintin
6181439e65 UI improvements 2020-11-30 14:20:10 +01:00
ChristianVisintin
c8a2419a4f PageUp/PageDown for explorer TAB 2020-11-30 14:12:19 +01:00
ChristianVisintin
7960776abb code fmt 2020-11-30 14:02:09 +01:00
ChristianVisintin
3e9d77cfac Progress bar: write ETA 2020-11-30 13:50:34 +01:00
ChristianVisintin
3d622b6b68 Write progress bar only if a significant progress has been made (0.5% at least) 2020-11-30 13:33:34 +01:00
ChristianVisintin
a7253e8082 Goto command: support for relative paths 2020-11-30 11:24:14 +01:00
ChristianVisintin
abf2124b09 Fixed log box 2020-11-30 11:17:38 +01:00
ChristianVisintin
6c47f4a426 Enlarged YesNo dialog popup 2020-11-30 10:37:01 +01:00
ChristianVisintin
ee0a5a176f Solved the annoying stuff related to this <https://github.com/rust-lang/rust/issues/59159>. 2020-11-30 08:36:11 +01:00
ChristianVisintin
306deaaa23 Removed test which can't run anymore 2020-11-29 20:56:35 +01:00
ChristianVisintin
f48fdc48dd Fixed recursive recv from remote 2020-11-29 20:52:30 +01:00
ChristianVisintin
9b135200d7 Thanks to latest commit I can finally draw progress bar :D 2020-11-29 20:31:51 +01:00
ChristianVisintin
4430f3133d Filetransfer recv/send returns Std::io::Write and Read now 2020-11-29 20:31:34 +01:00
ChristianVisintin
57a167ef5a Panic on FTP 2020-11-29 17:51:45 +01:00
ChristianVisintin
9098c03886 Usage 2020-11-29 17:50:24 +01:00
ChristianVisintin
5383e55523 Removed FIXME 2020-11-29 17:47:32 +01:00
ChristianVisintin
cd35dac4a5 Many fixes in UI; Help command 2020-11-29 17:46:56 +01:00
ChristianVisintin
28435aaeda Many fixes in UI 2020-11-29 17:05:12 +01:00
ChristianVisintin
9643280ab0 More logs, some improvements 2020-11-29 16:53:04 +01:00
ChristianVisintin
0ebbe40207 Update dir after upload/download 2020-11-29 16:37:25 +01:00
ChristianVisintin
74a49485b6 Simplified change dir and scan dir 2020-11-29 16:35:51 +01:00
ChristianVisintin
585ad19462 Ui fixes 2020-11-29 16:18:55 +01:00
ChristianVisintin
a843a5a0de GOTO for remote 2020-11-29 16:18:50 +01:00
ChristianVisintin
b300f510b8 Disconnect, don't quit on fatal error 2020-11-29 16:18:23 +01:00
ChristianVisintin
07ebf3cd1b Improved color match 2020-11-29 16:18:00 +01:00
ChristianVisintin
015e2b3601 Fixed fmt for fsentry 2020-11-29 16:17:00 +01:00
ChristianVisintin
1ff42ecf13 to_string_lossy().to_string() for users/groups 2020-11-29 15:56:01 +01:00
ChristianVisintin
badbddb240 fmt code 2020-11-29 15:48:57 +01:00
ChristianVisintin
a2492d1442 Draw method 2020-11-29 15:48:44 +01:00
ChristianVisintin
c99d194162 Larger popup 2020-11-29 15:27:07 +01:00
ChristianVisintin
fbf1ec8997 Popup drawing 2020-11-29 15:26:37 +01:00
ChristianVisintin
e3bf4602cc Push file_type to mode 2020-11-29 15:05:21 +01:00
ChristianVisintin
b43bbcfa7d Draw popup area 2020-11-29 15:03:31 +01:00
ChristianVisintin
d5d39b6c3a Draw explorers 2020-11-29 15:01:02 +01:00
ChristianVisintin
8d9eec0750 fmt for FsEntry 2020-11-29 14:55:35 +01:00
ChristianVisintin
074aa0f4a8 fmt_ls for FsEntry 2020-11-29 14:53:47 +01:00
ChristianVisintin
87990d12b5 draw log list 2020-11-29 13:01:12 +01:00
ChristianVisintin
c54cbed866 Restore input mode once download/upload finishes 2020-11-29 12:37:43 +01:00
ChristianVisintin
a69b410ee0 transfer_prog member RFU 2020-11-29 12:36:36 +01:00
ChristianVisintin
840a2685bf Removed progress callback (not a priority atm) 2020-11-29 12:35:51 +01:00
ChristianVisintin
e84e4ab2b1 Draw method reviewed 2020-11-29 11:55:02 +01:00
ChristianVisintin
6dc871e49a Context as Activity member; on_destroy context is released 2020-11-29 11:34:08 +01:00
ChristianVisintin
7e085096c8 Context as Activity member; on_destroy context is released 2020-11-29 11:33:59 +01:00
ChristianVisintin
00c81634ed Context cleanup 2020-11-28 12:32:36 +01:00
ChristianVisintin
c3db372e3b Remote tab input event handler 2020-11-28 12:27:05 +01:00
ChristianVisintin
c337c496b0 Fixed host tests 2020-11-28 12:18:11 +01:00
ChristianVisintin
e49cbbf93b Fixed host tests 2020-11-28 12:13:47 +01:00
ChristianVisintin
418a51dc77 Host warning solved 2020-11-28 12:12:30 +01:00
ChristianVisintin
be18cc426d Dirstack implementation for local 2020-11-28 12:11:59 +01:00
ChristianVisintin
55cf883581 FileExplorer dirstack 2020-11-28 12:05:15 +01:00
ChristianVisintin
1a4ad92146 filetransfer_recv 2020-11-28 12:01:01 +01:00
ChristianVisintin
69ea4b1284 Fixed remove 2020-11-28 11:55:07 +01:00
ChristianVisintin
e037263ead Host: mkdir support for absolute path 2020-11-28 11:53:43 +01:00
ChristianVisintin
e60ebb2648 Progress cb 2020-11-28 11:37:42 +01:00
ChristianVisintin
abcff4cdd2 Upload file (and save as...) 2020-11-28 11:03:46 +01:00
ChristianVisintin
1301967b68 scan_dir is now public 2020-11-28 10:59:12 +01:00
ChristianVisintin
7cba854260 scan_dir is now public 2020-11-28 10:57:55 +01:00
ChristianVisintin
4dc82d2ebb Changed Callback for file transfer; mkdir using path instead of String 2020-11-28 10:49:58 +01:00
ChristianVisintin
4e25e4d7b4 typo 2020-11-27 18:26:04 +01:00
ChristianVisintin
9015481e43 File rename 2020-11-27 18:25:35 +01:00
ChristianVisintin
1557c068d5 rename in filetransfer trait 2020-11-27 18:19:10 +01:00
ChristianVisintin
d63dc2e2c8 CTRL + M (makedir) 2020-11-27 17:16:54 +01:00
ChristianVisintin
64c3d88318 CTRL + M (makedir) 2020-11-27 17:15:59 +01:00
ChristianVisintin
dc7e7b726e CTRL + G (goto directory) 2020-11-27 17:10:00 +01:00
ChristianVisintin
3ddac307c1 Go to parent directory with <BACKSPACE> 2020-11-27 17:01:52 +01:00
ChristianVisintin
58911117bd Ctx before string in input cb 2020-11-27 16:49:33 +01:00
ChristianVisintin
266a9be524 Abort input using <ESC> 2020-11-27 16:47:46 +01:00
ChristianVisintin
6f7f81264a Delete fs entry (local) 2020-11-27 16:47:35 +01:00
ChristianVisintin
8e4314cc6f reload remote dir func 2020-11-27 16:47:22 +01:00
ChristianVisintin
91557a079d Pass context to callbacks 2020-11-27 16:46:56 +01:00
ChristianVisintin
5891644782 fmt error for filetransfer 2020-11-27 16:43:20 +01:00
ChristianVisintin
89ab16e73f windows cfg 2020-11-27 16:37:20 +01:00
ChristianVisintin
ac8cde811d FsEntry as reference in remove method 2020-11-27 16:37:00 +01:00
ChristianVisintin
a135d0b7a7 std::fmt::Display for HostError 2020-11-27 16:17:56 +01:00
ChristianVisintin
6aa63ff07a std::fmt::Display for HostError 2020-11-27 15:33:55 +01:00
ChristianVisintin
c139d3a117 Wrap selected element in auth_activity when at the end of the list; move also with <TAB> 2020-11-26 19:03:39 +01:00
ChristianVisintin
44392fe639 Working on input events for filetransfer activity 2020-11-25 16:58:15 +01:00
ChristianVisintin
4d4b195c75 Fixed callbacks 2020-11-25 16:12:21 +01:00
ChristianVisintin
2e45c8adae fmt 2020-11-25 12:05:36 +01:00
ChristianVisintin
4938613c18 Fixed YesNoDialog 2020-11-25 12:04:47 +01:00
ChristianVisintin
12e5166b4f fmt 2020-11-25 11:27:35 +01:00
ChristianVisintin
2d90eb15af Working on input events for filetransfer activity 2020-11-25 11:22:26 +01:00
ChristianVisintin
4431c70a65 Read one event fn 2020-11-25 10:26:37 +01:00
ChristianVisintin
d8fc95462a Working on filetransfer activity 2020-11-24 22:34:17 +01:00
ChristianVisintin
39bd881468 Deleted ScpProtocol; use FileTransferProtocol 2020-11-24 22:33:35 +01:00
ChristianVisintin
067f5e710a Filetransfer port is u16 2020-11-24 22:14:37 +01:00
ChristianVisintin
d871497a49 Working on main activity (FileTransferActivity) 2020-11-24 22:05:11 +01:00
ChristianVisintin
9eefafde59 Popup (auth activity OK) 2020-11-24 16:28:15 +01:00
ChristianVisintin
38e7fa7664 Input modes 2020-11-24 16:05:40 +01:00
ChristianVisintin
5a0e712237 Header 2020-11-24 15:24:31 +01:00
ChristianVisintin
1f217f7806 Auth activity input fields 2020-11-24 15:13:36 +01:00
ChristianVisintin
18db7f0305 enable/disable raw mode 2020-11-23 16:59:30 +01:00
ChristianVisintin
589adf294f Ask password from prompt 2020-11-22 20:36:53 +01:00
ChristianVisintin
d692cdf28d Too many things to do here... working on activity manager 2020-11-22 15:32:44 +01:00
ChristianVisintin
1d1c723a46 Utils 2020-11-22 14:44:30 +01:00
ChristianVisintin
d26be5984e Removed context tests; don't work on github actions... boring... 2020-11-22 11:47:32 +01:00
ChristianVisintin
6b67493280 Form submit 2020-11-22 11:45:37 +01:00
ChristianVisintin
5eb1ace958 Working on AuthActivity 2020-11-21 21:26:27 +01:00
ChristianVisintin
818408455e Added terminal to Context 2020-11-21 20:53:29 +01:00
ChristianVisintin
43ab9a9df0 Activity Trait 2020-11-21 17:39:36 +01:00
ChristianVisintin
056f8c7c7f is_connected method 2020-11-21 17:37:49 +01:00
ChristianVisintin
2d29dfeb33 Remove IO event tests because in github actions doesn't work 2020-11-21 13:17:44 +01:00
ChristianVisintin
7f31cd6d83 UI context 2020-11-21 12:17:24 +01:00
ChristianVisintin
1a58e7bce4 Fixed input handler 2020-11-21 12:12:10 +01:00
ChristianVisintin
325fd8eeed Input handler 2020-11-21 11:42:24 +01:00
ChristianVisintin
68d223a62b SFTP transfer tests 2020-11-16 20:59:07 +01:00
ChristianVisintin
b05844d83b All 'happy day' test cases for sftp transfer 2020-11-15 20:51:13 +01:00
ChristianVisintin
f55c5d84f2 Writing tests for termscp 2020-11-15 19:06:45 +01:00
ChristianVisintin
7e6cd3351e Fixed windows Host 2020-11-15 18:49:56 +01:00
ChristianVisintin
32ac26dfde Memo for sftp_transfer test 2020-11-15 15:01:36 +01:00
ChristianVisintin
f983e16cbe Bad rename test 2020-11-15 15:00:29 +01:00
ChristianVisintin
eee1a720e6 SFTP transfer 2020-11-15 14:50:46 +01:00
ChristianVisintin
9d25fb115c Rename method 2020-11-15 11:28:34 +01:00
ChristianVisintin
13fb42078b Gid, uid to u32 2020-11-15 11:18:35 +01:00
ChristianVisintin
1139eb2c17 Abs path to FsFile and FsDirectory 2020-11-15 11:02:36 +01:00
ChristianVisintin
5033657936 Host::mkdir and Host::remove 2020-11-14 15:41:17 +01:00
ChristianVisintin
37d2bc9485 filetransfer trait: mkdir, remove 2020-11-14 14:13:30 +01:00
ChristianVisintin
d8592efee5 Fixed symlink test; tests 2020-11-14 14:09:30 +01:00
ChristianVisintin
2d9ddd3c10 Localhost implementation 2020-11-08 21:39:01 +01:00
ChristianVisintin
aa963b5000 Working on Host 2020-11-08 17:56:06 +01:00
ChristianVisintin
606a3f96f5 Filetransfer trait 2020-11-08 11:02:43 +01:00
ChristianVisintin
045a72f2de Fs module 2020-11-08 10:42:27 +01:00
ChristianVisintin
90acd5c1c2 Project initialized 2020-11-07 17:48:41 +01:00