shortcutme
7ffb7db888
Add task statistics logging every 15sec
2019-03-15 23:29:04 +01:00
shortcutme
74366379ba
Only log added task in verbose mode
2019-03-15 23:26:33 +01:00
shortcutme
b0b9a4d33c
Change to Python3 coding style
2019-03-15 21:06:59 +01:00
ZeroNet
116347ef66
Merge pull request #1921 from rllola/tracker-announcer
...
If no port defined in tracker url assume it is port 80
2019-03-10 23:42:07 +01:00
rllola
58516913b4
if protocol https choose port 443
2019-03-10 22:19:37 +01:00
rllola
fb836fcf6f
If no port defined in tracker url assume it is port 80; fix #1917
2019-03-09 18:41:50 +01:00
ZeroNet
1ad44ace0a
Merge pull request #1916 from rllola/ld-library-path-openssl
...
Ld library path openssl
2019-03-06 16:05:54 +01:00
rllola
32ddaed376
Actually at ALL the path in the environnement variable and look for the openssl lib
2019-03-05 18:58:47 +01:00
rllola
4e388e5dc2
Find openssl lib in LD_LIBRARY_PATH
2019-03-05 18:33:29 +01:00
shortcutme
f90d0d2dae
Rev3853
2019-02-24 02:29:35 +01:00
shortcutme
b47920169f
Test unsupported pex peers removing
2019-02-24 02:29:27 +01:00
shortcutme
81bf349871
Remove ipv6 and onion from pex result if not supported
2019-02-24 02:29:08 +01:00
shortcutme
9d849a16ec
Use defaultdict to for findHashId result
2019-02-24 02:28:42 +01:00
shortcutme
174e8d3c19
Rev3852
2019-02-16 23:49:20 +01:00
shortcutme
511a5c0d1f
Nonce based CSP not supported in Safari yet
2019-02-16 23:49:10 +01:00
shortcutme
952a1a1da8
Rev3851, Fix typo with onion address detection
2019-02-16 20:50:49 +01:00
shortcutme
819c2b0bc3
Rev3850
2019-02-14 15:52:30 +01:00
shortcutme
30984c62fa
Change trackers to more reliable ones
2019-02-14 15:52:22 +01:00
shortcutme
bd649cfb33
Remove ui_server allowed http host learning
2019-02-14 15:49:10 +01:00
shortcutme
5c57cd6541
Support https trackers, add browser-like user agent for tracker http requests
2019-02-14 15:48:36 +01:00
shortcutme
523f8dae2a
Rev3846
2019-02-09 13:57:08 +01:00
shortcutme
4e56fe9fc3
Fix sitePublish CLI command if no client is running
2019-02-09 13:56:44 +01:00
shortcutme
2829146598
Merge wrapper js, css
2019-02-09 13:56:21 +01:00
shortcutme
b5ed158cc6
Fix closed display of infopanel if sidebar opened
2019-02-09 13:56:12 +01:00
shortcutme
7314f20563
Set number of changed files for closed infopanel
2019-02-09 13:55:53 +01:00
shortcutme
0559eb1a9a
Rev3844
2019-02-05 15:55:23 +01:00
shortcutme
40f732cd48
Only show modified files notification if site is owned
2019-02-05 15:55:12 +01:00
shortcutme
eb837e3685
Close button for site modified files notification
2019-02-05 15:54:32 +01:00
shortcutme
8ddfbf37c3
New siteSetSettingsValue to change site specific setting
2019-02-05 15:52:01 +01:00
shortcutme
0729ea1c38
Version 0.6.5, Rev3840
2019-02-02 00:13:09 +01:00
shortcutme
39541fe348
Modified site source admin panel
2019-02-02 00:12:50 +01:00
shortcutme
259c5199d6
siteListModifiedFiles admin command
2019-02-02 00:11:47 +01:00
shortcutme
c2b879ccab
Rev3831, Fix Stats page compatibility with latest gevent
2019-01-31 00:39:45 +01:00
shortcutme
8447c6d79f
Rev3829
2019-01-30 14:58:20 +01:00
shortcutme
46fb61c68c
Consider port opened if we have external ip on the interface
2019-01-30 14:58:11 +01:00
shortcutme
860ef650f9
Support IPv6 in Tor always mode by creating ipv4 sockets with ipv6 address
2019-01-30 14:53:33 +01:00
shortcutme
ef6f9b9d70
Don't try to open ports in Tor mode
2019-01-30 14:52:41 +01:00
shortcutme
9f701c8f35
IPv6 supported in tor mode
2019-01-30 14:52:26 +01:00
shortcutme
e18d3d0c93
Only return valid ips from getInterfaceIps
2019-01-30 14:51:45 +01:00
shortcutme
31a7effa5f
Rev3827, Share FileServer between sites for non-main CLI commands
2019-01-29 03:17:24 +01:00
shortcutme
42f3f405ea
Rev3826
2019-01-29 03:04:06 +01:00
shortcutme
1b612f7112
Check master seed length for cryptGetPrivatekey CLI command
2019-01-29 03:03:42 +01:00
shortcutme
6e364ce4b9
Wait until site sync finished before cloning
2019-01-29 03:02:57 +01:00
shortcutme
89eb44f3ef
Spawn port check on separate thread when changing ip_external config value
2019-01-29 03:02:22 +01:00
shortcutme
53364d6ddc
Add 169.254.* to local ips, remove unnecessary brackets
2019-01-29 03:00:06 +01:00
shortcutme
4631f2223b
Add public ips from local adapters to external ip list
2019-01-29 02:59:15 +01:00
shortcutme
20fb9ab97d
Only reload source code on create and change event
2019-01-29 02:57:41 +01:00
shortcutme
dcbac42571
Change unstable tracker
2019-01-29 02:57:18 +01:00
shortcutme
0258d926a2
Fix loading multi-line values from config
2019-01-29 02:54:56 +01:00
shortcutme
ef0c0b1e32
Rev3821
2019-01-26 20:43:04 +01:00
shortcutme
f706f7508e
Store detected external ips to separate variable
2019-01-26 20:42:27 +01:00
shortcutme
6662b4f047
Test sql queries with lots of variables
2019-01-26 20:40:58 +01:00
shortcutme
13c453d610
Embed query values if more than 100 specified
2019-01-26 20:40:34 +01:00
shortcutme
e8026ef074
Non-private external ip for tests
2019-01-26 20:39:31 +01:00
shortcutme
cefc6f8eac
Test private ip match
2019-01-26 20:38:30 +01:00
shortcutme
bf809ac118
Save users.json immedietly after site creation
2019-01-26 20:31:37 +01:00
shortcutme
88ba0c1154
Don't detect cjdns ips as private ips
2019-01-26 20:31:05 +01:00
shortcutme
de41efbaf8
Rev3818, Fix peerPing cli command
2019-01-26 03:13:47 +01:00
shortcutme
276cbc0ace
Rev3817, Support limits for feed search
2019-01-25 14:26:38 +01:00
shortcutme
be36a20249
Rev3815
2019-01-25 01:26:50 +01:00
shortcutme
5173597868
Remove empty lines from multi-line config values
2019-01-25 01:26:39 +01:00
shortcutme
86657529c9
Live update ip_external
2019-01-25 01:24:28 +01:00
shortcutme
6460b7b0a1
Parse ip_external on portCheck function call
2019-01-25 01:23:46 +01:00
shortcutme
3b91be8449
Change ip_external on Config page
2019-01-25 01:22:26 +01:00
ZeroNet
055aea58bb
Merge pull request #1877 from d14na/patch-1
...
Add support for tilde `~` in filenames.
2019-01-24 15:54:07 +01:00
shortcutme
1914c69c47
Rev3812
2019-01-24 15:20:56 +01:00
shortcutme
fdb06ad973
Cleaner way to record external ips from port checkers
2019-01-24 15:20:37 +01:00
shortcutme
37979b4f9c
Support multiple external ips
2019-01-24 15:20:08 +01:00
shortcutme
0a03c30e8a
findHashId will return real address used by the connection
2019-01-24 15:19:19 +01:00
shortcutme
e8dbf1511b
More clean way to return locally found hash_ids for findHashId
2019-01-24 15:18:12 +01:00
D14na
f163abb4a5
Add support for tilde ~
in filenames.
...
(source: https://webpack.js.org/guides/code-splitting )
It appears that webpack (bundled w/ the VueJS CLI) will concatenate `chunk` names using the `~` to create one long "bundled" filename. This creates a problem when executing `isValidRelativePath` which DOES NOT allow `~`.
__An example error when signing:__
`Site:1... - [ERROR] Invalid filename: js/about~privacy~search.3c7ce85b.js`
A fix is to use the same name for each file/chunk, but then that breaks the optimizations of code splitting. Is there any reason NOT to permit tilde `~` as a valid filename character? _(NOTE: this may only be an issue if using vue-router)_
2019-01-24 08:41:27 -05:00
tangdou1
76e21a6378
Fix a bug
2019-01-24 10:00:18 +08:00
goofy-mdn
7c6ff85acd
Update fr.json
...
minor typofix
2019-01-23 15:44:14 +01:00
shortcutme
4d60c61512
Rev3808, Use cjdns compatible ipv6 address to test route
2019-01-23 14:21:25 +01:00
shortcutme
c20ed92fab
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
2019-01-23 02:19:08 +01:00
shortcutme
13f6a8da53
Rev3807
2019-01-23 02:19:04 +01:00
shortcutme
fb925745ba
Make notification compatible with latest noscript
2019-01-23 02:15:23 +01:00
shortcutme
271cb66c69
Fix port re-check
2019-01-23 02:14:31 +01:00
shortcutme
1824363f86
Support dual stack listening
2019-01-23 02:13:13 +01:00
shortcutme
439d2bcf7f
Remove unused setIpExternal funtcion
2019-01-23 02:11:59 +01:00
shortcutme
447f5fd5c8
Store opened port status per IP version
2019-01-23 02:11:31 +01:00
shortcutme
ce78e330d3
Async serverPortcheck ZeroFrame API call
2019-01-23 02:07:11 +01:00
tangdou1
7a47d58ad4
Update zh.json for more respect ( #1867 )
...
* Update zh.json
* Update zh.json
* Update zh.json
2019-01-22 11:00:17 +01:00
ZeroNet
e9f467ed77
Merge pull request #1864 from tangdou1/patch-2
...
Fix a small bug
2019-01-21 14:01:25 +01:00
tangdou1
0ab424c0d2
Update the source of translation ( #1865 )
...
* Update zh.json
* Update zh-tw.json
* Update tr.json
* Update sl.json
* Update sk.json
* Update ru.json
* Update pt-br.json
* Update pl.json
* Update nl.json
* Update it.json
* Update hu.json
* Update fr.json
* Update es.json
* Update de.json
* Update da.json
* Update zh.json
* Update zh-tw.json
* Update tr.json
* Update sl.json
* Update sk.json
* Update ru.json
* Update pt-br.json
* Update pl.json
* Update nl.json
* Update it.json
* Update hu.json
* Update fr.json
* Update es.json
* Update de.json
* Update da.json
2019-01-21 14:00:44 +01:00
tangdou1
674b1efa0f
Fix a bug
...
there is no portCheck function
2019-01-21 10:46:06 +08:00
shortcutme
a7509988af
Rev3802, Fix pytest warnings
2019-01-20 20:02:31 +01:00
shortcutme
f58f738fe4
Rev3801
2019-01-20 19:16:56 +01:00
shortcutme
c853de4315
Ipv6 tracker
2019-01-20 19:08:49 +01:00
shortcutme
e2d17fe20f
Ipv6 test of address packing and unpacking
2019-01-20 19:08:15 +01:00
shortcutme
9e5be7ffcf
Fix noparallel test on slow cpu
2019-01-20 19:07:48 +01:00
shortcutme
44dc3035a5
Make network test compatible with ipv6
2019-01-20 19:07:16 +01:00
shortcutme
468666cdc8
Optimize getOnion function with less lock
2019-01-20 16:51:42 +01:00
shortcutme
00972f5d73
Fix stuck starting when tor client is already running
2019-01-20 16:51:13 +01:00
shortcutme
bffe6e7a32
Tor service ipv6 support
2019-01-20 16:50:55 +01:00
shortcutme
cc3bb912be
Ipv6 support for adding peers by query string
2019-01-20 16:49:52 +01:00
shortcutme
9a64b6080d
Formatting
2019-01-20 16:31:41 +01:00
shortcutme
42156edc76
Opened ipv6 port support for tracker request
2019-01-20 16:31:30 +01:00
shortcutme
7ae98477d5
Separate function for parsing tracker addresses
2019-01-20 16:29:38 +01:00
shortcutme
626b6f5ccd
Formatting
2019-01-20 16:28:47 +01:00
shortcutme
9c82de7df2
Ipv6 support of opened services
2019-01-20 16:28:42 +01:00
shortcutme
e7de562b93
Don't request ipv6 trackers if not supported by the client
2019-01-20 16:27:59 +01:00
shortcutme
06d679d1ca
Support ipv6 in findHashIds response parsing
2019-01-20 16:27:12 +01:00
shortcutme
33cf30a07b
Formatting
2019-01-20 16:26:17 +01:00
shortcutme
6ac1960c47
Support ipv6 for Pex request parsing
2019-01-20 16:26:04 +01:00
shortcutme
1350096545
Support ipv6 for Checkport request
2019-01-20 16:23:53 +01:00
shortcutme
18b9df62e4
Support ipv6 in findHashIds request
2019-01-20 16:23:37 +01:00
shortcutme
42495a9914
Support ipv6 in Pex request
2019-01-20 16:22:32 +01:00
shortcutme
b2f25d7f0a
Store if there was an incoming connection for port open checker
2019-01-20 16:20:41 +01:00
shortcutme
30b71328b9
Turn ipv6 representation of ipv4 addresses to simple ips for incoming connections
2019-01-20 16:20:01 +01:00
shortcutme
7c97e37dc3
Support ipv6 binding for connection server
2019-01-20 16:19:14 +01:00
shortcutme
f42d088fbc
Log supported ip types when binding
2019-01-20 16:18:48 +01:00
shortcutme
a5e63de016
Check if there is ipv6 support in user's system
2019-01-20 16:18:24 +01:00
shortcutme
f7d3718457
Set ConnectionServer default ip for tests based on ip_type
2019-01-20 16:16:55 +01:00
shortcutme
3fa0f1b9e8
Don't correct local time with p2p timecorrection value
2019-01-20 16:15:47 +01:00
shortcutme
f1a54bd7d0
Set strict timeout for connection handshake
2019-01-20 16:15:32 +01:00
shortcutme
1803e47c02
Support creating ipv6 connections
2019-01-20 16:15:07 +01:00
shortcutme
296e44deec
Store ip_type in Connection variable
2019-01-20 16:14:00 +01:00
shortcutme
ce6668ef8c
Avoid adding supported crypto multiple times
2019-01-20 03:27:44 +01:00
shortcutme
f60ab3e01f
Add local ipv6 address
2019-01-20 03:26:45 +01:00
shortcutme
78a7aa91c0
Add ipv6 address to blacklist
2019-01-20 03:26:12 +01:00
shortcutme
a574f3d173
Fix get settings of not visited site
2019-01-20 03:22:17 +01:00
shortcutme
c9223686d2
Formatting helper
2019-01-20 03:21:38 +01:00
shortcutme
c86afe29ba
GetIpType and createSocket helper functions
2019-01-20 03:21:27 +01:00
shortcutme
0c56a7a23b
Support ipv6 address packing/unpacking
2019-01-20 03:21:07 +01:00
shortcutme
b66676de85
Support absolute path and {data_dir} variable for trackers_file
2019-01-20 03:16:37 +01:00
shortcutme
c7a468eb14
Bind file server to ipv6 interfaces according to fileserver_ip_type config value
2019-01-20 03:15:21 +01:00
shortcutme
1c5b5e3621
Move port checking to separate file, add ipv6 port check
2019-01-20 03:13:54 +01:00
shortcutme
d78c757b52
Automatically run all file_server tests in ipv4 and ipv6 enviroment
2019-01-20 03:11:33 +01:00
shortcutme
9871a4e36f
Fix test gevent monkey patching
2019-01-20 03:10:39 +01:00
shortcutme
3e82595193
Store site download time
2019-01-20 03:10:07 +01:00
shortcutme
044456cd98
Add win_inet_pton package for missing socket functions
2019-01-20 03:09:46 +01:00
ZeroNet
79daa12b06
Merge pull request #1847 from BoboTiG/fix-invalid-seq-warnings
...
Fix DeprecationWarning: invalid escape sequence
2019-01-20 01:51:27 +01:00
shortcutme
8ee8acf655
Rev3750, Allow log_level changes
2019-01-10 14:11:46 +01:00
shortcutme
a0b60a8347
Apply log level changes
2019-01-10 14:10:07 +01:00
shortcutme
dbe2a7b240
Fix QueryJson on non-list nodes
2019-01-10 14:09:50 +01:00
Mickaël Schoentgen
e8298726ca
Fix DeprecationWarning: invalid escape sequence
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-06 15:15:47 +01:00
shortcutme
4c675b8311
Rev3748, Fix content filter for non existing domains
2019-01-05 19:07:27 +01:00
shortcutme
1ab9bc40a5
Rev3747. Dont show tor meek proxy on configuration page if it's not supported
2019-01-04 14:33:27 +01:00
shortcutme
859c81c81b
Rev3746, Fix open_browser parsing with non-main cli command
2019-01-02 02:31:04 +01:00
shortcutme
9b6feb4a01
Rev3745, Fix tor bridges config file parsing with True value
2019-01-02 01:21:00 +01:00
shortcutme
d1227b6447
Rev3744, Fix typo
2018-12-30 12:28:19 +01:00
shortcutme
fc417e7273
Rev3743, Fix argument parsing on unknown command
2018-12-30 12:09:22 +01:00
shortcutme
bda238344c
Test isIp, isPrivateIp
2018-12-19 13:25:20 +01:00
shortcutme
45add916f4
Rev3742, Move isIp to helper, fix inet_prton error
2018-12-19 13:15:59 +01:00
Andrew Morgan
ca549cf081
Allow IP addresses via WebSocket API ( #1819 )
...
* Allow IP addresses via WebSocket API
* Switch to socket. Add host
2018-12-18 14:36:14 +01:00
shortcutme
fb3c5eaafa
Rev3741
2018-12-15 18:40:14 +01:00
shortcutme
8e4873cf2a
Do a quick content.db check on startup
2018-12-15 18:39:39 +01:00
shortcutme
47316741c1
Allow only CREATE in indexes
2018-12-15 17:48:19 +01:00
shortcutme
86dd57d13e
Fix typo in comment
2018-12-15 17:47:34 +01:00
shortcutme
4fe6ae9811
Allow only SELECT in storage.query
2018-12-15 17:45:17 +01:00
shortcutme
edc1a71d0d
Rev3739, Fix atomicWrite of non existent file
2018-12-13 21:17:36 +01:00
shortcutme
e4819c1753
Rev3738, More strict csp, No csp on Edge
...
Edge does not supports nonce on external scripts
2018-12-10 02:29:21 +01:00
shortcutme
b0140a655f
Rev3737
2018-12-04 14:16:37 +01:00
shortcutme
e0c56c6342
Fix log directory path bug
2018-12-04 14:15:48 +01:00
shortcutme
2ceada84a6
Rev3736, Fix sidebar content signing changer links
2018-12-04 01:45:01 +01:00
shortcutme
5b50a113d1
Rev3735, certList admin command
2018-11-30 15:56:20 +01:00
shortcutme
fe52cc7797
Rev3734
2018-11-29 14:33:45 +01:00
shortcutme
a863c743c4
Rev3729
2018-11-27 11:30:41 +01:00
shortcutme
62d3b6a3f2
Remove not used variables in getStartDir
2018-11-27 11:30:22 +01:00
shortcutme
e435274329
Convert win-style path to unix-style path for log and data dir
2018-11-27 11:29:55 +01:00
shortcutme
55380298f1
Rev3728
2018-11-26 00:21:22 +01:00
shortcutme
55e2a2fd5d
Source code reloader only once in every 5 seconds
2018-11-26 00:13:21 +01:00
shortcutme
eecc257822
Make unknown site request a bad action everywhere
2018-11-26 00:12:54 +01:00
shortcutme
36f2998c91
Test if js works in raw and normal mode
2018-11-26 00:12:12 +01:00
shortcutme
131926cad8
Make current url getting compatible with chromedriver
2018-11-26 00:11:58 +01:00
shortcutme
d588327c1c
Change wget to getUrl
2018-11-26 00:11:25 +01:00
shortcutme
68c7f502b4
Use chromedriver instead of phantomjs for testing
2018-11-26 00:10:43 +01:00
shortcutme
06fa669f8c
Test escaping in translation underline helper
2018-11-26 00:09:46 +01:00
shortcutme
d3885eefda
Automatically escape all variables in translation underline func helper
2018-11-26 00:09:24 +01:00
shortcutme
74e551cf1a
Escape error messages
2018-11-26 00:08:41 +01:00
shortcutme
a1333d8d6b
Detailed log certSelect error messages
2018-11-26 00:08:22 +01:00
shortcutme
3dfb40b57e
Use redirect after cloning the site
2018-11-26 00:07:23 +01:00
shortcutme
316cd7710f
Use injectScript in certSelect
2018-11-26 00:07:08 +01:00
shortcutme
cbefc5b81e
Merge wrapper js
2018-11-26 00:05:17 +01:00
shortcutme
233e161327
New injectScript and redirect command for UiServer
2018-11-26 00:05:04 +01:00
shortcutme
7cbbc33319
Expose script nonce for wrapper js obj
2018-11-26 00:04:06 +01:00
shortcutme
61cc0a1864
Add nonce attribute to all scripts in wrapper
2018-11-26 00:03:21 +01:00
shortcutme
99f01475a0
Disallow unknown script by using csp header for wrapper
2018-11-26 00:02:35 +01:00
shortcutme
481e029600
Rev3707
2018-11-21 19:28:43 +01:00
shortcutme
5ff22467a6
Sanitize error message
2018-11-21 19:28:30 +01:00
shortcutme
224a354480
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
2018-11-21 03:37:10 +01:00
shortcutme
18cdf5d89d
Rev3704
2018-11-21 03:37:05 +01:00
shortcutme
293afa6059
Replace dead trackers
2018-11-21 03:36:55 +01:00
shortcutme
06fbcde815
Fix setLocalStorage call before websocket connection
2018-11-21 03:32:12 +01:00
shortcutme
4195a72621
Only create default json table if it's not defined in dbschema
2018-11-21 03:31:12 +01:00
mymage
5f5d4d7987
Update it.json
...
Some fixes
2018-11-12 20:46:42 +01:00
shortcutme
090d1e900e
Rev3703
2018-11-08 01:37:01 +01:00
shortcutme
d0f9d4de02
Fix invalid user auth address matching
2018-11-08 01:36:12 +01:00
shortcutme
6bc1ac1156
Support pattern based cert signers
2018-11-08 01:35:15 +01:00
shortcutme
c77e403f27
Logging init refactor, log rotate support
2018-11-08 01:32:31 +01:00
shortcutme
5178a288ca
Fix error message testing
2018-11-08 01:31:23 +01:00
shortcutme
7c6702057d
Test invalid cert user id
2018-11-08 01:30:56 +01:00
shortcutme
c1aad3882c
Test signers pattern
2018-11-08 01:30:32 +01:00
shortcutme
8cf30893f2
Don't close idle db connection during rebuild
2018-11-08 01:20:33 +01:00
shortcutme
da9af181dd
Support accepted_pattern for certSelect API call
2018-11-08 01:16:08 +01:00
shortcutme
92e3c028bb
Make cert domains case sensitive
2018-11-08 01:12:27 +01:00
shortcutme
cf7d194dbf
Remove missing optional files from content.json on cloning
2018-11-07 22:48:35 +01:00
shortcutme
d9f851f0c1
Rev3688
2018-10-30 04:50:24 +01:00
shortcutme
9590dce8a4
Return ok for site clone, Fix typo in comment
2018-10-30 04:49:42 +01:00
shortcutme
5af77449fa
Move html variable replacement for new function, add site_modified variable, don't send length header for html files
2018-10-30 04:49:11 +01:00
shortcutme
2c39ab01ea
ZeroNet logo for fixbutton
2018-10-30 04:47:19 +01:00
shortcutme
035d70cf57
Spawn site announce to new async line
2018-10-30 04:44:43 +01:00
shortcutme
8c76e258d7
Give 10 second timeout for reannounce
2018-10-30 04:43:58 +01:00
shortcutme
f05c7ffbfa
Fix parsing invalid files for db
2018-10-30 04:43:21 +01:00
shortcutme
a49fcb0176
Fix verification for files without sign
2018-10-30 04:41:45 +01:00
shortcutme
87503b875a
Set timeout for connection
2018-10-30 04:41:11 +01:00
shortcutme
d89d770e73
Log less precise time for connection cleanup
2018-10-30 04:41:02 +01:00
shortcutme
083d64d151
Add site to connection log
2018-10-30 04:40:34 +01:00
shortcutme
538de08c07
Rev3673, Fix sidebar input fields on mobile
2018-10-24 13:59:10 +02:00
shortcutme
f540645d80
Rev3672, Fix Config page fileserver port changing
2018-10-24 13:31:42 +02:00
ZeroNet
0ed1499d02
Merge pull request #1730 from krixano/patch-2
...
Import Debug in Db/Db.py
2018-10-20 15:38:26 +02:00
shortcutme
5158a710dc
Rev3671, Fix theme with multiuser plugin
2018-10-20 13:34:49 +02:00
Christian Seibold
413b6cc43c
Import Debug in Db/Db.py
2018-10-20 01:58:35 -05:00
shortcutme
82a10f2558
Version 0.6.4, Rev3670
2018-10-20 02:36:29 +02:00
shortcutme
b97acb3174
Dark theme for loading screen
2018-10-20 02:36:08 +02:00
shortcutme
451976c3c8
Support themeclass variable in html files
2018-10-20 02:35:48 +02:00
shortcutme
8e6494c451
Remove unused code, junk lines
2018-10-20 02:34:26 +02:00
shortcutme
3579f9e0c4
Support global user settings
2018-10-20 02:28:58 +02:00
shortcutme
39d442a05d
Fix getConnectablePeers for low peer sites
2018-10-20 02:26:29 +02:00
shortcutme
0045206735
Merge UI js
2018-10-20 02:22:38 +02:00
shortcutme
7f46767411
Fix undefined in title
2018-10-20 02:22:29 +02:00
shortcutme
5414691f1f
Remove unnnecessary debug
2018-10-20 02:22:20 +02:00
shortcutme
13731fb094
Rename jquery easings file
2018-10-20 02:21:54 +02:00
rllola
93d6129732
Make it compaticle with pyinstaller for browser build
2018-10-16 07:12:57 +02:00
ZeroNet
776e214789
Merge pull request #1690 from ZeroNetPlus/jquery
...
[Ready to be merged] Updated jQuery
2018-10-15 17:29:08 +02:00
shortcutme
d8f6621c7d
Rev3660
2018-10-15 13:19:41 +02:00
shortcutme
aca2b4423e
Fix zh-tw lang detection
2018-10-15 13:19:33 +02:00
shortcutme
204e3f8e3e
Change unreliable tracker
2018-10-15 13:19:16 +02:00
shortcutme
171e5d3766
Fix typo on optional file deletion
2018-10-15 13:15:11 +02:00
shortcutme
46535cc7a8
File deletion based on type
2018-10-15 13:14:43 +02:00
shortcutme
c12454a8e9
Don't delete pinned file if it removed by owner
2018-10-15 13:09:43 +02:00
shortcutme
1fc364fa07
Remove unused lines from dbCursor
2018-10-15 13:01:44 +02:00
shortcutme
f275ba36a1
Skip table creation on error
2018-10-15 13:01:17 +02:00
shortcutme
1aa741a25b
Always change db cursor settings
2018-10-15 13:01:04 +02:00
shortcutme
6b2f619096
Fix updateHashfield optional file detection
2018-10-15 12:59:28 +02:00
shortcutme
f74ddc1010
Don't delete connecting sites at startup
2018-10-15 12:59:04 +02:00
shortcutme
6a240919bf
Test archived before
2018-10-15 12:58:39 +02:00
shortcutme
2518867d50
Allow to also list connecting site with siteList API command
2018-10-15 12:58:14 +02:00
shortcutme
046b95d5b1
Rev3620
2018-10-08 15:35:32 +02:00
shortcutme
12dab27729
Skip tracker status with no value yet
2018-10-08 15:34:40 +02:00
Christian Seibold
2d437975a8
Add allow presentation to iframe
...
Allows zites to use the Presentation API
2018-10-07 20:01:30 -05:00
Daniell Mesquita
a9502a11d6
Update jQuery easing
...
Signed-off-by: Daniell Mesquita <daniellplasmmer@gmail.com>
2018-10-07 15:03:11 -03:00
Daniell Mesquita
6aa502b1a5
Updated jQuery
...
Signed-off-by: Daniell Mesquita <daniellplasmmer@gmail.com>
2018-10-07 15:00:02 -03:00
shortcutme
befed2200e
Rev3619
2018-10-05 15:09:35 +02:00
shortcutme
402e6e7433
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
2018-10-04 15:44:27 +02:00
shortcutme
6592906d0d
Rev3618
2018-10-04 15:44:07 +02:00
shortcutme
c70e3bb3dd
Add comment to detection of Android float issue
2018-10-04 15:43:12 +02:00
shortcutme
b089355b5a
Fix detaction of pt-br system language
2018-10-04 15:42:45 +02:00
shortcutme
00cf1badfc
Fix error on invalid cli action
2018-10-04 15:42:11 +02:00
shortcutme
07159ea5df
Remove invalid characters from language setting
2018-10-04 15:41:28 +02:00
ZeroNet
d1387e50e2
Merge pull request #1643 from DaniellMesquita/patch-3
...
Update pt-br.json
2018-10-02 18:33:17 +02:00
shortcutme
4e4dc30a91
Rev3616
2018-09-30 21:57:14 +02:00
shortcutme
e46cb2f240
Fix content type indentification
2018-09-30 21:55:48 +02:00
shortcutme
9fee86df59
Always return lower cased content type
2018-09-30 21:54:50 +02:00
Daniell Mesquita
60091a2b5e
Update pt-br.json
2018-09-22 16:08:07 -03:00
shortcutme
15c09a0f03
Rev3612
2018-09-21 20:40:38 +02:00
tangdou1
807d461289
Fix bootstrapper is blocked by itself
...
Make the bootstrapper server can add its own ip and port in its own bootstrapper.db as a peer.
2018-09-21 14:05:27 +08:00
shortcutme
e033b72942
Rev3611
2018-09-21 02:19:01 +02:00
shortcutme
98b476de71
Load current users before creating a new one
2018-09-21 02:18:29 +02:00
shortcutme
2a1849d027
Rev3609, Don't validate valid pattern in UiConfig if the field is hidden
2018-09-17 17:48:15 +02:00
shortcutme
d04b759913
Allow more time inaccuracy for noparallel test
2018-09-17 15:40:44 +02:00
shortcutme
2772e705ae
Rev3608
2018-09-17 15:34:03 +02:00
shortcutme
53a40fa914
Stop worker if the file is not required anymore
2018-09-17 15:32:32 +02:00
shortcutme
86d1d4898a
Remove task on file write error
2018-09-17 15:31:10 +02:00
shortcutme
e4af2d5e86
Pick up task that is taken by idle peer
2018-09-17 15:30:48 +02:00
shortcutme
d124e2ed15
Support deletion of of all user submitted content that is older than specified date
2018-09-17 15:30:02 +02:00
shortcutme
00c9c14efb
Support listmodified before and after argument
2018-09-17 15:28:53 +02:00
shortcutme
6fc66b7b13
Move file forgot to separate function
2018-09-17 15:27:29 +02:00
shortcutme
9658c2d553
Stop downloadcontent pool if reached 95% of site limit
2018-09-17 15:27:11 +02:00
shortcutme
577761a6bb
Add cache to default settings
2018-09-17 15:25:17 +02:00
shortcutme
6c610c509f
Rename RemoveGoodFileTasks to RemoveSolvedFileTasks and add result argument
2018-09-17 15:24:44 +02:00
shortcutme
54efe5a351
Rev3597
2018-09-13 03:12:29 +02:00
shortcutme
8594fa8199
Don't try to load english translation files
2018-09-13 03:12:02 +02:00
shortcutme
84ab076fe8
Rev3594
2018-09-07 11:34:11 +02:00
shortcutme
57f3cee390
Fix fileGet return when file is not existent
2018-09-07 11:33:57 +02:00
shortcutme
714aea2e27
RequestFullscreen API does not requires confirmation anymore as you can call it directly
2018-09-07 11:33:40 +02:00
shortcutme
52081f4a2a
Make Accept a problematic string as it brokes jquery script loading
2018-09-07 11:32:44 +02:00
shortcutme
b88b422e2f
Rev3591
2018-09-06 00:57:21 +02:00
shortcutme
d3499e71ef
FileGet use return function instead of calling response
2018-09-06 00:56:36 +02:00
shortcutme
c7d94548be
Support returning empty list as reponse
2018-09-06 00:55:54 +02:00
shortcutme
317bd2fcec
Rev3588
2018-09-05 14:34:00 +02:00
shortcutme
b06ba06f40
Add timecorrection to server info
2018-09-05 14:33:31 +02:00
shortcutme
dc52a8a08b
Use shared file_server object when generating server info for websocket
2018-09-05 14:33:21 +02:00
shortcutme
5f1e7ffd0c
Correct sent time with timecorrection value
2018-09-05 14:32:43 +02:00
shortcutme
21a80650b0
Cache timecorrection value
2018-09-05 14:32:23 +02:00
shortcutme
3b7ec3d913
Lowercased Timecorrection function
2018-09-05 14:32:01 +02:00
shortcutme
8692ea1a74
Rev3585
2018-09-04 15:44:23 +02:00
shortcutme
a5c25ce438
Dont add removed trackers to announcer stats
2018-09-04 15:43:52 +02:00
shortcutme
12d494bf38
Limit peer reputation increase from tracker
2018-09-04 15:43:20 +02:00
shortcutme
a97f5a8488
Rev3582
2018-09-02 02:34:47 +02:00
shortcutme
a4224555d2
Increase gzipped json file size limit
2018-09-02 02:33:44 +02:00
shortcutme
4fe33268ac
Don't allow parallel rebuild
2018-09-02 02:24:07 +02:00
shortcutme
b84abea670
Order more peers for connected peers simply by reputation
2018-09-02 02:23:46 +02:00
shortcutme
a5fcc7d65f
Sort recent peers by reputation
2018-09-02 02:23:19 +02:00
shortcutme
313d9a4ef9
Need less peer sites with less peers
2018-09-02 02:23:06 +02:00
shortcutme
658aace8f1
Increase peer reputation when found by tracker
2018-09-02 02:22:35 +02:00
shortcutme
49562d43c3
Change peer reputation on connection success and error
2018-09-02 02:22:21 +02:00
shortcutme
4241b62760
Log peer reputation on connect
2018-09-02 02:21:48 +02:00
shortcutme
47fcee4df8
Limit peer reputation
2018-09-02 02:21:38 +02:00
shortcutme
3869cb9bf3
Show incoming and outgoing connection separatley in stats page
2018-09-02 02:19:51 +02:00
shortcutme
1ce87ecfa8
Rev3576
2018-08-29 19:58:33 +02:00
shortcutme
6edabeeecc
Log hashfield query time
2018-08-29 19:55:50 +02:00
shortcutme
b96559b76f
Reduce connection requirements on startup
2018-08-29 19:55:04 +02:00
shortcutme
3a9ded9315
On startup don't run more than 5 checkSite at the same time
2018-08-29 19:54:31 +02:00
shortcutme
ee97eb6d27
Calculate media time correction from connections
2018-08-29 19:53:44 +02:00
shortcutme
16f7dafcdf
Only record offline internet if there was message received before
2018-08-29 19:53:24 +02:00
shortcutme
1cce926ef8
Record handshake time for connections
2018-08-29 19:52:55 +02:00
shortcutme
b45bbff97c
Rev3571
2018-08-27 11:51:07 +02:00
shortcutme
23284e1f35
Reduce the reannounce to unreliable trackers not just single announces
2018-08-27 11:50:53 +02:00
shortcutme
030ad0a8de
Rev3568
2018-08-26 22:58:56 +02:00
shortcutme
71d05a6fc2
Global stats to reduce tracker request for unreliable trackers
2018-08-26 22:58:27 +02:00
shortcutme
867cf478b1
Log tracker request mode on error
2018-08-26 22:57:34 +02:00
shortcutme
b43a05b662
Don't increase request tracker number before actually sending it
2018-08-26 22:57:09 +02:00
shortcutme
92db3878cf
Don't include skipped trackers to report
2018-08-26 22:56:46 +02:00
shortcutme
b6d11d6be3
Fix request number counting with zero trackers
2018-08-26 22:56:20 +02:00
shortcutme
669572b0e6
Fix udp tracker lib error reporting
2018-08-26 22:55:31 +02:00
shortcutme
5887f90202
Wait handshake done before sending other request to connections
2018-08-26 22:54:45 +02:00
shortcutme
0b38d73cc5
AnnounceZero return None on skipped announce due batching
2018-08-26 22:52:21 +02:00
shortcutme
ecbf230293
Fix site update on non existent sites
2018-08-26 22:44:55 +02:00
shortcutme
839b63e389
Tracker stat skip data with no status information
2018-08-26 22:44:31 +02:00
shortcutme
73078531aa
Rev3565
2018-08-26 02:58:05 +02:00
shortcutme
c5c3f7a667
Don't reannounce site if just added
2018-08-26 02:57:02 +02:00
shortcutme
8738817eab
Fix tor logging on message fail
2018-08-26 02:56:41 +02:00
shortcutme
33877c73bb
Test tracker address validity
2018-08-26 02:56:24 +02:00
shortcutme
0e3698fa2f
Announce to next tracker on fail
2018-08-26 02:55:08 +02:00
shortcutme
65f48800b9
Allow tracker list to be extended by plugins
2018-08-26 02:53:39 +02:00
shortcutme
7738e6a381
Fix tracker annonce sleeping formatting
2018-08-26 02:53:15 +02:00
shortcutme
ca3b01f898
Allow tracker connection to loopback to same client
2018-08-26 02:52:42 +02:00
shortcutme
e05c432d14
Store if it's tracker connection on connect
2018-08-26 02:52:23 +02:00
shortcutme
efd1efad4d
Rev3550
2018-08-16 16:23:04 +02:00
shortcutme
b2ea4c758d
Handle error on file listing API calls
2018-08-16 16:22:17 +02:00
shortcutme
879eb6295d
BigFile lock seek and read until previous request finished, fix seek relative to bigfile end
2018-08-16 16:20:11 +02:00
shortcutme
f5ab2f63c0
Rev3546
2018-08-13 02:45:02 +02:00
shortcutme
c89170a22d
Allow first local ip find method to fail
2018-08-13 02:44:50 +02:00
redfish
9bd10d5102
TorManager: correct the Tor error log message
...
On Linux, there is no self-bundled Tor, so the message was not correct
because it was stating that self-bundled Tor was being started.
2018-08-02 23:47:24 +00:00
redfish
4c62840cef
TorManager: escalate log error for Tor auth
...
This errorr is fatal for Tor usage (on Linux). Let's make escalate
it. Also see the previous commit, without which, this error doesn't
even get printed at all.
2018-08-02 23:42:50 +00:00
redfish
e6f0a86c5a
main: logging: do not override the warn level
...
This fixes the very annoying problem where the log messages with
level WARNING are not printed, while log messages with lower
level INFO are printed. This is very confusing behavior and should
be avoided. This was due to this override. If there is too much
logging output in debug mode, then let's deescalate the level
of the frequently-printed log messages down to DEBUG level.
2018-08-02 23:40:44 +00:00
shortcutme
f33350a4ef
Rev3542, Trackers file path always relative to executable
2018-07-21 04:25:40 +02:00
shortcutme
a357b021ba
Rev3540
2018-07-19 20:44:25 +02:00
shortcutme
f7099b2bc7
Load trackers file on startup
2018-07-19 20:43:46 +02:00
shortcutme
8d3b1d10d2
Fix typo
2018-07-19 20:43:33 +02:00
shortcutme
f143000f4a
Fix parsing udp trackers with request path
2018-07-19 20:43:14 +02:00
shortcutme
7954caf957
Force reannounce not yet download site on refresh
2018-07-19 20:42:53 +02:00
shortcutme
6e1f4fada9
Rev3537, Allow to add peers to site with get request
2018-07-17 02:09:14 +02:00
shortcutme
113e7e0d3d
Rev3535
2018-07-16 01:56:37 +02:00
shortcutme
ea619ce99a
Fix tor disabling for tests
2018-07-16 01:56:19 +02:00
shortcutme
d772280147
Global announcer statistics admin API call
2018-07-16 01:48:27 +02:00
shortcutme
7475fa69fa
Support custom proxy for tracker connections
2018-07-16 01:47:49 +02:00
shortcutme
ec8b53263c
Store last announce error time
2018-07-16 01:36:23 +02:00
shortcutme
0f567385a8
Only check size on file request for smaller files
2018-07-16 01:35:35 +02:00
shortcutme
b1575a979e
Rev3524, Fix saving for single line config values
2018-07-10 04:00:16 +02:00
shortcutme
d677eb1698
Rev3523
2018-07-10 03:46:05 +02:00
shortcutme
71ad1d9906
Properly handle saving on multiline config settings
2018-07-10 03:45:57 +02:00
shortcutme
731b79fc6c
Store copy of variables of list config items to be able to read the original value
2018-07-10 03:45:33 +02:00
shortcutme
e001448adb
Add config link to loading screen
2018-07-10 03:43:57 +02:00
shortcutme
3041064d21
Reload trackers file on value change
2018-07-10 03:43:31 +02:00
shortcutme
30134dbbc9
Store API changeable configuration keys in Config.py
2018-07-10 03:40:56 +02:00
shortcutme
4208885e36
Store pending configuration values
2018-07-10 03:39:33 +02:00
shortcutme
656f48b354
Support open_browser disable even if it's started with start.py
2018-07-10 03:37:38 +02:00
shortcutme
68eb9a37ca
Strip ending / character when using url as function name
2018-07-10 03:36:09 +02:00
shortcutme
6c4ce03d59
Reload trackers file before start downloading new site
2018-07-10 03:34:23 +02:00
shortcutme
86e4679e04
Skip tracker announce on incalid url pattern
2018-07-10 03:34:06 +02:00
shortcutme
71806e6f95
Trackers loaded from trackers_file will be appended to trackers instead of replacing it
2018-07-10 03:33:32 +02:00
shortcutme
7e8a93e974
Load trackers files in announceSites loop
2018-07-10 03:32:37 +02:00
shortcutme
b87ad9cd2f
Fix disabled tor startup
2018-07-10 03:31:39 +02:00
shortcutme
5aab10fab2
Support client restart without updating
2018-07-10 03:28:02 +02:00
shortcutme
77aa23a375
Make UiWebsocket admin_commands and async_commands class variables for easier extension
2018-07-10 03:24:34 +02:00
shortcutme
b6bf38b85c
Rev3504
2018-07-06 22:57:27 +02:00
shortcutme
b6424b4596
Fix sk translation
2018-07-06 22:57:18 +02:00
shortcutme
dc2051fb59
Skip invalid translate files
2018-07-06 22:56:54 +02:00
shortcutme
8bdc61ddcc
Rev3503, Ignore invalid site translation files
2018-07-05 01:59:10 +02:00
Maciej Krüger
e548a4b6aa
de.json: Fix typo
...
Net{ => z}werkverbindung
2018-07-03 23:40:25 +02:00
Ruben Barkow
718178c1b6
de.json - correct german translation
2018-07-03 21:42:14 +02:00
ZeroNet
930205b1c9
Merge pull request #1469 from Biosias/patch-1
...
Adding few translations
2018-07-03 13:55:19 +02:00
shortcutme
ec05e6864a
Rev3502, Start fileserver to new greenlet to fix siteDownload and siteAnnounce CLI action
2018-07-02 15:42:16 +02:00
Biosias
e08a702408
Adding few translations
2018-07-02 01:00:42 +02:00
shortcutme
d5b31a5545
Rev3501
2018-06-29 14:20:54 +02:00
shortcutme
8775222a61
Add missing word to websocket error message
2018-06-29 14:18:27 +02:00
shortcutme
3aebdae305
Log last announce time on force announce
2018-06-29 14:18:09 +02:00
shortcutme
d3122020b9
Rev3500
2018-06-28 14:07:43 +02:00
shortcutme
5d0600a0af
Rev3499
2018-06-28 02:39:55 +02:00
shortcutme
1ca2b40bf9
Fix IE Edge compatibility on notification button clicks
2018-06-28 02:39:46 +02:00
shortcutme
ff85241962
More detailed not supported browser error message
2018-06-28 02:39:20 +02:00
shortcutme
bc227b5f56
Rev3498, Go back to homepage and less inviting open site button on blocked site page
2018-06-28 02:03:47 +02:00
shortcutme
fc46bb65f8
Version 0.6.3, Rev3495
2018-06-25 14:41:34 +02:00
shortcutme
c5ca4dd7b3
Change dead tracker
2018-06-25 14:40:51 +02:00
shortcutme
f671e699e6
Reset after_load actions before plugin reload
2018-06-25 14:30:04 +02:00
shortcutme
05fb60f809
Log plugin load time
2018-06-25 14:29:51 +02:00
shortcutme
e564470490
Remove renamed plugin Mute
2018-06-25 14:29:42 +02:00
shortcutme
c7a8a3933e
Display standard http error instead of exception on path security error
2018-06-25 14:28:42 +02:00
shortcutme
e1fdb90da6
Reset filters.json before tests
2018-06-25 14:25:19 +02:00
shortcutme
df0562d6b4
Make sure to sanitize request url
2018-06-25 14:23:38 +02:00
shortcutme
9afc39d5f1
Add signing parameters to sitePublish
2018-06-25 14:22:24 +02:00
shortcutme
4a1c4df861
Prefer PEP8 style
2018-06-25 14:13:05 +02:00
shortcutme
b054ed6e03
SiteAdd admin API call
2018-06-25 14:12:13 +02:00
shortcutme
8a02a51d0c
Rev3478
2018-06-21 21:57:35 +02:00
shortcutme
da64785ea4
Only announce site on http request if not paused
2018-06-21 21:57:25 +02:00
shortcutme
8b91abd0dc
Use FileServer to avoid plugin incompatiblity problems
2018-06-21 21:57:06 +02:00
shortcutme
b6364941a0
Don't start file server twice
2018-06-21 21:56:20 +02:00
shortcutme
7bff5f562c
Rev3477
2018-06-03 12:47:24 +02:00
shortcutme
3de13a2e6d
Fix tracker statistics
2018-06-03 12:47:17 +02:00
shortcutme
329e885da7
Wait tor connections until tor client startup
2018-06-03 12:46:47 +02:00
shortcutme
d125551c0d
Proritize currently requested site update
2018-06-03 12:46:00 +02:00
ZeroNet
22d6a32e4e
Merge pull request #1445 from JeremyRand/trans-proxy
...
Support accessing ZeroNet via a transparent proxy.
2018-06-02 17:52:12 +02:00
JeremyRand
4ffd642732
Support accessing ZeroNet via a transparent proxy.
2018-06-02 12:17:10 +00:00
JeremyRand
f7f6b15ef1
Fix 403 error when listening on 127.0.0.1:80.
2018-06-02 10:24:00 +00:00
shortcutme
efcb1715ee
Rev3470
2018-06-01 02:44:10 +02:00
shortcutme
8f5bcdff99
Start file server for cli commands for Tor support.
2018-06-01 02:43:53 +02:00
shortcutme
a0b2a8ba74
Optional connection timeout checker
2018-05-31 19:43:39 +02:00
shortcutme
3013ee083d
Longer timeouts in tor always mode
2018-05-31 19:43:09 +02:00
shortcutme
0ae14f673c
Change skyts tracker address
2018-05-31 19:40:37 +02:00
shortcutme
b4eb09d5e9
Rev3468, Ignore newsfeed items with invalid date_added value
2018-05-30 17:16:45 +02:00
ZeroNet
9675ef1293
Merge pull request #1421 from ppsfassa/master
...
add Japanese
2018-05-22 12:14:42 +02:00
Takumi
671fb3476c
Re add jp
2018-05-19 17:10:11 +09:00
saber28
94bc33f61c
Improve Orbot Compatibility
...
Use password auth first to work with orbot
2018-05-05 09:58:14 +08:00
shortcutme
e874730679
Rev3464, Download site as zip
2018-05-02 02:31:31 +02:00
shortcutme
9cb2bc4825
Rev3465
2018-04-29 14:54:19 +02:00
shortcutme
2bd69b2681
Force reannounce to all trackers after meek bridges enabled
2018-04-29 14:53:31 +02:00
shortcutme
f3b17d4896
Force reannounce if announce is enabled on update
2018-04-29 14:52:56 +02:00
shortcutme
2aa0021a08
Rev3463
2018-04-29 13:06:25 +02:00
shortcutme
81ec684025
Show tracker error message on high error percentage
2018-04-29 13:06:07 +02:00
shortcutme
247b89aec5
Fix non-ascii tracker error message logging
2018-04-29 13:05:02 +02:00
shortcutme
8b09a02028
Start ConnectinServer before loading site list
2018-04-29 13:04:38 +02:00
shortcutme
597c5063f3
Rev3462, Fix ConnectionServer testcases
2018-04-29 03:05:36 +02:00
shortcutme
4843719c58
Rev3461
2018-04-29 02:46:11 +02:00
shortcutme
d7c1c0d04c
Tor subprocess check separate function
2018-04-29 02:45:56 +02:00
shortcutme
4fa43fdf60
Trust that shutdown signal will kill tor
2018-04-29 02:45:39 +02:00
shortcutme
cafb9ddcf4
No need to announce if no peer as checkModifications will do
2018-04-29 02:45:10 +02:00
shortcutme
3f6b8def05
Move ConnectionServer listen to separate function to allow TorManager start before connections
2018-04-29 02:44:46 +02:00
shortcutme
40f0ea95ce
Rev3459
2018-04-29 01:02:59 +02:00
shortcutme
ca3b02229f
Fix announcer typo
2018-04-29 01:02:39 +02:00
shortcutme
8039aa3eb1
Report port 1 to trackers as not connectable to improve compatibility
2018-04-29 01:02:24 +02:00
shortcutme
5a494ca50e
Less verbose tracker logging
2018-04-29 01:01:13 +02:00
shortcutme
ef8e8c5a30
New tracker
2018-04-29 01:00:50 +02:00
shortcutme
a19629d105
Start tor_manager with ConnectionServer
2018-04-29 01:00:37 +02:00
shortcutme
6e598c74f5
Fake utorrent peer_id to avoid possible tracker ban
2018-04-29 00:59:45 +02:00
shortcutme
35cf4f3009
Rev3456, Fix SiteAnnouncer import
2018-04-28 22:31:54 +02:00
shortcutme
150d3df9b5
Rev3455
2018-04-28 22:10:26 +02:00
shortcutme
595b2e40d9
Merge ui js, css
2018-04-28 22:08:43 +02:00
shortcutme
9d09401dc1
Rename Permisson Grant to Accept
2018-04-28 22:08:34 +02:00
shortcutme
d9ad3ae2c9
Disabled button formatting
2018-04-28 22:05:51 +02:00
shortcutme
26cb600ae3
Display tor bridge enable button if all tracker connection fails
2018-04-28 22:05:38 +02:00
shortcutme
435210b73c
Add tracker info to loading screen
2018-04-28 22:04:58 +02:00
shortcutme
8dc465f244
Don't readd wrapper_nonce of site size error as we generate a new one on reload
2018-04-28 22:02:29 +02:00
shortcutme
8e708dc02a
Log wrapper nonce errors
2018-04-28 22:02:10 +02:00
shortcutme
b53b6723cc
Allow tor_use_bridges and trackers_proxy to be set with configSet
2018-04-28 22:01:48 +02:00
shortcutme
af4b4ae85c
Get new wrapper nonce API command to proper reload iframe content
2018-04-28 22:01:12 +02:00
shortcutme
0e84bf95da
AnnouncerInfo API command for tracker status
2018-04-28 22:00:15 +02:00
shortcutme
8e93470b94
Add tor bridge info to serverinfo
2018-04-28 21:59:39 +02:00
shortcutme
7cdb1caaf2
Fix websocket sending on error
2018-04-28 21:59:27 +02:00
shortcutme
bf346a6ed1
AnnouncerChanges event channel for websocket for tracker changes
2018-04-28 21:59:12 +02:00
shortcutme
c0101933bd
Call pex announce from announcer class
2018-04-28 21:54:03 +02:00
shortcutme
24a7c26819
Fix tor status logging with foreign languages
2018-04-28 21:53:36 +02:00
shortcutme
13019941b3
Make sure to shutdown tor client if we started it
2018-04-28 21:53:12 +02:00
shortcutme
a0451065a2
Start with bridges if tor_use_bridges enabled
2018-04-28 21:52:01 +02:00
shortcutme
54b87c19b1
Fix TorManager without main module loaded
2018-04-28 21:51:35 +02:00
shortcutme
8828f21f2e
Always create TorManager object with ConnectionServer, move tormanager start to sperate function
2018-04-28 21:51:14 +02:00
shortcutme
7fee135bf5
Check if we can enable meek bridges
2018-04-28 21:50:01 +02:00
shortcutme
b69e466de0
Add loading of new SiteAnnounce class
2018-04-28 21:49:31 +02:00
shortcutme
37fcf2fed7
Fix deletion with missing content.json files
2018-04-28 21:49:12 +02:00
shortcutme
8f69575b95
Fix SiteManager logging message
2018-04-28 21:48:36 +02:00
shortcutme
2f71c2b784
Refactor and move announcer code to separate class
2018-04-28 21:48:21 +02:00
shortcutme
f3a809a495
Fix publish logging message
2018-04-28 21:47:43 +02:00
shortcutme
ad955b157b
My port and ip is no longer necessary for updates
2018-04-28 21:47:33 +02:00
shortcutme
a87b6c7022
Announce on update if no peers
2018-04-28 21:47:11 +02:00
shortcutme
5104d0d250
Always have connectionserver for site
2018-04-28 21:46:50 +02:00
shortcutme
add83c4c7a
Missing content.json is a debug message
2018-04-28 21:45:28 +02:00
shortcutme
42b9ec819b
More verbose dbdict json loading logging
2018-04-28 21:45:13 +02:00
shortcutme
e93f9eb080
Use tor connection for trackers if trackers_proxy enabled
2018-04-28 21:44:06 +02:00
shortcutme
0244db9182
Fix config save line parsing without values
2018-04-28 21:43:22 +02:00
shortcutme
461f9c7ad6
New settings: trackers_proxy, tor_use_bridges
2018-04-28 21:42:57 +02:00
shortcutme
fd8e1ed623
Rev3417
2018-04-18 22:07:14 +02:00
shortcutme
79b89f8a1b
Don't create new user on websocket event
2018-04-18 22:06:58 +02:00
shortcutme
3beab611a3
Rev3415, Fix FireFox wrapper_nonce url injection
2018-04-18 21:40:29 +02:00
shortcutme
fd842c43a6
Rev3412, Change no longer working trackers
2018-04-18 13:13:20 +02:00
shortcutme
aa68e69a18
Rev3411
2018-04-12 19:28:59 +02:00
shortcutme
e95bc31def
Fix logging and shutdown
2018-04-12 19:25:50 +02:00
shortcutme
4eb843fd8c
Delay saving users.json
2018-04-12 19:25:13 +02:00
shortcutme
05db08c8d2
Move new site auth address generation to separate function
2018-04-12 19:24:21 +02:00
shortcutme
513de18af5
Remove unused code
2018-04-12 19:22:38 +02:00
shortcutme
151a6ce9e3
UserManager exclusive logging
2018-04-12 19:22:06 +02:00
shortcutme
d4a1764d20
Rev3408, Use fixed 15441 port in tor always mode
2018-04-06 18:18:10 +02:00
shortcutme
5285699a21
Rev3407, Fix connection timeout checker
2018-04-06 00:51:14 +02:00
shortcutme
e23dc5bda3
Rev3406
2018-04-04 15:34:21 +02:00
shortcutme
8998bf85bd
Handle connection errors when running peerPing command
2018-04-04 15:34:07 +02:00
shortcutme
7b1601c840
Ping port 15441 by default
2018-04-04 15:33:39 +02:00
shortcutme
026b6a4b01
Handle shutdown request properly if not file server is running
2018-04-04 15:33:25 +02:00
shortcutme
d927e85eca
ConnectionServer is not running by default
2018-04-04 15:33:02 +02:00
shortcutme
abc481604f
Rev3404, Fix bigfile upload
2018-04-04 12:39:46 +02:00
shortcutme
c703458e00
Rev3403, Fix uploading small files with bigfile plugin
2018-04-04 10:24:38 +02:00
tangdou1
75861db84b
Update Chinese translation ( #1370 )
...
* Update zh.json
* Update zh.json
2018-04-04 03:50:04 +02:00
shortcutme
223957084a
Rev3402
2018-04-03 14:51:11 +02:00
shortcutme
8c0c0868e3
Add SiteCmd CLI command for ZeroFrame API calls
2018-04-03 14:50:58 +02:00
shortcutme
a65d21d7e4
Fix site cleanup after test
2018-04-03 14:50:09 +02:00
shortcutme
82e6bc5d31
Use websocket connection instead of fileserver to execute commands from CLI
2018-04-03 14:49:40 +02:00
shortcutme
09f1ad0625
Add websocket client to allow API command requests from CLI
2018-04-03 14:47:43 +02:00
shortcutme
852aaae52e
Randomize fileserver port
2018-04-03 14:45:04 +02:00
shortcutme
270922b460
Fix implicit ssl connection typo
2018-04-03 14:43:41 +02:00
shortcutme
b39da7e356
Change unreliable trackers
2018-04-03 14:43:12 +02:00
shortcutme
a438803a5a
Change zero.booth.moe tracker to https port
2018-04-03 14:42:16 +02:00
shortcutme
0139d862b5
Rev3395
2018-03-29 03:20:08 +02:00
shortcutme
0459c75dc0
Make file verification process handle correctly different files with same has_id by using new isDownloaded function
2018-03-29 03:19:26 +02:00
shortcutme
547242b1cb
Make siteVerify CLI command compatible with new verifyFiles return value
2018-03-29 03:17:45 +02:00
shortcutme
af7c7da735
Optional file downloaded checking by separate function
2018-03-29 02:59:11 +02:00
shortcutme
508d2472e9
Only verify content after valid signiture
2018-03-29 02:55:53 +02:00
shortcutme
f162987a4f
Rename optionalRemove to optionalRemoved and accept hash only by id
2018-03-29 02:54:52 +02:00
shortcutme
17be72e55e
Process delayed queries every second
2018-03-29 02:50:23 +02:00
shortcutme
d61cd96d8f
VerifyFiles call returns more detailed statistics
2018-03-29 02:49:06 +02:00
shortcutme
6daf583b4b
Only log detailed message type error with debug_socket argument
2018-03-29 02:45:33 +02:00
shortcutme
b1240426cd
For 3d rending to progress bar
2018-03-29 02:44:00 +02:00
shortcutme
30ab2cf9a7
Transform progressbar with scale instead of changing width
2018-03-29 02:42:57 +02:00
shortcutme
0c985a5fda
Use current user cert to query file rules for non-existent files
2018-03-29 02:41:30 +02:00
shortcutme
077d9d3918
Increase selenium test timeouts
2018-03-21 21:40:44 +01:00
shortcutme
76c4a6bb7c
Rev3377, Fix sidebar animation
2018-03-21 18:05:22 +01:00
shortcutme
ee81aea2fa
Wait until title in link security test
2018-03-20 22:27:32 +01:00
shortcutme
0cf6fb2c9d
Rev3376
2018-03-20 21:59:34 +01:00
shortcutme
d275dfea2f
Log 403 error as error
2018-03-20 21:55:45 +01:00
shortcutme
11d8485399
Move file modification permission check to separate function
2018-03-20 21:55:12 +01:00
shortcutme
6b926b12a4
Don't try to delete optional file twice on fileDelete API command
2018-03-20 21:54:33 +01:00
shortcutme
9adec79401
Formatting
2018-03-20 21:53:39 +01:00
shortcutme
c3b146611b
Rev3372, Cosmetic changes on open site directory button
2018-03-19 16:05:14 +01:00
shortcutme
b29d17d39a
Rev3371
2018-03-19 02:58:53 +01:00
shortcutme
ff3fdd4c72
Get privatekey from master seed CLI action
2018-03-19 02:58:38 +01:00
shortcutme
75adfebf9f
Rev3370
2018-03-18 21:27:35 +01:00
shortcutme
e96435378a
Fix typo
2018-03-18 21:27:26 +01:00
shortcutme
ccdfe77356
Display more detailed info on content sign error
2018-03-18 21:27:04 +01:00
shortcutme
adf39b6f6a
Avoid loading user content.json file on isArchived check
2018-03-18 21:26:20 +01:00
shortcutme
1ead9b59ba
Rev3367
2018-03-14 22:34:27 +01:00
shortcutme
c401cabee7
Only start separate HS for every site in tor always mode
2018-03-14 22:33:41 +01:00
shortcutme
1549f2aa4d
Don't share global HS with any site
2018-03-14 22:33:21 +01:00
shortcutme
89beb12d59
Set up HS for global at startup
2018-03-14 22:32:49 +01:00
shortcutme
4083e552fd
Formatting
2018-03-14 22:32:28 +01:00
shortcutme
3d7dea52a0
Always load my sites from sites.json
2018-03-14 22:32:15 +01:00
shortcutme
c5f77a1c38
Handle global onion address correctly in needConnections
2018-03-14 22:31:58 +01:00
shortcutme
3561ddf7d3
Do check needConnection for evey site after startup to have up to date protected ip list
2018-03-14 22:31:21 +01:00
shortcutme
81e96d25ba
Handle request using global onion address
2018-03-14 22:30:08 +01:00
shortcutme
1ad966bd80
In passive mode if we have send onion address for every connection not just for tor network
2018-03-14 22:29:00 +01:00
shortcutme
4f472982da
Use broken ssl ip list instead of peer_id
2018-03-14 22:26:59 +01:00
shortcutme
f1396b65b9
Blacklist myself on peer id match
2018-03-14 22:26:08 +01:00
shortcutme
ba12489c34
Log my and remote handshake
2018-03-14 22:25:53 +01:00
shortcutme
4586d3be78
Send my local time as int in the handshake
2018-03-14 22:25:27 +01:00
shortcutme
2204e0cf9c
Fix message parsing after data left in unpacker
2018-03-14 22:24:38 +01:00
shortcutme
8787774764
Use implicit ssl for connections
2018-03-14 22:24:06 +01:00
shortcutme
feb00d5b8a
Option to force encryption to all outgoing connection
2018-03-14 22:22:45 +01:00
shortcutme
1189c76691
Add existing bigfiles to piecefield if they were downloaded outside of ZeroNet
2018-03-14 22:21:45 +01:00
shortcutme
fbc10b8e32
Rev3356
2018-03-10 02:06:09 +01:00
shortcutme
511731f0b4
Add current timestamp to handshake for future time consensus feature
2018-03-10 02:04:14 +01:00
shortcutme
738fd1a09b
Rev3354, Fix ajax loading files from archives
2018-03-09 15:01:45 +01:00
shortcutme
645249afa9
Rev3353, Pass arguments of storage walk, Email notify of build fail
2018-03-08 14:27:40 +01:00
shortcutme
a51d794885
Rev3352
2018-03-08 14:20:18 +01:00
shortcutme
7048987157
Rev3351, Fix sites with utf8 title
2018-03-07 10:23:13 +01:00
shortcutme
e03731fd24
Allow html formatting in wrapper prompt display
2018-03-07 03:10:13 +01:00
shortcutme
7097859b79
Rev3350
2018-03-06 12:09:54 +01:00
shortcutme
e87df8a57a
NOSANDBOX is as dangerous as ADMIN command
2018-03-06 12:09:39 +01:00
shortcutme
982fb27f58
Close notification on input enter
2018-03-06 12:07:07 +01:00
shortcutme
16efba2b91
Merge wrapper js
2018-03-06 12:03:10 +01:00
shortcutme
e93b5c3c1c
Create wrapper html tags based on attributes instead of raw html
2018-03-06 12:02:39 +01:00
shortcutme
9dabd1f344
Wrapper escape apos characters
2018-03-06 12:01:39 +01:00
shortcutme
e96dd14e0d
Display wrapper security errors and fix Firefox navigation blank pages
2018-03-06 12:01:21 +01:00
shortcutme
3e970df09b
Simple replace wrapper template variables instead of python formatting to allow use braces
2018-03-06 12:00:30 +01:00
shortcutme
b0a8c4d278
Change http headers from list to dict
2018-03-06 11:58:56 +01:00
shortcutme
4c7013644f
Rev3340
2018-02-27 02:49:04 +01:00
shortcutme
bca5d8a6c5
Use msgpack pip package everywhere
2018-02-27 02:48:15 +01:00
shortcutme
af57083afd
Handle ip change on onion connection correctly
2018-02-27 02:46:56 +01:00
shortcutme
f10233a0a6
New msgpack compatible stream handling
2018-02-27 02:46:26 +01:00
shortcutme
357fd895bf
Add msgpack test
2018-02-23 15:44:07 +01:00
shortcutme
bda31aea59
Rev3337, Fix big site download button
2018-02-22 23:34:18 +01:00
shortcutme
dea669ac26
Rev3335
2018-02-21 03:15:16 +01:00
shortcutme
40693471e9
Merge sidebar and wrapper js
2018-02-21 03:15:04 +01:00
shortcutme
b57a9f5c58
Make cert selection compatible with wrapper modifications
2018-02-21 03:13:27 +01:00
shortcutme
6afe2dd720
New NOSANDBOX permission to remove sandboxed iframe restrictions
2018-02-21 03:12:51 +01:00
shortcutme
aef3ecc3f2
Stop page load if opener is present
2018-02-21 03:11:50 +01:00
shortcutme
01ce86ce18
Don't display permission request if site already has
2018-02-21 03:10:23 +01:00
shortcutme
99362c78bf
Move handleMessage to separate function
2018-02-21 03:09:48 +01:00
shortcutme
c0bf9a9a76
Add cmd function to Wrapper
2018-02-21 03:09:36 +01:00
shortcutme
1833b3e89f
Remove logging injected html
2018-02-21 03:09:01 +01:00
shortcutme
6b71f91775
Verify mouse and keyboard events to avoid non-user verification on notification prompts
2018-02-21 03:08:52 +01:00
shortcutme
5275988f37
Move isProxyRequest and gotoSite to minimal ZeroFrame wrapper
2018-02-21 03:06:48 +01:00
shortcutme
93162beaa0
Allow to set get parameter to reload
2018-02-21 03:06:21 +01:00
shortcutme
61699c7477
Allow small tag in messages
2018-02-21 03:05:11 +01:00
shortcutme
a1a2434d98
Rename wrapper onLoad to onPageLoad
2018-02-21 03:05:02 +01:00
shortcutme
fd56ddaa54
Remove wrapper object reference before loading iframe to enhance security
2018-02-21 03:03:01 +01:00
shortcutme
c438b9f8a5
Create a restricted ZeroFrame wrapper
2018-02-21 03:02:00 +01:00
shortcutme
3d0a20452f
Fix site archived download test
2018-02-20 10:18:35 +01:00
shortcutme
c5b8495477
Rev3329
2018-02-18 05:49:35 +01:00
shortcutme
62ecc1cbc1
Rename Unique to site to No certificate
2018-02-18 05:46:49 +01:00
shortcutme
cd822156c9
Rev3328, Fix CLI siteDownload, siteAnnounce, siteNeedFile commands
2018-02-13 13:18:40 +01:00
shortcutme
e85c5e3b36
Rev3327, Add compatbility with new msgpack version
2018-02-13 01:35:21 +01:00
shortcutme
02ab6d8f59
Rev3326
2018-02-12 17:07:50 +01:00
shortcutme
a548426c39
Formatting
2018-02-12 17:06:36 +01:00
shortcutme
5f851c7880
Maximum 10 findhash in one round
2018-02-12 17:06:18 +01:00
shortcutme
f91e264889
Only try peers that is not working currently
2018-02-12 17:05:58 +01:00
shortcutme
514f8396b7
Add missing import for port checking
2018-02-12 17:05:20 +01:00
shortcutme
c39ff89fab
Read only what we need
2018-02-12 14:28:45 +01:00
shortcutme
3f19f64efd
Properly recover extra data from unpacker
2018-02-12 14:27:38 +01:00
shortcutme
39366bfbf1
Rev3323, Fix bigfile download to non-existent directory
2018-02-11 01:48:17 +01:00
shortcutme
56f057143e
Rev3321
2018-02-10 15:34:01 +01:00
shortcutme
39568737dd
Tor connect error and uPnP punch error are not critical
2018-02-10 15:33:54 +01:00
shortcutme
13e0d9b306
Configurable file logging level
2018-02-10 15:32:13 +01:00
shortcutme
d6b7159db1
Rev3319
2018-02-10 01:09:16 +01:00
shortcutme
2575476086
Some trackers does not accept port 0, so we send port 1 as not-connectable
2018-02-10 01:08:31 +01:00
shortcutme
211d68f590
Only parse dict result from udp tracker
2018-02-10 01:08:20 +01:00
shortcutme
3e51b888cb
Add left bytes to request to improve tracker compatibility
2018-02-10 01:04:23 +01:00
shortcutme
ff8f41c1eb
Request less peers in update mode
2018-02-10 01:03:49 +01:00
shortcutme
c6fd61ddf3
Don't display warnings if not in debug mode
2018-02-10 01:01:15 +01:00
shortcutme
9ca4b823bb
Add tracker countries
2018-02-10 01:00:50 +01:00
shortcutme
f513737628
Change to more reliable trackers
2018-02-10 01:00:35 +01:00
shortcutme
47db295088
Rev3318
2018-02-09 17:47:58 +01:00
shortcutme
3028a8ebc9
Rev3313, Remove local announcer binding to ip to make test pass on linux
2018-02-09 14:15:43 +01:00
shortcutme
644f65b5e4
Version 0.6.2, Rev3312
2018-02-09 11:42:44 +01:00
shortcutme
9f35efc31d
Revert "Version 0.6.2, Rev3310"
...
This reverts commit 98c6add637
.
2018-02-09 11:39:36 +01:00
shortcutme
98c6add637
Version 0.6.2, Rev3310
2018-02-08 18:16:50 +01:00
shortcutme
ae0a78dfb1
Message from local peer does not means internet connection
2018-02-08 18:12:08 +01:00
shortcutme
1ad021ffa9
Fix comment formatting
2018-02-08 18:11:56 +01:00
shortcutme
ee6ab8e82a
Store site manager to file server
2018-02-08 18:11:45 +01:00
shortcutme
b56c985a63
FileServer accept plugins
2018-02-08 18:09:57 +01:00
shortcutme
abbf6ae2c8
Fix peer added count
2018-02-08 18:08:08 +01:00
shortcutme
403ec56ef8
Remove from recent peers of peer remove
2018-02-08 18:07:09 +01:00
shortcutme
a6e67fa9c3
Generalized tracker result log format for pex
2018-02-08 18:06:45 +01:00
shortcutme
b6a401d697
Get loading status based on property
2018-02-08 18:06:19 +01:00
shortcutme
23be1d18a4
Store site list change time
2018-02-08 18:05:50 +01:00
shortcutme
d721d459eb
Sites always a dict to keep the reference
2018-02-08 18:05:23 +01:00
shortcutme
e1dd0f0979
Only recover sites from sites.json that had peers
2018-02-08 18:04:41 +01:00
shortcutme
866947c445
Fix symlinked data site deletion
2018-02-08 18:03:55 +01:00
shortcutme
8ff3bbc9a7
Local ip not added to ips
2018-02-08 18:02:40 +01:00
shortcutme
498191261c
Don't log local ips on query
2018-02-08 18:02:25 +01:00
shortcutme
f9091ea951
Don't connect to myself
2018-02-08 18:01:48 +01:00
shortcutme
8b9d75d726
Don't mark passive local connections as not connectable
2018-02-08 18:01:34 +01:00
shortcutme
7e4a4459b4
Don't multiplex local connection
2018-02-08 17:59:27 +01:00
shortcutme
70fd33e587
Message from local peer does not means internet connection
2018-02-08 17:58:44 +01:00
shortcutme
a265c2a7ca
Pass peer discovery source to addPeer
2018-02-08 17:57:26 +01:00
shortcutme
64b4789bc1
Generalize tracker logging
2018-02-08 17:54:09 +01:00
shortcutme
13e651c822
Store and prefer recent peers from trackers and local peer discovery
2018-02-08 17:53:17 +01:00
shortcutme
7d3fd6f5b6
Only add recent peers if there is more
2018-02-08 17:51:44 +01:00
shortcutme
0c91fd396e
De-duplicate peers before publishing
2018-02-08 17:51:10 +01:00
shortcutme
1827e1e033
Force announce on startup
2018-02-08 17:50:40 +01:00
shortcutme
771dce4c8c
Pre-generate site address hash
2018-02-08 17:50:23 +01:00
shortcutme
ab2fe909f0
Prefer connected workers
2018-02-08 17:49:40 +01:00
shortcutme
6fb9c6ef05
Rev3234, Ignore unknown characters from connection logging
2018-01-30 18:59:26 +01:00
shortcutme
9b41950e4c
Rev3233
2018-01-30 14:29:57 +01:00
shortcutme
bc09b6280b
Add index.html as default inner_path to uirequest
2018-01-30 14:29:38 +01:00
shortcutme
3e7a4f593a
Fix tor PEX test as private peers no longer got exchanged
2018-01-30 14:29:10 +01:00
shortcutme
679a88c095
Rev3232
2018-01-30 14:00:39 +01:00
shortcutme
97d1d0d63b
Fix cleanup sites with no modified date
2018-01-30 13:59:59 +01:00
shortcutme
ee30f78ab0
Fix logging utf8 chars in connections
2018-01-30 13:59:39 +01:00
shortcutme
566b689ca6
Don't connect to private ip addresses in tor always mode
2018-01-30 13:59:18 +01:00
shortcutme
c2edbb30b5
Don't send private ip addresses on pex
2018-01-30 13:58:01 +01:00
shortcutme
05c1df81ad
Rev3230
2018-01-28 16:44:52 +01:00
shortcutme
48e8b956d2
Only add myself to connect blacklist if running other cli action
2018-01-28 16:42:23 +01:00
shortcutme
56e80f7c0c
Add per-cmd site permission query
2018-01-28 16:41:42 +01:00
shortcutme
4a823c57d5
Rev3229
2018-01-27 12:25:03 +01:00
shortcutme
2f74f64d65
Longer timeout for updates and large files before other peers started working on it
2018-01-27 12:24:50 +01:00
shortcutme
d44677e46f
Don't keep connections for sites that not modified in last week
2018-01-27 12:21:25 +01:00
shortcutme
4afb6b3d9c
Limit connections to 512 by default
2018-01-27 12:20:40 +01:00
shortcutme
18d3e8905e
Longer timeout for tor peers
2018-01-27 12:19:57 +01:00
shortcutme
fd14a4ac80
Don't create connection to blacklisted peer
2018-01-27 12:19:37 +01:00
shortcutme
cc48a0ad86
Turn on gevent block logging by default
2018-01-27 12:15:18 +01:00
shortcutme
3fb9f900f6
Rev3225, Handle correctly and test out of range bigfile requests
2018-01-21 18:56:30 +01:00
shortcutme
9c4093dc7c
Rev3224, Small cosmetic changes on sidebar Sign and publish button
2018-01-21 18:14:12 +01:00
shortcutme
342f9f6096
Rev3223, Fix error when using ip wihout city entry
2018-01-20 12:11:43 +01:00
shortcutme
0c6c7d2725
Rev 3222, Use eval in bench for older pytyhon compatibility, Remove unnecessary print from chart archive
2018-01-20 11:49:17 +01:00
shortcutme
f5846853b3
Bump rev in config
2018-01-19 13:52:27 +01:00
shortcutme
6db011d807
Rev3221, Revert to afterLoad execution immediately after plugins loaded to avoid problems with plugins
2018-01-19 02:51:16 +01:00
shortcutme
fe59352800
Version 0.6.1, Rev3220
2018-01-19 02:34:32 +01:00
shortcutme
dedf6cd92f
Support initial calls for console bench function
2018-01-19 02:32:44 +01:00
shortcutme
99fdbcd1fe
Fix ratelimit test
2018-01-19 02:32:11 +01:00
shortcutme
005358f4bf
Use separate db connection for rebuilding
2018-01-19 02:31:46 +01:00
shortcutme
ea1cd63929
Log hashfield change time on send
2018-01-19 02:30:52 +01:00
shortcutme
c8ac4c0278
Update content update time after successful listmodifications
2018-01-19 02:29:18 +01:00
shortcutme
49a332724e
No connected peers if no connection server
2018-01-19 02:27:40 +01:00
shortcutme
a21c417c0b
Better announce logging
2018-01-19 02:27:19 +01:00
shortcutme
155f05cb63
Trigger onLoaded after config loaded
2018-01-19 02:27:00 +01:00
shortcutme
6d644922d5
Don't display greenlet errors twice
2018-01-19 02:24:29 +01:00
shortcutme
b0a125c113
Ignore case in file merge order
2018-01-19 02:23:33 +01:00
shortcutme
d17cb3fafc
Helper for avg calculation
2018-01-19 02:21:54 +01:00
shortcutme
814fa881d0
skip on invalid received hash ids
2018-01-19 02:20:20 +01:00
shortcutme
fd451ae766
Make indexes and tables optional
2018-01-19 02:18:40 +01:00
shortcutme
089bb92f70
Record last query time on every command
2018-01-19 02:18:19 +01:00
shortcutme
5b6e1f699d
Add db id to logging
2018-01-19 02:17:23 +01:00
shortcutme
03c469ff3a
Formatting
2018-01-19 02:16:50 +01:00
shortcutme
c122dc108a
Record received and sent requests
2018-01-19 02:16:33 +01:00
ZeroNet
9b3a50c124
Merge pull request #1240 from imachug/issue-1239
...
Don't handle `open` or `success` in error message as a sign of port being opened
2018-01-14 10:24:21 +01:00
Ivanq
5d7b8cfd48
Return dict object, not single None value
2018-01-14 09:38:55 +03:00
Ivanq
6318c0889a
Don't check error message for 'open' when checking port
2018-01-14 09:35:03 +03:00
shortcutme
0aae28e836
Rev3179
2018-01-05 20:23:35 +01:00
shortcutme
b298571395
Change unreliable tracker
2018-01-05 20:23:29 +01:00
shortcutme
4f6a496c36
Test named db select arguments
2018-01-05 20:22:56 +01:00
shortcutme
a3a7af73bd
Fix named db query list parameters when query ends with parameter
2018-01-05 20:22:25 +01:00
Ivanq
8986d8037a
Typos
2017-12-30 12:16:16 +03:00
Ivanq
d97631fb8c
str()
2017-12-30 12:06:07 +03:00
Ivanq
be1eb14fd0
Handle dict value being a list
2017-12-30 10:06:05 +03:00
shortcutme
92e353be40
Rev3178, Skip sites with not database in newsfeed
2017-12-27 11:09:16 +01:00
shortcutme
ccd002b97f
Rev3177, Import missing SafeRe module
2017-12-20 23:35:49 +01:00
shortcutme
c7d067ea3c
Rev3176, Skip listing ignored directories on signing
2017-12-20 23:25:25 +01:00
shortcutme
7ee5cbe473
Rev3175, Make getConnectablePeers return not-connected peers by default
2017-12-19 16:14:13 +01:00
shortcutme
c9c1d10ee4
Rev3173, Don't display Cors permission ask if already has, Fix error on Cors request on non-existent site
2017-12-18 02:37:09 +01:00
shortcutme
b5452bce6b
Rev3171, Allow 127.0.0.1 peers for testing reasons
2017-12-15 12:28:48 +01:00
shortcutme
6628b07bba
Rev3170
2017-12-15 12:14:09 +01:00
shortcutme
8f34afc630
Send websocket update on site limit change
2017-12-15 12:13:35 +01:00
shortcutme
1ac69ae315
New UiWebsocket API command to run commands as other site
2017-12-15 12:13:19 +01:00
shortcutme
8a331e7400
UiWebsocket handleRequest takes parsed request intead of raw message
2017-12-15 12:11:27 +01:00
shortcutme
ca42740e1b
Don't add peer 127.0.0.1 and 0.0.0.0
2017-12-15 12:10:36 +01:00
shortcutme
1d5c0597d9
Ignore site list order
2017-12-15 01:58:57 +01:00
shortcutme
acc734d22d
Rev3167, Fix newsfeed queries with multiple params
2017-12-12 23:46:05 +01:00
shortcutme
8ab7d26cd1
Rev3165, Avoid UI block when rubilding a merger site
2017-12-12 11:06:32 +01:00
shortcutme
e86375f721
Rev3164
2017-12-11 19:56:37 +01:00
shortcutme
a2567277c6
Rev3163
2017-12-11 19:21:41 +01:00
shortcutme
74e5f5310b
Rev3161
2017-12-07 15:25:50 +01:00
shortcutme
51fdf95295
Allow ajax ranged requests
2017-12-07 15:25:32 +01:00
shortcutme
0009b1b7d1
Allow site fullscreen functions
2017-12-07 15:23:51 +01:00
shortcutme
74e50e209a
Rev3158, Fix site clone with sites larger that 10MB
2017-12-04 16:04:10 +01:00
shortcutme
1208294747
Remove unused variable, more clear comment on state object
2017-12-02 15:35:32 +01:00
shortcutme
3de182a4ed
Rev3157, Fix websocket utf8 error when requesting files from different sites at the same time
2017-12-02 15:31:36 +01:00
shortcutme
90ff9ac7fb
Rev3155, Avoid UI hang during db rebuild
2017-12-02 02:38:17 +01:00
shortcutme
6b92d011d2
Rev3153, Download missing sites from sites.json
2017-11-30 19:38:56 +01:00
shortcutme
8b9a8997ac
Rev3151
2017-11-29 13:50:03 +01:00
shortcutme
cfeb2797e3
Merge wrapper js
2017-11-29 13:48:30 +01:00
shortcutme
06a50b189d
Use empty placeholder if not specified
2017-11-29 13:48:20 +01:00
shortcutme
7c1a4e353d
Allow inject html command from ui server
2017-11-29 13:48:07 +01:00
shortcutme
2b611ae798
Rev3148, Fix big site size calculation
2017-11-28 18:16:37 +01:00
shortcutme
fdd82f7ac4
Rev3146, Limit noparallel queue to one call
2017-11-20 03:13:58 +01:00
shortcutme
ea9d345548
Rev3144
2017-11-19 18:22:28 +01:00
shortcutme
24372470f6
My_ip no longer required to be sent via updates
2017-11-19 18:21:47 +01:00
shortcutme
51f1781df4
Move bad file checking to separate function, root content.json does not requires file_info
2017-11-19 18:21:10 +01:00
shortcutme
972bef4f7d
Add invalid content.json to bad files
2017-11-19 18:19:45 +01:00
shortcutme
a2da8eca68
Master startup by waiting less between site update checks
2017-11-19 18:18:26 +01:00
shortcutme
620d8caea9
Always use peer's real ip instead of reported one using update parameter
2017-11-19 18:18:08 +01:00
shortcutme
35bd5e8595
UPnP formatting
2017-11-17 18:09:02 +01:00
shortcutme
86e607c403
Catch all exception on uPnP port opening
2017-11-17 18:08:45 +01:00
Biosias
25add764e4
Add files via upload
...
Adding Slovak translation (sk.json)
2017-11-11 17:26:29 +01:00
shortcutme
7d8490bdcb
Rev3139
2017-11-10 11:16:30 +01:00
shortcutme
ff7ac90785
Rev3137
2017-11-09 13:33:18 +01:00
shortcutme
b01e381087
Async port opening using different nic ips
2017-11-09 13:33:02 +01:00
shortcutme
5026f1b0a8
Delay RateLimit call after delayed call triggered
2017-11-09 13:32:21 +01:00
shortcutme
9d09890457
Rev3135, Add fileNeed command compatibility to merger sites
2017-11-06 13:16:46 +01:00
shortcutme
4483180569
Rev3134
2017-11-05 23:45:08 +01:00
shortcutme
4465146615
Update server_info on port open status change
2017-11-05 23:43:51 +01:00
shortcutme
3b7750c24e
Send serverChanged event on Tor status change
2017-11-05 23:43:03 +01:00
shortcutme
7962baa2da
Also join to serverChanged channel by default
2017-11-05 23:42:33 +01:00
shortcutme
6f37654303
Send serverChanged event on server_info changes
2017-11-05 23:42:14 +01:00
shortcutme
2781e31be0
Keep track of websocket connections
2017-11-05 23:40:59 +01:00
shortcutme
b39d86d020
serverChanged channel
2017-11-05 23:37:53 +01:00
shortcutme
754a3db1b9
Allow multiple channel joins by one command
2017-11-05 23:37:32 +01:00
ZeroNet
8242e91238
Merge pull request #1165 from imachug/dbquery
...
DbQuery and Newsfeed bug
2017-11-04 13:01:05 +01:00
shortcutme
c3250378ee
Rev3128, Allow modals for sites
2017-10-30 15:15:40 +01:00
shortcutme
9d4515954b
Rev3127, Fix UiWebsocket async message response skip
2017-10-29 23:39:36 +01:00
shortcutme
46455737cc
Rev3126
2017-10-28 02:40:42 +02:00
shortcutme
2e74b73ba0
Verify signatures using CLI
2017-10-28 02:39:49 +02:00
Ivanq
c64e97f0d6
DbQuery: WHERE without AND is still WHERE
2017-10-26 18:32:05 +03:00
shortcutme
9034449e96
Fix fileInfo test
2017-10-26 10:50:56 +02:00
shortcutme
00b6842f35
Rev3125
2017-10-26 10:43:51 +02:00
shortcutme
e8f049a765
Strip / from content.json location of file_info
2017-10-26 10:43:10 +02:00
shortcutme
53afd97346
Alway start workers for slow tasks
2017-10-26 10:40:41 +02:00
shortcutme
604792a4dd
Call response function for return values of UiWebsocket actions
2017-10-26 10:40:02 +02:00
shortcutme
9d511ba165
Rev3122, Auto ignore database file
2017-10-22 11:13:09 +02:00
shortcutme
c519239d87
Add more detail on cli signing error
2017-10-22 11:11:26 +02:00
shortcutme
fa409e63f8
Rev3120
2017-10-21 11:03:09 +02:00
shortcutme
e048fa6c6a
Target 6 connections per site
2017-10-21 11:02:40 +02:00
shortcutme
940d583f9a
Fix site violation bug when using Tor
2017-10-21 11:02:27 +02:00
shortcutme
ed965041e6
Report progress on GeoLite2 download
2017-10-21 11:01:57 +02:00
shortcutme
d50603f722
Rev3114, Add details to permission requests
2017-10-17 17:02:56 +02:00
shortcutme
4efcfa8bf4
Rev3112, Allow user rules based on auth address
2017-10-16 20:26:41 +02:00
shortcutme
9551d11f5c
Rev3110 version update
2017-10-16 15:13:02 +02:00
shortcutme
b40ef09108
Rev3110
2017-10-16 15:12:34 +02:00
shortcutme
75cf8bbb0a
Change arument order of siteSign API call
2017-10-16 15:11:43 +02:00
shortcutme
c40f0c6919
Fix uploading bigfile to non-user directory
2017-10-16 15:11:19 +02:00
shortcutme
807dc866e5
Rev3106, Cancel other part downloads when delete optional file
2017-10-16 01:43:51 +02:00
shortcutme
3f52f78af2
Rev3105, Change tracker domain due GFW banned zeronet.io domain
2017-10-14 12:51:31 +02:00
shortcutme
a66b71fb9c
Rev3104, Fix bigfile signing via command line
2017-10-13 11:27:45 +02:00
shortcutme
65eff6b6d9
Rev3102
2017-10-13 01:23:43 +02:00
shortcutme
027ee83c6f
Wait 0.1s for new tasks before shut down worker
2017-10-13 01:23:26 +02:00
shortcutme
60af54a17e
Start find optional files if no peers to try
2017-10-13 01:23:09 +02:00
shortcutme
19c335e39a
Fix bytes sent stats
2017-10-13 01:22:16 +02:00
shortcutme
d32303de57
Increase buffer size for file streaming
2017-10-13 01:21:45 +02:00
shortcutme
de360a8585
Received and sent connection command statistics
2017-10-13 01:21:05 +02:00
shortcutme
24c1596048
Keep track last received command for connection
2017-10-13 01:19:34 +02:00
shortcutme
4a75d9d4f5
Rev3099
2017-10-11 14:30:12 +02:00
shortcutme
68ea4d02cb
Don't reset bad file counter after restart, but limit to 20
2017-10-11 14:29:54 +02:00
shortcutme
8b3ff6454f
Limit connections to 500, backlog to 100
2017-10-11 14:22:23 +02:00
shortcutme
de28643e20
Rev3098
2017-10-10 14:58:52 +02:00
Filip Š
136a0fbe28
Add Slovenian translate.
2017-10-07 20:16:20 +02:00
shortcutme
7905e12fc3
Rev3097, Add peer info for bigfiles even if it's not downloaded
2017-10-06 00:42:19 +02:00
shortcutme
07caaa6b48
Fix removed is_pinned flag on content.json update
2017-10-05 19:24:39 +02:00
shortcutme
0e85beec30
Rev3094
2017-10-04 17:27:08 +02:00
shortcutme
f1276beb97
Bump prority for non-user json files
2017-10-04 17:27:01 +02:00
shortcutme
365ba9b5f4
Force start peers for optional files
2017-10-04 17:26:43 +02:00
shortcutme
f997a69ebc
Run checkTask for every task
2017-10-04 17:26:21 +02:00
shortcutme
e2b6dd37b7
Only announce once per checkTask loop
2017-10-04 17:25:56 +02:00
shortcutme
bc9bddf918
Make sure the hashfield response is correct
2017-10-04 17:25:33 +02:00
shortcutme
e4fc4ca410
Version 0.6.0, Rev3091
2017-10-04 13:36:29 +02:00
shortcutme
0b9bc56959
Test sub-directory files in user diretories
2017-10-04 13:36:14 +02:00
shortcutme
e9beeb85fc
Use with to open files to avoid keeping them open in case of errors
2017-10-04 13:35:55 +02:00
shortcutme
a71e82c315
Test user sub-directories inner_path
2017-10-04 13:35:15 +02:00
shortcutme
d176150248
Test multiple length of message for signing
2017-10-04 13:34:50 +02:00
shortcutme
ab9fa9ec0c
Mark data/optional.* as optional for test site
2017-10-04 13:34:14 +02:00
shortcutme
3d57fbb1b8
Use the real size of content.json instead of predefine it
2017-10-04 13:33:26 +02:00
shortcutme
f0f9240fc8
getDirname strips the leading / chars
2017-10-04 13:33:00 +02:00
shortcutme
b1bfe39cd5
Use merged getFile function call to download file using streaming
2017-10-04 13:32:39 +02:00
shortcutme
c82b19687a
Spy object also stores the called object
2017-10-04 13:31:49 +02:00
shortcutme
be755fe25e
Custom logging for tests to spot possible performance bottlenecks easier
2017-10-04 13:30:17 +02:00
shortcutme
8e2be5cfe2
Add Merkletools package for bigfile plugin
2017-10-04 13:29:32 +02:00
shortcutme
f7ce401564
Function to remove invalid characters from file path
2017-10-04 13:25:07 +02:00
shortcutme
5dbaf02e33
Add content.json location to getFileInfo
2017-10-04 13:24:44 +02:00
shortcutme
2ef537ee6c
Fox user_address detection for sub-directories in user directory
2017-10-04 13:24:22 +02:00
shortcutme
74048ce53f
Update site size on startup and file archival
2017-10-04 13:20:39 +02:00
shortcutme
96ceb253e8
GetTotal size also return optional sum of optional file sizes
2017-10-04 13:19:19 +02:00
shortcutme
6e55c8b7c7
Allow ranged SQL queries
2017-10-04 13:10:41 +02:00
shortcutme
38c663ee95
Use WHERE 1 for queries without argument
2017-10-04 13:10:26 +02:00
shortcutme
ca473d6c3b
Allow plugins on ContentManager
2017-10-04 12:51:37 +02:00
shortcutme
36b74e1c6a
ContentManager logging improvements
2017-10-04 12:51:24 +02:00
shortcutme
8e3e96fe65
Create storage object after site settings loaded
2017-10-04 12:50:24 +02:00
shortcutme
0f0f3894ff
request from directory . should drop forbidden error
2017-10-04 12:48:48 +02:00
shortcutme
a2182e8a8d
Invalid nonce requests automatically shows wrapper now
2017-10-04 12:48:16 +02:00
shortcutme
4042de460e
actionFile allows file details to be passed as parameter
2017-10-04 12:46:06 +02:00
shortcutme
0dd34403a2
Combinate isfile and filesize query to one function
2017-10-04 12:44:34 +02:00
shortcutme
edb9d3f719
Media files requested from non-seeded site not wokring anymore
2017-10-04 12:42:05 +02:00
shortcutme
1f5db0aa24
Nonce checking moved to route command
2017-10-04 12:41:14 +02:00
shortcutme
74b2408668
Move path checking to parsePath
2017-10-04 12:39:08 +02:00
shortcutme
f53612bef7
Media request should start with normal characters
2017-10-04 12:38:44 +02:00
shortcutme
4d991cda6d
Also serve htm files with wrapper
2017-10-04 12:37:56 +02:00
shortcutme
6984575901
Remove dead reload code
2017-10-04 12:37:34 +02:00
shortcutme
75b44f6980
Raise SecurityError on invalid path
2017-10-04 12:37:22 +02:00
shortcutme
3c46f60042
Show wrapper automatically if wrapper nonce is invalid
2017-10-04 12:35:15 +02:00
shortcutme
7dbc323f76
ZeroNet-internal virtual path on UiServer for internal commands
2017-10-04 12:33:43 +02:00
shortcutme
903b62ba7c
Make fileNeed API command async
2017-10-04 12:32:40 +02:00
shortcutme
53da40fe5d
Allow to show site directory in local file browser
2017-10-04 12:31:57 +02:00
shortcutme
d0f85f3d04
String / from left during dirname conversion
2017-10-03 16:05:01 +02:00
shortcutme
49d863fa54
Reduce indent by using continue instead of if
2017-10-03 16:04:03 +02:00
shortcutme
6fe5e2b751
Speed up task competition by wait 10*0.1 sec for task finish instead of 1x1sec before start wokring on it
2017-10-03 16:02:49 +02:00
shortcutme
59d45f445a
Always start findOptional if no worker running but there is tasks
2017-10-03 16:01:02 +02:00
shortcutme
09d19da3bc
Always update hashfield for peer during findHash
2017-10-03 15:58:51 +02:00
shortcutme
1036d0e4a0
Allow second peer for same task only if priority is above 10
2017-10-03 15:58:01 +02:00
shortcutme
8ba4201237
More agressive optional file finding
2017-10-03 15:56:58 +02:00
shortcutme
7c69118c2c
Move peer adding to separate function
2017-10-03 15:55:42 +02:00
shortcutme
6238bb7f2d
Multiplexing support for peers (disabled by default)
2017-10-03 15:55:07 +02:00
shortcutme
42ea01dde9
No extra time for larger files task timeout
2017-10-03 15:53:59 +02:00
shortcutme
c0b8e802ec
Fix findhash initial delay
2017-10-03 15:53:00 +02:00
shortcutme
43bd8a2d6c
Stop findhash if all task finished during the findhash call
2017-10-03 15:52:37 +02:00
shortcutme
e85efe2c64
Restart find optional files algorithm if new task started since running the function
2017-10-03 15:52:04 +02:00
shortcutme
988d169687
Fix asked_peers ignore for optional files
2017-10-03 15:51:17 +02:00
shortcutme
43e6f374fa
Don't increase priority when addTask called again
2017-10-03 15:49:52 +02:00
shortcutme
c91011e6ea
Pass file info for addTask call
2017-10-03 15:49:08 +02:00
shortcutme
f45c0b2377
Log time taken for optonal file download
2017-10-03 15:48:36 +02:00
shortcutme
9b8eeb6a73
WorkerManager addTask returns task instead of event
2017-10-03 15:47:46 +02:00
shortcutme
468fe8f266
Move json formatting to separate function
2017-10-03 15:30:10 +02:00
shortcutme
5ccdfbd40a
Update site optional size on save
2017-10-03 15:29:52 +02:00
shortcutme
ad969dcca7
Move file download allowed checking to separate function
2017-10-03 15:29:26 +02:00
shortcutme
08b31416f3
Move needFileInfo to separate function
2017-10-03 15:28:37 +02:00
shortcutme
c494b01435
Update hashfiled more often
2017-10-03 15:26:53 +02:00