aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fix jingle file transferChristian Schneppe2019-06-251-13/+10
| | | | fixes #360
* make backup compatible to Conversations (only works for Android >= 8)Christian Schneppe2019-06-231-1/+16
|
* Revert "BackupExport format like Conversations (#342)"Christian Schneppe2019-06-231-10/+2
| | | | | This patch is not compatible with Android SDK < 26 (Android 8 / OREO) This reverts commit 514b63f48684ab82031b0291da8d303abe1d680c.
* catch NPEChristian Schneppe2019-06-231-0/+3
|
* BackupExport format like Conversations (#342)genofire2019-06-221-2/+10
| | | This makes it possible to import/export backup files from/to Conversations
* 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
|
* MessageStyle notifications replace car extenderChristian Schneppe2019-06-171-21/+13
|
* fix some more NPEChristian Schneppe2019-06-081-0/+3
|
* change music volume during audio playbackChristian Schneppe2019-06-081-0/+1
|
* separate received and sent filesChristian Schneppe2019-05-191-1/+1
| | | | fixes #140
* run postDelayed in background threadChristian Schneppe2019-05-191-1/+4
|
* performance improvementsChristian Schneppe2019-05-181-14/+18
|
* some bug fixesChristian Schneppe2019-05-041-1/+4
|
* fix export error for non-unicode numbersChristian Schneppe2019-05-041-1/+1
|
* introduced type private_file_message to handle attachments in PMsChristian Schneppe2019-05-032-9/+15
|
* added Tor support to channel searchChristian Schneppe2019-04-282-4/+27
|
* implement channel discoveryChristian Schneppe2019-04-263-2/+129
| | | | | 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
* fix automatic backup creationChristian Schneppe2019-03-311-1/+1
|
* catch exceptions in NotificationServiceChristian Schneppe2019-03-311-1/+7
|
* add activity to define some important privacy settings on first startChristian Schneppe2019-03-311-4/+10
|
* fix some crashesChristian Schneppe2019-03-141-1/+3
|
* fix backup creation for older installationsChristian Schneppe2019-03-141-5/+14
| | | | If you had problems importing the backup you need to create a new backup after this patch
* copy intent extras in eventreceiverChristian Schneppe2019-03-061-0/+5
|
* try to catch some NPEChristian Schneppe2019-03-062-2/+7
|
* 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-182-3/+10
|
* show notification when backup is done or failedChristian Schneppe2019-02-181-2/+76
| | | | show success notification only if backup was started manually
* use the term channel in destroy dialog and some other stringsChristian Schneppe2019-02-091-23/+17
|
* optimize importsChristian Schneppe2019-02-084-7/+0
|
* 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
|
* refactored group chat members into seperate screenChristian Schneppe2019-01-271-1/+4
|
* refactored avatar workers into single classChristian Schneppe2019-01-271-0/+19
|
* 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
|