Commit Graph

1822 Commits

Author SHA1 Message Date
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 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
adbenitez 79abbee12d disable "reply privately" in contact requests chat 2021-04-21 17:54:00 -04:00
B. Petersen 0f9a3dd0de mark limited results as such
by definition, global-message-search truncates the result at 1000 messages,
therefore, if we get 1000 results, that may be a limited result.
2021-04-20 20:46:28 +02:00
B. Petersen 69c9a087aa speedup global search
the speedup is done by the following changes:

- if the query-string is updated while actually performing a search,
  the new search is not directly scheduled as before;
  instead the flag needsAnotherBgSearch is set;
  in the search-thread, the flag is checked
  and another search will be performed

  this way, searches as skipped, but the most recent is always executed

- if there are already chat- or contact-results and
  the query-search has changed meanwhile, search is aborted
  and the partial result is used (next search will be exexuted immediately)

  this way, esp. the expensive searchMsgs() search is executed less often
  on fast typing

- for a one-letter-search, search for messages is always skipped

this is roughly what we are doing on ios since
https://github.com/deltachat/deltachat-ios/pull/1140

moreover, this pr cleans up some things,
putting logic to the same java class.
2021-04-20 11:22:03 +02:00
B. Petersen 870f78ab35 measure timings in global search, order requests 2021-04-20 11:22:03 +02:00
Asiel Díaz Benítez 98f2adc8fa Merge pull request #1886 from deltachat/adb-fix-group-profile-menu
Improve profile menus
2021-04-19 20:05:30 -04:00
adbenitez 6db123e82e allow to share document in Document profile tab 2021-04-19 18:59:37 -04:00
adbenitez 7374982524 add share item in gallery selection menu 2021-04-19 16:53:13 -04:00
adbenitez 5c09cf923d hidde unused menu items in ProfileSettingsFragment 2021-04-19 15:27:26 -04:00
adbenitez 0da8cfa423 make BaseConversationItem.bind() protected 2021-04-19 10:54:39 -04:00
adbenitez b861295517 fix clicks on system messages 2021-04-18 18:58:37 -04:00
Asiel Díaz Benítez 92029b9ede Merge pull request #1881 from deltachat/adb-issue-1880
show system message status while sending and on errors
2021-04-18 14:37:23 -04:00
adbenitez a398b0af62 set delivery icon color to red if message failed 2021-04-18 13:42:06 -04:00
adbenitez 60c821180f fix sticker scaling 2021-04-18 01:05:44 -04:00