Commit Graph

1088 Commits

Author SHA1 Message Date
mailchuck c804f6c181 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.
2016-05-02 15:00:20 +02:00
mailchuck 53b0d2749b Opportunistic encryption with TLS (1 of 2)
Fixes Bitmessage#264
Fixes Bitmessage#648
2016-05-02 15:00:20 +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 ceda22ec94 Private IP range update
Addresses Bitmessage#768
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 5b724f366e Prepare for tree widgets to store settings
Precursor for #12
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 8f5d177690 Enabling/disabling color propagation
Fixes #105
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
Henrik Olsson 57575d0a39 Fix some typos
Author:    Henrik Olsson <henrik@fixme.se>
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 4aaf0048c6 Disabled folder color
Fixes #92
2016-05-02 15:00:20 +02:00
mailchuck 2783a1c1e5 Autofold/unfold when enabling/disabling
Fixes #93
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 e9a908aa83 Sqlite secure delete
Fixes #102
2016-05-02 15:00:20 +02:00
mailchuck 12878af41f Fix Py2Exe / Py2App
Fixes the C PoW loading in frozen apps (Windows and OSX)
Cleaner fallback in PoW if something goes wrong
2016-05-02 15:00:20 +02:00
mailchuck 03f709b70d Bump version
get ready for 0.5.2
2016-05-02 15:00:20 +02:00
mailchuck 2921b6553b TTL/send splitter shouldn't save state
Because it also cannot be resized from the UI
2016-05-02 15:00:20 +02:00
mailchuck 83850536cf Do not store search splitter state
It causes problems because it can't be resized through GUI.
2016-05-02 15:00:20 +02:00
mailchuck 3f96962e62 Actually enable saving states
It was temporarily disabled for testing resizing.
Addresses #12
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 8e650396da Missing library fix
Missing library error wasn't handled correctly.
2016-05-02 15:00:20 +02:00
mailchuck 0a8fdd7eff Compile fixes
- OSX and Windows compile fixes
2016-05-02 15:00:20 +02:00
mailchuck 5a681068fe OpenCL fixes
- directory change
- automatically detect all available GPUs
2016-05-02 15:00:20 +02:00
mailchuck 53ca944483 OSX fixes and default compile
It should built on OSX 10.11 now
It will build bitmsghash.so by default
2016-05-02 15:00:20 +02:00
mailchuck 961444a8ee OpenCL compile warning 2016-05-02 15:00:20 +02:00
mailchuck ad33e2640c Move and rename OpenCL kernel 2016-05-02 15:00:20 +02:00
Peter Šurda d5ec69d3b7 Bitmsghash linux compile fixes 2016-05-02 15:00:20 +02:00
Peter Šurda 0a09d3580d Make building bitmsghash default 2016-05-02 15:00:20 +02:00
mailchuck 1a3794f3e3 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)
2016-05-02 15:00:20 +02:00
Peter Šurda 84c9b1dd31 C PoW library makefile
For easy compiling with GNU make (e.g. Unix-like systems).
Run as "make bitmsghash.so"
2016-05-02 15:00:20 +02:00
Peter Šurda 2869822134 C PoW updates
Catching up with Grant Olson's fork.
Reduce thread priority.
2016-05-02 15:00:20 +02:00
mailchuck be55af1832 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.
2016-05-02 15:00:20 +02:00
mailchuck e5ee7426eb 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.
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 f5f46dae45 Version bump 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 ad63e956cf accountBrush improvements
Moved code into the method
2016-05-02 15:00:19 +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 6383f48ef2 Show tooltips on addressbook
Fixes #68
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 1c4015d359 Spanish wrongly spelled
Fixes #74
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 1d86f7a699 Put mailing lists behind normal accounts
Fixes #58
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 7625b4f101 Version bump
Just for development
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 c83255d4d4 Bump up version 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 23207749d1 Constant in a separate file
str_broadcast_subscribers should not be specific to the main UI class
2016-05-02 15:00:19 +02:00
mailchuck 9d2e114712 Add BroadcastAccount class
This will help to distinguish between general broadcasts and
subscriptions.
2016-05-02 15:00:18 +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 001ec14d72 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
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 e10b9cbff4 Resizable fields
Inbox folder/message now resizable
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