Commit Graph

66 Commits

Author SHA1 Message Date
adbenitez 3e72837688 remove push notifications toggle 2024-08-01 11:49:17 +02:00
Asiel Díaz Benítez 8e802e1062 Merge pull request #3177 from deltachat/adb/issue-3162
prevent creating contact without encryption in chatmail account
2024-07-30 15:18:16 +02:00
Asiel Díaz Benítez d50eb32b38 Merge pull request #3176 from deltachat/adb/issue-3164
add "copy invite link" button to QrShowFragment
2024-07-30 15:08:46 +02:00
adbenitez 33c4b6223b rename var 2024-07-30 14:48:05 +02:00
adbenitez bcce0184fd share instead of copy 2024-07-30 14:35:04 +02:00
adbenitez ab85196ecf remove switch account 2024-07-30 11:50:04 +02:00
adbenitez 61ee6574eb revert change in QrCodeHandler 2024-07-30 11:20:51 +02:00
B. Petersen 0bcccb41a1 show '(un)block contact' in red as well 2024-07-27 17:56:31 +02:00
B. Petersen 90fce0033d tweak 'red' color 2024-07-27 12:22:58 +02:00
B. Petersen ae0021e224 color dangerous chat menu items in red 2024-07-27 12:22:58 +02:00
B. Petersen 00e76ab7a7 move all chat menu items to a single .xml file to allow grouping 2024-07-27 12:22:58 +02:00
B. Petersen 71e8a6a847 remove unused SendRelayedMessageUtil.cleanup() 2024-07-27 12:22:16 +02:00
B. Petersen ffd0864a67 remove unused passing around of contact's query parameter 2024-07-27 12:22:16 +02:00
B. Petersen 54a49c203f remove unused contact type attribute 2024-07-27 12:22:16 +02:00
B. Petersen 3a2922e887 remove unused stock string 'Contact' 2024-07-27 12:22:16 +02:00
B. Petersen 0d1d2ccd0c remove unused AudioSlidePlayer.startTime 2024-07-27 12:22:16 +02:00
B. Petersen 492fdb2753 if we do not translate the read receipt's body, do not translate the read receipt's subject as well 2024-07-26 18:13:47 +02:00
B. Petersen 7aea2d0b87 'read receipt' string is no longer needed
the stock string was removed,
and it is even considered to be better to leave the new one as english only,
see #3179
2024-07-26 18:13:47 +02:00
Asiel Díaz Benítez f74e693603 Merge pull request #3154 from deltachat/adb/expand-advanced-settings
expand advanced settings if they are modified
2024-07-26 14:36:25 +02:00
adbenitez 5128d94427 fix onClick() in LongClickCopySpan 2024-07-23 18:24:35 +02:00
adbenitez a25fd3f688 fix bug in LongClickCopySpan 2024-07-23 18:20:07 +02:00
adbenitez ea7f96c030 warn chatmail accounts when scanning QR code with mailto/address 2024-07-22 19:01:17 +02:00
adbenitez f577bf167c prevent creating contact without encryption in chatmail account 2024-07-19 21:14:52 +02:00
adbenitez 54d4414aaa add "copy invite link" button to QrShowFragment 2024-07-18 20:43:41 +02:00
B. Petersen ff9fe93a75 tune down copying email address
copying email addresses to the clipboard
is not proper way to get in contact in the light of chatmail -
even if the account is non-chatmail, the receiver may use chatmail.
or the copied contact.

it is better to point ppl to use 'Share' or 'Attach Contact' therfore
and not offer failing/corner-case things in the primary menu.

therefore, we do basically the same what desktop is doing all the years:
no special function, however, if you select text (desktop)
or long tap it (android now), you can copy it.
2024-07-17 19:44:51 +02:00
B. Petersen e7a9f60a12 clearer naming 2024-07-17 14:58:43 +02:00
B. Petersen 4324f324cc no sharing of a contact to multiple recipients at the same time, we can reconsider when that becomes a real-world need 2024-07-17 14:58:43 +02:00
B. Petersen 673c3412e9 add 'share' to contact's profile menu 2024-07-17 14:58:43 +02:00
Asiel Díaz Benítez f26752ede5 Merge pull request #3166 from deltachat/adb/issue-3163
hide "add contact manually" for chatmail accounts
2024-07-17 14:45:27 +02:00
link2xt e580bce258 feat: support backup transfer protocol v2 2024-07-16 17:14:50 +00:00
Asiel Díaz Benítez 307e4575b5 Merge pull request #3143 from deltachat/adb/issue-3126
allow to enable/disable notifications per-account
2024-07-13 17:26:11 +02:00
adbenitez 012206b323 hide "add contact manually" for chatmail accounts 2024-07-13 17:21:24 +02:00
B. Petersen 79aa5ad587 fix crash on some mailto: links
if the value part is missing,
it otherwise crashes when calling MailtoUtil.getText()
and the exception is not handled there (it is not in at least one case).

therefore, just catch the exception in this cornercase (same for bad encoding)
and return an empty string.
2024-07-13 15:54:38 +02:00
B. Petersen af20e73e80 create QrShowFragment in time
QrShowFragment is used by some menu entries
available also when the fragment is not displayed;
therefore, creation on displaying is too late.

(the crash is present only on some android versions,
as many android versions seem to create "neighboured tabs" anyways -
so there should also not be much performance loss)
2024-07-13 15:31:31 +02:00
adbenitez 355d026e7d expand advanced settings if they are modified
this helps avoid issues like user changing email address and password
and pressing "configure" button without realizing they have custom
imap, smpt, etc. settings
2024-07-10 19:06:40 +02:00
adbenitez 5eafe6ad49 update notifications preference key 2024-07-10 14:35:40 +02:00
Asiel Díaz Benítez 4f3a41bd99 Update src/main/java/org/thoughtcrime/securesms/LogViewFragment.java
Co-authored-by: bjoern <r10s@b44t.com>
2024-07-10 07:59:08 -04:00
Asiel Díaz Benítez c7057f50d0 Merge branch 'main' into adb/issue-3126 2024-07-10 13:16:05 +02:00
adbenitez 93a8e3bc0e use is_muted config, migrate old preference value 2024-07-10 13:12:59 +02:00
B. Petersen dd9d198c6f fix typo in string key 2024-07-06 23:55:49 +02:00
B. Petersen cd9b03cf5c assumeSingleDevice() and assumeMultiDevice() check for chatmail 2024-07-06 23:53:48 +02:00
B. Petersen 7257a3180d be more explicit on at-once deletion 2024-07-06 23:53:48 +02:00
B. Petersen 067677ecbf be unexcited about 'delete old messages' setting, showing that in the 'chats and media' summary is enough, too complicated otherwise 2024-07-06 23:53:48 +02:00
B. Petersen 1420a4b7d9 allow only automatic/atOnce for chatmail 2024-07-06 23:53:48 +02:00
B. Petersen 89a4eb9538 set single-device on profile-creation, assume multi-device when we go a hint 2024-07-06 23:53:48 +02:00
B. Petersen 29b1c1e493 warn when chosing autodel-settings that may break multi-device 2024-07-06 23:53:48 +02:00
B. Petersen d7babe8694 tweak autodelete-from-sever UI
- say in the timespans explicitly that it is _latest after fetch_;
  this matches better to server-side settings on chatmail -
  but also when you have different (non-dc)-clients with different settings.

- do not show the alarming confirmation dialog for chatmail -
  other, non-dc clients is usually not fitting,
  and also there is anyways an auto-deletion

- the default for chatmail becomes 'automatic',
  'never' is just wrong for chatmail
2024-07-06 23:53:48 +02:00
adbenitez 2f590871fe allow to enable/disable notifications per-account 2024-07-03 18:52:15 +02:00
B. Petersen 221595cb12 remove deprecated hint 'chat with any email'
the string is deprecated and also no longer used on desktop/iOS.

the 'empty state view' where the string could appear
is anyways not shown often
(usually, there is 'saved messages' and 'device messages'),
so it also does not make sense to think over a replacement.
2024-06-20 17:52:55 +02:00
adbenitez cef9729ead don't go back to welcome screen when pressing back after instant onboarding 2024-06-16 00:52:12 +02:00