Commit Graph

3494 Commits

Author SHA1 Message Date
B. Petersen 7b99cacde5 update translations 2021-07-21 13:35:30 +02:00
Asiel Díaz Benítez 1f23a5ad1b Merge pull request #1970 from deltachat/set-clipboard-with-utils
avoid code duplication, use Utils.writeTextToClipboard() everywhere
2021-07-19 12:43:50 -04:00
bjoern 7da9d1026f use translated string for 'Video chat instance' (#1978) 2021-07-19 14:55:57 +02:00
B. Petersen 07c3623275 udpate translations 2021-07-19 14:53:30 +02:00
B. Petersen 844ff27518 update translations 2021-07-19 11:32:25 +02:00
bjoern 2105c500ce consider multi-device usage on withdraw/revive QR code wordings (#1977)
in a multi-device-setup,
if deviceB scans a setup-contact QR code shown on deviceA,
it is misleading to say that the QR code was withdrawn
and can be revived.
actually, the QR code was never withdrawn by the user.

this is fixed by this pr.
(at some point, we want to sync QR codes across devices,
but even then, there may be siutuations where things are not in sync)

moreover,
the wording is more explicit about what is usually done with the qr code;
this is esp. helpful, when scanning a printed QR code without much context.
2021-07-19 10:47:22 +02:00
Asiel Díaz Benítez 214f11a62f Merge pull request #1968 from deltachat/adb-issue-1967
avoid NullPointerException in DcMsg.msgSetToIds()
2021-07-15 18:02:57 -04:00
Asiel Díaz Benítez f0290649f4 Update src/com/b44t/messenger/DcMsg.java
Co-authored-by: bjoern <r10s@b44t.com>
2021-07-15 17:56:10 -04:00
B. Petersen 6c48233005 update translations 2021-07-15 17:14:47 +02:00
Asiel Díaz Benítez 4dce3734ff apply app/system theme to WebView (#1972) 2021-07-15 16:46:09 +02:00
B. Petersen 623976424e update deltachat-core-rust submodule 2021-07-15 13:25:53 +02:00
Hocuri 7ad227f789 Hide unnecessary controls if you can't send (#1951)
- Imediately hide the compose panel when you left the group and
EVENT_CHAT_CHANGED was sent
- Hide the "Leave" button if you are not a member of a group. I solved
this by checking `canSend()`; I could also have checked
`dc_is_contact_in_chat(CONTACT_ID_SELF)`, but this would be more
complexity for now.

  When we add the possibility to leave mailing lists, the core will have
  to explicitly tell the UI whether it's possible to leave a chat, but
  that's not for now.
2021-07-15 13:25:11 +02:00
bjoern 466697c976 allow withdrawing and reviving qr codes, add corresponding strings (#1965)
the code-part of this pr is pretty simple, most work was already done in core at deltachat/deltachat-core-rust#2512

* add DC_QR_{WITHDRAW|REVIVE}_VERIFY{CONTACT|GROUP} constants

* ask to withdraw/revive qr codes

* reword redraw hints, fix typos

* reword revive statement

* Update res/values/strings.xml: Add "by others"

* Apply suggestions from comradekingu's code review

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Hocuri <hocuri@gmx.de>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2021-07-14 17:46:20 +02:00
adbenitez d455526ca4 avoid code duplication, use Utils.writeTextToClipboard() everywhere 2021-07-08 20:25:17 -04:00
Hocuri b3fea81bed Implement a basic connectivity view
The non-squashed original commits are available at 243bd3a56:

* First, quick and dirty version

* Basic HTML connectivity view

* Codestyle, automatically refresh

* Make it accessible from the settings

* Improve usability

I did some user-testing with my family, these are the results:
- Added an emoji to the html page (red dot for not connected, and so on)
- Adapted error messages for SMTP:
  "Not started" -> "(You did not try to send a message recently)"
  "🟢 Connected" -> "🟢 Your last message was sent successfully"
- "Not connected" is misleading, because they think that this means that there is no internet connection.
  But "Not connected" can have other causes, like, a not responding server or a changed-but-not-updated-in-DC password

  Possible solutions:
  - "Not connected" -> "Not connected with gmx.de" (or whatever comes after the '@' in configured_addr). The problem: some people have an own domain for their emails, but no own servers. "Not connected with <your domain>" and might make them think that the problem is that DC tries to connect to the server <your domain>, while the server is hosted at Strato.com.
  - We can ask the system whether there currently is network and then show another error message. The problem: Sometimes the system is wrong.

* Remove error_network

* Remove server_response string

* Move `getConnectivitySummary()` to `DcHelper`

* Implement the changes we agreed on

* Remove string error_no_network

* small fixes
2021-07-08 22:50:22 +02:00
adbenitez 4480e7c5b0 avoid NullPointerException 2021-07-05 03:05:56 -04:00
cyBerta b75124a38d Merge pull request #1956 from deltachat/adb-issue-1908
unbind service in stopLocationEngine()
2021-07-01 10:29:36 +02:00
B. Petersen 3a4624e6f9 update translations 2021-06-30 23:39:28 +02:00
bjoern 1ebe04505c fix some typos (#1966)
* prefer e-mail over email, before, that was mixed. cherry-pick from #1960

* fix typos
2021-06-30 14:54:59 +02:00
B. Petersen c6cdba1de8 removed arabic n_hours/n_minutes as there are issues with them, %d is missing for some quantities, this should be avoided 2021-06-30 14:09:39 +02:00
Jikstra bfdddf1567 Clarify disappearing message hint (#1926)
* Clarify disappearing message hint

I got the user feedback that it's not clear that this setting only applies for this chat/group and is not a global setting like device/server deletion

* incorporate feedback to disappearing messages hint

Co-authored-by: B. Petersen <r10s@b44t.com>
2021-06-30 13:53:33 +02:00
adbenitez 27df7fa943 add more case variations 2021-06-29 22:39:21 +02:00
adbenitez a267cdd151 handle URLs starting with OPENPGP4FPR: 2021-06-29 22:39:21 +02:00
B. Petersen 8e98559723 update deltachat-core-rust submodule 2021-06-29 14:04:30 +02:00
B. Petersen c9b7b09ab9 update deltachat-core-rust submodule 2021-06-25 23:18:56 +02:00
adbenitez c5d04791ec add support for openpgp4fpr schema in WebView 2021-06-25 15:41:17 +02:00
Asiel Díaz Benítez c31f41d800 Merge pull request #1961 from deltachat/adb-fix-log-scrolling
make log view's scroll to top/bottom work
2021-06-23 18:33:06 -04:00
adbenitez 48e768bc04 make scroll to top/bottom work in the log view when the EditText is not focused 2021-06-23 00:37:37 -04:00
Asiel Díaz Benítez 9b4eae45fd Merge pull request #1955 from deltachat/adb-issue-1937
don't open chat directly if user clicks in blocked addresses
2021-06-22 12:39:31 -04:00
Asiel Díaz Benítez 645f823886 Merge pull request #1959 from deltachat/adb-issue-1939
URL-encode file name in openForViewOrShare()
2021-06-22 12:24:03 -04:00
B. Petersen ac3cbb673f update translations 2021-06-22 12:53:14 +02:00
adbenitez 73f7daf119 URL-encode file name 2021-06-21 19:26:26 -04:00
B. Petersen 05de12b58b cleanup 2021-06-21 13:59:24 +02:00
adbenitez a83ca0077f unbind service in stopLocationEngine() 2021-06-21 02:39:45 -04:00
adbenitez a5415ecc14 don't open chat directly if user clicks in blocked addresses 2021-06-20 19:06:06 -04:00
adbenitez ebfc562345 use text color for links in signature 2021-06-18 16:01:33 +02:00
B. Petersen 555544feb2 update translations 2021-06-14 12:35:32 +02:00
B. Petersen c873e9c607 allow quote-replies for stickers
once the sticker is sent together with the quote,
the quote is cleared.

if there is some draft text, however, that is kept as draft.
tickers together with text are discouraged.
2021-06-09 11:28:09 +02:00
B. Petersen 073c915d24 also allow image/webp as sticker format 2021-06-09 11:28:09 +02:00
B. Petersen d7729b6001 send images from 'Image keyboard' as stickers
see https://developer.android.com/guide/topics/text/image-keyboard
2021-06-09 11:28:09 +02:00
B. Petersen ccf8ca0a56 bump version to 1.20.5 2021-06-07 23:44:48 +02:00
B. Petersen d496ebb669 update changelog to 1.20.5 2021-06-07 23:44:48 +02:00
B. Petersen 3b87c6bea7 update deltachat-core-rust submodule 2021-06-07 22:00:12 +02:00
B. Petersen 41e4aa4fe2 update translations 2021-06-07 14:30:24 +02:00
B. Petersen 01974ae7ab update translations 2021-06-03 14:57:49 +02:00
B. Petersen c44f688f7c update translations 2021-06-02 14:17:30 +02:00
bjoern 096cfc81ab refine wording of remaining screenlock (#1944)
we keep using the screenlock for "Backup" and "Manage keys";
these dialog always used the wording of the "global" screenlock,
sth. as "Please Unlock Delta Chat", however, that wording was always wrong
as Delta Chat itself is not locked in these situations.

this pr sets the title to the selected action
and just says "Please enter system secret to continue."

moreover, the toasts on canceling the action are removed,
they do not make much sense here,
there was a user action just before, so that is pretty clear anyway.
2021-06-02 14:08:14 +02:00
B. Petersen 6602bb2639 update translations 2021-06-02 12:20:53 +02:00
Hocuri 8c0fac43c4 Remove screenlock (#1942)
* Remove screen lock feature, move the two remaining "App access" options into "Advanced"

Locking the app was removed a long time ago, so in "App access" in the
settings, the only two remaining items were "Screen security" and
"Incognito keyboard".

* Remove the now-unused strings

* remove app-access-category from main settings screen

Co-authored-by: B. Petersen <r10s@b44t.com>
2021-06-02 11:21:47 +02:00
B. Petersen 058f98c3fc update translations 2021-05-24 13:08:05 +02:00