Commit Graph

1 Commits

Author SHA1 Message Date
peter-tank
425eded1a2
Massive changes to src/bitmessagecli.py
* Mainly changes:
  * Message attachments faults detecting, and allow to dump whole embeded message alone to files.
  * Multi-line message acceptable in sending, (End with `Ctrl+D`)and allow resent on 'Connection Error.'
  * Print out detailed API Error returned.
  * Update Contacts list cmd, bcz contact list API returns unEncoded lable.
  * Message pull routing refine, mainlly access inbox messages by IDs, to reduce bandwidth usages.
  * API connections `SOCKS5` `HTTP` proxied.
* UIs
  * Shorten the user cmds inputs.
  * Try to remember user last choices.
  * Refine user input checkings.(rest to default selection by input a blank string)
  * A comprehensive command line parser, override configurations read from file `client.dat` in current working directory.
  * Message review limited to 380 characters in default.

default settings `client.dat`
```
[global]
start_daemon = http://127.0.0.1:8888
start_daemon = http://127.0.0.1:8445

[api]
path = 127.0.0.1:8445
type = HTTP

[proxy]
path = 127.0.0.1:1080
type = none
timeout = 30
remotedns = True
```

Signed-off-by: peter-tank <30540412+peter-tank@users.noreply.github.com>
2018-07-23 00:58:28 +08:00