1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-29 07:41:17 +00:00
Commit graph

667 commits

Author SHA1 Message Date
Adam Szewera
d415716256
Use view binding in more activities (#2052)
# Description
Use view binding in more activities:
* QRScannerActivity
* ShareActivity
* PullOrderDialogActivity

Rename also a couple of xml layout files from `fragment_xyz` to
`activity_xyz` as they are being used inside activities.
2024-02-10 20:51:04 +01:00
Adam Szewera
03f7b8ccef
Use view binding VersioningDialogActivity and WebGuiActivity (#2051)
Use view binding VersioningDialogActivity and WebGuiActivity 🙂
2024-02-10 20:48:40 +01:00
Adam Szewera
6df11ac1e4
Upgrade compile sdk and tools (#2049)
Upgrade compile sdk and tools from 33 to 34

This is needed to update Android Gradle Plugin (AGP) and other
dependencies.
2024-02-10 20:42:38 +01:00
Simon Frei
b1194b9f11 Bumped version to 1.27.3 2024-02-07 07:54:22 +01:00
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
e22742e75f
Merge branch 'origin/main' into Weblate. 2024-01-10 21:27:25 +01:00
Adam Szewera
f647a02634
Upgrade Gradle wrapper to version 8.5 (#2021)
## Description
Dependabot does not support (yet) upgrading the Gradle wrapper thus it
needs to be updated/upgraded manually.

## Changes:
* Upgrade gradle wrapper to version `8.5`

See also: https://github.com/dependabot/dependabot-core/issues/2223
2024-01-10 21:27:21 +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
Adam Szewera
9ed273a32e
Refactor groovy gradle files to kotlin dsl (#2022)
## Description:
Refactor gradle build files to use Kotlin DSL instead of Groovy.
There were also a bash script and a python script that needed to be
updated because they relied on parsing the `build.gradle` files written
in Groovy.

This PR completes the work started in:
https://github.com/syncthing/syncthing-android/pull/2000
2023-12-28 22:37: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
Simon Frei
b22aebba42 Merge branch 'release' 2023-12-22 21:24:19 +01:00
Simon Frei
e553a5e357 Bumped version to 1.27.1.1 2023-12-22 20:59:43 +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
Simon Frei
e4471bc875 Bump dagger to 2.49 2023-12-05 23:30:33 +01:00
dependabot[bot]
60b092f749
Bump com.google.guava:guava from 32.1.2-android to 32.1.3-android (#1985)
Bumps [com.google.guava:guava](https://github.com/google/guava) from
32.1.2-android to 32.1.3-android.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/guava/releases">com.google.guava:guava's
releases</a>.</em></p>
<blockquote>
<h2>32.1.3</h2>
<h3>Maven</h3>
<pre lang="xml"><code>&lt;dependency&gt;
  &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
  &lt;artifactId&gt;guava&lt;/artifactId&gt;
  &lt;version&gt;32.1.3-jre&lt;/version&gt;
  &lt;!-- or, for Android: --&gt;
  &lt;version&gt;32.1.3-android&lt;/version&gt;
&lt;/dependency&gt;
</code></pre>
<h3>Jar files</h3>
<ul>
<li><a
href="https://repo1.maven.org/maven2/com/google/guava/guava/32.1.3-jre/guava-32.1.3-jre.jar">32.1.3-jre.jar</a></li>
<li><a
href="https://repo1.maven.org/maven2/com/google/guava/guava/32.1.3-android/guava-32.1.3-android.jar">32.1.3-android.jar</a></li>
</ul>
<p>Guava requires <a
href="https://github.com/google/guava/wiki/UseGuavaInYourBuild#what-about-guavas-own-dependencies">one
runtime dependency</a>, which you can download here:</p>
<ul>
<li><a
href="https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar">failureaccess-1.0.1.jar</a></li>
</ul>
<h3>Javadoc</h3>
<ul>
<li><a
href="http://guava.dev/releases/32.1.3-jre/api/docs/">32.1.3-jre</a></li>
<li><a
href="http://guava.dev/releases/32.1.3-android/api/docs/">32.1.3-android</a></li>
</ul>
<h3>JDiff</h3>
<ul>
<li><a href="http://guava.dev/releases/32.1.3-jre/api/diffs/">32.1.3-jre
vs. 32.1.2-jre</a></li>
<li><a
href="http://guava.dev/releases/32.1.3-android/api/diffs/">32.1.3-android
vs. 32.1.2-android</a></li>
<li><a
href="http://guava.dev/releases/32.1.3-android/api/androiddiffs/">32.1.3-android
vs. 32.1.3-jre</a></li>
</ul>
<h3>Changelog</h3>
<ul>
<li>Changed Gradle Metadata to include dependency versions directly.
This may address <a
href="https://redirect.github.com/google/guava/issues/6657">&quot;Could
not find <code>some-dependency</code>&quot; errors</a> that some users
have reported (which might be a result of users' excluding
<code>guava-parent</code>). (c6d35cf1a5)</li>
<li><code>collect</code>: Changed
<code>Multisets.unmodifiableMultiset(set).removeIf(predicate)</code> to
throw an exception always, even if nothing matches
<code>predicate</code>. (61dbccfda3)</li>
<li><code>graph</code>: Fixed the behavior of
<code>Graph</code>/<code>ValueGraph</code> views for a node when that
node is removed from the graph. (950799691c)</li>
<li><code>io</code>: Fixed <code>Files.createTempDir</code> and
<code>FileBackedOutputStream</code> under <a
href="https://redirect.github.com/google/guava/issues/6634">Windows
<em>services</em>, a rare use case</a>. (The fix actually covers only
Java 9+ because Java 8 would require an additional approach. Let us know
if you need support under Java 8.) (f87f68cd3e)</li>
<li><code>net</code>: Made <code>MediaType.parse</code> allow and skip
over whitespace around the <code>/</code> and <code>=</code> separator
tokens in addition to the <code>;</code> separator, for which it was
already being allowed. (2786f83291)</li>
<li><code>util.concurrent</code>: Tweaked
<code>Futures.getChecked</code> constructor-selection behavior: The
method continues to prefer to call constructors with a
<code>String</code> parameter, but now it breaks ties based on whether
the constructor has a <code>Throwable</code> parameter. Beyond that, the
choice of constructor remains undefined. (For this and other reasons, we
discourage the use of <code>getChecked</code>.) (59cfb2267a)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/google/guava/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.guava:guava&package-manager=gradle&previous-version=32.1.2-android&new-version=32.1.3-android)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 23:27:09 +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