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
a334eefdf7
Bump version
2023-07-30 19:00:43 +00:00
caryoscelus
0f3a489415
Merge pull request #225 from caryoscelus/fix-geoip-load
...
Fix geoip load
2023-07-30 13:17:15 +00:00
caryoscelus
a509032c8e
Drop attempts at py<3.6 compatibility
...
Wake up, it's 2023 now. Also f-strings has been used prominently already
2023-07-29 18:03:45 +00:00
caryoscelus
b358435016
Remove dead code
2023-07-29 17:20:45 +00:00
caryoscelus
18d35d3bed
v0.7.10
2023-07-26 08:01:47 +00:00
caryoscelus
40ae09dca8
py3.8 compat
2023-07-26 07:56:31 +00:00
caryoscelus
eeaded23f9
Update bootstrap url
2023-07-26 07:14:14 +00:00
caryoscelus
5945dd2e3c
Merge pull request #221 from caryoscelus/fix-0net-leak
...
Disable third-party access to 0net server.
2023-07-26 07:06:46 +00:00
caryoscelus
615e155043
Merge pull request #219 from caryoscelus/bootstrap
...
Bootstrap 0net trackers on first launch
2023-07-26 07:06:18 +00:00
caryoscelus
f336cd02bd
More sophisticated detection of cross-site info leak
...
see previous commit for more info
2023-07-25 20:58:57 +00:00
caryoscelus
0811902ff6
Disable third-party access to 0net server.
...
This previously enabled clearnet sites to detect if user is running 0net instance
on their machine as well as to detect which 0net sites are downloaded.
Check online at https://riza-committee.github.io/demos/0scan.html
Intra-0net version of this is still available at
http://127.0.0.1:43110/1ScanCY9fjmjanDt7NwvyNQCL16hqWnVM/
2023-07-25 19:13:12 +00:00
caryoscelus
a8c2117a55
CHANGELOG & revision bump
2023-07-25 15:11:33 +00:00
caryoscelus
dd5976a08e
Merge pull request #218 from caryoscelus/upnp-anonymous
...
more anonymous upnp
2023-07-25 15:06:18 +00:00
caryoscelus
d924e9bb2e
fix error handling (was: unbound local variable)
2023-07-24 10:29:25 +00:00
caryoscelus
70f2eeada1
Don't spam console with failed announcements
...
These should be debug, not warning (previously warning reporting was disabled)
2023-07-24 09:18:42 +00:00
caryoscelus
1d2e264a44
Remove manually copied tracker list
2023-07-24 08:36:00 +00:00
caryoscelus
41c7bd47c8
Use Syncronite directly by default
2023-07-24 08:22:19 +00:00
caryoscelus
2b51e23650
Fix importBundle
...
Avoid using SiteManager as initializing it out of order breaks things
2023-07-24 08:21:31 +00:00
caryoscelus
9444e097a6
New command line action: importBundle; load bootstrap bundle on first run
...
- importBundle imports zip archive of sites
- latest bootstrapping bundle is downloaded if data/ dir is empty; primary
reason for this for now is to avoid constantly updating tracker list in
git tree and use Syncronite instead
2023-07-23 21:25:11 +00:00
caryoscelus
5a184a5489
Don't hide warnings in console
...
WARNING logging level is higher than INFO so really shouldn't hide them..
2023-07-23 21:13:58 +00:00
caryoscelus
76d1b14eaf
Ignore missing sites.json gracefully
2023-07-23 21:13:52 +00:00
caryoscelus
cbf9c78e8c
helper function: quickly check if a string looks like a valid Bitcoin address
2023-07-23 10:44:21 +00:00
caryoscelus
f94765f7b9
more anonymous upnp
...
thanks to 0netdwf for reporting
2023-07-23 09:37:52 +00:00
caryoscelus
5cc1bdf92f
Merge pull request #213 from zeronet-conservancy/recursive-publish
...
support --recursive sitePublish on command line
2023-07-22 12:08:04 +00:00
caryoscelus
3330b19e31
don't fail if http_accept header is */*
...
fixes #67
2023-07-21 12:00:23 +00:00
caryoscelus
c09b5e16c9
sitePublish --recursive option
2023-07-20 16:29:04 +00:00
caryoscelus
8700351f33
remove unused broken code
2023-07-20 16:16:54 +00:00
caryoscelus
3dc2283718
allow setting permission_rules to null to forbid everything
2023-07-18 20:08:20 +00:00
caryoscelus
8b7d7d5f7c
bump version
2023-07-18 19:40:45 +00:00
caryoscelus
f966a4203f
v0.7.9
...
no longer officially maintained
2023-07-02 03:46:37 +00:00
caryoscelus
053eb8e7d6
updated trackers from Syncronite by @Styromaniac
2023-07-02 03:45:59 +00:00
caryoscelus
e36f7bb3a5
siteSign accepts absolute paths as well as paths relative to working directory
...
- also store working_dir in config so it's possible to use from other
actions as well
fixes #209
2023-07-02 03:40:11 +00:00
caryoscelus
8706f5f712
revert circular import style in Site/SiteManager
...
fixes #203
2023-03-14 12:18:42 +00:00
caryoscelus
b5380f6b26
Fix /raw readdress
...
fixes #199
2022-12-11 17:48:37 +00:00
caryoscelus
3c7670a703
fix debug messages
2022-12-10 16:39:18 +00:00
caryoscelus
091323d4e3
TODO comments
2022-12-06 15:59:52 +00:00
caryoscelus
fa1c25326a
report error when peer rejects our update
...
also improve code and comment
2022-12-05 09:31:06 +00:00
caryoscelus
03a9f2c490
new development cycle
2022-11-29 16:40:46 +00:00
caryoscelus
7c73d7543c
minor code improvement
...
use format strings for readability
2022-11-29 16:39:21 +00:00
caryoscelus
0054eca9df
v0.7.8.1
...
update CHANGELOG & bump revision
2022-11-28 15:53:08 +00:00
caryoscelus
b1f2560037
update CHANGELOG
...
preparing v0.7.8.1
2022-11-28 13:03:51 +00:00
caryoscelus
f02e576973
code comment
2022-11-28 09:28:52 +00:00
caryoscelus
119352a685
Revert "remove unused code"
...
This reverts commit dc804b9d5f
.
fixes #182
2022-11-28 09:13:32 +00:00
caryoscelus
0475a39fe1
release commit hash in CHANGELOG
2022-11-23 21:34:14 +00:00
caryoscelus
110307a419
v0.7.8
2022-11-23 11:18:07 +00:00
caryoscelus
fe262247ae
Merge pull request #179 from zeronet-conservancy/bit_domain_archive
...
use archived version of .bit domain list (deprecated) by default
refs #23
2022-11-21 11:21:36 +00:00
caryoscelus
76d96043d6
Merge pull request #168 from zeronet-conservancy/redirect_bit_domains
...
redirect bit domains
2022-11-20 16:43:10 +00:00
caryoscelus
b2acdc8e47
use archived version of .bit domain list (deprecated) by default
2022-11-20 14:48:47 +00:00