Commit Graph

50 Commits

Author SHA1 Message Date
Tamas Kocsis b9c65d75ef Move error log handler to config object to be able to catch plugin load errors 2020-09-09 18:29:24 +02:00
shortcutme f41d022038
Log BrokenPipeError as warning 2020-03-20 18:52:18 +01:00
Ivanq 219b90668f
Switch from gevent-websocket to gevent-ws (#2439)
* Switch from gevent-websocket to gevent-ws

* Return error handling, add gevent_ws source to lib
2020-02-28 01:20:04 +01:00
Natalia Fenclová 456e330854 Replace usage of deprecated API 'cgi.parse_qsl'
Python 3.8.0 removed this deprecated API. We already use the replacement
`urllib.parse.parse_qsl` in `UIRequest.py`
2019-11-14 17:22:39 +01:00
shortcutme 86087550f1
Log ConnectionResetError as warning 2019-10-28 16:44:14 +01:00
shortcutme d7669413af
Log ConnectionAbortedError as warning 2019-10-26 20:17:09 +02:00
shortcutme dd493c87fa
Display WSGI errors to the browser 2019-10-06 03:13:32 +02:00
shortcutme 29640e614c
Admin API call to list server errors 2019-10-06 03:12:47 +02:00
shortcutme e16611f15a
Allow websocket connection originates from earlier accepted hostnames 2019-08-23 03:39:16 +02:00
shortcutme 996f326c74
Store if UiServer is running 2019-04-15 15:45:07 +02:00
radfish f6e3a74567 [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +02:00
shortcutme ac799a60da
Stop fs watcher with UiServer 2019-04-10 14:56:10 +02:00
tangdou1 42de962cbf
ipv6 compatibility 2019-04-03 19:56:14 +08:00
shortcutme e92f3ea100
New watchdog module based file change watching 2019-03-16 02:42:43 +01:00
shortcutme 2f4dec45a6
Decode path as utf8 2019-03-15 23:58:18 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme bd649cfb33
Remove ui_server allowed http host learning 2019-02-14 15:49:10 +01:00
Andrew Morgan ca549cf081 Allow IP addresses via WebSocket API (#1819)
* Allow IP addresses via WebSocket API

* Switch to socket. Add host
2018-12-18 14:36:14 +01:00
shortcutme 656f48b354
Support open_browser disable even if it's started with start.py 2018-07-10 03:37:38 +02:00
ZeroNet 22d6a32e4e
Merge pull request #1445 from JeremyRand/trans-proxy
Support accessing ZeroNet via a transparent proxy.
2018-06-02 17:52:12 +02:00
JeremyRand 4ffd642732
Support accessing ZeroNet via a transparent proxy. 2018-06-02 12:17:10 +00:00
JeremyRand f7f6b15ef1
Fix 403 error when listening on 127.0.0.1:80. 2018-06-02 10:24:00 +00: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 a0d85d7d83
Prompt new site addition in raw mode 2017-07-15 01:32:15 +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
shortcutme 42874038e2
Only allow UI requests from safe hosts 2017-06-13 14:19:23 +02:00
shortcutme 0106a193e5
Store SiteManager to UiServer 2017-02-11 18:26:36 +01:00
shortcutme 802b6775d7
Wait a bit before browser open to let http server start 2017-01-23 12:54:47 +01:00
HelloZeroNet 2a06cec5c2 Rev948, Disable websocket logging, Change max files opened limit on startup 2016-03-06 02:17:58 +01:00
HelloZeroNet 0faa6fbceb Rev886, Avoid browser redirect caching on start.py 2016-02-06 02:03:31 +01:00
HelloZeroNet c9578e9037 Rev668, Stop if UiServer bind failed to avoid double start 2015-12-28 00:19:58 +01:00
HelloZeroNet 713baeab63 Rev493, Fix trayicon autostart detect, Dont leak details on ui_restrict 2015-10-25 23:08:25 +01:00
TheNain38 708acdf6f7 If interface "*" is used open correctly on click 2015-10-25 19:01:45 +01:00
HelloZeroNet 8f63e4c421 Rev399, Urandom and Msgpack benchmark, Better random string generation, Never render page on OPTIONS request, Fix for Chrome browser socket hang on zeronet version update 2015-09-13 23:17:13 +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 b5ecb62bc6 rev280, The whole project reformatted to PEP8, UiRequest getPosted to query posted variables 2015-07-12 20:36:46 +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 71be41ade0 rev122, 40x faster openssl based sign verify, Openssl verify benchmark, Socket objects stat, Dont trace notification stack, uiserver memory leak fix 2015-04-28 00:43:17 +02:00
HelloZeroNet 30281c8fb5 Sexy system trac icon instead of ugly console, Total received/sent stat, List all site peer, Dont sent passive peers over pex, Dont store passive peers on trackers, Dont monkey patch thread at all, Allow main command plugins 2015-04-15 02:54:10 +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 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 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 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 d28e1cb4a6 First release, remove not used lines from gitignore 2015-01-12 02:03:45 +01:00