aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/parser (follow)
Commit message (Collapse)AuthorAgeFilesLines
* implement client support for muc pushChristian Schneppe2019-06-251-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.
* ping muc after receiving not-acceptable errorChristian Schneppe2019-06-201-0/+12
|
* self ping (xep-0410) after receiving invite to mucChristian Schneppe2019-06-181-2/+5
|
* performance improvementsChristian Schneppe2019-05-181-2/+4
|
* introduced type private_file_message to handle attachments in PMsChristian Schneppe2019-05-031-3/+3
|
* do sent/received correct based on true counterpart introduced in ↵Christian Schneppe2019-03-311-1/+1
| | | | | | fec6d7a90c443ef0ef86464bd2fb49cdc56d1587 only for type=groupchat
* double check that muc message is ours if true jid is knownChristian Schneppe2019-03-061-2/+7
|
* show file too large instead of generic delivery failedChristian Schneppe2019-02-211-5/+29
|
* show different room settings for channels and groupsChristian Schneppe2019-02-071-1/+1
|
* provide the same fab submenu for both tabs. rename tab to bookmarkChristian Schneppe2019-02-071-1/+1
|
* resend presence to muc avatar updateChristian Schneppe2019-01-251-0/+1
|
* synchronize around notification update from corrected messagesChristian Schneppe2019-01-251-1/+1
|
* deduplicate disco responseChristian Schneppe2018-12-271-2/+2
| | | | fixes #283
* synchronize join/leaves with bookmarksChristian Schneppe2018-12-151-1/+1
|
* bring back previews unread messages as read in groupsChristian Schneppe2018-12-141-0/+15
|
* do not process PEP bookmarks if conversion feature n/aChristian Schneppe2018-12-141-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
* implement self healing omemoChristian Schneppe2018-12-041-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.
* transmit display name (nick) in subscription requestsChristian Schneppe2018-11-301-3/+3
|
* added interface to edit nickChristian Schneppe2018-11-231-22/+37
|
* show snackbar for remote server timeout in mucsChristian Schneppe2018-10-201-0/+2
|
* refresh ui after device list update only if list has changedChristian Schneppe2018-10-041-1/+0
|
* store avatars received over muc presence in contactChristian Schneppe2018-09-271-0/+8
|
* sync roster after setting pgp idChristian Schneppe2018-09-131-1/+3
|
* do not parse caps and pgp keys from muc presencesChristian Schneppe2018-09-131-1/+5
|
* special treatment for presence errors known to be mucsChristian Schneppe2018-08-301-0/+2
|
* store bookmarks in pep if conversion xep is runningChristian Schneppe2018-08-261-0/+7
|
* also mark previews unread messages as readChristian Schneppe2018-08-031-1/+11
|
* display propper toast after room has been destroyedChristian Schneppe2018-07-151-1/+27
|
* store own affiliation and role to diskChristian Schneppe2018-07-091-1/+4
|
* support mam:1Christian Schneppe2018-07-091-4/+3
|
* show snackbar for resource constraint in mucsChristian Schneppe2018-07-091-0/+2
|
* persist muc avatar and show in bookmarksChristian Schneppe2018-07-092-4/+7
|
* save name instead of subject in bookmarkChristian Schneppe2018-07-091-7/+0
|
* use Tor on http upload is account uses onion domainChristian Schneppe2018-06-171-3/+4
|
* improve active_since implementation (XEP-0319: Last User Interaction in ↵Christian Schneppe2018-05-261-0/+3
| | | | | | | Presence) * set contact to inactive if it becomes offline * send idle also in case app started in background
* add support for S3 file transfersChristian Schneppe2018-05-261-1/+11
|
* do not use end in catchup mam queriesChristian Schneppe2018-05-171-1/+2
|
* do not include body in simple status updates to not trigger fts updateChristian Schneppe2018-05-171-3/+3
|
* check if jid was valid before parsing muc status or event msgsChristian Schneppe2018-05-021-4/+4
|
* do not crash when inner message contains invalid jidChristian Schneppe2018-05-021-2/+2
|
* return InvalidJid object instead of null if Jid can not be parsedChristian Schneppe2018-05-024-14/+28
|
* very much unoptimized search functionalityChristian Schneppe2018-04-301-1/+2
|
* fixed updating of server message id after dedupChristian Schneppe2018-04-291-2/+6
|
* fixed condition to accept lmc if user reference existsChristian Schneppe2018-04-241-2/+2
|
* keep track of user object in messagesChristian Schneppe2018-04-241-1/+3
|
* make error message for 'not encrypted for this device'Christian Schneppe2018-04-231-1/+9
|
* fixed muc detection for rare cases where muc is hosted on primary domainChristian Schneppe2018-04-221-1/+1
|
* process receipts only on mam catchupChristian Schneppe2018-04-131-1/+1
|
* reformatChristian Schneppe2018-04-131-83/+83
|
* make receipt handling work with out of order receiptsChristian Schneppe2018-04-131-3/+3
|