Commit Graph

916 Commits

Author SHA1 Message Date
Daniel Gultsch
4b62bd256d properly recycle bitmaps 2015-10-02 11:39:30 +02:00
Daniel Gultsch
2b9b700c96 don't put conference joins into pending on initial bind 2015-10-01 16:01:19 +02:00
Daniel Gultsch
6a0b9971aa reset muc options immediately befor join 2015-10-01 13:03:15 +02:00
Daniel Gultsch
9dcf074a79 request stanza count after every ibb data stanza to not fill our own stanza queue 2015-09-30 23:42:02 +02:00
Daniel Gultsch
648e29db2c only invoke MTM in interactive mode after direct user input
fixes #1027
fixes #792
fixes #1439
2015-09-29 19:24:52 +02:00
Daniel Gultsch
64dbb069ab rotate thumbnails. fixes #1438 2015-09-29 12:25:32 +02:00
Daniel Gultsch
5fb77a9739 fixed NPE when executing rename callback in muc 2015-09-28 15:36:55 +02:00
Daniel Gultsch
8881b71079 do tab completion only if neither ctrl nor alt are being pressed 2015-09-28 14:36:10 +02:00
Daniel Gultsch
f4d6b676e9 catch rare activity not found exception when opening downloaded files 2015-09-27 21:27:07 +02:00
Daniel Gultsch
bbbc30e823 allow tab completion in conferences 2015-09-27 19:17:44 +02:00
Daniel Gultsch
5a5e0e7121 use Conversations 1.x.y as user agent string in http upload and download 2015-09-23 18:05:51 +02:00
Daniel Gultsch
8d90b3fbf1 swapped icons for foreground services 2015-09-22 08:50:54 +02:00
fiaxh
a3a13dd9dc Export logs to SD card preference 2015-09-21 18:53:29 +01:00
fiaxh
024e697cee Iterator to go through all messages of a conversation 2015-09-20 22:17:32 +01:00
Daniel Gultsch
a954e32b16 let DnsHelper provide a fallback solution 2015-09-19 17:31:24 +02:00
Daniel Gultsch
069ddddbc1 fixed content-type indication in http upload 2015-09-19 17:29:33 +02:00
Michael
8f69017d5a remove the from attribute from sendStartStream() fixes #1419 2015-09-19 15:58:33 +02:00
Daniel Gultsch
b54b4ca78a introduced Config variable to use legacy namespace for http upload 2015-09-17 14:42:50 +02:00
Daniel Gultsch
506b83ddc6 be more careful when publishing device bundle 2015-09-17 14:18:06 +02:00
Daniel Gultsch
c173d78950 ignore spoofed stanzas in facebook chat 2015-09-17 14:13:38 +02:00
Daniel Gultsch
07c7f5bc08 catch IndexOutOfBoundsException when swiping away conversations 2015-09-17 14:02:28 +02:00
Daniel Gultsch
7e712d9d4c fixed rare NPE in DnsHelper. fixed spelling and added logging 2015-09-17 13:55:27 +02:00
Daniel Gultsch
b9002d7fd5 added missing type='submit' to mam queries
fixed some nasty inheritance problems along the way
fixes #1411
2015-09-15 22:52:39 +02:00
Daniel Gultsch
b5719fd747 work around a NPE caused by arace condition in the http upload 2015-09-15 22:49:43 +02:00
Daniel Gultsch
8d13a77bc6 changed http upload namespace to reflect the one in the XEP 2015-09-14 13:22:10 +02:00
Daniel Gultsch
96575d6290 added possibiltiy to set conferences as moderated (only visible in advanced mode) 2015-09-13 17:13:46 +02:00
Daniel Gultsch
4220fa948b added mp4 to well known extensions. fixes #1403 2015-09-12 10:42:56 +02:00
Daniel Gultsch
811e2eaeec increased dns timeout 2015-09-10 10:54:15 +02:00
Daniel Gultsch
650abf1c52 added alt as possible modifier key. use mod+(0..9) to jump to a conversation 2015-09-09 23:28:37 +02:00
Daniel Gultsch
6bb9983d58 added rotation detection to up/down navigation 2015-09-07 20:45:21 +02:00
Daniel Gultsch
6308dcfdd4 added some key binding
* ctrl + tab will open the conversations overview (when available)
* ctrl + up / down will navigate between conversations
2015-09-07 15:46:27 +02:00
Daniel Gultsch
88cdd03f0f catch npe in setupIme method 2015-09-07 13:31:24 +02:00
Daniel Gultsch
eff173ebc2 indicate broken pep in server info 2015-09-06 19:40:28 +02:00
Andreas Straub
a95c451f1e Only show that have sessions in fingerprint list
Doesn't access database directly anymore but goes through AxolotlService
now to obtain list of fingerprints associated with an Account/Contact.
This should prevent orphaned keys littering the UI which previously
couldn't be removed through the Clear Devices function.

Together with 1c79982da84964c1d81179a0927d9cd1eadf53de this fixes #1393
2015-09-06 15:15:57 +02:00
Andreas Straub
2bb033267b Don't manually add keys to the store
There is no need to preemptively add the keys to the store oneself.
SessionBuilder will take care of this for us. What's more, this will
prevent IdentityKeys from otherwise invalid bundles to show up in our
UI.
2015-09-06 15:15:57 +02:00
Daniel Gultsch
2c4a6b0912 add null pointer check to db migration 2015-09-05 18:47:37 +02:00
Andreas Straub
e2d506c96a Never build a session with oneself
If we detect our own ID is not in our own devicelist on receiving an
update, we reannounce ourselves. This used to have the side effect of
modifying the list of devices we thought were in the update set, causing
us to accidentally build a session with ourselves.

This lead to our own key being set to TRUSTED_INACTIVE, resulting in red
lock icons on messages sent by the own device.

We fix this by having publishOwnDeviceId() operate on a copy of the
original set. This commit also includes a db migration which deletes
sessions with oneself and sets own keys back to TRUSTED.
2015-09-05 17:29:58 +02:00
Daniel Gultsch
a32a577e36 ignore timeout exceptions on secondary dns requests 2015-09-05 14:26:31 +02:00
Daniel Gultsch
7eb228d1a5 Issues with URLs with multiple dots in file. fixes #1373 2015-09-04 19:58:53 +02:00
Daniel Gultsch
1848b46195 invoke onEnterPressed callback only if shift is not pressed 2015-09-04 19:33:31 +02:00
Daniel Gultsch
9baa87e5c9 minimize softkeyboard only if it has been in fullscreen mode 2015-09-04 18:02:53 +02:00
Daniel Gultsch
204cee4a17 show an send button instead of the enter key in softkeyboards when enterIsSend and showEnterKey are both set 2015-09-04 14:48:00 +02:00
Andreas Straub
b265341848 Ensure uris is empty before onStart adds to it
Fixes #1382
2015-09-02 22:03:15 +02:00
Daniel Gultsch
fc594e249a added special error state for dns timeout 2015-09-01 22:37:52 +02:00
Daniel Gultsch
91b0605bc2 use same method to add message hints to otr message everywhere it is needed 2015-09-01 22:36:56 +02:00
Daniel Gultsch
74cf8320bc tag axolotl messages with pretty-please-store 2015-09-01 00:13:19 +02:00
Daniel Gultsch
aaf3ecaf41 made useImageAsIs determination a bit more foolproof (samsung) 2015-08-31 20:19:26 +02:00
Daniel Gultsch
b0c19d6bac fixed bug that prevented newly opened conversations to load the entire history via mam. fixes #1328 2015-08-30 11:24:37 +02:00
Daniel Gultsch
8f4b7686c9 catch invalid base64 on omemo key decoding 2015-08-30 11:11:54 +02:00
Daniel Gultsch
3db7087658 use build in method on >= lolipop devices to discover dns servers 2015-08-28 13:05:34 +02:00