Commit Graph

1180 Commits

Author SHA1 Message Date
Hocuri faff17e1f1 Fix Null-Pointer-Exception 2020-04-23 20:55:48 +02:00
bjoern 27c9de0df1 Merge pull request #1298 from deltachat/multi-account
multi account
2020-04-21 19:06:04 +02:00
cyBerta 1807af277a Merge pull request #1301 from deltachat/fix-autodel-cancel
discard (accidental) taps outside the autodel-confirmation dialog
2020-04-21 18:48:37 +02:00
B. Petersen 9d9fbb6e98 remove now unneeded ScreenReceiver 2020-04-21 12:34:10 +02:00
B. Petersen d1d8e3def6 show foreground notification unconditionally
the foreground notification is an important element
that avoids the system from killing the app.

in the past, we added the foreground notification when the screen turns off
and removed it when the screen turns on again -
the reason was that the notification does not annoy users this way.

meanwhile, however, it seems that this approach is no longer as reliable
as in the past. might be that we are killed before the screen turns off -
or that some handlers are not executed by some systems.

also meanwhile, even the "allow to run in background" resp.
"allow battery consumption" seems to be unreliable on various systems,
there are several reports eg. on stackoverflow that apps are killed anyway -
but a foreground notification is not known to be killed yet -
also as the api contract is about to avoid exactly that.

finally, this notification is also a good methor for users
to notice if the app gets killed -
so that they can blame the system then.

therefore, the annoying of the permanent notification
is probably the smaller drawback compared to
received messages delayed.
2020-04-21 12:19:21 +02:00
B. Petersen 132a2d5d1d discard (accidental) taps outside the autodel-confirmation dialog 2020-04-20 22:19:10 +02:00
B. Petersen ba97236f7d tune down multi-account, move to settings/advanced, quick switch via long-click on fab-icon 2020-04-17 01:34:51 +02:00
B. Petersen 5edba751d7 on account-switching, force finishing all activities 2020-04-17 00:45:03 +02:00
B. Petersen a0bc2869d7 move switch-account-alerts to AccountManager 2020-04-17 00:15:12 +02:00
B. Petersen 4037d6d16f delete databases more carefully 2020-04-16 16:40:17 +02:00
B. Petersen dfe209610b clearer naming 2020-04-16 16:36:50 +02:00
B. Petersen d02883a59a fix back-button-behaviour by always setting the current-database as 'previous', even if value was not saved before; see comment from @cyberta 2020-04-16 15:54:39 +02:00
B. Petersen b4237b2308 use radio-buttons for account selection, streamline dialogs 2020-04-16 14:10:23 +02:00
B. Petersen d3040ebaf4 implement account deletion 2020-04-16 12:19:47 +02:00
B. Petersen 90cc27dba2 show currently selected account in switch menu 2020-04-16 12:19:47 +02:00
B. Petersen 04668336ad implement account adding and switching 2020-04-16 12:19:46 +02:00
B. Petersen 96f1c49ea7 basic switch implementation 2020-04-16 12:19:46 +02:00
B. Petersen 86ed4ee8e7 add basic switch menu 2020-04-16 12:19:46 +02:00
B. Petersen bf6607ee4f add menu entry and experimental optinon for account switching 2020-04-16 12:19:46 +02:00
bjoern 48d30a665d Merge pull request #1282 from deltachat/dialogclickablelinks
Make the links in the dialog clickable (needed for Yandex)
2020-04-08 21:40:38 +02:00
B. Petersen 9dbf824432 add result counter to local-help-search 2020-04-07 13:20:45 +02:00
B. Petersen 06432a3f00 add result counter to in-chat-search 2020-04-07 13:20:45 +02:00
bjoern 6ad435f93d Merge pull request #1275 from deltachat/shareonlytosendable
In direct sharing, propose only chats we can send to, fix #1274
2020-04-05 17:56:50 +02:00
bjoern f19c4ec910 Update src/org/thoughtcrime/securesms/mms/AttachmentManager.java
much better, thanks!

Co-Authored-By: Hocuri <18012815+Hocuri@users.noreply.github.com>
2020-04-05 16:35:11 +02:00
bjoern 8e1aca8ac3 Update src/org/thoughtcrime/securesms/ConversationAdapter.java
thanks!

Co-Authored-By: Hocuri <18012815+Hocuri@users.noreply.github.com>
2020-04-05 16:34:19 +02:00
bjoern b7a72032b9 Update src/org/thoughtcrime/securesms/ConversationActivity.java
makes sense

Co-Authored-By: Hocuri <18012815+Hocuri@users.noreply.github.com>
2020-04-05 16:32:41 +02:00
B. Petersen ab6fa55867 add scroll to first/last entry on empty search 2020-04-05 12:14:53 +02:00
B. Petersen 158d272419 hide 'add attachment' in chats that cannot send messages 2020-04-05 11:59:34 +02:00
Hocuri ef2fa1e1ae In direct sharing create list using DC_GCL_FOR_FORWARDING|DC_GCL_NO_SPECIALS 2020-04-05 10:33:35 +02:00
Hocuri 55192a4b13 Make the links in the dialog clickable (needed for Yandex) 2020-04-05 10:25:46 +02:00
B. Petersen 0a3dee4573 implement in-chat-search 2020-04-05 01:40:21 +02:00
B. Petersen 2ae7e8896b longer hiliting of search result 2020-04-05 01:31:51 +02:00
B. Petersen 4af6fea84d hide input field and attachment draft when opening in-chat search 2020-04-04 20:23:48 +02:00
B. Petersen e60345d817 add basic in-chat control 2020-04-04 19:49:32 +02:00
B. Petersen 4e3345a912 make in-chat-menu more flexible 2020-04-04 19:06:26 +02:00
B. Petersen 62ee8530f2 add up/down buttons to search 2020-04-04 16:42:38 +02:00
B. Petersen 39bc508a31 remove unused search xml files 2020-04-04 14:09:53 +02:00
B. Petersen 4342b8fa96 implement searching in local-help 2020-04-04 13:06:15 +02:00
cyBerta 9e03e391cf Merge pull request #1273 from deltachat/sharetochatfix
Fix #1028, make sharing directly to a chat work always
2020-04-02 15:12:42 +02:00
bjoern 0618cbc110 Merge pull request #1257 from deltachat/autodelete
autodelete messages from server
2020-04-01 20:25:14 +02:00
Hocuri 76ce11aa76 Code dedup in ConversationListActivity by introducing refresh() method 2020-04-01 19:44:51 +02:00
B. Petersen 4f21538c20 make qr-accout-setup localizable 2020-03-31 20:29:10 +02:00
Hocuri 398bc8381b In direct sharing, propose only chats we can send to 2020-03-30 11:04:53 +02:00
Hocuri 676d0bcd15 Fix #1028, make sharing directly to a chat work always 2020-03-30 10:14:33 +02:00
B. Petersen 3ba5681a50 show auto-delete state in settings-summary 2020-03-28 22:01:47 +01:00
B. Petersen bf314f57bf wording 2020-03-28 22:01:47 +01:00
B. Petersen 922a5c044f show number of messags that will be affected by deletion 2020-03-28 22:01:47 +01:00
B. Petersen bcacc09449 show details about what will happen and get confirmation 2020-03-28 22:01:46 +01:00
B. Petersen eb9a759314 add options for autodel-server and autodel-device 2020-03-28 22:01:46 +01:00
bjoern 091a049f7a Merge pull request #1266 from deltachat/less-clicks
less clicks on save-message and start-chat
2020-03-11 22:10:19 +01:00