Andreas Straub
9206a49b79
Rework PEP content verification
...
Now checks which part(s) are out of sync w/ local storage, and updates
only those, rather than assuming the entire node corrupt and
overwriting it all (especially relevant for preKey list)
2015-07-05 17:27:29 +02:00
Andreas Straub
7680a24180
Formatting fixes
2015-07-05 17:27:29 +02:00
Andreas Straub
c1116b6066
When receiving, add mock session if none exists
...
We need a session object in order to build a session from a
PreKeyWhisperMessage, so add an empty one when none exists on receiving
a message.
Warning: this will break right now if the session can not be constructed
from the received message.There will be an invalid session which will
break if we try to send using it.
2015-07-05 17:27:29 +02:00
Andreas Straub
ab2f85d2e8
Tag messages with originating session
...
This can be used later in order to display trust status of messages, as
well as for potential resending of messages in case of preKey conflicts.
2015-07-05 17:27:29 +02:00
Andreas Straub
a58d5e8ce3
Fetch bundles on-demand, encrypt in background
...
Bundles are now fetched on demand when a session needs to be
established. This should lessen the chance of changes to the bundles
occuring before they're used, as well as lessen the load of fetching
bundles.
Also, the message encryption is now done in a background thread, as this
can be somewhat costly if many sessions are present. This is probably
not going to be an issue in real use, but it's good practice anyway.
2015-07-05 17:27:22 +02:00
Andreas Straub
ae75c571df
Use bareJid for own session retrieval
2015-07-05 17:26:29 +02:00
Andreas Straub
ba9520729f
Migrate to new PEP layout
...
Merge prekeys into bundle node
2015-07-05 17:26:29 +02:00
Andreas Straub
287ce131d8
Formatting fixes
2015-07-05 17:26:29 +02:00
Andreas Straub
046a2d6045
Save IdentityKeys in database
2015-07-05 17:26:29 +02:00
Andreas Straub
71c0a75ec9
DatabaseBackend bugfixes
...
Don't leak cursors, initially create tables
2015-07-05 17:26:29 +02:00
Andreas Straub
0423852cb8
Reformat code to use tabs
...
This really sucks to do it like this. Sorry. :(
2015-07-05 17:26:29 +02:00
Andreas Straub
e8e126f2ce
Added axolotl activation code to UI
2015-07-05 17:26:19 +02:00
Andreas Straub
61f18d4dfc
Added PEP and message protocol layers
...
Can now fetch/retrieve from PEP, as well as encode/decode messages
2015-07-05 17:14:46 +02:00
Andreas Straub
6805abbef0
Reworked axolotl protocol layer
...
Numerous fixes
2015-07-05 17:09:35 +02:00
Andreas Straub
0917a75705
CryptoNext Menu entries added
2015-07-05 17:09:34 +02:00
Andreas Straub
f16b77d382
CryptoNext persistance layer mockup
...
Initial sketch of the peripheral storage infrastructure for the new
axolotl-based encryption scheme.
2015-07-05 17:09:34 +02:00
Daniel Gultsch
bef731a3c8
refactored sendMessage and merged with resendMessage
2015-07-05 11:59:38 +02:00
Daniel Gultsch
148955a713
version bump to 1.4.7
2015-07-04 00:05:28 +02:00
Daniel Gultsch
2fbeb0bbb2
make sure unread count is initialized as 0. fixes #1270
2015-07-03 22:08:23 +02:00
Daniel Gultsch
d30fb6f0a1
avoid very rare npe
2015-07-03 21:32:46 +02:00
Daniel Gultsch
1c86098f3b
Merge branch 'master' into development
2015-07-03 13:09:05 +02:00
Daniel Gultsch
bfe1d2489a
version bump to 1.4.6
2015-07-03 13:08:25 +02:00
Daniel Gultsch
fc47969741
added fallback for non-srv dns queries
2015-07-03 13:07:48 +02:00
Daniel Gultsch
c745fbb562
fixed share with activity to account for http file upload
2015-07-02 23:51:59 +02:00
Daniel Gultsch
e4d1bd415d
also offer http download for some 'well known extensions'
2015-07-02 23:19:50 +02:00
Daniel Gultsch
f5ba9d4223
refactored message context menu
2015-07-02 23:13:00 +02:00
Daniel Gultsch
a2525346f4
moved null check for to and from in message parser
2015-07-02 18:02:32 +02:00
Daniel Gultsch
c20a088ea8
changed mime type handling
2015-07-01 16:01:18 +02:00
Daniel Gultsch
ed88b634fc
Merge branch 'feature/http_upload' into development
2015-06-30 20:19:38 +02:00
Daniel Gultsch
c36238141d
disable automatic aes encryption for the time being
2015-06-30 20:19:18 +02:00
Daniel Gultsch
9190e03076
changed namespace of the http upload feature
2015-06-30 20:11:50 +02:00
Daniel Gultsch
aca9d8036c
made httpconnection (download) ready all kind of files
2015-06-30 17:15:02 +02:00
Daniel Gultsch
6af97c724c
made storage path decision entirely based upon file extension
2015-06-30 14:04:39 +02:00
Daniel Gultsch
d7de311379
refactored bodyContainsDownloadable to be more flexible
2015-06-30 13:52:53 +02:00
Daniel Gultsch
5b42b392a1
always show copy original url in context menu when url is available
2015-06-30 13:01:04 +02:00
Daniel Gultsch
a2a1f1e084
updated changelog
2015-06-29 15:45:49 +02:00
Daniel Gultsch
0030bbf472
untested pgp support for http upload
2015-06-29 15:38:16 +02:00
Daniel Gultsch
fdd46f1c91
added trigger to Config.java to always enable aes encryption for uploaded files
2015-06-29 15:21:41 +02:00
Daniel Gultsch
82714dedfe
make quick actions available in conferences when file attachment is available
2015-06-29 15:21:41 +02:00
Daniel Gultsch
7e11570f2c
show attach button in conferences when http upload is available
2015-06-29 15:21:41 +02:00
Daniel Gultsch
9eb9a52205
initial http upload support
...
be careful: little error handling and no encryption
2015-06-29 15:21:41 +02:00
Daniel Gultsch
6ee11e5323
version bump to 1.4.5
2015-06-29 15:18:53 +02:00
Daniel Gultsch
0d01e51da5
don't parse body from muc status messages
2015-06-28 22:14:40 +02:00
Daniel Gultsch
46595b6d43
fixed parsing of muc status messages in new message parser
2015-06-28 20:11:28 +02:00
Daniel Gultsch
3578263686
pulled new translations from transifex
2015-06-23 12:19:33 +02:00
Daniel Gultsch
2dd16a8b56
Merge branch 'development'
2015-06-23 12:15:18 +02:00
Daniel Gultsch
9b7a606cb0
version bump to 1.4.4
2015-06-23 12:14:42 +02:00
Daniel Gultsch
5a48afdd4d
don't perform dns lookups on domain parts that obviously look like ip addresses
2015-06-19 16:25:08 +02:00
Daniel Gultsch
58201b4408
changed paragraph divider
2015-06-10 03:30:17 +02:00
Daniel Gultsch
0ea83832cd
pulled new translations from transifex
2015-06-10 03:29:52 +02:00