Commit Graph

1958 Commits

Author SHA1 Message Date
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
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
Zack 2d648aa580
Merge pull request #731 from raimocom/main
Update cli.go (help output clarification)
2024-06-05 18:42:00 -07: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
dependabot[bot] d011290559
build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 08:46:37 +00: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 23dce2aa3e
Merge pull request #724 from schollz:schollz/issue723
fix: receiver needs to exit without initializing files if no files being transfered
2024-05-31 11:45:51 -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