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
shortcutme
c0e69e91a1
Always use streamFile for files bigger than 512k, increase file reads to 1MB for larger files
2017-10-03 15:26:39 +02:00
shortcutme
1c029981ae
Raise exception when no response received
2017-10-03 15:23:25 +02:00
shortcutme
f9e64bc874
Log inner_path and location for peer request in verbose mode
2017-10-03 15:23:03 +02:00
shortcutme
8d26a572dd
Hashlib-like truncated sha512/256 object
2017-10-03 15:22:05 +02:00
shortcutme
936371a7ec
Support digest output for sha512sum
2017-10-03 15:20:50 +02:00
shortcutme
628cc992e9
Don't send ok result when update is queued
2017-10-03 15:19:34 +02:00
shortcutme
636813c603
Reduce connection cpu usage by socket send time
2017-10-03 15:19:09 +02:00
shortcutme
2eb6cc8f55
Don't add myself to findhash result if ip detection failed
2017-10-03 15:07:26 +02:00
shortcutme
8ae9b5261e
Unify handling Stream and Get file requests
2017-10-03 15:03:56 +02:00
shortcutme
7153982981
Allow to register callback after the pluginned classes got generated
2017-10-03 14:57:44 +02:00
shortcutme
fcfd428b54
Enable plugins for Peer class
2017-10-03 14:56:42 +02:00
shortcutme
20e3dc5fa7
Only enable source code reloading for normal action
2017-10-03 14:55:28 +02:00
shortcutme
32ca6ac1a7
Move site cache generation to separate function to allow plugins to extend it
2017-10-03 14:40:13 +02:00
shortcutme
02ad7542b3
Temporary disable P2P port checking until more client start supporting it
2017-10-03 14:39:04 +02:00
shortcutme
57c042ef79
Use recent peers for P2P port checking
2017-10-03 14:38:33 +02:00
shortcutme
52a468d9fd
Allow 10 second for reponse
2017-10-03 14:34:21 +02:00
shortcutme
2cf86642a2
Run connection cleanup every 15 seconds
2017-10-03 14:32:31 +02:00
shortcutme
e76164c7a9
Change the posistion of handleStream function
2017-10-03 14:32:02 +02:00
shortcutme
bf0d359116
Increase buffer size to 64k to better performance for big files
2017-10-03 14:31:39 +02:00
shortcutme
5f37bf3eef
Enable TCP_NODELAY if supported
2017-10-03 14:31:16 +02:00
shortcutme
d8453384ab
Separate socket creation and connection to be able to cancel it
2017-10-03 14:30:19 +02:00
shortcutme
f4cdc31788
Lock socket during sending data
2017-10-03 14:27:29 +02:00
Ivanq
f8f26f0a89
Return log_dir, data_dir, src_dir as result of getConfig
2017-09-25 19:10:17 +03:00
Ivanq
522e9ebf39
Show config via getConfig console command
2017-09-25 19:09:59 +03:00
ZeroNet
27a9ea78b8
Merge pull request #1122 from imachug/siteclone
...
Allow siteClone for non-admin sites
2017-09-22 11:01:43 +02:00
Ivanq
7fa019321c
Check site before cloning
2017-09-22 08:28:39 +03:00
Ivanq
f98f52a50e
Allow siteClone not for admin sites
2017-09-22 08:24:18 +03:00
ZeroNet
bc71555a73
Merge pull request #1070 from anoadragon453/small_gram_fix
...
Small English grammer fixes
2017-09-21 13:46:11 +02:00
shortcutme
d3d7489232
Rev2192, Fix incorrect site detection when using async commands with Cors or MergerSite plugin
2017-09-20 17:06:09 +02:00
Ivanq
db339eecd3
Allow 'backup' or 'log' as directories
2017-09-16 21:57:20 +03:00
ZeroNet
53cd2cdbf3
Merge pull request #1114 from imachug/binary
...
Read files as binary in fileGet()
2017-09-10 09:28:45 +02:00
Ivanq
4bbea46b90
Read files as binary in fileGet()
2017-09-10 09:46:21 +03:00
shortcutme
932db9bbe4
Rev2190
2017-09-02 14:28:40 +02:00
shortcutme
bfd3d18a10
Fix multiuser plugin compatibility
2017-09-02 14:28:01 +02:00
shortcutme
b584c586ec
Fix longer signers_sign signing
2017-09-02 14:26:39 +02:00
grez911
158f9e37e5
Added explanation of convertion actionWrapper response to list
2017-08-25 11:05:48 +03:00
grez911
905976a1b6
Added exception handling for broken user.json
2017-08-22 17:43:55 +03:00
shortcutme
5ad614743b
Rev2187
2017-08-19 18:55:48 +02:00
ZeroNet
d44f08382a
Merge pull request #1076 from grez911/master
...
Added P2P portcheck
2017-08-18 14:47:38 +02:00
shortcutme
5e926ec98e
Rev2186
2017-08-18 14:47:08 +02:00
shortcutme
9f762a0230
Bootstrapper use python date functions instead of sqlite
2017-08-18 14:43:28 +02:00
shortcutme
f1c320dd22
Log sign errors
2017-08-18 14:38:58 +02:00
shortcutme
4c7500e248
Fix getDirname description
2017-08-18 14:37:56 +02:00
grez911
8487056edb
Small fix in P2P portcheck
2017-08-18 11:43:06 +03:00
grez911
bf69d24566
Deleted unnecessary import statement
2017-08-18 11:38:26 +03:00
grez911
1fc2a917d4
Fix P2P port check
2017-08-18 11:29:41 +03:00
Sergei Bondarenko
c0a96983a7
Update FileServer.py
2017-08-16 14:32:47 +03:00
Sergei Bondarenko
a4132c9cb1
Update FileServer.py
2017-08-16 09:40:54 +03:00
grez911
5c5e4b914c
Added P2P portcheck
2017-08-15 20:17:42 +03:00
shortcutme
1db2327b3d
Rev2180, Allow ajax requests using ajax_key http get parameter
2017-08-15 02:40:38 +02:00
shortcutme
0a380dc0ab
Rev2180
2017-08-09 14:22:17 +02:00
shortcutme
29aa1b7b93
Log file diffing timings
2017-08-09 14:21:59 +02:00
shortcutme
5a08545e2d
Only recalculate site sizes on exit
2017-08-09 14:21:44 +02:00
shortcutme
65d68fb8ac
Compile Ui js
2017-08-09 14:21:09 +02:00
shortcutme
d093764731
New API command: fileNeed to request optional file
2017-08-09 14:20:49 +02:00
shortcutme
24982aee42
Log invalid wrapper messages
2017-08-09 14:20:20 +02:00
shortcutme
ef4a4acbc0
Only display read error in verbose mode
2017-08-09 14:19:56 +02:00
shortcutme
b503d59c49
Support gzip compressed database files
2017-08-09 14:19:39 +02:00
shortcutme
f451ce6c91
6MB LimitedGzip file helper to avoid gzip bombs
2017-08-09 14:19:09 +02:00
shortcutme
4f729aa98f
Only use pure-python msgpack for socket streaming
2017-08-09 14:17:58 +02:00
Andrew (anoa)
c1aff56cf2
Small grammer fixes
2017-08-04 15:13:31 -07:00
shortcutme
bfd57561b7
Rev2170
2017-07-31 14:39:27 +02:00
shortcutme
4cd393e4d8
Auto download optional files command line argument
2017-07-31 14:39:21 +02:00
shortcutme
ac230219ee
DB cleanup error is not fatal
2017-07-31 14:35:48 +02:00
shortcutme
c96dce3d0b
Fix site cleanup from content.db
2017-07-31 14:35:01 +02:00
shortcutme
9e13994c54
Formatting SslPatch
2017-07-31 14:34:18 +02:00
shortcutme
b8d68e2589
Fix undefined ssl error
2017-07-31 14:34:06 +02:00
ZeroNet
5f753d41d4
Merge pull request #1061 from cclauss/patch-3
...
import binascii
2017-07-31 13:49:13 +02:00
cclauss
231195ba0a
import binascii
...
Solves the undefined name on line 30
2017-07-31 12:28:55 +02:00
cclauss
504b147cee
import math
...
Resolves the undefined name on line 54
2017-07-31 12:06:11 +02:00
shortcutme
eb97ea4f34
Rev2169
2017-07-29 13:46:04 +02:00
shortcutme
467cd480cf
Rev2168, Only avoid reload site on every missing file
2017-07-29 12:49:38 +02:00
shortcutme
6610914fdb
Rev2167, Skip downloading if no connection server specified
2017-07-28 22:57:41 +02:00
shortcutme
fa96ab453f
Rev2166, Mobile friendly notifications
2017-07-28 15:36:49 +02:00
shortcutme
5bdc3b4fb5
Rev2165
2017-07-27 16:30:37 +02:00
shortcutme
eee073c103
Publish incoming updates to more peers
2017-07-27 16:30:21 +02:00
shortcutme
35efd6b107
ServerShowdirectory admin API command to show directory
2017-07-27 16:29:39 +02:00
shortcutme
f45ecb6cf4
Log problematic pattern
2017-07-27 16:29:12 +02:00
shortcutme
db8fe8d890
Version 0.5.7, Rev2163
2017-07-19 22:52:35 +02:00
shortcutme
bd9f88416c
Rev2162
2017-07-19 16:48:40 +02:00
shortcutme
504d7812e5
Fix exception if no path_parts returned
2017-07-19 16:46:37 +02:00
shortcutme
b88ee9a87a
Only allow to sign content.json files
2017-07-19 16:45:28 +02:00
shortcutme
2aba9cc3c2
Only download content.json files as content
2017-07-19 16:45:12 +02:00
shortcutme
961fcbf660
Rev2160, Fix sidebar typo
2017-07-18 22:39:48 +02:00
shortcutme
56c9ac8e46
Rev2159
2017-07-18 20:57:41 +02:00
shortcutme
1f7b25b60c
Ignore http protocol in same origin comparison
2017-07-18 20:57:33 +02:00
shortcutme
34ec05d4b4
Fix notification id collision
2017-07-18 20:55:53 +02:00
shortcutme
bf672bdec3
Add new test to unsafe matches
2017-07-18 20:55:04 +02:00
shortcutme
bb27e3124f
Remove files without info on retry bad files
2017-07-18 20:54:39 +02:00
shortcutme
551aa3ef67
Raise exception on unsupported dbschema version
2017-07-18 20:53:52 +02:00
ZeroNet
de550d7cae
Merge pull request #1027 from cclauss/patch-2
...
Old style exceptions --> new style
2017-07-18 20:51:48 +02:00
cclauss
eaa344abca
Update main.py
2017-07-16 22:57:28 +02:00
Andrew (anoa)
dc82f7ab3e
Small grammar fix
2017-07-15 00:30:25 -07:00
shortcutme
a6ce2a0253
Rev2156
2017-07-15 01:32:39 +02:00
shortcutme
a0d85d7d83
Prompt new site addition in raw mode
2017-07-15 01:32:15 +02:00
shortcutme
6a4882d81d
Test SafeRe repetition limit
2017-07-15 01:31:08 +02:00
shortcutme
ac1a03d17b
Don't allow more than 10 repetitions in one pattern
2017-07-15 01:30:53 +02:00
shortcutme
0e930efd95
Cache SafeRe patterns
2017-07-15 01:30:35 +02:00
shortcutme
d281f112d9
Rev2154, Fix same origin checking in proxy mode
2017-07-14 11:08:22 +02:00
shortcutme
5a42cb92cd
Rev2153
2017-07-14 10:37:19 +02:00
shortcutme
3459d35ed2
Test unsafe regex pattern recognization
2017-07-14 10:37:09 +02:00
shortcutme
699a8be721
Test unsafe patterns in dbschema
2017-07-14 10:36:41 +02:00
shortcutme
1f4a5643db
Test unsafe regex patterns on sign and verify
2017-07-14 10:36:18 +02:00
shortcutme
492408def7
Use class variable to store test site privatekey
2017-07-14 10:35:44 +02:00
shortcutme
74763465a8
Use SafeRe to match file patterns in dbschema.json
2017-07-14 10:34:57 +02:00
shortcutme
c069d4f67c
Use SafeRe to match user defined patterns in content.json
2017-07-14 10:34:18 +02:00
shortcutme
bf41c7b651
Detect potentionally unsafe regex patterns
2017-07-14 10:31:42 +02:00
shortcutme
3f5a5b4f9b
Rev2151
2017-07-13 19:33:16 +02:00
shortcutme
b60a1ec455
Test invalid filenames
2017-07-13 19:33:07 +02:00
shortcutme
13157eea1e
Move included content verification to separate function, fix root content.json file path verification
2017-07-13 19:32:54 +02:00
shortcutme
dd11f87673
Rev2148, Fix signing typo
2017-07-13 15:03:04 +02:00
shortcutme
87910a236b
Rev2147
2017-07-13 15:00:23 +02:00
shortcutme
096675c87e
Add unit to verification error
2017-07-13 15:00:04 +02:00
shortcutme
7d3beeb9e0
Enforce valid relative paths on verification
2017-07-13 14:59:17 +02:00
shortcutme
96a097e33d
Separate isValidRelativePath function
2017-07-13 14:58:52 +02:00
shortcutme
1bb3140f5b
Move file hashing to separate funcion to allow easier extension
2017-07-13 14:58:16 +02:00
shortcutme
6bf3d34c6c
Rev2145
2017-07-12 12:28:28 +02:00
shortcutme
3cd7e4e48e
Better way to strip pyc/pyd from config file path
2017-07-12 12:28:21 +02:00
shortcutme
e525ea2431
Rev2144, Fix CSP header in FilePack plugin, Allow media-src and font-src from self source
2017-07-11 23:00:33 +02:00
shortcutme
c8f37674c6
Rev2142, Fix random wrong data dir path
2017-07-11 21:03:24 +02:00
shortcutme
12ca870e38
Rev2141
2017-07-10 02:42:50 +02:00
shortcutme
f630e6c25e
Test raw access security
2017-07-10 02:42:41 +02:00
shortcutme
7c6bea6ddd
Fix raw site access without / at the site address end
2017-07-10 02:42:28 +02:00
shortcutme
efbef25c76
UserSetSettings, UserGetSettings Websocket API commands
2017-07-10 02:41:01 +02:00
shortcutme
1384da4691
Rev2137
2017-07-09 14:54:20 +02:00
shortcutme
426fe561c9
Cleanup not used wrapper opener check
2017-07-09 14:12:13 +02:00
shortcutme
5950b04c40
Add allow-origin header for media requests from same origin to fix css font support
2017-07-09 14:11:44 +02:00
shortcutme
434cfce32a
More simple same origin test for media files cross-site access
2017-07-09 14:11:06 +02:00
shortcutme
febdea6c64
Serve files without wrapper if requested using /raw/ prefix
2017-07-09 14:10:01 +02:00
shortcutme
6c0062dbc1
Rev2132
2017-07-06 00:09:47 +02:00
shortcutme
49735b7e55
Fix not internal error on request files from not seeded sites
2017-07-06 00:09:35 +02:00
shortcutme
1d6168f457
Download, svg, xml, flash, pdf files instead of displaying to avoid js execution
2017-07-06 00:09:05 +02:00
shortcutme
2a161f4421
Never allow cross-origin file request
2017-07-06 00:08:32 +02:00
shortcutme
f30b2b6fc2
Rev2130, Use SslPatch to load openssl library, Fix Android 6 openssl loading
2017-07-04 01:12:58 +02:00
shortcutme
ebbe19131b
Rev2128, Update to OpenSSL v1.0.2l
2017-06-30 10:13:25 +02:00
shortcutme
03cabcb07c
Rev2127, Fix delete files without file_info
2017-06-27 18:08:28 +02:00
shortcutme
401d3ec1c9
Rev2125, Fix missing if line
2017-06-21 00:03:26 +02:00
shortcutme
fd1f104f4e
Rev2124
2017-06-20 20:32:59 +02:00
shortcutme
66e2192e65
Add --silent option to disable logging to terminal
2017-06-20 20:32:51 +02:00
shortcutme
0d6d19502f
Format json reply for peerCmd command line action
2017-06-20 20:29:11 +02:00
shortcutme
a7b22e2055
Fix error on exit for peers without site
2017-06-20 20:28:35 +02:00
shortcutme
71fbcee76c
Fix error on exiting when there is no stream_server started
2017-06-20 20:28:09 +02:00
shortcutme
e157894694
Rev2122
2017-06-20 11:20:48 +02:00
shortcutme
f08f354eb6
More detailed file size match error logging
2017-06-20 11:20:43 +02:00
shortcutme
23db93d20f
Fix invalid update logging
2017-06-20 11:20:30 +02:00
shortcutme
67212ee29e
Rev2121
2017-06-19 16:19:04 +02:00
shortcutme
15d8589069
Fix typo, less verbose socket logging
2017-06-19 16:18:37 +02:00
shortcutme
14cd9315c1
Don't try to send to closed socket
2017-06-19 16:18:20 +02:00
shortcutme
f1786c2ee6
Handle unknown message type
2017-06-19 16:16:43 +02:00
shortcutme
7d9cb65ba1
Catch message type errors on connection parsing
2017-06-19 16:16:13 +02:00
shortcutme
9f72fdeb41
Display sign error on command line siteSign command failure
2017-06-19 16:14:36 +02:00
shortcutme
b7106995b7
Test size errors on getFile
2017-06-19 16:14:14 +02:00
shortcutme
dca3c775d1
Test expect exact sign and verification errors
2017-06-19 16:13:58 +02:00
shortcutme
916709a7e4
Allow less peer error if for popular sites
2017-06-19 16:13:06 +02:00
shortcutme
066f54f521
Only log listModification request in verbose mode
2017-06-19 16:12:41 +02:00
shortcutme
64199c7ded
Reduce logging on tracker error
2017-06-19 16:12:24 +02:00
shortcutme
79ca1069ec
Display exact sign error to UI on failure
2017-06-19 16:11:47 +02:00
shortcutme
43c8dacd70
Catch and log exact verification errors on worker download
2017-06-19 16:10:49 +02:00
shortcutme
f773bf3336
Add file_size to request to avoid unnecessary download
2017-06-19 16:10:18 +02:00
shortcutme
9a9bd71634
Catch file verification errors on update request
2017-06-19 16:07:36 +02:00
shortcutme
25657ebdca
Log to site instead of fileserver
2017-06-19 16:04:17 +02:00
shortcutme
c7146613a1
Store inner path to variable on update request to save some complexity
2017-06-19 16:02:52 +02:00
shortcutme
c58d28861d
Raise RequestError instead of Exception of fileGet error
2017-06-19 16:01:41 +02:00
shortcutme
ff69b04216
Catch verify exceptions on manual site files verification process
2017-06-19 15:57:02 +02:00
shortcutme
7653cba247
SiteVerify command line action display verify error
2017-06-19 15:49:39 +02:00
shortcutme
b0ee0dae93
Remove old testing code
2017-06-19 15:48:50 +02:00
shortcutme
0224863b1f
Only use positive sizes to calculate size sum of content.json
2017-06-19 15:48:33 +02:00
shortcutme
94c7ce9f42
Sign raise error instead of return False
2017-06-19 15:47:47 +02:00
shortcutme
2a3b8a7692
Verify raise exception instead of return False
2017-06-19 15:47:03 +02:00
shortcutme
fec3ff7d8e
Remove bad files that has no info
2017-06-19 15:40:13 +02:00
shortcutme
4b346243eb
On clone sign content.json after all other files copied
2017-06-19 15:39:14 +02:00
shortcutme
c2b177434d
Drop error if want to publish non existent file
2017-06-19 15:38:05 +02:00
shortcutme
c5d90ddd19
Start new workers if lots of tasks left
2017-06-19 15:36:07 +02:00
shortcutme
db8c85d249
Version 0.5.6, Changelog
2017-06-15 22:23:00 +02:00
shortcutme
a89f66e8b5
Rev2109
2017-06-15 19:50:11 +02:00
shortcutme
e9ce137e14
Display invalid hosts
2017-06-15 19:49:51 +02:00
shortcutme
2f7bfa95b2
Fix multi value argument command line parsing
2017-06-15 19:49:00 +02:00
shortcutme
c84fcf2034
Support manual ui_host command line parameter
2017-06-15 19:48:01 +02:00
shortcutme
0d3fa43f00
Remove unnecessary ui ip replace
2017-06-15 19:43:23 +02:00
shortcutme
2e04ba1880
Bind ui server to ipv4 address
2017-06-15 19:42:38 +02:00
ZeroNet
85b2a81568
Merge pull request #869 from MRoci/master
...
Root content.json "signers" field as a list
2017-06-15 15:24:00 +02:00
shortcutme
0725464388
Fix database loading
2017-06-15 13:33:51 +02:00
shortcutme
f506ac9701
Faster getPath
2017-06-15 13:30:36 +02:00
shortcutme
97b3563e6b
Rev2105, Fix database updating when path contains special characters
2017-06-15 13:30:06 +02:00
MRoci
9ac5746e3c
Changed this assignment to have the "signers" field in root's
...
content.json as a list and not a dictionary to mantain uniformity with
"includes" "signers" field and for not having a dict with empty values
2017-06-13 18:20:39 +02:00
shortcutme
1f1cbf01d7
Rev2103
2017-06-13 14:21:07 +02:00
shortcutme
eefe7e1b5a
Don't add obsolete old signature format
2017-06-13 14:20:58 +02:00
shortcutme
42874038e2
Only allow UI requests from safe hosts
2017-06-13 14:19:23 +02:00
shortcutme
d55fbd1728
Remove obsolete auth_key_sha512
2017-06-13 14:18:17 +02:00
shortcutme
aa402ebaf3
Fix typo
2017-06-13 14:13:09 +02:00
shortcutme
ae21f056d5
Error if no peer connection found
2017-06-13 14:12:48 +02:00
shortcutme
a4a23f3ea0
Fix site lock violation logging
2017-06-13 14:12:13 +02:00
Ivanq
67395b5e47
Allow fileRules for root content.json
2017-06-13 11:36:38 +03:00
shortcutme
742c2fe684
Rev2099, Keep tor client running until update finished
2017-06-06 00:05:43 +02:00
shortcutme
5801863b76
Rev2098
2017-06-05 01:09:17 +02:00
shortcutme
653219d1de
Rev2096
2017-06-03 00:54:26 +02:00
shortcutme
6167dda01d
Compact json list output
2017-06-03 00:53:59 +02:00
shortcutme
0b7d1ad90d
Add callback for certSelect
2017-06-03 00:53:40 +02:00
shortcutme
5e6f6c5b85
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
2017-05-30 01:04:50 +02:00
shortcutme
f0f32cf25c
Rev2092, Prefer recent peers when starting workers
2017-05-30 01:04:45 +02:00
Artem Molotov
d6721f0656
Small fix russian translation
2017-05-28 18:22:35 +03:00
shortcutme
de363b57ce
Rev2091, Port opening error should not prevent ZeroNet startup
2017-05-26 12:22:35 +02:00
shortcutme
e291555e60
Rev2090, Fix ssl patch library finding, Changelog for 0.5.5
2017-05-26 12:14:43 +02:00
Sergei Bondarenko
830f98573e
fix incorrect variable order in file_path.replace
2017-05-24 19:28:02 +03:00
shortcutme
b0d574dfb0
Rev2089, Close the transaction on failed peer db save
2017-05-24 10:40:10 +02:00
shortcutme
b73742839b
Rev2088
2017-05-24 10:29:19 +02:00
shortcutme
89bb12de71
Search for success message instead of error when portchecking
2017-05-24 10:28:59 +02:00
shortcutme
ed11ae283f
Use https for portchecker.co
2017-05-24 10:27:02 +02:00
shortcutme
fb43dfb4f2
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
2017-05-23 12:42:16 +02:00
shortcutme
6dc084c3ab
Rev2087
2017-05-23 12:42:09 +02:00
shortcutme
ba9cd9b0ca
Fix undefined placeholder
2017-05-23 12:42:02 +02:00
shortcutme
aacde33614
File size limit default to 10MB
2017-05-23 12:41:37 +02:00
shortcutme
3f59727ab6
Formatting
2017-05-23 12:40:42 +02:00
Sergei Bondarenko
a871b5dbe7
fix issue #936
...
os.path.join(*file_path.split("/")) construction drops leading slash from string thus making absolute path relative. It leads into problems in case if data_dir differs from directory where is zeronet installed.
2017-05-22 20:31:44 +03:00
shortcutme
7900578077
Rev2082, Log websocket receive errors
2017-05-22 11:34:16 +02:00
MuxZeroNet
35a18bd0b2
Weak password warning ( #938 )
...
* Weak password warning
* Update UiWebsocket.py
* Don't implement print with an O(n^2) iteration
* Rename method
* Fix logging, uncaught exception in addNotes
and pushes a notification when UI server is bound to the whole Internet.
* Remove memo comments. Remove terminal hue.
2017-05-22 11:13:45 +02:00
shortcutme
e6680b4f60
Version 0.5.5, Rev2081, Lack of JS notification
2017-05-18 23:03:26 +02:00
shortcutme
077b3df3cd
Rev2080
2017-05-18 03:07:43 +02:00
shortcutme
edd726ac9f
Site upgrade support in clone command
2017-05-18 03:07:32 +02:00
shortcutme
cbf184846a
Fix permissionAdd/Remove admin command
2017-05-18 03:05:45 +02:00
shortcutme
2677ad92d3
Fix multi-line confirmation dialog
2017-05-18 03:05:02 +02:00
shortcutme
442c01eabf
Rev2068, Deny blacklist add/remove in multiuse mode
2017-05-14 22:59:47 +02:00
shortcutme
d467aabd4c
Rev2067, Fix inner_path stripping
2017-05-11 18:18:12 +02:00
shortcutme
f4f4aa0e50
Rev2066
2017-05-11 18:03:12 +02:00
shortcutme
84b535767b
By default nothing is domain
2017-05-11 18:02:05 +02:00
shortcutme
5908d2ca53
RenderWrapper showloadingscreen parameter
2017-05-11 18:01:16 +02:00
shortcutme
27a582634f
Don't check referrer for html files
2017-05-11 18:00:57 +02:00
shortcutme
47245f485a
ActionFile security check
2017-05-11 17:59:46 +02:00
shortcutme
545459be88
RenderWrapper with parameters
2017-05-11 17:59:12 +02:00
shortcutme
b5d3995874
GetSiteUrl based on if it's proxy request
2017-05-11 17:57:29 +02:00
shortcutme
487f5cb8c2
Fix unicode url redirects
2017-05-11 17:56:01 +02:00
shortcutme
cc31081f1c
Different design for second button of wrapperConfirm
2017-05-11 17:55:38 +02:00
shortcutme
a9b9902e60
Placeholder support for displayPrompt
2017-05-11 17:55:09 +02:00
shortcutme
f183e756f3
Multi button support for wrapperConfirm
2017-05-11 17:54:48 +02:00
shortcutme
bf042ce7a3
Rev2060, Only boost all.js and all.css priority, really fix download priority test
2017-05-07 21:34:44 +02:00
shortcutme
d2cf613872
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
2017-05-07 21:21:35 +02:00
shortcutme
f67cb7b145
Rev2059, Fix download test, boost priority on request by 15, Adjust default priorities
2017-05-07 21:21:26 +02:00
probonopd
b8fb53ba20
Allow running from usr/share/zeronet
2017-05-07 19:51:53 +02:00
shortcutme
db744f576e
Rev2058
2017-05-07 18:19:24 +02:00
shortcutme
3f772d1e1e
Boost priority for essential files to allow concurrent requests
2017-05-07 18:19:08 +02:00
shortcutme
438bdbc141
Protect peers for low traffic sites from closing
2017-05-07 18:15:23 +02:00
shortcutme
728e497057
Display database rebuilding progressbar
2017-05-07 18:14:13 +02:00
shortcutme
d346a532ff
Rev2056, Add local client to sidebar peer numbers
2017-05-06 18:08:32 +02:00
shortcutme
34a6337c01
Rev2055, Don't add ? to url if start with # using replaceState and pushState
2017-05-06 17:27:49 +02:00
mishfit
270eb677c7
allow empty file query filters
2017-04-21 03:26:17 -06:00
shortcutme
fae5d22e86
Rev2054, Outgoing socket binding support
2017-04-14 16:05:42 +02:00
shortcutme
c5629adf23
Rev2050, Fix archive benchmark hash calculation and zip homogenization
2017-04-14 11:52:01 +02:00
shortcutme
9b480b41e1
Rev2049, Delete test.tar.bz2 after benchmark
2017-04-14 11:13:29 +02:00
shortcutme
fbed15318b
Fix file request testcase
2017-04-14 00:34:40 +02:00
shortcutme
14c906561d
Rev2048, Stop sending detailed exception as response to file request
2017-04-14 00:26:20 +02:00
shortcutme
e125895615
Rev2047, Add archive benchmark
2017-04-13 22:54:16 +02:00
shortcutme
6bef5ca7f4
Version 0.5.4, Rev2046
2017-04-13 16:27:38 +02:00
shortcutme
f33f1faeea
Only keep last 10 files opened
2017-04-13 16:27:30 +02:00
shortcutme
b261dc5dfd
Boost workers after 50 tasks
2017-04-13 16:27:05 +02:00
shortcutme
164a9b947f
Rev2045
2017-04-12 17:37:55 +02:00
shortcutme
49adea1654
siteSetLimit returns with ok on success
2017-04-12 17:36:50 +02:00
shortcutme
169cf2e6ae
Support optional db files
2017-04-12 17:36:03 +02:00
shortcutme
dafe9981a2
Rev2043, Fix selected domain display
2017-04-12 00:45:48 +02:00
shortcutme
c78af9773c
Rev2042
2017-04-12 00:32:30 +02:00
shortcutme
1a7a22eb91
Set added cert
2017-04-12 00:32:19 +02:00
shortcutme
4c7ff9bb53
Fix unhandled expcetion on invalid cert
2017-04-12 00:31:37 +02:00
shortcutme
1ee592f5b7
Rev2039
2017-04-10 12:19:59 +02:00
shortcutme
10632c15ef
Fix target_onion on connection recovery
2017-04-10 12:19:23 +02:00
shortcutme
25bb14037c
Better site lock violation logging
2017-04-10 12:18:21 +02:00
shortcutme
d7db7a8060
Rev2035, Dont sign same onion address multiple time
2017-04-10 01:16:34 +02:00
shortcutme
f3edd8013d
Rev2034, Fix leaking users.json via webui
2017-04-09 16:54:28 +02:00
ZeroNet
279e2ae865
Merge pull request #884 from MuxZeroNet/patch-15
...
Update TestWeb.py tests
2017-04-09 16:28:36 +02:00
shortcutme
c056384bd5
Rev2033
2017-04-09 12:05:11 +02:00
shortcutme
a06ce64bbf
Limit maximum number of tor hidden service created
2017-04-09 12:05:04 +02:00
shortcutme
7bda72027a
Site lock validation based on target_onion
2017-04-09 12:03:25 +02:00
shortcutme
c5c0df838f
Store requested onion address instead of site_lock
2017-04-09 12:02:24 +02:00
shortcutme
75d94aaf06
Choose from current hidden services if over tor_hs_limit
2017-04-09 11:58:18 +02:00
shortcutme
16bfb35109
No positive preference for peers with more than 5 shared sites to avoid centralization
2017-04-09 11:57:35 +02:00
ZeroNet
409841a3cf
Merge pull request #834 from MuxZeroNet/patch-13
...
[Open for more Tests] StemPort Plugin
2017-04-08 22:20:06 +02:00
shortcutme
880d536837
Disable geventwebsocket logging
2017-04-08 17:22:29 +02:00
shortcutme
1144f28982
Rev2027, Rollback PySocks as it does not works well with Tor/gevent
2017-04-08 17:22:00 +02:00
shortcutme
3384bd1e58
Rev2026, Change diferent openssl binary for better compatibility
2017-04-08 12:14:59 +02:00
shortcutme
03f3e9e4fd
Rev2025, Publish remotely outdated files on modification check
2017-04-07 21:17:25 +02:00
shortcutme
e1f7752aff
Rev2023
2017-04-07 18:18:41 +02:00
shortcutme
52afc9d0b2
Prefer ips starting with 192 on upnp port opening
2017-04-07 18:18:22 +02:00
shortcutme
8ea8e8c28a
Publish incoming files to more peers
2017-04-07 18:17:30 +02:00
shortcutme
c6792b7674
Ignore content if file not found on signing
2017-04-07 18:16:58 +02:00
MuxZeroNet
2cb8cc9107
Update TestWeb.py
2017-04-06 23:14:46 +00:00
shortcutme
309308dac0
Rev2020
2017-04-07 00:12:56 +02:00
shortcutme
8650651567
Prefer OpenSSL 1.0
2017-04-07 00:12:50 +02:00
shortcutme
7e53bed95f
Rev2018
2017-04-06 23:46:38 +02:00
shortcutme
2f38f8d9f3
Update gevent websocket to 0.10.1
2017-04-06 23:26:19 +02:00
shortcutme
44afaf7a4b
Update openssl dlls to 1.0.2k
2017-04-06 23:25:25 +02:00
shortcutme
ccfcdbc6ca
Update pyelliptic
2017-04-06 23:24:38 +02:00
shortcutme
929432d469
Force SSLv23
2017-04-06 23:22:55 +02:00
shortcutme
e15cb8a43d
Rev2014
2017-04-06 19:22:05 +02:00
shortcutme
fbe96a0a6d
Update rsa to 3.4.2
2017-04-06 19:21:32 +02:00
shortcutme
fa65a6dc05
Update PySocks to 1.6.7
2017-04-06 19:20:27 +02:00
shortcutme
9921fc07dd
Update pybitcointools to 1.1.42
2017-04-06 19:19:47 +02:00
shortcutme
12a0c955bc
Update pyasn to 0.2.4
2017-04-06 19:18:33 +02:00
shortcutme
2be3ff02bd
Rev2009
2017-04-01 22:32:06 +02:00
shortcutme
e3baf8944e
Dont save user file in parallel
2017-04-01 22:32:06 +02:00
shortcutme
233d5f31f2
Support ignore_class and queue to noparallel decorator
2017-04-01 22:32:06 +02:00
shortcutme
cfb2276ecd
Always try to find new peers for optional files if no workers
2017-04-01 22:32:06 +02:00
shortcutme
d7ba9f6924
Rev2004, Fix message utf8 error
2017-03-18 11:11:01 +01:00
shortcutme
afcd6dfa14
Rev2003, Fix dbQuery exception in verbose mode
2017-03-15 13:13:21 +01:00
shortcutme
f55c2659cd
Rev2002, Fix exception on startworkers
2017-03-12 22:14:24 +01:00
shortcutme
9755df6fa6
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
2017-03-12 17:57:23 +01:00
shortcutme
e564d730ce
Rev1999
2017-03-12 17:57:13 +01:00
shortcutme
e37938abe0
Rev1999
2017-03-12 17:56:53 +01:00
shortcutme
9b5f7928bf
Start workers for slow optional file tasks
2017-03-12 17:56:28 +01:00
shortcutme
d7496d6fd5
Boost js, css, dbschema and non-user json file priority
2017-03-12 17:55:47 +01:00
shortcutme
f46f9fa6ea
Test new content.json content
2017-03-12 13:13:47 +01:00
shortcutme
2473a09f7b
Load content.json content before signing
2017-03-12 13:13:30 +01:00
shortcutme
ec513f0b60
Remove archived files from bad files
2017-03-12 13:13:08 +01:00
brunogarciacv
ad826dd846
Brazilian Portuguese Translation
2017-03-11 03:56:45 -03:00
brunogarciacv
fd8742ae3a
Brazilian Portuguese translation
2017-03-11 03:43:39 -03:00
shortcutme
96e45bb517
Rev1995
2017-03-06 15:30:51 +01:00
shortcutme
909b9da9da
Unnecessary log and comment
2017-03-06 15:30:42 +01:00
shortcutme
50937990e5
Fix typos
2017-03-06 15:30:31 +01:00
shortcutme
4fbfb5838a
Fix parsing zeronet.conf
2017-03-06 15:28:37 +01:00
Martijn de Boer
ef6c9325e0
Added Dutch translation file
2017-03-05 13:55:47 +01:00
ZeroNet
0e2f742b7e
Merge pull request #842 from mishfit/refactorListAndWalk
...
Rename SiteStorage.list to SiteStorage.walk
2017-03-04 12:39:06 +01:00
MuxZeroNet
dff261eb18
Log ZeroFrame errors to console
2017-03-03 02:42:20 +00:00
shortcutme
349ee5858f
Rev1993
2017-03-02 23:40:36 +01:00
shortcutme
461f0a274a
Only count ping time if no waiting requests
2017-03-02 23:40:30 +01:00
shortcutme
a2eef70030
Boost priority to first added file to queue
2017-03-02 23:40:08 +01:00