Commit Graph

42 Commits

Author SHA1 Message Date
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
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 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
Asiel Díaz Benítez 80e2620aa3 Merge pull request #3130 from deltachat/adb/issue-3128
allow to mark as read selected chats
2024-06-15 20:35:09 +02:00
Asiel Díaz Benítez b2c420c8bb Merge pull request #3131 from deltachat/adb/issue-3106
only show debug entries if developer mode is enabled
2024-06-15 10:19:09 +02:00
B. Petersen 8b18731e86 call setConfigFromQR() from background thread
setConfigFromQR() involves network and should not block the UI.
2024-06-14 21:33:55 +02:00
adbenitez 5897711af5 only show debug entries if developer mode is enabled 2024-06-14 15:58:26 +02:00
adbenitez 39f17056d2 allow to mark as read selected chats 2024-06-14 14:18:23 +02:00
B. Petersen 1083e19356 use name deviceMsgLabel as it is a label and no id
came over that while targeting https://github.com/deltachat/deltachat-ios/pull/2204
and was shortly confused about what is going on there :)

(the name saved to database is not changed, however,
to avoid popping up the message again in case we do an update without a new device messase)
2024-06-13 20:14:13 +02:00
Asiel Díaz Benítez ce93edf1a3 Merge pull request #3108 from deltachat/adb/issue-3103
add support for RealtimeChannel API
2024-06-13 19:55:28 +02:00
B. Petersen b33b421615 cancel muting should not exit select-mode
exiting 'select mode' is unexpected when hitting 'cancel' -
the user may still want to do other things with the selection.

this makes the 'mute' behavior consisten with other cases showing a dialog,
eg. 'delete'
2024-06-13 17:25:05 +02:00
adbenitez cd0350cc6d send realtime data events as int array instead of base64 2024-06-13 16:26:47 +02:00
adbenitez 9e6b69c122 pass JSON array to InternalJSApi.sendRealtimeData() 2024-06-13 15:26:59 +02:00
adbenitez 29e563f89b add config option for realtime channels 2024-06-13 15:26:59 +02:00
adbenitez 06b36fe35c fix linter warning 2024-06-13 15:26:59 +02:00
adbenitez 50f6675d99 leave channel when webxdc is closed 2024-06-13 15:26:59 +02:00
adbenitez 07d895594e add API to JavaScriptInterface and Rpc, listent to realtime data event 2024-06-13 15:26:59 +02:00
adbenitez 178331ce2a disable push notifications setting if apk was built without support 2024-06-12 03:49:45 +02:00
adbenitez fee58e6eac fix building 2024-06-12 02:17:10 +02:00