Commit Graph

831 Commits

Author SHA1 Message Date
Ivanq d7d75a1fe8 Fix ECDSA on CryptMessage (#1987)
* Add ecdsaSign and ecdsaVerify

* Fix return

* Fix unicode

* Update CryptMessagePlugin.py

* Remove .encode("utf8")

* Fix keys during ECDSA signing
2019-04-19 19:34:07 +02:00
rllola ef6ccb330b Dont raise an error if domain has more than one subdomain and just return None 2019-04-18 15:27:49 +02:00
shortcutme 4671f47222
Fix bigfile piecefield standalone run test 2019-04-18 12:21:33 +02:00
rllola 4be0e1ee7f Forgot to cache in one 'if' 2019-04-17 18:34:53 +02:00
redfish 7e57a8f71e Ui,Translate: remove bytearray format string
Py 3.4 does not support bytearray format strings
for % operator: b"%s" % s
2019-04-16 20:54:55 -04:00
rllola 86d3d35619 Disable Zeroname plugin 2019-04-16 20:07:30 +02:00
rllola f195111354 Using http.client instead of requests module 2019-04-16 16:23:09 +02:00
radfish ec6fd48b86 Bigfile: fix piece field bitmask to be used as bytearray consistently (#1982)
* Bigfile: make Piecefield array a bytearray

We want an array of characters. Py2 strings made sense to
use as an array of characters, but Py3 strings are different
and no longer a good choice.

* Bigfile: store bits as binary instead of char

* BigFile: rename to/from string -> to/from bytes

Since the type was changed to bytearray.
2019-04-16 15:14:19 +02:00
radfish 1516d55a88 Sidebar: rename media-globe/ to media_globe/ (#1973)
So that it can be an importable package.
This is in preparation for setuptools packaging.
2019-04-16 11:34:55 +02:00
Ivanq bdb0dc32a7 Add ECDSA actions to CryptMessage (#1984)
* Add ecdsaSign and ecdsaVerify

* Fix return

* Fix unicode

* Update CryptMessagePlugin.py
2019-04-15 22:55:01 +02:00
shortcutme 5ff2f792e6
Rev4070, Fix Multiuser plugin import order, Run coverage before optional plugins 2019-04-15 22:54:17 +02:00
shortcutme 526a5d3fb1
Fix compatibility with Python <=3.5 2019-04-15 22:48:43 +02:00
shortcutme 90fee9788d
Always translate html files to avoid compatibility problems with brackets in url 2019-04-15 22:16:47 +02:00
shortcutme bf7597e1b2
Add simple test for Multiuser plugin 2019-04-15 22:16:05 +02:00
shortcutme 54ff940c2b
Fix Bootstrapper plugin py3 compatibility 2019-04-15 22:15:42 +02:00
shortcutme 446641c31c
Always commit before Db VACUUM 2019-04-15 22:11:44 +02:00
shortcutme be584aa3d1
Change offline mode in /Config page 2019-04-15 15:12:08 +02:00
shortcutme b82f57e7a2
Fix small file upload using bigfile plugin 2019-04-15 15:07:31 +02:00
shortcutme 998ec3eb4f
Disable all site serving using a global offline argument 2019-04-15 15:06:25 +02:00
radfish f6e3a74567 [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +02:00
rllola c4d8466195 Delete old plugin 2019-04-14 22:58:05 +02:00
rllola af1fb7aaa6 Also recognise 'map' namecoin standard way of registering for domain 2019-04-14 22:41:26 +02:00
rllola 1a944735df New ZeronameLocal plugin with connection to namecoin node 2019-04-14 16:58:58 +02:00
krzotr 1c8fba4286
OptionalManager file info - set bytes_downloaded to file size if a file is fully downloaded 2019-04-13 23:07:13 +02:00
shortcutme ce7c22fd57
Ignore items with no date_added in newsfeed 2019-04-11 01:18:52 +02:00
ZeroNet ed12cc1186
Merge pull request #1952 from tangdou1/patch-6
Update TrayiconPlugin.py for IPV6 compatibility
2019-04-09 17:53:04 +02:00
ZeroNet 8370ac8426
Merge pull request #1970 from radfish/PR-py3--import-plugins
[setuptools packaging] PluginManager: get plugins path via import
2019-04-09 17:51:05 +02:00
shortcutme 763e5f4ac0
Fix too short sleep 2019-04-08 18:12:00 +02:00
shortcutme 87abdb92e9
Fix bigfile upload 2019-04-08 18:11:46 +02:00
redfish 73814550e5 PluginManager: get plugins path via import
* skip __pycache__ when loading
2019-04-07 18:50:23 -04:00
redfish 4d98b05e6c Sidebar: use geoip db from system if exists 2019-04-06 17:24:25 -04:00
tangdou1 4c358b9f08
Big File is bigger than 10MB
Big File is an optional file which is bigger than 10MB, so the default value should be at least 10MB.
2019-04-06 11:57:58 +08:00
shortcutme a208f47b6a
Fix sidebar opening for fast mouse movements 2019-04-04 13:28:38 +02:00
shortcutme 042db64a00
Fix multiuser plugin py3 compatibility 2019-04-04 13:24:42 +02:00
shortcutme f55fd8d861
Avoid re-define variable name 2019-04-04 13:24:26 +02:00
tangdou1 f527b8225f
IPV6 compatibility 2019-04-03 19:54:19 +08:00
redfish 65be9f438b CryptMessage: pass byte-array type to base64
Fixes this error upon sending a message in ZeroMail:
WebSocket handleRequest error: TypeError: a bytes-like object is
required, not 'str' in UiWebsocket.py line 83 > UiWebsocket.py line 269
> CryptMessage/CryptMessagePlugin.py line 80 >
CryptMessage/CryptMessagePlugin.py line 80 > base64.py line 58
2019-03-31 14:05:15 -04:00
shortcutme 9fad83e46c
More detailed logging on archive open error 2019-03-29 02:27:26 +01:00
shortcutme 9fbf4771f2
Fix directory commands on packed files 2019-03-29 02:26:50 +01:00
shortcutme 706852d9a7
Fix Stats page rendering in non-debug mode, reduce source code size 2019-03-27 03:06:22 +01:00
shortcutme 16f36824e6
Fix benchmark on Python 3.5 2019-03-23 03:40:42 +01:00
shortcutme 5c1ec0b141
Ecies encrypted string length can be different in rare cases 2019-03-23 03:38:30 +01:00
shortcutme e24d1016a5
Fix bigfile upload post request return value 2019-03-23 03:38:04 +01:00
shortcutme a82ee338ef
Rev4017, Fix Bigfile test, Python 3.4 compatibility 2019-03-21 02:48:21 +01:00
shortcutme 60405bf222
Rev4016, Add ad test Python 3.4 compatibility 2019-03-21 02:22:22 +01:00
0polar 8411c60d4a
Fix unable to open context menu on Windows
Python3 string no need decoding or encoding
2019-03-19 20:56:30 +08:00
shortcutme 9a9a8bfdc7
Fix peer loading 2019-03-18 03:37:05 +01:00
shortcutme a620bf2174
Fix lang html variable on config page 2019-03-18 01:06:45 +01:00
shortcutme e77d63294e
Fix config page 2019-03-18 01:06:04 +01:00
shortcutme 02e67a901f
Import global maxminddb module 2019-03-16 04:26:27 +01:00
shortcutme 242b3edbc4
Fix BigFilePiecefiled typo 2019-03-16 03:44:13 +01:00
shortcutme b7894faa96
Fix AnnounceShare backward compatibility 2019-03-16 03:44:01 +01:00
shortcutme ff5004cb8d
Remove included maxminddb 2019-03-16 02:52:12 +01:00
shortcutme d20da5d803
1ms is the minimum sleep with new gevent 2019-03-16 02:46:33 +01:00
shortcutme b98a9d2e80
Commit before vacuum 2019-03-16 02:45:37 +01:00
shortcutme 6f0531c663
Test CryptMessage ui_websocket result more reliable way 2019-03-16 02:33:38 +01:00
shortcutme 545acebbaf
New CryptMessage test functions for ecies crypto 2019-03-16 02:33:09 +01:00
shortcutme 20806a8c97
ZeroName plugin Py3 compatibility 2019-03-16 02:27:26 +01:00
shortcutme f071cc5c04
Make Stats page Py3 compatible, Add libsecp256k1 testing, Xy packing format, Reduce code duplication 2019-03-16 02:27:04 +01:00
shortcutme 90c9078bf5
Remove unnecessary logging of Sidebar loadGlobe 2019-03-16 02:25:20 +01:00
shortcutme 203e70afbc
Py3 compatibility of PeerDb plugin 2019-03-16 02:24:36 +01:00
shortcutme 2599e54fd0
Py3 compatibility of FilePack plugin 2019-03-16 02:24:17 +01:00
shortcutme 2737425242
Py3 compatibility of UiPassword plugin 2019-03-16 02:23:46 +01:00
shortcutme 40569eee2e
Py3 compatibility of CryptMessage plugin, Rename ecies crypto function names to make it more clear 2019-03-16 02:23:00 +01:00
shortcutme 883c2851ff
Py3 compatibility of ContentFilter plugin 2019-03-16 02:20:32 +01:00
shortcutme 4fe4d0a7e7
BEGIN / END no longer necessary as there is no autocommit in new db module 2019-03-16 02:18:53 +01:00
shortcutme a46d8fe7f3
Hash id of the hashmap changed because of use_bin_type msgpack packing 2019-03-16 02:15:37 +01:00
shortcutme dd70d27a0e
Use new Msgpack modue for testing Bigfile plugin 2019-03-16 02:14:43 +01:00
shortcutme b46ee0c495
Use Msgpack module in Bigfile plugin 2019-03-16 02:14:08 +01:00
shortcutme 28ffb3fd18
Ignore sha3 warning of merkletools module 2019-03-16 02:13:17 +01:00
shortcutme d1456850d1
Py3 compatibility in Bigfile piecefield 2019-03-16 02:12:45 +01:00
shortcutme 050e2febab
Log add types with zero announce request 2019-03-16 02:12:03 +01:00
shortcutme f56c8ef755
Save shared trackers files as utf8 2019-03-16 02:11:38 +01:00
shortcutme 1a9529157f
Backward compatibility with tracker sharing response 2019-03-16 02:11:22 +01:00
shortcutme 8c5c3cb7a6
Use Msgpack module in BroadcastServer plugin 2019-03-16 02:09:27 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +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
ZeroNet e89cb4cc0e
Merge pull request #1901 from anoadragon453/patch-3
Fix typo
2019-02-16 20:28:37 +01:00
ZeroNet 89cc70091c
Merge pull request #1900 from anoadragon453/patch-2
Remove unnecessary str replace
2019-02-16 20:28:22 +01:00
Andrew Morgan c6bbe9e020
Fix typo 2019-02-15 21:22:13 +00:00
Andrew Morgan 15d2fd4581
Remove unnecessary str replace
Presumably left over from before it got moved out into a script.
2019-02-15 21:19:29 +00: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
shortcutme af0b563036
Remove unnecessary character 2019-02-02 00:11:02 +01:00
shortcutme c2b879ccab
Rev3831, Fix Stats page compatibility with latest gevent 2019-01-31 00:39:45 +01:00
shortcutme e79e60f0bb
Fix change detection for textareas in Config page 2019-01-29 02:54:30 +01:00
shortcutme 14631c65a6
Avoid user creaton when rendering sidebar after site deletion 2019-01-26 20:42:46 +01:00
shortcutme f706f7508e
Store detected external ips to separate variable 2019-01-26 20:42:27 +01:00
ZeroNet 81419ca68b
Merge pull request #1879 from tangdou1/patch-1
Update zh.json
2019-01-25 23:34:49 +01:00
shortcutme 276cbc0ace
Rev3817, Support limits for feed search 2019-01-25 14:26:38 +01:00
tangdou1 6ada5110a4
Update zh.json 2019-01-25 15:04:43 +08:00
tangdou1 f6ee45249d
Update zh.json 2019-01-25 14:50:05 +08:00
shortcutme 3b91be8449
Change ip_external on Config page 2019-01-25 01:22:26 +01:00
shortcutme 37979b4f9c
Support multiple external ips 2019-01-24 15:20:08 +01:00
ZeroNet 31376ee2fd
Merge pull request #1870 from tangdou1/patch-1
Update all.js
2019-01-23 12:55:37 +01:00
tangdou1 f980170a82
Update zh.json 2019-01-23 19:05:29 +08:00
tangdou1 8b7ef14f65
Update all.js 2019-01-23 19:00:19 +08:00
tangdou1 728b76aa7e
Update all.js 2019-01-23 17:24:21 +08:00
shortcutme c20ed92fab
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2019-01-23 02:19:08 +01:00