Commit Graph

2548 Commits

Author SHA1 Message Date
Asiel Díaz Benítez 8092498da4 ask for system unlock before accessing "password & account" (#2859)
* request lock-pattern to access "password and account" section

---------

Co-authored-by: bjoern <r10s@b44t.com>
2023-12-09 09:28:49 -05:00
B. Petersen 9dfaa8fe33 add 'learn more' to ephemeral messages dialog 2023-12-09 14:03:55 +01:00
B. Petersen cbd744ad00 fix localized deep links to help
the anchor must not be taken into account when checking for the existance of the asset file.

closes #2883

cmp #2842
2023-11-24 21:14:02 +01:00
B. Petersen 66413eb1f6 lookup contact id before creationg 2023-11-20 23:28:03 +01:00
B. Petersen 6013130995 do not create chat if we just checked that there is a chat 2023-11-20 23:28:03 +01:00
adbenitez e8212e299c adapt to suggestions 2023-11-16 00:08:27 +01:00
adbenitez 09a0e66547 fix bug 2023-11-16 00:08:27 +01:00
adbenitez d552f38b6a check for DC_DOWNLOAD_UNDECIPHERABLE download state 2023-11-15 23:28:28 +01:00
adbenitez 055975f967 revert changes in BackupTransferActivity for now 2023-11-14 22:21:21 +01:00
adbenitez 3af96f8eeb use the offline help in other places as well 2023-11-14 22:21:21 +01:00
adbenitez 96cecf246f use internal help instead of external links for "learn more" button 2023-11-14 22:21:21 +01:00
adbenitez e3867311f0 remove unused view 2023-11-14 21:58:19 +01:00
B. Petersen 21b75691c0 remove unused BitmapUtil.scaleDown and ScaleResult 2023-11-13 23:47:57 +01:00
B. Petersen 5841372e99 remove unused TouchIgnoringListener class 2023-11-13 23:47:23 +01:00
B. Petersen a9a1c9a920 remove unused NoExternalStorageException class 2023-11-13 23:43:38 +01:00
B. Petersen edf706f6b6 remove unused SingleUseBlobProvider.createUri() 2023-11-13 23:39:33 +01:00
B. Petersen 9cc393f9bc remove unused Util.readFully(), Util.join() 2023-11-13 23:39:22 +01:00
B. Petersen 3cd89b8cd0 remove unused StickerSlide constructor 2023-11-13 23:39:19 +01:00
B. Petersen 0bcfd8fb4c remove unused BitmapUtil.createScaledBytes() 2023-11-13 23:39:13 +01:00
B. Petersen 6a76a3a762 remove unused StorageUtil.canWriteInSignalStorageDir(), .canWriteInSignalStorageDir() 2023-11-13 23:39:00 +01:00
Asiel Díaz Benítez cf3c413f22 Update src/org/thoughtcrime/securesms/connect/DcHelper.java
Co-authored-by: bjoern <r10s@b44t.com>
2023-11-12 14:16:43 -05:00
adbenitez 38afdfb965 Add stock string 173 (Member added) 2023-11-12 19:24:22 +01:00
adbenitez 30ab45a4a7 improve NewContactActivity, add "scan QR button" 2023-11-11 19:58:33 +01:00
Asiel Díaz Benítez 74075448a5 Merge pull request #2835 from deltachat/adb/issue-2798-part2
hide toolbar onStop and show it again onResume to avoid bug with keyboard
2023-11-10 10:02:07 -05:00
adbenitez 3d5abb0aad apply workaround only on SDK >= 34, use PowerManager.isInteractive() 2023-11-10 15:58:09 +01:00
adbenitez 8e912a73ea add comment 2023-11-10 12:09:38 +01:00
adbenitez cffb46c01a only hide toolbar if screen goes off 2023-11-10 12:00:33 +01:00
B. Petersen 7ecd7b54b3 Revert "contact profiles show chat's green checkmarks"
This reverts commit f6c4e189e3b35989acc30396a495d310868022ef.
2023-11-09 22:16:12 +01:00
adbenitez b4bd0b0ad7 hide toolbar onPause and show it again onResume 2023-11-09 19:08:00 +01:00
B. Petersen 32ddacba7c update to qr vector icon, also on main screen; this makes the icon larger on add-member screen 2023-11-08 13:22:02 +01:00
adbenitez 35669aa83e use QR icon for QR-invite/join button 2023-11-07 21:48:12 +01:00
Asiel Díaz Benítez daeeca32ae Merge pull request #2807 from deltachat/adb/issue-2794
add new-contact activity
2023-11-07 12:54:40 -05:00
B. Petersen 2ecff2a9e2 use display name for verified-by row
using display name and email address adds quite some noise,
esp. if the email addresses are long and non-telling,
this does not really add sth. to "security".

depending one the language, this issue may be even worse.

the idea of showing the address was only to "protect" against ppl
that set their name to "You" or "Me" - however, this trick is maybe a joke
but no security issue:

- the verifier is always a directly verified, known contact
- we do not regard verified contacts as enemies
- the "Me" or "You" is visible and annoying at quite more visible placed
- you can always tap the row and will see
  that this is just a contact with a weird name
  (iOS, eg. shows a > to clarify that the cell is tappable,
  we could do sth. like that one android, other colors or whatever,
  however, i would not do that beforehand without more reasonings and usecases)

all in all, showing a long, non-telling row here,
seems over the top and not regarding the whole story.
2023-11-07 15:39:51 +01:00
adbenitez 53b02af3f1 fix some linter warnings 2023-11-06 23:40:43 +01:00
adbenitez d888b90784 Merge branch 'main' into adb/issue-2794 2023-11-06 23:26:13 +01:00
adbenitez a76e269807 NewContactActivity: open chat directly or return new contact address 2023-11-06 23:24:09 +01:00
B. Petersen 93c9ce995d set string for creating a new group 2023-11-06 22:40:28 +01:00
B. Petersen 4803756e7c update 'read more' links 2023-11-06 22:40:28 +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
Asiel Díaz Benítez 4ab47b8b2d update KeyboardAwareLinearLayout from upstream (#2825) 2023-11-06 20:11:39 +01:00
bjoern 4f052bbd12 contact profiles show chat's green checkmarks (#2821)
the contact profiles mix of contact and chat data for the ease of the user.

the contact profile title,
however, shall show the state of the chat (chat_is_protected())
and not the state of the contact (contact_is_verified())
to make things easier to understand and to be in sync with groups -
and also with what we're saying in the faq
at https://github.com/deltachat/deltachat-pages/pull/746 :

> "contact profiles show a green checkmark
> if messaging a contact is guaranteed to be end-to-end encrypted."
2023-11-05 20:16:51 +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
adbenitez be0fdb7589 add new contact activity 2023-11-03 06:00:40 +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