Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | show language in message bubble if multiple language variants were received | Christian Schneppe | 2019-09-12 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | do not include scope in ipv6 annoucment | Christian Schneppe | 2019-09-09 | 1 | -1/+12 |
| | |||||
* | JET uses plain text file size | Christian Schneppe | 2019-09-06 | 1 | -2/+9 |
| | |||||
* | do not include link local in direct candidates | Christian Schneppe | 2019-09-06 | 3 | -16/+12 |
| | |||||
* | make Tor connections work with direct TLS | Christian Schneppe | 2019-09-06 | 1 | -60/+48 |
| | |||||
* | implemented support for for jingle encrypted transports (XEP-0396) | Christian Schneppe | 2019-09-06 | 2 | -10/+37 |
| | |||||
* | deleted wrong to jid | Christian Schneppe | 2019-09-06 | 1 | -1/+0 |
| | | | | fixes #374 | ||||
* | fix some crashes | Christian Schneppe | 2019-09-03 | 2 | -6/+22 |
| | |||||
* | use higher priority for proxy on receiving end | Christian Schneppe | 2019-09-03 | 2 | -5/+4 |
| | |||||
* | send fallback to ibb after proxy activation failed | Christian Schneppe | 2019-09-03 | 1 | -6/+17 |
| | |||||
* | also reply with direct connections on response | Christian Schneppe | 2019-09-03 | 2 | -18/+34 |
| | |||||
* | bare minimum direct connections | Christian Schneppe | 2019-09-03 | 4 | -6/+153 |
| | |||||
* | order canditates by priority before attempting to connect | Christian Schneppe | 2019-09-03 | 2 | -25/+27 |
| | |||||
* | more ibb fixes (include sid in transport-accept) | Christian Schneppe | 2019-08-31 | 2 | -15/+25 |
| | |||||
* | fixed unlikely race between enabling carbons and discovering last MAM id | Christian Schneppe | 2019-08-31 | 1 | -3/+3 |
| | |||||
* | fixed pgp decryption of automatically accepted jingle ft | Christian Schneppe | 2019-08-31 | 1 | -10/+7 |
| | |||||
* | increased reconnection interval after policy violation | Christian Schneppe | 2019-08-31 | 1 | -1/+3 |
| | |||||
* | refactored filename and extension parsing | Christian Schneppe | 2019-08-31 | 1 | -32/+32 |
| | |||||
* | create empty disco result on error to fire advance stream features event | Christian Schneppe | 2019-08-31 | 1 | -1/+14 |
| | |||||
* | fix SOCKS5 to IBB fallback | Christian Schneppe | 2019-08-31 | 1 | -5/+4 |
| | |||||
* | use helper method to close socket | Christian Schneppe | 2019-07-17 | 1 | -10/+3 |
| | |||||
* | code cleanup & small fixes | Christian Schneppe | 2019-07-01 | 2 | -3/+3 |
| | |||||
* | Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)" | Christian Schneppe | 2019-06-25 | 1 | -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 | ||||
* | implement client support for muc push | Christian Schneppe | 2019-06-25 | 1 | -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. | ||||
* | fix jingle file transfer | Christian Schneppe | 2019-06-25 | 3 | -4/+4 |
| | | | | fixes #360 | ||||
* | performance improvement of message expiry | Christian Schneppe | 2019-06-22 | 1 | -2/+2 |
| | |||||
* | self ping (xep-0410) after receiving invite to muc | Christian Schneppe | 2019-06-18 | 1 | -1/+1 |
| | |||||
* | disallow subsequent session-accept | Christian Schneppe | 2019-06-17 | 1 | -13/+13 |
| | |||||
* | use ibb if other party doesn’t annouce s5b feature | Christian Schneppe | 2019-06-17 | 3 | -224/+203 |
| | |||||
* | accept direct ibb jingle offers | Christian Schneppe | 2019-06-17 | 2 | -15/+58 |
| | |||||
* | Networkstack - let OS decide IPv4 or IPv6 (#267) | genofire | 2019-06-08 | 1 | -26/+5 |
| | | | | | | | | * Networkstack - let OS decide IPv4 or IPv6 * Drop own implementation of DNS-Server selection * remove dns resolver cache | ||||
* | handle invalid canditates in jingle | Christian Schneppe | 2019-06-08 | 1 | -0/+4 |
| | |||||
* | jingle: send canditate error before fallback | Christian Schneppe | 2019-05-04 | 1 | -2/+3 |
| | |||||
* | Make use of Namespace.REGISTER constant | Christian Schneppe | 2019-05-04 | 1 | -4/+4 |
| | |||||
* | remove logging from delete from server | Christian Schneppe | 2019-04-01 | 1 | -1/+0 |
| | |||||
* | add ability to delete account also from server | Christian Schneppe | 2019-03-31 | 1 | -0/+16 |
| | | | | fixes #315 | ||||
* | Deduplicate presences | Christian Schneppe | 2019-02-21 | 1 | -1/+2 |
| | | | | possibly fixes #303 | ||||
* | print available stream features / mechanisms on incompat server | Christian Schneppe | 2019-02-09 | 1 | -0/+4 |
| | |||||
* | reset inviteuri after successful generation | Christian Schneppe | 2019-02-08 | 1 | -3/+2 |
| | |||||
* | use ad-hoc commands for invite links if server supports this | Christian Schneppe | 2019-02-08 | 2 | -0/+77 |
|\ | |||||
| * | implement adhoc invite links if server supports this | Christian Schneppe | 2019-02-08 | 2 | -0/+81 |
| | | |||||
* | | do not require starttls when connecting over to .onion domain | Christian Schneppe | 2019-01-27 | 1 | -2/+2 |
| | | |||||
* | | properly jump out of connection loop on state changing errors | Christian Schneppe | 2019-01-25 | 1 | -8/+7 |
| | | |||||
* | | resend presence to muc avatar update | Christian Schneppe | 2019-01-25 | 1 | -0/+4 |
| | | |||||
* | | explicitly set type=images for all media with an image mime type this is in ↵ | Christian Schneppe | 2019-01-25 | 1 | -1/+1 |
| | | | | | | | | preperation to be able to query the database for all images | ||||
* | | put images into MessageStyle notifications | Christian Schneppe | 2019-01-24 | 1 | -1/+3 |
|/ | |||||
* | log number of unhandled iq callbacks after resume | Christian Schneppe | 2018-12-27 | 1 | -3/+4 |
| | |||||
* | log policy violation stream error message to logcat | Christian Schneppe | 2018-12-27 | 1 | -0/+4 |
| | |||||
* | check mam preference for mam:2 namespace and purge offline only if set | Christian Schneppe | 2018-12-14 | 1 | -0/+17 |
| | |||||
* | set access model to open when publishing avatar | Christian Schneppe | 2018-11-30 | 1 | -0/+9 |
| |