Commit Graph

4779 Commits

Author SHA1 Message Date
B. Petersen ae665dbfb4 typo 2023-10-31 00:20:35 +01:00
B. Petersen 98fdc42255 update translations 2023-10-31 00:20:35 +01:00
Asiel Díaz Benítez d612ac6e2b Merge pull request #2779 from deltachat/adb/issue-2773
see all contact list in verified groups "add member", explain why they can't be added
2023-10-30 18:45:21 -04:00
B. Petersen c9123dfd06 reword 2023-10-30 23:24:08 +01:00
adbenitez 74821f3234 see all contact list in verified groups, explain why they can't be added 2023-10-30 21:36:43 +01:00
bjoern 5ef66807a2 prepare 1.41.2 (#2777)
* update CHANGELOG, core part

* update release-checklist

* update CHANGELOG, android part

* bump version to 1.41.2
2023-10-30 20:32:36 +01:00
Asiel Díaz Benítez 095dcb3e47 Merge pull request #2778 from deltachat/adb/issue-2774
remove QR button in group creation screen
2023-10-30 14:35:47 -04:00
adbenitez 30bca270e1 remove QR button in group creation screen 2023-10-30 19:11:31 +01:00
B. Petersen 4439103266 update deltachat-core-rust to 'chore(release): prepare for 1.127.2' of 'v1.127.2' 2023-10-30 17:23:56 +01:00
B. Petersen 417c2fc9db update translations 2023-10-30 14:20:38 +01:00
B. Petersen 6cbc1b4ddd an added contact becomes a member
it does not really make sense to say what a member needs to be to become a member :)
2023-10-29 20:28:44 +01:00
B. Petersen a4026701a6 stay closer to wording of faq 2023-10-29 20:17:47 +01:00
B. Petersen cce766c827 'verified chats' are no longer experimental
we do no longer regard them as experimental.
they are here to stay.
2023-10-29 20:17:47 +01:00
B. Petersen 250cf0f422 show verifier name+address 2023-10-29 20:15:48 +01:00
Asiel Díaz Benítez cf0a145532 Merge pull request #2765 from deltachat/adb/issue-2763
allow to deactivate QR codes
2023-10-29 12:27:37 -04:00
Asiel Díaz Benítez 672225bab4 Merge pull request #2766 from deltachat/adb/issue-2764
fix avatar letter misplacement
2023-10-29 12:27:19 -04:00
B. Petersen 30b10fed22 fix missing abostrophe
(it is added by transifex ui,
however, the translator seems to use a different tool that messed that up)
2023-10-29 16:14:16 +01:00
B. Petersen f99e8cd957 update translations 2023-10-29 11:13:49 +01:00
adbenitez 34bd7500c3 fix avatar letter misplacement 2023-10-29 01:24:20 +02:00
adbenitez 80702a5248 allow to deactivate QR codes 2023-10-29 01:12:31 +02:00
bjoern 232c5607e7 remove scan-qr-button from protection-ok-dialog, fix url (#2762)
* remove scan-qr-button from protection-ok-dialog

there is no need to push ppl to re-scan a qr-code at this point
(in contrast to protection-broken-dialog)

* fix url
2023-10-27 20:24:55 +02:00
bjoern e029c9746d update translations (#2761)
* pull translations

* pull translations after pushing new strings
2023-10-27 17:25:06 +02:00
Hocuri ee966f9006 Merge the verified-1:1 commits into main (#2752)
* Verified 1:1 chats, Android UI (#2560)

Depends on https://github.com/deltachat/deltachat-core-rust/pull/4315/.

Follow-up for https://github.com/deltachat/deltachat-android/pull/2541.

- Show a "verified" icon on protection changed update messages
- Add C API
- Show a dialog over the input bar not only for contact requests, but also when the protection is broken (using the new method `isHalfBlocked()`)
  - The positive button reads "OK" (as opposed to contact requests where it reads "Accept")
- Add SVG icons, remove PNG one
- Translations
- When tapping on the `DC_INFO_PROTECTION_{EN|DIS}ABLED` message, show more information (for now, it leads to the online preview of my FAQ PR)
- Block loading remote images in the "Full Msg View" not only for contact requests, also when the protection is broken (using the new method `isHalfBlocked()`)
- Show a big verified/crossed-out-verified symbol over the `DC_INFO_PROTECTION_{EN|DIS}ABLED` messages
- Fix a bug that was kind of present before (for contact requests) but only became really visible now:
  - Set a draft with an image (or other attachment)
  - Your chat partner breaks verification
  - Expected: Both the input bar and the draft image are hidden by the input-bar-dialog.
  - Bug behavior (before c31de5bcf): The input bar is hidden, but the draft image stays visible.

* change button order of verification-broken alert (#2621)

Having "OK" in the middle of the buttons is weird. The old order was:

```
End-to-end encryption cannot...
[More Info]  [OK] [Scan QR code]
```

1. _If_ the main purpose of the dialog would be to "Scan QR code",
   the text should point that out more, also the opening button.
   Then, the button position would be correct, however,
   it has to read "Cancel" then.

2. _However_, the main purpose of the dialog is to "Show Info",
   "Scan QR code" is only an optional offering and the button a shortcut only.
   And finishing "Show Info" is better done by a simple "OK".
   Then, the "OK" should be rightmost.

This PR implements the second option, the buttons read as follows afterwards:

```
End-to-end encryption cannot...
[More Info]  [Scan QR code] [OK]
```

* fix: load updated display name when chat protection breaks

* Implement feature flag for verified 1:1 chats

* Update res/values/strings.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* Update src/org/thoughtcrime/securesms/connect/DcHelper.java

* Make another AlertDialog

* Revert "Implement feature flag for verified 1:1 chats"

This reverts commit 2efd17edfcf14e3cf89a6671df38647b552e5661.

* Fix typo

* email server->email provider

---------

Co-authored-by: bjoern <r10s@b44t.com>
Co-authored-by: adbenitez <asieldbenitez@gmail.com>
2023-10-27 17:02:29 +02:00
Asiel Díaz Benítez 1b3a13a0fa Merge pull request #2760 from Vinay0508/patch-1
doc(README): remove typo
2023-10-26 14:32:38 -04:00
Asiel Díaz Benítez 48bb0b8b00 Update README.md 2023-10-26 14:30:10 -04:00
Asiel Díaz Benítez cebd738f34 Update README.md 2023-10-26 14:29:56 -04:00
Vinay0508 4558a13e8b doc(README): remove typo 2023-10-26 23:50:35 +05:30
Asiel Díaz Benítez 5fff395a9f Merge pull request #2753 from deltachat/hoc/adb/improve-mailto-handling
Merge "improve mailto Intent handling in ShareActivity" into main
2023-10-26 14:14:29 -04:00
B. Petersen 91cc1f6c67 remove unused stockstrings (the numbers refer to DC_STR_PROTECTION_ENABLED|DISABLED_BY_YOU|OTHER which do no longer exist in deltachat.h) 2023-10-26 20:09:50 +02:00
link2xt 87d69c9a86 Remove unused osName argument from DcAccounts constructor 2023-10-26 20:09:50 +02:00
link2xt 1a13224ad2 Update to the new dc_accounts_new() API 2023-10-26 20:09:50 +02:00
B. Petersen 6d1d33ad25 update deltachat-core-rust to 'chore(release): prepare for 1.127.0' of 'v1.127.0' 2023-10-26 20:08:28 +02:00
B. Petersen 2e36609b6f always open account switcher from main title bar
avatar and title appears as one unit to the user;
doing different things on taps in the avatar (open account switcher)
and the title (open connectivity)
is confusing - and also easily done wrong.

this pr always opens the account switcher;
to get to the connetivity view,
there is a static button inside the account switchter.
2023-10-25 23:46:13 +02:00
B. Petersen 4d4a64e64e update deltachat-core-rust to 'chore(release): prepare for 1.126.1' of 'v1.126.1' 2023-10-25 18:00:50 +02:00
adbenitez f0b2a9f2ad use CONFIG_CONFIGURED_ADDRESS instead of CONFIG_ADDRESS 2023-10-24 18:00:44 +02:00
Hocuri 616f05e60e Add regression test 2023-10-23 15:47:22 +02:00
adbenitez 8df57da27b improve mailto Intent handling in ShareActivity 2023-10-23 15:47:00 +02:00
Asiel Díaz Benítez 7677c260d7 Merge pull request #2751 from deltachat/link2xt/flake.nix-sdk-33
Update SDK in flake.nix
2023-10-22 16:22:40 -04:00
Asiel Díaz Benítez 115c5d4dd9 Merge pull request #2750 from deltachat/adb/remove-isLandscape-attr
remove unnecessary attribute isLandscape
2023-10-22 16:21:10 -04:00
link2xt 8bab58f1da Update SDK in flake.nix 2023-10-22 20:18:57 +00:00
adbenitez d2d1a0edb4 remove unnecessary attribute isLandscape 2023-10-22 19:07:05 +02:00
Asiel Díaz Benítez 676e79a43f Merge pull request #2748 from deltachat/adb/issue-2747
do oauth and provider info checks in background
2023-10-22 08:21:16 -04:00
adbenitez 06dae66eac remove unused updateProviderInfo(DcProvider) 2023-10-21 01:31:56 +02:00
Asiel Díaz Benítez d713ab42d2 Update src/org/thoughtcrime/securesms/RegistrationActivity.java
Co-authored-by: bjoern <r10s@b44t.com>
2023-10-20 19:25:59 -04:00
Asiel Díaz Benítez 962e46a1cf Update src/org/thoughtcrime/securesms/RegistrationActivity.java
Co-authored-by: bjoern <r10s@b44t.com>
2023-10-20 19:20:51 -04:00
B. Petersen 9562f4089f use 'Verified by me' instead 'Verified by you'
when talking about this function,
it is most times called 'Verified by me'.

this also makes translations easier to languages that
have diferent forms (as 'Du' vs. 'Sie' in german)

even though, we're most times using 'You' when the 'App talks to you',
we have some exceptions as 'Me' in the summary already,
where the 'You' does not work well.

(we leave the key as is, this is not really shown to translators anyways,
better key might be 'verified_by_self', however, it is not worth
opening this issue as the key is already in use -
and it is also not needed to force retranslation,
locales should use what fits and sounds best, may it be 'Me' or 'You')
2023-10-20 15:48:25 +02:00
B. Petersen ba01f1751f update translations 2023-10-20 15:48:25 +02:00
bjoern 2d01fd9b6f sending reactions (#2680)
* add basic reaction view

* reuse pill background

* make pill border a little more visible; this affects sended reactions as well as received ones

* use 🤣 instead of 😂 to differ more from 😢

also, 😂 is a bit outdated for younger generations
(so is probably 🤣 but not that much)
(alternative would be 💀 for laughing,
but that is probably not compatible between generations)

* use 🙁 instead of 😢 for 'sad' to distict from lol

lol gets revered to 😂 as
🤣 seems to be even a more non-go (thanks for expertise, young folks!)

* wording: we add one reaction, not many

* show/hide add-reaction-view together with action mode

* pass message&view to showAddReactionView()

* add sendReactions() api

* create AddReactionView class

* send reactions on click

* hide AddReactiobView on sending emoji

* detect self-reaction

* feat: remove selections

* position AddReactionView atop of parent view

* move AddReactionView up a bit

* padding top/bottom

* center for now, this also postpones rtl/ltr

* force initial layout

* move slightly more off the bubble, keep away a bit from screen margin

* move AddReactionsView left/right depending on incoming/outgoing mails

* do not allow reactions in read-only chats

* do not allow to react to videochat-invitations and info; the latter may makes sense at some point, however, to lower burder on other implementations, we do not send them for now

* hide reaction-picker when leaving action mode with 'back'

* hide reaction-picker when leaving action mode with 'back'

* scroll reaction-panel together with recyclerview; this does not happen if new messages come in, however, this is a minor (and a stable panel position can be regarded even as a feature)

* add sending reactions as an experimental feature as long not at least all system display reactions

* clarify that reactions are currently not seen by all members

* prefer View.INVISIBLE over offscreen hack
2023-10-20 15:17:24 +02:00
Hocuri 01ac589b88 Ask for the name when creating a broadcast list (#2653)
Before https://github.com/deltachat/deltachat-core-rust/pull/4644, when creating a broadcast list, the UIs didn't ask for a name since the name wasn't shown to the recipients and therefore not that important.

As of https://github.com/deltachat/deltachat-core-rust/pull/4644, broadcast lists will create their own chat for the recipients, showing the broadcast lists's name, so we need to ask the user for a name when creating a broadcast list.
2023-10-19 10:22:03 +02:00
adbenitez 8d57b25cec do oauth and provider info checks in background 2023-10-17 19:49:41 +02:00