Commit Graph

1532 Commits

Author SHA1 Message Date
meejah
e121ddfc4b
Merge pull request #449 from meejah/448.eol-pythons
remove old pythons
2022-08-30 17:30:42 -06:00
meejah
42a4959ada metadata/readme updates about dropped versions 2022-08-30 17:12:34 -06:00
meejah
cf595b71fa gone on windows too 2022-08-30 16:56:30 -06:00
meejah
337102d02c remove old pythons 2022-08-30 16:41:30 -06:00
meejah
2c7582a454
Merge pull request #424 from a1346054/fixes
Minor cleanup
2022-08-30 16:32:39 -06:00
meejah
1575b57f9b
Merge pull request #436 from sitiom/patch-1
Add Chocolatey installation for Windows
2022-08-24 14:33:43 -06:00
sitiom
e501cc436c
docs(install): Add Chocolatey installation for Windows 2022-04-01 12:15:43 +08:00
a1346054
65237a8ecf trim trailing whitespace 2021-08-25 19:19:52 +00:00
a1346054
a874a6400d fix spelling 2021-08-25 19:19:21 +00:00
meejah
e522a39922
Merge pull request #411 from meejah/debug-state
add a --debug-state command-line option
2021-07-23 09:23:50 -06:00
meejah
98d769c983 add a --debug-state command-line option
This exposes set_trace functionality for debugging
state-machine transitions in the various state machines.
2021-07-21 20:49:36 -06:00
meejah
679434a9e1 more roundy-brackets 2021-06-17 10:28:36 -06:00
meejah
5e472fe116 wrong kind of brackets 2021-06-17 10:26:54 -06:00
meejah
3056e9f4f3
Merge pull request #420 from meejah/move-to-libera
add matrix links; IRC is on libera.chat now
2021-06-15 18:56:59 -06:00
meejah
83947014a6 add matrix links; IRC is on libera.chat now 2021-06-15 15:18:27 -06:00
Adam Piggott
965b949ccf
welcome.md: hyperlink changes (#418) 2021-05-27 01:22:58 -07:00
meejah
016200b740
Merge pull request #410 from sagarhowal/395-error-msg-fix
update WrongPasswordError
2021-04-07 14:54:19 -06:00
Sagar Howal
20a3238003
update WrongPasswordError 2021-04-07 18:37:16 +01:00
meejah
501ce26e8b
Merge pull request #404 from adam-sroka/master
Update development pip command for zsh
2021-03-13 12:46:08 -07:00
Adam Sroka
9288b3a606
Update development pip command for zsh 2021-01-23 22:58:13 +01:00
Brian Warner
d517a10282 README: update appveyor badge URL 2021-01-10 15:37:22 -08:00
Brian Warner
222430451f README: fix GHA CI badge URL 2021-01-10 15:09:09 -08:00
Brian Warner
8ea67f6015 README: move repo, switch to GitHub Actions for CI 2021-01-10 15:08:13 -08:00
Brian Warner
f175feba91 README: update python-version compatibility note
We still run CI against py2.7 and py3.5, but Cryptography has deprecated
both, so it might stop working if/when they make a non-compatible change.
2021-01-10 15:05:38 -08:00
Brian Warner
bc6537e758 test_cli: ignore deprecation noise for py2.7/py3.5 so tests won't fail 2021-01-10 15:02:05 -08:00
Brian Warner
b97bd40f0a add GitHub Actions -based CI 2021-01-10 14:08:23 -08:00
Clayton Passmore
a6960d42e5
Fix link to rendezvous server repo in API doc
Fixes an issue where the link to the rendezvous server repository was being rendered as plain text in the docs.
2020-09-18 11:10:48 -04:00
Brian Warner
95a628e1a7 docs: add pointers to server code and setup instructions
Thanks to @kaie for the suggestion.

Closes #387
2020-05-21 21:11:40 -07:00
sneakypete81
aa555a82ed
Replace deprecated attrs cmp=False parameter with eq=False (#384)
See https://attrs.readthedocs.io/en/stable/api.html#core
2020-04-12 14:50:03 -07:00
sneakypete81
d4a2c70d52
Remove unused format parameters (#385)
Fixes pyflakes unused argument warning
2020-04-12 11:47:28 -07:00
Brian Warner
52ee3ce105 setup.py: include wormhole._dilation, wormhole.test.dilate 2020-04-04 16:38:01 -07:00
Brian Warner
77a18d069a NEWS: update for 0.12.0 release 2020-04-04 14:55:16 -07:00
Brian Warner
e6ac67e0c0 Merge branch 'py38' 2020-04-04 14:28:44 -07:00
Brian Warner
2420150794 README/setup.py: update to reflect py3.8 compatibility 2020-04-04 14:25:47 -07:00
Brian Warner
379b931a09 tox/travis: test py3.8 too 2020-04-04 13:49:52 -07:00
Brian Warner
49354df56e cmd_send: use SpooledTemporaryFile properly, move to disk after 10MB
When we send a directory, we build a temporary zipfile to linearize the
contents for transmission. We store this zipfile inside a
SpooledTemporaryFile, which will hold everything in RAM (for speed) until it
reaches some size threshold, then moves everything over to disk (to avoid
crashing your program as it runs out of memory).

Unfortunately SpooledTemporaryFile doesn't have a default threshold size: if
you don't specify one, it will never switch to the disk-based mode, and
`wormhole send large_directory/` will just use up all your RAM until it
crashes.

I've been using this wrong for five years, since the very beginning of
wormhole's ability to send directories. How embarrassing!

This applies the simple fix: provide a `max_size=` argument, setting the
threshold to 10 MB.

Thanks to @blitz for the report (and my apologies to everyone else who
reported this earlier, to whom I said it was fixed by using
SpooledTemporaryFile, when clearly it was not).

closes #379
2020-04-04 12:06:00 -07:00
Edward Betts
6477f239e8 Correct spelling mistakes 2020-02-20 11:13:36 +00:00
Brian Warner
f566fae439 Merge PR378: allow custom reactor selection better 2020-02-06 22:49:54 -08:00
Brian Warner
aead249576 Transit: properly virtualize reactor in _build_listener 2020-02-06 22:49:12 -08:00
Brian Warner
0c43499850 test_transit: fix test to tolerate proper virtualized reactor 2020-02-06 22:48:25 -08:00
sneakypete81
4a2f3baf28 Avoid importing twisted.internet.reactor in global scope
This import has side effects, which can cause problems when using a non-
default reactor (qt5reactor, for example).
2020-02-06 21:45:37 +00:00
Brian Warner
c198117980 Merge branch '144-client-tls'
refs #144 : adds the client-side support
2020-01-16 19:26:16 -08:00
Brian Warner
5a60b247f5 accept 'wss' in relay_url, use TLS for those connections
Do the same under Tor.

If the hostname is missing, use 443 when using TLS, or 80 when not.

refs #144
2020-01-16 18:58:39 -08:00
Brian Warner
fe7b036027 docs/tor.md: remove stale comment about py3 not working
closes #367
2020-01-15 11:19:48 -08:00
sneakypete81
005e736f5d Fix docs typo 2020-01-14 17:08:25 -08:00
Brian Warner
8dff710ff7 Merge branch 'pr368': Transit docs
closes #368
2020-01-14 17:06:02 -08:00
Brian Warner
eaafe133a1 more fixups 2020-01-14 17:05:41 -08:00
Brian Warner
c5386bc7ac docs/transit.md: remove Blocking section, expand on relay hints
These docs were first written back when we had both a blocking and a
non-blocking API. I removed all the blocking code a long time ago, leaving on
the Twisted-based non-blocking API, but I forgot to update the docs to match,
which is why some of the text didn't make much sense.
2020-01-14 09:58:08 -08:00
Shea Polansky
9b305169ed Add more information to the Transit docs
Explicitly state that the get_connection_hints method returns a Deferred
Fix documentation example code
2020-01-13 17:45:14 -08:00
Shea Polansky
5674c7dfa4 Correct docs to reflect API changes
Update usage of Transit connection hints
2020-01-13 17:45:14 -08:00