Commit graph

4374 commits

Author SHA1 Message Date
caryoscelus
e34dcaeb57
Merge pull request #229 from caryoscelus/improve-safere
Improve SafeRe
2023-08-07 13:11:53 +00:00
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
a209f6a956
Merge pull request #226 from caryoscelus/drop-py35
Drop attempts at py<3.6 compatibility
2023-07-30 10:08: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
e79924d502 Fix downloading GeoIP database
fixes #222
2023-07-29 17:20:11 +00:00
caryoscelus
714729edab New development cycle 2023-07-29 16:47:11 +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
433b324173 windows os .exe build instruction 2023-07-25 15:11:11 +00:00
caryoscelus
dd5976a08e
Merge pull request #218 from caryoscelus/upnp-anonymous
more anonymous upnp
2023-07-25 15:06:18 +00:00
caryoscelus
db78b2aca0
Merge pull request #220 from caryoscelus/fix-error-handling
fix error handling (was: unbound local variable)
2023-07-25 15:05:41 +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
9d8be57025 bootstrap.url 2023-07-23 19:56:33 +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
62f14371bd
Merge pull request #215 from caryoscelus/no-local-zeroname
No local zeroname

refs #23
2023-07-23 09:50:42 +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
00f298a8e9
Merge pull request #217 from caryoscelus/http-accept-asterisk
don't fail if http_accept header is */*
2023-07-21 14:15:17 +00:00
caryoscelus
3330b19e31 don't fail if http_accept header is */*
fixes #67
2023-07-21 12:00:23 +00:00
caryoscelus
f06050c9a5
Merge pull request #172 from zeronet-conservancy/codeql_fix
fix codeql python flow
2023-07-21 10:51:58 +00:00
caryoscelus
c07334f2d5 remove Dnschain plugin (alternative .bit resolution)
as we freezed domains, this is no longer needed

refs #23
2023-07-20 18:41:47 +00:00
caryoscelus
f8e24d47e3 remove ZeronameLocal plugin
we no longer need it as all domains have been freezed

refs #23
2023-07-20 18:38:20 +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
d9fea20e62
Merge pull request #210 from zeronet-conservancy/allow_null_permission_rules
Allow setting permission_rules to null in content.json
2023-07-20 03:38:35 +00:00
caryoscelus
b7e3f10a85 allow manual codeql dispatch 2023-07-20 03:37:18 +00:00
caryoscelus
45788d4749 Merge branch 'master' into codeql_fix 2023-07-20 03:34:54 +00:00
caryoscelus
24a7ba72ed
Merge pull request #211 from zeronet-conservancy/workflow_update
fix github workflow file
2023-07-19 18:43:06 +00:00
caryoscelus
32e8f70878 fix workflow file 2023-07-18 20:21:57 +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
1f19ab604e update merkletools dep 2023-07-05 15:03:44 +00:00
caryoscelus
d16c71966b fix ReDoS in file editor (UiFileManager plugin) due to outdated codemirror
just patched from updated version, ideally codemirror dependency should be
included during build stage, but there's no infrastructure for that (yet)
2023-07-03 21:19:40 +00:00