Commit Graph

474 Commits

Author SHA1 Message Date
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
mailchuck
d5743f12b9 More tabs resizable and save state
Fixes #15
Addresses #12
2016-05-02 15:00:20 +02:00
mailchuck
df3c662832 Message status update
Someone reported the exception via BM. Fixes #90

Signed-off-by: mailchuck <dev@mailchuck.com>
2016-05-02 15:00:20 +02:00
mailchuck
8eb1b7462a notify of new message fixed
Will notify even if not on active messagelist.
2016-05-02 15:00:20 +02:00
mailchuck
abc2ea2427 Wrong messagelist 2016-05-02 15:00:20 +02:00
mailchuck
0f1d85ff89 Unread count fixes 2016-05-02 15:00:20 +02:00
mailchuck
e84efecb67 getCurrentFolder should return None on unavailable
I think None is better than False.
2016-05-02 15:00:20 +02:00
mailchuck
aafa7b2840 Deleting from sent fix
Fixes #52
2016-05-02 15:00:20 +02:00
mailchuck
33928f1bc7 Trash undelete
Fixes #55
2016-05-02 15:00:20 +02:00
mailchuck
657eeeb1ca Clear message lists better
Fixes #71
2016-05-02 15:00:20 +02:00
mailchuck
d78629a6cf Emptying trash updates
Fixes #75, however it is quite slow
2016-05-02 15:00:20 +02:00
mailchuck
6a95eba8f3 Unread count for trash
MarkUnread assumed all folders are inbox.
2016-05-02 15:00:20 +02:00
mailchuck
b4c920316e Enable/disable dynamic behaviour
Fixes #88
2016-05-02 15:00:20 +02:00
mailchuck
81e8ee1f83 Color fixes in messagelists
Fixes #87
2016-05-02 15:00:20 +02:00
mailchuck
828bf64630 Address book better context menu
Don't allow delete of chans/subscriptions.
Fixes #82
2016-05-02 15:00:19 +02:00
mailchuck
feea1ccd8d Colors for From ComboBox
Fixes #86
2016-05-02 15:00:19 +02:00
mailchuck
0eb89d8af5 Subscription new messages display correctly
Fixes #70
2016-05-02 15:00:19 +02:00
mailchuck
4c8223ae88 Unread count performance optimisation
Continuation of #63
2016-05-02 15:00:19 +02:00
mailchuck
2adfa6a178 Ubuntu notification fixes
Notification should work irrespective of whether the new message shows
up in the messagelist.
2016-05-02 15:00:19 +02:00
mailchuck
1174fb394a Indicate message sending
Fixes #83
2016-05-02 15:00:19 +02:00
mailchuck
6123b27315 removeInboxRowByMsgid fixes
Now undertands messagelists and has better performance.
Haven't tested it yet though because it's triggered through API.
I think it fixes #85
2016-05-02 15:00:19 +02:00
mailchuck
7478440bd6 Update unread count more efficiently
Fixes #63. There are still some situations which can be improved but it
appears good enough.
2016-05-02 15:00:19 +02:00
mailchuck
9abc937cb3 More unified colors in foldertree and messagelists
Some parts still not colored in a unified way.
Fixes #84
2016-05-02 15:00:19 +02:00
mailchuck
63431556be Make subscription/chan labels editable
Fixes #67
2016-05-02 15:00:19 +02:00
mailchuck
77382a2424 Refactoring foldertree
Colors consistent
Sorting more consistent
Deduplication of methods
Context menu enable/disable affects tree
Fixes #73
2016-05-02 15:00:19 +02:00
mailchuck
4522ea46d3 Sent in chans and subscriptions columns
Now it shows "from" instead of "to" column when selecting sent folder in
subscriptions or chans.

Fixes #53
2016-05-02 15:00:19 +02:00
mailchuck
2cc7506619 Addressbook contains chans, subscriptions and is sorted
Fixes #5
2016-05-02 15:00:19 +02:00
mailchuck
39dc34b158 Sent folder for chans and subscriptions
Fixes #53
2016-05-02 15:00:19 +02:00
mailchuck
f6bd312dc5 New message in correct tab
Newly arriving messages now appear in the correct tab. Previously it
assumed it was always "Messages" tab. Partially addresses #3.
2016-05-02 15:00:19 +02:00
mailchuck
55b69f2e8b Fix keypress in chan and subscription messagelists
Fixes #65
2016-05-02 15:00:19 +02:00
mailchuck
ab113745bd Remove expletive
That wasn't necessary.
2016-05-02 15:00:19 +02:00
mailchuck
2ec04ede40 Passive version check
Bitmessage will now notify you if it encounters someone with a newer
version. Takes into account that it should not recommend switching from
stable to unstable and vice versa. Also, temporarily treats 0.5 as a
mailchuck fork.

Fixes #43
2016-05-02 15:00:19 +02:00
mailchuck
3ffea81d02 No more Mailchuck Pybitmessage 2nd
Last commit only changed loading, this also saving.
2016-05-02 15:00:19 +02:00
mailchuck
f47d28bb59 There will not be a Mailchuck PyBitmessage anymore
Since I'm merging my fork into normal pybitmessage, there won't be
separate configs.
2016-05-02 15:00:19 +02:00
mailchuck
3566b82c9f Special address behaviour updates send comboboxes
Fixes #57
2016-05-02 15:00:19 +02:00
mailchuck
705ffacd8b Changing label updates SendFrom combobox
Fixes #2
2016-05-02 15:00:19 +02:00
mailchuck
d51431b1dc Account listing and sorting
- account listing and sorting has now a common function to reuse
- combobox send from is now sorted, Fixes #59
2016-05-02 15:00:19 +02:00
mailchuck
afeadcf8d2 Switch to tab you're replying from
Fixes #64
2016-05-02 15:00:19 +02:00
mailchuck
059f113d95 Account labels become editable again
Fixes #60
2016-05-02 15:00:19 +02:00
mailchuck
5ac17e456d Fix reply unicode subject
Fixes #62
2016-05-02 15:00:19 +02:00
mailchuck
343b3532c5 Show subscription unread count
Subscriptions were not showing unread count. This commit implements it.
2016-05-02 15:00:19 +02:00
mailchuck
7998d77b9c Broadcast sending from was wrong
Fixes #51
2016-05-02 15:00:19 +02:00
mailchuck
5b12f2dffa Chan and subscription trash
Fixes #6
2016-05-02 15:00:19 +02:00
mailchuck
faeaad212d Replies to mailing lists
Attempt to fix #49. Will close after positive feedback.
2016-05-02 15:00:19 +02:00
mailchuck
bf9bdaadc5 Fix reply-to subscriptions and labels
Closes #1
Also attempts to solve #49 but needs testing.
2016-05-02 15:00:19 +02:00
mailchuck
3911525d75 Remember main window geometry and state on exit
Main window geometry and state is saved on exit and restored on load.
Uses default QSettings in python.
2016-05-02 15:00:18 +02:00
mailchuck
b776eb7f36 Formatting change
Was not folding properly in editor, made it more python-like
2016-05-02 15:00:18 +02:00
mailchuck
4db1a5ea48 Subscriptions
Initial subscription fix. Still does not always display the list from
the correct folder, and it currently does not update unread count on
subscriptions.
2016-05-02 15:00:18 +02:00
mailchuck
59a562228d Fix
Typo
2016-05-02 15:00:18 +02:00
mailchuck
321bf9a6c9 Chan UI fix
Minor chan UI fix. Still not completely smooth but mostly working.
2016-05-02 15:00:18 +02:00
mailchuck
552876e43e Gateway register/unregister changes
- do not register/unregister channels or mailing lists
- send registration/unregistration request irrespective of whether the
client thinks it's registered or not. We don't know for sure it knows it
correctly so don't assume that, it may confuse users
2016-05-02 15:00:18 +02:00
mailchuck
5525176216 Chan updates
- chans now work with the new interface, still some bugs present
- chans do not have a sent folder anymore (you'll see sent messages in
the sent folder of the account you're sending it from)
2016-05-02 15:00:18 +02:00
mailchuck
b8baceb629 Fix: recurse prevention
In case something screws up, prevent recursive changes through
treeWidgetItemChagned
2016-05-02 15:00:18 +02:00
mailchuck
1cab8bf549 Fix: gateway registration updates label
When registering on a gateway, the label change will be displayed
immediately.
2016-05-02 15:00:18 +02:00
mailchuck
ccae351e65 Fix: do not update account name from folder name
Last commit caused changes in unread count of folder to change the
account name. This is now fixed.
2016-05-02 15:00:18 +02:00
mailchuck
80afc489d8 Editable address labels
Address labels can be edited now (F2 or double click)
2016-05-02 15:00:18 +02:00
mailchuck
2bc9c7ff4c Email gateway integration
Sending/receiving from the send tab, reply from inbox and
registration/unregistration context menu.
2016-05-02 15:00:18 +02:00
mailchuck
b4fa5d4abf Gateway update and sort fix
- shows gateway parser results more accurately
- gateway class assigned dynamically
- inbox sort order is aware of what you click on and defaults to
ascending
2016-05-02 15:00:18 +02:00
mailchuck
033be9b5bf Email Gateway UI implementation
First steps, only a tiny part works
2016-05-02 15:00:18 +02:00
mailchuck
83109796fe Address Tree updates
The Address tree now is sorted and updates when number of unread
messages changes.
2016-05-02 15:00:18 +02:00
mailchuck
83a069d1f6 Migration Wizard
- Not fully working yet
- show this wizard and connection confirmation dialog before showing the
main window, and don't open main window until these two have finished or
were canceled
2016-05-02 15:00:18 +02:00
mailchuck
8043f1ae60 Address tree order sort case insensitive 2016-05-02 15:00:18 +02:00
mailchuck
fd7ed893a7 Collapse disabled accounts 2016-05-02 15:00:18 +02:00
mailchuck
a961ad1d84 Formatting 2016-05-02 15:00:18 +02:00
mailchuck
9ab9984283 Order reverse
Disabled addresses should go at the end, not at the beginning.
2016-05-02 15:00:18 +02:00
mailchuck
cae03d66df Typo fix 2016-05-02 15:00:18 +02:00
mailchuck
f2e9b3467f Address tree sorting
Sorts addresses in the address tree
2016-05-02 15:00:18 +02:00
mailchuck
8882912bf3 New address wizard
Not working yet, just UI
2016-05-02 15:00:18 +02:00
mailchuck
b4fad5c49a Shorten trashed summary
Trash UI now exists, there is no need to tell the user it doesn't.
2016-05-02 15:00:18 +02:00
mailchuck
3888eb11be UI fix
All new messages appeared in current account message list, as opposed to
only new messages associated with that account.
2016-05-02 15:00:18 +02:00
mailchuck
2b1222f970 Fix: UI 2016-05-02 15:00:18 +02:00
sbkaf
800fd2a143 finished implementing more email client like interface 2016-05-02 15:00:17 +02:00
sbkaf
f6f68dc975 start changing QTreeWiget 2016-05-02 15:00:17 +02:00
sbkaf
4763fb1238 merge 2016-05-02 15:00:17 +02:00
sbkaf
585873e4f3 interface 2016-05-02 15:00:17 +02:00
sbkaf
44414c2e88 make interface look more like an e-mail programm, not yet functional 2016-05-02 15:00:17 +02:00
Jonathan Warren
cc712cb8ff finished work on specifyTTL 2015-03-09 02:35:32 -04:00
Jonathan Warren
9044e84093 some specifyTTL work completed 2015-03-03 14:04:12 -05:00
Jonathan Warren
3d82652d15 Merge pull request #782 from felidosz/master
german translation and tray icon
2015-02-27 14:52:09 -05:00
Jonathan Warren
95bcce1d0c Merge pull request #760 from themighty1/minimize-to-tray-linux
fix minimize-to-tray linux
2015-02-21 21:16:20 -05:00
sbkaf
e6179fb953 minimize on tray icon click: enabled for linux (if removed) 2015-02-21 14:24:17 +01:00
themighty1
c379978f3e fix minimize-to-tray linux 2015-01-07 01:57:20 +03:00
digital dreamer
c1784bb533 Retranslate context menus after language switch 2014-12-28 11:42:38 +01:00
Jonathan Warren
0c0e0e527b Merge pull request #753 from Atheros1/master
Czech translation
2014-12-25 23:25:54 -05:00
Jonathan Warren
8b95ad1659 updated settings.ui file for Czech translation 2014-12-25 23:24:09 -05:00
Jonathan Warren
e4cbf6f4a4 Merge branch 'czech' of https://github.com/digital-dreamer/PyBitmessage into digital-dreamer-czech 2014-12-25 23:14:54 -05:00
Jonathan Warren
7a203fe803 Merge pull request #740 from noffle/blacklist_api
Blacklist API
2014-12-25 22:12:42 -05:00
Jonathan Warren
4aded87837 Merge pull request #736 from digital-dreamer/translate-without-restart
Change interface language without restart
2014-12-25 21:35:22 -05:00
Jonathan Warren
2621f38b11 Merge pull request #735 from themighty1/ui-freeze-fix
dont freeze UI when mass-marking unread
2014-12-25 21:23:49 -05:00
Jonathan Warren
b79953d889 Merge pull request #731 from fanquake/remove_semicolon
Remove trailing semicolon in __init__.py
2014-12-25 21:16:36 -05:00
Jonathan Warren
9b6bc26144 fix bug in #715 2014-12-25 21:06:10 -05:00
Jonathan Warren
50c392c197 resolve merge conflict 2014-12-25 20:37:04 -05:00
digital dreamer
345303a560 Add Czech translation 2014-11-30 15:13:48 +01:00
Stephen Whitmore
e93d23d2e0 Adds new API error codes for black-/white-list manipulation.
Refactors loadBlackWhiteList into more generic rerenderBlackWhiteList
2014-11-22 13:56:41 -08:00
Stephen Whitmore
afb21ca307 Adds API commands for blacklist manipulation. 2014-11-22 13:13:35 -08:00
digital dreamer
011099b5db Change interface language without restart 2014-11-14 12:21:18 +01:00
digital dreamer
80fa32de41 Fix #417 - bad relative path breaks translations 2014-11-12 11:31:15 +01:00
Michael Ford
9ca1f87d79 Remove trailing semicolon in __init__.py 2014-10-24 10:39:34 +08:00
themighty1
88efb92c15 dont freeze UI when mass-marking unread 2014-10-20 18:46:56 +03:00
Jonathan Warren
713ed89467 Bugfix: infinite loop if our max acceptable difficulty is too low 2014-10-15 17:16:27 -04:00
Yuri
34824c044e Moved all keys.dat writing code into writeKeysFile in shared.py 2014-09-14 23:34:33 -07:00
Jonathan Warren
0865e863ec Added ability to limit network transfer rate 2014-09-10 16:47:51 -04:00
Jonathan Warren
c306062282 Bitmessage Protocol Version Three 2014-08-27 03:14:32 -04:00
bmng-dev
269506ff8f New localization module (l10n)
Resolves #691
2014-08-06 02:01:01 +00:00
Jonathan Warren
9e16e81283 resolve merge conflict and show transfer rate 2014-08-01 17:25:47 -04:00
Yuri
f05bcdb829 Made sent/received byte counts to be in human readable format. 2014-07-11 11:12:58 -07:00
Yuri
f107b0fbd9 Addition of bytes received/sent counts on the network information tab. 2014-07-07 13:30:23 -07:00
Innocenty Enikeew
51b9a59719 Optimizations and better newlines handling 2014-06-03 09:45:59 +04:00
Innocenty Enikeew
c848d55462 Fix unicode handling in 'View HTML code as formated text'. Fixes #667 2014-06-02 21:10:18 +04:00
Jonathan Warren
b97a65391c added dutch translation option to settings dialog 2014-05-19 16:01:46 -04:00
Jonathan Warren
a49ab786bb resolve merge conflict 2014-04-30 18:48:00 -04:00
Jonathan Warren
a94d995f76 Merge pull request #633 from domob1812/email-quoting
Optionally reply below quote (email style)
2014-04-30 16:49:06 -04:00
Jonathan Warren
12d131f7f2 Fixed minor label problem during init 2014-04-30 12:44:16 -04:00
goldbook
e63276c240 add japanese transration. 2014-02-01 17:15:50 +09:00
Daniel Kraft
6326147d6f Make reply below quote opt-in.
Add a new preference for 'reply below quote' and only use the new
quoting style if it is set.
2014-01-28 20:57:01 +01:00
Daniel Kraft
5c1e1206ef Use patch for email-like quoting with '>' chars.
Apply the patch from https://github.com/Bitmessage/PyBitmessage/pull/271
for email-like "reply below text" with '>' quoting.  The patch is
slightly modified compared to the referenced pull request.
2014-01-28 20:38:54 +01:00
Jonathan Warren
d2138ba8e1 Added Chinese translation to settings options box 2014-01-12 20:24:30 -05:00
Xiaokang Wang
2a80c85634 Modifyed __init__.py in order to enum Chinese 2014-01-07 19:02:41 +08:00
Abdulla Almehrezi
075541347d Arabic language translation 2014-01-07 00:28:42 +04:00
Jonathan Warren
61389b64aa fix #590 2013-12-29 22:36:23 -05:00
Jonathan Warren
9fdff73ee1 simplify last commit 2013-12-25 01:48:01 -05:00
Jonathan Warren
3c00a443ae added error handling to previous commit: populate 'from' combo box when replying 2013-12-25 01:30:39 -05:00
Jonathan Warren
519a0a4779 Merge branch 'populatefromfield' of git://github.com/bikash617/PyBitmessage into bikash617-populatefromfield 2013-12-25 01:05:56 -05:00
Jonathan Warren
c18ee8e803 resolve merge conflict 2013-12-25 00:42:31 -05:00
Jonathan Warren
12adccf965 Merge pull request #576 from yurivict/tray_inbox_unread_indicator
[NEW FEATURE] Implemented the indicator in tray icon that there are unread messages
2013-12-24 21:31:49 -08:00
Jonathan Warren
1a489691be added Norwegian translation to UI 2013-12-16 00:15:07 -05:00
Jonathan Warren
df7116bd72 on close, save objectProcessorQueue to disk 2013-12-02 01:35:34 -05:00
bikash617
6d197e97b1 populate from field feature implementation 2013-12-01 13:23:34 +04:00
Jonathan Warren
3c79b7bf65 save the tag in the inventory for your own broadcasts also 2013-12-01 00:45:37 -05:00
Jonathan Warren
44618ffcc2 added option to show recent broadcasts when subscribing 2013-11-30 23:15:18 -05:00