aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/persistance (follow)
Commit message (Collapse)AuthorAgeFilesLines
* show overlay to set avatar at the right bottom cornerChristian Schneppe2019-11-101-2/+14
|
* use variable for app directory in FileBackendChristian Schneppe2019-11-061-6/+7
|
* catch all exceptions when closing closableChristian Schneppe2019-10-261-1/+4
|
* show resource prompt when sending uncompressed videoChristian Schneppe2019-09-291-1/+3
|
* added overlay to avatar in EditAccountActivityChristian Schneppe2019-09-201-3/+30
| | | | in addition to #390
* migrate to AndroidXChristian Schneppe2019-09-201-2/+2
|
* keep track of previously edited idsChristian Schneppe2019-09-131-3/+0
|
* show language in message bubble if multiple language variants were receivedChristian Schneppe2019-09-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix some crashesChristian Schneppe2019-09-032-9/+23
|
* bare minimum direct connectionsChristian Schneppe2019-09-031-0/+9
|
* use helper method to close socketChristian Schneppe2019-07-171-2/+2
|
* code cleanup & small fixesChristian Schneppe2019-07-013-14/+14
|
* Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)"Christian Schneppe2019-06-251-2/+54
| | | | | | This reverts commit e6a15597904019f68c02e6fd8f61fb6de0b13324. If there is IPv6 available but the server doesn't listen to it, the connection will not be established
* performance improvement of message expiryChristian Schneppe2019-06-221-3/+45
|
* fix some NPEChristian Schneppe2019-06-171-1/+6
|
* Networkstack - let OS decide IPv4 or IPv6 (#267)genofire2019-06-081-45/+1
| | | | | | | | * 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-6/+6
|
* separate received and sent filesChristian Schneppe2019-05-191-7/+40
| | | | fixes #140
* performance improvementsChristian Schneppe2019-05-182-5/+12
|
* go forward through cursor in message restoreChristian Schneppe2019-05-041-7/+8
| | | | | 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
* introduced type private_file_message to handle attachments in PMsChristian Schneppe2019-05-032-10/+11
|
* fix backup creation for older installationsChristian Schneppe2019-03-141-3/+2
| | | | If you had problems importing the backup you need to create a new backup after this patch
* fixed security exception when attempting to display image in notificationChristian Schneppe2019-03-061-5/+10
|
* only show images and videos in media browserChristian Schneppe2019-03-061-1/+3
|
* fix some more NPEsChristian Schneppe2019-02-181-1/+9
|
* optimize importsChristian Schneppe2019-02-081-1/+0
|
* scan all files in case some files were previously marked as deleted by accidentChristian Schneppe2019-01-271-4/+32
|
* fix compatibility issue on startupChristian Schneppe2019-01-261-1/+17
|
* make new backup and restore possible with old databasesChristian Schneppe2019-01-261-1/+6
|
* rework backup & restoreChristian Schneppe2019-01-261-2/+2
| | | | use the implementation from Conversations
* null checks when deleting old filesChristian Schneppe2019-01-251-2/+2
|
* explicitly set type=images for all media with an image mime type this is in ↵Christian Schneppe2019-01-251-15/+6
| | | | preperation to be able to query the database for all images
* check if encrypted pgp file get deletedChristian Schneppe2019-01-251-10/+19
|
* fix display of deleted filesChristian Schneppe2019-01-251-1/+1
|
* don’t check if files exists when loading attachmentsChristian Schneppe2019-01-251-7/+2
|
* mark deleted files in database and not query them when querying for mediaChristian Schneppe2019-01-252-2/+79
|
* put images into MessageStyle notificationsChristian Schneppe2019-01-241-2/+45
|
* introduced 'original' as video and image quality and do not ignorer errorChristian Schneppe2019-01-031-2/+5
|
* added epub and azw mime types. try to resolve application/octet-stream by ↵Christian Schneppe2018-12-271-1/+1
| | | | file extension instead. added preview icons for ebooks
* limit video transcoding to api >= 18 and other api 16 fixesChristian Schneppe2018-12-141-1/+8
|
* postpone prekey removal and republish to after mamChristian Schneppe2018-12-141-2/+2
|
* implement self healing omemoChristian Schneppe2018-12-041-1/+1
| | | | | | 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.
* fix apk name detectionChristian Schneppe2018-11-301-4/+5
|
* catch npe while detecting apk namesChristian Schneppe2018-11-301-7/+12
|
* catch cursor window allocation exceptionChristian Schneppe2018-11-231-4/+10
|
* refresh synced contacts even if offlineChristian Schneppe2018-11-231-1/+1
|
* also respect deleted messages in readable logsChristian Schneppe2018-11-111-2/+2
|
* implement message deletionChristian Schneppe2018-11-111-15/+17
| | | | fixed #208
* write null bitmap to imageview to replace asyncdrawableChristian Schneppe2018-10-241-1/+1
|
* Do not attempt to draw overlay on null bitmapChristian Schneppe2018-10-202-2/+3
|