Commit graph

4161 commits

Author SHA1 Message Date
bjoern
4d22d91e98
prepare 1.34.5 (#2428)
* update changelog for 1.34.5

* bump version to 1.34.5
2022-11-15 20:01:10 +01: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
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
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
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
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
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
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
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
B. Petersen
dece845d34
preserve 'group image deleted' translations; that one was forgotten at https://github.com/deltachat/deltachat-android/pull/2390 2022-09-30 15:57:42 +02:00
bjoern
8b308ca3be
check translation for bad lineends (#2389)
`<br>` lineends are not allowed in strings.xml
and lead to compile errors as "terminating tag missing".

(adding these checks as this pop up from time to time and is easily overseen)
2022-09-30 15:36:30 +02:00
bjoern
d45d1fc958
preserve system message translations (#2390)
by the revamped system messages,
lots of translations would be trashed.
this pr preserves these translations by running a little script
(https://gist.github.com/r10s/90e78b425ccc47515a2120952ac13809)

the translation state is not worse than before
https://github.com/deltachat/deltachat-android/pull/2380 and
already manually improved translations are not touched.

afterwards, we can finally deleted all the deprecated strings.
2022-09-30 15:36:16 +02:00
B. Petersen
b02fe7468c
update deltachat-core-rust submodule to 'prepare 1.95 (#3617)' 2022-09-30 12:44:02 +02:00
B. Petersen
2ceaa2c6a6
update translations 2022-09-30 12:30:02 +02:00
B. Petersen
677a00fbde
update translations 2022-09-29 18:49:09 +02:00
B. Petersen
c65208718c
explain placeholder of DCLOGIN strings 2022-09-29 18:40:42 +02:00
B. Petersen
f30ed105ef
use 'log in' wording as done at similar places 2022-09-29 18:37:14 +02:00
Simon Laux
05fcac819e
add dclogin scheme to qr code scan (#2366)
* add dclogin scheme to qr code scan

* Update src/org/thoughtcrime/securesms/qr/QrCodeHandler.java

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>

* Update src/org/thoughtcrime/securesms/qr/QrCodeHandler.java

Co-authored-by: bjoern <r10s@b44t.com>

* handle DCACCOUNT and DCLOGIN schemes on new intents

* keep existing function name, that is maybe not less confusing, but at least already known

Co-authored-by: bjoern <r10s@b44t.com>
Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>
2022-09-29 18:34:01 +02:00
B. Petersen
cf2a5ec3cc
update deltachat-core-rust submodule to 'implement dclogin scheme (#3541)' 2022-09-29 18:33:02 +02:00
B. Petersen
44fa97df3d
update translations, fix zh_CN error 2022-09-29 13:33:34 +02:00
B. Petersen
3ff3590fbb
update translations 2022-09-24 11:54:59 +02:00