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