Zack
a4322faa25
ui: add newlines to skipping messages
2024-05-31 14:31:46 -07:00
Zack
9246408278
for valid filename tests
2024-05-30 15:21:51 -07:00
Zack
c0c3370d9b
add highway hash
2024-05-28 16:19:38 -07:00
Zack
f6bd13fa06
show hash progress on large files
2024-05-28 16:08:31 -07:00
Zack
a2e71c7e1a
escape filenames that have invisible characters while allowing other languages
...
Fixes #712
2024-05-25 08:59:38 -07:00
Zack
6181903c83
go.mod v9 -> v10
2024-05-23 06:25:53 -07:00
Zack
4929635eb8
Merge pull request #698 from schollz/schollz/issue594
...
fix: prompt for overwriting when unzipping
2024-05-20 09:53:09 -07:00
Zack
a591833dbf
fix: filter escape sequences in filenames
2024-05-20 08:38:36 -07:00
Zack
b3668a6f5c
fix: prompt for overwriting when unzipping
2024-05-20 08:31:47 -07:00
Zack
b05c3c8c42
fix: client quits when discovering dangerous paths
2024-05-20 08:23:21 -07:00
a1lu
4baec420c8
Aovoid to create config dir if not required
...
If `--remember` is not set, the config dir should not created.
2024-04-01 13:39:04 +02:00
a1lu
956598c427
Check $HOME as last
2024-03-30 23:24:52 +01:00
zx9597446
d724f11297
Here is the English translation:
...
If there are directories in a zip file compressed on the Windows platform, the "\\" in the filepath will cause the files to be extracted normally on Linux, and ls will show filenames containing single quotes.
So when compressing, I replace "\\" with "/" so that it seems there are no issues on both Windows and Linux.
2023-08-17 12:07:07 +08:00
Zack Scholl
b3c0625659
localhost -> 127.0.0.1 Fixes #513
2023-03-20 09:16:07 -07:00
BayLee4
fae2e81b4a
Enhance tab completion
2023-03-15 10:03:38 +01:00
Tai Groot
fa7ae114f5
run through gofumpt
2022-12-05 11:21:04 -08:00
Zack Scholl
0e93f1e285
println -> print os.stderr
2022-07-07 10:46:49 -07:00
Zack Scholl
c6bcb79928
remove zip compression and add --zip to send command
2022-07-07 10:32:23 -07:00
Stefin
b50fe88474
Added support for sending relative folder
2022-07-07 02:58:49 +05:30
Stefin
ee772c4cec
Added UnzipDirectory function
2022-07-07 00:05:56 +05:30
Stefin
f0f9b80bdf
added ZipDirectory function
2022-07-06 18:46:02 +05:30
Zack Scholl
b0e7d4d5df
fix tests
2022-02-03 08:45:50 -08:00
Zack Scholl
1d3c822ef3
allow remembering --internal-dns flag
2022-02-03 08:34:03 -08:00
voocel
b45e625298
fix hash file error
2022-01-06 17:44:43 +08:00
Zack
f210ef8877
Merge pull request #435 from AmeyShrivastava/fix-typos
...
Fix Typos
2021-11-17 10:52:29 -08:00
Amey Shrivastava
2964ede174
Fix Typos (revised)
...
This commit fixes spelling mistakes (typos) at a few places in the codebase.
(Includes requested corrections)
2021-11-17 23:50:32 +05:30
Eng Zer Jun
1645759742
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-17 11:39:11 +08:00
Zack Scholl
ab5ae5cbb6
add more benchmarks
2021-04-21 12:40:41 -07:00
Zack Scholl
d6af319ad8
fix tests
2021-04-20 15:48:13 -07:00
Zack Scholl
b655afb533
choose hash algorithm
2021-04-20 15:32:05 -07:00
Zack Scholl
0a0f7a03d7
update version
2021-04-17 10:33:38 -07:00
Zack Scholl
9231b1a661
update utils benchmark
2021-04-17 09:39:47 -07:00
Zack Scholl
628043b228
fix: do not use part of secret as room name
2021-04-16 08:13:43 -07:00
Tobias Dussa
876ce5764b
Transfer symlinks without touching their targets.
2021-04-15 17:07:23 +02:00
Marcus
d735cca970
Issue #306 , File Size Mismatch
...
Updated utils.go to use a `1024` grouping instead of `1000` for file
sizes. This brings it inline with the progress bar project being used.
Updated utils_test.go to match the changes to utils.go
2020-12-07 18:44:12 -06:00
Zack
3396743d73
allow proxying connection ( #283 )
2020-10-05 08:30:45 -07:00
fooofei
5a0ec9431f
fix resource leak of *os.File
2020-10-04 10:38:30 +08:00
Zack Scholl
78e4d5e179
add util to find open ports
2020-09-21 05:51:50 -07:00
masterZSH
f9f32a4b0e
Use hex.EncodeToString to encode to hex
2020-09-16 16:37:21 +08:00
Zack Scholl
345ef0567e
compute filename and deliver without overwriting
2020-09-05 17:23:07 -07:00
mathew
1b646d5528
Improve error reporting
2020-08-22 18:05:00 -05:00
Zack Scholl
0377223a67
fix tests: generate file in reproducible way #218
2020-05-18 07:20:51 -07:00
Zack Scholl
cc728a1138
fix minor bug
2019-09-08 06:07:53 -07:00
Zack Scholl
22f6a13a9f
add more tests
2019-09-07 10:31:18 -07:00
Zack Scholl
31c1a37b38
fix linting
2019-09-07 09:46:04 -07:00
Zack Scholl
6b288356b9
remove big file after testing
2019-05-12 13:09:10 -06:00
Zack
1f3d30c78e
Use relay as backup to find local ports ( #127 )
2019-05-03 13:51:27 -07:00
Zack Scholl
fef1c3ca3b
use imohash
2019-05-03 07:35:27 -07:00
Zack Scholl
9f9b93cf47
share chunk ranges instead of chunks Fixes #125
2019-05-03 07:30:35 -07:00
Zack Scholl
1802ebcd00
use imohash
2019-05-02 20:53:02 -07:00