Commit graph

4060 commits

Author SHA1 Message Date
Vadim Ushakov
23ef37374b Various fixes in ChangeLog-0.8.0.md 2021-10-20 17:39:39 +07:00
Vadim Ushakov
488fd4045e Update ChangeLog-0.8.0.md 2021-10-20 17:28:03 +07:00
Vadim Ushakov
769a2c08dd Fix possible infinite growing of the SafeRe regexp cache by limiting the cache size 2021-10-20 17:25:47 +07:00
Vadim Ushakov
d2b65c550c Minor fix in ChangeLog-0.8.0.md 2021-10-20 16:43:13 +07:00
Vadim Ushakov
d5652eaa51 Update ChangeLog-0.8.0.md 2021-10-20 16:42:21 +07:00
Vadim Ushakov
164f5199a9 Add default onion v3 tracker addresses 2021-10-20 16:28:28 +07:00
Vadim Ushakov
72e5d3df64 Fix typo in "All server stopped" 2021-10-20 14:28:22 +07:00
Vadim Ushakov
1c73d1a095 Merge TORv3 patch
From: http://127.0.0.1:43110/19HKdTAeBh5nRiKn791czY7TwRB1QNrf1Q/?:users/1HvNGwHKqhj3ZMEM53tz6jbdqe4LRpanEu:zn:dc17f896-bf3f-4962-bdd4-0a470040c9c5

Related issues:
https://github.com/HelloZeroNet/ZeroNet/issues/2351
https://github.com/HelloZeroNet/ZeroNet/issues/1292
2021-10-20 14:26:07 +07:00
Vadim Ushakov
b9ec7124f9 minor changes for debugging 2021-10-20 14:02:00 +07:00
Vadim Ushakov
abbd2c51f0 Update ChangeLog-0.8.0.md 2021-03-31 12:55:45 +07:00
Vadim Ushakov
be65ff2c40 Make more efforts of looking for peers when publishing a site 2021-03-31 11:27:19 +07:00
Vadim Ushakov
c772592c4a New default ZeroHello address 2021-03-31 11:20:37 +07:00
Vadim Ushakov
5d6fe6a631 Fix a bug introduced in c84b413f58 2021-03-31 11:16:06 +07:00
Vadim Ushakov
adaeedf4d8 Dockerfile: move to alpine:3.13 in order to use newer tor version 2021-03-31 10:51:17 +07:00
Vadim Ushakov
8474abc967 Fix building the docker image 2021-03-31 09:39:22 +07:00
Vadim Ushakov
986dedfa7f Trying to fix incomplete updates
Partially fixes https://github.com/HelloZeroNet/ZeroNet/issues/2476

Approx. every 10th update check is now performed with `since = 0`
2021-03-25 12:41:53 +07:00
Vadim Ushakov
0151546329 ContentManager.py: move duplicated code to new method serializeForSigning() 2021-03-24 09:51:07 +07:00
Vadim Ushakov
d0069471b8 Don't raise VerifyError with misleading message "Invalid old-style sign" when the file has no sign at all. 2021-03-24 08:04:23 +07:00
Vadim Ushakov
1144964062 Make the site block check usable from plugins and core modules
Fixes https://github.com/HelloZeroNet/ZeroNet/issues/1888
2021-03-23 23:16:35 +07:00
Vadim Ushakov
6c8849139f ZNE-ChangeLog/ChangeLog-0.8.0.md: typos 2021-03-23 19:05:51 +07:00
Vadim Ushakov
3677684971 Add ZNE-ChangeLog/ChangeLog-0.8.0.md 2021-03-23 19:02:43 +07:00
Vadim Ushakov
4e27e300e3 Delete plugin/AnnounceShare/ 2021-03-23 16:01:36 +07:00
Vadim Ushakov
697b12d808 Fix naming. verifyContentJson() should be verifyContentFile() 2020-11-04 22:13:21 +07:00
Vadim Ushakov
570f854485 Fix a typo in Site.py 2020-11-04 21:58:32 +07:00
Vadim Ushakov
5d5b3684cc ContentManager: split verifyFile() into 2 functions and always log the verify error at INFO level 2020-11-04 18:22:14 +07:00
Vadim Ushakov
7354d712e0 Be more persistent in delivering site updates. 2020-11-04 16:08:01 +07:00
Vadim Ushakov
6c8b059f57 FileServer: small fixes 2020-11-04 16:05:01 +07:00
Vadim Ushakov
27ce79f044 Fix a typo in FileServer 2020-11-04 09:56:29 +07:00
Vadim Ushakov
90d01e6004 Fix a tor issue introduced in the latest changes 2020-11-04 09:25:44 +07:00
Vadim Ushakov
325f071329 Fixes and refactoring in Connection.py, Peer.py 2020-11-03 23:25:29 +07:00
Vadim Ushakov
c84b413f58 Refactor ConnectionServer, FileServer; fix bugs introduced in previous commits 2020-11-03 21:21:33 +07:00
Vadim Ushakov
ba16fdcae9 Fix a typo 2020-11-02 09:04:38 +07:00
Vadim Ushakov
ea21b32b93 Add explicit invalidation and expiration of site update timestamps 2020-10-31 18:05:50 +07:00
Vadim Ushakov
e8358ee8f2 More fixes on the way to reliable site updates. 2020-10-31 03:59:54 +07:00
Vadim Ushakov
d1b9cc8261 Redesign the Internet outage detection. Improvements in FileServer threads. 2020-10-30 23:28:16 +07:00
Vadim Ushakov
829fd46781 Redesign the site updating strategy in Site.py, SiteAnnouncer.py, FileServer.py 2020-10-30 14:36:08 +07:00
Vadim Ushakov
adf40dbb6b Refactor SiteAnnouncer.announce 2020-10-29 12:57:16 +07:00
Vadim Ushakov
8fd88c50f9 Redesign cleanupSites() and all the related stuff and rename it to periodic maintenance. 2020-10-28 23:38:17 +07:00
Vadim Ushakov
511a90a5c5 Redesign Site.needConnections() 2020-10-28 20:31:48 +07:00
Vadim Ushakov
3ca323f8b0 FileServer: move loadTrackersFile() to a separate thread 2020-10-28 17:56:11 +07:00
Vadim Ushakov
112c778c28 Peer.py: allow overriding the log level
Not a best solution, but with minimal code changes.
2020-10-28 14:53:56 +07:00
Vadim Ushakov
f1d91989d5 SiteAnnouncer: make use of a separate logger instance, not the Site's logger 2020-10-28 14:51:17 +07:00
Vadim Ushakov
b6ae96db5a Implement overriding log levels for separate modules 2020-10-28 14:48:30 +07:00
Vadim Ushakov
3d68a25e13 TrackerShare: refactor 2020-10-27 17:01:40 +07:00
Vadim Ushakov
d4239d16f9 TrackerShare: send my trackers in response to actionGetTrackers even if they don't seem working; add private field for hiding trackers 2020-10-27 12:08:54 +07:00
Vadim Ushakov
b0005026b4 TrackerShare: rename the shared key to trackers key in the json file
and delete the unused `type` parameter
2020-10-26 19:52:35 +07:00
Vadim Ushakov
1f34f477ef TrackerShare: add plugin_info.json 2020-10-26 13:33:25 +07:00
Vadim Ushakov
e33a54bc65 Merge branch 'py3' into plugins 2020-10-26 00:35:00 +07:00
shortcutme
29dac8a188
Rev4538 2020-10-12 13:12:44 +02:00
Ivanq
352da6bf62
Allow sites to request several CORS permissions at once (#2631)
* Allow sites to request several CORS permissions at once

* Fix typo

* Don't wait for CORS site download
2020-10-12 13:00:40 +02:00