Commit Graph

4028 Commits

Author SHA1 Message Date
shortcutme 723d1f4370
Rev4467 2020-03-18 03:21:14 +01:00
shortcutme ca94703fc3
Fix tray icon destroy overflow exception 2020-03-18 03:21:00 +01:00
shortcutme a5971adbe6
Add data_dir to example UiConfig tracker list 2020-03-18 03:19:01 +01:00
ZeroNet dfeebbabe8
Merge pull request #2487 from imachug/gevent-ws-fix2
Update gevent-ws to v2.0.7 to fix werkzeug
2020-03-17 21:49:54 +01:00
Ivanq 66194ce435 Update gevent-ws to v2.0.7 to fix werkzeug 2020-03-17 23:48:36 +03:00
Vadim Ushakov 2de3c9a544 Allow opening the sidebar while content.json is not loaded
If one opens the sidebar of a site not being downloaded yet, the following error occurs:

```
  Internal error: KeyError('content.json',): 'content.json'
  UiWebsocket.py line 79 > 235 > Sidebar/SidebarPlugin.py line 527 > 120 > ContentDbDict.py line 59
```

Also, the sidebar is not visible.

This fixes the both issues.

For sites without peers, the only way to delete the site was to navigate to ZeroHellow, scroll the left panel to "Connecting sites", and delete the site from the list. Now those sites can be deleted from the sidebar.
2020-03-17 23:09:40 +07:00
shortcutme 5fb342a825
Change to GPLv3 license
Based on https://github.com/HelloZeroNet/ZeroNet/issues/2273
2020-03-17 14:48:24 +01:00
ZeroNet 3156d2f94b
Merge pull request #2483 from imachug/gevent-ws-fix
Potential fix of BrokenPipeError
2020-03-17 14:25:11 +01:00
Ivanq ba156bbdec Potential fix of BrokenPipeError 2020-03-17 07:54:56 +03:00
ZeroNet 6beb76eac8
Merge pull request #2482 from imachug/gevent-ws-insensitive
Upgrade gevent-ws to v2.0.5
2020-03-16 21:36:43 +01:00
Ivanq d3d18234df Upgrade gevent-ws to v2.0.5 2020-03-16 20:50:10 +03:00
ZeroNet faa24a8b41
Merge pull request #2478 from imachug/sslcrypto-weird
Switch to sslcrypto v4.0 to support OpenSSL without builtin curves
2020-03-16 17:43:30 +01:00
ZeroNet f749228a2c
Merge pull request #2475 from imachug/gevent-ws-fix2
Disable process_result on websocket requests
2020-03-16 16:16:47 +01:00
Ivanq 7e17a4e967 Switch to sslcrypto v4.0 to support OpenSSL without builtin curves 2020-03-15 20:18:04 +03:00
Ivanq 19f003141b Disable process_result on websocket requests 2020-03-14 07:27:19 +03:00
ZeroNet 53a6063576
Merge pull request #2471 from imachug/patch-1
Search for any OpenSSL version in LD_LIBRARY_PATH
2020-03-10 21:34:39 +01:00
Ivanq 33af83b2cd
Search for any OpenSSL version in LD_LIBRARY_PATH 2020-03-10 22:31:26 +03:00
ZeroNet 3426d5fe63
Merge pull request #2466 from imachug/websocket
Fix websocket_client compatibility
2020-03-09 15:54:54 +01:00
ZeroNet f2934c10b4
Merge pull request #2463 from canewsin/patch-1
Added Github Action Test Badge to ReadMe
2020-03-09 15:51:13 +01:00
Ivanq a2457b2488 Forgot that Upgrade is case-insensitive 2020-03-09 11:06:35 +03:00
canewsin 193632c3f9
Added Github Action Test Badge to ReadMe 2020-03-07 17:30:27 +05:30
ZeroNet a1c176bb3f
Merge pull request #2459 from imachug/github-actions
Add GitHub Actions workflow
2020-03-05 21:16:13 +01:00
Ivanq 02fd1dc4d0 Add GitHub Actions workflow 2020-03-05 23:03:23 +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
ZeroNet 7ba2c9344d
Merge pull request #2457 from imachug/segfault
Make ThreadPool a context manager to prevent memory leaks
2020-03-05 10:45:14 +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
ZeroNet 37a401fdef
Merge pull request #2449 from krzotr/polish-translation
Polish translation
2020-03-04 18:14:06 +01:00
ZeroNet e7d1e1f097
Merge pull request #2455 from zyw271828/py3
Improve README-zh-cn.md according to latest README.md
2020-03-03 10:36:51 +01:00
zyw271828 6df3036f11
Improve README-zh-cn.md according to latest README.md 2020-03-03 13:12:54 +08:00
zyw271828 e2a582d892
Update "How can I create a ZeroNet site" section of README-zh-cn.md 2020-03-03 12:54:41 +08:00
zyw271828 aaabcb6b1a
Update "How to join" section of README-zh-cn.md 2020-03-03 12:48:18 +08:00
ZeroNet 7bf790003e
Merge pull request #2453 from krzotr/patch-7
Fixed `Cache-Control` for .js and .css files - 10 minutes cache
2020-03-02 18:25:16 +01:00
shortcutme f46b945cdc
Rev4461 2020-03-02 17:09:21 +01:00
shortcutme 27761c5045
Fix merger site updating 2020-03-02 17:09:13 +01:00
shortcutme e0bf4dc9ec
Skip announcing to trackers with unsupported address 2020-03-02 17:08:43 +01:00
shortcutme 1fc67a3d71
Rev4460, Fix mergersite update on slow storage 2020-03-02 16:44:34 +01:00
krzotr 5baacf963d
Fixed `Cache-Control` for .js and .css files 2020-02-29 00:51:41 +01:00
Krzysztof Otręba b790bcac9b Polish translation 2020-02-28 01:24:44 +01:00
Ivanq 219b90668f
Switch from gevent-websocket to gevent-ws (#2439)
* Switch from gevent-websocket to gevent-ws

* Return error handling, add gevent_ws source to lib
2020-02-28 01:20:04 +01:00
krzotr 2862587c15
Fixed "LookupError: 'hex' is not a text encoding" on /StatsBootstrapper page (#2442)
* Fixed "LookupError: 'hex' is not a text encoding"

* Fixed  KeyError: 'ip4'
2020-02-27 00:48:26 +01:00
shortcutme 6218a92895
Rev4458 2020-02-25 16:47:28 +01:00
shortcutme 58f03e21ef
Change unreliable trackers 2020-02-25 16:47:04 +01:00
shortcutme b85477787d
Workaround for Tor utf8 cookie file path encoding bug on Windows 2020-02-25 16:46:21 +01:00
shortcutme 6a1235bd45
Remove old Gevent RLock support 2020-02-25 16:45:55 +01:00
ZeroNet 33d6a9c402
Merge pull request #2438 from imachug/websocket
Avoid code duplication in bigfileUploadInit
2020-02-24 17:56:14 +01:00
Ivanq 17f65a5179 Avoid code duplication 2020-02-24 19:19:35 +03:00
Ivanq f8e2cbe429
Allow uploading files via websocket (#2437)
* Allow uploading files via websocket

* Fix
2020-02-24 13:46:01 +01:00
shortcutme f0a706f6ab
Rev4455, Fix new sites file downloading 2020-02-21 13:58:11 +01:00
shortcutme 8b994e42c2
Rev4452 2020-02-20 17:27:50 +01:00