Commit Graph

526 Commits

Author SHA1 Message Date
B. Petersen 07bc03b1d5 add generic 'body' text for new messages and add translators hints 2024-03-03 01:45:29 +01:00
B. Petersen fb5f143f47 update translations 2024-03-01 15:38:30 +01:00
bjoern 8cb9d42750 add an option to 'Read System Address Book' (#2950)
with chatmail, providers exist that allow to send encrypted mails only.
pulling in the system address book unconditionally for chatmail will harm UX
as for most of these addresses,
no public key will be known until eg. a QR code is scanned.

we may think this over in the future.
note, that one usually also can create a Delta Chat chat from the address book,
so, this works also without having Delta Chat pulled in all addresses
(which has some issues, https://github.com/deltachat/deltachat-android/issues/2923 )
2024-02-01 09:34:15 +01:00
bjoern b5c172ced8 improve status message for "Invalid Unencrypted" (#2940)
* add strings for 'Invalid Unencrypted'

* add a 'learn more' dialog for 'invalid unencrypted'; the dialog shows the known 'scan qr code' and the known help for it

* clarify wording, add 'for this chat'

* do not linkify domains
2024-01-25 11:33:25 +01:00
B. Petersen 6487ac1715 update translations 2024-01-24 23:19:59 +01:00
bjoern 2e3a75c440 update welcome message (#2938)
* draft a new welcome-message with focus about how to get in contact; the 'Invite Link' implies also contacts with delta chat not installed yet (we could also add a QR code to the invite page as well as adding a 'Manual contact' that fits for classic mail)

* add some dc background info

* rename 'Device Talk' to 'Info'

* Revert "rename 'Device Talk' to 'Info'"

This reverts commit 027e205718c2923bc774a2d069f3283fc9e0e7bd.

* improve english grammar, thanks @adzialocha
2024-01-24 23:06:02 +01:00
bjoern 15e68be278 add string 'React' (#2937) 2024-01-22 22:11:10 +01:00
B. Petersen b8b15cccdd simplify string, mark old string as deprecated 2024-01-10 17:15:04 +01:00
B. Petersen c920ced553 reword self-name/-avatar hint; name is required 2024-01-10 17:15:04 +01:00
B. Petersen 82405258ce make 1to1-empty-hint working better with chatmail
the hint already led to confusion on 37c3 testings of chatmail.

the hint that appears when a one-to-one-chat was just created manually
(by entering an email address manually) is a bit misleading when using chatmail,
as it says it 'does not matter if the other side uses Delta Chat'.

this is still true, however, with chatmail it is needed that messages
outside the chatmail-server are encrypted,
which is arguably not so easy without delta chat and QR code scanning.

this PR therefore just removes the hint;
it would still be great if the error message 'cannot encrypt' is improved,
however, this is another thing.
2024-01-08 21:35:14 +01:00
bjoern 86c9227939 remove unused stock-string (ios/desktop also do not used that string, so even removing from translations is fine) (#2905) 2023-12-11 16:09:41 -05:00
Asiel Díaz Benítez f8114d9862 Update res/values/strings.xml 2023-11-14 21:58:51 +01:00
Asiel Díaz Benítez 5759ca0f98 Update res/values/strings.xml
Co-authored-by: bjoern <r10s@b44t.com>
2023-11-14 21:58:51 +01:00
adbenitez a0852bcf87 try to improve device message 2023-11-14 21:58:51 +01:00
B. Petersen 50b787c4bb remove deprecated source strings 2023-11-13 22:48:53 +01:00
Asiel Díaz Benítez 631c006102 Update res/values/strings.xml
Co-authored-by: bjoern <r10s@b44t.com>
2023-11-12 14:16:37 -05:00
adbenitez 38afdfb965 Add stock string 173 (Member added) 2023-11-12 19:24:22 +01:00
adbenitez 101af6c082 fix comment 2023-11-12 16:52:44 +01:00
Asiel Díaz Benítez 54f1be722d Update res/values/strings.xml
Co-authored-by: bjoern <r10s@b44t.com>
2023-11-12 10:37:11 -05:00
adbenitez 30ab45a4a7 improve NewContactActivity, add "scan QR button" 2023-11-11 19:58:33 +01:00
holger krekel 9689791d99 Update res/values/strings.xml
Co-authored-by: bjoern <r10s@b44t.com>
2023-11-09 19:06:32 +01:00
holger krekel 3430fd7ac7 suggestion for better cannot-decrypt message 2023-11-07 16:16:42 +01:00
bjoern 083081fcb4 draft a device message (#2817)
* draft a device message

* add others

* Update res/values/strings.xml

Co-authored-by: link2xt <link2xt@testrun.org>

* 'implovements in', remove double 'screen reader'

* move 'now' to the end; sounds as 'no' otherwise, and i also think, this is more fluent

* nicer group icon

* add an image showcasing the green checkmark

* more image like?

* split device message, delete old device messages

* add 'sync' to device message

---------

Co-authored-by: link2xt <link2xt@testrun.org>
2023-11-06 20:16:14 +01:00
bjoern de8d3dcedf update translations (#2819)
* mark soonish unused strings as deprecated

* update translations

* update translations after uploading source
2023-11-04 19:16:33 +01:00
bjoern 16fac30fa9 cleanup chore: target duplicate autocrypt strings (#2813)
* remove placeholder from

that way, it can be used instead of show_key_transfer_message_desktop,
which is showing the code more layouted

* mark duplicated autocrypt strings as deprecated
2023-11-03 19:09:04 +01:00
bjoern b35b470106 update translations (#2812) 2023-11-03 18:33:06 +01:00
bjoern bff9f5213d remove unused strings show_full_message_in_browser, files_and_webxdx_apps, new_group_or_subject, welcome_intro1_message, login_oauth2_checking_addr (#2811) 2023-11-03 18:25:47 +01:00
bjoern e0171aab45 remove "verified" from strings (#2804)
* remove "verified" from strings

* reword 'cannot introduce' to 'cannot establish guaranteed e2ee'

* removed old 'Verified' wording; this may be displayed only for legacy contacts until deltachat-desktop hides the row
2023-11-03 17:15:53 +01:00
B. Petersen 396c319e84 adapt string.id 2023-11-02 23:48:05 +01:00
adbenitez 0ee81c0be2 rename "Clone" menu item to "Clone Chat" 2023-11-02 23:48:05 +01:00
adbenitez 0a9d62a09a allow to clone groups and broadcasts 2023-11-02 23:48:05 +01:00
B. Petersen 17be8f3f9f update translations 2023-10-31 22:51:13 +01:00
adbenitez 79d10d0376 add "export all" button instead of checkbox 2023-10-31 22:39:28 +01:00
adbenitez 53e228ca80 adapt backup dialog to allow to select to export all accounts 2023-10-31 22:39:28 +01:00
bjoern 2629f95ba7 add desktop strings (#2785)
* add desktop strings

* add broadcast_list_name

* add 'donate', 'disable_imap_idle', remove 'system_integration'

* add 'later', add 'add_to_sticker_collection'

* typo, create_broadcast_list -> create
2023-10-31 21:43:00 +01:00
adbenitez 740e5eec41 tweak create_verified_group_ask string 2023-10-31 18:59:04 +01:00
B. Petersen 5d615f3162 add linebreak 2023-10-31 10:56:28 +01:00
adbenitez 83c5b73995 offer to create verified group 2023-10-31 02:25:47 +01:00
B. Petersen ae665dbfb4 typo 2023-10-31 00:20:35 +01: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
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
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
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
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
B. Petersen b73c33ad20 stop adding 1.38 device message, remove 1.36 device message strings 2023-10-05 21:16:56 +02:00
bjoern f18831b196 set targetSdkVersion to 33 (#2649)
* set targetSdkVersion to 33

* api33 requires permission NEARBY_WIFI_DEVICES to access wifi

not sure, if this affects getSystemService(Context.WIFI_SERVICE),
however, we anyway do not ask for permissions here but just try/catch -
if things do not work, we just cannot get the wifi name

(we're not asking for permission as this would require LOCATION in the past -
and that would scare users that just installed Delta Chat
and select "Add Second Devive".
this is the exact reason why NEARBY_WIFI_DEVICES was introduced, btw.
so in case getting the Wifi name does not work on api33,
we can consider asking for a permission - would still be on startup, however)

* update storage permissions in manifest

according to https://developer.android.com/training/data-storage/shared/media#storage-permission

* also update compileSdkVersion

* api33: adapt audio permission request

* api33: adapt gallery permission request

* request correct permissions for the 'photo rail'

* request correct permissions for avatar selection

* api33: storage and audio permission not needed

* add comment wrt 'camera roll'

* add POST_NOTIFICATIONS to the manifest, this already allows to enable notifications in the system settings

* ask for POST_NOTIFICATIONS permission on startup

* explain how to re-enable notifications if initially disabled

* prefer a device message over an alert

* show in settings if notifications are system-disabled
2023-10-03 00:42:20 +02:00
adbenitez 7b21dacc72 rename reactions_details_title to reactions 2023-09-29 14:39:42 +02:00