Commit graph

1998 commits

Author SHA1 Message Date
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