caryoscelus
7658f57161
minor code improvement
2022-03-26 09:24:59 +00:00
caryoscelus
06727cb511
fix UiRequest.parsePath
2022-03-03 05:15:20 +00:00
caryoscelus
ba0662327b
fix uiwebsocket
...
fixes previous commit (usage of updatesite)
2022-02-02 12:26:57 +00:00
caryoscelus
15f94c325a
use new admin page as home page for now
...
this is temporary until new static home page with a choice
is made
2022-02-02 12:19:47 +00:00
caryoscelus
1a73dd794f
v0.7.3.2
...
fix version number
2022-01-26 20:18:32 +00:00
caryoscelus
855b23a84b
fix readdress loop
...
use better escaping in render
fixes #19
2022-01-26 19:28:17 +00:00
caryoscelus
66fcc037e3
change of ADMIN privilege management
...
- don't grant ADMIN permission to home or update pages
- allow granting ADMIN permission via `--admin_pages` command line option
2022-01-24 02:05:41 +00:00
caryoscelus
5b3c29485f
Merge branch 'master' into v073
2022-01-21 01:59:34 +00:00
caryoscelus
6803379ad2
code improvements in UiRequest
2022-01-14 19:03:48 +00:00
caryoscelus
f05e7c6e70
Merge branch 'master' into v073
2022-01-07 14:23:57 +00:00
caryoscelus
53d1437a65
fix orthography in error message
2022-01-07 12:45:05 +00:00
caryoscelus
2cfe2fa731
bump version v0.7.3
2022-01-07 11:52:00 +00:00
caryoscelus
00235a0288
better error message & minor comment
2022-01-07 11:23:59 +00:00
caryoscelus
023ec7706f
onion-v3 support fix (partial)
...
thanks @anonymoose
2021-12-25 18:19:07 +00:00
caryoscelus
cbc2c67b34
fix typo in onionv3 support
...
thanks @anonymoose
2021-12-24 14:50:07 +00:00
Vadim Ushakov
8dc589b98e
Add default onion v3 tracker addresses
2021-12-22 15:54:52 +00:00
caryoscelus
acb313f481
onionv3 support WIP
...
thanks to @anonymoose, @zeroseed and @geekless
2021-12-22 15:54:16 +00:00
caryoscelus
be00a7e855
Add ed25519.py from torproject (onion-v3 support)
...
57364fae7269ec562c5fc8cdb073ff9463d9a0f0
https://gitweb.torproject.org/stem.git/commit/stem/util/ed25519.py?id=57364fae7269ec562c5fc8cdb073ff9463d9a0f0
2021-12-21 10:03:18 +00:00
Tim Gates
3ad7bc87e5
docs: fix simple typo, positibe -> positive
...
There is a small typo in src/util/UpnpPunch.py.
Should read `positive` rather than `positibe`.
2020-12-22 07:44:57 +11:00
kabitofu
39d86fec9c
Japanese Translation
2020-12-04 13:07:32 +09:00
Tamas Kocsis
02c27b841f
Rev4555
2020-12-03 20:05:41 +01:00
Tamas Kocsis
b3c9de5e47
Don't show tracker tor bridge warning if more that 3 trackers finished
2020-12-03 20:02:48 +01:00
Tamas Kocsis
3ffa3c2f79
Use svg for top-right zero button
2020-12-03 20:02:20 +01:00
Styromaniac
2795e20b0c
Replaced logo-white.png with an SVG data URI.
2020-12-03 08:33:54 -05:00
Tamas Kocsis
ecfb6b6b3a
Rev4553, Debug messages formatting Windows fix
2020-11-30 14:38:25 +01:00
Tamas Kocsis
1b4f93f14b
Make Debug message test cases independent from line numbers, Windows support
2020-11-30 14:37:45 +01:00
ZeroNet
40db30a260
Merge pull request #2642 from imachug/better-logs
...
Use more unique yet short paths for logging
2020-11-30 14:08:50 +01:00
Tamas Kocsis
38a3ea6373
Rev4551, Keep uiserver running if fileserver bind failed
2020-11-26 02:01:41 +01:00
Tamas Kocsis
52d6c9fedf
Rev4550, Show all modified files after click
2020-11-19 03:05:53 +01:00
Tamas Kocsis
57dda4e6d6
Rev4549, Fix startup OpenSSL lib find recursion error
2020-11-09 01:21:52 +01:00
Tamas Kocsis
0a3bf43e1c
Rev4548
2020-11-03 02:53:15 +01:00
Tamas Kocsis
48455e3e45
Better cli test output
2020-11-03 02:52:50 +01:00
Tamas Kocsis
c515e26cd6
Fix OpenSSL dll/so location find patcher
2020-11-03 02:51:42 +01:00
Tamas Kocsis
5cac059ef4
Display warning if SSLCurve native load failed
2020-11-03 02:50:21 +01:00
Tamas Kocsis
6fcfe5b394
Rev4540, More proper bigfile filtering for OptionalFileList
2020-10-29 02:44:07 +01:00
Tamas Kocsis
12013d64c8
Rev4539, Add more extensions to UiFileManager binary files
2020-10-29 01:38:49 +01:00
Jabba
54fb2fde7c
Adding OGG MIME ( #2657 )
...
* Adding OGG MIME
Fixing: https://github.com/HelloZeroNet/ZeroNet/issues/2656
* Adding ova and ogv extensions
2020-10-26 15:59:42 +01:00
Ivanq
dd08b89c81
Make tests pass on Python 3.5
2020-10-13 20:36:39 +03:00
Ivanq
6770b450b3
Handle src/gevent/... paths
2020-10-13 19:50:08 +03:00
Ivanq
9b2772b171
Use more unique yet short paths for logging
2020-10-13 19:12:46 +03:00
shortcutme
29dac8a188
Rev4538
2020-10-12 13:12:44 +02:00
Tamas Kocsis
288050e5b4
Rev4537, Add warning on invalid file save in UiFileManager
2020-10-06 17:10:58 +02:00
Tamas Kocsis
785d2351eb
Rev4536, Fix Cors permission request for connecting site
2020-10-05 19:02:22 +02:00
Tamas Kocsis
9d1bed11af
Rev4533
2020-10-01 17:18:43 +02:00
Tamas Kocsis
c0baf8b68d
Version 0.7.2, Rev4528
2020-09-21 18:28:12 +02:00
Tamas Kocsis
85790f8866
Check sites on ip change
2020-09-21 18:20:49 +02:00
Tamas Kocsis
ce5b4c3eda
Don't non-existent files as bad
2020-09-18 18:45:42 +02:00
Tamas Kocsis
fde3b51129
Formatting
2020-09-18 18:44:42 +02:00
Tamas Kocsis
550d02d473
Retry site update if it was failed last time
2020-09-18 18:44:28 +02:00
Tamas Kocsis
4da89580c1
Don't mark content.json as bad file if update failed
2020-09-18 18:43:54 +02:00
Tamas Kocsis
bf092b83ab
Workaround for stuck iframe url in Firefox when using back button
2020-09-18 18:43:25 +02:00
Tamas Kocsis
0309b81695
SiteListModifiedFiles: Give error instead of exception if content file does not exists
2020-09-18 18:42:03 +02:00
Tamas Kocsis
e74fdc4036
Redirect homepage with / at the end
2020-09-09 18:29:53 +02:00
Tamas Kocsis
b9c65d75ef
Move error log handler to config object to be able to catch plugin load errors
2020-09-09 18:29:24 +02:00
Tamas Kocsis
5b09f7af41
New port checker: ipfingerprints.com, PortChecker minor rearranging
2020-09-08 19:35:23 +02:00
Tamas Kocsis
1695571afa
Add browser-like header for port checker requests
2020-09-08 19:32:45 +02:00
Tamas Kocsis
8dc5aee8aa
Js based redirecting template formatting
2020-09-08 19:32:10 +02:00
Tamas Kocsis
94765af0f3
Fix not downloaded site delete on startup
2020-09-08 19:28:41 +02:00
Tamas Kocsis
5a226baaa5
Reduce announce number for not recently added sites
2020-09-08 19:28:04 +02:00
Tamas Kocsis
b7bc197012
Only try to get more peers for timeout task if site is recently added
2020-09-08 19:26:18 +02:00
Tamas Kocsis
e14f5bf847
Allow modified files query from non-admin sites
2020-09-04 18:15:56 +02:00
Tamas Kocsis
79f10ffe0c
Return error when fileGet binary file
2020-09-04 18:15:16 +02:00
Tamas Kocsis
0bc9374a7d
Optional stats to dirList websocket API command
2020-09-04 18:14:22 +02:00
Tamas Kocsis
8a71bf65cd
Don't leak local path on delete error
2020-09-04 18:08:43 +02:00
Tamas Kocsis
9d198ff7f2
Display full path in 404 error instead of inner_path
2020-09-04 18:07:29 +02:00
Tamas Kocsis
cafeebf120
Fix wrapper_nonce adding to url
2020-09-04 18:07:03 +02:00
Tamas Kocsis
46fba195da
Merge js, css
2020-09-04 17:57:56 +02:00
Tamas Kocsis
501bd51bd1
Only set title from content.json if wrapperSetTitle has not been called
2020-09-04 17:57:34 +02:00
Tamas Kocsis
f7874e1ca3
Fix loading bar hide bug
2020-09-04 17:56:16 +02:00
Tamas Kocsis
8d964d1b8e
Fix infopanel overflow on mobile devices
2020-09-04 17:55:41 +02:00
Tamas Kocsis
6c1abf4004
Don't switch to libev for newer versions of gevent
2020-09-04 17:49:23 +02:00
Tamas Kocsis
0907edb6b1
Remove obsolate auth_key generation
2020-09-04 17:35:48 +02:00
shortcutme
47ff6c6801
Rev4496
2020-06-30 17:04:55 +02:00
shortcutme
6bd49e8aff
Fix killing greenlets gevent exception
2020-06-30 17:04:47 +02:00
shortcutme
ddbd5c7b19
Fix reset file server port with config web interface
2020-06-30 17:04:09 +02:00
shortcutme
14cbaf47c8
Rev4493
2020-06-18 17:28:56 +02:00
shortcutme
ea6016d004
Fix latest gevent compatibility
2020-06-18 17:22:45 +02:00
shortcutme
79d26060b3
Add site address hash to site info websocket response
2020-06-18 17:22:33 +02:00
shortcutme
97ad084c21
Ignore ipv6 tests if not supported by os
2020-06-18 17:22:08 +02:00
shortcutme
179e5cb651
Fix portchecker.co
2020-06-18 17:21:43 +02:00
Guilherme
e4f42b8ce3
Avoid iterating in uninitialized result
2020-05-11 11:51:10 -03:00
Guilherme
85733abade
Remove unnecessary debugger
2020-05-10 02:04:30 -03:00
shortcutme
8db4344171
Rev4486, Fix UiPassword cleanup error
2020-05-04 13:38:30 +02:00
Andrew Morgan
cfef7ab071
Fix pluralize translation function
2020-05-03 14:31:20 +01:00
shortcutme
38c1727b94
Rev4485
2020-05-03 03:59:33 +02:00
shortcutme
07faa3d6d3
Move wrapper necessary check to separate function
2020-05-03 03:56:06 +02:00
shortcutme
ad3920b26a
Rev4478, Skip slow updated files checking with large content.json
2020-04-11 13:34:18 +02:00
Ivanq
0a9a9b5a57
Support compressed keys
2020-03-30 09:40:06 +03:00
shortcutme
56acac8cd3
Rev4473, Fix Merger site skipping content load to db for some seconds after new site added
2020-03-25 04:13:16 +01:00
ZeroNet
c90c887f8f
Merge pull request #2491 from imachug/import-sslcrypto
...
Import sslcrypto from lib
2020-03-21 21:50:35 +01:00
Ivanq
a4d91f7081
Import sslcrypto from lib
2020-03-21 22:52:56 +03:00
shortcutme
31d4304915
Rev4471, Allow files start with dot
2020-03-21 19:51:44 +01:00
shortcutme
1eec388252
Rev4469
2020-03-20 18:53:25 +01:00
shortcutme
f41d022038
Log BrokenPipeError as warning
2020-03-20 18:52:18 +01:00
shortcutme
723d1f4370
Rev4467
2020-03-18 03:21:14 +01:00
Ivanq
66194ce435
Update gevent-ws to v2.0.7 to fix werkzeug
2020-03-17 23:48:36 +03:00
Ivanq
ba156bbdec
Potential fix of BrokenPipeError
2020-03-17 07:54:56 +03:00
Ivanq
d3d18234df
Upgrade gevent-ws to v2.0.5
2020-03-16 20:50:10 +03:00
ZeroNet
faa24a8b41
Merge pull request #2478 from imachug/sslcrypto-weird
...
Switch to sslcrypto v4.0 to support OpenSSL without builtin curves
2020-03-16 17:43:30 +01:00
Ivanq
7e17a4e967
Switch to sslcrypto v4.0 to support OpenSSL without builtin curves
2020-03-15 20:18:04 +03:00
Ivanq
19f003141b
Disable process_result on websocket requests
2020-03-14 07:27:19 +03:00
Ivanq
33af83b2cd
Search for any OpenSSL version in LD_LIBRARY_PATH
2020-03-10 22:31:26 +03:00
Ivanq
a2457b2488
Forgot that Upgrade is case-insensitive
2020-03-09 11:06:35 +03:00
ZeroNet
296e4aab57
Fix sslcrypto thread safety ( #2454 )
...
* Use sslcrypto instead of pyelliptic and pybitcointools
* Fix CryptMessage
* Support Python 3.4
* Fix user creation
* Get rid of pyelliptic and pybitcointools
* Fix typo
* Delete test file
* Add sslcrypto to tree
* Update sslcrypto
* Add pyaes to src/lib
* Fix typo in tests
* Update sslcrypto version
* Use privatekey_bin instead of privatekey for bytes objects
* Fix sslcrypto
* Fix Benchmark plugin
* Don't calculate the same thing twice
* Only import sslcrypto once
* Handle fallback sslcrypto implementation during tests
* Fix sslcrypto fallback implementation selection
* Fix thread safety
* Add derivation
* Bring split back
* Fix typo
* v3.3
* Fix custom OpenSSL discovery
2020-03-05 17:54:46 +01:00
Ivanq
09e65e1d95
Make ThreadPool a context manager to prevent memory leaks
2020-03-05 08:06:57 +03:00
shortcutme
c4f65a5d7b
Rev4462, Experimental fix for segfault on shutdown
2020-03-04 21:50:28 +01:00
ZeroNet
37a401fdef
Merge pull request #2449 from krzotr/polish-translation
...
Polish translation
2020-03-04 18:14:06 +01:00
ZeroNet
7bf790003e
Merge pull request #2453 from krzotr/patch-7
...
Fixed `Cache-Control` for .js and .css files - 10 minutes cache
2020-03-02 18:25:16 +01:00
shortcutme
f46b945cdc
Rev4461
2020-03-02 17:09:21 +01:00
shortcutme
e0bf4dc9ec
Skip announcing to trackers with unsupported address
2020-03-02 17:08:43 +01:00
shortcutme
1fc67a3d71
Rev4460, Fix mergersite update on slow storage
2020-03-02 16:44:34 +01:00
krzotr
5baacf963d
Fixed Cache-Control
for .js and .css files
2020-02-29 00:51:41 +01:00
Krzysztof Otręba
b790bcac9b
Polish translation
2020-02-28 01:24:44 +01:00
Ivanq
219b90668f
Switch from gevent-websocket to gevent-ws ( #2439 )
...
* Switch from gevent-websocket to gevent-ws
* Return error handling, add gevent_ws source to lib
2020-02-28 01:20:04 +01:00
shortcutme
6218a92895
Rev4458
2020-02-25 16:47:28 +01:00
shortcutme
58f03e21ef
Change unreliable trackers
2020-02-25 16:47:04 +01:00
shortcutme
b85477787d
Workaround for Tor utf8 cookie file path encoding bug on Windows
2020-02-25 16:46:21 +01:00
shortcutme
6a1235bd45
Remove old Gevent RLock support
2020-02-25 16:45:55 +01:00
shortcutme
f0a706f6ab
Rev4455, Fix new sites file downloading
2020-02-21 13:58:11 +01:00
shortcutme
8b994e42c2
Rev4452
2020-02-20 17:27:50 +01:00
shortcutme
ae9a76a6c9
Fix double sites.json loading on startup when adding missing sites
2020-02-20 17:27:31 +01:00
shortcutme
9b85d8638d
Don't allow run site api calls when site is deleting
2020-02-20 17:25:56 +01:00
shortcutme
a9c75a3146
Fix start dir parsing for command line and better description
2020-02-20 17:25:06 +01:00
shortcutme
1cc0ec3f31
Indepently configurable OpenSSL lib/bin file
2020-02-20 17:23:00 +01:00
ZeroNet
32855d0479
Merge pull request #2426 from canewsin/patch-2
...
Added Custom Openssl Path for Native Clients and start_dir config
2020-02-19 17:20:24 +01:00
shortcutme
2c826eba2d
Rev4447, Fix Msgpack 1.0.0 compatibility
2020-02-19 16:48:14 +01:00
canewsin
8facd9ff84
Added Custom Openssl Path for Native Clients and start_dir config
...
This Parameter helpful where openssl path is not fixed always, we can also use this to reduce code verbosity by providing other like these and provide them as parameter
if sys.platform.startswith("win"):
self.openssl_bin = "tools\\openssl\\openssl.exe"
elif config.dist_type.startswith("bundle_linux"):
self.openssl_bin = "../runtime/bin/openssl"
else:
self.openssl_bin = "openssl"
Also Added Custom start_dir config option since android path issue of not valid "./" path, where files via provided path are not loading on some systems like Android client.
for more detailed conversation see pull request [#2422 ](https://github.com/HelloZeroNet/ZeroNet/pull/2422 )
2020-02-18 23:09:16 +05:30
shortcutme
64e5e0c80e
Rev445, Fix and test random fail in CryptMessage decrypt
2020-02-18 15:28:14 +01:00
shortcutme
8aa4e27938
Rev4411
2020-02-13 17:26:29 +01:00
shortcutme
d2627f36d5
Pass all arguments on site need
2020-02-13 17:23:37 +01:00
shortcutme
d36324e0d3
More detailed info on http host error
2020-02-13 17:23:00 +01:00
shortcutme
113b57415f
More detailed info on origin error
2020-02-13 17:22:37 +01:00
shortcutme
fefd2474b1
Don't reload sites on listing
2020-02-13 17:22:09 +01:00
shortcutme
037f0a3ff4
Rev4404
2020-02-07 16:43:23 +01:00
shortcutme
6d425f30fe
Stop checkconnections with connectionserver
2020-02-07 16:38:42 +01:00
shortcutme
8e79a7da63
Fix incomplete loading of dbschema.json
2020-02-07 16:37:37 +01:00
shortcutme
10c02c31c2
Rev4401
2020-01-28 16:59:03 +01:00
shortcutme
2e9cff928c
Skip commit if already commiting
2020-01-28 16:58:14 +01:00
shortcutme
46210b2f04
Use peer ip in peer exchange if no active connection
2020-01-28 16:57:20 +01:00
shortcutme
6dae187e22
More detailed logging on write error
2020-01-28 16:56:35 +01:00
shortcutme
11415fe082
Log mock ws caller to get more detail on random test fail
2020-01-24 16:05:19 +01:00
shortcutme
ac8aaaff75
Rev4399
2020-01-22 16:37:48 +01:00
shortcutme
238ede9419
Only correct time if we have at least 9 connected peers
2020-01-22 16:37:07 +01:00
shortcutme
835174270e
Less wait for closing cursors
2020-01-22 16:36:52 +01:00
shortcutme
62a2ec7254
Make sure to commit before vacuum
2020-01-22 16:36:33 +01:00
shortcutme
a9368bb3c8
Don't allow parallel sites.json loading
2020-01-22 16:35:40 +01:00
shortcutme
224093b3dd
Rev4397, Fix big file invalid path errors
2020-01-09 16:35:05 +01:00
Ivanq
77c3e43978
Detect content encoding based on query string ( #2385 )
2020-01-07 10:34:14 +01:00
shortcutme
03350d7454
Rev4394
2020-01-04 16:56:42 +01:00
shortcutme
c5d51c9cab
Verify cert in separate function
2020-01-04 16:54:34 +01:00