aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/utils (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-26flush on socks connectionChristian Schneppe1-6/+8
2019-10-26bookmarks2. introduce #compat namespaceChristian Schneppe1-1/+2
2019-10-26WIP Bookmarks 2 supportChristian Schneppe1-0/+1
2019-10-26mark cancelled jingle ft as such on both sidesChristian Schneppe1-3/+6
2019-10-26fully read port in socks connectionChristian Schneppe1-1/+1
incoming direct connections in receive mode wouldn’t clear the entire destination from the input stream; thus adding a leading 0x00 to the file
2019-10-26set shorter timeouts when using direct candidatesChristian Schneppe1-3/+3
2019-09-23do not parse invites from type=groupchatChristian Schneppe1-0/+1
2019-09-20migrate to AndroidXChristian Schneppe10-16/+16
2019-09-19cancel spinning wheel on muclumbus errorChristian Schneppe1-1/+1
2019-09-19warn when using _only_ ambiguous cyrillicChristian Schneppe1-3/+33
2019-09-12set Messenger identity as userAgent for RichPreview and ChannelDiscoveryChristian Schneppe1-0/+1
2019-09-11introduce automatic theme based on the systems themeChristian Schneppe1-2/+22
2019-09-09introduce new file transfer statusChristian Schneppe1-0/+2
2019-09-07improve webpreviews during offline timesChristian Schneppe1-26/+39
2019-09-07catch exceptions in SerialSingleThreadExecutorChristian Schneppe1-0/+2
2019-09-06make Tor connections work with direct TLSChristian Schneppe2-6/+23
2019-09-06implemented support for for jingle encrypted transports (XEP-0396)Christian Schneppe1-0/+2
2019-09-03fix some crashesChristian Schneppe2-2/+6
2019-09-03bare minimum direct connectionsChristian Schneppe1-0/+12
2019-08-31put initial xmpp uri into signup intentChristian Schneppe1-2/+1
2019-08-31do not include DNS servers from networks know to be inactiveChristian Schneppe1-18/+17
* we still include DNS servers from VPNs because of edge cases where the XMPP server is hosted in the VPN * on older Android versions we don’t know if a network is active or not (activeNetwork == null)
2019-07-17create share button in backup done notificationChristian Schneppe2-0/+7
2019-07-17split on first dot when using domain instead of black listed local partChristian Schneppe1-3/+4
2019-07-01attempt to unregister when receiving push for channel no longer joinedChristian Schneppe1-1/+5
when receiving a FCM push message for a channel the user is no longer in (this can happen when the disable command failed) an attempt will be made to explicitly unregister from the app server (which in turn will then send item-not-found on next push)
2019-07-01implement FCM push for group chatsChristian Schneppe1-0/+1
2019-07-01code cleanup & small fixesChristian Schneppe3-4/+2
2019-06-25Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)"Christian Schneppe3-17/+289
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-0/+1
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-21shedule webpreview cache deletionChristian Schneppe1-14/+1
2019-06-20show own account in chatlist/contacts/conferences if you are in multi ↵Christian Schneppe1-7/+8
account mode
2019-06-18self ping (xep-0410) after receiving invite to mucChristian Schneppe1-0/+1
2019-06-17use ibb if other party doesn’t annouce s5b featureChristian Schneppe1-0/+2
2019-06-08Networkstack - let OS decide IPv4 or IPv6 (#267)genofire3-289/+17
* Networkstack - let OS decide IPv4 or IPv6 * Drop own implementation of DNS-Server selection * remove dns resolver cache
2019-06-08fix some more NPEChristian Schneppe1-0/+1
2019-06-08put geo uri in attachment preview when sharedChristian Schneppe1-1/+1
2019-06-08less connection delayChristian Schneppe1-8/+8
2019-05-04fix crash in RichPreviewChristian Schneppe1-2/+2
2019-05-04added language tag in channel search resultsChristian Schneppe1-0/+27
2019-04-26implement channel discoveryChristian Schneppe1-0/+15
refactor muc search to use http cache channel search results
2019-04-12fix some NPEChristian Schneppe1-1/+7
2019-03-31fix url detection for webpreviewsChristian Schneppe1-1/+1
2019-03-31rework max file upload size in server infoChristian Schneppe1-0/+10
2019-03-31add activity to define some important privacy settings on first startChristian Schneppe1-0/+30
2019-03-14fix some crashesChristian Schneppe1-1/+1
2019-02-21refresh cached RichPreviews after 7 daysChristian Schneppe1-0/+18
2019-02-20improve RichPreviewChristian Schneppe2-106/+301
2019-02-18try to fix some NPE in RichPreviewChristian Schneppe1-0/+178
2019-02-18show notification when backup is done or failedChristian Schneppe1-0/+18
show success notification only if backup was started manually
2019-02-09print available stream features / mechanisms on incompat serverChristian Schneppe1-0/+17
2019-02-09show web link previews in chatChristian Schneppe1-5/+3
fixes #113