caryoscelus
1ba9f2bb56
Merge pull request #234 from caryoscelus/fix-start-dir
...
Fix start dir
2023-11-08 14:51:06 +00:00
caryoscelus
c92b8bc56c
Fix UiServer.getPosted hanging in some circumstances
...
fixes #198
while it's not exactly clear what causes the difference in behaviour,
but under certain conditions UiServer.getPosted used to hang trying
to readline() POST request (e.g. from UiPassword login). using
read(CONTENT_LENGTH) seems to fix the issue
2023-11-01 22:12:14 +00:00
caryoscelus
9629442c1b
Merge pull request #214 from caryoscelus/fix-tests
...
Fix tests
2023-09-16 11:56:08 +00:00
caryoscelus
e7b566a8a8
Merge remote-tracking branch 'origin/master'
2023-09-15 14:23:38 +00:00
caryoscelus
537d7337e2
debug log
2023-09-15 14:23:19 +00:00
caryoscelus
751eaaab20
Merge remote-tracking branch 'origin/master' into fix-start-dir
2023-09-14 11:03:54 +00:00
caryoscelus
1eb094bba5
Fix detection of non-writeable start directory
2023-09-14 11:03:23 +00:00
caryoscelus
337f98a479
Add --disable_port_check option
2023-09-04 21:39:46 +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
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
809f138edb
Merge branch 'master' into disable_plugins_in_data
2023-07-21 10:56:58 +00:00
caryoscelus
51a6eaa057
fix threadpool test
2023-07-20 18:28:21 +00:00
caryoscelus
260c4e626b
make tests launch
2023-07-20 18:28:04 +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
e8f83590ee
disable plugins in data dir
2023-07-18 14:38:17 +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
caryoscelus
f2884f3c7c
reduce fingerprinting information: trackers
...
refs #163
2022-11-14 14:32:13 +00:00
caryoscelus
9f8524f66d
reduce fingerprinting information in siteInfo
...
refs #163
2022-11-14 14:28:12 +00:00
caryoscelus
79ffcac22d
reduce fingerprinting information accessible to unprivileged sites
...
refs #163
2022-11-14 13:58:57 +00:00
caryoscelus
8132457184
fix default ssl version to be secure
2022-09-19 20:03:16 +00:00
caryoscelus
53d51e8bc8
redirect .bit domains to hash actual addresses
...
refs #23
2022-09-19 16:05:25 +00:00
caryoscelus
128ff2dc39
comment in Db
2022-09-19 15:27:45 +00:00
caryoscelus
dc804b9d5f
remove unused code
2022-09-19 15:00:15 +00:00
caryoscelus
9a3fd95636
comments
2022-09-19 12:13:12 +00:00
caryoscelus
61915c620d
Merge pull request #159 from zeronet-conservancy/update_trackers
...
update trackers from Syncronite
2022-09-08 14:24:11 +00:00
caryoscelus
e4b491996f
Merge pull request #158 from zeronet-conservancy/keep_browser_process_alive
...
keep browser process alive
2022-09-08 14:23:36 +00:00
caryoscelus
6c1bbef54b
update trackers from Syncronite
2022-09-08 12:41:39 +00:00
caryoscelus
09bb67d904
keep browser process alive
2022-09-08 12:08:14 +00:00
caryoscelus
39042c5283
allow only passing port as tor_* parameters
...
fixes #153
2022-09-07 19:31:55 +00:00
caryoscelus
f7b009099a
consolidate & fix open browser behaviour
2022-09-06 16:04:58 +00:00
caryoscelus
887fb24a85
minor code improvements
2022-08-24 20:54:04 +00:00
caryoscelus
427bea581b
fix import style
2022-08-24 20:51:52 +00:00
caryoscelus
980548080c
Merge pull request #147 from zeronet-conservancy/sidebar_favourite
...
favourite/unfavourite in the sidebar
refs #146
2022-08-17 12:28:32 +00:00
caryoscelus
46aa7b45f5
be more flexible about opening any browser
2022-08-17 12:27:05 +00:00
caryoscelus
39a3830deb
bump version
2022-08-06 01:10:19 +00:00
caryoscelus
80320105d8
favourite/unfavourite in the sidebar
...
there's still a bug that doesn't update unfavouriting in real time
2022-08-06 00:45:27 +00:00
caryoscelus
9c74871d39
show help if exception is thrown early in startup
2022-07-30 23:10:42 +00:00
caryoscelus
8509a3c644
don't fail when plugin options are provided
...
fix regression introduced in 8913363ca8
fixes #142
2022-07-30 10:16:03 +00:00
caryoscelus
f40dbfeb21
v0.7.7
2022-07-27 13:59:38 +00:00
caryoscelus
8913363ca8
minor code improvements
...
fixes #138
2022-07-26 19:57:14 +00:00
caryoscelus
e50558a118
Merge pull request #120 from zeronet-conservancy/user_agent
...
reduce fingerprinting of site owner
2022-07-25 09:43:19 +00:00
caryoscelus
469b2439c5
Merge pull request #115 from zeronet-conservancy/skipcheck
...
skip redundant check
2022-07-25 09:42:48 +00:00
caryoscelus
1e6bb43ac0
remove pyaes from src/lib
...
it's now a standard dependency
2022-07-18 23:25:58 +00:00
caryoscelus
1d8aedce85
Merge pull request #122 from zeronet-conservancy/from_enhanced
...
enhancements from zeronet-enhanced by @geekless
2022-07-09 17:25:31 +00:00
caryoscelus
46ae0db986
Merge pull request #123 from zeronet-conservancy/minor_improv
...
Minor improvement in ConnectionServer
2022-07-09 17:24:38 +00:00
caryoscelus
74f8a6e11e
minor improvement in ConnectionServer
2022-07-07 21:31:24 +00:00
caryoscelus
ff5274c753
Merge pull request #116 from zeronet-conservancy/cm-impr
...
improve code in ContentManager
2022-07-04 10:05:21 +00:00
caryoscelus
ab9e8322fa
fix comment
2022-07-01 23:16:42 +00:00
caryoscelus
7353c8ff90
reduce fingerprinting of site owner
...
replace version with generic `user_agent` that will remain constant
2022-07-01 19:28:53 +00:00
caryoscelus
aa19bcf2e0
remove potential fingerprinting of site owner
...
inspired by @geekless 's 829fd46781
commit at
829fd46781
previously 0net would announce owned sites more frequently
which can help determine site owner
2022-06-29 18:50:55 +00:00
caryoscelus
da0a627ac0
improve and speed up content.json loading
...
parse json (which is required anyway) instead of ad-hock
re-based parsing
2022-06-29 18:39:54 +00:00
caryoscelus
981769b051
improve error message
...
this commit is adopted from d0069471b8
(d0069471b8
)
by @geekless
with original commit message:
Don't raise VerifyError with misleading message
"Invalid old-style sign" when the file has no sign at all.
2022-06-29 17:53:41 +00:00
caryoscelus
c5f5479ba8
Merge pull request #114 from zeronet-conservancy/xmlupnp
...
return upnp punch using secure xml library
2022-06-29 11:50:31 +00:00
caryoscelus
9ff7408cc6
improve code in ContentManager
2022-06-29 00:20:33 +00:00