aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* explicitly use BouncyCastle for file cryptoChristian Schneppe2020-03-161-0/+4
|
* do not merge oob messagesChristian Schneppe2020-03-161-0/+2
|
* do not warn user if bookmark already existsChristian Schneppe2020-02-171-7/+1
|
* show audio artist and title for audio filesChristian Schneppe2020-02-021-0/+1
|
* optimize importsChristian Schneppe2020-01-311-1/+2
|
* omemo changes: use 12 byte IV, no longer accept auth tag appended to payloadChristian Schneppe2020-01-242-4/+4
|
* make registration uris work with fixed usernamesChristian Schneppe2020-01-241-0/+2
|
* support registration via pars tokensChristian Schneppe2020-01-241-0/+4
|
* persist file size across abortsChristian Schneppe2020-01-021-1/+5
|
* make parts in Message.java finalChristian Schneppe2020-01-021-1/+1
|
* properly restore LMC edits. switch to LMC v1.1Christian Schneppe2019-12-093-89/+109
|
* show jabber accounts from local address in Quicksy flavorChristian Schneppe2019-12-081-4/+10
|
* Disable NewLines in Base64 values (#416)FH2019-12-031-1/+1
| | | | | | Smack gets confused and throws NullPointerException when Base64 contains newlines. Therefor disable newlines in Base64. I assume newlines in Base64 are also not expected by other implementations.
* prevent crash when counterpart in message was nullChristian Schneppe2019-11-151-2/+6
|
* rework message deletionChristian Schneppe2019-11-042-1/+9
|
* optionally search local muc rooms instead of jabber.networkChristian Schneppe2019-11-031-0/+88
|
* introduce setting to completely disable (OMEMO) encryptionChristian Schneppe2019-11-021-0/+3
|
* attempt to fix some rare crashesChristian Schneppe2019-10-261-1/+1
|
* update ui after bookmark changeChristian Schneppe2019-10-261-2/+3
|
* bookmarks2. introduce #compat namespaceChristian Schneppe2019-10-261-2/+2
|
* Bookmarks2: support retractionChristian Schneppe2019-10-262-30/+46
|
* WIP Bookmarks 2 supportChristian Schneppe2019-10-261-7/+70
|
* LMC: find replacedMessages based on bare JIDChristian Schneppe2019-10-261-3/+6
|
* mark cancelled jingle ft as such on both sidesChristian Schneppe2019-10-261-1/+2
|
* migrate to AndroidXChristian Schneppe2019-09-206-9/+9
|
* parse LMC 1.1Christian Schneppe2019-09-132-2/+20
|
* keep track of previously edited idsChristian Schneppe2019-09-132-13/+103
|
* show language in message bubble if multiple language variants were receivedChristian Schneppe2019-09-122-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XML and by inheritence XMPP has the feature of transmitting multiple language variants for the same content. This can be really useful if, for example, you are talking to an automated system. A chat bot could greet you in your own language. On the wire this will usually look like this: ```xml <message to="you"> <body>Good morning</body> <body xml:lang="de">Guten Morgen</body> </message> ``` However receiving such a message in a group chat can be very confusing and potentially dangerous if the sender puts conflicting information in there and different people get shown different strings. Disabling support for localization entirely isn’t an ideal solution as on principle it is still a good feature; and other clients might still show a localization even if Conversations would always show the default language. So instead we now show the displayed language in a corner of the message bubble if more than one translation has been received. If multiple languages are received we will attempt to find one in the language the operating system is set to. If no such translation can be found it will attempt to display the English string. If English can not be found either (for example a message that only has ru and fr on a phone that is set to de) it will display what ever language came first. Furthermore we will discard (not show at all) messages with with multiple bodies of the same language. (This is considered an invalid message) The language tag will not be shown if we receive a single body in a language not understood by the user. (For example operating system set to 'de' and message received with one body in 'ru' will just display that body as usual.) As a guide line to the user: If you are reading a message where it is important that this message is not interpreted differently by different people (like a vote (+1 / -1) in a chat room) make sure it has *no* language tag.
* introduce new file transfer statusChristian Schneppe2019-09-091-0/+1
|
* fix some crashesChristian Schneppe2019-09-032-4/+12
|
* do not put default nick into bookmark if none has been set beforeChristian Schneppe2019-08-311-6/+10
|
* create empty disco result on error to fire advance stream features eventChristian Schneppe2019-08-311-0/+12
|
* resetToWaiting should include http uploaded filesChristian Schneppe2019-08-311-1/+1
|
* handle blocking and unblocking of full jidsChristian Schneppe2019-07-171-0/+92
|
* migrate copy ond write list to synchronized hashset for pending mucsChristian Schneppe2019-07-011-2/+2
|
* rate limit muc pings / joins. never run two pings at same timeChristian Schneppe2019-07-011-0/+1
|
* implement FCM push for group chatsChristian Schneppe2019-07-011-0/+1
|
* code cleanup & small fixesChristian Schneppe2019-07-011-1/+1
|
* implement client support for muc pushChristian Schneppe2019-06-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 own account in chatlist/contacts/conferences if you are in multi ↵Christian Schneppe2019-06-203-6/+13
| | | | account mode
* attempt to keep messages waiting until muc is connectedChristian Schneppe2019-06-201-0/+1
|
* synchronize around attributes in toContentValues()Christian Schneppe2019-06-081-1/+3
|
* performance improvementsChristian Schneppe2019-06-081-2/+1
|
* performance improvementsChristian Schneppe2019-05-182-6/+8
|
* go forward through cursor in message restoreChristian Schneppe2019-05-041-26/+13
| | | | | We have seen some weird CursorIndexNotFoundException that we were unable to reproduce. We assume that going forward (moveToNext()) through the cursor instead of (moveToPrevious() fixes that issue
* small message optimizationsChristian Schneppe2019-05-041-2/+2
|
* introduced type private_file_message to handle attachments in PMsChristian Schneppe2019-05-032-14/+46
|
* store correcting message in dbChristian Schneppe2019-05-031-5/+4
|
* put PM hint above edittextChristian Schneppe2019-05-031-0/+2
|
* show users nick in chat if it's setChristian Schneppe2019-04-121-1/+1
|