Commit Graph

5682 Commits

Author SHA1 Message Date
adbenitez 30580366fd add restartIo() to DcContext 2024-10-05 18:11:26 +02:00
adbenitez a7f0f753fd allow to set proxies from QRs 2024-10-05 16:16:32 +02:00
link2xt 4025fd5e0b fix: do not expect special value for backup transfer progress
Values 100, 350, 400, 450, 950 are not used in the core,
so this resulted in showing incorrect progress
such as "Preparing account" when actually
database transfer was already in progress.

Desktop already does not expect any special values
and simply shows the progress bar.
2024-10-05 11:40:11 +00:00
Asiel Díaz Benítez 577959a51a Merge pull request #3329 from deltachat/adb/issue-3307
show display name in title bar when user has multiple profiles
2024-10-04 17:18:18 +02:00
adbenitez 776dc05755 remove unnecessary getConnectivitySummary(context, int) 2024-10-04 16:44:38 +02:00
Hocuri 28141bf942 Remove getNextMedia() to make compilation succeed again (#3330) 2024-10-04 16:16:21 +02:00
adbenitez 3431163c24 show display name in title bar when user has multiple profiles 2024-10-04 15:20:45 +02:00
B. Petersen f13251bc07 add 'learn more' button for managing keys 2024-10-04 12:08:55 +02:00
B. Petersen 6a7c498481 update translations 2024-10-02 19:06:35 +01:00
B. Petersen b72a1ec7d8 update local help 2024-10-02 19:06:35 +01:00
B. Petersen 5fd06f2b9d update changelog for 1.46.15 2024-09-28 21:38:30 +01:00
B. Petersen 899b075349 update changelog for 1.46.15 2024-09-28 21:38:30 +01:00
B. Petersen 1c0dc91f03 update translations 2024-09-26 23:09:00 +01:00
B. Petersen a76762f321 update deltachat-core-rust to 'chore(release): prepare for 1.145.0' of 'v1.145.0' 2024-09-26 23:00:10 +01:00
B. Petersen 86ebb6e1a8 update translations 2024-09-26 20:29:48 +01:00
bjoern ecf87c58e1 tweak proxy UI (#3322)
* use string 'Saved Proxies' as header for proxy settings

'Connections' is a bit broad,
also there is only one connection.
'Saved Proxies' is also what Telegram is using.

* move proxy settings in 'Advanced' down

logically, this seems to be a better fit.
Account/Password is still the most important bit,
even if not directly needed in chatmail and Proxy is used more often.

* add proxy settings icon to main screen

* use 'cable' instead of 'shield'. things are rewired, but not more protected or secured.
2024-09-26 16:09:39 +00:00
B. Petersen 0bef0b3501 update deltachat-core-rust to 'chore(release): prepare for 1.144.0' of 'v1.144.0' 2024-09-26 15:24:46 +01:00
Asiel Díaz Benítez bc6d676fcd use new proxy_url list API (#3292) 2024-09-26 12:30:54 +00:00
Hocuri 8aa615157a Also start the FetchForegroundService in onDeletedMessages() (#3317)
See https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages

Shouldn't happen very often, but if it does, it's good to connect, too.
2024-09-23 14:57:12 +02:00
B. Petersen 9ffa76c0f4 as we called startForeground(), longer timeouts should be fine 2024-09-23 13:30:09 +02:00
B. Petersen 9fc4bfb970 move backgroundFetch() to FetchForegroundService 2024-09-23 13:30:09 +02:00
B. Petersen 1bc40837fe add reference for the 20 seconds time span 2024-09-23 13:30:09 +02:00
B. Petersen ba3ea172e5 use explicit FetchForegroundService
this avoids potential issues with GenericForegroundService
which eg. may block app start.
2024-09-23 13:30:09 +02:00
B. Petersen 3a4c02c8cd Revert "add pinActivity parameter to GenericForegroundService"
This reverts commit b7e5bee655bb839153a9229e0035eb6c711fb723.
2024-09-23 13:30:09 +02:00
B. Petersen 4b9d521c13 add pinActivity parameter to GenericForegroundService 2024-09-23 13:30:09 +02:00
B. Petersen df9e3007b2 show a foreground service notification 2024-09-23 13:30:09 +02:00
B. Petersen 117f144858 call backgroundFetch() from FCM 2024-09-23 13:30:09 +02:00
B. Petersen e17d37ebb7 add backgroundFetch() api 2024-09-23 13:30:09 +02:00
B. Petersen 08200d8443 refine post-notifications-granted logging
saying post-notifications-granted=false on API that do not need this grant
is misleading as it looks as some error or if the user has rejected sth.

just stumbled upon that and was irritated when trying out things wrt
https://github.com/deltachat/deltachat-android/issues/3281 on android7
2024-09-20 21:09:21 +02:00
B. Petersen 8ea78b1930 update translations 2024-09-20 13:57:25 +02:00
Asiel Díaz Benítez ca74afb229 Merge pull request #3306 from deltachat/adb/issue-3305
log notifications permission status
2024-09-19 22:15:00 +02:00
Asiel Díaz Benítez 1757c417fa Update src/main/java/org/thoughtcrime/securesms/LogViewFragment.java
Co-authored-by: bjoern <r10s@b44t.com>
2024-09-19 16:14:49 -04:00
adbenitez 4e6119b85d log notifications permission status 2024-09-19 21:08:39 +02:00
B. Petersen 91467e5c65 add reference to original message when replying from a notification; otherwise a simple 'yes' is easily misleading if message arrive in between or out of order 2024-09-19 17:48:41 +02:00
B. Petersen 2870ad988f mark messages as read also when replying from notification 2024-09-19 17:48:41 +02:00
B. Petersen a35da9ac7c really mark messages as read from notification 2024-09-19 17:48:41 +02:00
B. Petersen e4543be71c 'Mark Read' instead 'Dismiss' notifications
'Dismiss' is a bit unclear - even though introduced at #2083 to make things clearer,
i do not think this has happened :) -
i also needed to dive into the source code to see what exactly 'Dismiss' is doing.

meanwhile, we're anyway using 'Mark Read' to remove unread counter from chats,
and this is basically the same. good to be consistent.
finally, this is also the term WhatsApp/Telegram are using.

closes https://support.delta.chat/t/what-does-dismiss-button-on-notifications-do/3261/3

nb: we also change the english 'short' term from 'Read' to 'Mark Read' -
this is sill shorter than many translations
and removes the ambiguousness 'Mark Read' vs 'Open for Reading" -
esp. in the notification without much context, this is better,
but also on iOS, where the term was introduced for, it is good to be explict.
2024-09-19 17:48:41 +02:00
B. Petersen e6f9eda787 update translations 2024-09-17 23:08:44 +02:00
Asiel Díaz Benítez 12b5f0767c Merge pull request #3271 from deltachat/adb/issue-3270
fix wrong translations of videochat_instance_example add doc comment
2024-09-17 22:58:51 +02:00
Asiel Díaz Benítez 0bd2c2f825 Merge pull request #3299 from deltachat/adb/issue-3289
avoid android.view.WindowManager$BadTokenException in maybeShowConfigurationError
2024-09-17 22:58:28 +02:00
Asiel Díaz Benítez 5c9afb910d Merge pull request #3301 from deltachat/adb/issue-3300
revert hack introduced in #2835
2024-09-17 22:57:47 +02:00
B. Petersen e41e3374e8 update translations 2024-09-17 22:14:17 +02:00
B. Petersen 0be6457cd1 simplify 'Proxy Settings' to just 'Proxy'
- shorter, less cluttering
- we usually do not say 'Settings' inside 'Settings',
  also having several 'Settings' menu entries in the main menu us not so nice
- same as telegram is doing
2024-09-17 22:10:26 +02:00
adbenitez f3fa1d5e7c revert hack introduced in #2835 2024-09-17 19:16:39 +02:00
B. Petersen 5f2b4590c0 marked chat replied to as being noticed
when replying from within a notification,
the corresponding chat should be marked as being noticed as well.

otherwise, it looks wrong that one has replied to a chat,
but still the chat is shown as being "unread".

the 'reply' from a notification should leave the chat
in the same state as 'dismiss' resp. 'mark read' - plus the added message.
2024-09-17 18:19:50 +02:00
adbenitez be4bc8259e avoid android.view.WindowManager$BadTokenException in maybeShowConfigurationError 2024-09-17 17:54:38 +02:00
Asiel Díaz Benítez 529842ad60 Merge pull request #3273 from deltachat/adb/improve-delete-dialog
improve profile deletion dialog
2024-09-17 17:05:58 +02:00
B. Petersen 78bd221fdf update translations 2024-09-17 15:34:54 +02:00
Asiel Díaz Benítez 054902eb67 Merge pull request #3294 from deltachat/adb/issue-3288
check that getSlideUri() is not null before passing it to ScribbleActivity
2024-09-16 22:18:11 +02:00
Asiel Díaz Benítez ef578da78d Merge pull request #3293 from deltachat/adb/issue-3287
avoid NullPointerException in ConversationListActivity.refreshAvatar
2024-09-16 22:17:51 +02:00