caryoscelus
5fadd5f9bd
Improve SafeRe code readability
...
function isSafePattern was never used as boolean function, its only
useful behaviour being raising exception on bad regexp, so it's renamed
and reused accordingly
2023-07-31 08:28:29 +00:00
Vadim Ushakov
30db5a4652
Fix https://github.com/HelloZeroNet/ZeroNet/issues/2757
2023-07-31 08:23:13 +00:00
caryoscelus
b358435016
Remove dead code
2023-07-29 17:20:45 +00:00
caryoscelus
40ae09dca8
py3.8 compat
2023-07-26 07:56:31 +00:00
caryoscelus
f94765f7b9
more anonymous upnp
...
thanks to 0netdwf for reporting
2023-07-23 09:37:52 +00:00
caryoscelus
8132457184
fix default ssl version to be secure
2022-09-19 20:03:16 +00:00
caryoscelus
09bb67d904
keep browser process alive
2022-09-08 12:08:14 +00:00
caryoscelus
f7b009099a
consolidate & fix open browser behaviour
2022-09-06 16:04:58 +00:00
caryoscelus
cb2347e7d6
return upnp punch using secure xml library
...
fixes #105
2022-06-28 23:23:18 +00:00
Tim Gates
3ad7bc87e5
docs: fix simple typo, positibe -> positive
...
There is a small typo in src/util/UpnpPunch.py.
Should read `positive` rather than `positibe`.
2020-12-22 07:44:57 +11:00
Tamas Kocsis
57dda4e6d6
Rev4549, Fix startup OpenSSL lib find recursion error
2020-11-09 01:21:52 +01:00
Tamas Kocsis
c515e26cd6
Fix OpenSSL dll/so location find patcher
2020-11-03 02:51:42 +01:00
Tamas Kocsis
8dc5aee8aa
Js based redirecting template formatting
2020-09-08 19:32:10 +02:00
shortcutme
6bd49e8aff
Fix killing greenlets gevent exception
2020-06-30 17:04:47 +02:00
shortcutme
ea6016d004
Fix latest gevent compatibility
2020-06-18 17:22:45 +02:00
Ivanq
33af83b2cd
Search for any OpenSSL version in LD_LIBRARY_PATH
2020-03-10 22:31:26 +03:00
ZeroNet
296e4aab57
Fix sslcrypto thread safety ( #2454 )
...
* Use sslcrypto instead of pyelliptic and pybitcointools
* Fix CryptMessage
* Support Python 3.4
* Fix user creation
* Get rid of pyelliptic and pybitcointools
* Fix typo
* Delete test file
* Add sslcrypto to tree
* Update sslcrypto
* Add pyaes to src/lib
* Fix typo in tests
* Update sslcrypto version
* Use privatekey_bin instead of privatekey for bytes objects
* Fix sslcrypto
* Fix Benchmark plugin
* Don't calculate the same thing twice
* Only import sslcrypto once
* Handle fallback sslcrypto implementation during tests
* Fix sslcrypto fallback implementation selection
* Fix thread safety
* Add derivation
* Bring split back
* Fix typo
* v3.3
* Fix custom OpenSSL discovery
2020-03-05 17:54:46 +01:00
Ivanq
09e65e1d95
Make ThreadPool a context manager to prevent memory leaks
2020-03-05 08:06:57 +03:00
shortcutme
c4f65a5d7b
Rev4462, Experimental fix for segfault on shutdown
2020-03-04 21:50:28 +01:00
shortcutme
1cc0ec3f31
Indepently configurable OpenSSL lib/bin file
2020-02-20 17:23:00 +01:00
shortcutme
2c826eba2d
Rev4447, Fix Msgpack 1.0.0 compatibility
2020-02-19 16:48:14 +01:00
shortcutme
b6d0bf8f6b
Use msvcrt 110 and 120 when 110 is not avaliable
2020-01-04 16:48:37 +01:00
shortcutme
2acf24c336
Fix ipv4 checking regexp
2019-12-21 02:59:18 +01:00
shortcutme
8bfef12ad4
Don't try to pack unknown peer addresses
2019-12-19 02:16:41 +01:00
shortcutme
7af8d1cd93
Save last lock time
2019-12-18 16:42:47 +01:00
shortcutme
abee87bbec
Wait for threadpool kill with 1s timeout to fix memory leak test
2019-12-17 21:02:48 +01:00
shortcutme
77869830c5
Fix shutdown hang
2019-12-17 20:36:52 +01:00
shortcutme
eac25caf28
Log packing peer arrors as debug
2019-12-17 15:00:23 +01:00
shortcutme
b421893434
Return timer greenet
2019-12-17 15:00:09 +01:00
shortcutme
5c1b34387c
Noparallel multi thread compatibility
2019-12-17 14:51:57 +01:00
shortcutme
dfd55c3957
Fix memory leak when using sleep in threads
2019-12-17 14:50:38 +01:00
shortcutme
b21895fa78
Kill threadpool properly
2019-12-17 14:50:10 +01:00
shortcutme
495d695c5a
Fix threadpool apply and spawn when threadpool is full
2019-12-17 14:49:50 +01:00
shortcutme
3309489c24
Only call the function in separate thread when in the main loop
2019-12-17 14:48:11 +01:00
shortcutme
8a5a75e68f
Allow pass calls to the main loop
2019-12-17 14:47:27 +01:00
shortcutme
c1df78b97f
Name threadpools
2019-12-17 14:43:33 +01:00
shortcutme
958882c1c5
Revert "Switch to sslcrypto for cryptography tasks ( #2338 )"
...
This reverts commit fbc7b6fc4f
.
2019-12-15 18:30:42 +01:00
Ivanq
fbc7b6fc4f
Switch to sslcrypto for cryptography tasks ( #2338 )
...
* Use sslcrypto instead of pyelliptic and pybitcointools
* Fix CryptMessage
* Support Python 3.4
* Fix user creation
* Get rid of pyelliptic and pybitcointools
* Fix typo
* Delete test file
* Add sslcrypto to tree
* Update sslcrypto
* Add pyaes to src/lib
* Fix typo in tests
* Update sslcrypto version
* Use privatekey_bin instead of privatekey for bytes objects
* Fix sslcrypto
* Fix Benchmark plugin
* Don't calculate the same thing twice
* Only import sslcrypto once
* Handle fallback sslcrypto implementation during tests
* Fix sslcrypto fallback implementation selection
2019-12-15 12:46:06 +01:00
shortcutme
66a1c4d242
Multi-process and gevent loop friendly lock
2019-11-30 02:07:30 +01:00
shortcutme
8b6f221e22
Formatting
2019-11-27 03:02:18 +01:00
shortcutme
29346cdef5
Faster, async local ip discovery
2019-11-25 14:40:52 +01:00
shortcutme
9299e5b614
Kill greenlets with notify
2019-11-20 14:07:33 +01:00
shortcutme
58214c0ac3
Move file writes and reads to separate thread
2019-11-19 02:16:20 +01:00
shortcutme
1c607645c7
Track and stop site connected greenlets on delete
2019-11-19 02:07:51 +01:00
shortcutme
28d4fc5d12
Update location of bundled OpenSSL on macOS
2019-10-24 12:22:54 +02:00
shortcutme
b21719e2f2
Fix OpenSSL lib loading on macOS
2019-10-24 03:08:27 +02:00
shortcutme
73e0aa17c4
Don't encode byte responses
2019-10-06 03:10:43 +02:00
shortcutme
917a2e59ce
Fix compacting large json files
2019-10-06 03:10:20 +02:00
shortcutme
119e1a9bf0
Simple cache decorator
2019-10-06 03:09:48 +02:00
shortcutme
4293a44c93
Don't try to find OpenSSL 1.0.x
2019-09-15 22:08:20 +02:00