Commit Graph

4149 Commits

Author SHA1 Message Date
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
B. Petersen 4471f87556 update translations 2022-09-23 19:53:38 +02:00
B. Petersen 7a95bfd4ba make transifex happy and remove space after attribute name
the space is valid xml afaik,
however, transifex does not like it and throws an error.

closes #2388
2022-09-23 19:45:47 +02:00
bjoern e13bb9488a add 'Audio' tab to profile (#2387) 2022-09-21 22:49:49 +02:00
B. Petersen e5f97d6a95 update translations 2022-09-21 22:21:56 +02:00
cyBerta d747d84616 add missing strings for webxdc selector and webxdc shortcuts on iOS (#2381)
* add missing strings for webxdc selector and webxdc shortcuts on iOS

* improve empty state hint for webxdc selector

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

* Update webxdc shortcut strings

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

Co-authored-by: bjoern <r10s@b44t.com>
2022-09-21 22:20:41 +02:00
bjoern 1fd0cad721 separate tab for private apps (#2386)
* move webxdc private apps to separate tab

* switch to scrollable tab layout; fixed layout may look not-so-nice with more tabs and longer descriptions that get a tiny font then
2022-09-21 22:18:48 +02:00
B. Petersen 1d082f398b update translations 2022-09-20 10:11:03 +02:00
bjoern b50ea95f4d remove initiateKeyTransfer()'s wait dialog; the function is no longer blocking (#2385) 2022-09-19 10:10:33 +02:00
B. Petersen 164d5a89e3 update translations 2022-09-19 10:07:42 +02:00
bjoern 3a7227b77b reword "Webxdc content" (#2377)
* reword "Webxdc [content]" to "Webxdc Apps"

adding "App" to the term makes things much clearer to the user,
was "Webxdc" is about.

eg. on iOS, we have an app selector meanwhile,
calling that _just_ "Webxdc" in the menu or in the title makes it pretty
unclear to the user what this is about.
same for the tab "Webxdc" on desktop or the default description in the summary.
otoh, calling it _only_ "Apps" (as now), may also raise false expectations
and may be mixed with "normal" apps.

so, "Webxdc App" seems to be a good approach.

there is also the term "Mini App" [^1], we could also go for that,
but this is a broader discussion as this would give up the term "Webxdc" partly.

in any case, if there is few space in the UI,
it seems to be okay to abbreviate with just "App" or "Apps" as needed,
if it is otherwise clear that the thing is a "Webxdc App" or "Mini App".

[^1]: the term "Mini App" is aleady known for similar types of apps
(some "small app" running in a "super app")
cmp. https://www.w3.org/TR/mini-app-white-paper/#what-is-miniapp .
of course, our "Webxdc Apps" are not compatible with other "Mini Apps"
however, this is also not the case between "Mini Apps" of other vendors
which also have different focuses.
so "Mini App" seems to be a broader term and does not imply compatibiliy.

* use term 'Private Apps' for webxdc content

* add some translator hints
2022-09-19 10:01:43 +02:00
B. Petersen 37f6c5eea0 update deltachat-core-rust submodule to 'Release 1.94.0' 2022-09-17 11:07:36 +02:00
B. Petersen 24c0eb3416 update translations 2022-09-16 10:48:31 +02:00