aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-25implement client support for muc pushChristian Schneppe6-10/+84
Staying connected to a MUC room hosted on a remote server can be challenging. If a server reboots it will usually send a shut down notification to all participants. However even if a client knows that a server was shut down it doesn’t know when it comes up again. In some corner cases that shut down notification might not even be delivered successfully leaving the client in a state where it thinks it is connected but it really isn’t. The possible work around implemented in this commit is to register the clients full JID (user@domain.tld/Conversations.r4nd) as an App Server according to XEP-0357 with the room. (Conversations checks for the push:0 namespace on the room.) After cycling through a reboot the first message send to a room will trigger pubsub notifications to each registered full JID. This event will be used to trigger a XEP-0410 ping and if necessary a subsequent rejoin of the MUC. If the resource has become unavailable during down time of the MUC server the user’s server will respond with an IQ error which in turn leads to the MUC server disabling that push target. Leaving a MUC will send a `disable` command. If sending that disable command failed for some reason (network outage) and the client receives a pubsub notification for a room it is no longer joined in it will respond with an item-not-found IQ error which also disables subsequent pushes from the server. Note: We 0410-ping before a join to avoid unnecessary full joins which can be quite costly. Further client side optimizations will also suppress pings when a ping is already in flight to further save traffic.
2019-06-25fix broken updaterChristian Schneppe1-0/+6
2019-06-25show taken time for deleted webpreview cacheChristian Schneppe1-1/+2
2019-06-25fix welcome screensChristian Schneppe3-9/+29
fixes #361
2019-06-25fix jingle file transferChristian Schneppe5-19/+16
fixes #360
2019-06-23make backup compatible to Conversations (only works for Android >= 8)Christian Schneppe1-1/+16
2019-06-23Revert "BackupExport format like Conversations (#342)"Christian Schneppe1-10/+2
This patch is not compatible with Android SDK < 26 (Android 8 / OREO) This reverts commit 514b63f48684ab82031b0291da8d303abe1d680c.
2019-06-23catch NPEChristian Schneppe1-0/+3
2019-06-22BackupExport format like Conversations (#342)genofire1-2/+10
This makes it possible to import/export backup files from/to Conversations
2019-06-22changed string to generated password dialog in MagicCreateActivityChristian Schneppe1-0/+2
fixes #296
2019-06-22change behavior of unencrypted chats warningChristian Schneppe2-13/+36
2019-06-22performance improvement of message expiryChristian Schneppe3-8/+56
2019-06-21shedule webpreview cache deletionChristian Schneppe2-14/+21
2019-06-20show own account in chatlist/contacts/conferences if you are in multi ↵Christian Schneppe8-13/+42
account mode
2019-06-20ping muc after receiving not-acceptable errorChristian Schneppe1-0/+12
2019-06-20attempt to keep messages waiting until muc is connectedChristian Schneppe2-3/+23
2019-06-18small improvement of welcome screenChristian Schneppe1-1/+10
2019-06-18self ping (xep-0410) after receiving invite to mucChristian Schneppe4-5/+29
2019-06-17syntax clean upChristian Schneppe1-1/+1
2019-06-17disallow subsequent session-acceptChristian Schneppe1-13/+13
2019-06-17use ibb if other party doesn’t annouce s5b featureChristian Schneppe5-226/+207
2019-06-17accept direct ibb jingle offersChristian Schneppe2-15/+58
2019-06-17don’t crash when attempting to publish bookmarks while offlineChristian Schneppe1-1/+2
2019-06-17handle some rare npeChristian Schneppe2-6/+12
2019-06-17MessageStyle notifications replace car extenderChristian Schneppe1-21/+13
2019-06-17use socks instead of http proxy for http uploadChristian Schneppe3-7/+7
http proxy doesn’t seem to work with onion v3
2019-06-17fix some NPEChristian Schneppe2-5/+14
2019-06-16reduce image quality a bitChristian Schneppe1-1/+1
2019-06-08Networkstack - let OS decide IPv4 or IPv6 (#267)genofire5-360/+23
* Networkstack - let OS decide IPv4 or IPv6 * Drop own implementation of DNS-Server selection * remove dns resolver cache
2019-06-08fix some more NPEChristian Schneppe5-7/+14
2019-06-08put geo uri in attachment preview when sharedChristian Schneppe3-5/+17
2019-06-08show negative max files size (unknown/unlimited) simply as availableChristian Schneppe1-2/+7
2019-06-08fixed some NPEChristian Schneppe1-3/+6
2019-06-08synchronize around attributes in toContentValues()Christian Schneppe1-1/+3
2019-06-08show error messages in text layout not edittextChristian Schneppe1-5/+15
2019-06-08handle invalid canditates in jingleChristian Schneppe1-0/+4
2019-06-08double check that activity is not null in updateSend buttonChristian Schneppe1-2/+2
2019-06-08fixed NPE in channel discovery after race to create menuChristian Schneppe1-1/+1
2019-06-08set own omemo devices to inactive after 60 days of inactivityChristian Schneppe1-1/+1
2019-06-08change music volume during audio playbackChristian Schneppe1-0/+1
2019-06-08change minimum timeout for uploads/downloadsChristian Schneppe2-4/+4
2019-06-08less connection delayChristian Schneppe1-8/+8
2019-06-08performance improvementsChristian Schneppe2-3/+2
2019-05-19separate received and sent filesChristian Schneppe4-10/+47
fixes #140
2019-05-19run postDelayed in background threadChristian Schneppe1-1/+4
2019-05-18always change music volumeChristian Schneppe1-1/+1
2019-05-18performance improvementsChristian Schneppe7-28/+43
2019-05-04fix crash in RichPreviewChristian Schneppe1-2/+2
2019-05-04small UI changesChristian Schneppe1-21/+5
2019-05-04some bug fixesChristian Schneppe2-9/+6