Commit Graph

855 Commits

Author SHA1 Message Date
Zack Scholl 4b0d01d8f0 bump 8.6.8 2021-02-23 12:06:59 -08:00
Zack Scholl cd2802b8b5 shorter dns fail time 2021-02-19 10:18:13 -08:00
Zack Scholl c5ff55a193 find dns from any number of providers 2021-02-19 10:16:58 -08:00
Zack ef43873c3b
Merge pull request #325 from nikoksr/fix/missing-code-too-short-error
fix(cli): make 'code too short' error symmetric on both sender and receiver side
2021-02-02 06:48:21 -08:00
Zack Scholl 7f5d704a26 change name 2021-02-01 06:58:27 -08:00
Niko Köser 3ccd4d07e9
fix: accidentally overwritten error value
In function _cli.send_ the named return value 'err' gets accidentally
overwritten in the deferred anonymous function that removes the
files/directories. Renamed the error variable inside the deferred
function so that it does not overwrite the original error anymore.

Closes #296
2021-02-01 10:34:06 +01:00
Peter 17f3df7e36 Added an option to ignore attached stdin, for compatibility with node child_process 2021-01-10 13:17:43 +00:00
Zack Scholl a2b243ad94 bump 8.6.7 2020-12-28 11:01:27 -08:00
Zack 0994e4eda5
Merge pull request #307 from hillmarcus/306-file-size
Issue #306, File Size Mismatch
2020-12-28 10:46:39 -08:00
vzlcn0 52bc6312e1 add new cmd option to set sender ip 2020-12-17 18:37:48 +03: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 Scholl 5978896936 bump 8.6.6 2020-11-17 16:10:57 -08:00
Zack Scholl 1da2f58a53 faster dns resolution on startup 2020-11-17 10:46:49 -08:00
Zack Scholl 284af7fc7a hm 2020-11-17 10:35:57 -08:00
Zack Scholl dbc4a08ad0 use google for lookup 2020-11-17 10:29:52 -08:00
Zack Scholl b740e491e6 bump 8.6.5 2020-10-23 08:26:15 -07:00
Zack Scholl f51ea8bfdc show progress 2020-10-22 17:03:46 -07:00
Zack Scholl 23f97c61ac bump 8.6.4 2020-10-22 10:18:40 -07:00
Zack Scholl cbb728b9a2 bump 8.6.4 2020-10-22 10:17:58 -07:00
Zack Scholl 9bb2d2b7cc bump 8.6.4 2020-10-22 10:17:33 -07:00
Zack Scholl 3f10a147dd bump 8.6.4 2020-10-22 10:16:55 -07:00
Zack Scholl bf9ebfc4b4 show ping 2020-10-22 10:13:41 -07:00
Zack Scholl d3aa2be9ab ping server from discoveries 2020-10-22 10:11:11 -07:00
Zack Scholl 034e012227 allow pinging 2020-10-22 10:09:04 -07:00
Zack Scholl 79f85fda9b bug fix: return if found error 2020-10-22 09:59:55 -07:00
Zack Scholl 3bcc83a8fc gather all discoveries 2020-10-22 09:53:27 -07:00
Zack Scholl 1d9393d39b bump 8.6.3 2020-10-22 07:40:56 -07:00
Khang. Nguyen Khac Nguyen 4070f12cbf change(croc): shorten flag with builder 2020-10-22 14:06:54 +07:00
Khang. Nguyen Khac Nguyen 8e50b59671 fix(cli): show passphrase when user indicate --pass
+ when user indicate --pass when sending file, indicate --pass flag in
recommended receive command.
2020-10-22 13:37:32 +07:00
Zack Scholl ff45ccd346 bump 8.6.2 2020-10-21 12:52:53 -07:00
Zack Scholl 5a791e98af bump 8.6.2 2020-10-21 12:51:47 -07:00
Zack Scholl 0d767af80a fix makefile 2020-10-21 12:51:43 -07:00
Zack Scholl bb971a9937 bump 8.6.1 2020-10-21 12:50:30 -07:00
Zack Scholl c88d3ad62a update makefile 2020-10-21 12:50:25 -07:00
Zack Scholl 77732c49a0 bump 8.6.0 2020-10-21 10:28:28 -07:00
Zack Scholl b9b22ad041 bump 8.6.0 2020-10-21 10:28:27 -07:00
Zack Scholl 7a73e4912c allow using only local with --local flag 2020-10-21 18:25:56 +01:00
Zack Scholl 1967ef57be bump 8.5.3 2020-10-21 09:41:08 -07:00
Zack Scholl b95c2c781b bump 8.5.3 2020-10-21 09:41:07 -07:00
Zack Scholl ea0e334feb add back ipv6 broadcast 2020-10-21 08:17:39 -07:00
Khang. Nguyen Khac Nguyen e85ac9f8bf chore(croc): remove redundant code
+ remove redundant return of func that does not return
+ remove func that is not used
2020-10-21 15:52:04 +07:00
Khang. Nguyen Khac Nguyen 9f54f2d08f chore(comm): cleanup comm Write func
+ better handling error.
+ use Send instead of Write since we do not need number of bytes sent.
2020-10-21 15:16:42 +07:00
Zack Scholl f5624007c8 bump 8.5.2 2020-10-19 11:04:43 -07:00
Zack Scholl 9b6c33c300 bump 8.5.2 2020-10-19 11:04:42 -07:00
Zack Scholl b66cfb4cc1 disable ipv6 for peer-to-peer discovery since it causes issues 2020-10-19 11:02:48 -07:00
Zack Scholl 539d66806a bump 8.5.1 2020-10-13 15:48:43 -07:00
Zack Scholl 768f3e1318 bump 8.5.1 2020-10-13 15:48:43 -07:00
Zack Scholl a968f494fa better help 2020-10-13 15:47:53 -07:00
Zack Scholl 911bb22b2d better environmental variable 2020-10-13 15:47:00 -07:00
Zack Scholl f3697f6aad reduce packets sent for peer discovery 2020-10-13 13:47:43 -07:00
Zack Scholl 5374be1a0f use dns to determine relay 2020-10-13 12:26:11 -07:00
Zack Scholl 1d874b5dbe bump 8.5.0 2020-10-12 12:34:47 -07:00
Zack Scholl 586fc08768 bump 8.5.0 2020-10-12 12:34:47 -07:00
Zack 5a2d51c060
bash continues if autocompletion fails to install
Fixes #286
2020-10-09 07:16:17 -07:00
Zack 3396743d73
allow proxying connection (#283) 2020-10-05 08:30:45 -07:00
Zack Scholl e75b75164f bump 8.4.0 2020-10-04 13:16:36 -07:00
Zack Scholl 224c442567 bump 8.4.0 2020-10-04 13:16:35 -07:00
Zack 669920d4b5
Merge pull request #281 from TheQueasle/253-autocomplete-install
First pass at adding in the autocomplete files to the installer script
2020-10-04 13:12:04 -07:00
fooofei 5a0ec9431f fix resource leak of *os.File 2020-10-04 10:38:30 +08:00
fooofei bc8c5db898 fix possible panic of nil compressor 2020-10-04 10:38:04 +08:00
fooofei c877497cc9 user io.ReadFull for shorter connection read code 2020-10-04 10:37:36 +08:00
Micheal Quinn 4675976f08 First pass at adding in the autocomplete files to the installer script 2020-09-29 22:19:10 -05:00
ABDUL NIYAS P M 4ce170e73d
Fix a typo in cli.go 2020-09-23 16:28:00 +05:30
Zack Scholl 43d2ff0a09 find open ports to open local relay 2020-09-21 06:02:13 -07:00
Zack Scholl 78e4d5e179 add util to find open ports 2020-09-21 05:51:50 -07:00
Sebastian Falbesoner a313a96a8e fix send without argument (trigger intended error message) 2020-09-19 21:48:11 +02:00
Sebastian Falbesoner 2de73cb138 show all files when sending without send command 2020-09-19 17:52:32 +02:00
Zack Scholl 7b15dcd2dc fork urfave/cli 2020-09-17 13:04:33 -07:00
Zack Scholl fda0bf7fd4 bump 8.3.2 2020-09-16 14:54:02 -07:00
Zack Scholl 7d155adcf1 bump 8.3.2 2020-09-16 14:54:02 -07:00
Zack b144fa28e7
Merge pull request #260 from masterZSH/master
Use hex.EncodeToString to encode to hex
2020-09-16 11:00:09 -07:00
masterZSH f9f32a4b0e Use hex.EncodeToString to encode to hex 2020-09-16 16:37:21 +08:00
Zack Scholl 32bb98fd4f fix making publish 2020-09-15 12:46:07 -07:00
masterZSH 833668e8f2 Add error reporting 2020-09-15 09:33:43 +08:00
Zack Scholl 8a0800ca90 better error 2020-09-13 12:15:05 -07:00
Zack Scholl 4fc40274db use default bash complete 2020-09-13 12:11:18 -07:00
Zack Scholl 8c116cf66a add autocompletion 2020-09-12 08:42:19 -07:00
jolheiser ccba416e85
Env vars for a few CLI options
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-09-09 10:25:13 -05:00
jolheiser 5ad8bd8e2c
Fix aliases
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-09-09 10:06:13 -05:00
jolheiser 9a20d507a7
Update CLI to v2
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-09-09 10:05:57 -05:00
Zack Scholl a5e882ec25 bump 8.3.1 2020-09-06 08:47:32 -07:00
Zack Scholl 9d5302b1b7 bump 8.3.1 2020-09-06 08:47:31 -07:00
Zack Scholl bdb859c15c use version 2020-09-06 08:45:59 -07:00
Zack Scholl 22c35412ac bump 8.3.1 2020-09-06 08:44:04 -07:00
Zack Scholl f2af0b7ed5 bump 8.3.1 2020-09-06 08:44:03 -07:00
Zack Scholl 5d6546ba58 tag 2020-09-06 08:43:14 -07:00
Zack Scholl f4fe211bbe bump 8.3.2 2020-09-06 08:42:51 -07:00
Zack Scholl f950633a86 bump 8.3.2 2020-09-06 08:37:37 -07:00
Zack Scholl 65b6111512 push before prepare 2020-09-06 08:37:10 -07:00
Zack Scholl 2db2a914f2 bump 8.3.1 2020-09-06 08:33:14 -07:00
Zack Scholl 345ef0567e compute filename and deliver without overwriting 2020-09-05 17:23:07 -07:00
Zack Scholl e771e20ac4 fix version 2020-09-04 06:08:38 -07:00
Zack Scholl 5e78725afa Fixes #240 2020-09-04 06:06:48 -07:00
Zack Scholl fc14ef25ed version with v 2020-09-03 15:55:52 -07:00
Zack Scholl b48c96fc37 bump 8.3.0 2020-09-03 15:51:13 -07:00
Zack Scholl 87e54acd8a add option to disable compression Fixes #239 2020-09-03 15:09:23 -07:00
Zack Scholl 555ddec5e3 handle symlinks Fix #238 2020-09-03 14:57:09 -07:00
Zack Scholl ff99b07ef1 gather symlink info 2020-09-03 14:49:08 -07:00
Zack Scholl 26056a8366 test release 2020-09-03 14:21:43 -07:00
Zack Scholl 11efb6be5e get version from env varaible 2020-09-03 14:17:12 -07:00