aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)"Christian Schneppe2019-06-253-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
* implement client support for muc pushChristian Schneppe2019-06-251-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.
* shedule webpreview cache deletionChristian Schneppe2019-06-211-14/+1
|
* show own account in chatlist/contacts/conferences if you are in multi ↵Christian Schneppe2019-06-201-7/+8
| | | | account mode
* self ping (xep-0410) after receiving invite to mucChristian Schneppe2019-06-181-0/+1
|
* use ibb if other party doesn’t annouce s5b featureChristian Schneppe2019-06-171-0/+2
|
* Networkstack - let OS decide IPv4 or IPv6 (#267)genofire2019-06-083-289/+17
| | | | | | | | * Networkstack - let OS decide IPv4 or IPv6 * Drop own implementation of DNS-Server selection * remove dns resolver cache
* fix some more NPEChristian Schneppe2019-06-081-0/+1
|
* put geo uri in attachment preview when sharedChristian Schneppe2019-06-081-1/+1
|
* less connection delayChristian Schneppe2019-06-081-8/+8
|
* fix crash in RichPreviewChristian Schneppe2019-05-041-2/+2
|
* added language tag in channel search resultsChristian Schneppe2019-05-041-0/+27
|
* implement channel discoveryChristian Schneppe2019-04-261-0/+15
| | | | | refactor muc search to use http cache channel search results
* fix some NPEChristian Schneppe2019-04-121-1/+7
|
* fix url detection for webpreviewsChristian Schneppe2019-03-311-1/+1
|
* rework max file upload size in server infoChristian Schneppe2019-03-311-0/+10
|
* add activity to define some important privacy settings on first startChristian Schneppe2019-03-311-0/+30
|
* fix some crashesChristian Schneppe2019-03-141-1/+1
|
* refresh cached RichPreviews after 7 daysChristian Schneppe2019-02-211-0/+18
|
* improve RichPreviewChristian Schneppe2019-02-202-106/+301
|
* try to fix some NPE in RichPreviewChristian Schneppe2019-02-181-0/+178
|
* show notification when backup is done or failedChristian Schneppe2019-02-181-0/+18
| | | | show success notification only if backup was started manually
* print available stream features / mechanisms on incompat serverChristian Schneppe2019-02-091-0/+17
|
* show web link previews in chatChristian Schneppe2019-02-091-5/+3
| | | | fixes #113
* optimize importsChristian Schneppe2019-02-085-12/+0
|
* provide the same fab submenu for both tabs. rename tab to bookmarkChristian Schneppe2019-02-071-1/+2
|
* fix xmpp uri links that have a aditional chars after joinChristian Schneppe2019-02-041-1/+1
| | | | for example xmpp:foo@bar.tld?join,
* rework backup & restoreChristian Schneppe2019-01-262-0/+119
| | | | use the implementation from Conversations
* resend presence to muc avatar updateChristian Schneppe2019-01-251-0/+1
|
* explicitly start service (instead of just bind) service from contact chooserChristian Schneppe2019-01-251-0/+18
|
* ignore code block start in message previewChristian Schneppe2019-01-251-0/+3
|
* stop file watching when service has been destroyedChristian Schneppe2019-01-251-2/+22
|
* offer 'open with' in context menu for geo urisChristian Schneppe2019-01-251-20/+55
|
* fix display of deleted filesChristian Schneppe2019-01-251-1/+1
|
* mark deleted files in database and not query them when querying for mediaChristian Schneppe2019-01-251-3/+3
|
* add tgz and gz to mime file typesChristian Schneppe2018-12-281-0/+2
|
* fix typosChristian Schneppe2018-12-281-3/+3
|
* change epub file extension to epub and added mobiChristian Schneppe2018-12-271-1/+2
|
* added epub and azw mime types. try to resolve application/octet-stream by ↵Christian Schneppe2018-12-272-2/+26
| | | | file extension instead. added preview icons for ebooks
* add android version to crashreportChristian Schneppe2018-12-271-0/+4
|
* change cipher_mode for backup en-/decryptionChristian Schneppe2018-12-271-1/+1
|
* change message styling rulesChristian Schneppe2018-12-141-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.
* offer to start/install orbot for edit account screen.Christian Schneppe2018-12-041-0/+43
|
* implement self healing omemoChristian Schneppe2018-12-042-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.
* catch a few run time exceptions related to androids life cycle mgmtChristian Schneppe2018-11-231-0/+2
|
* add versioning to sync namespaceChristian Schneppe2018-11-231-1/+1
|
* move default port to Resolver.javaChristian Schneppe2018-11-231-3/+4
|
* added interface to edit nickChristian Schneppe2018-11-231-0/+1
|
* refactored phone contact loading in preperation for syncChristian Schneppe2018-11-235-83/+7
|
* do not show up navigation in start conversation screen if called with view ↵Christian Schneppe2018-11-151-0/+8
| | | | intent