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

735 commits

Author SHA1 Message Date
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
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
Adam Szewera
856495ab0d
Add JitPack repo and update libsuperuser dependency (#2001)
## Description
Back in 2021 [JFrog
announced](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/)
that they are deprecating the JCenter repository. It's still read-only
but it shouldn't be depended upon.

I was trying to remove it in the other PR:
https://github.com/syncthing/syncthing-android/pull/2000, but then I
found out a single dependency still needs it:
[libsuperuser](https://github.com/Chainfire/libsuperuser).
The most "up to date" version [can be found in
JitPack](https://jitpack.io/#Chainfire/libsuperuser).
I had to update the version manually as dependabot would never pick it
up until JitPack is added to the list of repositories.

## Changes
* add the JitPack as a new repository to the project
* update the `libsuperuser` dependency to version `1.1.1`
2023-11-30 21:44:35 +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
Simon Frei
91366312db Bumped version to 1.27.0-rc.2 2023-11-28 22:37:57 +01:00
Weblate (bot)
5fc87d6a87
Translations update from Hosted Weblate (#2010)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Syncthing/Android app
strings](https://hosted.weblate.org/projects/syncthing/android/stringsxml/).


It also includes following components:

* [Syncthing/Google Play
listings](https://hosted.weblate.org/projects/syncthing/android/play-listings/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/syncthing/android/stringsxml/horizontal-auto.svg)

---------

Co-authored-by: Masowick <Demian@gmx.co.uk>
Co-authored-by: Thomas De Rocker <thomasderocker@outlook.com>
Co-authored-by: Catfriend1 <16361913+Catfriend1@users.noreply.github.com>
Co-authored-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Giorgos Skafidas <giorgos@skafidas.online>
Co-authored-by: Burak Yavuz <hitowerdigit@hotmail.com>
Co-authored-by: Emanuel Angelo <emanuel.angelo@gmail.com>
Co-authored-by: innesi <cheungh.kevin@gmail.com>
2023-11-28 22:21:27 +01:00
Simon Frei
e18bff3b95 Bumped version to 1.26.1 2023-11-15 19:32:47 +01:00
André Colomb
d3fe7fe4fe
i18n: Use proper Unicode ellipsis, other clean-ups (#2005)
Update all `strings.xml` translation files to replace triple full-stop
with proper Unicode ellipsis. Fix other syntax problems and cosmetics in
translation source `strings.xml`.
2023-11-15 18:24:42 +01:00
Simon Frei
fb50ba1d6e Bumped version to 1.27.0-rc.1.1 2023-11-14 23:26:17 +01:00
Weblate (bot)
3b41a64317
Translations update from Hosted Weblate (#1999)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Syncthing/Android app
strings](https://hosted.weblate.org/projects/syncthing/android/stringsxml/).


It also includes following components:

* [Syncthing/Google Play
listings](https://hosted.weblate.org/projects/syncthing/android/play-listings/)



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/syncthing/android/stringsxml/horizontal-auto.svg)

---------

Co-authored-by: André Colomb <src@andre.colomb.de>
Co-authored-by: Masowick <Demian@gmx.co.uk>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Eric <zxmegaxqug@hldrive.com>
Co-authored-by: Burak Yavuz <hitowerdigit@hotmail.com>
Co-authored-by: Erik van Oosten <e.vanoosten@grons.nl>
Co-authored-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-11-14 23:24:40 +01:00
Simon Frei
55fa4ba4c3 Bumped version to 1.27.0-rc.1 2023-11-14 23:14:00 +01:00
André Colomb
24fa7c3620
Remove outdated drawer entry for CPU usage (#2004)
The code to calculate this metric has long been removed from the backend upstream, in commit c7d6a6d780.

Thus the GUI element should go away as well, currently always displaying 0 percent anyways.

Ref https://github.com/syncthing/syncthing/pull/6393
2023-11-13 20:51:36 +01:00
zanovis
57c79257d1
Clarified error message for restricted location permissions (#1974)
This error message is slightly misleading (related to #1778) currently,
the user will get this error even if they have whitelisted the SSID.

Co-authored-by: Simon Frei <freisim93@gmail.com>
2023-11-13 19:34:32 +01:00
André Colomb
705a4d7364
Add translation comment referring to "all files access" docs (#2003) 2023-11-13 10:27:35 +01:00
André Colomb
840e656af4 Adjust README and other documentation for Weblate. 2023-11-08 18:54:44 +01:00
André Colomb
3ad13be6ab Import last minute Basque additions from Transifex. 2023-11-08 13:13:47 +01:00
André Colomb
8717ab7b7a Delete untranslated Play listings.
These languages simply copy the existing English strings verbatim.
Remove them in hope of someone actually re-translating them later.
2023-11-08 01:36:25 +01:00
André Colomb
06c584c478 Rename Play listings directory zh-HK.
Wrongfully used an underscore before.
2023-11-08 01:36:25 +01:00
André Colomb
2db3e2407b Remove other empty translations.
These languages currently contains no translations at all.  Drop them
completely until someone shows up to start working on it.
2023-11-08 01:36:25 +01:00
André Colomb
3d299410aa Remove eo - Esperanto empty translation.
This language code is not even officially found in the Android sources
as a valid locale code [1] and currently contains no translations at
all.  Drop it completely to avoid someone putting work into an unused
language translation.

[1]:
https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-14.0.0_r11/core/res/res/
2023-11-08 01:36:25 +01:00
André Colomb
92259ec340 Remove de_DE - German (Germany) duplicate and empty translation.
There is a basic variant "de" which is recognized by Weblate and
actually has translated strings in contrast to the specialized de_DE
variant.  Seems obvious to keep the former.
2023-11-08 01:36:25 +01:00
André Colomb
b18ef52aab Remove si_LK - Sinhala (Sri Lanka) duplicate translation.
There is a basic variant "si" which is recognized by Weblate and much
more complete than the specialized si_LK variant.  Seems obvious to
keep the former.
2023-11-08 01:36:25 +01:00
André Colomb
e4a6e18428 Remove bogus <br data-mce-bogus="1"> tag.
Seems to be related to the TinyMCE editor component.  This is one more
tiny detail being mangled by Weblate during export.
2023-11-08 01:36:25 +01:00
André Colomb
6ae80b0274 Remove unnecessary Unicode entity in source translation.
Since the XML files are explicitly marked as UTF-8 encoded, no need to
escaped that UTF-8 character.
2023-11-08 01:36:25 +01:00
André Colomb
6d8805b69f Consistently indent and line-wrap multiline translations.
For strings containing escaped newlines (\n), always start a new line
right before that sequence and remove any other whitespace in between.
Let the closing </string> tag follow immediately on the last line.
Keep one-line translations on one line, without arbitrary wrapping.

Actually fix some line-break inconsistencies within the translations
along the way.  Some had questionable \n\ sequences, capitalized \N or
the n actually forgotten after an escaping backslash, which lead to
parsing errors.  Others simply used two line breaks (which are
collapsed to one space during parsing) instead of the needed \n escape
sequence.

This gets the format much closer to what Weblate generates when
dumping the parsed strings into fresh XML files.  Also harmonizes the
formatting in the "source" (English) values/strings.xml though.
2023-11-08 01:36:20 +01:00
André Colomb
5e687b155b Trim leading and trailing spaces which are not quoted.
Assuming that these are just input errors, as they don't exist in the
English strings and are not explicitly quoted.

Weblate will remove when outputting translated strings anyway.
2023-11-08 01:35:58 +01:00
André Colomb
d18a3181d4 Collapse whitespace on XML level.
Spans of whitespace are collapsed to a single space during XML
parsing, so these instances will not survive anyway.
2023-11-08 01:35:55 +01:00
André Colomb
0fa4f400c2 Quote strings to preserve spaces instead of Unicode escaping. 2023-11-08 01:01:41 +01:00
André Colomb
7baa04810b Escape question marks as per Android syntax description.
https://developer.android.com/guide/topics/resources/string-resource#FormattingAndStyling
2023-11-08 01:01:41 +01:00
André Colomb
c53e38fbbf Normalize XML indentation to four spaces per level. 2023-11-07 23:14:49 +01:00
André Colomb
e7385ea60d Normalize XML header attribute syntax.
Use double-quotes for the attribute values, as in the rest of each
file.  Lowercase the utf-8 encoding value.

Matches the Weblate normalized output.
2023-11-07 22:21:50 +01:00
André Colomb
6b677b3e29
Fix Transifex config to make pull script work again. (#1993)
* Migrate to new tx config file format.
* Remove obsolete CLI flag specifying the resource ID.
* Imported translations
2023-11-07 22:20:26 +01:00
Simon Frei
74d3c6661a Bumped version to 1.26.0 2023-11-07 12:38:44 +01:00
opusforlife2
c317a9e93a
Reworded notification permission description (#1991)
The wording of the description was a little strange.
2023-11-04 11:31:36 +01:00
Simon Frei
66399af586 Bumped version to 1.26.0-rc.2 2023-10-28 07:00:24 +02:00
Simon Frei
3801c13a8e Bumped version to 1.26.0-rc.1 2023-10-14 13:17:35 +02:00
bt90
e8ef250150
Load UI with Authorization header (#1982)
As preparation for https://github.com/syncthing/syncthing/pull/8757. See
https://github.com/syncthing/syncthing/pull/8757#issuecomment-1750372399

The app sends the `Authorization: Basic <base64-ui-credentials>` HTTP
header in the initial request when loading the Web UI to skip the login
form.
2023-10-14 12:04:36 +02:00
Ashutosh soni
2ff421a166
Add notification permission for api level >=33 (fixes #1976) (#1983)
Added notification permission.

---------

Co-authored-by: Ashutosh Soni <ashutoshsoni@bitcot.com>
2023-10-11 18:53:29 +02:00
Simon Frei
5847e74905 Bumped version to 1.25.0-rc.1.1 2023-09-13 08:46:53 +02:00
Simon Frei
b0581607c4 Bumped version to 1.25.0-rc.1 2023-09-12 22:53:04 +02:00
Simon Frei
0bfb88d963
Target android SDK 33 (fixes #1970) (#1972)
Looks like no changes are necessary - sounds too good to be true, but I
really couldn't find (required) changes in google's docs and the build
passes.
2023-09-12 22:46:16 +02:00
Simon Frei
c472b0ef4a Bumped version to 1.24.0-rc.1 2023-09-03 15:09:16 +02:00
Simon Frei
e70b6664a8
Remove non-functional restartOnWakeup from app settings (fixes #1961) (#1968)
The option "restartOnWakeup" was removed in Syncthing v1.21.0 [1]. Thus,
remove it from the Android app as well, since the option does not
perform any function anymore. In addition, update the Docs also [2].

[1] https://github.com/syncthing/syncthing/issues/8448
[2] https://github.com/syncthing/docs/pull/815

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
Co-authored-by: Tomasz Wilczyński <twilczynski@naver.com>
2023-09-03 14:36:23 +02:00
dependabot[bot]
1e9cd95913
Bump com.google.guava:guava from 31.1-android to 32.1.2-android (#1954)
Bumps [com.google.guava:guava](https://github.com/google/guava) from
31.1-android to 32.1.2-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.2</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.2-jre&lt;/version&gt;
  &lt;!-- or, for Android: --&gt;
  &lt;version&gt;32.1.2-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.2-jre/guava-32.1.2-jre.jar">32.1.2-jre.jar</a></li>
<li><a
href="https://repo1.maven.org/maven2/com/google/guava/guava/32.1.2-android/guava-32.1.2-android.jar">32.1.2-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.2-jre/api/docs/">32.1.2-jre</a></li>
<li><a
href="http://guava.dev/releases/32.1.2-android/api/docs/">32.1.2-android</a></li>
</ul>
<h3>JDiff</h3>
<ul>
<li><a href="http://guava.dev/releases/32.1.2-jre/api/diffs/">32.1.2-jre
vs. 32.1.1-jre</a></li>
<li><a
href="http://guava.dev/releases/32.1.2-android/api/diffs/">32.1.2-android
vs. 32.1.1-android</a></li>
<li><a
href="http://guava.dev/releases/32.1.2-android/api/androiddiffs/">32.1.2-android
vs. 32.1.2-jre</a></li>
</ul>
<h3>Changelog</h3>
<ul>
<li><a
href="https://redirect.github.com/google/guava/issues/6642#issuecomment-1656201382">Removed</a>
the section of our Gradle metadata that caused Gradle to report
conflicts with <code>listenablefuture</code>. (9ed0fa65ab)</li>
<li>Changed our Maven project to avoid <a
href="https://redirect.github.com/google/guava/issues/6654">affecting
which version of Mockito our Gradle users see</a>. (71a16d5a74)</li>
<li><code>collect</code>: Under J2CL, exposed <code>ImmutableList</code>
and <code>ImmutableSet</code> methods <code>copyOf</code> and
<code>of</code> for JavaScript usage. (b41968f5f2)</li>
<li><code>net</code>: Optimized <code>InternetDomainName</code>
construction. (3a1d18fbefa10218988a0fbbb6e1fada012397bf,
eaa62eb09548a6f1b7a757e21d8852724b631cab)</li>
</ul>
<h2>32.1.1</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.1-jre&lt;/version&gt;
  &lt;!-- or, for Android: --&gt;
  &lt;version&gt;32.1.1-android&lt;/version&gt;
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</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=31.1-android&new-version=32.1.2-android)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-03 14:26:39 +02:00
Bnyro
a088701d51
Fix status bar text and icons color in light mode (fixes #1963) (#1965)
closes #1963

PS: This one has been kinda ugly to spot, ngl. I didn't expect that we
were modifying the welcome activity status bar color programmatically
instead of just with an XML theme ...
2023-08-18 21:34:07 +02:00
Simon Frei
a7bfd721bd Bumped version to 1.23.7 2023-08-09 23:12:21 +02:00
Simon Frei
61317e5515 Bumped version to 1.23.7-rc.2 2023-08-06 21:49:45 +02:00
Simon Frei
5c196d6fc2 Bumped version to 1.23.7-rc.1.2 2023-07-21 08:22:56 +02:00
Pr0pHesyer
c708f31ac4
fix #1947 Auto icon color change (#1949) 2023-07-21 08:18:25 +02:00
Simon Frei
9302357cc2 Bumped version to 1.23.7-rc.1.1 2023-07-18 07:42:05 +02:00
Simon Frei
d565cf059b Bumped version to 1.23.6.3 2023-07-17 21:19:13 +02:00
Simon Frei
a3ded6792f Bumped version to 1.23.6.2 2023-07-17 21:16:36 +02:00
Simon Frei
80085a5686 Bumped version to 1.23.6.1 2023-07-17 21:11:28 +02:00
Simon Frei
cc3ab80462
Enable legacy packaging to preserve syncthing libs (fixes #1943) (#1945) 2023-07-17 21:09:30 +02:00
Simon Frei
d00389774a Bumped version to 1.23.7-rc.1 2023-07-17 19:21:22 +02:00
Simon Frei
abb68aaed6 Bumped version to 1.23.6 2023-07-16 23:16:02 +02:00
Simon Frei
877f8ca0a3 Bumped version to 1.23.6-rc.2.8 2023-07-16 16:57:16 +02:00
Simon Frei
fdc54dbee4 Bumped version to 1.23.6-rc.2.7 2023-07-16 16:48:36 +02:00
Simon Frei
3289b0675c Bumped version to 1.23.6-rc.2.6 2023-07-16 16:27:03 +02:00
Simon Frei
5e3b28e6dc Bumped version to 1.23.6-rc.2.5 2023-07-16 16:21:02 +02:00
Simon Frei
546e943e39 Bumped version to 1.23.6-rc.2.4 2023-07-16 16:13:54 +02:00
Simon Frei
d96d300cfd Bumped version to 1.23.6-rc.2.3 2023-07-16 15:48:25 +02:00
Simon Frei
55dffa31b7 Bumped version to 1.23.6-rc.2.2 2023-07-16 15:35:28 +02:00
Simon Frei
670e77de19 Bumped version to 1.23.6-rc.2.1 2023-07-15 22:52:17 +02:00
Simon Frei
a4a30e5287 Bumped version to 1.23.6-rc.2 2023-07-15 11:23:30 +02:00
Simon Frei
59c459227b
Bumped version to 1.23.6-rc.1 2023-06-17 14:28:38 +02:00
Simon Frei
678d2c8539
Bump gradle from 2.45 to 2.46.1 2023-06-17 14:00:36 +02:00
Simon Frei
573a1de326
Remove incorrect assumption that event data is always a map (fixes #1884) (#1917) 2023-06-17 12:16:53 +02:00
Bnyro
4950e628ad
Fix appearance of buttons in share activity (#1920) 2023-06-16 20:01:03 +02:00
Bnyro
ebd31829b8
Fix contrast of top app bar (#1916) 2023-06-13 21:32:15 +02:00
Simon Frei
7b669e77dd
Bumped version to 1.23.5 2023-06-10 18:11:15 +02:00
Simon Frei
bf787bfb3b Bumped version to 1.23.5-rc.1 2023-05-10 22:28:09 +02:00
Bnyro
e46ec1cfee
Migration to Material Design 3 (fixes #1833, fixes #1418) (#1895) 2023-05-10 22:21:03 +02:00
Simon Frei
2af5ea9780
Merge branch 'release' 2023-04-12 21:20:23 +02:00
Simon Frei
45347e407f
Bumped version to 1.23.4 2023-04-05 19:03:22 +02:00
Simon Frei
64da8fc280
Bumped version to 1.23.3 2023-04-05 00:06:07 +02:00
Simon Frei
47191f79e0 Bumped version to 1.23.3-rc.2 2023-03-30 13:20:52 +02:00
Simon Frei
f0762bab12
Bump SDK to 32 (#1896)
This is just a "minor" upgrade for android "12L" - some tablet related
improvements we likely don't care about. This bump is to support a contribution
to migrate our UI from something legacy to an up-to-date default framework that
requires >=32.
2023-03-26 18:40:00 +02:00
Simon Frei
b0c811d213
Bumped version to 1.23.3-rc.1 2023-03-14 23:27:00 +01:00
Simon Frei
a5e781fb4e
Bumped version to 1.23.1 2023-02-08 22:47:25 +01:00
Simon Frei
a34239dc4d
Imported translations 2023-02-08 22:44:13 +01:00
Simon Frei
724dfb0780
Bumped version to 1.23.1-rc.1 2023-01-14 12:26:10 +01:00
dependabot[bot]
4266a2b7e8
Bump gson from 2.9.1 to 2.10.1
Bumps [gson](https://github.com/google/gson) from 2.9.1 to 2.10.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.9.1...gson-parent-2.10.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-14 11:38:35 +01:00
Simon Frei
1ea20e5f27
Imported translations 2023-01-14 11:34:48 +01:00
Simon Frei
eac8f51630
Bumped version to 1.23.0 2023-01-05 00:01:56 +01:00
Simon Frei
89b708bebf Bumped version to 1.22.3-rc.2 2023-01-01 22:00:21 +01:00
Simon Frei
f6272fabb8
Bumped version to 1.22.3-rc.1 2022-12-17 21:58:59 +01:00
Simon Frei
c187b4998b
Imported translations 2022-12-17 21:53:49 +01:00
Simon Frei
c815bcf6d1
Bumped version to 1.22.2 2022-12-06 13:24:44 +01:00
Simon Frei
88e621b432
Bumped version to 1.22.2-rc.3.3 2022-12-03 21:29:25 +01:00
Simon Frei
2a2e8a7f0d
Declare start/stop intents as exported (#1872) 2022-12-03 21:27:20 +01:00
Simon Frei
67c22eaec5
Bumped version to 1.22.2-rc.3.2 2022-11-27 23:29:53 +01:00
Simon Frei
a85cec550e
Updated triplet play plugin to 3.7.0 (gradle compat) 2022-11-27 23:29:30 +01:00
Simon Frei
4366e0fbf4
Bumped version to 1.22.2-rc.3.1 2022-11-27 22:35:48 +01:00
Simon Frei
2942072594
Compile and target SDK version 31, increase min Sdk to 21 (#1864)
The upgraded compile SDK requires an upgrade of gradle, which introduces a
build error with api lvl <21:
   > Error while processing [...]/app/src/main/res/drawable/ic_close_24dp.xml :
     Invalid color value ?attr/colorControlNormal
Explanation: https://stackoverflow.com/a/49501629

Also minor NDK update
2022-11-27 20:27:54 +01:00
Simon Frei
21b00edfcc
Increase java compat level to 11 2022-11-27 20:25:59 +01:00
Simon Frei
b89c9833eb
Set FLAG_IMMUTABLE on PendingIntent (target 31) (#1868)
Co-authored-by: Catfriend1 <16361913+Catfriend1@users.noreply.github.com>
2022-11-27 20:24:35 +01:00
Simon Frei
9bd413705c
Add android:exported attribute to manifest (target 31) (#1867) 2022-11-27 20:24:25 +01:00
Simon Frei
d8413c6e11
Fix lint failure (target 31) (#1869) 2022-11-27 20:24:14 +01:00
Simon Frei
01b780e013
Merge branch 'release' 2022-11-24 22:55:41 +01:00
Simon Frei
be5f6476f7
Bumped version to 1.22.2-rc.3 2022-11-24 20:36:19 +01:00
Simon Frei
4a83dbf409
Fix default for global run condition setting (fixes #1852) (#1863) 2022-11-23 19:49:05 +01:00
Simon Frei
4a81083abb
Fix default for global run condition setting (fixes #1852) (#1863) 2022-11-23 19:24:13 +01:00
o13e
d46fe60888
Remove copied device ID toast on android 13+ (#1854)
https://developer.android.com/develop/ui/views/touch-and-input/copy-paste#duplicate-notifications
2022-11-16 20:08:14 +01:00
Simon Frei
c8ac58586e Bumped version to 1.22.2-rc.1 2022-11-10 17:54:41 +01:00
Simon Frei
fb4fc9516c Merge branch 'release' 2022-11-10 17:52:20 +01:00
Simon Frei
fd8c84fb26
Bumped version to 1.22.1.1 2022-11-08 18:10:21 +01:00
Simon Frei
2417e09c7a
Bump dagger to 2.44 2022-11-02 23:46:46 +01:00
Simon Frei
ed6224b92e
Bumped version to 1.22.1 2022-11-02 23:32:47 +01:00
Simon Frei
949b63f919 Bumped version to 1.22.1-rc.2.1 2022-10-29 12:26:22 +01:00
Simon Frei
31ed62f3d9 Bumped version to 1.22.1-rc.2 2022-10-29 12:13:40 +01:00
LightningRS
30ce89b9ee
Fix potential NPE in ShareActivity (#1839) 2022-10-21 11:02:26 +02:00
Simon Frei
fb5ba8b73e
Bumped version to 1.22.0-rc.2 2022-09-27 14:46:36 +02:00
Simon Frei
a7b26751e9
Merge branch 'release' 2022-09-06 22:50:15 +02:00
Simon Frei
3dc29468bc
Bumped version to 1.21.0 2022-09-06 22:47:30 +02:00
Simon Frei
fa4cb0d711
Bumped version to 1.21.0-rc.2 2022-08-30 21:09:48 +02:00
fps.io
892fdea2ea
Add preference for enabling run conditions (workaround for #1822) (#1823) 2022-08-23 21:46:38 +02:00
fps.io
5c04dab7b2
Remove activity from recents list on exit (fixes #1805) (#1824) 2022-08-15 17:27:51 +02:00
Simon Frei
b05430bedb
Bumped version to 1.21.0-rc.1 2022-08-11 22:07:05 +02:00
Simon Frei
ff7532b1ae
Imported translations 2022-08-11 22:04:43 +02:00
Niccolò Maggioni
83ee3f3db9
Add delay for charging detection (fixes #1595) (#1817) 2022-08-11 21:54:46 +02:00
Simon Frei
eb7d158754
Bump gson 2022-08-04 09:35:52 +02:00
Simon Frei
dd6b904b39
Bump dagger 2022-08-04 09:35:17 +02:00
Simon Frei
7c82d6e851
Bumped version to 1.20.4 2022-08-04 09:23:08 +02:00