aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/persistance (follow)
Commit message (Collapse)AuthorAgeFilesLines
* set filter to MediaBrowserActivityChristian Schneppe2020-02-121-3/+3
| | | | | to show only images and videos or all media files fixes #457
* show PDF preview in MediaBrowserActivityChristian Schneppe2020-02-121-1/+4
|
* rework PDF previewChristian Schneppe2020-02-111-18/+66
| | | | should fix #456
* introduce preview for PDF files in chatChristian Schneppe2020-02-091-1/+31
|
* Networkstack: easy happy eyeball (#411)genofire2020-02-051-53/+2
| | | | | | | | * Networkstack: easy happy eyeball * Networkstack: drop own implementation of DNS-Server selection Co-authored-by: Christian Schneppe <kriztan@users.noreply.github.com>
* limit artist - title in messages to 128 charsChristian Schneppe2020-02-051-2/+3
|
* update MetaDataExtractorChristian Schneppe2020-02-031-4/+17
|
* show audio artist and title for audio filesChristian Schneppe2020-02-021-1/+28
|
* persist file size across abortsChristian Schneppe2020-01-021-1/+6
|
* don’t use secure delete when migrating edit columnChristian Schneppe2019-12-121-4/+9
|
* properly restore LMC edits. switch to LMC v1.1Christian Schneppe2019-12-091-1/+5
|
* increase cursor window size on Android P when restoring messagesChristian Schneppe2019-12-081-4/+3
|
* 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
|