Commit graph

3172 commits

Author SHA1 Message Date
shortcutme
b114c52c0d
Allow pluginned classes in memory on reload 2019-04-18 12:21:50 +02:00
shortcutme
4671f47222
Fix bigfile piecefield standalone run test 2019-04-18 12:21:33 +02:00
ZeroNet
dd4c213805
Merge pull request #1989 from radfish/PR-py3--translate-bytearray-fix
Ui, Translate: fix bytearray format string for Py 3.4
2019-04-17 11:29:16 +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
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
8246505289
Rev4069 2019-04-15 22:48:55 +02:00
shortcutme
526a5d3fb1
Fix compatibility with Python <=3.5 2019-04-15 22:48:43 +02:00
shortcutme
f970815645
Run tests in debug mode 2019-04-15 22:48:16 +02:00
shortcutme
f83c77e7ea
Fix plugin error message 2019-04-15 22:48:09 +02:00
shortcutme
654cce92cd
Rev4068 2019-04-15 22:24:00 +02:00
shortcutme
8f0bfbc553
Test Multiuser and Bootstrapper plugins 2019-04-15 22:23:30 +02:00
shortcutme
bc39e52f56
Rev4066 2019-04-15 22:20:16 +02:00
shortcutme
a822238735
Use 1544 port for tor in tests 2019-04-15 22:19:38 +02:00
shortcutme
b168772d7f
Create user for tests if necessary 2019-04-15 22:19:16 +02:00
shortcutme
034e104c06
Log fileserver startup error for tests 2019-04-15 22:19:00 +02:00
shortcutme
0c0f117bc3
Don't parse config file for tests 2019-04-15 22:18:40 +02:00
shortcutme
1d4ab8833b
Test and enforce proper import plugin order in debug mode 2019-04-15 22:18:18 +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
572d55752c
Avoid random websocket test fails 2019-04-15 16:54:49 +02:00
shortcutme
04394d8ced
Rev4064 2019-04-15 16:29:01 +02:00
shortcutme
c7ea66bfef
Fix shutdown before file_server started 2019-04-15 16:07:18 +02:00
shortcutme
bfc5e2dce6
Support live changing offline mode 2019-04-15 15:49:53 +02:00
shortcutme
a7e8293d1a
Add offline mode info to server info 2019-04-15 15:49:34 +02:00
shortcutme
698f0cc230
Fix isServing check in site info formatting 2019-04-15 15:49:04 +02:00
shortcutme
f414f0746c
Don't update site in offline mode 2019-04-15 15:48:16 +02:00
shortcutme
235b8f359c
Don't create new connections in offline mode 2019-04-15 15:47:17 +02:00
shortcutme
2326cf3de8
Ignore incoming connections in offline mode 2019-04-15 15:47:05 +02:00
shortcutme
b8879853d5
Support closing all current connection in ConnectionServer 2019-04-15 15:46:53 +02:00
shortcutme
498fd4bf01
Don't listen ConnectionServer if not started 2019-04-15 15:46:37 +02:00
shortcutme
996f326c74
Store if UiServer is running 2019-04-15 15:45:07 +02:00
shortcutme
43b68faf73
Merge Ui all.js 2019-04-15 15:44:04 +02:00
shortcutme
8429ad7db7
Use global ZeroNet-Internal url to access Websocket 2019-04-15 15:42:24 +02:00
shortcutme
879b522914
Disable portcheck in offline mode 2019-04-15 15:16:38 +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
ZeroNet
6d8f55cf75
Merge pull request #1983 from krzotr/patch-3
OptionalManager file info - set bytes_downloaded to total file size if a file is fully downloaded
2019-04-15 12:21:28 +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
0260b30335
Rev4059 2019-04-12 15:03:58 +02:00
shortcutme
0f72085c2a
Also return ws error to websocket connection 2019-04-12 15:03:43 +02:00
shortcutme
6ad8a10f37
Fix invalid ws request response value 2019-04-12 15:03:19 +02:00
shortcutme
8a38983dfc
Better logging of ws connection for siteCmd CLI action 2019-04-12 15:02:04 +02:00
shortcutme
9f5600b7f7
Rev4057, Log invalid result from websocket 2019-04-11 16:33:36 +02:00