Commit Graph

50 Commits

Author SHA1 Message Date
rllola 7d5f3354b6 Update README; 'valueencoding' configuration required for rpc call; 2020-01-02 11:32:47 +01:00
shortcutme 5ca3401eb9
Remove UiRequestPlugin from Zeroname plugin 2019-10-16 15:42:49 +02:00
shortcutme 43a5742258
Resolve domain in parsePath function 2019-10-06 03:20:16 +02:00
shortcutme d5da404ed4
Log zeroname db load error 2019-10-06 03:08:09 +02:00
shortcutme 2bdd073608
Move resolveDomain to SiteManager for easier resolver plugins 2019-08-15 03:05:29 +02:00
cclauss fd46f141ea
Fix Python 3 syntax errors in zonename_updater.py 2019-05-16 19:39:16 +02:00
shortcutme 20806a8c97
ZeroName plugin Py3 compatibility 2019-03-16 02:27:26 +01:00
rllola 5e2feb5803 Fix the second cal to getinfo/getblockchaininfo; Verify version before doing the call. 2019-02-21 16:10:42 +01:00
rllola 93645681b0 Use waitfornewblock if namecoin version 16.0 or higher 2019-02-21 14:39:58 +01:00
rllola 02e2080ce2 Added test for new standard; Check version for compatibility with namecoin newer version; update README 2019-02-12 23:06:21 +01:00
rllola c00601743c Added README for zeroname plugin with instructions 2019-02-12 22:09:47 +01:00
ZeroNet 79daa12b06
Merge pull request #1847 from BoboTiG/fix-invalid-seq-warnings
Fix DeprecationWarning: invalid escape sequence
2019-01-20 01:51:27 +01:00
Lola Dam 1f1e6006ec Support namecoin standard 'map' for subdomain name (#1856)
* Support namecoin standard 'map' for subdomain name

* Proper naming for variables

*  naming fix and added one case for namecoin standard
2019-01-15 16:25:33 +01:00
Mickaël Schoentgen e8298726ca Fix DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-06 15:15:47 +01:00
Vadim Ushakov ea40d212c2 Allow using other domain resolver plugins along with Zeroname
Fixes several closely related bugs in Zeroname Plugin, those prevent correct work of other domain resolvers:

1. get(), isDomain(): when an address doesn't look like a valid domain, pass control to the next plugin in a chain.

3. Move the .bit-domain matching logic to a separate method isBitDomain().

2. get(), need(): use isBitDomain(), not isDomain() to check if domain resolving is needed in order to not interfere with other domain resolvers.

4. Also rewrite isAddress() to make it look similar to the new implementation of isDomain().
2018-10-06 12:35:14 +07:00
shortcutme 1b8b3cf1ee
Fix site loading with Zeroname plugin 2018-04-03 14:40:47 +02:00
shortcutme 6b92d011d2
Rev3153, Download missing sites from sites.json 2017-11-30 19:38:56 +01:00
shortcutme 26a250d1df
Media isMediaRequestAllowed no longer required for origin checking 2017-07-09 14:12:53 +02:00
shortcutme febdea6c64
Serve files without wrapper if requested using /raw/ prefix 2017-07-09 14:10:01 +02:00
shortcutme bc02de4b18
ZeroName only match .bit domains 2017-06-13 14:19:43 +02:00
shortcutme de14c55311
Fix invalid referrers parsing 2017-04-07 18:13:09 +02:00
shortcutme bbbfffd1cb Rev1754, Don't reload domain database on very request 2016-11-19 10:56:19 +01:00
shortcutme 4c8794a4d1 Support header_length in Zeroname plugin 2016-11-18 20:12:10 +01:00
shortcutme a6c4a77e13 Rev1510, Fix site save without loaded SiteManager 2016-09-06 14:52:55 +02:00
shortcutme 46a84a42dc Allow - in domains 2016-09-04 17:33:58 +02:00
TheNain38 6c9da8aba6 Exception handling when connecting first time 2016-04-14 11:03:49 +02:00
HelloZeroNet faa2c3e6ce Dont reconnect on every block 2016-04-07 12:29:47 +02:00
HelloZeroNet 915dd92b5a Fix last block parsing confusion 2016-04-07 12:29:34 +02:00
HelloZeroNet 1f612fa1b0 Test block parsing at startup 2016-04-07 12:23:01 +02:00
TheNain38 9d7efade61 Publish all changes at once, fix lastprocessed 2016-03-28 22:02:48 +02:00
TheNain38 bef4596afa Make zeroname_udpater work 2016-03-27 15:58:30 +02:00
TheNain38 be6d77aceb Add arg to change resolving site 2016-03-22 17:36:01 +01:00
TheNain38 60fa986c47 Take all namecoin.conf parameters in consideration 2016-03-20 19:51:43 +01:00
HelloZeroNet 56dbd88889 Fix domains parse starting with whitespace 2016-03-12 13:25:26 +01:00
HelloZeroNet 891c5cc34a Simple tests for Connections, SiteManager delete test, ZeroName updater allow domain names starting with numbers, check subdomains validity 2015-09-22 12:16:29 +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 b5ecb62bc6 rev280, The whole project reformatted to PEP8, UiRequest getPosted to query posted variables 2015-07-12 20:36:46 +02:00
Idealcoder 4e1586acef Changed zeroname_updater.py so that is starts be default on the first block with a namecoin domain
Previously the default was null, causing the script to start from the latest block and so not scan any of the blocks that have happened before. 223911 is the first block with a namecoin domain, so there is no point starting before that.
2015-06-17 21:18:55 +01:00
Idealcoder 0fa87523fd Fixed zeroname_updater.py crashing underwindows with UTF8
For some reason windows doesn't like parsing namecoin domains with "weird" characters, so adding a try to catch exception stops a strange block crashing the script - instead it ignores and moves on.
We just have to hope there doesn't happen to be a namecoin domain in a block with weird characters.
2015-06-17 21:14:41 +01:00
Idealcoder 6155899893 Added note on zeroname_updater.py
Comment pointing out a data/names.json file has to exist in the site for it to work.
2015-06-17 21:11:57 +01:00
Idealcoder 85313c2186 Fixed zeroname_updater.py script under windows finding namecoin location
Windows stores namecoin config in %appdata%/Namecoin rather than ~./namecoin, so the code now checks for the platform, and creates a variable called namecoin_location with the right location.
2015-06-17 21:10:21 +01: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 8d5a72f0b5 rev110, Support for 127.0.0.1:43110-less Chrome plugin, Namecoin updater ignores invalid characters in address, Every site's favicon.ico leads to main favicon to prevent 404 request when using chrome extension, Detect chrome extension proxy requests, Use wrapper=False instead of /media, 404errormessage fix 2015-04-20 02:56:33 +02:00
HelloZeroNet c8fe73f5c0 rev106, Allow check memory content in stats page, Fix Zeroname plugin incompatibility with Multiuser plugin, Zeroname updater sort keys, Allow multiple ui_restrict parameter, Peer using site's logger to save some memory, Also send not that good peers on initial pex 2015-04-19 15:38:41 +02:00
HelloZeroNet f1a885b0ef Updated features in readme, Connectable peer stats, Start ZeroNet when Windows starts option, ZeroName updater invalid key fix, Add peer ping to timeout on publish, Make sure the passive peers get the updated files 2015-04-17 00:34:08 +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 18c4f61078 Added ZeroBundle install method for windows, ZeroName site downloaded on startup, updater fix 2015-04-09 22:20:33 +02:00
HelloZeroNet 67783bd494 total object stat, proper zeronet updater timeout catch, connection using connectionserver logger, trigger sitestorage onupdated when signing new file, named once events, only publish once same updated files, retry bad files every 20 min, trigger connection error on failed connection 2015-04-08 01:57:55 +02:00
HelloZeroNet 9c5176a8cb site connection stats, msgpack unpacker stats, make sure we dont skip any namecoin blocks, no more sha1 hash to content.json, keep 5 open connection in passive mode, publish got content to 5 peers, upnp retry 3 times, keep connection loggers 2015-04-03 02:47:51 +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