shortcutme
b981ddadca
Encode error repose to bytes
2019-03-16 00:00:35 +01:00
shortcutme
bcd721e2ef
Always display title if there is content.json file
2019-03-16 00:00:04 +01:00
shortcutme
a96ff8399f
Open template as utf8 file
2019-03-15 23:59:30 +01:00
shortcutme
2f4dec45a6
Decode path as utf8
2019-03-15 23:58:18 +01:00
shortcutme
b216e42397
Fix modified files checking
2019-03-15 23:57:30 +01:00
shortcutme
9b6c624554
Allow cloning if content.json update fails
2019-03-15 23:57:06 +01:00
shortcutme
12154613c2
Write use file as binary
2019-03-15 23:56:16 +01:00
shortcutme
a42dee5a44
unpackOnionAddress Py3 support
2019-03-15 23:55:40 +01:00
shortcutme
d4d86172f0
Cmp function backport and Utf8 to Byte response decorator helper funcations
2019-03-15 23:55:23 +01:00
shortcutme
a49f454826
Lock files in binary mode, with one byte
2019-03-15 23:53:48 +01:00
shortcutme
cd9a965057
atomicWrite Py3 support, full stack logging
2019-03-15 23:50:33 +01:00
shortcutme
f5bc26e9fe
Use binary format for atomicWrite
2019-03-15 23:49:55 +01:00
shortcutme
c55d69d587
Python3 has builtin inet_pton support
2019-03-15 23:49:13 +01:00
shortcutme
e508357cfb
RateLimit py3 support
2019-03-15 23:48:46 +01:00
shortcutme
1c578b2b3f
Remove SSL patches for old Python/Gevent support, patch ctypes find_library to find openssl libs
2019-03-15 23:48:28 +01:00
shortcutme
4ce2ef732d
Rename StreamingMsgpack to Msgpack, add helpers
2019-03-15 23:33:04 +01:00
shortcutme
65705aba10
Fix UpnpPunch py3 compatibility
2019-03-15 23:32:05 +01:00
shortcutme
e97873fb7e
UpnpPunch gets custom logger
2019-03-15 23:31:13 +01:00
shortcutme
13d1df3cef
Only log worker download status if small ammount of task present
2019-03-15 23:30:34 +01:00
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