Commit Graph

1825 Commits

Author SHA1 Message Date
mirrorwish
3f64601c47
Fix byte formatting 2016-03-23 09:34:05 +01:00
93700ff639
Translations config file update 2016-03-23 09:33:26 +01:00
mirrorwish
ef9f0a8c2b
Combine all translation project files into one 2016-03-23 09:30:00 +01:00
mirrorwish
8f23fc6fd3
Refactor Network Status tab 2016-03-23 09:03:53 +01:00
mirrorwish
8999ae614b
Refactor status icon 2016-03-23 08:53:44 +01:00
mailchuck
fe728a273a
Unread count refresh updates 2016-03-22 17:18:38 +01:00
mailchuck
dbac1ee9f7
sqlExecute now returns rowcount
This allows tracking of how many rows were changed, for example for
UPDATE, DELETE, INSERT.
2016-03-22 17:18:28 +01:00
mailchuck
61c9178978
Typos 2016-03-22 16:30:55 +01:00
mailchuck
373dbf921c
Global Sent fix 2016-03-22 16:30:24 +01:00
mailchuck
225789d01f
Restrict pending parallel requests on proxy
This saves some network resources if using Tor, for example.
2016-03-22 14:47:29 +01:00
390bab2a3a
UPnP fixes:
- external port iterator fix
- error handler fix
2016-03-21 22:22:36 +01:00
mailchuck
7dcd2382a4
UPnP fixes
- UPnP handles errors better
- it tries to bind external interface (previously sometimes it searched
on 127.0.0.1 resulting in no routers being detected)
2016-03-21 21:52:34 +01:00
87f23d8927
Translations update
Updated translation source files
2016-03-18 20:27:06 +01:00
506eda323a
Grammar fix
- Fixes #179
- Thanks to @Erkan-Yilmaz
2016-03-18 18:59:20 +01:00
cf9309451d
Translation update
- typos
- updated German translation
- Fixes Bitmessage#844
2016-03-18 18:56:40 +01:00
9e2be9a566
Ack received translation typo
Fixes Bitmessage#644
2016-03-18 17:37:38 +01:00
5abeec5c5c
Preliminary Tor hidden service support 2016-03-18 16:39:29 +01:00
7c3703aee0
Add bitcoin URI handler for message viewer 2016-03-18 14:09:28 +01:00
54b5c9c862
Keyboard modifiers with quick navigation
The quick navigation key disrupted keybindings with keyboard modifiers,
like Ctrl-C for copy. This restricts the quick navigation only where no
keyboard modifiers are active.

Fixes #184
2016-03-16 18:42:08 +01:00
6402eca0b5
Global Sent and Trash folders 2016-03-16 18:30:47 +01:00
mailchuck
c6b4237ba1
More unicode fixes
Addresses #180
2016-03-12 11:03:11 +01:00
mailchuck
6c4ef64d96
UTF fixes
Label edits now accept and save utf8 characters.
Addresses #180
Still need to check how it behaves on invalid chars.
2016-03-12 10:58:51 +01:00
mailchuck
4b091ccaf8
Sent folder in chans extended
Previously, it only showed message sent to the selected chan address.
Now it shows both those sent to and sent from the chan address.

Fixes #181
2016-03-12 09:58:20 +01:00
mailchuck
5cb1fbb7b6
Email gateway interface usability improvements
- don't allow status request / settings unless registered already
- if registered, status request is the default selected option

Fixes #182
2016-03-12 09:15:20 +01:00
mailchuck
650047c043
Improved URI detector 2016-03-12 09:07:41 +01:00
mailchuck
e32d18546d
loadResource incorrect parameters 2016-03-12 09:07:20 +01:00
mailchuck
fefad31528
Clipboard copy unicode
Copying unicode subjects to clipboard didn't work.

Fixes #183
2016-03-12 08:50:51 +01:00
e1965849c2
Email links "From"
Clicking email links now sets "From" based on the message the link is
in.
2016-03-01 15:24:35 +08:00
ea043a938a
Keybindings
- delete key now works when message body is focused as well
- N for next message (down)
- P for previous message (up)
- R for reply
- C for compose
- F for find
- Find is now dynamic if the search text is least 3 characters long

Fixes Bitmessage#655
Addresses #155
2016-03-01 15:23:55 +08:00
23c07c4419
Allow close to tray
PyBitmessage can now close to tray. Even though the main code was there,
the UI and config variable were missing.

Fixes Bitmessage#564
2016-03-01 09:51:11 +08:00
187fcfc031
deleteRowFromMessagelist implementation
Rows are deleted from a message list in multiple places, and this is an
attempt to refactor it so that it is done in one function. It's not used
anywhere yet.
2016-03-01 09:25:46 +08:00
cb2576fc37
Empty resource loader for messageview
MessageView does not currently load external resources (QTextBrowser by
default interprets all external resources as local file names and tries
to load them like that. This can, in the future, be implemented. For
example, if SOCKS (Tor) is used, the resource could be loaded through
the SOCKS too.

This commit is a skeleton for it that does not actually do anything and
can be filled with an implementation that does the loading.
2016-03-01 09:24:14 +08:00
375ff7128d
Clickable email and http links in plain text
Email addresses and URIs are now clickable when viewing a message in
plain text mode. Clicking an email address moves to the Send tab, while
clicking an URI has the same result as clicking an URI in html mode, it
will ask for confirmation before opening it in external handler.
2016-02-29 07:47:48 +08:00
2f7a386aaf
HTML parser updates
HTML parser wasn't correctly handling img tags.
Now it also by defaults disabled external schemas to prevent
deanonymisation (even though the renderer actually doesn't support
external schemas at the moment)

Addresses #178
2016-02-25 17:14:24 +08:00
2f9501fa1a
Do not allow port 0
Attackers injected node addresses with port 0 into the network. Port 0
is unusable on many OSes and can't be listened on. PyBitmessage won't
accept nodes that have port 0 anymore.
2016-02-20 11:14:42 +01:00
0dae345ce5
Constant time decryption
Always try to decrypt with all keys.
2016-02-18 16:01:30 +01:00
0e59102f11
Sleep on invalid getdata
- postpone initial sleep until the first getdata is received
- also sleep when received a getdata request for an object that hasn't
been advertised to the other node yet
2016-02-18 00:53:42 +01:00
f99d499d85
Process gateway registration rejections
A message from gateway registration addres regarding registration
rejection is processed and a dialog displayed to get a new email
address.

Fixes #14
2016-02-15 08:20:12 +01:00
5029386000
Email gateway updates
- settings option available
- reduce max TTL to 2 days
2016-02-14 21:38:15 +01:00
3b22f0ff0c
Email gateway account status query
- addresses #14
2016-02-14 20:13:36 +01:00
a0d43eb982
Search improvements
- selecting a new folder will apply search
- newly arrived message will consider search
- fixes #166
2016-02-14 19:56:52 +01:00
9fc8a1106d
Better error reporting for log config
Fixes #174
2016-02-13 22:16:44 +01:00
cd20ac985a
Sent message status on ACK
Fixes #176
2016-02-13 19:34:23 +01:00
51b043684d
Mitigate active internal intersection attack
There was a report that by quickly asking a large number of nodes if
they have an ACK object (which the attacker knows but it is injected
into the network by the recipient of the message), it can estimate how
an object propagates through the network, and eventually pinpoint an
originating IP address of the injection, i.e. the IP address of the
message recipient.

This patch mitigates against it by stalling when asked for a nonexisting
object (so that the attacker can't spam requests), and also upon
connection before sending its own inventory list (so that reconnecting
won't help the attacker). It estimates how long a short message takes to
propagate through the network based on how many nodes are in a stream
and bases the stalling time on that. Currently that is about 15 seconds.
Initial connection delay takes into account the time that already passed
since the connection was established.

This basically gives the attacker one shot per a combination of his own
nodes and the nodes he can connect to, and thus makes the attack much
more difficult to succeed.
2016-02-13 12:55:15 +01:00
84f2202745
Don't send ACK on subscribed chans
If somehow you manage to send a message that includes an ACK part into a
chan, the subscribers would send the ACK back. This shouldn't happen.
2016-02-13 00:30:51 +01:00
d2b9c16d5f
blacklist rendering edit fix
Editing of blacklist labels affected the rerendering, because it emits
the changed signal too, and it caused an exception because the address
field was missing at that time. This works around both.
2016-02-13 00:09:52 +01:00
2f6c36cab2
Don't send unnecessary ACKs
In some situations, it's not necessary to send an ACK. For example, when
the sender is blacklisted, when the message has no content, or when the
address has ACK sending disabled.

Also it's not necessary to rebroadcast empty messages into a mailing
list.
2016-02-12 23:36:00 +01:00
mirrorwish
0db41adfd7
Save changes to blacklist labels
Fixes mailchuck/PyBitmessage#175

Signed-off-by: Peter Surda <surda@economicsofbitcoin.com>
2016-02-12 22:20:32 +01:00
mailchuck
1690597b0b
Unused variable 2016-01-26 13:02:39 +01:00
mailchuck
a04f0c15e8
Cleanup lockfile on exit
singleton.py design was broken.
Fixed Bitmessage#775
2016-01-26 13:01:40 +01:00