Commit graph

2167 commits

Author SHA1 Message Date
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
shortcutme
a7632889a2
Rev4056 2019-04-11 01:30:04 +02:00
shortcutme
58a4bf479c
Only send env details if in debug mode 2019-04-11 01:29:56 +02:00
shortcutme
1ce4f99b80
Send noscript header to error messages and OPTIONS request 2019-04-11 01:29:32 +02:00
shortcutme
f94ecb3ec5
Fix error 404 on uimedia route 2019-04-11 01:28:00 +02:00
shortcutme
a5c7e59601
Rev4054, Escape error detail to avoid XSS (reported by krzotr) 2019-04-11 00:37:55 +02:00
shortcutme
ec81965393
Rev4053 2019-04-10 19:59:56 +02:00
shortcutme
21536b8948
More clear logging when pinging unencrypted connections 2019-04-10 19:59:37 +02:00
shortcutme
100c2c8741
Set serial by command line to avoid .srl file creation 2019-04-10 19:59:02 +02:00
shortcutme
d47e4a3e0e
More detailed error logging on ssl handshake fail 2019-04-10 19:58:37 +02:00
shortcutme
0c9ea8f580
Merge branch 'py3' of https://github.com/HelloZeroNet/ZeroNet into py3 2019-04-10 14:57:32 +02:00
shortcutme
2320eb8723
Rev4052 2019-04-10 14:57:24 +02:00
shortcutme
17bbeefeca
Fix getWebsocket 2019-04-10 14:57:06 +02:00
shortcutme
31372e269d
Give notification to all connected clients about ZeroNet update 2019-04-10 14:56:47 +02:00
shortcutme
ac799a60da
Stop fs watcher with UiServer 2019-04-10 14:56:10 +02:00
radfish
6a1d716ba1 test: refer to test data path via variable (#1964) 2019-04-10 11:30:35 +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
a20ff59572
Rev4050 2019-04-09 16:21:46 +02:00
shortcutme
c7078be407
Always verify client update 2019-04-09 15:07:56 +02:00
shortcutme
718a00974b
Merge js 2019-04-09 15:06:33 +02:00
shortcutme
d612676a80
Log closing websocket when updating event 2019-04-09 15:06:27 +02:00
shortcutme
d7bcfb415b
Fix js merging white space stripping 2019-04-09 15:06:09 +02:00
shortcutme
6928a17e61
Rev4048 2019-04-08 18:15:23 +02:00
shortcutme
d097092e8e
Merge js 2019-04-08 18:15:02 +02:00
shortcutme
79eb6573be
Support listing bad files with API 2019-04-08 18:14:45 +02:00
shortcutme
ffed8c9181
Add updatesite, dist_type, verify lib to serverinfo for admin sites 2019-04-08 18:14:31 +02:00
shortcutme
ff8573635d
Limit max width of notification 2019-04-08 18:13:58 +02:00
shortcutme
643244ffd1
Less visible changed files notification number 2019-04-08 18:13:18 +02:00
shortcutme
9fd059aef8
Give admin permission to updater site 2019-04-08 18:12:58 +02:00
shortcutme
6764a7ad2f
Fix js merging 2019-04-08 18:12:43 +02:00
shortcutme
5642d0aae6
Also ignore db -wal and -shm temp db files when signing 2019-04-08 18:12:29 +02:00
redfish
73814550e5 PluginManager: get plugins path via import
* skip __pycache__ when loading
2019-04-07 18:50:23 -04:00
ZeroNet
edf3cf3b65
Merge pull request #1966 from radfish/PR-py3--ui-pathlib
[setuptools packaging] Ui: extend actionFile to accept pathlib.Path
2019-04-07 12:01:07 +02:00
redfish
1e1f967292 Ui: extend actionFile to accept pathlib.Path 2019-04-06 22:22:34 -04:00
redfish
6f5d4fdc51 config: path.expanduser returns py3 strings
And strings have no decode method.
2019-04-06 22:16:37 -04:00
shortcutme
7b1594c69c
Rev4044 2019-04-04 13:29:36 +02:00
shortcutme
6d27feba97
New updater site for Python3 version 2019-04-04 13:29:26 +02:00
shortcutme
4363dcbbc1
Distribtion type config value for future support in the updater script 2019-04-04 13:29:11 +02:00
shortcutme
380c32dee2
Worker stats on stop 2019-04-04 13:27:46 +02:00
shortcutme
bfc7e7c33f
Only start worker if there is valid task for it 2019-04-04 13:27:21 +02:00
shortcutme
8594e4ce4a
Add reason for startWorkers 2019-04-04 13:27:06 +02:00
shortcutme
752dabe554
Openssl dll find patch to libeay32 2019-04-04 13:25:10 +02:00
tangdou1
42de962cbf
ipv6 compatibility 2019-04-03 19:56:14 +08:00
redfish
941571f71f file: set error message before using it
Fixes this exception:

Unhandled exception: [(<class 'UnboundLocalError'>,
UnboundLocalError("local variable 'err' referenced before assignm>
 Traceback (most recent call last):
   File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
   File "/opt/zeronet/src/util/RateLimit.py", line 57, in <lambda>
     thread = gevent.spawn_later(time_left, lambda: callQueue(event))  # Call this function later
   File "/opt/zeronet/src/util/RateLimit.py", line 42, in callQueue
     return func(*args, **kwargs)
   File "/opt/zeronet/src/File/FileRequest.py", line 185, in actionUpdate
     self.response({"error": "File invalid: %s" % err})
UnboundLocalError: local variable 'err' referenced before assignment
2019-03-31 16:25:26 -04:00
shortcutme
5df8e10b95
Rev4033 2019-03-29 02:31:46 +01:00
shortcutme
bddf2d6537
Fix fileGet command 2019-03-29 02:31:14 +01:00