Commit Graph

2406 Commits

Author SHA1 Message Date
B. Petersen 267b3c8a75 delete unused dc_msg notification channels 2020-05-25 13:38:53 +02:00
B. Petersen 6c7a17ac41 steamline notification channel names 2020-05-25 13:38:53 +02:00
B. Petersen 6865d812d0 group notifications 2020-05-25 13:38:53 +02:00
B. Petersen b46fea9529 rename MsgNotificationManager to NotificationCenter 2020-05-25 13:38:53 +02:00
B. Petersen 1e60eb9c1a just use defaults for led-pattern, it is no longer supported since andoid8; in-chat sounds are independent from global-notification-switch 2020-05-25 13:38:52 +02:00
B. Petersen fd4404c1e3 allow chat-specific sounds+vibrate by creating channels as needed 2020-05-25 13:38:52 +02:00
B. Petersen 0c6edfb44f just delete all unused channels 2020-05-25 13:38:52 +02:00
B. Petersen 9563000da7 set sound/vibrate/led for systems <androidO 2020-05-25 13:38:52 +02:00
B. Petersen 14289db25d make basic notifications work 2020-05-25 13:38:52 +02:00
B. Petersen 48f1693420 move in-chat sounds to InChatSounds class 2020-05-25 13:38:52 +02:00
B. Petersen 84c35c7483 replace global calls to MessageNotifierCompat with MsgNotificationManager 2020-05-25 13:38:51 +02:00
bjoern 2fe02d616e Merge pull request #1382 from deltachat/fix-ndk-make
really use the toolchain defined in the core-rust-submodule
2020-05-23 17:24:48 +02:00
bjoern 83b69bbe75 Merge pull request #1381 from deltachat/fix-markseen
fix marking incoming message as being seen
2020-05-23 16:30:58 +02:00
B. Petersen c5cc6c609b really use the toolchain defined in the core-rust-submodule 2020-05-23 16:08:31 +02:00
B. Petersen 1e34375a64 fix marking incoming message as being seen
before, messages were only maked as seen after the chat was entered
or after some scrolling takes place.

if a user was inside a chat, reading the last incoming message,
that did not sent out markseen (unless, some scrolling was done,
which, honestly, is often the case)

this commit starts the markseen-bouncer also when the chatlist is reloaded
(true eg. on incoming messages) - but this is not done when the
list is paused (eg. screen is off or some other fragment/dialog above)
2020-05-23 15:34:04 +02:00
bjoern 1fb4514781 Merge pull request #1379 from deltachat/fix-selection
fix showing selected chats
2020-05-23 13:13:05 +02:00
B. Petersen 1f3ac36edb fix showing selected chats
this bug was introduced some days ago at adce890bef
by declaring chatId as "int" instead of "long", which is formally correct,
however, int many parts of the code, the chatId is "long" -
as for the set of selected chats:
checking that set for an "int" always returns false ...

i first wanted to change all the sets to use int instead of long,
however, this would require lots of lines to be change -
keeping in mind that this seems to be very sensitive,
and use "long" for the chatId in ConversationListItem.

doing a larger refactoring of Long to Int has the potential to introduce more bugs,
things are not that intuitive in this area -
i would also not have exected that i cannot query a set of longs using an integer,
when using primitives (i know, they are converted implicitly to objects :)
2020-05-22 16:53:37 +02:00
bjoern 0723dbf9e3 Merge pull request #1376 from deltachat/fix-typo
fix typo
2020-05-22 12:04:28 +02:00
bjoern 2d9aee956e Merge pull request #1375 from deltachat/migrate-muting
Migrate muting to core functions
2020-05-22 00:08:48 +02:00
B. Petersen a2c2c6508b fix typo 2020-05-21 22:33:01 +02:00
B. Petersen 534bccb2f7 update translations 2020-05-21 22:28:30 +02:00
Hocuri dc32481764 Migrate muting to core functions 2020-05-21 10:24:29 +02:00
bjoern 2ce8747cac Merge pull request #1356 from deltachat/fix-mute-multiaccount
Use the mute functions of the core
2020-05-21 01:16:51 +02:00
B. Petersen 8791e8017b remove duplicated mute-icon; it is set by the caller, together with verified-icon, in ConversationListItem::bind() 2020-05-21 01:10:55 +02:00
B. Petersen 8b19b81c5b save one db-roundtrip on every chatlist-item 2020-05-21 00:26:45 +02:00
Hocuri adce890bef Continue using the core functions for muting 2020-05-20 23:51:25 +02:00
Hocuri 40e24c3a39 Start transitioning to the mute functions of the core 2020-05-20 23:51:25 +02:00
bjoern 2eca2330a9 Merge pull request #1373 from deltachat/standards-moved
standards.md has been moved to the core
2020-05-20 22:39:18 +02:00
B. Petersen f8f184401e standards.md has been moved to the core 2020-05-20 17:40:22 +02:00
bjoern f1c1d2c229 Merge pull request #1370 from deltachat/exoplayer_version
bump exoplayer version to 2.9.6 becaus of some fixes that apply to us
2020-05-19 12:21:11 +02:00
Angelo Fuchs 18f39dff81 #1161 bump exoplayer version to 2.9.6 becaus of some fixes that apply to us. 2020-05-18 17:05:53 +02:00
B. Petersen 2b37e9091e update deltachat-core-rust submodule 2020-05-18 13:13:02 +02:00
B. Petersen 88930b4fac typo 2020-05-14 13:38:19 +02:00
B. Petersen 431a902d98 changelog 2020-05-14 02:20:57 +02:00
bjoern 5646fc50bc Merge pull request #1362 from deltachat/prep-1.8.1
bump version
2020-05-14 02:13:22 +02:00
B. Petersen 2879a70189 bump version 2020-05-14 02:12:05 +02:00
bjoern ffc3abf450 Merge pull request #1361 from deltachat/fix-avatar
do not delete the group-avatar on editing group-name
2020-05-14 02:00:25 +02:00
B. Petersen 6f2a40ecb3 do not delete the group-avatar on editing group-name 2020-05-14 01:59:52 +02:00
B. Petersen bc9145317e update deltachat-core-rust submodule 2020-05-14 01:16:14 +02:00
bjoern cae84be86d Merge pull request #1360 from deltachat/revert-1277-notifyswipednotread
Revert "Fix #999 swiping a notification away should not mark things as "noticed""
2020-05-13 23:44:09 +02:00
bjoern 290b7954f7 Revert "Fix #999 swiping a notification away should not mark things as "noticed"" 2020-05-13 23:40:36 +02:00
bjoern 7d9596666b Merge pull request #1355 from deltachat/improve-workmanager
Update WorkManager.
2020-05-12 13:45:54 +02:00
bjoern 792a49db2c Merge pull request #1350 from deltachat/fix-sharing-draft-filename
Fix #1347 Draft file name "Unknown".
2020-05-12 13:45:04 +02:00
Hocuri 502b9b85a2 Update WorkManager.
Fix (maybe) #1354 because recently they "Fixed a bug where if a Worker was interrupted, it would not get rescheduled correctly.", see https://developer.android.com/jetpack/androidx/releases/work#version_233_3.
2020-05-12 13:02:12 +02:00
Hocuri f26bb5b99c Catch exception instead of checking for null 2020-05-12 11:14:44 +02:00
bjoern de2159ed75 Merge pull request #1351 from deltachat/clarify-readme
clarify that newer ndk versions will likely work
2020-05-11 16:08:20 +02:00
Hocuri a559ca9228 Prevent NPE 2020-05-11 14:07:36 +02:00
B. Petersen d8b88ac4e4 clarify that newer ndk versions will likely work 2020-05-11 14:01:36 +02:00
Hocuri da536f1ed9 Fix #1347 Draft file name "Unknown".
getManuallyCalculatedSlideInfo() in AttatchmentManager sometimes failed to get a file name. Now, in this case, it is just extracted from the uri.
2020-05-11 11:37:52 +02:00
bjoern 67d245a2a8 Merge pull request #1349 from deltachat/prep-1.8
prep 1.8
2020-05-11 01:16:01 +02:00