Commit Graph

403 Commits

Author SHA1 Message Date
69494594d5 Main Window raising fixes
On OSX and linux, the tray icon now raises window.

Starting a new instance should raise the window too, but it may not work
on linux (on my Ubuntu it just flashes the icon)

Fixes Bitmessage#743
2016-05-02 15:00:22 +02:00
mailchuck
ff207c1b56 Portable mode fix
The option should not be available if the directory with the executable
is not writable, such as when running from a dmg on OSX.
2016-05-02 15:00:22 +02:00
mailchuck
8359b8b202 Contact support user interface
Fixes #25
2016-05-02 15:00:22 +02:00
mailchuck
4c8ba431e5 Add to blacklist from "All accounts"
It didn't work before
2016-05-02 15:00:22 +02:00
mailchuck
eb35f35b83 Add system translations
Items like dialog box buttons were not localised. This loads the default
qt localisation, and also unloads the old localisation on locale change.
Still needs to be adjusted for frozen.

Addresses Bitmessage#737
2016-05-02 15:00:22 +02:00
mailchuck
751f9108d8 HTML detector and switcher
HTML messages are detected and if present, the top of the message
textedit displays a clickable area that switches HTML rendering on and
off.

Fixes #13
2016-05-02 15:00:22 +02:00
mailchuck
8ff5bf0464 Channel reply enhancement
When replying to a message sent to a chan, now you can choose if you
want to reply to chan or sender. Fixed #9
2016-05-02 15:00:22 +02:00
mailchuck
4e32125ca3 Copy to clipboard in messagelists
Fixes #142
2016-05-02 15:00:22 +02:00
mailchuck
e2fb34e2fb More portable mode fixes 2016-05-02 15:00:22 +02:00
mailchuck
242c8fa9c2 More portable mode fixes 2016-05-02 15:00:22 +02:00
mailchuck
5a45d7dd8f Portable mode fixes
Fixes Bitmessage#379, Bitmessage#341
2016-05-02 15:00:22 +02:00
538642f236 Label for blacklisting sender fix
It wasn't properly utf-8-ied.
2016-05-02 15:00:22 +02:00
bdfaa90ecb Auto-register for email gateway if necessary
If attempting to send to an email address from an unregistered
account, auto-send registration to mailchuck.
Use label if possible, otherwise random 12 characater address

Fixes #131
2016-05-02 15:00:22 +02:00
082eb823bb New message appears if viewing account root
Fixes #132
2016-05-02 15:00:22 +02:00
mailchuck
a5456f792c Fix Addressbook context menu delete 2016-05-02 15:00:22 +02:00
mailchuck
bccc2406a2 Fix double unread count in tray icon 2016-05-02 15:00:22 +02:00
mailchuck
27c187283b Unify messagelist rendering
also some minor fixes
2016-05-02 15:00:22 +02:00
mailchuck
be02116af9 Global folder, global search, unread folder
Fixes #38
Fixes #39

Minor unread refresh issues.
2016-05-02 15:00:22 +02:00
mailchuck
6862952c55 Typo
OpenCL config variable setter had a typo
2016-05-02 15:00:22 +02:00
mailchuck
1e89616c0f Avoid strings in account types 2016-05-02 15:00:21 +02:00
mailchuck
e7e245fe25 OpenCL GUI settings 2016-05-02 15:00:21 +02:00
mailchuck
f9a7a5b6f2 Account in treeWidget more like a QT class
It behaves more like a QT class is supposed to now, it's somewhat
cleaner.
Fixes #122
2016-05-02 15:00:21 +02:00
mailchuck
48b9e50397 UPnP GUI
Settings GUI now contains a checkbox for UPnP and auto starts/stops the
thread when changed.
Default UPnP socket timeout decreased for faster thread
starting/stopping
2016-05-02 15:00:21 +02:00
mailchuck
8c14641810 Window resize on minimize bugfix
Fixes Bitmessage#243
2016-05-02 15:00:21 +02:00
mailchuck
9338772b1e Logging updates
Came over BM (from "general" channel), I slightly modified it.
2016-05-02 15:00:21 +02:00
mailchuck
960d446104 Ask before deleting a subscription
Fixes #120
2016-05-02 15:00:21 +02:00
mailchuck
c2970cd92e Update addressbook on changes
Fixes  #99
- enable/disable new/delete chan/subscription
- also found and fixed a logger crash
2016-05-02 15:00:21 +02:00
mailchuck
1f331f217c Messagelist address tooltip
Fixes #108
2016-05-02 15:00:21 +02:00
mailchuck
8909a535ae Remove extra debug logging 2016-05-02 15:00:21 +02:00
mailchuck
dd15d1b6ed Delete key and shift modifier
Addresses #114
- delete from sent works when pressing delete key
- delete from trash deletes rather than moves
- delete with shift deletes rather than moves
2016-05-02 15:00:21 +02:00
mailchuck
cd9a7b5157 Missing folders in rerenderTabTreeSubscriptions
I optimised it too much and sometimes folders were missing in the tree.
2016-05-02 15:00:21 +02:00
mailchuck
d7817ca2ef Smoother rerenderTabSubscriptions
Does not reset it all the time but adds/removes
Fixes #109
2016-05-02 15:00:21 +02:00
mailchuck
231219a193 Improved logging
Fixes #118

- changed almost all "print" into logger
- threads have nicer names
- logger can have configuration in "logger.dat" in the same directory as
"keys.dat", and the logger will pick the one named "default" to replace
the "console" and "file" that are in PyBitmessage otherwise

Example file for logging to syslog:

[loggers]
keys = root,syslog

[logger_root]
level=NOTSET
handlers=syslog

[logger_syslog]
level=DEBUG
handlers=syslog
qualname=default

[handlers]
keys = syslog

[handler_syslog]
class = handlers.SysLogHandler
formatter = syslog
level = DEBUG
args=(('localhost', handlers.SYSLOG_UDP_PORT),
handlers.SysLogHandler.LOG_LOCAL7)

[formatters]
keys = syslog

[formatter_syslog]
format=%(asctime)s %(threadName)s %(filename)s@%(lineno)d %(message)s
datefmt=%b %d %H:%M:%S
2016-05-02 15:00:21 +02:00
Denilson M. Amorim
cf610080b9 Squash: Single instance and pop up old instance 2016-05-02 15:00:21 +02:00
mailchuck
049e226ddc Move saving UI state
quit is more appropriate than close event, but it my resurrect the issue
with linux saving config data.
2016-05-02 15:00:21 +02:00
mailchuck
5cb02dc783 Improve blacklist autolabel 2016-05-02 15:00:21 +02:00
mailchuck
a02ea14233 Blacklist through context menu
Fixes #101
2016-05-02 15:00:21 +02:00
mailchuck
2f874e41be Fix adding/editing entries in addresbook
It didn't sort correctly and didn't update the label correctly when
changed.
Fixes #95
2016-05-02 15:00:21 +02:00
mailchuck
25cc1dc287 Unified code for finding source code location
It is already used in 3 places so I put it into a function
2016-05-02 15:00:20 +02:00
mailchuck
f68627158d Click on inactive tab
Would cause exception.
2016-05-02 15:00:20 +02:00
mailchuck
0e15b246af Fix broadcast
Any normal address should be able to broadcast. Reported over BM in one
of the chans.
2016-05-02 15:00:20 +02:00
mailchuck
10474b3561 Fix sync status sum
Last commit was broken.
2016-05-02 15:00:20 +02:00
mailchuck
79e199b45a Show sync status in Network tab
Addresses Bitmessage#745 (but no API exposure yet)
2016-05-02 15:00:20 +02:00
mailchuck
4b88922104 Translation directory for OSX bundles
Addresses bitmessage#514
2016-05-02 15:00:20 +02:00
mailchuck
a85e9ed20e Default message font
Fixes #106 and Bitmesage#248
2016-05-02 15:00:20 +02:00
mailchuck
2947462d45 Unregistering of unregeistered accounts
Since it's unregistered, we don't know where to unregister from.
Fixes #91.
2016-05-02 15:00:20 +02:00
mailchuck
1a842730a2 Newly sent messages and status update
- newly sent messages did not appear in all tabs
- message status change didn't work in all tabs
- addresses #90
- however, still new sent message sender/recipient do not have the
correct color
2016-05-02 15:00:20 +02:00
mailchuck
d9401c7180 several bugfixes for rerendertabtree
It was prone to infinite loops, mixing elements etc.
2016-05-02 15:00:20 +02:00
mailchuck
8103874f6e Allow deleting channels
Fixes #96
2016-05-02 15:00:20 +02:00
mailchuck
b74dc569ef Disable "Special address behaviour" in chan
Fixes #97
2016-05-02 15:00:20 +02:00