aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-17use helper method to close socketChristian Schneppe4-15/+14
2019-07-03disable muc push on archive instead of leaveChristian Schneppe1-4/+4
leave can be triggered in conference details and doesn’t mean we don’t want pushes
2019-07-03check if activity is not null before using it to paint send buttonChristian Schneppe1-1/+4
2019-07-03correct webpreview cache pathsChristian Schneppe1-4/+3
2019-07-01migrate copy ond write list to synchronized hashset for pending mucsChristian Schneppe2-15/+40
2019-07-01include remote server errors in errors that should trigger a self pingChristian Schneppe1-3/+3
2019-07-01rate limit muc pings / joins. never run two pings at same timeChristian Schneppe2-4/+27
2019-07-01attempt to unregister when receiving push for channel no longer joinedChristian Schneppe10-26/+65
when receiving a FCM push message for a channel the user is no longer in (this can happen when the disable command failed) an attempt will be made to explicitly unregister from the app server (which in turn will then send item-not-found on next push)
2019-07-01implement FCM push for group chatsChristian Schneppe4-11/+26
2019-07-01code cleanup & small fixesChristian Schneppe22-49/+42
2019-06-27catch NPEChristian Schneppe1-15/+22
2019-06-25Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)"Christian Schneppe5-24/+369
This reverts commit e6a15597904019f68c02e6fd8f61fb6de0b13324. If there is IPv6 available but the server doesn't listen to it, the connection will not be established
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