Commit Graph

3701 Commits

Author SHA1 Message Date
B. Petersen 1eb4f20ec3 update local help 2021-11-04 17:42:41 +01:00
B. Petersen 22604fbef7 update translations 2021-11-04 17:20:31 +01:00
Asiel Díaz Benítez be56cb380e QR activities improvements (#2103)
* allow to copy QR data and to read QR data from clipboard

* add share option

* allow to scan QR from gallery

* use menu_copy_to_clipboard instead of menu_copy_link_to_clipboard

* use AttachmentManager

* reuse Bitmap

* change REQUEST_CODE_IMAGE value

* use getCacheDir()

* replace handleOpenPgp4Fpr with handleQrData

* show error message if scanning QR failed

* use Log.e() instead of Log.w()

* Revert "use getCacheDir()"

This reverts commit 2a2a801b311e7c4929f5063d3340234413528b93.

the impact of this change is eaasily larger than expected,
see comments at https://github.com/deltachat/deltachat-android/pull/2103

if needed, we can discuss and re-add that in a separate, more focused pr.

Co-authored-by: B. Petersen <r10s@b44t.com>
2021-11-04 12:26:32 +01:00
Hocuri f34ef4db13 Target SDK/API 30 (#2087)
* Target SDK 30

* Pull changes from Signal

* Bugfix, make photo view rail be shown again

* Fix capturing images using an external camera

* Make backups work. Unfortunately, I did this by copying the backup file to the private storage first.

* Fix: Show the correct folder name when exporting attachment

Before, after exporting an attachment, on newer Android versions (and
maybe also on older ones) the toast always said
`File exported to "media"`.

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

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

Co-authored-by: bjoern <r10s@b44t.com>
Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>
2021-11-04 12:23:17 +01:00
bjoern cc7bfbac51 show errors after account scanning failure (#2106)
reading captured error has a race with the thread that sets the error.

this is mitigated by sleep().

see https://github.com/deltachat/deltachat-core-rust/issues/2787
for details and a proper solution.
2021-11-02 22:11:30 +01:00
Hocuri 52e31dc141 Fix NullPointerException 2021-11-02 18:38:42 +01:00
B. Petersen c25020f0c0 update translations 2021-10-31 23:58:15 +01:00
B. Petersen 2e6e53abbd update local help 2021-10-31 23:57:10 +01:00
B. Petersen 136e9aa913 update deltachat-core-rust submodule 2021-10-31 21:00:39 +01:00
bjoern 45187174f2 new group from profile (#2100)
* add 'New Group or Subject' to contact profiles and allow group creation from there

* preselect contacts on group-creation from profile

* remove dead code

* also for existing group-creation, do not finish calling activity needlessly (this is pretty unexpected behavior)

* on editing groups, just use isProtected() from the chat to edit
2021-10-31 15:24:50 +01:00
bjoern 1e2bc56aec adapt 'self-profile' hint to reality (#2102)
* adapt 'profile' hint to reality

- the profile hint misses that also the signature
  is sent out, together with name and image

- strike the part about that sent information cannot be retracted -
  that is pretty clear,
  and if we say that here, why not beside every message ;)
  not sure where that comes from,
  i checked similar settings in other messengers,
  there is no comparable hint.

* remove unclear 'alongside' wording
2021-10-30 23:09:11 +02:00
B. Petersen be4729b669 update translations 2021-10-30 19:04:57 +02:00
Asiel Díaz Benítez 090fc09657 show verified-checkmark in memberlist in group creation (#2101) 2021-10-30 14:08:56 +02:00
B. Petersen eedf1c4858 Revert "add 'New Group or Subject' to contact profiles and allow group creation from there"
This reverts commit 872044b811.
2021-10-29 10:44:29 +02:00
B. Petersen 872044b811 add 'New Group or Subject' to contact profiles and allow group creation from there 2021-10-29 10:34:46 +02:00
B. Petersen f4aa8504c1 update deltachat-core-rust submodule 2021-10-28 12:16:51 +02:00
B. Petersen d180ab104c update local help 2021-10-28 12:13:09 +02:00
B. Petersen cac85528df update translations 2021-10-27 17:40:17 +02:00
B. Petersen cb1b1871b0 update translations 2021-10-27 17:28:19 +02:00
bjoern a0c96af983 make new 'join group' strings translatable, remove superfluous code (#2095)
* make new 'join group' strings translatable

* remove now superfluous group-join-progress-dialog

* remove thread-back-to-main roundtrip, joinSecurejoin() should return fast enough, not much different from any other chat creation
2021-10-27 17:23:45 +02:00
B. Petersen 9b1b2275eb update deltachat-core-rust submodule 2021-10-27 10:43:26 +02:00
bjoern ab5c57736a re-add "Add Attachment" menu entry (#2094)
it was removed to have some less menu entries,
however, on recent discussions,
it turns out clearer and clearte that this will break some workflows
(writing text first, then adding attachment).

i just had a look at other "large" messengers -
all of them support "write text, then add attachment" -
as well as our iOS and Desktop apps.
also, this order seems to be pretty normal when it comes to "E-Mail".

all in all,
i think, we should not sacrify this workflow just to save one menu entry.

at some point,
maybe we want to have the "Attach" button always visible left of the input bar
as most other messengers do (as well as iOS and Desktop),
however, this is a larger thing and also has its drawbacks on smaller screens.

so, just leave things as is seems not to be the worse idea here.

the "View Profile" menu entry, however stays, removed,
so, there is some cleanup.
2021-10-27 10:42:53 +02:00
Asiel Díaz Benítez 420184bd5c Merge pull request #2075 from deltachat/adb-avatar-in-toolbar
add self avatar to conversation list's toolbar
2021-10-27 03:11:30 -04:00
adbenitez 6e5f8b3081 reduce avatar size 2021-10-27 03:02:07 -04:00
adbenitez 41f78f0deb update avatar's tooltip message 2021-10-27 01:33:40 -04:00
adbenitez f4764b73a7 show account selector instead of profile 2021-10-27 00:21:16 -04:00
Asiel Díaz Benítez e5f6ba369f Merge pull request #2089 from deltachat/adb-improve-new-group
improve selected recipients list
2021-10-26 22:24:39 -04:00
Asiel Díaz Benítez fc3bb64e05 Merge pull request #2093 from deltachat/adb-issue-2092
accept contact request before replying from notification
2021-10-26 22:18:49 -04:00
B. Petersen e0910b461a update deltachat-core-rust submodule 2021-10-26 16:34:40 +02:00
Hocuri 66d6e249e7 Improve RTL layout support 2021-10-26 14:21:49 +02:00
B. Petersen 007506b359 update translations 2021-10-25 23:36:46 +02:00
B. Petersen 2b0604919b update deltachat-core-rust submodule 2021-10-25 23:35:43 +02:00
adbenitez e843d49570 accept contact request before replying from notification 2021-10-25 00:39:54 -04:00
adbenitez d30da32582 improve selected recipients list 2021-10-20 23:42:59 -04:00
adbenitez 5f016bf598 update avatar on changes 2021-10-20 16:59:41 -04:00
B. Petersen ee02761ab2 update deltachat-core-rust submodule 2021-10-19 17:16:48 +02:00
B. Petersen eb4f602ecc update translations 2021-10-19 17:16:35 +02:00
bjoern 1519374049 check can_send() on tapping avatar (#2086)
editing name/avatar is only possible when one can send to a chat;
for the menu entry, this is already checked (the menu entry is hidden then),
but it was forgotten on avatar tapping.
2021-10-19 17:14:19 +02:00
Asiel Díaz Benítez e6883ec021 Merge pull request #2084 from deltachat/adb-issue-2006
select previous account when rolling back account creation
2021-10-15 15:51:23 -04:00
Asiel Díaz Benítez ff778bf32f Merge pull request #2082 from deltachat/adb-issue-2067
don't add members if back button is pressed
2021-10-15 15:46:05 -04:00
Asiel Díaz Benítez e6e975a566 Merge branch 'master' into adb-issue-2006 2021-10-15 15:20:13 -04:00
Asiel Díaz Benítez 930f6fef8d Update src/org/thoughtcrime/securesms/connect/AccountManager.java
Co-authored-by: bjoern <r10s@b44t.com>
2021-10-15 15:18:22 -04:00
Asiel Díaz Benítez 6c510e4f20 Merge pull request #2081 from deltachat/adb-issue-2068
disable fullscreen keyboard
2021-10-15 15:15:35 -04:00
bjoern 1fa5025767 simpler account switching (#2080)
remove the "progress" dialog that shows up for a fraction of a second.
as all accounts are already in memory since the switch to dc_accounts_t,
there is nothing that can take so much time to satisfy a "wait" dialog.

the switching is now at least visually nicer -
however, due to less task switching and less code,
it should also be a bit faster.
2021-10-15 11:32:36 +02:00
B. Petersen 5b37ac5293 update translations 2021-10-15 11:30:55 +02:00
Asiel Díaz Benítez eb75aaae1a use Dismiss instead of Mark as Read in notification action (#2083) 2021-10-15 11:22:48 +02:00
adbenitez ac2ad2ed33 select previous account when rolling back account creation 2021-10-15 02:05:47 -04:00
adbenitez dcad6b2073 don't add members if back button is pressed 2021-10-14 02:28:46 -04:00
adbenitez f0572aac26 disable fullscreen keyboard 2021-10-14 02:22:00 -04:00
adbenitez 4e9a5ce026 fix fallback avatar 2021-10-13 21:59:11 -04:00