Commit Graph

1106 Commits

Author SHA1 Message Date
vi'01-1'et df5b2994f6 Update cli.go to use inline environment variables instead of export
Also removed unnecessary quotes
2024-08-16 21:36:49 -06:00
Ezequiel Rosas 1a43826308 Make receive instructions copypaste-able 2024-08-13 12:50:48 -06:00
Zack Scholl bf26db019c v10.0.11 2024-07-30 10:07:37 -07:00
Zack Scholl f7bad72f6a chore: debug mode prints more information 2024-07-30 10:06:01 -07:00
Zack Scholl f32d060bef support for armv8l Fixes #769 2024-07-30 09:47:54 -07:00
tnothy 8681a4dc6d fix upload speed throttling 2024-07-29 21:46:25 +02:00
Zack 5b93408c6e chore: update deps, change multicast address 2024-07-29 12:20:22 -07:00
tnothy 5a6f36626d fix test case name 2024-07-28 21:23:56 +02:00
Zack Scholl 677f44da6d check if busybox 2024-07-28 08:35:19 -07:00
Zack 66efe74094
Merge pull request #762 from doc75/fix_install_warning
prevent error message before insstalling completion file for non root user
2024-07-28 08:19:51 -07:00
Zack 5da253e940
Merge pull request #763 from tnothy/ports-and-transfers
define relay ports by amount
2024-07-28 08:18:51 -07:00
Zack Scholl e439b65daa fix tests 2024-07-28 08:18:21 -07:00
tnothy 6413c1c3e1 define relay ports by amount 2024-07-28 09:56:43 +02:00
Zack Scholl ce3c65ef1d chore: spelling 2024-07-27 10:44:30 -07:00
Guillaume Virlet 42bb64c434 prevent error message before insstalling completion file for non root user 2024-07-27 10:14:14 +02:00
Zack 8f226f72b6 print bytes 2024-07-25 08:41:48 -07:00
Zack 4f1a6a8d4f prevent more filenames 2024-07-25 08:36:56 -07:00
Zack b2f446fd6b croc --classic Yes/no prompt default is backwards
Fixes #756
2024-07-25 08:25:54 -07:00
Alex Bledea da51eb8da3
Refactor tcp (#749)
* Refactor TCP server initialization

This refactor uses the functional options pattern to extract away the
optional TCP server configuration parameters. This:

- improves overall readability, by moving away from global variables
- makes it easier to configure the tcp server for tests

* Use ticker instead of for loop for room deletion

Go offers a ticker abstraction designed for performing tasks at
a regular interval, and this change uses the ticker for tcp room
deletion. It also cleans up the deletion goroutine gracefully.

* Add local relay interaction diagram

The diagram sketches out the interaction between clients and a local
relay.

* Add debug logs for room cleanup

These would be useful for future development (e.g.
adding a stopping mechanism for the TCP listener).
2024-07-07 17:49:29 -07:00
Zack 72e51d8c2a v10.0.10 2024-07-07 15:21:35 -07:00
Zack Scholl 232e162f8c Sending folders from the root of a drive always goes to the same path on the receiver's end
Fixes #574
2024-07-04 05:52:09 -07:00
Zack Scholl 4c120c4963 bump version 2024-06-26 10:55:12 -07:00
Zack 7c3dc4453a croc checks for error in file name 2024-06-26 06:58:12 -07:00
Zack 3e804a4a09 ValidFileName returns error 2024-06-26 06:57:57 -07:00
Zack 907f2b3824 Merge branch 'main' of github.com:schollz/croc 2024-06-26 06:09:33 -07:00
Zack 05da5007ed add new test 2024-06-26 06:09:23 -07:00
Ryan Castellucci 44f2b94164 correct classic mode prompt
"Do you wish to continue to enable the classic mode?" actually defaults to "no" rather than "yes" as the prompt text implies, this corrects the prompt text.
2024-06-22 09:03:42 +01:00
Zack 0d0effd983 fix: croc hangs with broken dns
Fixes #735
2024-06-13 08:27:55 -07:00
Zack ca8f011844 v10.0.8 2024-06-06 10:22:46 -07:00
Zack 55518176e1 Merge branch 'main' of github.com:schollz/croc 2024-06-06 10:21:42 -07:00
Zack 5cf4d7c103 update: imohash samples more of the file 2024-06-06 10:19:23 -07:00
raimocom c2cb15cb73
Update croc.go - console output clarification 2024-06-06 03:43:01 +02:00
raimocom 80074b3727
Update cli.go (help clarification overwrite/resume) 2024-06-06 03:38:15 +02:00
raimocom e47ca8fbcb
Update cli.go 2024-06-06 02:56:53 +02:00
Zack 50e0f625bc v10.0.7 2024-05-31 14:32:59 -07:00
Zack 94af2374c3 Merge branch 'main' of github.com:schollz/croc 2024-05-31 14:32:03 -07:00
Zack a4322faa25 ui: add newlines to skipping messages 2024-05-31 14:31:46 -07:00
Zack 88002b322d fix: receiver needs to exit without initializing files if no files being transfered 2024-05-31 11:44:56 -07:00
Zack 9246408278 for valid filename tests 2024-05-30 15:21:51 -07:00
Zack fbf1eeedce v10.0.6 2024-05-28 16:24:29 -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 Scholl 78feb393de fix println warnings 2024-05-26 11:33:21 -07:00
Zack 69fc3cee47 v10.0.5 2024-05-26 07:58:08 -07:00
Zack f66e17dd46 add the checks for the classic insecure mode 2024-05-26 07:54:37 -07:00
Zack 63c9201938 new: add flag with warning for passing shared secret on single-user systems 2024-05-26 07:52:12 -07:00
Zack ca7a5979cc need environmental variable on all unix systems 2024-05-26 07:20:48 -07:00
Zack fc457557e0 v10.0.4 2024-05-25 09:02:34 -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 dff34fa7fc fix comment 2024-05-24 19:44:28 -07:00