Commit Graph

467 Commits

Author SHA1 Message Date
88ce2c43fb
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
2015-12-16 21:41:44 +01:00
mailchuck
9a789c4e24
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.
2015-12-16 16:18:47 +01:00
mailchuck
30ab5006be
Html parser fixes
Raw mode improved, avoid HTML parser entirely and just replaces some
strings.
2015-12-16 14:20:55 +01:00
mailchuck
9c0fe3c3c0
Contact support fixes
- typos & formatting
- OS detection crash fixes
2015-12-16 14:19:42 +01:00
bfe75df2a9
Fix contact support unix detection 2015-12-16 02:36:45 +01:00
mailchuck
f262f6a9b7
Contact support updates
Yes/No -> True/False
Add Portable mode
2015-12-16 01:15:36 +01:00
mailchuck
51c53a3f94
Add PyBitmessage version to contact support 2015-12-16 01:05:55 +01:00
mailchuck
2094ff8881
Contact support user interface
Fixes #25
2015-12-16 00:59:05 +01:00
mailchuck
b9fe40184f
Add to blacklist from "All accounts"
It didn't work before
2015-12-15 12:15:23 +01:00
mailchuck
0c817755f2
Link follow warning
The message box should be a warning rather than a simple question.
2015-12-15 11:12:09 +01:00
mailchuck
a351c0444c
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
2015-12-15 04:24:46 +01:00
mailchuck
3bc09f3c9f
Lazy rendering of message contents
Message will render as user is scrolling down. This prevents interface
freezes on long messages (such as inline img in text mode). Fixes
Bitmessage##366

Also a minor fix in text mode rendering.
2015-12-15 03:51:38 +01:00
mailchuck
66569fc893
Message has safe link opening
Links in message body (if in HTML mode) now open, but it asks for a
confirmation in a dialog box.

Fixes #27
2015-12-15 01:24:26 +01:00
mailchuck
ca4ab87f7d
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
2015-12-14 19:49:02 +01:00
mailchuck
cf38385589
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
2015-12-14 13:07:32 +01:00
mailchuck
a379c435f5
Copy to clipboard in messagelists
Fixes #142
2015-12-14 12:21:28 +01:00
mailchuck
82067802ac
More portable mode fixes 2015-12-13 22:44:51 +01:00
mailchuck
4034ac3c0e
More portable mode fixes 2015-12-13 22:23:49 +01:00
mailchuck
6d0fed0b13
Portable mode fixes
Fixes Bitmessage#379, Bitmessage#341
2015-12-13 21:36:59 +01:00
fe8696d267
Label for blacklisting sender fix
It wasn't properly utf-8-ied.
2015-12-03 23:14:17 +01:00
a27a608b6d
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
2015-12-02 23:12:38 +01:00
f90b1890e3
New message appears if viewing account root
Fixes #132
2015-12-02 22:37:20 +01:00
mailchuck
bcdf608716
Fix wrong account type initialiser
Addresses #14
2015-12-02 11:13:14 +01:00
mailchuck
9a2d36fc5b
Fix Addressbook context menu delete 2015-12-01 01:10:59 +01:00
mailchuck
9f6ddce7c5
Fix double unread count in tray icon 2015-11-27 16:53:15 +01:00
mailchuck
26fb92e98c
Unify messagelist rendering
also some minor fixes
2015-11-27 02:11:27 +01:00
mailchuck
64ee159ae3
Add BROADCAST type
also improve sorting
2015-11-27 02:10:36 +01:00
mailchuck
3fbd3f9cb4
Global folder, global search, unread folder
Fixes #38
Fixes #39

Minor unread refresh issues.
2015-11-27 00:56:28 +01:00
mailchuck
5500041a0c
Typo
OpenCL config variable setter had a typo
2015-11-27 00:44:17 +01:00
mailchuck
bd2cddf14a
Avoid strings in account types 2015-11-26 19:41:35 +01:00
mailchuck
241f847411
OpenCL GUI settings 2015-11-26 02:37:12 +01:00
mailchuck
fbd41353a1
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
2015-11-25 00:18:41 +01:00
mailchuck
34dd5b3793
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
2015-11-22 13:02:16 +01:00
mailchuck
84b47877b1
Window resize on minimize bugfix
Fixes Bitmessage#243
2015-11-22 01:07:30 +01:00
mailchuck
8e9cdc8ff1
Logging updates
Came over BM (from "general" channel), I slightly modified it.
2015-11-20 08:49:54 +01:00
mailchuck
e62b9b59e6
Ask before deleting a subscription
Fixes #120
2015-11-19 19:28:36 +01:00
mailchuck
5b07d8800a
Update addressbook on changes
Fixes  #99
- enable/disable new/delete chan/subscription
- also found and fixed a logger crash
2015-11-19 19:17:34 +01:00
mailchuck
b5fb485eb2
Messagelist address tooltip
Fixes #108
2015-11-19 18:45:50 +01:00
mailchuck
90303b4619
Remove extra debug logging 2015-11-19 18:45:36 +01:00
mailchuck
ebcb069820
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
2015-11-19 17:37:53 +01:00
mailchuck
159b68fa17
Missing folders in rerenderTabTreeSubscriptions
I optimised it too much and sometimes folders were missing in the tree.
2015-11-19 04:14:24 +01:00
mailchuck
164ae6b31f
Smoother rerenderTabSubscriptions
Does not reset it all the time but adds/removes
Fixes #109
2015-11-19 04:06:23 +01:00
mailchuck
cee1a59a86
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
2015-11-18 16:22:59 +01:00
mailchuck
3d4392e4f8
Merge branch 'patch1' of git://github.com/thelink2012/PyBitmessage into thelink2012-patch1
Conflicts:
	src/bitmessageqt/__init__.py
2015-11-17 01:45:00 +01:00
Denilson M. Amorim
e4edeaceb5
Squash: Single instance and pop up old instance 2015-11-15 11:06:05 -03:00
mailchuck
da18e4be26
Move saving UI state
quit is more appropriate than close event, but it my resurrect the issue
with linux saving config data.
2015-11-14 21:08:08 +01:00
mailchuck
51232d3dd9
Improve blacklist autolabel 2015-11-14 18:53:22 +01:00
mailchuck
c09981bd42
Blacklist through context menu
Fixes #101
2015-11-14 01:14:39 +01:00
mailchuck
8524f64f63
Fix adding/editing entries in addresbook
It didn't sort correctly and didn't update the label correctly when
changed.
Fixes #95
2015-11-13 14:31:35 +01:00
mailchuck
cdaedaac0b
Unified code for finding source code location
It is already used in 3 places so I put it into a function
2015-11-13 12:26:02 +01:00