1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-23 23:54:17 +03:00
Commit Graph

1969 Commits

Author SHA1 Message Date
Zack
6f3e0f1eaf
Merge pull request #767 from tnothy/fix-throttling-upload-speed-limit
fix upload speed throttling
2024-07-29 12:58:56 -07:00
tnothy
8681a4dc6d fix upload speed throttling 2024-07-29 21:46:25 +02:00
Zack
07c0a804d7 chore: update dependencies 2024-07-29 12:22:11 -07:00
Zack
5b93408c6e chore: update deps, change multicast address 2024-07-29 12:20:22 -07:00
Zack
dccd6fe395
Merge pull request #766 from tnothy/fix-restore-ignored-test
fix test case name
2024-07-29 06:19:25 -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
9235c341f9
Merge pull request #761 from schollz/schollz/issue756 2024-07-25 08:26:09 -07:00
Zack
b2f446fd6b croc --classic Yes/no prompt default is backwards
Fixes #756
2024-07-25 08:25:54 -07:00
Zack
5ea4661e4b fix name 2024-07-20 10:22:53 -07:00
Zack
522ef9ef23 word change 2024-07-09 06:25:53 -07:00
Zack
bc8b4b8ef9 update readme 2024-07-09 06:22:25 -07:00
clemisch
d7c7440ae4
Add receiving on Linux and classic mode to README (#753) 2024-07-09 06:09:56 -07:00
Zack Scholl
527af8a612 redo issue terminology 2024-07-07 17:55:00 -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
b5da962bd1 chore: update dependencies 2024-07-07 15:21:57 -07:00
Zack
72e51d8c2a v10.0.10 2024-07-07 15:21:35 -07:00
Zack
c9bc41fc58 create armv5 build
Fixes #752
2024-07-07 15:20:22 -07:00
Zack
94cc704928
Merge pull request #751 from schollz/dependabot/go_modules/github.com/minio/highwayhash-1.0.3
build(deps): bump github.com/minio/highwayhash from 1.0.2 to 1.0.3
2024-07-07 13:42:42 -07:00
dependabot[bot]
6b25ca4bff
build(deps): bump github.com/minio/highwayhash from 1.0.2 to 1.0.3
Bumps [github.com/minio/highwayhash](https://github.com/minio/highwayhash) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/minio/highwayhash/releases)
- [Commits](https://github.com/minio/highwayhash/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/minio/highwayhash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-05 08:57:37 +00:00
Zack
8577745d74
Merge pull request #750 from schollz:schollz/issue574
Sending folders from the root of a drive always goes to the same path on the receiver's end
2024-07-04 05:52:38 -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
Zack
791e4c22d2
Merge pull request #742 from ryancdotorg/main
correct classic mode prompt
2024-06-22 08:26:12 -07:00
Zack
dd3e3ff1ab
Merge pull request #740 from schollz/dependabot/github_actions/docker/build-push-action-6
build(deps): bump docker/build-push-action from 5 to 6
2024-06-22 08:25:17 -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
dependabot[bot]
6c7120edbb
build(deps): bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 09:03:31 +00:00
Zack
1e34537bb2
Merge pull request #737 from schollz:schollz/issue735
fix: croc hangs with broken dns
2024-06-13 08:28:06 -07:00
Zack
0d0effd983 fix: croc hangs with broken dns
Fixes #735
2024-06-13 08:27:55 -07:00
Zack
e85575f3a5
Merge pull request #734 from schollz/dependabot/go_modules/github.com/schollz/progressbar/v3-3.14.4
build(deps): bump github.com/schollz/progressbar/v3 from 3.14.3 to 3.14.4
2024-06-10 05:57:51 -07:00
dependabot[bot]
0afdcd7005
build(deps): bump github.com/schollz/progressbar/v3
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.14.3 to 3.14.4.
- [Release notes](https://github.com/schollz/progressbar/releases)
- [Commits](https://github.com/schollz/progressbar/compare/v3.14.3...v3.14.4)

---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 08:21:44 +00: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
e502cf0c82 update dependencies 2024-06-06 10:19:44 -07:00
Zack
5cf4d7c103 update: imohash samples more of the file 2024-06-06 10:19:23 -07:00
Zack
c28c4786a1
Merge pull request #728 from schollz/dependabot/go_modules/golang.org/x/net-0.26.0
build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
2024-06-05 19:53:49 -07:00
Zack
6f974d96e8
Merge pull request #732 from raimocom/main
Update croc.go - console output clarification
2024-06-05 18:48:24 -07:00
raimocom
c2cb15cb73
Update croc.go - console output clarification 2024-06-06 03:43:01 +02:00