aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/persistance (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2019-01-03introduced 'original' as video and image quality and do not ignorer errorChristian Schneppe1-2/+5
2018-12-27added epub and azw mime types. try to resolve application/octet-stream by ↵Christian Schneppe1-1/+1
file extension instead. added preview icons for ebooks
2018-12-14limit video transcoding to api >= 18 and other api 16 fixesChristian Schneppe1-1/+8
2018-12-14postpone prekey removal and republish to after mamChristian Schneppe1-2/+2
2018-12-04implement self healing omemoChristian Schneppe1-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.
2018-11-30fix apk name detectionChristian Schneppe1-4/+5
2018-11-30catch npe while detecting apk namesChristian Schneppe1-7/+12
2018-11-23catch cursor window allocation exceptionChristian Schneppe1-4/+10
2018-11-23refresh synced contacts even if offlineChristian Schneppe1-1/+1
2018-11-11also respect deleted messages in readable logsChristian Schneppe1-2/+2
2018-11-11implement message deletionChristian Schneppe1-15/+17
fixed #208
2018-10-24write null bitmap to imageview to replace asyncdrawableChristian Schneppe1-1/+1
2018-10-20Do not attempt to draw overlay on null bitmapChristian Schneppe2-2/+3
2018-10-03rework MediaViewerActivityChristian Schneppe1-4/+8
2018-09-27do not compress/resize images with strange aspect ratiosChristian Schneppe1-0/+12
2018-09-27store avatars received over muc presence in contactChristian Schneppe1-1/+1
2018-09-26do not show media overview in contact/conference details when missing ↵Christian Schneppe1-1/+3
storage permission
2018-09-26introduce media browser activityChristian Schneppe1-2/+2
2018-09-26show conversation media in contact/conference detailsChristian Schneppe2-32/+69
2018-09-23preview media before sending them and allow sharing and attaching of ↵Christian Schneppe1-5/+46
multiple files
2018-09-11catch illegalargument exception when discovering extension from urlChristian Schneppe1-1/+6
2018-08-26try to catch out of memory exceptionChristian Schneppe1-1/+5
2018-07-09integrated locally message deletion from #208Christian Schneppe1-0/+11
thanks @acw81
2018-07-09persist muc avatar and show in bookmarksChristian Schneppe1-1/+1
2018-06-29WIP: set room avatar and slight redesign of group detailsChristian Schneppe1-0/+21
*show jid in group details (in advanced mode)
2018-06-16attach editor content as fileChristian Schneppe1-10/+1
2018-05-21set pragme secure delete properlyChristian Schneppe1-1/+1
2018-05-21explicitly set secure_delete pragma for SQLite databaseChristian Schneppe1-0/+1
Conversations stores sensitive data, such as SQLiteAxolotlStore tables, in its database. secure_delete=ON is the default for newer Android devices: https://android-review.googlesource.com/c/platform/external/sqlite/+/209123 However, older devices had it disabled by default, so any database created than has this setting disabled and it will not be updated automatically. Also, the default might be changed in the future (for example, to "FAST", added in 2017), so it is safer to set it explicitly.
2018-05-21move enabling of foreign key support to onConfigureChristian Schneppe1-8/+5
This way we avoid repeating the code. Unlike getWritableDatabase, onConfigure is intended to be overridden. In fact, onConfigure documentation specifically says: "Called when the database connection is being configured, to enable features such as write-ahead logging or *foreign key support*."
2018-05-17do not use trigger but delete message index entries manuallyChristian Schneppe1-83/+90
2018-05-17add primary key to fts tableChristian Schneppe1-2/+3
2018-05-17do not include body in simple status updates to not trigger fts updateChristian Schneppe1-1/+6