From 8e724e8a76a69754b2c42d11e24644a1a65b83d9 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sat, 24 Oct 2020 23:03:41 +0200 Subject: [PATCH 1/3] update changelog, add device message for 1.14 --- CHANGELOG.md | 41 +++++++++++++++++++ res/values/strings.xml | 1 + .../securesms/ConversationListActivity.java | 9 ++-- 3 files changed, 48 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af3c7d0ee..984e7afb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,46 @@ # Delta Chat Android Changelog +## v1.14.0 +2020-11 + +* new swipe-to-reply option +* disappearing messages: select for any chat the lifetime of the messages +* chat opens at the position of the first unseen message +* add known contacts from the IMAP-server to the local addressbook on configure +* direct forwarding to "saved messags" - save one tap and stay in context :) +* long tap in contact-list allows opening "profile" directly +* allow forwarding to multiple archived chats +* enable encryption in groups if preferred by the majority of recipients + (previously, encryption was only enabled if everyone preferred i) +* add explicit switches for handling background connections + at "Settings / Notifications" +* ask directly after configure for the permission to run in background + to get notifications +* speed up chatlist-view +* speed up configuration +* try multiple servers from autoconfig +* prefix log by a hint about sensitive information +* check system clock and app date for common issues +* prepare to remove screen lock as it adds only few protection + while having issues on its own +* improve multi-device notification handling +* improve detection and handling of video and audio messages +* hide unused functions in "Saved messages" and "Device chat" profiles +* remove unneeded information when copying a single message to the clipboard +* bypass some limits for maximum number of recipients +* fix launch if there is an ongoing process +* fix: update relative times in chatlist once a minute +* fix: hide keyboard when leaving edit-name +* fix: connect immediately to an account scanned from a qr-code +* fix errors that are not shown during configuring +* fix keyboard position on Android Q +* fix mistakenly unarchived chats +* fix: tons of improvements affecting sending and receiving messages, see + https://github.com/deltachat/deltachat-core-rust/blob/master/CHANGELOG.md +* update provider database and dependencies +* add Slovak translation, update other translations + + ## v1.12.5 2020-08 diff --git a/res/values/strings.xml b/res/values/strings.xml index a793db96a..121172f4d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -772,5 +772,6 @@ Requires a permanent notification Tap here to receive messages while Delta Chat is in the background. You already allowed Delta Chat to receive messages in the background.\n\nIf messages still do not arrive in background, please also check your system settings. + Some highlights of the 1.14 update:\n\n๐Ÿงน Swipe to reply: To answer a concrete message, just swipe it right (_not_ here! you cannot answer here :) You\'ll see a quote above the compose line and can continue writing your message as usual.\n\n๐Ÿ”ฅ Disappearing messages - the time has come :) Any chat can now be configured to delete sent and received messages after some time. Just select \"Disappearing messages\" from the chat\'s menu (again: _not_ here :)\n\n๐Ÿ‘† Chats open at first unseen message\n\n๐Ÿ’พ Forward things to \"Saved messages\" directly and faster (_this_ can be tried here: long-tap this message and then the arrow top-right :)\n\n๐ŸŽƒ Finally, we\'ve again frightened many bugs! Lots were so scared, they won\'t came back. diff --git a/src/org/thoughtcrime/securesms/ConversationListActivity.java b/src/org/thoughtcrime/securesms/ConversationListActivity.java index f3fd16fda..a1ea143ca 100644 --- a/src/org/thoughtcrime/securesms/ConversationListActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationListActivity.java @@ -31,6 +31,8 @@ import androidx.appcompat.widget.Toolbar; import androidx.appcompat.widget.TooltipCompat; import com.b44t.messenger.DcChat; +import com.b44t.messenger.DcContext; +import com.b44t.messenger.DcMsg; import com.google.zxing.integration.android.IntentIntegrator; import com.google.zxing.integration.android.IntentResult; @@ -87,9 +89,10 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit protected void onCreate(Bundle icicle, boolean ready) { // update messages - for new messages, do not reuse or modify strings but create new ones. // it is not needed to keep all past update messages, however, when deleted, also the strings should be deleted. - //DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT); - //msg.setText(getString(R.string.update_1_10_android) + "\n\n" + "https://delta.chat/en/2020-06-24-releases"); - //dcContext.addDeviceMsg("update_1_10b_android", msg); // addDeviceMessage() makes sure, messages with the same id are not added twice + DcContext dcContext = DcHelper.getContext(this); + DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT); + msg.setText(getString(R.string.update_1_14_android) + " https://delta.chat/en/download#changelogs"); + dcContext.addDeviceMsg("update_1_14j_android", msg); // addDeviceMessage() makes sure, messages with the same id are not added twice // create view setContentView(R.layout.conversation_list_activity); From 6e72932e11ea16cc61cd0b9b48d322ce79b4aa7a Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sun, 1 Nov 2020 01:08:13 +0100 Subject: [PATCH 2/3] bump version to 1.14.0 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 27e65001f..0d53556e9 100644 --- a/build.gradle +++ b/build.gradle @@ -89,8 +89,8 @@ android { } defaultConfig { - versionCode 594 - versionName "1.13.5" + versionCode 595 + versionName "1.14.0" applicationId "com.b44t.messenger" multiDexEnabled true From 4316354163f7ad26d071ffde33a871e59236c306 Mon Sep 17 00:00:00 2001 From: bjoern Date: Sun, 1 Nov 2020 01:18:49 +0100 Subject: [PATCH 3/3] Update res/values/strings.xml Co-authored-by: link2xt --- res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 121172f4d..0ce26a885 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -772,6 +772,6 @@ Requires a permanent notification Tap here to receive messages while Delta Chat is in the background. You already allowed Delta Chat to receive messages in the background.\n\nIf messages still do not arrive in background, please also check your system settings. - Some highlights of the 1.14 update:\n\n๐Ÿงน Swipe to reply: To answer a concrete message, just swipe it right (_not_ here! you cannot answer here :) You\'ll see a quote above the compose line and can continue writing your message as usual.\n\n๐Ÿ”ฅ Disappearing messages - the time has come :) Any chat can now be configured to delete sent and received messages after some time. Just select \"Disappearing messages\" from the chat\'s menu (again: _not_ here :)\n\n๐Ÿ‘† Chats open at first unseen message\n\n๐Ÿ’พ Forward things to \"Saved messages\" directly and faster (_this_ can be tried here: long-tap this message and then the arrow top-right :)\n\n๐ŸŽƒ Finally, we\'ve again frightened many bugs! Lots were so scared, they won\'t came back. + Some highlights of the 1.14 update:\n\n๐Ÿงน Swipe to reply: To answer a concrete message, just swipe it right (not here! you cannot answer here ๐Ÿ˜›) You\'ll see a quote above the compose line and can continue writing your message as usual.\n\n๐Ÿ”ฅ Disappearing messages ยญ- the time has come ๐Ÿ˜€. Any chat can now be configured to delete sent and received messages after some time. Just select \"Disappearing messages\" from the chat\'s menu (again: not here)\n\n๐Ÿ‘† Chats open at first unseen message\n\n๐Ÿ’พ Forward things to \"Saved messages\" directly and faster (this can be tried here: long-tap this message and then the arrow top-right)\n\n๐ŸŽƒ Finally, we\'ve again frightened many bugs! Lots were so scared, they won\'t come back.