aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/xmpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-06implements FS#300: Adjust target for bugreportssteckbrief1-1/+0
2019-06-25Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)"Christian Schneppe1-5/+26
This reverts commit e6a15597904019f68c02e6fd8f61fb6de0b13324. If there is IPv6 available but the server doesn't listen to it, the connection will not be established
2019-06-25implement client support for muc pushChristian Schneppe1-2/+2
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-25fix jingle file transferChristian Schneppe3-4/+4
fixes #360
2019-06-22performance improvement of message expiryChristian Schneppe1-2/+2
2019-06-18self ping (xep-0410) after receiving invite to mucChristian Schneppe1-1/+1
2019-06-17disallow subsequent session-acceptChristian Schneppe1-13/+13
2019-06-17use ibb if other party doesn’t annouce s5b featureChristian Schneppe3-224/+203
2019-06-17accept direct ibb jingle offersChristian Schneppe2-15/+58
2019-06-08Networkstack - let OS decide IPv4 or IPv6 (#267)genofire1-26/+5
* Networkstack - let OS decide IPv4 or IPv6 * Drop own implementation of DNS-Server selection * remove dns resolver cache
2019-06-08handle invalid canditates in jingleChristian Schneppe1-0/+4
2019-05-04jingle: send canditate error before fallbackChristian Schneppe1-2/+3
2019-05-04Make use of Namespace.REGISTER constantChristian Schneppe1-4/+4
2019-04-01remove logging from delete from serverChristian Schneppe1-1/+0
2019-03-31add ability to delete account also from serverChristian Schneppe1-0/+16
fixes #315
2019-02-21Deduplicate presencesChristian Schneppe1-1/+2
possibly fixes #303
2019-02-09print available stream features / mechanisms on incompat serverChristian Schneppe1-0/+4
2019-02-08reset inviteuri after successful generationChristian Schneppe1-3/+2
2019-02-08implement adhoc invite links if server supports thisChristian Schneppe2-0/+81
2019-01-27do not require starttls when connecting over to .onion domainChristian Schneppe1-2/+2
2019-01-25properly jump out of connection loop on state changing errorsChristian Schneppe1-8/+7
2019-01-25resend presence to muc avatar updateChristian Schneppe1-0/+4
2019-01-25explicitly set type=images for all media with an image mime type this is in ↵Christian Schneppe1-1/+1
preperation to be able to query the database for all images
2019-01-24put images into MessageStyle notificationsChristian Schneppe1-1/+3
2018-12-27log number of unhandled iq callbacks after resumeChristian Schneppe1-3/+4
2018-12-27log policy violation stream error message to logcatChristian Schneppe1-0/+4
2018-12-14check mam preference for mam:2 namespace and purge offline only if setChristian Schneppe1-0/+17
2018-11-30set access model to open when publishing avatarChristian Schneppe1-0/+9
2018-11-08show max file size for httpupload in profile --> server infoChristian Schneppe1-1/+1
2018-10-24reformat XmppConnection.javaChristian Schneppe1-37/+30
2018-10-20only store non hardcoded resolver result in dbChristian Schneppe1-1/+1
2018-10-20make 'cancelled' work for jingle ftChristian Schneppe2-14/+16
2018-10-04use short read timeout when waiting for first stream open. disable read ↵Christian Schneppe1-1/+2
timeout aftwards
2018-10-04refactored file encryption to give access to inner streamChristian Schneppe3-44/+33
Conscrypt on some plattforms doesn’t like when we close the CipherInputStream. Therefor we refactor the api to give us access to the inner stream so we can close that independently.
2018-10-02clean up connection code. unify domain = ip and extended connection settings ↵Christian Schneppe1-59/+21
into fake resolver
2018-10-02use sni and alpn for start tls as well. apperently google requires itChristian Schneppe1-0/+2
2018-10-01introduced error code for server not opening stream after auth or starttlsChristian Schneppe1-2/+5
2018-10-01code cleanupChristian Schneppe1-5/+5
2018-10-01fixed regression that didn’t enable SNIChristian Schneppe1-2/+2
2018-10-01use conscrypt as security provider to provide tls 1.3 and modern cyphers on ↵Christian Schneppe1-0/+4
old androids
2018-09-13speed up DNSChristian Schneppe1-2/+0
run queries in parallel decrease timeout do not fall back to google
2018-09-11removed synchronized in favor of another interrupted check in startXmpp()Christian Schneppe1-1/+4
2018-08-30use volatile for thread object in XmppConnectionChristian Schneppe1-5/+4
2018-08-26upgrade babbler versionChristian Schneppe1-0/+5
2018-08-26store bookmarks in pep if conversion xep is runningChristian Schneppe2-0/+11
2018-07-29do not call listeners while being synchronized on stanza queueChristian Schneppe2-6/+20
2018-07-15fix bug in XmppConnectionChristian Schneppe1-3/+3
2018-07-09support mam:1Christian Schneppe1-5/+6
2018-07-09improve identification of muc serviceChristian Schneppe1-0/+1
2018-06-17use Tor on http upload is account uses onion domainChristian Schneppe1-1/+1