Commit Graph

1835 Commits

Author SHA1 Message Date
adbenitez 5e93b89ff4 add yggmail support: allow dotless email address and localhost domain 2021-07-21 02:09:56 -04: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
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
Asiel Díaz Benítez 4dce3734ff apply app/system theme to WebView (#1972) 2021-07-15 16:46:09 +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
adbenitez c5d04791ec add support for openpgp4fpr schema in WebView 2021-06-25 15:41:17 +02: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
adbenitez 73f7daf119 URL-encode file name 2021-06-21 19:26:26 -04: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
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
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
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
Hocuri 60f8c41263 In-Chat-Search: Start searching at the newest (=last) message, not the oldest 2021-05-16 11:12:22 +02:00
Asiel Díaz Benítez 51d6b39017 Merge pull request #1927 from deltachat/adb-issue-1906
use fallback value for fileName
2021-05-14 11:21:04 -04:00
Asiel Díaz Benítez c6737883c7 Merge pull request #1910 from deltachat/adb-issue-1909
adapt attached audio's background to theme
2021-05-14 11:20:11 -04:00
Asiel Díaz Benítez 1a90f6b5de Merge pull request #1913 from deltachat/adb-issue-1912
highlight system messages in search results
2021-05-14 11:19:09 -04:00
adbenitez f9a07675e1 request composer's focus after recording is done 2021-05-13 23:48:06 -04:00
adbenitez 25efe86c4a use fallback value for fileName 2021-05-13 22:59:23 -04:00
B. Petersen 3939bbe439 add missing 'Forwarded' string 2021-05-10 14:21:47 +02:00
B. Petersen 0d04e54402 let testers get a translated/updated device message 2021-05-07 16:03:51 +02:00
B. Petersen 2de5487b31 tweak wording 2021-05-07 14:29:55 +02:00
B. Petersen 39b67e8876 link to online privacy policy (this is also a gplay requirement) 2021-05-07 14:29:55 +02:00
B. Petersen db395006a0 add a rationale dialog, disclosuring background location usage 2021-05-07 14:29:55 +02:00
B. Petersen 6008c4a0b4 draft a device message, the message is pretty neutral and should fit for ios/desktop as well 2021-05-05 21:41:57 +02:00
adbenitez b86b515dc0 highlight system messages in search results 2021-05-03 17:18:38 -04:00
Asiel Díaz Benítez 9babc20f45 Merge pull request #1903 from deltachat/adb-issue-1902
don't collapse search menu on group changes
2021-05-03 16:00:34 -04:00
adbenitez 7fd9ceb50a adapt attached audio's background to theme 2021-05-03 15:38:56 -04:00
Hocuri 030f1f857d Also remove supportInvalidateOptionsMenu() calls 2021-05-03 12:29:06 +02:00
Asiel Díaz Benítez 0fefd21894 Merge pull request #1904 from deltachat/adb-issue-1901
improve app accesibility
2021-05-02 19:35:10 -04:00
adbenitez 5b520e1c9a remove invalidateOptionsMenu calls 2021-05-02 19:16:49 -04:00
adbenitez fc1b7f7f31 remove unneeded linkify 2021-05-01 17:48:32 -04:00
adbenitez 5e1066752a use current emoji set in message details and make text selectable 2021-04-30 19:20:05 -04:00
adbenitez f1ac11c9ae use the same emoji style everywhere across the app 2021-04-30 00:09:34 -04:00
adbenitez 80f26d8994 add delivery status feedback in chat list, messages in chat, and system messages 2021-04-29 18:13:18 -04:00
adbenitez dbbfc8e4ac fix send button label 2021-04-29 16:45:16 -04:00
adbenitez d463c226f9 add description to emojis in the emoji selector 2021-04-29 05:01:07 -04:00
Asiel Díaz Benítez c849d8542b Merge branch 'master' into adb-sticker-improvements 2021-04-28 13:04:58 -04:00
adbenitez c01888aa48 open the contact-requests-chat directly if show_emails=all 2021-04-27 16:33:29 -04:00
adbenitez e6006c874b improve quote style when replying with a sticker 2021-04-23 18:01:16 -04:00
B. Petersen 3545fd2693 log getChatMsgs() timing 2021-04-23 21:20:34 +02:00