aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/utils (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2019-02-08optimize importsChristian Schneppe5-12/+0
2019-02-07provide the same fab submenu for both tabs. rename tab to bookmarkChristian Schneppe1-1/+2
2019-02-04fix xmpp uri links that have a aditional chars after joinChristian Schneppe1-1/+1
for example xmpp:foo@bar.tld?join,
2019-01-26rework backup & restoreChristian Schneppe2-0/+119
use the implementation from Conversations
2019-01-25resend presence to muc avatar updateChristian Schneppe1-0/+1
2019-01-25explicitly start service (instead of just bind) service from contact chooserChristian Schneppe1-0/+18
2019-01-25ignore code block start in message previewChristian Schneppe1-0/+3
2019-01-25stop file watching when service has been destroyedChristian Schneppe1-2/+22
2019-01-25offer 'open with' in context menu for geo urisChristian Schneppe1-20/+55
2019-01-25fix display of deleted filesChristian Schneppe1-1/+1
2019-01-25mark deleted files in database and not query them when querying for mediaChristian Schneppe1-3/+3
2018-12-28add tgz and gz to mime file typesChristian Schneppe1-0/+2
2018-12-28fix typosChristian Schneppe1-3/+3
2018-12-27change epub file extension to epub and added mobiChristian Schneppe1-1/+2
2018-12-27added epub and azw mime types. try to resolve application/octet-stream by ↵Christian Schneppe2-2/+26
file extension instead. added preview icons for ebooks
2018-12-27add android version to crashreportChristian Schneppe1-0/+4
2018-12-27change cipher_mode for backup en-/decryptionChristian Schneppe1-1/+1
2018-12-14change message styling rulesChristian Schneppe1-0/+24
Message styling purposly doesn’t require a whitespace after a closing tag to make something like ~un~believable work. However it also breaks _Programmierer_innen_ and other example where the tag is repeated as a non tag in the word. Therefor we change the rules that if a closing tag is followed by a higher order closing tag (a closing tag followed by an end block or white space) we ignore the first closing tag. But only if we don’t read another tag open.
2018-12-04offer to start/install orbot for edit account screen.Christian Schneppe1-0/+43
2018-12-04implement self healing omemoChristian Schneppe2-0/+3
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.
2018-11-23catch a few run time exceptions related to androids life cycle mgmtChristian Schneppe1-0/+2
2018-11-23add versioning to sync namespaceChristian Schneppe1-1/+1
2018-11-23move default port to Resolver.javaChristian Schneppe1-3/+4
2018-11-23added interface to edit nickChristian Schneppe1-0/+1
2018-11-23refactored phone contact loading in preperation for syncChristian Schneppe5-83/+7
2018-11-15do not show up navigation in start conversation screen if called with view ↵Christian Schneppe1-0/+8
intent