Commit Graph

3791 Commits

Author SHA1 Message Date
adbenitez 17a5f9a266 fix crash when opening Advanced settings 2021-11-08 20:00:15 -05:00
adbenitez 46df7e5ab2 update build.gradle 2021-11-08 19:37:38 -05:00
adbenitez 33ff464028 Merge remote-tracking branch 'upstream/master' into lite 2021-11-08 17:30:58 -05:00
bjoern 0522c1a539 prepare 1.24.2 (#2123)
* bump version to 1.24.2

* keep existing outfile file scheme (deltachat-VARIANT-RELEASE-VERSION.apk) (default probably is changed by gradle7)

* update changelog
2021-11-07 15:27:13 +01:00
B. Petersen e11fbc7455 update translations 2021-11-07 14:01:05 +01:00
bjoern 18ee751485 fix backups for android10 (#2122)
- Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)
  was not writable for android10 (older and newer androids are okay)

- the import selectMediaType() showed up,
  however never did show the exported file on android10 (also here, older and newer androids are okay)

re-adding the flag `android:requestLegacyExternalStorage="true"` that was removed in #2087
fixed both problems, at least in the emulator.

seems as if the flag is still respected when running on sdk29 even when targeting sdk30;
when running on sdk30, however, the flag is ignored.

at least the following doc does not say that the flag is needless in sdk30:
https://developer.android.com/reference/android/R.attr#requestLegacyExternalStorage
2021-11-07 13:33:49 +01:00
bjoern ab8543d654 bump version to 1.24.1 (#2121) 2021-11-06 22:11:07 +01:00
Asiel Díaz Benítez 02ed207fa5 reduce selected account's checkmark size a bit (#2118) 2021-11-06 22:07:20 +01:00
B. Petersen 3bf28d0e0a update translations 2021-11-06 21:04:17 +01:00
B. Petersen 5e1681b028 update deltachat-core-rust submodule 2021-11-06 21:02:39 +01:00
Asiel Díaz Benítez 8774d05fda make toolbar's avatar visible if needed (#2117)
* make toolbar's avatar visible if needed

* make avatar visible when going back to chatlist after forwarding
2021-11-05 12:06:18 +01:00
bjoern 949f9b5b2f prepare 1.24.0 (#2104)
* update changelog for 1.24.0

* add device message

* add recent commits to changelog

* bump version to 1.24.0
2021-11-05 00:48:37 +01:00
Hocuri 7344b491af Fix photo view rail (#2113)
* Fix: Don't check for write permission when we don't need it

* Revert one of the changes from Signal
2021-11-04 22:09:44 +01:00
bjoern a30480b2d7 remove deprecated gradle element 'dexOptions' (#2115)
without, there is a warning in gradle7 that says:

"DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically."

not sure, what the option was about in older gradles.
2021-11-04 21:17:37 +01:00
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 c6c49da1f2 Merge remote-tracking branch 'upstream/master' into lite 2021-10-24 02:59:52 -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