Commit Graph

103 Commits

Author SHA1 Message Date
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
shortcutme 66e2192e65
Add --silent option to disable logging to terminal 2017-06-20 20:32:51 +02:00
shortcutme 0d6d19502f
Format json reply for peerCmd command line action 2017-06-20 20:29:11 +02:00
shortcutme 9f72fdeb41
Display sign error on command line siteSign command failure 2017-06-19 16:14:36 +02:00
shortcutme 7653cba247
SiteVerify command line action display verify error 2017-06-19 15:49:39 +02:00
shortcutme fae5d22e86
Rev2054, Outgoing socket binding support 2017-04-14 16:05:42 +02:00
shortcutme a59cf9b9aa
Rev1930, Change stack size argument for special hardwares 2017-02-19 13:20:49 +01:00
shortcutme 22059e71a2
Rev1914, Fix command line sitePublish command 2017-02-17 12:17:44 +01:00
shortcutme d57d82f439
Rev1913, Support local address other than 127.0.0.1 2017-02-16 20:56:07 +01:00
shortcutme 697e177e13
Don't remove missing optional files 2017-01-27 12:02:14 +01:00
shortcutme 8c9457d636
Rev1818, Set user-only permissions on directories instead of files 2017-01-15 13:19:34 +01:00
shortcutme d5210d27e2 Load all sites on commands to avoid errors 2016-11-16 11:18:44 +01:00
shortcutme 65d2b0d996 Still open browser if already running 2016-11-07 22:34:27 +01:00
shortcutme 484659fc3f Separate lock file instad of log file locking 2016-11-07 22:34:12 +01:00
shortcutme 3331e2305b Fix sitePublish cli command 2016-09-28 20:36:02 +02:00
shortcutme 7572f8c98b Display Python and ZeroNet version for every command 2016-09-07 17:41:09 +02:00
shortcutme 4efaaaabc0 Stop when siteVerify find a bad file 2016-08-29 11:17:36 +02:00
ZeroNet 1f4609d1a3 Fix dbRebuild command line action 2016-08-10 12:44:17 +02:00
Thibaut Broggi 9e9832ad09 Set permission to 600 for some files
Files users.json and sites.json contains private key
    Only the owner of these files should have access to them
2016-05-26 16:00:14 +02:00
HelloZeroNet d71d8b4cf5 Only publish to 5 peers on sitePublish command line action 2016-04-25 02:24:30 +02:00
HelloZeroNet 7c3e470ea7 Calculate and send diff on startup commands 2016-04-06 13:58:43 +02:00
Erkan Yilmaz b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet fcd4253a8d Log last command line action to log/cmd.log 2016-03-19 18:11:37 +01:00