aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services/XmppConnectionService.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-27catch NPEChristian Schneppe1-15/+22
2019-06-25implement client support for muc pushChristian Schneppe1-0/+35
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-25show taken time for deleted webpreview cacheChristian Schneppe1-1/+2
2019-06-23catch NPEChristian Schneppe1-0/+3
2019-06-22change behavior of unencrypted chats warningChristian Schneppe1-2/+1
2019-06-22performance improvement of message expiryChristian Schneppe1-3/+9
2019-06-21shedule webpreview cache deletionChristian Schneppe1-0/+20
2019-06-20show own account in chatlist/contacts/conferences if you are in multi ↵Christian Schneppe1-0/+5
account mode
2019-06-20attempt to keep messages waiting until muc is connectedChristian Schneppe1-3/+22
2019-06-18self ping (xep-0410) after receiving invite to mucChristian Schneppe1-2/+22
2019-06-17don’t crash when attempting to publish bookmarks while offlineChristian Schneppe1-1/+2
2019-05-18performance improvementsChristian Schneppe1-14/+18
2019-05-03introduced type private_file_message to handle attachments in PMsChristian Schneppe1-8/+14
2019-04-28added Tor support to channel searchChristian Schneppe1-0/+5
2019-04-26implement channel discoveryChristian Schneppe1-2/+14
refactor muc search to use http cache channel search results
2019-04-26execute some dismiss error notification and reset error in backgroundChristian Schneppe1-2/+2
2019-04-12fix some NPEChristian Schneppe1-1/+1
2019-03-31add ability to delete account also from serverChristian Schneppe1-0/+5
fixes #315
2019-03-31add activity to define some important privacy settings on first startChristian Schneppe1-4/+10
2019-03-06try to catch some NPEChristian Schneppe1-1/+6
2019-02-21Deduplicate presencesChristian Schneppe1-3/+0
possibly fixes #303
2019-02-18fix some more NPEsChristian Schneppe1-1/+1
2019-02-18after switching from forced foreground to foreground notification needs updateChristian Schneppe1-2/+9
2019-02-09use the term channel in destroy dialog and some other stringsChristian Schneppe1-23/+17
2019-02-08hide lock icon in channels; modify muc user contextChristian Schneppe1-6/+7
2019-02-07show different room settings for channels and groupsChristian Schneppe1-0/+5
2019-02-07provide the same fab submenu for both tabs. rename tab to bookmarkChristian Schneppe1-4/+29
2019-02-04remove warning messages for kick after ban failing. on modern servers ban is ↵Christian Schneppe1-16/+4
enough to also kick
2019-02-04schedule another ping 30s after connectivity_changeChristian Schneppe1-3/+29
2019-01-27scan all files in case some files were previously marked as deleted by accidentChristian Schneppe1-9/+21
2019-01-26fix crash while onTaskRemovedChristian Schneppe1-7/+9
2019-01-25resend presence to muc avatar updateChristian Schneppe1-49/+72
2019-01-25provide Set as Profile intentChristian Schneppe1-2/+18
2019-01-25explicitly start service (instead of just bind) service from contact chooserChristian Schneppe1-0/+1
2019-01-25stop file watching when service has been destroyedChristian Schneppe1-2/+12
2019-01-25maintain order of conversations in share with dialogChristian Schneppe1-3/+27
2019-01-25mark deleted files in database and not query them when querying for mediaChristian Schneppe1-34/+31
2019-01-24remove deprecated instanceIdServiceChristian Schneppe1-1/+1
2019-01-03introduced 'original' as video and image quality and do not ignorer errorChristian Schneppe1-0/+8
2019-01-03rename functions and variables for room destructionChristian Schneppe1-12/+11
2019-01-03archive destoryed mucs when registering that bookmark has been removedChristian Schneppe1-2/+13
2018-12-15synchronize join/leaves with bookmarksChristian Schneppe1-7/+29
2018-12-14fixed dead lock when sending pgp messages from quick replyChristian Schneppe1-2/+0
2018-12-14show warning snackbar before joining anon-non-private roomChristian Schneppe1-0/+5
2018-12-14check mam preference for mam:2 namespace and purge offline only if setChristian Schneppe1-1/+1
2018-11-30fixed cache cleaning of muc avatarsChristian Schneppe1-1/+4
2018-11-30set access model to open when publishing avatarChristian Schneppe1-21/+62
2018-11-30run expireOldMessages in background taskChristian Schneppe1-4/+9
2018-11-23catch a few run time exceptions related to androids life cycle mgmtChristian Schneppe1-8/+11
2018-11-23provide option to reject subscription request when long pressing 'allow'Christian Schneppe1-5/+7