Commit Graph

2819 Commits

Author SHA1 Message Date
adbenitez 1ea13ce279 enable reactions by default, tweak default reactions 2023-11-05 02:02:36 +01:00
adbenitez e0af047c61 prefer system emojis by default 2023-11-04 23:30:10 +01:00
adbenitez 56dd7dbd0b improve emoji detection when deciding to send as reaction 2023-11-04 05:08:35 +01:00
adbenitez 8f3fc6171a Merge remote-tracking branch 'upstream/main' 2023-11-04 00:17:05 +01:00
adbenitez 6e4a463fb5 Merge remote-tracking branch 'upstream/main' 2023-11-04 00:06:42 +01:00
bjoern cf1f842d17 calculate 'introduced by' string accordingly (#2816)
* calculate 'introduced by' string accordingly

* Update src/org/thoughtcrime/securesms/ProfileSettingsFragment.java

---------

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>
2023-11-03 22:52:29 +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
Asiel Díaz Benítez a791966480 Merge pull request #2809 from deltachat/adb/issue-2808
make "+ add account" bold and tweak button color in dark mode
2023-11-03 12:33:58 -04:00
adbenitez d35109fb7f make "+ add account" bold and tweak button color in dark mode 2023-11-03 17:02:51 +01:00
adbenitez 54a5cd691d don't display "new contact" in verified group contact selection
the created new contact via the "new contact" button can't be added to
the verified group anyways
2023-11-03 16:53:48 +01:00
adbenitez 197a7dba60 fix bugs in GroupCreateActivity 2023-11-03 16:46:22 +01:00
B. Petersen ecaf2926e3 remove dead code 2023-11-03 00:20:16 +01:00
adbenitez 26d5909345 pre-fill avatar and name 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 52dd9266d4 remove "use guaranteed e2ee?" question
this Yes/No question is a hard one.
this turns out last, not least,
when trying to use self-explaining buttons for iOS -
what would be "No"? "Best-Effort-Encryption"?, "I don't care"? :)

joking aside,
few ppl will really read the question on group creation,
let alone understanding it and making and informed decision.

many ppl will just tap the rightmost button,
just to continue.

so better go with defaults here until we get
a real usecase where we would need this question.
and then consider how to solve that usecase
without reintroducing weird questions.
2023-11-02 16:20:37 +01:00
Asiel Díaz Benítez 54e251d96e Merge pull request #2795 from deltachat/adb/properly-cancel-backup
properly abort imex process if there is some failure
2023-11-01 20:44:28 -04:00
adbenitez 9178bdb9e9 create progress dialog and foreground service notification only once 2023-11-02 00:56:25 +01:00
adbenitez 694a87b78a properly abort imex process if there is some failure 2023-11-01 21:58:48 +01:00
adbenitez e57ae0b600 improve group creation screen 2023-11-01 19:16:03 +01:00
B. Petersen d3f2a268b1 use 'Group Name' as placeholder for group name
before if was just 'Name',
which can lead to confusion
when heading instructions as "create a group with that person":
one may create a group and enter the email address to "Name" ...

same with 'Broadcast List Name'
2023-11-01 18:54:43 +01:00
adbenitez f89a95b1b3 make progress percent be the real overall percent progress 2023-10-31 22:39:28 +01:00
B. Petersen c2d9ee4f00 start all backups
this starts all backups at the same time,
overwriting different progress-dialogs as needed.
when the last "done" arrives, the progress dialog is closed.
the progress itself, is taken from the first account
(this could be improved, but maybe it is just good enough)
2023-10-31 22:39:28 +01:00
adbenitez f13c2f4301 switch neutral and negative buttons 2023-10-31 22:39:28 +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
adbenitez 43e8f85ed1 fix bug in group creation activity
don't ask to create verified group if the user is creating a broadcast list
2023-10-31 21:39:01 +01:00
adbenitez 575b89a502 make "new group", "+ add member", etc bold 2023-10-31 19:19:19 +01:00
adbenitez 83c5b73995 offer to create verified group 2023-10-31 02:25:47 +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 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
adbenitez 2e4046253d fix bug in handleSharing() 2023-10-29 17:23:51 +01:00
adbenitez d09ac452dc update app icon 2023-10-29 06:50:51 +01:00
adbenitez b06f5fe3f4 add Privacy section to settings 2023-10-29 04:09:45 +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
adbenitez 295357d946 add online indicator to account switcher 2023-10-28 23:15:54 +02:00
adbenitez 9e4256c8f1 add online indicator dot to account avatar 2023-10-28 20:19:39 +02:00
adbenitez 70888ab36f return deltalab version in webxdc.deltalab 2023-10-28 18:18:23 +02:00
adbenitez 68ee076a6c allow to set subject and HTML part in sendToChat() 2023-10-28 06:28:46 +02:00
adbenitez 79fe46a067 Merge remote-tracking branch 'upstream/main' 2023-10-28 01:28:40 +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
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 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
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
adbenitez 32ca6d7a80 Merge remote-tracking branch 'upstream/main' 2023-10-24 20:11:13 +02:00
adbenitez f0b2a9f2ad use CONFIG_CONFIGURED_ADDRESS instead of CONFIG_ADDRESS 2023-10-24 18:00:44 +02:00