Commit Graph

1589 Commits

Author SHA1 Message Date
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 3cc57a2489 adapt "new group" button color to be the same as in DC Desktop 2023-10-31 19:23:59 +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
Asiel Díaz Benítez 6811272d11 Merge pull request #2780 from deltachat/adb/tweak-add-member-button
add more padding to the "add member" button
2023-10-30 20:05:48 -04:00
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
B. Petersen c9123dfd06 reword 2023-10-30 23:24:08 +01:00
adbenitez 615bef2704 add more padding to the "add member" button 2023-10-30 23:16:18 +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
adbenitez 30bca270e1 remove QR button in group creation screen 2023-10-30 19:11:31 +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
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
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 80702a5248 allow to deactivate QR codes 2023-10-29 01:12:31 +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
adbenitez d2d1a0edb4 remove unnecessary attribute isLandscape 2023-10-22 19:07:05 +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
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
B. Petersen eb3ce4613f update translations 2023-10-14 16:06:28 +02:00
adbenitez b0c473378d tweak action bar theme for dark mode 2023-10-11 20:40:39 +02:00
adbenitez 31f96e1f9d registration screen: make checkbox use acent color 2023-10-08 00:07:00 +02:00
adbenitez 4dc1abf135 add comment 2023-10-06 23:26:21 +02:00
adbenitez b24ab37931 allow to properly click in audio messages in multi-select mode
also allow to long-press in play button to select message
2023-10-06 21:21:15 +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
Asiel Díaz Benítez 673f3f05f5 Merge pull request #2721 from deltachat/adb/issue-2720
allow to select all media
2023-10-05 07:51:34 -04:00
B. Petersen 7f78a612c0 update translations 2023-10-05 12:25:39 +02:00
adbenitez 1adf8e5d38 allow to select all media 2023-10-04 23:35:04 +02:00
adbenitez 512299a1d9 properly display webxdc's loading screen in dark mode 2023-10-04 15:04:02 +02:00
Asiel Díaz Benítez 387bd33e1f Merge pull request #2708 from deltachat/adb/issue-2707
allow to resend attachments from chat profile
2023-10-04 07:56:31 -04:00
adbenitez 5e5a1ec6c5 allow to resend attachments from chat profile 2023-10-04 04:50:14 +02:00
adbenitez ce1733f3ea fix displaying of sticker's footer 2023-10-04 03:28:21 +02:00
Asiel Díaz Benítez 44376a6046 Merge pull request #2702 from deltachat/adb/issue-2470
improve screen reader support in conversations
2023-10-03 18:31:53 -04:00
B. Petersen 6dea636ba3 update translations 2023-10-03 23:57:54 +02:00
adbenitez 8300242d0f set some descriptions 2023-10-03 22:11:25 +02:00
adbenitez 27466decf5 remove unnecessary description 2023-10-03 22:07:55 +02:00
adbenitez 1e149eef83 improve screen reader support in conversations 2023-10-03 21:46:36 +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
B. Petersen a7f1c7e014 update translations 2023-10-02 21:52:17 +02:00