Commit graph

4186 commits

Author SHA1 Message Date
link2xt
543a7965c2 Remove ndk-make.sh symlink to scripts/ndk-make.sh
If scripts are always called directly without symlink,
there is no need to use `realpath` which is not available
on some systems.

F-Droid builds already use scripts/ndk-make.sh:
<https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.b44t.messenger.yml>

Same for nightly builds running on Concourse CI.
2023-01-05 18:38:20 +00:00
link2xt
a08335ec38 Document adding changelogs for F-Droid 2023-01-05 14:46:06 +00:00
link2xt
568bfaaad0 Add changelog for the latest version into metadata 2023-01-05 14:35:23 +00:00
link2xt
4b53aa81c6 Copy full_description.txt from F-Droid repository
The highest precedence description is at
<https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.b44t.messenger.yml>

It is currently displayed at <https://f-droid.org/en/packages/com.b44t.messenger/>
2023-01-05 13:48:26 +00:00
link2xt
93cea05e33 Update f-droid.md documentation 2023-01-05 13:29:51 +00:00
link2xt
8c128937e0 Add metadata/ for F-Droid
fdroiddata/ contains some metadata, but no icon or screenshots at
<https://gitlab.com/fdroid/fdroiddata/-/tree/master/metadata/com.b44t.messenger/>

How to add metadata to the project repository is described at
<https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/#in-the-applications-source-repository>

This change adds metadata in the "fastlane" format.
Screenshots and icon are copied from the store/ directory and compressed with `oxipng --zopfli`.
2023-01-05 13:29:51 +00:00
bjoern
fc542dbe7e
tweak archive (#2441)
* basic layout of new archive-link, including icon and unread counter

* remove 'archived chats' from main menu

* vertically align elements of new archive-link

* show unread indicator also for archived chats

* show muted unread counter in grey

* use shorter label for the 'Archive' link
2023-01-05 10:37:52 +01:00
B. Petersen
4f6fb1cd15 update deltachat-core-rust submodule to '"archive" consistency and improvements (#3918)' 2023-01-05 10:35:09 +01:00
B. Petersen
7cff5c7311 update deltachat-core-rust submodule to 'ci: update rust toolchain for repl.exe builds' 2023-01-04 13:57:03 +01:00
link2xt
2f8992a77c Use realpath for the case of running the script via symlink 2023-01-02 14:47:04 +00:00
link2xt
78aada7027 Explicitly set RUSTUP_TOOLCHAIN to 1.64.0
Core is supposed to support all Rust versions above
MSRV, there is no need to use the same toolchain for
the core across all platforms.
2022-12-30 16:32:52 +00:00
B. Petersen
d72c0eebb7 use new node directory for grep-string.sh 2022-12-22 14:24:43 +01:00
bjoern
949cb3fafb
prepare 1.34.8 (#2438)
* update changelog

* bump version to 1.34.8

* mark recent testrun vesions as such
2022-12-21 20:18:27 +01:00
B. Petersen
df2abd5fcb update local help 2022-12-21 10:41:04 +01:00
B. Petersen
192ee87760 update deltachat-core-rust submodule to 'release 1.104.0 (#3857)' 2022-12-20 18:02:19 +01:00
bjoern
a0e874cf9e
add greek (#2437)
* add greek to language menu

* add greek strings.xml
2022-12-20 18:01:40 +01:00
B. Petersen
2efe9eb704 update translations: korean, polish 2022-12-17 23:25:23 +01:00
bjoern
b016ccc6dd
prepare 1.34.7 (#2436)
* update CHANGELOG for 1.34.7

* bump version to 1.34.7
2022-12-16 16:11:28 +01:00
B. Petersen
8f7d0ce0f6 update translations 2022-12-12 20:02:03 +01:00
B. Petersen
5353f89144 update deltachat-core-rust submodule to 'Release 1.103.0' 2022-12-12 17:44:33 +01:00
link2xt
0c87742577 Make ndk-make.sh work with the standard shell 2022-12-09 17:41:26 +00:00
B. Petersen
d196e08788 update translations 2022-12-05 21:45:17 +01:00
bjoern
b07f23674e
update transifex tool (#2434)
the old `tx` (written in Python) tool is sunset end nov22 [^1].

- installed the new `tx` tool (written in Go) according to
  https://developers.transifex.com/docs/cli

- ran `tx migrate` to update tx config files

`/scripts/tx-pull-translations.sh` etc. continue working as expected.

[^1]: https://github.com/transifex/transifex-client
2022-12-05 21:43:31 +01:00
bjoern
f2e1503b52
adapt build script for M1/M2 hosts (#2433)
* adapt build script for M1/M2 hosts

* GUI way to set up build environment, update NDK information

* more precice warning message
2022-12-04 02:01:04 +01:00
Hocuri
d1b3124ab0
Don't animate the spinning circle if animations are disabled (#2338) 2022-11-24 12:34:57 +01:00
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