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

2263 commits

Author SHA1 Message Date
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
cc2e3654e5 Updated Syncthing to v1.26.0-rc.2 2023-10-28 06:58:49 +02:00
Simon Frei
3801c13a8e Bumped version to 1.26.0-rc.1 2023-10-14 13:17:35 +02:00
Simon Frei
9d7abf5091 Updated Syncthing to v1.26.0-rc.1 2023-10-14 12:16:57 +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
bt90
c333d858ab
Set a custom build user (#1978)
We need a dedicated build user to be able to distinguish the
distribution channel. See
https://github.com/syncthing/syncthing/issues/9140
2023-09-29 18:13:00 +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
f148065e3c Bump go to 1.21.1 2023-09-12 22:45:24 +02:00
Simon Frei
2b37eb58b8 Updated Syncthing to v1.25.0-rc.1 2023-09-12 22:45:13 +02:00
Simon Frei
c472b0ef4a Bumped version to 1.24.0-rc.1 2023-09-03 15:09:16 +02:00
Simon Frei
3efe3ceefa
Bump go to 1.21 (#1969) 2023-09-03 14:44:33 +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
Simon Frei
1fd691262b Updated Syncthing to v1.24.0-rc.1 2023-09-03 14:35:21 +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
848c2e8b1b Updated Syncthing to v1.23.7-rc.2 2023-08-06 21:48:15 +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
f96f4126bd Merge branch 'release' 2023-07-18 07:40:10 +02:00
Simon Frei
d565cf059b Bumped version to 1.23.6.3 2023-07-17 21:19:13 +02:00
Simon Frei
9da34e6f03 Add release tag pattern for hotfix releases
The joys.
2023-07-17 21:17:52 +02:00
Simon Frei
a3ded6792f Bumped version to 1.23.6.2 2023-07-17 21:16:36 +02:00
Simon Frei
38a969f60f Add release tag pattern for hotfix releases
The joys.
2023-07-17 21:15:37 +02:00
Simon Frei
80085a5686 Bumped version to 1.23.6.1 2023-07-17 21:11:28 +02:00
Simon Frei
b55b4da9f5 Downgrade Syncthing to v1.23.6
Need to release again
2023-07-17 21:10:18 +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
d849ae8762 Add git safe directory workaround to debug build too 2023-07-17 19:15:36 +02:00
Simon Frei
cbbb77e43f
Split workflows to also build on push to main and release (#1944) 2023-07-17 19:06:31 +02:00
Simon Frei
bafc1fd483 Updated Syncthing to v1.23.7-rc.1 2023-07-16 23:22:15 +02:00
Simon Frei
0bd06c7c02 Bump go to 1.20.6 2023-07-16 23:21:44 +02:00
Simon Frei
abb68aaed6 Bumped version to 1.23.6 2023-07-16 23:16:02 +02:00
Simon Frei
5691f06969 Updated Syncthing to v1.23.6 2023-07-16 23:14:39 +02:00