Commit Graph

2587 Commits

Author SHA1 Message Date
adbenitez 93a8e3bc0e use is_muted config, migrate old preference value 2024-07-10 13:12:59 +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
adbenitez cae954aa51 move res and assets to src/main/ 2024-06-12 22:16:26 +02:00
adbenitez 178331ce2a disable push notifications setting if apk was built without support 2024-06-12 03:49:45 +02:00
adbenitez 1b80bc32dd move google-services.json to root folder for now 2024-06-12 03:42:36 +02:00
adbenitez 6681f24603 add comment to fake implementation of FcmReceiveService 2024-06-12 02:28:11 +02:00
adbenitez fee58e6eac fix building 2024-06-12 02:17:10 +02:00
adbenitez 438e60ac66 switch to new account when opening DCACCOUNT:// URIs 2024-06-02 00:19:33 +02:00
Asiel Díaz Benítez b10e576971 Merge pull request #3089 from deltachat/r10s/getData2Blob
add getData2Blob() needed for DC_EVENT_WEBXDC_REALTIME_DATA
2024-05-29 12:13:04 +02:00
B. Petersen 31d41c0c25 add missing DC_EVENT_WEBXDC_* constants 2024-05-27 16:47:27 +02:00
B. Petersen 264761ee01 fix location streaming 2024-05-25 23:26:36 +02:00
bjoern d9f3d55e63 tweak push notification settings (#3095)
* apply token changes on leaving the dialog; this avoids unnecessary changes, races or possibly needed blocks if the user is just playing around

* ask before disabling PUSH; this is mainly to avoid accidental taps

* add a 'learn more' button pointing to instant-delivery
2024-05-24 18:50:23 +02:00
bjoern 1e72b5fa72 add a switch for push notifications (#3090)
* add a switch for push notifications

* move 'instant delivery' down

* reword to 'force background connection'

* remove unused string

* respect user setting wrt pref_push_enabled

* f-droid defaults to PUSH = false

* get token directly when enabling PUSH

* delete FCM token when PUSH is disabled
2024-05-24 17:09:54 +02:00
B. Petersen 5562e75fb4 check if push is sufficient before adding device message
the check before was too implicit and relied on DOZE_ASKED_DIRECTLY only.

but if the user was asked one time and went for chatmail again,
it did not work and the user was getting the message
"please enable 'ignore battery optimisations'"
even though they were using chatmail-only.
2024-05-24 14:25:27 +02:00
B. Petersen 44bc7da0df add getData2Blob() needed for DC_EVENT_WEBXDC_REALTIME_DATA 2024-05-23 19:51:02 +02:00
Asiel Díaz Benítez 0769a5cee9 Merge pull request #3087 from deltachat/adb/improve-logs
improve logs: use emojis to mark the log level for easier visibility
2024-05-22 23:16:54 +02:00
adbenitez 00ac5a06f9 improve logs: use emojis to mark the log level for easier visibility 2024-05-22 21:14:40 +02:00
B. Petersen 5656e836db update device message for 1.46 2024-05-22 00:30:17 +02:00
Asiel Díaz Benítez ff80dcfd40 Merge pull request #3078 from deltachat/adb/adb-3077
bugfix: parse results of scanning QR code in NewConversationActivity
2024-05-21 20:06:42 +02:00
Asiel Díaz Benítez 99eb6e5a3c Merge pull request #3079 from deltachat/adb/issue-3076
tweak menu options in QR show/scanning activities
2024-05-21 20:06:23 +02:00
Asiel Díaz Benítez ae613f5944 Update src/org/thoughtcrime/securesms/qr/QrActivity.java
Co-authored-by: bjoern <r10s@b44t.com>
2024-05-21 14:05:51 -04:00
adbenitez 731c0912d4 tweak menu options in QR show/scanning activities 2024-05-21 14:53:33 +02:00
adbenitez 679ba846a6 bugfix: parse results of scanning QR code in NewConversationActivity 2024-05-21 14:25:29 +02:00