Commit Graph

4783 Commits

Author SHA1 Message Date
adbenitez 0edc1cb0e0 update description 2022-11-15 14:56:49 -05:00
adbenitez a3bd2157f9 Merge remote-tracking branch 'upstream/master' 2022-11-15 12:26:34 -05:00
bjoern 0169db7146 add versionCode to debug info (#2427) 2022-11-15 17:30:18 +01:00
B. Petersen 97868bcdbc update deltachat-core-rust submodule to 'prepare 1.101.0 (#3757)' 2022-11-15 16:12:39 +01:00
B. Petersen 2a9223a706 update translations 2022-11-15 16:12:17 +01:00
bjoern ae0be1302c prepare 1.34.4 (#2424)
* update changelog for 1.34.4

* bump version to 1.34.4
2022-11-12 23:15:34 +01:00
bjoern 81c2812390 let DynamicLanguage.getLayoutDirection() work on sdk16/android4.1 (#2423)
sdk16/android4.1 does not support RTL fully,
therefore just return LTR in this case
(this is also what `ViewCompat.getLayoutDirection()`
and `View.getLayoutDirection()` are doing).

always using `ViewCompat.getLayoutDirection()`, however,
causes problems as the layout is based on the content then
(see #2422)

closes #2420
2022-11-12 22:33:48 +01:00
B. Petersen 521f55fe04 update translations 2022-11-10 12:26:21 +01:00
bjoern 2450bfc4bf remove meanwhile superfluous data2IsString() (#2418) 2022-11-10 10:39:33 +01:00
bjoern d6f9b5e283 avoid crashes when adding notifications (#2419)
notificationManager.notify() sometime crashes,
it seems to be on some OS versions
in combination with missing sounds (maybe deleted system sounds, idk).

i could not reproduce the issue,
however, by the stack traces reported in the gplay backend,
adding a try/catch block should help.

there is also a similar issue reported on stackoverflow ,
https://stackoverflow.com/questions/72491592/notificationmanager-notify-throwing-securityexception-only-on-android-11-and-1

in the issue, ppl try to fall back to some default parameters in the exception block,
however, as it is a bit unclear what really the issue is,
one only risks further crashes; also, the crashes are still quite rare,
sth. seems to be wrong in the OS here,
so we should not try to be too smart here.
2022-11-10 10:39:19 +01:00
bjoern d764ed7b91 clarify meaning of 'left'; this came out of transifex discussions (#2416) 2022-11-08 09:59:24 +01:00
B. Petersen 966589edfe update translations 2022-11-07 23:16:56 +01:00
bjoern f9ce0baea1 prepare 1.34.3 (#2412)
* update changelog for 1.34.3

* bump version to 1.34.3
2022-11-02 10:49:26 +01:00
adbenitez 860f1b5b02 Merge remote-tracking branch 'upstream/master' 2022-11-01 01:43:50 -04:00
bjoern c28c72511e fix crash in share-to-delta and similar issues (#2411)
* fix crash in share-to-delta

the crash was introduced by 1.34.2 that was released for testing only.

reason is a wrong `exported` flag - it makes sense to have `exported="true"` here.

the flag was added in https://github.com/deltachat/deltachat-android/pull/2407
as needed for android12 - and i was assuming that the old default was `false`
and set that value to all missing ones.

that assumption seems to be wrong, so we should double-check all flags
changed by https://github.com/deltachat/deltachat-android/pull/2407

* set exported=true; this is the pre-android12 default in case there intent-filters
2022-10-31 21:47:47 +01:00
adbenitez 90366eeb46 fix AndroidManifest.xml 2022-10-31 03:29:18 -04:00
adbenitez fa99151c05 Merge remote-tracking branch 'upstream/master' 2022-10-31 02:13:17 -04:00
bjoern 33bbfaf951 prepare 1.34.2 (#2406)
* update changelog for 1.34.2

* bump version to 1.34.2
2022-10-30 17:36:30 +01:00
adbenitez 48dec04e83 Merge remote-tracking branch 'upstream/master' 2022-10-30 11:58:21 -04:00
Asiel Díaz Benítez 856b2d3cdf fix message bubble corner for RTL languages (#2410) 2022-10-30 16:18:19 +01:00
bjoern 443ea0cd36 bump targetSdkVersion to 32 (#2407)
* bump targetSdkVersion to 32

* explicitly set `android:exported` for `indent-filter`

this is required since targetSdkVersion 31,
https://developer.android.com/guide/components/intents-filters#Receiving

as the default was `false` before,
i just explicitly set `android:exported="false"` without looking in the details
of each filter.

* update to gradle 7.2.2; this might be needed to get warnings etc.

* update androidx dependencies

at least the update of androidx.sharetarget is required because of the missing
`android:exported`; i took the chance to update all androidx depenencies.

see https://developer.android.com/jetpack/androidx/releases/appcompat
for a CHANGELOG of each dependency.

* use explicit dependency instead of transitive ones; this fixes a weird duplicate error, see https://stackoverflow.com/questions/69817925/problem-duplicate-class-androidx-lifecycle-viewmodel-found-in-modules

* work around google's poor design decision wrt FLAG_MUTABLE

instead of setting a default behavior and logging a warning,
google crashes the application when the flag is missing on newer androids.

and setting the flag for older API seems to be undefined and therefore a lot of
Build.VERSION.SDK_INT >= Build.VERSION_CODES.M would be required each time
a PendingIntent object is constructed ...

our Util returns either the new flag or zero,
so that can just be used unconditionally on construction.

* update dependencies but exoplayer to mitigate issues with FLAG_MUTABLE

exoplayer needs more love and updating opens a can of worms;
i tested, at least in the emulator, video and voice message playback
works as usual, so let's update exoplayer if needed.
2022-10-30 16:06:24 +01:00
adbenitez 0fbd65c237 Merge remote-tracking branch 'upstream/master' 2022-10-30 05:32:46 -04:00
B. Petersen c29013eda2 update local help 2022-10-29 17:08:31 +02:00
B. Petersen b77528c9ef update translations 2022-10-29 17:04:31 +02:00
bjoern f9286975d6 use more modern methods to track connectivity changes (#2403)
* use registerDefaultNetworkCallback() instead of deprecated CONNECTIVITY_ACTION

CONNECTIVITY_ACTION is deprecated, see https://developer.android.com/reference/android/net/ConnectivityManager#CONNECTIVITY_ACTION,

instead, we call maybe_network() at ConnectivityManager.NetworkCallback::onAvailable() callback.

* add more debug info
2022-10-29 15:42:44 +02:00
Hocuri c95bfb544d Also show errors for incoming emails (#2404)
Needed for deltachat/deltachat-core-rust#3583. Before that PR, we never put errors on incoming messages, so this wasn't necessary.
2022-10-28 12:18:00 +02:00
B. Petersen 8b3e251449 update translations 2022-10-24 21:41:29 +02:00
B. Petersen 644d699711 update deltachat-core-rust submodule to 'Prepare 1.98.0' 2022-10-24 21:40:21 +02:00
adbenitez d452af4fec update version number 2022-10-18 20:15:26 -04:00
adbenitez 02bc54d517 update submodule 2022-10-18 20:01:44 -04:00
adbenitez 0b4e749f04 Merge remote-tracking branch 'upstream/master' 2022-10-18 20:01:09 -04:00
Asiel Díaz Benítez 8ea4d3aece Merge pull request #2398 from deltachat/adb/issue-2397
use Start/End instead of Left/Right in avatar layout
2022-10-18 19:58:19 -04:00
B. Petersen a2098724e8 update translations 2022-10-18 13:15:29 +02:00
adbenitez 421d2cf978 use Start/End instead of Left/Right in avatar layout 2022-10-17 16:55:32 -04:00
adbenitez b66998a832 update submodule 2022-10-11 16:13:18 -04:00
adbenitez c20e97d16d Merge remote-tracking branch 'upstream/master' 2022-10-11 16:12:54 -04:00
B. Petersen cbdb248fb2 update translations 2022-10-06 15:32:44 +02:00
bjoern 35f16c80ac prepare 1.34.1 (#2395)
* update changelog for 1.34.1

* bump version to 1.34.1
2022-10-05 01:22:04 +02:00
B. Petersen 63ae7575ef update translations 2022-10-04 11:02:52 +02:00
Asiel Díaz Benítez f85cb990db hide ephemeral timer in mailing lists (#2394) 2022-10-04 10:13:04 +02:00
bjoern 0ea09b6086 use less muted color for "recently seen" (#2393)
with the "connection view",
we already have a green indicating sth. as "online", reuse that.
(the green used before is a bit too much of a muted color,
this does not reflect "activity" well)

i came over that when playing around with the layout on ios;
ios uses the same color now.

also many other apps use a similar, less muted green for "activity" or
"online".
2022-10-04 10:10:39 +02:00
adbenitez e663e5e64a Merge remote-tracking branch 'upstream/master' 2022-10-03 23:58:16 -04:00
B. Petersen 2d8f71f67f fix linebreak in translation 2022-10-02 20:29:43 +02:00
B. Petersen 829bb4ea6c update translations 2022-10-02 17:41:56 +02:00
bjoern a9c8b30c3e prepare 1.34.0 (#2392)
* bump version to 1.34.0

* update changelog for 1.34

* add core changes to CHANGELOG (core91..core95)

* add 1.34 device message

* tweak device message

* update translations
2022-10-01 23:01:26 +02:00
B. Petersen fc804b2249 update spanish translation 2022-10-01 21:55:35 +02:00
B. Petersen d5a8cf430d update local help 2022-10-01 15:30:14 +02:00
B. Petersen 4238e1f283 update translations 2022-10-01 10:46:04 +02:00
B. Petersen 1e8f4c3bee update translations: do not abbreviate 'seconds' in disappearing messages messages 2022-09-30 19:19:13 +02:00
bjoern 2fabc56b84 remove deprecated strings (#2391)
* remove old system messages strings; these ones are no longer needed since https://github.com/deltachat/deltachat-android/pull/2380

* remove unused device message

* pull translations
2022-09-30 16:13:39 +02:00