Commit Graph

1140 Commits

Author SHA1 Message Date
mailchuck
93764eeaad
Opportunistic encryption with TLS (2 of 2)
These are dummy key and certificates. They are loaded but otherwise not
used. This is a workaround against python's ssl_wrap deficiency, it
won't allow to execute a server-side SSL handshake without a loaded key
+ cert. Since generating key/cert locally would require additional
libraries, I opted for including a dummy one in the source.
2015-11-13 12:35:32 +01:00
mailchuck
8685449556
Opportunistic encryption with TLS (1 of 2)
Fixes Bitmessage#264
Fixes Bitmessage#648
2015-11-13 12:32:17 +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
mailchuck
9daac4b061
Private IP range update
Addresses Bitmessage#768
2015-11-12 17:40:33 +01:00
mailchuck
7189a826ad
Click on inactive tab
Would cause exception.
2015-11-12 01:43:09 +01:00
mailchuck
a50c5ed16e
Fix broadcast
Any normal address should be able to broadcast. Reported over BM in one
of the chans.
2015-11-12 01:43:01 +01:00
mailchuck
f933cea697
Fix sync status sum
Last commit was broken.
2015-11-12 01:00:34 +01:00
mailchuck
53062f61b9
Show sync status in Network tab
Addresses Bitmessage#745 (but no API exposure yet)
2015-11-12 00:54:33 +01:00
mailchuck
6fef090261
Prepare for tree widgets to store settings
Precursor for #12
2015-11-12 00:34:20 +01:00
mailchuck
df54bbad81
Translation directory for OSX bundles
Addresses bitmessage#514
2015-11-11 02:42:28 +01:00
mailchuck
23b8811add
Enabling/disabling color propagation
Fixes #105
2015-11-11 01:03:02 +01:00
mailchuck
78734d81a1
Default message font
Fixes #106 and Bitmesage#248
2015-11-11 00:52:10 +01:00
mailchuck
891e3d6517
Unregistering of unregeistered accounts
Since it's unregistered, we don't know where to unregister from.
Fixes #91.
2015-11-10 13:16:39 +01:00
Henrik Olsson
33b4f896f6
Fix some typos
Author:    Henrik Olsson <henrik@fixme.se>
2015-11-09 20:09:31 +01:00
mailchuck
bdf2b28b0b
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
2015-11-09 19:39:34 +01:00
mailchuck
cfea0bbdd1
Disabled folder color
Fixes #92
2015-11-09 18:58:32 +01:00
mailchuck
e72773c5bb
Autofold/unfold when enabling/disabling
Fixes #93
2015-11-09 18:45:39 +01:00
mailchuck
c1269d9d56
several bugfixes for rerendertabtree
It was prone to infinite loops, mixing elements etc.
2015-11-09 18:44:39 +01:00
mailchuck
b01d5db549
Allow deleting channels
Fixes #96
2015-11-09 18:22:46 +01:00
mailchuck
9d2689db7a
Disable "Special address behaviour" in chan
Fixes #97
2015-11-09 17:31:13 +01:00
mailchuck
33b95db55b
Sqlite secure delete
Fixes #102
2015-11-09 17:21:51 +01:00
mailchuck
e5d6da2ec1
Fix Py2Exe / Py2App
Fixes the C PoW loading in frozen apps (Windows and OSX)
Cleaner fallback in PoW if something goes wrong
2015-11-09 17:15:27 +01:00
mailchuck
bfd64bb93f
Bump version
get ready for 0.5.2
2015-11-08 23:03:34 +01:00
mailchuck
80b02b4a96
TTL/send splitter shouldn't save state
Because it also cannot be resized from the UI
2015-11-08 23:03:11 +01:00
mailchuck
1f67b00956
Do not store search splitter state
It causes problems because it can't be resized through GUI.
2015-11-08 22:12:20 +01:00
mailchuck
cc5ed73060
Actually enable saving states
It was temporarily disabled for testing resizing.
Addresses #12
2015-11-08 21:45:54 +01:00
mailchuck
ed02e68a22
More tabs resizable and save state
Fixes #15
Addresses #12
2015-11-08 21:44:10 +01:00
mailchuck
90db7c9ef1
Missing library fix
Missing library error wasn't handled correctly.
2015-11-08 11:44:34 +01:00
mailchuck
c81b23ff54
Compile fixes
- OSX and Windows compile fixes
2015-11-08 11:26:27 +01:00
mailchuck
e78c5820af
OpenCL fixes
- directory change
- automatically detect all available GPUs
2015-11-08 11:23:48 +01:00
mailchuck
15200356fe
OSX fixes and default compile
It should built on OSX 10.11 now
It will build bitmsghash.so by default
2015-11-08 11:22:21 +01:00
mailchuck
425667ee31
OpenCL compile warning 2015-11-08 11:18:40 +01:00
mailchuck
f155966cc8
Move and rename OpenCL kernel 2015-11-08 11:17:16 +01:00
mailchuck
1721231484
C PoW updates
- move to subdirectory
- get rid of compile warnings on windows
- get number of threads from affinity (Windows, Linux) or core count
(BSD/OSX)
2015-11-07 18:40:13 +01:00
cee59a0547
C PoW library makefile
For easy compiling with GNU make (e.g. Unix-like systems).
Run as "make bitmsghash.so"
2015-11-05 22:27:34 +01:00
dfda1527b8
C PoW updates
Catching up with Grant Olson's fork.
Reduce thread priority.
2015-11-05 22:21:41 +01:00
mailchuck
1cace11521
C library for bitmessage PoW
Originally from https://github.com/bm-robertwhite/bitmessage-powfaster.
Modified to compile correctly on Visual Studio, and to decrease thread
priority.
I have not tried it on Linux yet.
2015-11-05 20:47:46 +01:00
mailchuck
c0351fe42f
Support for PoW from an external library
This will attempt to include a PoW library (.so on Unix, .dll on
windows) to do PoW. This is done in a safe way and clean fallback to
normal PoW. The code for the library will be in another commit. The code
is take from https://github.com/bm-robertwhite/bitmessage-powfaster,
with minor modifications.

This patch also includes code to make GPU PoW have a safer fallback.
2015-11-05 20:42:12 +01:00
mailchuck
477b624edd Message status update
Someone reported the exception via BM. Fixes #90

Signed-off-by: mailchuck <dev@mailchuck.com>
2015-11-05 17:29:18 +01:00
mailchuck
0de75079df
Version bump 2015-11-01 12:09:08 +01:00
mailchuck
32f2697ae3
notify of new message fixed
Will notify even if not on active messagelist.
2015-11-01 11:43:11 +01:00
mailchuck
c337f394e8
Wrong messagelist 2015-11-01 11:10:02 +01:00
mailchuck
b8d2571b7f
Unread count fixes 2015-11-01 11:09:46 +01:00
mailchuck
a59ea878b9
getCurrentFolder should return None on unavailable
I think None is better than False.
2015-11-01 11:08:45 +01:00
mailchuck
8862a88afa
Deleting from sent fix
Fixes #52
2015-11-01 10:59:15 +01:00
mailchuck
b3877a9413
Trash undelete
Fixes #55
2015-11-01 10:57:45 +01:00
mailchuck
9629abf102
Clear message lists better
Fixes #71
2015-11-01 10:09:09 +01:00
mailchuck
9895833aae
Emptying trash updates
Fixes #75, however it is quite slow
2015-11-01 09:02:26 +01:00
mailchuck
372722c979
Unread count for trash
MarkUnread assumed all folders are inbox.
2015-11-01 09:01:41 +01:00
mailchuck
db7374a825
Enable/disable dynamic behaviour
Fixes #88
2015-11-01 08:46:34 +01:00
mailchuck
eb6567c0d7
Color fixes in messagelists
Fixes #87
2015-11-01 08:30:11 +01:00
mailchuck
a4c4b44afa
accountBrush improvements
Moved code into the method
2015-11-01 08:29:51 +01:00
mailchuck
d42d77c56c
Address book better context menu
Don't allow delete of chans/subscriptions.
Fixes #82
2015-10-31 21:39:02 +01:00
mailchuck
eee26605e1
Colors for From ComboBox
Fixes #86
2015-10-31 20:27:32 +01:00
mailchuck
98372bd6ba
Subscription new messages display correctly
Fixes #70
2015-10-31 20:06:25 +01:00
mailchuck
37b79bc446
Unread count performance optimisation
Continuation of #63
2015-10-31 20:05:16 +01:00
mailchuck
3a4b60bb25
Ubuntu notification fixes
Notification should work irrespective of whether the new message shows
up in the messagelist.
2015-10-31 19:03:16 +01:00
mailchuck
a3677e0328
Indicate message sending
Fixes #83
2015-10-31 18:48:48 +01:00
mailchuck
b04cf2da7e
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
2015-10-31 18:42:53 +01:00
mailchuck
eb98192a0c
Update unread count more efficiently
Fixes #63. There are still some situations which can be improved but it
appears good enough.
2015-10-31 15:27:16 +01:00
mailchuck
f356d90397
More unified colors in foldertree and messagelists
Some parts still not colored in a unified way.
Fixes #84
2015-10-31 10:12:21 +01:00
mailchuck
9d78ca5059
Show tooltips on addressbook
Fixes #68
2015-10-27 20:03:49 +01:00
mailchuck
dd2f83ff4d
Make subscription/chan labels editable
Fixes #67
2015-10-27 19:50:58 +01:00
mailchuck
97b38f9daf
Refactoring foldertree
Colors consistent
Sorting more consistent
Deduplication of methods
Context menu enable/disable affects tree
Fixes #73
2015-10-27 19:24:34 +01:00
mailchuck
f4f0ce6a97
Spanish wrongly spelled
Fixes #74
2015-10-27 17:41:21 +01:00
mailchuck
17b43df474
Sent in chans and subscriptions columns
Now it shows "from" instead of "to" column when selecting sent folder in
subscriptions or chans.

Fixes #53
2015-10-23 19:24:35 +02:00
mailchuck
676ea5544e
Addressbook contains chans, subscriptions and is sorted
Fixes #5
2015-10-23 19:14:42 +02:00
mailchuck
c9e8057939
Sent folder for chans and subscriptions
Fixes #53
2015-10-23 12:39:03 +02:00
mailchuck
77232226e6
Put mailing lists behind normal accounts
Fixes #58
2015-10-23 07:07:51 +02:00
mailchuck
01df34680d
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.
2015-10-22 23:56:25 +02:00
mailchuck
71553ae188
Fix keypress in chan and subscription messagelists
Fixes #65
2015-10-22 23:16:49 +02:00
mailchuck
6ba8b553d2
Remove expletive
That wasn't necessary.
2015-10-19 22:36:39 +02:00
mailchuck
5660f039a6
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
2015-10-19 22:35:00 +02:00
mailchuck
dd47b9ab65
No more Mailchuck Pybitmessage 2nd
Last commit only changed loading, this also saving.
2015-10-19 22:02:14 +02:00
mailchuck
611574c342
There will not be a Mailchuck PyBitmessage anymore
Since I'm merging my fork into normal pybitmessage, there won't be
separate configs.
2015-10-19 21:30:48 +02:00
mailchuck
386094f1ad
Version bump
Just for development
2015-10-19 21:26:53 +02:00
mailchuck
44ecf90936
Special address behaviour updates send comboboxes
Fixes #57
2015-10-19 21:12:15 +02:00
mailchuck
f05407afa3
Changing label updates SendFrom combobox
Fixes #2
2015-10-19 20:17:34 +02:00
mailchuck
245ed6d789
Account listing and sorting
- account listing and sorting has now a common function to reuse
- combobox send from is now sorted, Fixes #59
2015-10-19 20:03:15 +02:00
mailchuck
bc6db7f0e5
Switch to tab you're replying from
Fixes #64
2015-10-19 17:37:52 +02:00
mailchuck
08dff8e118
Account labels become editable again
Fixes #60
2015-10-19 17:22:54 +02:00
mailchuck
6639a19126
Fix reply unicode subject
Fixes #62
2015-10-18 22:55:11 +02:00
mailchuck
8b527f81ee
Show subscription unread count
Subscriptions were not showing unread count. This commit implements it.
2015-10-18 21:11:22 +02:00
mailchuck
dad14b0cb8
Bump up version 2015-10-18 14:51:59 +02:00
mailchuck
b448b02072 Broadcast sending from was wrong
Fixes #51
2015-10-16 20:34:15 +02:00
mailchuck
872243c820 Chan and subscription trash
Fixes #6
2015-10-14 23:43:50 +02:00
mailchuck
ceeea1da73 Replies to mailing lists
Attempt to fix #49. Will close after positive feedback.
2015-10-14 23:38:34 +02:00
mailchuck
2a561c0995 Fix reply-to subscriptions and labels
Closes #1
Also attempts to solve #49 but needs testing.
2015-10-13 23:36:09 +02:00
mailchuck
8688e72b55 Constant in a separate file
str_broadcast_subscribers should not be specific to the main UI class
2015-10-13 23:33:36 +02:00
mailchuck
61482cc418 Add BroadcastAccount class
This will help to distinguish between general broadcasts and
subscriptions.
2015-10-13 23:32:36 +02:00
mailchuck
7a0e648822 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.
2015-10-11 11:57:58 +02:00
mailchuck
509992d77e Formatting change
Was not folding properly in editor, made it more python-like
2015-10-11 11:18:25 +02:00
mailchuck
32cda02d5c Messages tab resizable
- the separator between folder tree and message list is now resizable
- the separator between list of messages and message content is
resizable
- only for message tab, chans, subscriptions and others are still not
resizable
2015-10-10 19:59:44 +02:00
mailchuck
17913cc586 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.
2015-10-10 19:58:01 +02:00
mailchuck
229c3c9965 Fix
Typo
2015-10-06 18:58:44 +02:00
mailchuck
14d733066a Resizable fields
Inbox folder/message now resizable
2015-10-06 18:58:23 +02:00
mailchuck
e3ffc560cb Chan UI fix
Minor chan UI fix. Still not completely smooth but mostly working.
2015-10-05 17:07:23 +02:00
mailchuck
0bbd853341 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
2015-10-05 10:36:04 +02:00
mailchuck
f4f2425b03 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)
2015-10-05 10:32:56 +02:00
mailchuck
aa29c49829 Fix: recurse prevention
In case something screws up, prevent recursive changes through
treeWidgetItemChagned
2015-10-04 20:32:17 +02:00
mailchuck
0f2a9d6e8f Fix: gateway registration updates label
When registering on a gateway, the label change will be displayed
immediately.
2015-10-04 11:47:06 +02:00
mailchuck
8ff7903964 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.
2015-10-04 10:57:14 +02:00
mailchuck
8c8795cfa4 Editable address labels
Address labels can be edited now (F2 or double click)
2015-10-04 10:47:51 +02:00
mailchuck
77a843b444 Email gateway integration
Sending/receiving from the send tab, reply from inbox and
registration/unregistration context menu.
2015-10-03 17:24:21 +02:00
mailchuck
04059a6f0e 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
2015-10-03 12:12:18 +02:00
mailchuck
bf65aa60cb Email Gateway UI implementation
First steps, only a tiny part works
2015-10-03 01:17:47 +02:00
mailchuck
f2d1bd8c2f Address Tree updates
The Address tree now is sorted and updates when number of unread
messages changes.
2015-10-02 22:24:46 +02:00
mailchuck
8d7fefe0e6 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
2015-10-02 15:05:47 +02:00
mailchuck
943e0fdaa8 Fixes
Some pages were initialised with incorrect number of parameters.
2015-10-02 15:04:47 +02:00
mailchuck
4ab255d430 OpenCL Fixes
Still not fully working and hardcoded device number
2015-10-02 15:04:16 +02:00
mailchuck
7ee299919e Address tree order sort case insensitive 2015-10-01 10:25:31 +02:00
mailchuck
6e0e160fb8 Collapse disabled accounts 2015-10-01 10:18:33 +02:00
mailchuck
02186690ca Formatting 2015-10-01 10:15:23 +02:00
mailchuck
f4841bd2ef Order reverse
Disabled addresses should go at the end, not at the beginning.
2015-10-01 10:12:01 +02:00
mailchuck
92a30a5f66 Typo fix 2015-10-01 10:10:30 +02:00
mailchuck
9c611178e1 Address tree sorting
Sorts addresses in the address tree
2015-10-01 10:08:12 +02:00
mailchuck
db9276f349 New address wizard
Not working yet, just UI
2015-10-01 09:42:47 +02:00
mailchuck
18cc252d42 Migration Wizard
- from standard PyBitmessage to this one
- not working yet
2015-10-01 09:42:31 +02:00
mailchuck
552a0e3e46 Typo 2015-09-30 13:32:24 +02:00
mailchuck
9b78708e78 Shorten trashed summary
Trash UI now exists, there is no need to tell the user it doesn't.
2015-09-30 11:30:21 +02:00
mailchuck
7879719816 UI fix
All new messages appeared in current account message list, as opposed to
only new messages associated with that account.
2015-09-30 11:14:56 +02:00
mailchuck
42b63da7a2 Fix: UI 2015-09-30 10:22:41 +02:00
Peter Surda
2e6f5c70ec Merge remote-tracking branch 'interface/interface' 2015-09-28 21:02:41 +02:00
Peter Surda
a5c99ad0ee Add: re-merge API changes
API handler was rewritten in upstream, previous merge
overwrote the changse. This re-enables them.
2015-09-28 20:55:40 +02:00
Peter Surda
148f03421c Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/api.py
2015-09-28 20:40:07 +02:00
Peter Surda
a2cd3cbfc2 Add: debugging for freezing api call 2015-09-28 20:22:54 +02:00
lightrabbit
cfae964761 Add UPnP support. 2015-08-22 16:48:49 +08:00
Jonathan Warren
72ea076099 Merge pull request #807 from Erkan-Yilmaz/patch-2
typo
2015-07-28 11:44:37 -04:00
Erkan Yilmaz
0fe6562440 typo 2015-07-28 07:19:47 +02:00
Erkan Yilmaz
de67b9f0c6 typo (missing char: n) 2015-07-25 12:54:33 +02:00
Jonathan Warren
4403cde52b Fix issue #804 2015-07-15 11:56:24 -04:00
Jonathan Warren
f84d848e06 Merge branch 'master' of github.com:Bitmessage/PyBitmessage 2015-07-15 11:34:23 -04:00
Jonathan Warren
37e8d01c29 Merge pull request #790 from timothyparez/development
Refactored the code in api.py
2015-07-01 15:49:36 -04:00
Jonathan Warren
b50797d5b8 Merge pull request #789 from Erkan-Yilmaz/patch-2
two typos
2015-07-01 15:37:21 -04:00
Jonathan Warren
18df8e9561 Merge pull request #788 from Erkan-Yilmaz/patch-1
typo
2015-07-01 15:36:41 -04:00
Jonathan Warren
05182e7465 Make data send rate more accurate 2015-07-01 15:26:23 -04:00
Peter Surda
c61e41a356 Reverted the code that tried to randomise starting PoW position.
The problem wasn't caused by the starting position but by an int
being interpreted as a string. Fixed in upstream and merged.
2015-06-20 10:17:39 +02:00
Peter Surda
9d7bec58d1 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/proofofwork.py
2015-06-20 09:58:08 +02:00
Peter Surda
b6a91ed4b3 Minor changes in cli, PoW, and a couple of new api calls. 2015-06-20 09:54:15 +02:00
Jonathan Warren
6ebf8666dc support SHA256 signatures 2015-03-27 15:25:32 -04:00
sbkaf
484166882e finished implementing more email client like interface 2015-03-23 22:35:56 +01:00
Timothy
2dfce7f5e7 Refactored the code in api.py by extracting the handler code for each request to separate methods
This should result in code that is easier to understand, modify and maintain
2015-03-21 19:53:09 +08:00
Timothy
08f2c3bfc0 Revert "Refactored the code in api.py by extracting the handler code for each request to separate methods"
This reverts commit 2ebf716941.
2015-03-21 19:50:04 +08:00
Timothy
2ebf716941 Refactored the code in api.py by extracting the handler code for each request to separate methods
This should result in code that is easier to understand, modify and maintain
2015-03-21 19:45:56 +08:00
sbkaf
ee0fce8f8f start changing QTreeWiget 2015-03-21 11:37:08 +01:00
Jonathan Warren
ba27f6e8a6 Made error message for Raspberry Pi users less serious-sounding 2015-03-19 18:09:04 -04:00
sbkaf
2d5905a211 merge 2015-03-19 18:44:10 +01:00
sbkaf
9e447c274b merge 2015-03-19 18:42:47 +01:00
sbkaf
b86cf4b5cf interface 2015-03-19 18:25:50 +01:00
Erkan Yilmaz
8473703bfc two typos 2015-03-17 22:38:58 +01:00