Commit Graph

2608 Commits

Author SHA1 Message Date
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
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 4e404511a4 update notification key in dependencies 2024-07-10 15:05:07 +02:00
adbenitez 5eafe6ad49 update notifications preference key 2024-07-10 14:35:40 +02:00
adbenitez dc31b3c5ef rename pref_key_enable_notifications to avoid conflict with legacy 2024-07-10 14:03:32 +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 48a7fe6d81 update translations 2024-07-08 12:02:39 +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 d1552e389e do not repeat 'after Download' to not clutter the dialog; things should be clearer already without and for chatmail we do not want the other options 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
B. Petersen 364ec0e88d prefer new 'Profile' over old 'Login' wording 2024-07-06 12:49:32 +02:00
B. Petersen 76888c540d update translations and local help 2024-07-05 14:20:17 +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
Asiel Díaz Benítez 0a8425d540 Merge pull request #3135 from deltachat/adb/issue-3119
don't go back to welcome screen when pressing back after instant onboarding
2024-06-19 13:44:07 +02:00
B. Petersen c22b20171d update translations 2024-06-19 12:43:17 +02:00
B. Petersen 796bcec8e1 consolidate wording for "Message Info"
before, "Info" and "Message Details" were used for the same things synonymously,

this is an issue mostly in the context menus,
where eg. iOS had "Info" but desktop did not -
and android had an "i"-icon ...

but also, tapping 'Info' and then getting a different title
(not only a longer version) is not super-nice.

with this change, everything is "Info", making also the "i"-icon fit.
this is also consistent with WhatsApp.
Signal has the same mess as we before, at least on iOS.
2024-06-19 12:27:20 +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
adbenitez 6a843f51ce use "mark as read" 2024-06-15 20:04:32 +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
Asiel Díaz Benítez d1f7f4c31f Merge pull request #3132 from deltachat/adb/use-foss-flavor
rename fat flavor to foss
2024-06-14 18:29:55 +02:00
adbenitez d4048efb52 rename fat flavor to foss 2024-06-14 17:58:53 +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
adbenitez 3cd1f3b8cc update realtime preference name title and set summary 2024-06-13 19:42:11 +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
B. Petersen 4194e094c1 update translations 2024-06-13 17:12:13 +02:00
B. Petersen 5abb1b2d7b update local help 2024-06-13 17:12:13 +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 5c57fbbd84 update res/raw/webxdc.js with new RealtimeChannel API 2024-06-13 15:26:59 +02:00
adbenitez 20bc7e6197 remove debug/README.md 2024-06-12 23:13:20 +02:00