Commit Graph

2271 Commits

Author SHA1 Message Date
bjoern 76ec6bfd7d Merge pull request #1308 from deltachat/fix-npe
Fix Null-Pointer-Exception
2020-04-24 00:35:27 +02:00
bjoern 944e4bbe8c Merge pull request #1306 from deltachat/keep-default-account
tweak "switching" to already selected account
2020-04-24 00:34:16 +02:00
Hocuri faff17e1f1 Fix Null-Pointer-Exception 2020-04-23 20:55:48 +02:00
B. Petersen b2ed3d1775 in the account switcher, do nothing if switching no new account was selected
prevent switching accounts if the currently selected account was tapped,
just close the dialog in this case.
(ux wise, it is better to show the current account - to get some overview
and also to easily see what the current account is)
2020-04-23 13:38:18 +02:00
B. Petersen 316eb47399 update translations 2020-04-23 00:23:19 +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
cyBerta d511af9eab Merge pull request #1302 from deltachat/foreground-notification
permanent foreground notification
2020-04-21 18:48:07 +02:00
missytake 99a6673c67 Merge pull request #1303 from deltachat/update-docker-toolchain
updated docker toolchain
2020-04-21 14:37:12 +02:00
missytake 18c54ae18e updated docker toolchain 2020-04-21 13:10:14 +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 32bda482cd update deltachat-core-rust submodule 2020-04-17 16:21:30 +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 a51e0acbb9 tweak global-grep tool 2020-04-16 22:49:01 +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 9b1173b324 garbage collect unused DcContext objects 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
B. Petersen 16c5be5737 update deltachat-core-rust submodule 2020-04-16 11:16:31 +02:00
B. Petersen b2dbbe14e4 update translations 2020-04-15 00:37:17 +02:00
cyBerta cd4904e470 Merge pull request #1294 from deltachat/fix-rtl
force right-to-left item on right-to-left locales
2020-04-14 19:25:16 +02:00
B. Petersen 37eb2fbce1 Revert "update deltachat-core-rust submodule"
This reverts commit d4e5b4fc83.
2020-04-14 01:34:24 +02:00
B. Petersen d4e5b4fc83 update deltachat-core-rust submodule 2020-04-14 00:50:59 +02:00
B. Petersen 1d9d2148f6 update translations 2020-04-11 17:58:56 +02:00
B. Petersen c0aa96e836 force right-to-left item on right-to-left locales
fix is needed only for the first settings item, that is owner-drawed.
the other standard items were already correct.
2020-04-11 14:11:55 +02:00
bjoern ce30ed80b2 Merge pull request #1291 from deltachat/add-indonesian
add indonesian and persian (farsi)
2020-04-11 14:10:54 +02:00
B. Petersen b1e95ab81c add persian (farsi) translation 2020-04-10 10:38:01 +02:00
B. Petersen 9fbde7cdf3 add indonesian translation
indonesian is "id" as ISO 639-1 code,
however, Android resp. Java uses "in".

see eg. https://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android
or https://issuetracker.google.com/issues/36908826
2020-04-09 19:17:27 +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
bjoern b301fee867 Merge pull request #1256 from deltachat/existing-password
sign-in vs. sign-up
2020-04-08 12:49:08 +02:00
B. Petersen 80dc60a222 improve wording to make more clear, this is sign-in, not-sign up 2020-04-08 12:48:02 +02:00
bjoern fca1ccae0c Merge pull request #1285 from deltachat/result-counter
add result counters to in-chat and local-help searches
2020-04-07 16:53:04 +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 86e5e16bcd Merge pull request #1280 from deltachat/in-chat-search
in chat search
2020-04-05 16:35:24 +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