Commit Graph

2767 Commits

Author SHA1 Message Date
peter-tank
1d46013dfe
* API settings parse from "keys.dat" either.
Signed-off-by: peter-tank <30540412+peter-tank@users.noreply.github.com>
2018-07-23 00:59:04 +08:00
peter-tank
073009e0ec
* Duplication remove, minor fix.
Signed-off-by: peter-tank <30540412+peter-tank@users.noreply.github.com>
2018-07-23 00:58:55 +08:00
peter-tank
a2f4f4b3e0
* Fix fail on no password protected API daemon connection initial.
Signed-off-by: peter-tank <30540412+peter-tank@users.noreply.github.com>
2018-07-23 00:58:46 +08:00
peter-tank
fd7bb7c917
* Refine atachment detect.
* Fix duplicated sending msg.

Signed-off-by: peter-tank <30540412+peter-tank@users.noreply.github.com>
2018-07-23 00:58:37 +08:00
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
coffeedogs
d0c2759c41
Fix issue #1288 2018-06-28 12:42:05 +01:00
coffeedogs
86a7311a78
Merge branch 'v0.6' into issue_1277 2018-06-19 11:50:13 +01:00
coffeedogs
e5e9f70c2a
Fixed: Code style and lint issues 2018-06-15 12:54:41 +01:00
coffeedogs
d9f0a8708b
Fixed: Chan-provided diff to revert changes from boolean operators to any()/all(). Closes #1277. 2018-06-15 12:25:10 +01:00
coffeedogs
02f40f5036
Fixed: ERROR - Too many items in inv message! Closes 1274 2018-06-14 11:57:04 +01:00
1f6a7adf03
Merge PR 1258 into v0.6 2018-06-12 00:26:30 +02:00
649fda5b81
Merge PR 1261 into v0.6 2018-06-12 00:10:34 +02:00
c7917efbd9
Merge PR 1250 into v0.6 2018-06-11 23:50:25 +02:00
7878f83552
Merge PR 1235 into v0.6 2018-06-11 23:24:10 +02:00
f97ada87
5221f6a883
adding docstring and integer typecast 2018-05-25 06:13:01 +00:00
coffeedogs
e1c2e8ec46
Fixed: Responded to PR comments 2018-05-24 16:59:40 +01:00
coffeedogs
ab1dd319e3
Fixed: Code style and lint fixes 2018-05-24 10:53:11 +01:00
f97ada87
609a4a92e2
enable delayed POW checks
enable delayed POW checks via optional "receive time" argument
2018-05-23 03:38:05 +00:00
659d45bb15
Create default knownnodes if cannot read from file 2018-05-21 18:49:39 +03:00
b499e1bd22
Start without knownnodes if JSON got corrupted 2018-05-21 18:49:39 +03:00
5e72fdba17
Simplified addKnownNode() and added docstrings 2018-05-21 18:49:38 +03:00
67feb8fee9
Serialize knownnodes to json by default
Fixes #1232
2018-05-21 18:49:38 +03:00
f87ce4ad50
Moved reading knownnodes.dat into knownnodes module 2018-05-21 18:49:38 +03:00
ca42b4be63
flake8 for knownnodes 2018-05-21 18:49:38 +03:00
74ddda8775
helper_generic: imports in alphabetical order, import multiprocessing 2018-05-21 13:37:28 +03:00
4cf73675c2
flake8: bitmessagemain, class_singleCleaner, helper_generic, shutdown
and singleinstance
2018-05-21 13:37:23 +03:00
cb0996c6c8
flake8: api, debug 2018-05-21 12:20:57 +03:00
4610e1a0d7
Merge PR 1254 into v0.6 2018-05-21 11:03:21 +02:00
a43efc5b20
Merge PR 1253 into v0.6 2018-05-21 10:20:27 +02:00
78aa263964
Merge PR 1252 into v0.6 2018-05-21 09:07:56 +02:00
7313a4687e
Merge PR 1249 into v0.6 2018-05-21 08:56:36 +02:00
coffeedogs
6bb5b32b6a
Added: Support installing system dependencies of optional extra_requires components 2018-05-19 15:30:05 +01:00
40dc7d330d
flake8: class_objectProcessor 2018-05-18 13:55:55 +03:00
31f107f048
flake8: bmconfigparser 2018-05-18 13:55:00 +03:00
de27c9082d
Merge PR 1251 into v0.6 2018-05-18 12:37:45 +02:00
coffeedogs
9263026bc8
Fixed: Addressed issues raised in PR 2018-05-17 10:51:21 +01:00
coffeedogs
ce955ba844
Fixed: Style and lint issues in src/qidenticon.py 2018-05-16 12:31:06 +01:00
coffeedogs
6c268ba22f
Fixed: Type error, reported from the bitmessage chan 2018-05-16 12:01:51 +01:00
coffeedogs
5b21baed21
Fixed: Only re-calculate if something changed 2018-05-16 02:29:25 +01:00
coffeedogs
da87ae24ee
Fixed: Style and lint violations in src/bitmessageqt/__init__.py 2018-05-15 16:20:53 +01:00
coffeedogs
e0d31d77c9
Fixed: Style and lint violations in src/bitmessagecli.py 2018-05-15 16:15:44 +01:00
coffeedogs
81777e29c9
Added: Fabric taskrunner to check python files and report violations 2018-05-15 16:02:29 +01:00
7445665963
Merge branch '1228' into v0.6 2018-05-10 08:44:46 +02:00
fdemortain
cafdff7f42
Update bitmessagecli.py 2018-05-09 14:09:42 +02:00
157590e0ee
Merge branch '1231' into v0.6 2018-05-09 14:08:11 +02:00
5d96a77a87
Merge branch '1233' into v0.6 2018-05-08 13:58:45 +02:00
coffeedogs
8979a1bef5
Fixed: Addressed PR comments 2018-05-08 12:53:58 +01:00
coffeedogs
bbf55a0571
Fixed: Addressed PR comments 2018-05-08 12:37:54 +01:00
coffeedogs
ed4a092c51
Removed: # nosec directives until further security review. 2018-05-08 12:13:49 +01:00
coffeedogs
fe3a86d361
Fixed: Addressed PR comments 2018-05-07 11:50:51 +01:00