Commit Graph

251 Commits

Author SHA1 Message Date
shortcutme 50937990e5
Fix typos 2017-03-06 15:30:31 +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
mishfit 656c818211 rename SiteStorage.list to SiteStorage.walk
also, add SiteStorage.list as non-recursive
directory listing (`os.listdir`)
2017-02-24 21:58:46 -07:00
shortcutme f523925817
Add separate function to check if user has run the API command 2017-02-11 18:26:36 +01:00
shortcutme 90c9adc8dc
Fix error reporting on asnyc websocket functions 2017-02-09 01:53:02 +01:00
ZeroNet c9fa29c562 Merge pull request #798 from l5h5t7/master
Update Chinese translation
2017-02-05 23:19:13 +01:00
shortcutme 2b389e4e85
Support since parameter for siteUpdate 2017-01-29 19:02:08 +01:00
lmath 4559ee0d7f Update Chinese translation 2017-01-28 06:27:45 +08:00
shortcutme 13f0ccf8c6
Fix optional files deleting 2017-01-27 14:01:55 +01:00
shortcutme 697e177e13
Don't remove missing optional files 2017-01-27 12:02:14 +01:00
shortcutme 54c553d13b
Timeout and Base64 encoding support for fileGet 2017-01-22 11:09:45 +01:00
shortcutme bf34d95bc1
Call fileGet and fileList in async 2017-01-22 11:09:26 +01:00
shortcutme b6644887bd
Move admin_commands to class variable 2017-01-22 11:08:41 +01:00
shortcutme 2dc981496b
Rev1821, Show progress bar on publishing 2017-01-16 13:41:57 +01:00
shortcutme bea212a8d1 Fix certAdd error 2017-01-07 01:09:05 +01:00
shortcutme eee65da257 FileList API command 2017-01-05 02:26:58 +01:00
shortcutme 74a4a4b9da Update websocket on permission add and remove 2016-12-30 18:55:11 +01:00
shortcutme 10772a704e Root path parameter for cloning 2016-12-08 17:14:55 +01:00
shortcutme 64321043b7 Fix permission error 2016-12-08 17:14:30 +01:00
shortcutme 58848068e6 Save sites.json before updating 2016-12-04 18:55:03 +01:00
shortcutme 430805adcc Add language to serverinfo 2016-11-18 20:11:11 +01:00
shortcutme 38ff33512f Use raise instead of assert for sql select filter 2016-11-18 20:11:03 +01:00
shortcutme 8ad6cd2e81 Allow to change language configuration parameter, reload translate files on change 2016-11-18 20:10:24 +01:00
shortcutme 0f31f1d34a Make UiWebsocket messages translatable 2016-11-18 20:09:51 +01:00
shortcutme b3ba79a0fd Function to check if the user has permission to modife a site 2016-11-07 22:55:09 +01:00
shortcutme 7677b6859e Move config file modification to Config class 2016-11-07 22:51:43 +01:00
shortcutme fe59618eaf Rev1523, Real fix file write confirmation 2016-09-14 18:41:28 +02:00
shortcutme 60dd797d1a Rev1522, Fix file write confirmation dialog 2016-09-14 18:28:48 +02:00
shortcutme 14544922bf Don't check files on siteUpdate 2016-09-14 10:51:10 +02:00
shortcutme 59205088d2 Move site deletion to dedicted function 2016-09-05 13:55:51 +02:00
shortcutme 49efcd0c2d Execute garbage collection on site delete 2016-09-04 18:05:55 +02:00
shortcutme 69f0e972d3 Check site files on forced update 2016-09-04 18:05:42 +02:00
shortcutme 46a2ea9421 Log slow db queries on verbose mode 2016-09-04 18:05:31 +02:00
shortcutme 96043ba279 Try not to overwrite currently in sync files 2016-09-04 18:05:17 +02:00
ZeroNet d542cc5b32 Log fileWrite permission errors 2016-08-10 12:23:01 +02:00
ZeroNet c486e9fa1a Pass current site to publisher callback 2016-08-10 12:22:27 +02:00
ZeroNet 92dbe597ea Allow to store extra data in content.json 2016-08-10 12:21:34 +02:00
ZeroNet c23c397764 Option to accept unknown certs 2016-08-10 12:18:22 +02:00
ZeroNet d6fdf8af9c Fix fileRules exception without rules 2016-08-10 12:15:16 +02:00
ZeroNet 3d7ba7bdf8 Permission add and remove zeroframe api command 2016-08-10 12:12:47 +02:00
HelloZeroNet fc9c604b66 Update signed file using the sidebar 2016-05-16 22:26:40 +02:00
HelloZeroNet 038bf4f2c8 Dont add -old postfix for content.json files 2016-04-25 02:26:13 +02:00
HelloZeroNet 34ead0aec2 Allow whitespace prefix for sql queries 2016-04-25 02:25:54 +02:00
HelloZeroNet bbf1bc163d Extra debug messages, cleanup unused lines 2016-04-10 13:25:11 +02:00
HelloZeroNet 5720f74669 Typos and formatting 2016-04-09 19:49:23 +02:00
HelloZeroNet 9bb0a0d91b Display confirmation if zeroid already exists 2016-04-09 19:49:12 +02:00
HelloZeroNet 561bd80aa3 Fallback to simple file copy if rename failed 2016-04-09 19:43:44 +02:00
HelloZeroNet 57bf36f90a Only create old file if not exist 2016-04-07 10:35:02 +02:00
HelloZeroNet 6e65169a9d Calculate diff right befor publish 2016-04-07 10:34:30 +02:00
HelloZeroNet ab1aaea7f5 Calculate and send diffs on publish 2016-04-06 13:57:19 +02:00
HelloZeroNet 888ad2aeff Save files before writing with fileWrite to calculate diff on publish 2016-04-06 13:56:32 +02:00
HelloZeroNet 0e13fbf5dc Queue updates within 30 second to avoid network spam 2016-03-30 23:15:18 +02:00
HelloZeroNet 0ee1448e13 Faster signing by only reload the current content.json 2016-03-18 19:15:38 +01:00
HelloZeroNet 52044a50a1 Save CPU by avoid reloading all json file on publish 2016-03-16 21:08:19 +01:00
HelloZeroNet e891a10e54 Rev957, Sidebar displays onion peers in graph, Sidebar display bad file retry number, Sidebar site Update/Pause/Delete, Ratelimit sidebar update, Encoded typo, Fix onion findHashId, More retry for bad files, Log file path errors, Testcase for self findhashIds, Testcase for Tor findHashId, Better Tor version parse, UiWebsocket callback on update/pause/resume/delete, Skip invalid postMessage messages 2016-03-09 00:48:57 +01:00
HelloZeroNet ac0dc3bf11 Rev906, Escape file path, Only allow to modify tor in configuration 2016-02-20 11:19:28 +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 018c6f7075 Rev889, ZeroID opener bug fix 2016-02-06 15:12:04 +01:00
HelloZeroNet c11d4f2632 Rev881, Restrict serverShutdown to admin sites, Avoid redirect cache when clicking trayicon 2016-02-02 20:09:01 +01:00
HelloZeroNet 687a848292 Version 0.3.6, Rev879, Fix sidebar error on description missing, New trayicon, New favicon, Disable some functions on MultiUser proxies, New homepage, Replace only the last ? in SQL queries, Alwaays grant ADMIN permission to homepage site, Announce before publish if no peers, configSet, serverShutdown, ADMIN WebsocketAPI command, Stop Tor client before updating, Ignore peer ip packing error, Ignore db files from git, Fix safari ajax error when UiPassword enabled 2016-02-02 11:40:45 +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 ee70e2f022 Version 0.3.4, Rev656, CryptMessage plugin for AES and ECIES encryption, Added pyelliptic lib for OpenSSSL based encryption methods, Test CryptMessage plugin, Force reload content.json before signing and after write, Escaped Sql IN queries support, Test Sql parameter escaping, ui_websocket Test fixture, Plugin testing support, Always return websocket errors as dict, Wait for file on weboscket fileGet command if its already in bad_files queue, PushState and ReplaceState url manipulation support in wrapper API, Per auth-address localstorage, Longer timeout for udp tracker query 2015-12-10 21:36:20 +01:00
HelloZeroNet 85c2799cb6 Rev618, Changed 2 dead torrent trackers, Better exception display on webui, Better broken site with missing files handling, Possible re-check open port using ZeroHello, 5sec udp timeout 2015-11-17 12:48:03 +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 39413b9755 Rev452, Auto hide no peers found info message, Raise error on invalid file location, Test PEX, Test invalid file downloads, Test peer download and ping 2015-09-28 00:22:27 +02:00
HelloZeroNet 9ac8f7f63c Rev426, Fix for nonce error on bigsites asking, Dont display error details on 404 error, Dont log Websocket close errors, Add travis pip caching and osx test, Add build status to readme, Test for site files after cloning, Test for json to db mapping, Test site deleteFiles command, Test user certificate and auth address generation, Exclude debug lines from coverage, Dont run webtests every time 2015-09-20 22:35:45 +02:00
HelloZeroNet 917393c022 Rev409, Delete files removed from content.json, Start download user files right after content.json downloaded, New API command: fileDelete, Better notification input auto focus 2015-09-16 00:01:23 +02:00
HelloZeroNet ec40d3fcc3 Rev393, Remove all record about the site on delete 2015-09-11 02:25:37 +02:00
HelloZeroNet b83d6ba2ff Version 0.3.2, rev351, Sidebar to display site infos an modify settings, Per-site upload/download bytes statistics, Deny different origin media requests, Allow 10sec to finish query modifications, Websocket display errors to client instead of disconnecting, Allow specify notification id to server-side messages, Track every command response time 2015-08-16 11:51:00 +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 a93ca2c3b4 rev307, Plugin for password protected web ui, Faster page load times by yielding wrapper html, Reworked configuration parser to support plugin extensions, Initial site sync bugfix, Test for configuration parsing, Parse posted data function 2015-07-17 00:28:43 +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
HelloZeroNet 417c6eb96f rev278, Allow clone sites that does not have domain, Publishing without peers is a success, File size 0 on non exists files, Benchmark TLS1 2015-07-07 03:14:45 +02:00
HelloZeroNet a78907cc9d Version 0.3.1, rev238, Connection encryption using TLS, One click site clone feature, Encryption stats, Disable encryption startup parameter, Disable ssl compression startup parameter, Exchange supported encryption methods at handshake, Alternative open port checker, Option to store site privatekey in users.json, Torrent tracker swap, Test for bip32 based site creation, cloning and sslcert creation, Fix for Chrome plugin on OSX, Separate siteSign websocket command, Update pybitcointools to major speedup, Re-add sslwrap for python 0.2.9+, Disable SSL compression to save memory and better performance 2015-06-10 00:29:30 +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 eddf3eb8fc rev134, Removed ZeroMQ dependency and support, GC after every stat page, GC call stat command, Streaming files directly to socket without msgpack overhead, Use listModified to query changed content.json files, Fix urllib memory leak onolder pythons, Fix security tests, Sitemanager testsuite, Announce on site resume, Site publish serves files max 60s 2015-05-03 13:06:43 +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 dc4292e1e3 rev115, Stats for total number of objects in memory, Peers in memory, Memory dump displays the total content on hover, Add http cache to js, css and image files, Allow query file status with SiteInfo websocket command to fix index.html loaded before websocket connection made problem, Fix bigsites reload problem 2015-04-20 22:31:29 +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 4f7e048413 socks proxy support, disable udp connections support, http bittorrent tracker support, port opened, external ip to stats, only need zeroname site if dont have, dont try to download file that not in content.json, store external ip even if port closed, recreate uirequest class to avoid unfinished requests in some cases 2015-04-12 23:59: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 78f97dcbe8 version 0.2.7, plugin system, multiuser plugin for zeroproxies, reworked imports, cookie parse, stats moved to plugin, usermanager class, dont generate site auth on listing, multiline notifications, allow server side prompt from user, update script keep plugins disabled status 2015-03-24 01:33:09 +01: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 5b5c8acdcb new documents with examples, raise exception on connection error, close connection if no handshake for 60 sec, log unhandled exceptions, calc object size using guppy, typo fix 2015-03-11 01:12:53 +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 e8368a8da1 more detailed connection statistics, first char recv bugfix, double connection bugfix, websocket send queue, loading screen hide bugfix on slow connection, disable user reload 2015-02-25 03:22:10 +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 655607466c Peer number get bugfix, Loading screen always wait for filedone event 2015-02-14 14:54:11 +01:00
HelloZeroNet fa7164a0f0 version 0.2.1, better browser open, site size limit, save number of peers to sites.json to faster warmup, silent wsgihandler error, siteSetLimit API comment, grant ADMIN permissions to wrapper, display site changetime from includes too, loading screen warning support 2015-02-14 14:05:00 +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 655c104130 50 sec send timeout, force activate keepalive, reworked websocket api to make it unified and allow named and unnamed parameters, reload on content.json fileWrite 2015-01-27 22:37:13 +01:00
Nathan Tym 7f129fe2c1 fix for socket error issue 2015-01-26 16:34:11 -05:00
HelloZeroNet 024655cf15 version 0.1.6, dont check own sites integrity, serving newly added sites, only serve .html files with wrapper, pass query string to innerframe, support for background-color in content.json, websocket api sitepublish and filewrite commands, pass hashchange to innerframe, wrapperPrompt notification support, 2015-01-24 19:14:29 +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 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 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 d28e1cb4a6 First release, remove not used lines from gitignore 2015-01-12 02:03:45 +01:00