1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 13:51:16 +00:00
Commit graph

513 commits

Author SHA1 Message Date
Simon Frei
55648e66bf Bumped version to 1.27.3-rc.2 2024-01-27 07:29:34 +01:00
Hosted Weblate
90839d829f
Merge branch 'origin/main' into Weblate. 2024-01-27 07:22:32 +01:00
strainu1ecd926c12994ceb
b3df3b51ed
Translated using Weblate (Romanian)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/ro/
2024-01-27 07:22:32 +01:00
The Eclectic Dyslexic
a22c1b99a6
Fix incorrect initialization of Info notification channel (#2040)
I was using syncthing as a reference for handling notifications in my
app, when I noticed that the "Info" channel appears to be incorrectly
initialized.

It looks like it was intended for the Info channel not to vibrate, not
to make sound, but only to show a badge. This might be redundant as it's
possible every notification pushed to this channel already follows those
standards, I am unsure. However, the code used to initialize the Info
channel was actually modifying the already created Persistent channel,
and thus did nothing.

This pull request fixes, what I think are typos which originated from a
copy and paste of the code used to create the Persistent channel.

I think these lines should either be changed as per this pull request,
or removed entirely.
2024-01-27 07:22:27 +01:00
Jonatan Nyberg
dc4ccb9e2b
Translated using Weblate (Swedish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/sv/
2024-01-16 02:06:16 +01:00
Reza Almanda
f29fd7179c
Translated using Weblate (Indonesian)
Currently translated at 49.3% (182 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/id/
2024-01-16 02:06:14 +01:00
Hosted Weblate
660990e7fa
Merge branch 'origin/main' into Weblate. 2024-01-10 21:50:23 +01:00
Simon Frei
bbd543582a Bumped version to 1.27.3-rc.1 2024-01-10 21:40:26 +01:00
Hosted Weblate
d1408eaf5e
Merge branch 'origin/main' into Weblate. 2024-01-10 20:30:43 +00:00
Simon Frei
6e10732421 Merge branch 'release' 2024-01-10 21:30:23 +01:00
Hosted Weblate
623f0aa91c
Merge branch 'origin/main' into Weblate. 2024-01-10 21:25:49 +01:00
ermakov0
465985af2c
Translated using Weblate (Russian)
Currently translated at 100.0% (3 of 3 strings)

Translation: Syncthing/Google Play listings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/play-listings/ru/
2024-01-10 21:25:48 +01:00
ermakov0
f88b7fc24f
Translated using Weblate (Russian)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/ru/
2024-01-10 21:25:48 +01:00
Adam Szewera
9a5c500c11 Use view binding in FolderActivity 2024-01-10 21:25:44 +01:00
Adam Szewera
43d8ebfeca Use view binding in FirstStartActivity 2024-01-10 21:25:44 +01:00
v1s7
cda7c637f1
Translated using Weblate (Russian)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/ru/
2024-01-09 12:06:10 +01:00
Emanuel Angelo
4c5b27f682
Translated using Weblate (Portuguese)
Currently translated at 99.4% (367 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/pt/
2024-01-09 12:06:10 +01:00
Ermanno Baschiera
f34e6f4fdf
Translated using Weblate (Italian)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/it/
2024-01-09 12:06:10 +01:00
cheese1
857de519a9
Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/de/
2024-01-09 12:06:09 +01:00
shetozz
c609ea7628
Translated using Weblate (Arabic)
Currently translated at 7.5% (28 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/ar/
2024-01-09 12:06:09 +01:00
Adam Szewera
e5574f0d62
Use view binding (#2037)
Enable the [view binding
feature](https://developer.android.com/topic/libraries/view-binding#kts)
and replace explicit view binding with `binding.xyz` in
`DeviceActivity`.
2024-01-07 15:17:52 +01:00
Adam Szewera
9b043748bd
Remove code in outdated version checks (#2038)
Refactor code inside `if-else` blocks that checks for versions that are
no longer relevant.
Few lines could be deleted some others were just un-wrapped from the
if-else blocks.
The `if-else` blocks inside `PRNGFixes` file were left out as this file
is should be deleted in
https://github.com/syncthing/syncthing-android/pull/2036
2024-01-07 15:14:21 +01:00
Adam Szewera
eb0e1d67f0
Remove PRNGFixes file (#2036)
The security workarounds contained in the `PRNGFixes` class were needed
for devices older Android APIs (16, 17, 18) while the current min sdk
API is 21.
Therefore this workaround is no longer needed.
2024-01-07 15:12:40 +01:00
Simon Frei
89e3723e86 Bumped version to 1.27.2.1 2024-01-02 12:25:06 +01:00
Simon Frei
58e02308aa
Revert using StrictMode VmPolicy only in debug build type (fixes #2032) (#2033)
This reverts commit f4ccad8329.
2024-01-02 12:24:46 +01:00
Simon Frei
6594955c00 Revert using StrictMode VmPolicy only in debug build type (fixes #2032)
This reverts commit f4ccad8329.
2024-01-02 12:12:07 +01:00
Simon Frei
5cabe050cc Bumped version to 1.27.2 2024-01-02 11:38:27 +01:00
Simon Frei
73bc845f98 Bumped version to 1.27.2-rc.2 2023-12-26 11:47:03 +01:00
Simon Frei
a2695c3267 Bumped version to 1.27.2-rc.1.1 2023-12-22 21:26:00 +01:00
Thomas De Rocker
0df67bb3c4
Translated using Weblate (Dutch)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/nl/
2023-12-21 11:20:09 +00:00
Simon Frei
2f14dee0e4 Bumped version to 1.27.2-rc.1 2023-12-17 20:34:51 +01:00
Simon Frei
d0520c5d80 Merge branch 'release' 2023-12-17 20:31:48 +01:00
Simon Frei
a3199871ea Bumped version to 1.27.1 2023-12-11 21:16:36 +01:00
Hosted Weblate
e3e764d861
Merge branch 'origin/main' into Weblate. 2023-12-10 17:15:44 +01:00
Adam Szewera
ae31cedb2c
Simplify conditions that check for lollipop, api 21, version (#2023)
Lollipop, API 21, has been the min sdk version for over a year in this
project.
There were still some conditions in the code, which checked for api 21,
that can be removed or simplified.
2023-12-10 17:15:40 +01:00
109247019824
3cef84be22
Translated using Weblate (Bulgarian)
Currently translated at 97.2% (359 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/bg/
2023-12-09 20:03:37 +00:00
Simon Frei
cbae7bd29a Bumped version to 1.27.1-rc.1 2023-12-08 12:38:15 +01:00
Adam Szewera
f4ccad8329
Use StrictMode VmPolicy only in debug build type (#2002)
`StrictMode` makes sense mainly in for debug build types, enabling
it for release does not provide any value as it can add additional overhead and its logs going to be removed (because R8 strips them).
2023-12-05 23:17:41 +01:00
Simon Frei
179a45ce65 Bumped version to 1.27.0 2023-12-05 22:30:00 +01:00
André Colomb
ae27e7bb4d
Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/de/
2023-12-05 22:23:11 +01:00
Eric
6dd53e0a4b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/zh_Hans/
2023-12-05 18:37:17 +01:00
gallegonovato
c2947aec8f Translated using Weblate (Spanish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/es/
2023-12-05 18:37:17 +01:00
Burak Yavuz
f071fa7c32 Translated using Weblate (Turkish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/tr/
2023-12-05 10:21:38 +01:00
Matthaiks
5726680a1b Translated using Weblate (Polish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/pl/
2023-12-05 10:21:38 +01:00
Michal Čihař
74d67babf1 Translated using Weblate (Czech)
Currently translated at 97.2% (359 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/cs/
2023-12-05 10:21:25 +01:00
Matthaiks
7ad7569e60 Translated using Weblate (Polish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/pl/
2023-12-05 10:21:25 +01:00
Matthaiks
acfc3f570a Translated using Weblate (Polish)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/pl/
2023-12-05 10:21:25 +01:00
André Colomb
623a0fc9de Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

Translation: Syncthing/Android app strings
Translate-URL: https://hosted.weblate.org/projects/syncthing/android/stringsxml/de/
2023-12-05 10:21:25 +01:00
LBF38
5af44fe8bb
Add export/import support for HTTPS files (fixes #1986) (#2013)
Add support for exporting and importing HTTPS related files
(`https-cert.pem` and `https-key.pem`). It can be used to export/import
a self-signed certificate/custom HTTPS certificate to the Syncthing
instance on Android.

I couldn't launch the app in my IDE so I didn't test the changes. 

Closes #1986
2023-12-03 23:20:08 +01:00
André Colomb
52bd276ca9
i18n: Indirect string-array declarations through arrays.xml (#2012)
This fixes missing strings in Weblate translation, although they are
supposedly in the strings.xml files.

Introduce string-array elements matching those from the source
strings.xml, but instead pointing to a `@string` reference. The latter
is to be translated based on the assigned sub item's key.

Weblate does not handle string-arrays, but needs this indirection, see
https://docs.weblate.org/en/latest/formats/android.html

All existing translations are pulled in by migrating the `<string-array
name="..."><item>...` elements to `<string name="...">` elements
instead. This was done using an XSLT stylesheet, so can be easily
reproduced.

**IMPORTANT, MERGING ORDER:**
1. [x] The automated Weblate PR should be merged first, after committing
any outstanding translation changes on Weblate.
2. [x] Then rebase this branch, best re-applying the XSLT in case of
conflicts.
3. [ ] Then merge this PR.
2023-11-30 21:43:57 +01:00