Commit Graph

125 Commits

Author SHA1 Message Date
Tamas Kocsis 48455e3e45 Better cli test output 2020-11-03 02:52:50 +01:00
Tamas Kocsis 6c1abf4004 Don't switch to libev for newer versions of gevent 2020-09-04 17:49:23 +02:00
shortcutme 51f49cd45a
Always use libev if possible 2019-12-17 14:25:04 +01:00
shortcutme eb63eb7b1d
Log startup errors in log file 2019-12-17 14:24:44 +01:00
shortcutme 39352eb97e
Fix test function listing name 2019-11-19 02:08:03 +01:00
shortcutme 16162955af
New cli test action 2019-11-19 01:47:06 +01:00
shortcutme a187726ba8
Formatting 2019-11-19 01:40:39 +01:00
shortcutme 1f453b6c13
Rev4253, Hotfix siteCreate CLI 2019-10-30 03:09:28 +01:00
shortcutme ee8e3c3c9c
Use master_seed for siteCreate CLI by default 2019-10-30 03:07:06 +01:00
shortcutme 1e1e560795
Use master seed to create new site from cli 2019-10-30 02:30:01 +01:00
shortcutme 0b04176f18
Rev4203, Change console encoding to utf8 on Windows 2019-09-03 12:00:25 +02:00
shortcutme 8537939d26
Disable UDP in proxy mode 2019-08-17 20:34:04 +02:00
shortcutme 429043f60c
CLI peerPing command display connection encryption info only once 2019-08-15 03:09:53 +02:00
Lola Dam 753396ac0c Try and catch block for dbRebuild (#2047)
* Try and catch block for dbRebuild

* Use self.log.error and not logging

* Use self.log.error and not logging in SiteStorage also

* Check if the rebuild is working
2019-06-23 14:21:50 +02:00
Ivanq 9119d72b9b Fix calling start.py to reopen browser (#2029)
* Fix calling start.py to reopen browser

* Move below
2019-05-24 16:36:29 +02:00
cclauss 8962c16670
Declare 'err' because Python 3 has stricter scoping rules
I Python 3, __err__ will go out of scope after the __try / except__ block.  This change preserves the value after the end of the __try / except__ block.
2019-05-17 12:33:10 +02:00
radfish f6e3a74567 [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +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 21536b8948
More clear logging when pinging unencrypted connections 2019-04-10 19:59:37 +02:00
shortcutme 17bbeefeca
Fix getWebsocket 2019-04-10 14:57:06 +02:00
shortcutme 9050f1a039
Show crypto cipher on peerPing command 2019-03-27 03:09:28 +01:00
shortcutme 4aee7a6c61
Make openLocked always return BlockingIOError on fail 2019-03-20 01:05:52 +01:00
shortcutme 91c5556f21
Remove old gevent compatibility patches 2019-03-16 02:05:27 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme 4e56fe9fc3
Fix sitePublish CLI command if no client is running 2019-02-09 13:56:44 +01:00
shortcutme 1b612f7112
Check master seed length for cryptGetPrivatekey CLI command 2019-01-29 03:03:42 +01:00
shortcutme c77e403f27
Logging init refactor, log rotate support 2018-11-08 01:32:31 +01:00
redfish e6f0a86c5a main: logging: do not override the warn level
This fixes the very annoying problem where the log messages with
level WARNING are not printed, while log messages with lower
level INFO are printed. This is very confusing behavior and should
be avoided. This was due to this override. If there is too much
logging output in debug mode, then let's deescalate the level
of the frequently-printed log messages down to DEBUG level.
2018-08-02 23:40:44 +00:00
shortcutme 656f48b354
Support open_browser disable even if it's started with start.py 2018-07-10 03:37:38 +02:00
shortcutme 5aab10fab2
Support client restart without updating 2018-07-10 03:28:02 +02:00
shortcutme ec05e6864a
Rev3502, Start fileserver to new greenlet to fix siteDownload and siteAnnounce CLI action 2018-07-02 15:42:16 +02:00
shortcutme b6364941a0
Don't start file server twice 2018-06-21 21:56:20 +02:00
shortcutme 8f5bcdff99
Start file server for cli commands for Tor support. 2018-06-01 02:43:53 +02:00
shortcutme 8998bf85bd
Handle connection errors when running peerPing command 2018-04-04 15:34:07 +02:00
shortcutme 7b1601c840
Ping port 15441 by default 2018-04-04 15:33:39 +02:00
shortcutme 82e6bc5d31
Use websocket connection instead of fileserver to execute commands from CLI 2018-04-03 14:49:40 +02:00
shortcutme 09f1ad0625
Add websocket client to allow API command requests from CLI 2018-04-03 14:47:43 +02:00
shortcutme 547242b1cb
Make siteVerify CLI command compatible with new verifyFiles return value 2018-03-29 03:17:45 +02:00
shortcutme ff3fdd4c72
Get privatekey from master seed CLI action 2018-03-19 02:58:38 +01:00
shortcutme cd822156c9
Rev3328, Fix CLI siteDownload, siteAnnounce, siteNeedFile commands 2018-02-13 13:18:40 +01:00
shortcutme 13e0d9b306
Configurable file logging level 2018-02-10 15:32:13 +01:00
shortcutme c6fd61ddf3
Don't display warnings if not in debug mode 2018-02-10 01:01:15 +01:00
shortcutme 6db011d807
Rev3221, Revert to afterLoad execution immediately after plugins loaded to avoid problems with plugins 2018-01-19 02:51:16 +01:00
shortcutme 155f05cb63
Trigger onLoaded after config loaded 2018-01-19 02:27:00 +01:00
shortcutme 4465146615
Update server_info on port open status change 2017-11-05 23:43:51 +01:00
shortcutme 2e74b73ba0
Verify signatures using CLI 2017-10-28 02:39:49 +02:00
shortcutme c519239d87
Add more detail on cli signing error 2017-10-22 11:11:26 +02:00
Ivanq 522e9ebf39 Show config via getConfig console command 2017-09-25 19:09:59 +03:00
cclauss eaa344abca Update main.py 2017-07-16 22:57:28 +02:00