Zack Scholl
5c5e00310a
benchmark new
2024-09-23 05:25:38 -07:00
Zack Scholl
8c4594ad31
fix: check whether path separator + ..
2024-09-17 06:39:04 -07:00
Zack Scholl
d6f1a63b7b
update dependencies
2024-09-05 06:48:43 -07:00
Zack
bb74eafd36
Remove Temporary Files if the program terminates abnormal.
...
Fixes #799
2024-09-03 09:28:42 -07:00
Zack
149d7364fb
simplify cleanup
2024-09-03 09:16:07 -07:00
Prince
e663aa90cb
updated log message
2024-09-03 19:49:56 -07:00
Prince
0d8e4e10d6
added cleanup function to remove temporary file
2024-09-03 18:56:46 -07:00
Zack Scholl
defee4b4f6
disable diskusage
2024-09-01 15:24:10 -07:00
Zack Scholl
c146b150b8
fix mismatch
2024-09-01 14:47:40 -07:00
Zack
a29b8e6d1d
10.0.11 -> 10.0.12
2024-09-01 14:38:55 -07:00
Zack
0f1d75a2ef
refactor formatter
2024-09-01 14:35:36 -07:00
Asuka Minato
319a403082
fix long file name
2024-09-01 21:39:40 +09:00
Asuka Minato
90ed1f797e
add error handling
2024-08-31 00:23:21 +09:00
Asuka Minato
bc9dbfd905
use term.GetSize
2024-08-31 00:08:25 +09:00
Zack Scholl
1b81055552
feature: gracefully exit when not enough disk space
...
Fixes #791
2024-08-29 22:16:12 -07:00
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