aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/parser (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-25implement client support for muc pushChristian Schneppe1-1/+24
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-20ping muc after receiving not-acceptable errorChristian Schneppe1-0/+12
2019-06-18self ping (xep-0410) after receiving invite to mucChristian Schneppe1-2/+5
2019-05-18performance improvementsChristian Schneppe1-2/+4
2019-05-03introduced type private_file_message to handle attachments in PMsChristian Schneppe1-3/+3
2019-03-31do sent/received correct based on true counterpart introduced in ↵Christian Schneppe1-1/+1
fec6d7a90c443ef0ef86464bd2fb49cdc56d1587 only for type=groupchat
2019-03-06double check that muc message is ours if true jid is knownChristian Schneppe1-2/+7
2019-02-21show file too large instead of generic delivery failedChristian Schneppe1-5/+29
2019-02-07show different room settings for channels and groupsChristian Schneppe1-1/+1
2019-02-07provide the same fab submenu for both tabs. rename tab to bookmarkChristian Schneppe1-1/+1
2019-01-25resend presence to muc avatar updateChristian Schneppe1-0/+1
2019-01-25synchronize around notification update from corrected messagesChristian Schneppe1-1/+1
2018-12-27deduplicate disco responseChristian Schneppe1-2/+2
fixes #283
2018-12-15synchronize join/leaves with bookmarksChristian Schneppe1-1/+1
2018-12-14bring back previews unread messages as read in groupsChristian Schneppe1-0/+15
2018-12-14do not process PEP bookmarks if conversion feature n/aChristian Schneppe1-3/+5
If conversion feature is not available we will never write to PEP therefor it is not advisable to process PEP events; otherwise the changes we do might not land in PEP. simply ignoring PEP is probably better than dynamically removing + notify
2018-12-04implement self healing omemoChristian Schneppe1-4/+16
after receiving a SignalMessage that can’t be decrypted because of broken sessions Conversations will attempt to grab a new pre key bundle and send a new PreKeySignalMessage wrapped in a key transport message.
2018-11-30transmit display name (nick) in subscription requestsChristian Schneppe1-3/+3
2018-11-23added interface to edit nickChristian Schneppe1-22/+37
2018-10-20show snackbar for remote server timeout in mucsChristian Schneppe1-0/+2
2018-10-04refresh ui after device list update only if list has changedChristian Schneppe1-1/+0
2018-09-27store avatars received over muc presence in contactChristian Schneppe1-0/+8
2018-09-13sync roster after setting pgp idChristian Schneppe1-1/+3
2018-09-13do not parse caps and pgp keys from muc presencesChristian Schneppe1-1/+5
2018-08-30special treatment for presence errors known to be mucsChristian Schneppe1-0/+2
2018-08-26store bookmarks in pep if conversion xep is runningChristian Schneppe1-0/+7
2018-08-03also mark previews unread messages as readChristian Schneppe1-1/+11
2018-07-15display propper toast after room has been destroyedChristian Schneppe1-1/+27
2018-07-09store own affiliation and role to diskChristian Schneppe1-1/+4
2018-07-09support mam:1Christian Schneppe1-4/+3
2018-07-09show snackbar for resource constraint in mucsChristian Schneppe1-0/+2
2018-07-09persist muc avatar and show in bookmarksChristian Schneppe2-4/+7
2018-07-09save name instead of subject in bookmarkChristian Schneppe1-7/+0
2018-06-17use Tor on http upload is account uses onion domainChristian Schneppe1-3/+4
2018-05-26improve active_since implementation (XEP-0319: Last User Interaction in ↵Christian Schneppe1-0/+3
Presence) * set contact to inactive if it becomes offline * send idle also in case app started in background
2018-05-26add support for S3 file transfersChristian Schneppe1-1/+11
2018-05-17do not use end in catchup mam queriesChristian Schneppe1-1/+2
2018-05-17do not include body in simple status updates to not trigger fts updateChristian Schneppe1-3/+3
2018-05-02check if jid was valid before parsing muc status or event msgsChristian Schneppe1-4/+4
2018-05-02do not crash when inner message contains invalid jidChristian Schneppe1-2/+2
2018-05-02return InvalidJid object instead of null if Jid can not be parsedChristian Schneppe4-14/+28
2018-04-30very much unoptimized search functionalityChristian Schneppe1-1/+2
2018-04-29fixed updating of server message id after dedupChristian Schneppe1-2/+6
2018-04-24fixed condition to accept lmc if user reference existsChristian Schneppe1-2/+2
2018-04-24keep track of user object in messagesChristian Schneppe1-1/+3
2018-04-23make error message for 'not encrypted for this device'Christian Schneppe1-1/+9
2018-04-22fixed muc detection for rare cases where muc is hosted on primary domainChristian Schneppe1-1/+1
2018-04-13process receipts only on mam catchupChristian Schneppe1-1/+1
2018-04-13reformatChristian Schneppe1-83/+83
2018-04-13make receipt handling work with out of order receiptsChristian Schneppe1-3/+3