Commit Graph

1688 Commits

Author SHA1 Message Date
Niko Köser
5e0d6522b0
refactor: accept enter in user prompts
Until now, the process of receiving a file was aborted when an
empty entry (Enter) was made. It is common under *nix that
pressing Enter without prior input of other characters selects
the default answer. This would also make the process more
fluid for croc.

In most usecases the default choice will be 'Y'/'Yes'. The only
exception is the prompt for overwriting existing files. We default
to 'N'/'No' in this prompt to prevent accidental overwriting of
files.
2021-06-10 14:12:05 +02:00
Niko Köser
c72aaf63cb
chore(git): ignore .idea and .vscode folders 2021-06-09 16:00:09 +02:00
Zack Scholl
a9e77673f4 update deps 2021-05-12 12:04:30 -07:00
Zack Scholl
aa93d3e30f Merge branch 'master' of github.com:schollz/croc 2021-05-12 07:19:09 -07:00
Zack Scholl
15a19e1998 use all the config options 2021-05-12 07:19:02 -07:00
Zack Scholl
e1ccb58d8f bump 9.1.4 2021-05-12 07:04:38 -07:00
Zack Scholl
d0ebb7ad38 longer time for local connections 2021-05-12 07:04:10 -07:00
Zack Scholl
2bfbacf972 bump 9.1.3 2021-05-11 10:06:14 -07:00
Zack Scholl
e29b4c47fd update deps 2021-05-11 10:05:37 -07:00
Zack Scholl
b4deedf367 upgrade peerdiscovery 2021-05-11 10:04:21 -07:00
Zack Scholl
68e507dbba update peerdiscovery 2021-05-11 07:09:56 -07:00
Zack Scholl
66f30c0565 skip autocomplete installation on fish, Fixes #393 2021-05-10 13:47:17 -07:00
Zack Scholl
340bafba3d bump 9.1.2 2021-05-07 10:23:45 -07:00
Zack Scholl
e47776bb10 fix 2021-05-07 10:21:24 -07:00
Zack
422f099e5e
Merge pull request #390 from wamserma/patch-1
Distinguish text message from file in receipient dialog
2021-05-07 10:20:53 -07:00
Zack Scholl
bd4886ae3c update deps 2021-05-07 10:18:40 -07:00
Markus Wamser
d5fd2060dd
Distinguish text message from file in receipient dialog
Fixes https://github.com/schollz/croc/issues/388
2021-05-01 21:27:44 +02:00
Zack Scholl
7c28279a58 bump 9.1.1 2021-04-29 09:43:50 -07:00
Zack Scholl
27b7cdbf12 bug fix: doesn't ask overwrite text Fixes #384 2021-04-29 09:16:22 -07:00
Zack Scholl
24fb8746a4 fix deadlock 2021-04-29 09:11:29 -07:00
Zack
45cb545a82
Merge pull request #383 from oxzi/dns-prefer-local
Prefer local DNS resolver over public DNS servers
Fixes #301
2021-04-26 10:45:07 -07:00
Alvar Penning
8f5c73837a Prefer local DNS resolver over public DNS servers
The changes cause the local DNS resolver to be used exclusively at
first. If this fails, the public DNS servers are queried as before.

This feature was previously requested. Merging should close #301.

Along the way, three other changes are introduced:

1. A public IPv6 DNS server was added.

2. The lookup returns the first result from a public DNS server and does
   not wait for all queries to be answered.

3. In the unlikely case that no public DNS server is able to answer, an
   error will be returned.
2021-04-26 11:43:45 +02:00
Zack
b90f9329ca
Merge pull request #376 from Craeckie/master
Use unprivileged user in docker
2021-04-23 10:28:22 -07:00
Craeckie
968950f783
Use unprivileged user in docker
See 
https://americanexpress.io/do-not-run-dockerized-applications-as-root/
and 
https://engineering.bitnami.com/articles/why-non-root-containers-are-important-for-security.html
2021-04-22 09:53:49 +00:00
Zack Scholl
5b0883e1fe generate key once 2021-04-21 16:57:18 -07:00
Zack Scholl
420030998f add chacha20 2021-04-21 16:53:29 -07:00
Zack Scholl
de2bcf114c upgrade imohash 2021-04-21 14:36:50 -07:00
Zack Scholl
ab5ae5cbb6 add more benchmarks 2021-04-21 12:40:41 -07:00
Zack Scholl
94b3dba034 update readme 2021-04-20 16:01:44 -07:00
Zack
1a47543be9
Merge pull request #344 from k3b/patch-1
Added reference to croc android-version to README.md
2021-04-20 15:59:44 -07:00
Zack Scholl
407e162ec2 bump 9.1.0 2021-04-20 15:57:46 -07:00
Zack
35106d4dbe
Merge pull request #374 from schollz/v91
V91
2021-04-20 15:55:19 -07:00
Zack Scholl
d6af319ad8 fix tests 2021-04-20 15:48:13 -07:00
Zack Scholl
85e7576311 fix 2021-04-20 15:44:28 -07:00
Zack Scholl
7ac7be37af check if file exists 2021-04-20 15:36:46 -07:00
Zack Scholl
669aeb377a check if file exists 2021-04-20 15:35:38 -07:00
Zack Scholl
b655afb533 choose hash algorithm 2021-04-20 15:32:05 -07:00
Zack Scholl
e9949ce3d7 check file size firsty 2021-04-20 09:08:02 -07:00
Zack Scholl
91a3dd5866 Merge branch 'master' of github.com:schollz/croc 2021-04-17 20:42:20 -07:00
Zack Scholl
026487a833 update docker 2021-04-17 20:40:56 -07:00
Zack Scholl
f8ef096784 bump 9.0.0 2021-04-17 20:33:18 -07:00
Zack Scholl
0c2089bd4c update deps 2021-04-17 20:32:55 -07:00
Zack Scholl
5ad68b9ced update readme 2021-04-17 20:31:17 -07:00
Zack Scholl
9286b3c965 show folders when receiving 2021-04-17 20:27:51 -07:00
Zack Scholl
c1edf24338 fix race condition 2021-04-17 20:07:50 -07:00
Zack Scholl
d38fc18390 update deps 2021-04-17 14:31:32 -07:00
Zack Scholl
f4cedd1e91 Merge branch 'master' of github.com:schollz/croc 2021-04-17 11:27:25 -07:00
Zack Scholl
fc66c3b91f improve readme 2021-04-17 11:27:20 -07:00
Zack Scholl
2ac7d4f31f fix tests 2021-04-17 11:12:15 -07:00
Zack Scholl
a96762b942 fix room deletion if room is full 2021-04-17 10:44:10 -07:00