Commit graph

4081 commits

Author SHA1 Message Date
shortcutme
f6e06456b0
Use advaced json dumper to save sites.json and users.json 2019-08-02 14:06:05 +02:00
shortcutme
5e90cd9714
Move advanced json formatter to helper.py 2019-08-02 14:05:14 +02:00
shortcutme
06406fa46c
Avoid bare exceptions 2019-08-02 14:04:18 +02:00
ZeroNet
08b7034d6f
Merge pull request #2116 from filips123/patch-2
Add response to some commands
2019-08-02 10:52:37 +02:00
Filip Š
5b91aef4ec
Add response to some commands 2019-08-01 19:16:10 +02:00
shortcutme
d8a121cd06
Rev4129 2019-07-18 03:34:09 +02:00
shortcutme
902a1b1c88
Fix OpenSSL dll loading on Windows 2019-07-18 03:33:56 +02:00
shortcutme
c9a2b86c16
Log possible OpenSSL cert generation error message at the same line 2019-07-18 03:33:35 +02:00
shortcutme
27fcb70774
Log loaded verify lib path and load time 2019-07-18 03:32:45 +02:00
shortcutme
e488841031
Display loaded verify lib path in benchmark 2019-07-18 03:32:22 +02:00
shortcutme
6cffa1c0ca
Change maxstdio using ctypes as win32file module is not included with Python3 by default 2019-07-18 03:31:57 +02:00
Vadim Ushakov
822e53ebb8 Merge branch 'py3' into plugins 2019-07-18 00:14:06 +07:00
Vadim Ushakov
5f6589cfc2 TrackerShare: be more verbose in enoughWorkingTrackers() 2019-07-18 00:01:56 +07:00
Vadim Ushakov
95c8f0e97e TrackerShare: consider UDP disabled if config.tor == "always" 2019-07-17 23:48:53 +07:00
Vadim Ushakov
cb363d2f11 TrackerShare: move the tracker list cleanup code from getSupportedProtocols() to a separate method 2019-07-17 23:35:39 +07:00
Vadim Ushakov
0d02c3c4da TrackerShare: increase default limits: zero=10,other=5; total=20 2019-07-17 23:23:03 +07:00
Vadim Ushakov
2811d7c9d4 TrackerShare: replace self.site_announcer on every call from SiteAnnouncer 2019-07-17 23:21:11 +07:00
shortcutme
d3e8fcea47
Rev4126 2019-07-17 16:31:38 +02:00
shortcutme
9526424a47
Display error message dialog on Windows for startup errors 2019-07-17 16:31:32 +02:00
shortcutme
149278abd0
Skip reload on attribute changes 2019-07-17 16:30:56 +02:00
shortcutme
314c8b22db
Fix parsing config file with % in value 2019-07-17 16:30:32 +02:00
shortcutme
c502688ce3
Internals renamed to Console 2019-07-17 16:30:17 +02:00
shortcutme
866346b059
Fix and test bootstrapper hash cache reload from db 2019-07-17 16:29:54 +02:00
shortcutme
de8286829a
Remove outdated cn changelog 2019-07-16 13:41:44 +02:00
ZeroNet
18c407bfc2
Merge pull request #2096 from geekless/missing-encodeResponse
Add missing @helper.encodeResponse
2019-07-15 10:59:03 +02:00
Vadim Ushakov
076684176b Add missing @helper.encodeResponse in StatsPlugin.py and BootstrapperPlugin.py 2019-07-15 14:50:24 +07:00
Vadim Ushakov
96e935300c TrackerZero: fix error in updateHashCache()
Reported to the upstream: https://github.com/HelloZeroNet/ZeroNet/issues/2095
2019-07-15 14:13:14 +07:00
Vadim Ushakov
2e1b0e093f TrackerZero: fix errors in actionStatsTrackerZero() 2019-07-14 18:26:38 +07:00
Vadim Ushakov
fee63a1ed2 TrackerZero: add the missing .onion suffix 2019-07-13 21:16:15 +07:00
Vadim Ushakov
142f5862df TrackerZero: ignore "announce" action if the plugin is disabled by its settings 2019-07-13 15:51:28 +07:00
Vadim Ushakov
de5a9ff67b TrackerShare: drop incomplete support of Bootstrapper, we now have TrackerZero, which is able to register its addresses by itself 2019-07-13 15:38:05 +07:00
Vadim Ushakov
d57deaa8e4 TrackerShare: ignore the udp:// protocol, when UDP is known to be disabled by the config 2019-07-13 15:36:05 +07:00
Vadim Ushakov
eb6d0c9644 TrackerZero: add missimg @helper.encodeResponse 2019-07-13 15:35:16 +07:00
Vadim Ushakov
a36b2c9241 TrackerZero: add support of persistent onion addresses 2019-07-13 02:34:07 +07:00
Vadim Ushakov
9a8519b487 TrackerZero: read settings from tracker-zero.json; register listened addresses in TrackerShare/AnnounceShare 2019-07-13 00:51:31 +07:00
Vadim Ushakov
f4708d9781 TrackerZero: add a separate class for not to run complicated code in overloaded methods 2019-07-12 15:44:23 +07:00
Vadim Ushakov
b7550474a5 TrackerZero: copy the Bootstrapper code to a new plugin TrackerZero 2019-07-12 01:48:52 +07:00
Vadim Ushakov
735061b79d Merge branch 'py3' into plugins 2019-07-12 01:28:32 +07:00
Vadim Ushakov
a2cb1615b3 Move the BitTorrent related code from SiteAnnouncer.py (#2078)
* Move the BitTorrent related code from SiteAnnouncer.py to a separate plugin

* AnnounceBitTorrentPlugin.py: add missing `from Debug import Debug`
2019-07-10 16:12:25 +02:00
ZeroNet
6b5fa140b9
Try use pypi gevent for py3.8 tests 2019-07-10 12:48:08 +02:00
shortcutme
356d0521e6
Rev4122 2019-07-10 03:15:56 +02:00
shortcutme
5a08ab93d3
Ignore file attribute changes when reloading source code 2019-07-10 03:15:46 +02:00
shortcutme
8185f4dfda
Test getFile inner_path security 2019-07-10 03:14:30 +02:00
shortcutme
f4f0e2afa8
Allow like parameters in database queries 2019-07-10 03:14:09 +02:00
shortcutme
67d6b1e724
Fix double logging when running tests 2019-07-10 03:12:56 +02:00
shortcutme
e34a9d452a
Allow filter optional files by inner path 2019-07-10 03:11:20 +02:00
ZeroNet
2819a36469
Merge pull request #2084 from tangdou1/patch-5
Update zh.json
2019-07-09 03:01:13 +02:00
tangdou1
8815b4e0c3
Update zh.json 2019-07-08 10:05:34 +08:00
ZeroNet
960635b993
Fix win download link 2019-07-08 02:51:16 +02:00
shortcutme
f9dcb29e92
Remove development test version warning, add windows instuctions, remove outdated instuctions 2019-07-08 02:41:30 +02:00