Commit Graph

1603 Commits

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