Commit Graph

147 Commits

Author SHA1 Message Date
shortcutme e2b6dd37b7
Only announce once per checkTask loop 2017-10-04 17:25:56 +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 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 c5d90ddd19
Start new workers if lots of tasks left 2017-06-19 15:36:07 +02:00
shortcutme f0f32cf25c
Rev2092, Prefer recent peers when starting workers 2017-05-30 01:04:45 +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 f67cb7b145
Rev2059, Fix download test, boost priority on request by 15, Adjust default priorities 2017-05-07 21:21:26 +02:00
shortcutme 3f772d1e1e
Boost priority for essential files to allow concurrent requests 2017-05-07 18:19:08 +02:00
shortcutme b261dc5dfd
Boost workers after 50 tasks 2017-04-13 16:27:05 +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 f55c2659cd
Rev2002, Fix exception on startworkers 2017-03-12 22:14:24 +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 909b9da9da
Unnecessary log and comment 2017-03-06 15:30:42 +01:00
shortcutme a2eef70030
Boost priority to first added file to queue 2017-03-02 23:40:08 +01:00
shortcutme 2efb6cf4f1
Connect first to best peers based on ping time 2017-03-02 23:39:52 +01:00
shortcutme fe7a53fb8a
Separate config argument for workers 2017-02-27 00:02:56 +01:00
shortcutme eb30eb90d6
Use more worker on initial sync 2017-02-09 01:52:39 +01:00
shortcutme 0e83eba6df Don't retry failed peer on optional file search 2016-11-16 11:22:38 +01:00
shortcutme 110885401c Use optionalDownloaded in workermanager 2016-11-07 23:48:11 +01:00
shortcutme 2b7e898781 WorkerManager onCompelte function 2016-11-07 23:47:53 +01:00
shortcutme 2048648b39 Reduce findoptional spam 2016-11-07 23:32:20 +01:00
shortcutme a3d21f5377 Update if high priority and less than 10 peers for the file 2016-11-07 23:29:53 +01:00
shortcutme 62d092e5ac Update task ids during startFindOptional if new task added 2016-11-07 23:27:42 +01:00
shortcutme d60785ee33 Ignore parameters for startFindOptional noparallel 2016-11-07 23:26:07 +01:00
shortcutme fe19bd2fce Faster findOptionalTasks 2016-11-07 23:25:25 +01:00
shortcutme 7951763612 Faster findOptionalHashIds 2016-11-07 23:24:50 +01:00
shortcutme 2ab04deded Move optional files hashfield adding to workermanager for better performance 2016-10-02 14:18:35 +02:00
shortcutme d778f2a989 Try to find peers for optional files again if workers failed 2016-09-04 18:03:27 +02:00
shortcutme e9009c5c75 WorkerManager quickfix 2016-08-15 15:59:49 +02:00
shortcutme 954c6bcbc3 Worker number related to connection limit 2016-08-15 13:52:48 +02:00
HelloZeroNet aa9161a83a Check optional files findhash result every second 2016-05-05 12:11:07 +02:00
HelloZeroNet 23265861c9 Start connected worker first 2016-04-25 02:25:28 +02:00
HelloZeroNet f83a466919 Reduce cpu usage by calculating filename based priority boost only once 2016-04-06 13:47:00 +02:00
HelloZeroNet 5a34448ba1 Less verbose logging 2016-04-06 13:39:17 +02:00
HelloZeroNet b895ab5778 Fix find more peers to optional files 2016-03-30 22:59:21 +02:00
HelloZeroNet 33430ee67b Force find more peer for optional task after 15sec 2016-03-23 13:05:48 +01:00
Erkan Yilmaz b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet 54f9b49e90 Wait a bit for more tasks before consider site downloaded 2016-03-19 18:09:20 +01:00
HelloZeroNet 988f1435c5 Allow more workers if more task 2016-03-19 18:07:14 +01:00
HelloZeroNet 08005499fb Rev936, Fix Bootstrapper test without tormanager, Bootstrapper return latest announced peers, Only create 3 threads for passive peers 2016-03-04 19:59:59 +01:00
HelloZeroNet 61cfb8aa2f Rev900, Sidebar filestats bar width round fix, Sidebar WebGL not supported error, Sidebar optimalizations, Trayicon gray shadow, Trim end of line whitespace from json files, Fix testweb testcase, Implement experimental postMessage nonce security, Return None when testing external ip, Window opener security check and message, Increase timeout for large files 2016-02-10 02:30:04 +01:00
HelloZeroNet e9d2cdfd37 Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol 2016-01-05 00:20:52 +01:00
HelloZeroNet 3d558a4edf Rev597, Dont load content.json if the modified date is same, Big content.json memory optimalzations, Peerhashfield memory optimalzations and typo fix, Give up on file after 10 retry, Fix non-ascii install paths, Stop worker after 10 connection error 2015-11-15 11:13:57 +01:00
HelloZeroNet 6763d6e74c Rev582, Fix my ip sending on findHashIds, Only start workers for optional files if peers found 2015-11-12 23:01:35 +01:00
HelloZeroNet ae98522855 Version 0.3.3, Rev580, DB recreate bugfix, Get empty hashfields, Better stat formatting, Query hashfield right after content.json downloaded 2015-11-12 02:04:45 +01:00
HelloZeroNet 3587777ea8 Rev571, Optional file sizes to sidebar, Download all optional files option in sidebar, Optional file number in peer stats, Delete removed or changed optional files, Auto download optional files if autodownloadoptional checked, SiteReload command, Peer use global file server if no site defined, Allow browser cache video files, Allow more keepalive connections, Gevent 1.1 ranged request bugfix, Dont sent optional files details on websocket, Remove files from workermanager tasks if no longer in bad_files, Notify local client about changes on external siteSign 2015-11-09 00:44:03 +01:00
HelloZeroNet 2cf34c132f Rev562, Check site privatekey from users.json when executing siteSign, Optional files checking on owned sites, Fix workermanager error on set list of peers, Fix PROTOCOL_SSLv3 error happens on some linux distrib 2015-11-08 12:33:13 +01:00
HelloZeroNet 9c5fda6ed2 Rev505, FindHashIds also checks in self hashfield, Fix optional file bug when task already finished, Reset peer last hashfield download time when found hashid using findHashIds 2015-10-28 01:28:29 +01:00
HelloZeroNet a8dae8dd85 Rev477, FindHashId command for optional files, Renaming some variables to make it more clear, Optional files downloading in WorkerManager, Test FindHash, Test Optional download, Test FindOptional 2015-10-22 11:42:55 +02:00
HelloZeroNet 9d7d4f1552 Rev467, requirements.txt accept newer dependecies, Boost dbschema.json, Move getDirname getFilename to helper, Verify optional files, Includes not allowed in user files, Optional files rules, Peer hashfield functions, Test optional files signing, Test file info, Test verify file, Test helpers 2015-10-01 01:35:13 +02:00
HelloZeroNet 4b403da056 Rev448, Better file download priority method, Some potential programming error fix, Renamed utils to helper, Moved pack and unpackaddress to helper package, Test new privatekey creation, Test site file download order, Spy test helper to log called parameters, Remove unnecessary fat arrows 2015-09-27 02:08:53 +02:00
HelloZeroNet 0de6496f96 Rev390, Fix sidebar error on non locatable IPs, Configurable bootstrap torrent trackers, Multi-line config file settings, Evenly distributed tracker announce to work better on passive connections, Avoid iframe sandbox escape by using nonces, Better html error messages, Display proper error on invalid startup parameters 2015-09-10 23:25:09 +02:00
HelloZeroNet 84e3f00aac rev338, Possible to use pure-python msgpack unpacker to save memory, Streaming file download hangup fix, Clone databases after 3 minute idle, Many site size limit related bugfixes, UiMedia served from same domain to allow ajax access, Don't allow to load resources from other domain, Site size increase ask dialog displayed again, Changed fixbutton to more Consolas-like Monaco font, Boost json files priority on download 2015-08-06 00:51:25 +02:00
HelloZeroNet cd04abe521 rev330, Early worker exit on file download bugfix, Reload only on py file changes, Modify wrapper render to allow content edit for plugins, File send action without sending header, Rename Sidebar to Fixbutton (it will be separate plugin), Fixbutton font and layout fix on OSX/Safari, Notifications fix on OSX/Safari 2015-07-31 23:34:53 +02:00
HelloZeroNet d331eea384 rev324, Store and display peers last found time, Fix UiPassword plugin cleanup bug, Experimental option to use tempfiles when downloading, Experimental option to stream files out of msgpack context, FileRequest streamFile command, Cleanup peers if not found for 4 hours, Don't reopen openssl in every 5min, Peer fileGet benchmark option 2015-07-25 13:38:58 +02:00
HelloZeroNet b5ecb62bc6 rev280, The whole project reformatted to PEP8, UiRequest getPosted to query posted variables 2015-07-12 20:36:46 +02:00
Matthew Bell 371c74498d inherit from object 2015-06-17 23:08:45 +01:00
HelloZeroNet 66eca389bf rev 196, Configurable data dir, log dir and config file, fix for getFile unhandled exceptions, add http://zeronet.io to readme 2015-05-31 15:52:21 +02:00
HelloZeroNet 7e4f6bd38e version 0.3.0, rev187, Trusted authorization sites support, --publish option on signing, cryptSign command line option, OpenSSL enabled on OSX, Crypto verify allows list of valid addresses, Option for version 2 json DB tables, DbCursor SELECT parameters bugfix, Add peer to site on ListModified, Download blind includes when new site added, Publish command better messages, Multi-threaded announce, New http Torrent trackers, Wait for dbschema.json on query, Handle json import errors, More compact writeJson storage command, Testcase for signing and verifying, Workaround to make non target=_top links work, More clean UiWebsocket command route, Send cert_user_id on siteinfo, Notify other local clients on local file modify, Option to wait for file download before sql query, File rules websocket API command, Cert add and select, set websocket API command, Put focus on innerframe, innerloaded wrapper api command to add hashtag, Allow more file error on big sites, Keep worker running after stuked on done task, New more stable openSSL layer that works on OSX, Noparallel parameter bugfix, RateLimit allowed again interval bugfix, Updater skips non-writeable files, Try to close openssl dll before update 2015-05-25 01:26:33 +02:00
HelloZeroNet 099fe575a0 rev125, Class statistics, OpenSSL disabled on OSX by default because of possible segfault, --disable_openssl command line parameter, Save memory on Connection, Peer and FileRequest objects using slots, Dont store modification time from the far future, Able to query modified files from peer, Allow reannounce in 30secs, Use with command in SiteStorage, Always create dir before write file, PeerCmd shell command to query specific command from peer 2015-04-29 23:12:45 +02:00
HelloZeroNet f7717b1de8 rev119, Protection against update flood, Cache webfonts, Publish batching, Task failed holds Peer objects, Remove peer from failed on addTask, Noparallel memory leak fix 2015-04-24 02:36:00 +02:00
HelloZeroNet 60bfac63da rev100, Revision numbering for sub-versions, Assign connection to peer on filerequest/pex, Pex count bugfix, Disable unnecessary topright button click animation, Topright burger utf8 character change to more supported one 2015-04-17 23:12:22 +02:00
HelloZeroNet b122f47100 version 0.2.8, Namecoin domains using internal resolver site, --disable_zeromq option to skip backward compatiblity layer and save some memory, connectionserver firstchar error fixes, missing unpacker crash fix, sitemanager class to allow extensions, add loaded plugin list to websocket api, faster content publishing, mark updating file as bad, remove coppersurfer tracker add eddie4, internal server error with error displaying, allow site domains in UiRequest, better progress bar, wait for siteinfo before before using localstorage, csslater hide only if opacity is 0 2015-03-30 23:44:29 +02:00
HelloZeroNet 3b8d49207e version 0.2.6, database support, dbrebuild and dbquery startup commands, connection firstchar error bugfix, log python gevent msgpack lib versions, sitestorage class for site file operations, dbquery websocket api command 2015-03-19 21:19:14 +01:00
HelloZeroNet b35d21d643 more detailed stats, memory optimalizations, connection pinging and timeout, request timeout, validate content after signing, only recompile changed coffeescripts, remove unnecessary js logs 2015-03-06 02:31:51 +01:00
HelloZeroNet bd7e76628b version 0.2.5, download and update progress bar, we are on gitter, log on filerequest error, faster update 2015-02-26 01:32:27 +01:00
HelloZeroNet 31d4609a3b version 0.2.4, peerPing and peerGetFile commands, old content update bugfix, new network code and protocol, connection share between sites, connection reuse, dont retry bad file more than 3 times in 20 min, multi threaded include file download, shuffle peers before publish, simple internal stats page, dont retry on failed peers, more than 10 peers publish bugfix 2015-02-23 23:33:31 +01:00
HelloZeroNet 531bf68ddd Version 0.2.3, One click updater from github, Clean FileServer and UiServer shutdown, Count UiServer http connections to clean close, serverUpdate WrapperAPI command, randomize peers before work start and publish, switched to upnpc-shared it has better virustotal reputation 2015-02-20 01:37:12 +01:00
HelloZeroNet 639b9f4961 version 0.2.0, new lib for bitcoin ecc, dont display or track notify errors, dont reload again within 1 sec, null peer ip fix, signingmoved to ContentManager, content.json include support, content.json multisig ready, content.json proper bitcoincore compatible signing, content.json include permissions, multithreaded publish, publish timeout 60s, no exception on invalid bitcoin address, testcase for new lib, bip32 based persite privatekey generation, multiuser ready, simple json database query command, websocket api fileGet, wrapper loading title stuck bugfix 2015-02-09 02:09:02 +01:00
HelloZeroNet a977feec33 version 0.1.5, install as user to readme, more debug on filerequests, if upnpc fail try without -e, announce interval from 10 to 20 min, detect computer wakeup and acts as startup, delete sites files websocket command support, pause stop all current downloads, wrapper confirmation dialog support 2015-01-21 12:58:26 +01:00
HelloZeroNet 3bec738595 version 0.1.4, WIF compatible new private keys, proper bitcoin address verification, worker killing does not drops hash error, private key saved confirmation on site create 2015-01-20 02:47:00 +01:00
HelloZeroNet 014a79912f version 0.1.3, tructate sha512 to 256bits, retry peer cmd only 3 times, ping peer before cmd to find stucked sockets, ping with timeout and retry, separate wrapper_key and auth_key, changed sha1 to sha512, backward compatibility to sha1, reduce websocket bw usage on events, removed wrapper hash from wrapper iframe url 2015-01-18 22:52:19 +01:00
HelloZeroNet b37e309eda limitations and irc to readme, version 0.1.2, socket debugging option, Notify exceptions support, better error logging, retry on socket error, dont expose external ip to websocket api, kill workers if no task, log time to console 2015-01-17 18:50:56 +01:00
HelloZeroNet 185424b815 version bump, allow to publihs to specified peer, log sendCmd, add zeronet version to content.js, version to websocket api, force start worker specificed for specificed peer 2015-01-16 11:52:42 +01:00
HelloZeroNet aae1022c79 more logging on update requests, only add peer to already peer locked tasks, no traceback on peer send error, only allow 1 sec timeout when publishing, request 50 peers from tracker, peer limited startworkers, sitePublish to 20 peers 2015-01-15 23:24:51 +01:00
HelloZeroNet bcd0c0025a no need to specify content.json priority, its always downloaded first, peer broken after 3 hash failes, extra priority for css and js files 2015-01-14 22:57:43 +01:00
HelloZeroNet efb1dc3210 file download queue priority by browser request, newer content json log, peer remove key error fix, peer request error also a connection error, new sites created with own flag 2015-01-14 02:41:13 +01:00
HelloZeroNet 3f974e0bc7 count peer connection error, remove offline peers, content sign modification time fix, tracker order fix, reset peer hash_failed on download start, avoid util package name conflict 2015-01-13 21:19:40 +01:00
HelloZeroNet d28e1cb4a6 First release, remove not used lines from gitignore 2015-01-12 02:03:45 +01:00