Daniel Gultsch
52afcac230
mark deleted files in database and not query them when querying for media
2019-01-10 14:52:27 +01:00
Daniel Gultsch
96e3546904
put images into MessageStyle notifications
2019-01-09 12:47:09 +01:00
Daniel Gultsch
3eaa48fa46
added epub and azw mime types. try to resolve application/octet-stream by file extension instead. added preview icons for ebooks
2018-12-22 13:02:45 +01:00
Daniel Gultsch
ae9bfe1643
limit video transcoding to api >= 18 and other api 16 fixes
2018-12-10 13:58:05 +01:00
Daniel Gultsch
bcfd3f20c2
postpone prekey removal and republish to after mam
2018-12-05 10:42:56 +01:00
Daniel Gultsch
c02676ea4c
implement self healing omemo
...
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-12-02 14:41:29 +01:00
Daniel Gultsch
f1e1c4a78d
keep track of previously edited ids
2018-12-01 15:52:44 +01:00
Daniel Gultsch
45dba15376
one time migration for existing quicksy account to set magic create flag
2018-11-25 20:47:50 +01:00
Daniel Gultsch
6d67854086
catch cursor window allocation exception
2018-11-13 09:58:28 +01:00
Daniel Gultsch
3e1d01798c
refresh synced contacts even if offline
2018-10-31 13:33:55 +01:00
Daniel Gultsch
18752a5c58
write null bitmap to imageview to replace asyncdrawable
2018-10-24 20:00:56 +02:00
Daniel Gultsch
284861de65
Do not attempt to draw overlay on null bitmap
2018-10-07 13:44:20 +02:00
Daniel Gultsch
70845c5e95
do not compress/resize images with strange aspect ratios. fixes #3188
2018-09-22 16:51:00 +02:00
Daniel Gultsch
1985f6bdec
store avatars received over muc presence in contact
2018-09-21 12:27:58 +02:00
Daniel Gultsch
bd128335d3
do not show media overview in contact/conference details when missing storage permission
2018-09-17 21:24:25 +02:00
Daniel Gultsch
7a0c53aa71
introduce media browser activity
2018-09-15 21:10:17 +02:00
Daniel Gultsch
06972ec95c
show conversation media in contact/conference details
2018-09-15 19:38:45 +02:00
Daniel Gultsch
3608b0eb44
WIP: preview media before sending them
...
Note that this commit breaks a few things in that non video/image do not work and sharing media isn’t currently using the new mechanism either
2018-09-11 09:56:32 +02:00
Daniel Gultsch
f533e526fb
catch illegalargument exception when discovering extension from url
2018-09-01 16:56:20 +02:00
Daniel Gultsch
8f057a0c95
try to catch out of memory exception
2018-08-18 18:13:51 +02:00
Daniel Gultsch
49d5c1eb52
only look at inner 70% to calculate overlay
2018-07-01 12:06:09 +02:00
Daniel Gultsch
55fcda3cee
use dark play/gif button as overlay when image is mostly light
2018-06-30 17:52:34 +02:00
Daniel Gultsch
dfb95f0a84
persist muc avatar and show in bookmarks
2018-06-30 13:35:17 +02:00
Daniel Gultsch
d7ebd7d453
WIP: set room avatar and slight redesign of group details
2018-06-18 14:15:19 +02:00
Daniel Gultsch
258c7d1b3b
attach editor content as file
2018-06-06 19:59:30 +02:00
Daniel Gultsch
a149f0db27
set pragme secure delete properly
2018-05-20 18:01:47 +02:00
Alexander
df64d965a0
explicitly set secure_delete pragma for SQLite database ( #3039 )
...
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-20 16:50:27 +02:00
Alexander
9bff9900d1
move enabling of foreign key support to onConfigure ( #3038 )
...
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-20 15:54:56 +02:00
Daniel Gultsch
be579332be
do not use trigger but delete message index entries manually
2018-05-17 20:17:00 +02:00
Daniel Gultsch
b0db88c405
add primary key to fts table
2018-05-10 11:28:09 +02:00
Daniel Gultsch
5b41906328
do not include body in simple status updates to not trigger fts update
2018-05-10 10:47:28 +02:00
Daniel Gultsch
e84a65bc86
do not load conversations with null jid
2018-05-09 11:09:01 +02:00
Daniel Gultsch
78b56bb904
don’t scall images to a 0 width or height
2018-05-07 11:13:46 +02:00
Daniel Gultsch
6fe5c5e770
handle invalid image bounds
2018-05-03 15:38:48 +02:00
Daniel Gultsch
2505ac8b77
only search text messages
2018-05-01 09:58:43 +02:00
Daniel Gultsch
27f31446c0
search term parsing + highlighting
2018-04-30 17:09:55 +02:00
Daniel Gultsch
542a06f08a
creat fts table
2018-04-30 16:06:27 +02:00
Daniel Gultsch
2390839c21
get video dimensions from bitmap instead of meta data
2018-04-30 09:22:59 +02:00
Daniel Gultsch
287c416dac
hard code ogg + audio/ mime type to oga
2018-04-29 15:19:13 +02:00
Daniel Gultsch
e6feb91390
properly cancel pending searchs and scroll to bottom after refresh
2018-04-26 17:02:31 +02:00
Daniel Gultsch
35020702fb
very much unoptimized search functionality
2018-04-26 13:22:31 +02:00
Daniel Gultsch
e2ff51db08
add debug output to how many messages were deleted
2018-04-25 19:32:43 +02:00
Daniel Gultsch
de0de48448
allow to delete voice recordings
2018-04-23 20:27:54 +02:00
Daniel Gultsch
2f974c3eb2
integrate voice recorder
2018-04-22 20:31:37 +02:00
Daniel Gultsch
fc62cbbc52
fixed updating of server message id after dedup
2018-04-21 19:35:25 +02:00
Daniel Gultsch
b501f4cf72
search for muc pms when fetching last mam reference
2018-04-21 16:57:29 +02:00
Daniel Gultsch
5272421678
create avatar path before saving avatar
2018-04-18 12:41:16 +02:00
Daniel Gultsch
9f34e53b98
replace use file as is blacklist with general don't use app data rule
2018-04-16 09:25:41 +02:00
Daniel Gultsch
be5e39a440
get real file name for files shared from Conversations
2018-04-15 17:10:50 +02:00
Daniel Gultsch
93f405d9a1
add fdroid fennec to use file as is blacklist
2018-04-15 15:05:04 +02:00