Commit Graph

1542 Commits

Author SHA1 Message Date
B. Petersen 9d0d16dbf4 update translations 2022-01-31 16:26:02 +01:00
B. Petersen 1ccbb11bf6 adapt to new webxdc api 2022-01-28 21:11:50 +01:00
bjoern 5343da7248 larger webxdc icon, title and summary full-width below (#2203) 2022-01-26 22:58:56 +01:00
B. Petersen 38fe471604 update translations 2022-01-23 23:32:51 +01:00
B. Petersen 87cd2ded80 update translations 2022-01-23 16:24:20 +01:00
bjoern c205a1692e webxdc: warn when the app tries sendUpdate() and the user cannot send (#2199)
* show a warning when trying to sendUpdate() for contact requests or other chats the user cannot send to

* add missing 'Start...' translation
2022-01-22 22:11:29 +01:00
Hocuri 11ec547386 Make it possible to create an encrypted database (#2186)
- Before Android 6 (API 23), there was no KeyStore yet. Currently, you can still create an encrypted account, but the passphrase is stored in clear-text, because that's how Signal is doing things.
- There is no option to manually set the keyphrase or to unlock via fingerprint. This has the advantage that we never need user input for unlocking the accounts and can simply unlock all accounts on startup and the obvious disadvantage that anyone with access to the unlocked device can open DC.
- Each account is encrypted with a different passphrase.
- When importing, you can choose to encrypt the account.
2022-01-22 20:57:16 +01:00
B. Petersen 3c6f988552 update translations 2022-01-22 17:41:19 +01:00
B. Petersen 571368a081 update translations 2022-01-22 13:01:37 +01:00
Asiel Díaz Benítez eb25a5e78c add "developer mode" preference (#2196)
* add "developer mode" preference

* activate WebContentsDebugging also after restart

as the preference option is persisted,
we should call setWebContentsDebuggingEnabled() not only on flag changes.

* capitalize option name, shorter description

* prefer 'can' over 'may'; the latter is very formal

* add Prefs.isDeveloperModeEnabled()

Co-authored-by: B. Petersen <r10s@b44t.com>
2022-01-22 11:01:48 +01:00
B. Petersen 00990634c9 update translations 2022-01-20 12:25:13 +01:00
bjoern 9e70aa7cad webxdc (#2174)
* add new w30 APIs

* create the webview,
disable internet access,
inject deltachat.js

* connect deltachat to the webview

* promisify api

* use msgActionButton to start the w30 apps

* cleanup

- create observers in onCreate() to avoid memory leak,
- derive from WebViewActivity to easier deal with particularities
  and to saves >100 loc
- reorder some methods to reflect lifetimes

* make it more clear, which uri-part is 'domain' and which one is 'path'

* unify logging

* it is 'statusUpdate' not 'stateUpdate'; not sure if promise is needed at the end, we can readd that as needed, simple code for now

* use core implementation for status updates

* disable debugging enabled by default, streamline code

* use same name for InternalJSApi for both, js and java

* getStatusUpdates() always return an array

* call JSON.stringify() on payload

* fix typo, fix equal operator

* use shorter function names in js land

* adapt to new zipped w30 format

* load any file from w30 archives

* add fallback if getMimeTypeFromExtension() fails

* rename w30 to webxdc

* add selfName()

* return selfAddr() if selfName() is empty

* rename deltachat.js to webxdc.js

* observer correct event

* rename getBlobFromArchive() to getWebxdcBlob()

* show webxdc app name in title bar

* swap payload and descr in sendUpdate() (adapt to new core api)

* allow user-defined-texts for webxdc apps, make room for icon+name

* show webxdc icon and name in chats

* render webxdc drafts accordingly

* allow configuring drafts

* do not destroy webxdc-message to be sent out by removing it via setDraft(null)

* fix crash when replying to webxdc messages

* add webxdc messages to profile's document tab

* hide 'search menu' for webxdc apps

* show app summary beside app icon

* remove outdated comment

* add precautious WebView restrictions

* Update src/org/thoughtcrime/securesms/ConversationItem.java

Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>

* Update src/org/thoughtcrime/securesms/ConversationItem.java

Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>

* Update src/org/thoughtcrime/securesms/ConversationActivity.java

Co-authored-by: Hocuri <hocuri@gmx.de>

* Webxdc requires at least Android 5 Lollipop

see https://github.com/deltachat/deltachat-android/pull/2174#discussion_r785436874

* recognize .xdc files on android10

based on @Hocuri's findings in #2188

Co-authored-by: Simon Laux <mobile.info@simonlaux.de>
Co-authored-by: adbenitez <asieldbenitez@gmail.com>
Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>
Co-authored-by: Hocuri <hocuri@gmx.de>
2022-01-18 10:52:09 +01:00
B. Petersen 34e63be22d fix typo in english language name for 'Ukrainian' 2022-01-09 21:22:29 +01:00
B. Petersen 7cd00aac63 fix typo in english language name for 'Telugu' 2022-01-09 21:19:50 +01:00
Asiel Díaz Benítez 003ca291ac remove inbox_watch and mvbox_watch options from advanced settings (#2182)
* remove inbox_watch and mvbox_watch options from advanced settings

* don't show warning dialog when SENTBOX_WATCH is disabled
2022-01-09 17:49:39 +01:00
B. Petersen 4dc623c03b update translations 2022-01-09 15:46:20 +01:00
B. Petersen 94af23eb53 update translations 2021-12-30 14:42:36 +01:00
B. Petersen 2abea2f651 update translations 2021-12-20 15:34:52 +01:00
B. Petersen 07d681345f update translations 2021-12-15 11:24:37 +01:00
bjoern 77ba931e72 add Bulgarian translation (#2172) 2021-12-13 17:02:07 +01:00
bjoern 1f4e21bdd5 remove unused translations (#2171)
successor of #2169
2021-12-13 10:53:25 +01:00
bjoern d6344a8f2d remove unused strings (#2169)
* remove unused strings

there were some left over the time :)

- i used the 'Unused Resources' linter in Android Studio
  to get delete candidates

- i removed all old 'Contact Request' strings
  as we do not have this anymore in that form.

- i checked every string using ./scripts/grep-string.sh
  that checks for usages on android, ios, node and desktop.

* remove chat_no_messages_hint
2021-12-13 10:44:57 +01:00
B. Petersen a50e0b5f57 update translations 2021-12-13 10:44:00 +01:00
bjoern 0baa2020b6 update layout placeholder; chat_no_messages_hint will be removed sooner or later (#2170) 2021-12-12 22:10:46 +01:00
bjoern 40bbfd6aa7 improve wording of one-to-one-chat hint (#2165)
* improve wording of one-to-one-chat hint

at #2134 we shortend the hint shown for an empty group massively,
removing greylisting hints and the hint that the recipient can user other mua.

the result of that shortening is that the creation of a one-to-one chat
is now way too long :)

i suggest shorten the hint in a similar way,
not much would be left then, however, that is maybe not bad :)

* re-add the aspect that the recipient does not need Delta Chat
2021-12-12 16:54:34 +01:00
B. Petersen 5637fdca1b update translations 2021-12-11 18:12:21 +01:00
B. Petersen 6b50c10546 update translations 2021-12-09 11:07:22 +01:00
bjoern 9755a7e028 add 'Download failed' string (#2167) 2021-12-09 11:01:08 +01:00
B. Petersen f965eb47de update translations 2021-12-01 21:25:22 +01:00
B. Petersen b5d63b19f7 update translations 2021-11-30 14:30:25 +01:00
B. Petersen 334b0c0dca update translations 2021-11-29 11:20:29 +01:00
B. Petersen 81234dcd6d update translations 2021-11-29 00:26:37 +01:00
bjoern 09e0d7e4d0 prepare 1.26.0 (#2153)
* update changelog for 1.26.0

* add device message; as 1.24 is still pretty fresh, we also keep that message for now

* bump version to 1.26
2021-11-29 00:21:28 +01:00
bjoern c7e81d2bc2 synchronize unread-badge-color with desktop (#2148) 2021-11-28 21:22:44 +01:00
B. Petersen f1f7156f15 hotfix: fix source strings.xml errors 2021-11-28 17:23:58 +01:00
B. Petersen 9fb695739d update translations 2021-11-28 13:46:53 +01:00
B. Petersen fd8c4a628e update translations 2021-11-28 00:38:29 +01:00
Simon Laux 5601ca91b1 add translation strings from desktop (#2149)
* add translation strings from desktop

* Update res/values/strings.xml

Co-authored-by: bjoern <r10s@b44t.com>

* rename `mailto_dialog_confirm_replace_draft` to just `confirm_replace_draft`

Co-authored-by: bjoern <r10s@b44t.com>
2021-11-28 00:29:36 +01:00
B. Petersen 0213019aa0 update translations 2021-11-26 11:42:27 +01:00
bjoern 1b68e13d9c "scan qr code" wordings (#2146)
* pass qr-code strings to core (as qr code images are generated in core now)

* shorter wording of qr code hints

* quote group name as done in most other places
2021-11-25 12:09:10 +01:00
B. Petersen 1223bd1f32 update translations 2021-11-24 23:31:18 +01:00
Asiel Díaz Benítez 23ad457fab [WIP] use the new SVG QR images generated in core (#2138)
* use the new SVG QR images generated in core

* hack y-offset of fallback-avatar-letter

the dominant-baseline=central and baseline=middle attributes are not working,
see https://github.com/deltachat/deltachat-core-rust/pull/2815#issuecomment-978067378
and source code comment for some more details.

Co-authored-by: B. Petersen <r10s@b44t.com>
2021-11-24 23:24:55 +01:00
bjoern ddda0750ba tweak wording for 'Last seen' (#2145) 2021-11-23 21:51:31 +01:00
Asiel Díaz Benítez 8b050f3b1e Merge pull request #2144 from deltachat/display-last-seen
Display last-seen info in profile
2021-11-23 12:18:36 -05:00
Asiel Díaz Benítez a79912109c Update res/values/strings.xml
Co-authored-by: bjoern <r10s@b44t.com>
2021-11-23 11:41:27 -05:00
B. Petersen 01f213c400 fix slovak string 2021-11-23 14:21:53 +01:00
B. Petersen d6daf72b8d update translations 2021-11-23 11:45:47 +01:00
adbenitez c7956abbaf show last-seen info in profile 2021-11-22 23:11:42 -05:00
Hocuri a4dd8446e8 Fix layout bug in chatlist title (#2137)
Fix #2127

* Fix layout bug in chatlist title

* Support RTL languages better
2021-11-22 10:14:51 +01:00
B. Petersen a9764e89ed update translations 2021-11-17 11:06:03 +01:00