Commit graph

453 commits

Author SHA1 Message Date
ChristianVisintin
0393c1a850 working on 0.3.1... 2021-01-16 10:33:34 +01:00
ChristianVisintin
69ece00ae2 working on 0.3.1... 2021-01-16 10:31:24 +01:00
Christian Visintin
97656536d4
Cargo build requirements 2021-01-13 10:49:46 +01:00
Christian Visintin
94b78d85ef
Merge pull request #1 from Byron/main
run `cargo diet` to reduce crate size by 85%
2021-01-11 08:11:52 +01:00
Sebastian Thiel
ba3a888d26
run cargo diet to reduce crate size by 85%
I noticed the crate is pretty big and took a quick look, here
is the outcome of slimming it down.

```
➜  termscp git:(main) cargo diet
┌───────────────────────────────────────────┬─────────────┐
│ File                                      │ Size (Byte) │
├───────────────────────────────────────────┼─────────────┤
│ codecov.yml                               │          96 │
│ .github/ISSUE_TEMPLATE/feature_request.md │         203 │
│ dist/deb.sh                               │         210 │
│ .github/workflows/macos.yml               │         319 │
│ .github/workflows/windows.yml             │         321 │
│ dist/rpm.sh                               │         336 │
│ dist/build/README.md                      │         345 │
│ .gitignore                                │         356 │
│ dist/build/x86_64/Dockerfile              │         509 │
│ dist/pkgs/arch/.SRCINFO                   │         511 │
│ .github/workflows/aur-pub.yml             │         570 │
│ dist/pkgs/arch/PKGBUILD                   │         580 │
│ .github/ISSUE_TEMPLATE/bug_report.md      │         598 │
│ dist/build/x86_64_archlinux/Dockerfile    │         905 │
│ .github/workflows/linux.yml               │        1013 │
│ .github/PULL_REQUEST_TEMPLATE.md          │        1093 │
│ dist/build/deploy.sh                      │        1291 │
│ docs/drawio/UI.drawio                     │        1993 │
│ CODE_OF_CONDUCT.md                        │        3368 │
│ CONTRIBUTING.md                           │       10756 │
│ assets/images/bookmarks.gif               │      298453 │
│ assets/images/auth.gif                    │      321769 │
│ assets/images/explorer.gif                │      650583 │
│ assets/images/config.gif                  │      705780 │
│ assets/images/text-editor.gif             │     1898000 │
└───────────────────────────────────────────┴─────────────┘
Saved 85% or 3.9 MB in 25 files (of 4.6 MB and 75 files in entire crate)
```

Please let me know if you would like some other files to be included
or whatever else is needed to make this PR mergeable.

Thanks :).
2021-01-11 09:09:50 +08:00
veeso
d62a6e98c8 0.3.0 2021-01-10 18:22:53 +01:00
veeso
eeed99b013 Merge branch '0.3.0' into main 2021-01-10 17:31:31 +01:00
veeso
2b54326334 0.3.0 ready 2021-01-10 17:30:20 +01:00
veeso
2bd3d33ff6 Updated copyright 2021-01-09 20:45:06 +01:00
veeso
c54a9ef5c9 termscp 0.3.0 ready 2021-01-09 20:35:55 +01:00
veeso
a7ae0159cc config gif 2021-01-09 15:28:20 +01:00
veeso
f981602221 Definetely fixed FTP issues 2021-01-09 15:05:49 +01:00
veeso
fa5468be4a Fixed time check tests 2021-01-09 14:29:30 +01:00
veeso
591182414f Updated references to veeso 2021-01-08 22:02:40 +01:00
veeso
49790b4704 Updated references to veeso 2021-01-02 13:04:49 +01:00
ChristianVisintin
daa3b3e549 Fixed 0 B/S transfer rate displayed after completing download in less than 1 second 2020-12-28 22:54:28 +01:00
ChristianVisintin
120dc8ecb4 Fixed buffer sizes for transfers 2020-12-28 22:45:28 +01:00
ChristianVisintin
06a2373776 parse dos line test 2020-12-27 20:42:52 +01:00
ChristianVisintin
32ae5cc182 Removed test for macos 2020-12-27 19:28:41 +01:00
ChristianVisintin
6975beaf30 Fixed file extension not found in SCP/FTP 2020-12-27 15:08:57 +01:00
ChristianVisintin
c141c6c44d Added LIST command parser for Windows server (DOS-like syntax) 2020-12-27 15:08:42 +01:00
ChristianVisintin
68cd77a9b3 Added utils::parser::parse_datetime 2020-12-27 12:01:20 +01:00
ChristianVisintin
e20a78acef Don't collapse bookmarks tabs 2020-12-27 11:05:01 +01:00
ChristianVisintin
6dd4cfaa3c InputMode as Option<Popup> in AuthActivity 2020-12-27 11:03:44 +01:00
ChristianVisintin
d756bf7786 InputMode as Option<Popup> in FileTransferActivity 2020-12-27 10:59:12 +01:00
ChristianVisintin
65e7ff22f7 Explorers: append '/' to directories name 2020-12-27 10:47:11 +01:00
ChristianVisintin
655084c5f6 typo 2020-12-27 10:36:48 +01:00
ChristianVisintin
09bc8a92a2 show_hidden_files and group_dirs in termscp configuration; instantiate FileExplorer based on current configuration in FileTransferActivity 2020-12-27 10:31:33 +01:00
ChristianVisintin
99fd0b199d FileTransferActivity: sort files with <B> 2020-12-26 21:47:48 +01:00
ChristianVisintin
740d906eb3 ToString, FromStr for FileSorting and GroupDirs 2020-12-26 19:03:54 +01:00
ChristianVisintin
b137fecc12 FileSorting and GroupDirs as enums 2020-12-26 18:55:14 +01:00
ChristianVisintin
14125f673a Added options to explorer, in order to define sorting modes and other options. Added bitflags to dependencies; Moved Explorer to Fs module 2020-12-26 17:29:12 +01:00
ChristianVisintin
4911cc5410 Removed issues badge 2020-12-26 15:53:14 +01:00
ChristianVisintin
e0d9ac2ed8 FileTransferActivity::Explorer refactoring; toggle hidden files with <A> 2020-12-26 15:50:57 +01:00
ChristianVisintin
5b042e86ef FsEntry::is_hidden() method 2020-12-26 11:58:28 +01:00
ChristianVisintin
8ccf5eb0bb FsEntry::get_name() returns &str 2020-12-26 10:51:01 +01:00
ChristianVisintin
c0fdc9b8f8 Added new keybindings to help; log new file created 2020-12-26 10:40:45 +01:00
ChristianVisintin
545544ebe2 Added test to config client 2020-12-26 10:33:23 +01:00
ChristianVisintin
644ea1566c Create new file with <N> 2020-12-26 10:16:01 +01:00
ChristianVisintin
f6d1f24b60 cargo clippy 2020-12-26 09:40:24 +01:00
ChristianVisintin
c9a4706c24 Fixed paths 2020-12-25 21:54:10 +01:00
ChristianVisintin
7e275a9075 Docs: private keys with passwords 2020-12-25 21:35:28 +01:00
ChristianVisintin
22a9eb03b6 Added configuration and ssh key storage features to docs 2020-12-25 19:45:49 +01:00
ChristianVisintin
46ee01e073 SetupActivity: <CTRL+E> as <DEL> 2020-12-25 19:38:17 +01:00
ChristianVisintin
16a011e81e Use default protocol also in opt parser 2020-12-25 19:10:28 +01:00
ChristianVisintin
90f28d9f27 SetupActivity ok 2020-12-25 18:39:18 +01:00
ChristianVisintin
2e4ff78124 Refuse empty ssh key 2020-12-25 18:22:12 +01:00
ChristianVisintin
9e66207bf7 SetupActivity layout 2020-12-25 18:20:30 +01:00
ChristianVisintin
226ad8cc50 Show CTRL+C to enter setup in auth activity 2020-12-25 17:25:35 +01:00
ChristianVisintin
00731d67d2 ToString for protocol in AuthActivity 2020-12-25 16:44:01 +01:00