aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/persistance (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-02-19WIP: happy eyeball with dns caching for 5min (#464)genofire1-2/+50
* happy eyeball: fix dnssec for plain ip an srv-cname * reimplement dns resolver cache + add timeout for cache
2020-02-12set filter to MediaBrowserActivityChristian Schneppe1-3/+3
to show only images and videos or all media files fixes #457
2020-02-12show PDF preview in MediaBrowserActivityChristian Schneppe1-1/+4
2020-02-11rework PDF previewChristian Schneppe1-18/+66
should fix #456
2020-02-09introduce preview for PDF files in chatChristian Schneppe1-1/+31
2020-02-05Networkstack: easy happy eyeball (#411)genofire1-53/+2
* Networkstack: easy happy eyeball * Networkstack: drop own implementation of DNS-Server selection Co-authored-by: Christian Schneppe <kriztan@users.noreply.github.com>
2020-02-05limit artist - title in messages to 128 charsChristian Schneppe1-2/+3
2020-02-03update MetaDataExtractorChristian Schneppe1-4/+17
2020-02-02show audio artist and title for audio filesChristian Schneppe1-1/+28
2020-01-02persist file size across abortsChristian Schneppe1-1/+6
2019-12-12don’t use secure delete when migrating edit columnChristian Schneppe1-4/+9
2019-12-09properly restore LMC edits. switch to LMC v1.1Christian Schneppe1-1/+5
2019-12-08increase cursor window size on Android P when restoring messagesChristian Schneppe1-4/+3
2019-11-10show overlay to set avatar at the right bottom cornerChristian Schneppe1-2/+14
2019-11-06use variable for app directory in FileBackendChristian Schneppe1-6/+7
2019-10-26catch all exceptions when closing closableChristian Schneppe1-1/+4
2019-09-29show resource prompt when sending uncompressed videoChristian Schneppe1-1/+3
2019-09-20added overlay to avatar in EditAccountActivityChristian Schneppe1-3/+30
in addition to #390
2019-09-20migrate to AndroidXChristian Schneppe1-2/+2
2019-09-13keep track of previously edited idsChristian Schneppe1-3/+0
2019-09-12show language in message bubble if multiple language variants were receivedChristian Schneppe1-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.
2019-09-03fix some crashesChristian Schneppe2-9/+23
2019-09-03bare minimum direct connectionsChristian Schneppe1-0/+9
2019-07-17use helper method to close socketChristian Schneppe1-2/+2
2019-07-01code cleanup & small fixesChristian Schneppe3-14/+14
2019-06-25Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)"Christian Schneppe1-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
2019-06-22performance improvement of message expiryChristian Schneppe1-3/+45
2019-06-17fix some NPEChristian Schneppe1-1/+6
2019-06-08Networkstack - let OS decide IPv4 or IPv6 (#267)genofire1-45/+1
* 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-6/+6
2019-05-19separate received and sent filesChristian Schneppe1-7/+40
fixes #140
2019-05-18performance improvementsChristian Schneppe2-5/+12
2019-05-04go forward through cursor in message restoreChristian Schneppe1-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
2019-05-03introduced type private_file_message to handle attachments in PMsChristian Schneppe2-10/+11
2019-03-14fix backup creation for older installationsChristian Schneppe1-3/+2
If you had problems importing the backup you need to create a new backup after this patch
2019-03-06fixed security exception when attempting to display image in notificationChristian Schneppe1-5/+10
2019-03-06only show images and videos in media browserChristian Schneppe1-1/+3
2019-02-18fix some more NPEsChristian Schneppe1-1/+9
2019-02-08optimize importsChristian Schneppe1-1/+0
2019-01-27scan all files in case some files were previously marked as deleted by accidentChristian Schneppe1-4/+32
2019-01-26fix compatibility issue on startupChristian Schneppe1-1/+17
2019-01-26make new backup and restore possible with old databasesChristian Schneppe1-1/+6
2019-01-26rework backup & restoreChristian Schneppe1-2/+2
use the implementation from Conversations
2019-01-25null checks when deleting old filesChristian Schneppe1-2/+2
2019-01-25explicitly set type=images for all media with an image mime type this is in ↵Christian Schneppe1-15/+6
preperation to be able to query the database for all images
2019-01-25check if encrypted pgp file get deletedChristian Schneppe1-10/+19
2019-01-25fix display of deleted filesChristian Schneppe1-1/+1
2019-01-25don’t check if files exists when loading attachmentsChristian Schneppe1-7/+2
2019-01-25mark deleted files in database and not query them when querying for mediaChristian Schneppe2-2/+79
2019-01-24put images into MessageStyle notificationsChristian Schneppe1-2/+45