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
Daniel Gultsch
afb7c0592b
display avatar in groups
2018-04-14 17:54:04 +02:00
Daniel Gultsch
9908af6286
sync roster to disk after roster push
2018-03-18 12:24:28 +01:00
Daniel Gultsch
ca625f1e8e
fix register account checkbox glitch
2018-03-13 11:54:34 +01:00
Daniel Gultsch
1accf9d961
migrate to xmpp-addr
2018-03-07 22:30:36 +01:00
Daniel Gultsch
78fd19195d
finished 'Set Status Message' dialog
2018-03-07 22:30:36 +01:00
Daniel Gultsch
c1c314f47a
delegate mime type from intent
2018-03-07 22:30:36 +01:00
Daniel Gultsch
b393f54a03
get rid of customizable resources
2018-03-07 22:30:35 +01:00
Daniel Gultsch
6650c0bd57
always copy firefoxe’s shared files
2018-02-12 12:31:59 +01:00
Daniel Gultsch
bcd00bb517
discover file extension in original filename from pgp
2018-01-29 01:40:02 +01:00
Daniel Gultsch
78c5c508b3
permanently cache last resolver result
2018-01-21 20:41:30 +01:00
Daniel Gultsch
c58fcb1dc6
create avatar in background thread
2017-12-16 14:22:57 +01:00
Daniel Gultsch
bb6d5463fe
use JPEG as file format for avatar and compress to <9400 chars
2017-12-15 20:49:48 +01:00
Daniel Gultsch
cc6a001ac2
remove NFC handling + let edit account handle own jids
2017-12-15 18:25:21 +01:00
Daniel Gultsch
9a796df2a3
add getAccountJids to DatabaseBackend
2017-12-11 15:56:15 +01:00
Daniel Gultsch
64dd622d32
make 'markable' attribute persistent
2017-11-25 20:55:43 +01:00
Daniel Gultsch
28e005f926
send and show read markers in private, non-anonymous groups
2017-11-20 11:26:20 +01:00
Daniel Gultsch
7e93f4519a
catch all RuntimeExceptions when using MetadataRetriever
2017-11-12 19:20:35 +01:00
Daniel Gultsch
f4638d7eec
catch some more exception when retrieving media runtime
2017-11-10 20:17:42 +01:00
Daniel Gultsch
459cf09f06
FileProvider: attempt to work with sd cards
2017-11-08 20:34:08 +01:00
Daniel Gultsch
ad6f6183b8
video processing: pick smaller file after transcoding. do not transcode very small files
2017-10-27 11:34:53 +02:00
Daniel Gultsch
50d436fd81
EventReceiver: use setting to store enabled accounts
2017-10-01 18:44:28 +02:00
Daniel Gultsch
bbfabaf930
FileBackend: close cursor after retrieving file size
2017-09-30 15:50:01 +02:00
Daniel Gultsch
30b6201b95
reworked file params to store audio runtime amoung other things
2017-09-19 22:42:22 +02:00
Daniel Gultsch
4e864935fe
ignore http upload file size constraints for videos that will be compressed
2017-09-18 22:42:25 +02:00
Daniel Gultsch
c2105dfe46
use lower resolution for videos longer than 8s
2017-09-18 11:54:14 +02:00
Daniel Gultsch
57c11d42d5
create a new axolotl service when the account jid changes
2017-08-10 22:34:03 +02:00
Daniel Gultsch
0da2f1ed3f
prevent users from editing their account jid after successful login
2017-08-10 22:34:03 +02:00
Daniel Gultsch
f5da4791ad
avoid unnecessary roster sync in OMEMO code. fixed startup performance regression
2017-07-29 13:50:32 +02:00
Daniel Gultsch
da87eac48e
provide upgrade path for accounts with publish-options
2017-07-18 12:51:15 +02:00
Daniel Gultsch
7a2856ac86
fetch required device ids on demand
2017-07-18 12:51:15 +02:00
Daniel Gultsch
dfa17d1339
more migration fixes for updating from 1.6.0 to 1.19.3
2017-07-14 10:34:01 +02:00
Daniel Gultsch
ea6b756c0f
fixed bug in db migrations when going from <15 to something recent
2017-07-13 19:28:16 +02:00
Daniel Gultsch
cbce73c301
fixed fingerprint trust (was messed up after library upgrade)
2017-06-25 18:18:13 +02:00
Daniel Gultsch
24768d051d
upgrade to signal-protocol-java. thanks @ysangkok
...
fixes #1384
closes #2509
2017-06-18 16:36:30 +02:00
Daniel Gultsch
51badfa721
enable forground service for sony smartphones by default
2017-06-02 13:00:20 +02:00
Daniel Gultsch
2cf05528b4
add the 4 most frequently contacted contacts as app shortcuts
2017-05-31 16:45:51 +02:00
Daniel Gultsch
2f577097d1
work around for brokens ROMs that expose file uris as notification sound
2017-05-13 08:10:47 +02:00
Daniel Gultsch
91db2023d3
use mam reference instead of timestamp
2017-05-07 21:05:35 +02:00
Daniel Gultsch
cc1402442a
don't load signed prekeys on startup
2017-05-04 11:03:58 +02:00
Daniel Gultsch
a5e15d5a10
code cleanup: made conversation property final in message object
2017-04-26 12:43:52 +02:00
Daniel Gultsch
9d043076e8
only take 1:1 conversations into account when determining catchup timestamp
2017-03-08 20:54:13 +01:00
Daniel Gultsch
c76b073b8e
do not sync thumbnail creation on cache. fixes #2283
2017-02-09 14:32:50 +01:00
Daniel Gultsch
d9e2ab62b2
add index to message.conversationUuid
2017-02-07 21:17:08 +01:00
Daniel Gultsch
6313c3c92e
Merge pull request #2270 from moparisthebest/master
...
Stop Conversations force closing over sqlite errors due to long messages
2017-02-07 17:35:25 +01:00
Daniel Gultsch
d7198bd68c
fixed rare npe when doing file migration
2017-02-07 10:20:13 +01:00
moparisthebest
2a34ece571
Stop Conversations force closing over sqlite errors due to long messages
2017-01-30 00:03:51 -05:00
Daniel Gultsch
a86b2fefd9
add database and file migrations for 1.16.0
2017-01-25 13:22:20 +01:00
Daniel Gultsch
66457c9f2e
transcode videos before sharing. change storage location
2017-01-24 20:17:36 +01:00
Daniel Gultsch
9b6ae6d75f
configurable local message retention period. (untested)
2017-01-23 17:14:30 +01:00
Daniel Gultsch
2c1d3ef968
fixed avatar republish missing the mime type
2017-01-12 12:20:10 +01:00
Daniel Gultsch
b116926bb1
unify getFileUri across share and open intents
2017-01-09 17:00:08 +01:00
Daniel Gultsch
4a299920dc
add overlay to indicate that image is gif
2017-01-03 14:05:10 +01:00
Michael Eden
5a670c88b0
Do not compress GIFs, allow GBoard to send GIFs
2017-01-01 16:16:35 -05:00
Daniel Gultsch
6b0242523b
Merge branch 'master' of https://github.com/Fenisu/Conversations into Fenisu-master
2016-12-02 11:25:14 +01:00
Daniel Gultsch
f0f2aab92d
made provider authorities relativ to deal with different package ids
2016-12-01 12:09:49 +01:00
Daniel Gultsch
d983f0bc71
fixed migrations from pre-btbv phase
2016-11-25 17:04:23 +01:00
Daniel Gultsch
7b99346a4b
when swiping don't clean startup counter entirely. just don't count last startup
2016-11-21 10:48:59 +01:00
Daniel Gultsch
b71aa6d3a4
remove omemo devices from annoucement after 7 days of inactivity
2016-11-19 21:39:16 +01:00
Daniel Gultsch
6362799d56
save last activation time in fingerprint status
2016-11-19 13:34:54 +01:00
Daniel Gultsch
7e2e42cb11
parse omemo fingerprints from uris
2016-11-17 20:09:42 +01:00
Daniel Gultsch
4d965e96ed
reset startup count when swiped away (only count kills)
2016-11-17 10:58:26 +01:00
Daniel Gultsch
e84af51272
distinguish between general i/o error and write exception when copying files
2016-11-15 15:43:04 +01:00
Daniel Gultsch
05fc15be3d
refactore trust enum to be FingerprintStatus class with trust and active
2016-11-14 22:27:41 +01:00