Commit Graph

4667 Commits

Author SHA1 Message Date
dependabot[bot]
2d5460c616 build(deps): Bump com.google.android.material:material from 1.11.0 to 1.12.0 in /kotlin/android (#5318)
Bumps
[com.google.android.material:material](https://github.com/material-components/material-components-android)
from 1.11.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/material-components/material-components-android/releases">com.google.android.material:material's
releases</a>.</em></p>
<blockquote>
<h2>1.12.0</h2>
<h1>What's new since 1.11.0</h1>
<ul>
<li><code>Slider</code> and <code>Progress Indicator</code> have been
updated to better support Non-Text Contrast Accessibility
requirements.</li>
<li>Predictive Back Fragment/View support added to Material motion
transitions (<code>MaterialSharedAxis</code>,
<code>MaterialFadeThrough</code>, <code>MaterialFade</code>,
<code>MaterialElevationScale</code>).</li>
</ul>
<h2>Important</h2>
<p>Required <code>minSdkVersion</code> is now 19 or higher, for Material
and AndroidX (<a
href="https://android-developers.googleblog.com/2023/10/androidx-minsdkversion-19.html">blog
post</a>).</p>
<h2>Dependency Updates</h2>
<table>
<thead>
<tr>
<th>Dependency</th>
<th>Previous version</th>
<th>New version</th>
</tr>
</thead>
<tbody>
<tr>
<td>androidx.transition</td>
<td>1.2.0</td>
<td>1.5.0</td>
</tr>
</tbody>
</table>
<h2>Library Updates</h2>
<ul>
<li><code>Gradle</code>
<ul>
<li>Update library minSdkVersion to 19.
(1bbb43d155df64d24463455fe6fb291b6940a7b2)</li>
<li>Upgrade to //third_party/gradle to 8.4
(1756f233ec3ac2085c07acf26a65b94e11038bd3)</li>
</ul>
</li>
<li><code>Carousel</code>
<ul>
<li>Shifted keylines in contained strategies when there exists padding,
and clipToPadding=false (1ef42e2f23a5ce21d5963c62fe2a7332dadaf296)</li>
<li>Fixed Javadoc formatting error in
<code>FullScreenCarouselStrategy</code> class documentation.
(a0a1c6e04499c324b61c0a5b7b628cd4f9fc3cbc)</li>
<li>Added support for cross axis wrap_content RecyclerViews
(e88a1b98d240c451a8f1f3920958be28cd2ac563)</li>
<li>Added documentation recommending snapping for multi-browse strategy
(9e64a1f5f682f435018b6ba4546085745f1b4a8f)</li>
<li>Add attributes to change small item size
(92a5444de95501dbf5bc12eaaa7a969b44fe2151)</li>
</ul>
</li>
<li><code>CollapsingToolbarLayout</code>
<ul>
<li>Fix text shadow fading when transitioning between expanded and
collapsed states (7674e12ea818793fe654f7691941f0bdc97c75f3)</li>
</ul>
</li>
<li><code>Checkbox</code>
<ul>
<li>Updated string translations
(198e08cf5ebf77b140c194d6267270d6e52f99ed)</li>
</ul>
</li>
<li><code>Dialog</code>
<ul>
<li>Unified scrim opacity in Material themes/theme overlays.
(f3e4439ca69f993baa6626ad6a82937c2d283155)</li>
</ul>
</li>
<li><code>Divider</code>
<ul>
<li>Fixed divider instantly appearing or disappearing on insertion or
removal (ef4a0c5e36315904d7bce7f0f33d59b734f2657b)</li>
</ul>
</li>
<li><code>i18n</code>
<ul>
<li>Update translated strings
(a8307ef79280c1db52728127ae12809e58b82e8f)</li>
</ul>
</li>
<li><code>MaterialDatePicker</code>
<ul>
<li>Fix date validation on Samsung devices
(5aa6edfaed08a6dff8439b51e91cd43e2ffb0386)</li>
</ul>
</li>
<li><code>MaterialAutoCompleteTextView</code>
<ul>
<li>Enabled switch access in MaterialAutoCompleteTextView.
(14a7b4036334e4d0573a46731ea18a388f87dc98)</li>
</ul>
</li>
<li><code>NavigationDrawer</code>
<ul>
<li>Fixed wrong item selected after click
(a3af20a86970a77c6225c5254c6540bb81bdc049)</li>
</ul>
</li>
<li><code>NavigationRail</code>
<ul>
<li>Added label padding for when the label is long enough to reach the
sides of the nav rail (2439dc0e8141a44418d32148c16e0cfc7a5beba7)</li>
<li>Increased padding in between items as per design specs
(16eca7eef3af53fe594d66440db796dab8762777)</li>
</ul>
</li>
<li><code>Predictive Back</code>
<ul>
<li>Animated corners during predictive back when no
drawerLayoutCornerSize is set
(c8b9b1c0bb8e51501246c902073acc45aedeebd6)</li>
</ul>
</li>
<li><code>ProgressIndicator</code>
<ul>
<li>Updated inactive track color from primary container to secondary
container. (c8cb0c60379adfd76efbf54adeac316a9bfaec4e)</li>
<li>Updated the setter of track thickness to not update track corner
radius. (540f5ee9839ca3472e990f597d6f0a2b203b1b4f)</li>
<li>Added the limit to not have stop indicator size bigger than track
thickness. (689e04f9edd1398f53bfc149aa78a2ab864953ba)</li>
<li>Fixed the rounded ends overlapping bug with semi-transparent
track/indicator color in Circular default style.
(8167c115e34e6b206a8446d98ce22c574d8a1584)</li>
<li>Removed the call to draw a transparent full track.
(3f80fdb9e1f31df4c970025e34450726bbb822ec)</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="88acfcdb63"><code>88acfcd</code></a>
[Tokens] Update tokens to v4.0.0</li>
<li><a
href="5390215d0c"><code>5390215</code></a>
[Gradle] Update androidx transition dependency to 1.5.0</li>
<li><a
href="5bc50a0f63"><code>5bc50a0</code></a>
Update library version to 1.12.0</li>
<li><a
href="5950041902"><code>5950041</code></a>
[Gradle] Update androidx transition dependency to 1.5.0-rc01</li>
<li><a
href="6b064e8055"><code>6b064e8</code></a>
Update library version to 1.12.0-rc01</li>
<li><a
href="a4f19d1d76"><code>a4f19d1</code></a>
Update library version to 1.12.0-beta01</li>
<li><a
href="8c63848829"><code>8c63848</code></a>
[Gradle] Update androidx transition dep to version 1.5.0-beta01</li>
<li><a
href="92bc02c37c"><code>92bc02c</code></a>
[NTC][Slider] Make tick size defaults to the stop indicator size if
set</li>
<li><a
href="387f59b706"><code>387f59b</code></a>
[Search] Exclude icons from search bar handwriting bounds</li>
<li><a
href="a3af20a869"><code>a3af20a</code></a>
[NavDrawer][a11y] Fix wrong item selected after click</li>
<li>Additional commits viewable in <a
href="https://github.com/material-components/material-components-android/compare/1.11.0...1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.android.material:material&package-manager=gradle&previous-version=1.11.0&new-version=1.12.0)](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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 18:41:59 +00:00
dependabot[bot]
405cf338d6 build(deps): Bump com.google.code.gson:gson from 2.10.1 to 2.11.0 in /kotlin/android (#5322)
Bumps [com.google.code.gson:gson](https://github.com/google/gson) from
2.10.1 to 2.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/gson/releases">com.google.code.gson:gson's
releases</a>.</em></p>
<blockquote>
<h2>Gson 2.11.0</h2>
<h1>Most important changes</h1>
<ul>
<li>Added default ProGuard / R8 rules (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2397">#2397</a>, <a
href="https://redirect.github.com/google/gson/issues/2420">#2420</a>; <a
href="https://github.com/sgjesse"><code>@​sgjesse</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2448">#2448</a>; <a
href="https://github.com/sfreilich"><code>@​sfreilich</code></a>)<br />
If you are using ProGuard or R8 (for example for Android projects) you
might not need any special Gson configuration anymore if your classes
have a no-args constructor and use <code>@SerializedName</code> for
their fields.</li>
<li>On Android, Gson now requires API level 21 or newer</li>
<li>Added new <code>Strictness</code> API (<a
href="https://github.com/marten-voorberg"><code>@​marten-voorberg</code></a>
&amp; fellow students, <a
href="https://redirect.github.com/google/gson/issues/2437">#2437</a>)<br
/>
Some of Gson's API is still lenient by default, but you can now use the
newly added methods <code>GsonBuilder#setStrictness</code>,
<code>JsonReader#setStrictness</code> and
<code>JsonWriter#setStrictness</code> with
<code>Strictness.STRICT</code> to override this behavior and to instead
strictly adhere to the JSON specification when parsing.</li>
<li>New <code>FormattingStyle</code> class to allow configuring line
breaks in JSON output (<a
href="https://github.com/mihnita"><code>@​mihnita</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2231">#2231</a>)<br
/>
Can be set using <code>GsonBuilder#setFormattingStyle</code> and
<code>JsonWriter#setFormattingStyle</code>.</li>
<li><code>TypeToken</code> can no longer capture type variables by
default (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2376">#2376</a>)<br
/>
This was previously a common source of issues. The newly thrown
exception refers to a <a
href="https://github.com/google/gson/blob/main/Troubleshooting.md#typetoken-type-variable">Troubleshooting
Guide article</a> which explains this in more detail and provides
suggestions for updating affected code.</li>
<li>Added serialization support for anonymous and local classes with a
custom adapter (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2498">#2498</a>)<br
/>
This affects for example <code>List</code> implementations returned by
libraries such as Guava which are implemented as anonymous class, which
were previously serialized as <code>null</code>. Anonymous and local
classes without custom adapter will still be serialized as
<code>null</code>.</li>
<li>Added dependency on
<code>com.google.errorprone:error_prone_annotations</code><br />
Your project can use Maven or Gradle dependency exclusions to remove the
transitive error_prone_annotations dependency from Gson. Or if you are
manually maintaining dependencies as JARs in your project you can omit
error_prone_annotations. And it should still work correctly.<br />
But Gson itself does declare it as a required dependency, and if you
don't perform any custom configuration, then Maven or Gradle will by
default try to download and use it.</li>
<li>Many exception messages now refer to the <a
href="https://github.com/google/gson/blob/main/Troubleshooting.md">Troubleshooting
Guide</a> (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2357">#2357</a>)<br
/>
Feedback regarding the Troubleshooting Guide is appreciated!</li>
<li>Officially documented that JVM languages other than Java might not
be fully supported, see the <a
href="https://github.com/google/gson/blob/main/README.md">README</a>.</li>
<li>Guarantee that <code>JsonElement#toString</code> produces JSON
output (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2659">#2659</a>)</li>
</ul>
<h1>Other changes</h1>
<h2>Bug fixes</h2>
<ul>
<li>Fixed incorrect <code>JsonPrimitive#equals</code> results for large
<code>BigInteger</code> values (<a
href="https://github.com/MaicolAntali"><code>@​MaicolAntali</code></a>,
<a
href="https://redirect.github.com/google/gson/issues/2311">#2311</a>)</li>
<li>Fixed incorrect <code>JsonPrimitive#equals</code> results for large
<code>BigDecimal</code> values (<a
href="https://github.com/MaicolAntali"><code>@​MaicolAntali</code></a>,
<a
href="https://redirect.github.com/google/gson/issues/2364">#2364</a>)</li>
<li>Fixed <code>JsonReader</code> throwing
<code>NumberFormatException</code> instead of
<code>MalformedJsonException</code> for malformed Unicode escape
sequences (<a
href="https://github.com/MaicolAntali"><code>@​MaicolAntali</code></a>,
<a
href="https://redirect.github.com/google/gson/issues/2337">#2337</a>)</li>
<li>Fixed <code>TypeToken#getParameterized</code> returning bogus
<code>ParameterizedType</code> for non-generic types (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2447">#2447</a>)</li>
<li>Fixed Java Record adapter not working for GraalVM Native Image (<a
href="https://github.com/eamonnmcmanus"><code>@​eamonnmcmanus</code></a>,
<a
href="https://redirect.github.com/google/gson/issues/2465">#2465</a>)</li>
<li>Fixed <code>JsonWriter#name</code> not throwing exception when no
JSON object is currently being written (<a
href="https://github.com/shivam-sehgal"><code>@​shivam-sehgal</code></a>,
<a href="https://redirect.github.com/google/gson/issues/2475">#2475</a>;
<a href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>,
<a
href="https://redirect.github.com/google/gson/issues/2476">#2476</a>)</li>
<li>Fixed <code>Gson#getDelegateAdapter</code> not working properly for
<code>@JsonAdapter</code> (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2435">#2435</a>)<br
/>
Note that <code>null</code> is now not allowed as <code>skipPast</code>
value anymore, which was previously allowed but undocumented.</li>
<li>Fixed <code>GsonBuilder</code> not rejecting type adapters for
<code>Object</code> and <code>JsonElement</code>, whose default adapters
cannot be overridden (<a
href="https://github.com/sachinp97"><code>@​sachinp97</code></a>; <a
href="https://redirect.github.com/google/gson/issues/2479">#2479</a>)</li>
<li>Fixed no limits being enforced when deserializing
<code>BigDecimal</code> and <code>BigInteger</code> (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2510">#2510</a>)<br
/>
The new limits prevent potential performance problems when user code
uses the deserialized numbers. Gson itself was and is not affected by
these performance problems. The limits should be high enough to not
cause issues for most use cases, but feedback is appreciated.</li>
<li>Fixed <code>GsonBuilder#setDateFormat</code> not rejecting invalid
date formats (<a
href="https://github.com/Carpe-Wang"><code>@​Carpe-Wang</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2538">#2538</a>)</li>
<li>Fixed <code>GsonBuilder#setDateFormat</code> not rejecting invalid
date styles (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2545">#2545</a>)</li>
<li>Fixed <code>GsonBuilder#setDateFormat</code> ignoring partial
DEFAULT style (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2556">#2556</a>)</li>
<li>Fixed <code>TypeToken#isAssignableFrom</code> throwing
<code>AssertionError</code> in some cases (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2544">#2544</a>)</li>
<li>Fixed date adapters not restoring time zone after parsing (<a
href="https://github.com/Carpe-Wang"><code>@​Carpe-Wang</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2549">#2549</a>)</li>
<li>Fixed <code>TypeToken#equals</code> erroneously returning
<code>false</code> for equal generic type parameters in some cases (<a
href="https://github.com/d-william"><code>@​d-william</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2599">#2599</a>)</li>
<li>Fixed incorrect inherited URLs in <code>pom.xml</code> (<a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2351">#2351</a>)</li>
</ul>
<h2>Performance improvements</h2>
<ul>
<li>Slightly reduce memory usage for reflection-based adapter (<a
href="https://github.com/sembseth"><code>@​sembseth</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2325">#2325</a>; <a
href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2440">#2440</a>)</li>
<li>Improved parsing speed of <code>ToNumberPolicy#LONG_OR_DOUBLE</code>
(<a href="https://github.com/ctasada"><code>@​ctasada</code></a>, <a
href="https://redirect.github.com/google/gson/issues/2674">#2674</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="828a97be0f"><code>828a97b</code></a>
[maven-release-plugin] prepare release gson-parent-2.11.0</li>
<li><a
href="93bc0f23a1"><code>93bc0f2</code></a>
Skip signing graal-native-test module. (<a
href="https://redirect.github.com/google/gson/issues/2675">#2675</a>)</li>
<li><a
href="b153ca18bf"><code>b153ca1</code></a>
[maven-release-plugin] rollback the release of gson-parent-2.11.0</li>
<li><a
href="0e3d2aab62"><code>0e3d2aa</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li><a
href="545b802d63"><code>545b802</code></a>
[maven-release-plugin] prepare release gson-parent-2.11.0</li>
<li><a
href="8bfdbb4e14"><code>8bfdbb4</code></a>
Guarantee that <code>JsonElement.toString()</code> produces JSON (<a
href="https://redirect.github.com/google/gson/issues/2659">#2659</a>)</li>
<li><a
href="9008b093ac"><code>9008b09</code></a>
Extend Troubleshooting Guide with some ProGuard / R8 information (<a
href="https://redirect.github.com/google/gson/issues/2656">#2656</a>)</li>
<li><a
href="05652c3b7d"><code>05652c3</code></a>
Document that other JVM languages are not fully supported (<a
href="https://redirect.github.com/google/gson/issues/2666">#2666</a>)</li>
<li><a
href="454a49127f"><code>454a491</code></a>
Improved Long-Double Number Policy (<a
href="https://redirect.github.com/google/gson/issues/2674">#2674</a>)</li>
<li><a
href="570d91194e"><code>570d911</code></a>
Bump the github-actions group with 4 updates (<a
href="https://redirect.github.com/google/gson/issues/2671">#2671</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/google/gson/compare/gson-parent-2.10.1...gson-parent-2.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.code.gson:gson&package-manager=gradle&previous-version=2.10.1&new-version=2.11.0)](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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 18:41:34 +00:00
dependabot[bot]
dbee52871a build(deps): Bump com.google.firebase.appdistribution from 4.2.0 to 5.0.0 in /kotlin/android (#5320)
Bumps com.google.firebase.appdistribution from 4.2.0 to 5.0.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.firebase.appdistribution&package-manager=gradle&previous-version=4.2.0&new-version=5.0.0)](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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 18:40:38 +00:00
dependabot[bot]
52ed9d5cce build(deps-dev): Bump braces from 3.0.2 to 3.0.3 in /rust/gui-client in the npm_and_yarn group (#5314)
Bumps the npm_and_yarn group in /rust/gui-client with 1 update:
[braces](https://github.com/micromatch/braces).

Updates `braces` from 3.0.2 to 3.0.3
<details>
<summary>Commits</summary>
<ul>
<li><a
href="74b2db2938"><code>74b2db2</code></a>
3.0.3</li>
<li><a
href="88f1429a0f"><code>88f1429</code></a>
update eslint. lint, fix unit tests.</li>
<li><a
href="415d660c30"><code>415d660</code></a>
Snyk js braces 6838727 (<a
href="https://redirect.github.com/micromatch/braces/issues/40">#40</a>)</li>
<li><a
href="190510f79d"><code>190510f</code></a>
fix tests, skip 1 test in test/braces.expand</li>
<li><a
href="716eb9f12d"><code>716eb9f</code></a>
readme bump</li>
<li><a
href="a5851e57f4"><code>a5851e5</code></a>
Merge pull request <a
href="https://redirect.github.com/micromatch/braces/issues/37">#37</a>
from coderaiser/fix/vulnerability</li>
<li><a
href="2092bd1fb1"><code>2092bd1</code></a>
feature: braces: add maxSymbols (<a
href="https://github.com/micromatch/braces/issues/">https://github.com/micromatch/braces/issues/</a>...</li>
<li><a
href="9f5b4cf473"><code>9f5b4cf</code></a>
fix: vulnerability (<a
href="https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727">https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727</a>)</li>
<li><a
href="98414f9f1f"><code>98414f9</code></a>
remove funding file</li>
<li><a
href="665ab5d561"><code>665ab5d</code></a>
update keepEscaping doc (<a
href="https://redirect.github.com/micromatch/braces/issues/27">#27</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/micromatch/braces/compare/3.0.2...3.0.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=braces&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/firezone/firezone/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 18:40:32 +00:00
dependabot[bot]
2b6cfd8904 build(deps): Bump autoprefixer from 10.4.18 to 10.4.19 in /website (#5327)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from
10.4.18 to 10.4.19.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/autoprefixer/releases">autoprefixer's
releases</a>.</em></p>
<blockquote>
<h2>10.4.19</h2>
<ul>
<li>Removed <code>end value has mixed support, consider using
flex-end</code> warning since <code>end</code>/<code>start</code> now
have good support.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md">autoprefixer's
changelog</a>.</em></p>
<blockquote>
<h2>10.4.19</h2>
<ul>
<li>Removed <code>end value has mixed support, consider using
flex-end</code> warning
since <code>end</code>/<code>start</code> now have good support.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8060e33a78"><code>8060e33</code></a>
Release 10.4.19 version</li>
<li><a
href="fe7bae4597"><code>fe7bae4</code></a>
Remove end→flex-end warning</li>
<li><a
href="5f6f362a1e"><code>5f6f362</code></a>
Update dependencies</li>
<li><a
href="13a86df5ab"><code>13a86df</code></a>
Move to flat ESLint config</li>
<li><a
href="b3e0579452"><code>b3e0579</code></a>
Update dependencies</li>
<li>See full diff in <a
href="https://github.com/postcss/autoprefixer/compare/10.4.18...10.4.19">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=autoprefixer&package-manager=npm_and_yarn&previous-version=10.4.18&new-version=10.4.19)](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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 18:40:24 +00:00
dependabot[bot]
72bd395f38 build(deps): Bump com.google.gms.google-services from 4.4.1 to 4.4.2 in /kotlin/android (#5319)
Bumps com.google.gms.google-services from 4.4.1 to 4.4.2.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.gms.google-services&package-manager=gradle&previous-version=4.4.1&new-version=4.4.2)](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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 18:40:06 +00:00
Jamil
2e436f7f77 chore(portal): Fix policy creation for conditions disabled; tweak design (#5301)
- Fixes policy creation when `policy_conditions` is disabled
- Updates design so that items are a little more aligned and text has
more / consistent spacing around.



https://github.com/firezone/firezone/assets/167144/b9c29110-ae1c-4841-b999-a0da022f4a38



Test is failing though. Before sinking more time into this I wanted to
open this PR to get @AndrewDryga's input.
2024-06-11 11:41:06 -07:00
dependabot[bot]
9a01745a1d build(deps): Bump the windows group in /rust with 2 updates (#5288)
Bumps the windows group in /rust with 2 updates:
[windows](https://github.com/microsoft/windows-rs) and
[windows-implement](https://github.com/microsoft/windows-rs).

Updates `windows` from 0.56.0 to 0.57.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="15947886be"><code>1594788</code></a>
Release 0.57.0 (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3081">#3081</a>)</li>
<li><a
href="21d17ab998"><code>21d17ab</code></a>
Add WinRT <code>noexcept</code> support (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3070">#3070</a>)</li>
<li><a
href="7d94387a7c"><code>7d94387</code></a>
Optimize <code>IUnknown</code> identity checks (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3073">#3073</a>)</li>
<li><a
href="4572dcd6ae"><code>4572dcd</code></a>
Remove <code>unused_qualifications</code> (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3078">#3078</a>)</li>
<li><a
href="a623c3f27f"><code>a623c3f</code></a>
Fix warnings from Rust 1.80.0 nightly (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3074">#3074</a>)</li>
<li><a
href="0940e1f635"><code>0940e1f</code></a>
Check for null pointers in core <code>IInspectable</code> implementation
(<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3057">#3057</a>)</li>
<li><a
href="8b4a185e56"><code>8b4a185</code></a>
Use default rustfmt config for most crates (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3064">#3064</a>)</li>
<li><a
href="b8586add80"><code>b8586ad</code></a>
Fix Debug impls for COM interfaces (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3066">#3066</a>)</li>
<li><a
href="dbc3932513"><code>dbc3932</code></a>
Fix bug in COM interface chain support (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3060">#3060</a>)</li>
<li><a
href="71f8c2a4d9"><code>71f8c2a</code></a>
Fix handling of COM interfaces with same method name (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3059">#3059</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/windows-rs/compare/0.56.0...0.57.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `windows-implement` from 0.56.0 to 0.57.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/windows-rs/releases">windows-implement's
releases</a>.</em></p>
<blockquote>
<h2>0.57.0</h2>
<p>This release includes updates to a number of crates.</p>
<p>It includes major updates to the following:</p>
<ul>
<li><code>riddle</code> 0.57.0</li>
<li><code>windows</code> 0.57.0</li>
<li><code>windows-bindgen</code> 0.57.0</li>
<li><code>windows-core</code> 0.57.0</li>
<li><code>windows-implement</code> 0.57.0</li>
<li><code>windows-interface</code> 0.57.0</li>
<li><code>windows-metadata</code> 0.57.0</li>
</ul>
<p>It also includes minor updates to the following:</p>
<ul>
<li><code>windows-result</code> 0.1.2</li>
<li><code>windows-registry</code> 0.1.2</li>
</ul>
<p>This includes various improvements and fixes to code generation,
compliance with new Rust warnings, COM authoring support helpers, and
more.</p>
<p>This release also includes the first published version of the
<code>cppwinrt</code> crate.</p>
<h2>What's Changed</h2>
<ul>
<li>Workflow improvements by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2994">microsoft/windows-rs#2994</a></li>
<li>Workflow improvements 2 by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/2998">microsoft/windows-rs#2998</a></li>
<li>Workflow improvements 3 by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3000">microsoft/windows-rs#3000</a></li>
<li>Workflow improvements 4 by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3001">microsoft/windows-rs#3001</a></li>
<li>Add <code>as_raw</code> to <code>windows-registry</code> by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3003">microsoft/windows-rs#3003</a></li>
<li>Add Linux smoke test by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3005">microsoft/windows-rs#3005</a></li>
<li>Add non-windows support for PWSTR and PCWSTR by <a
href="https://github.com/tyilo"><code>@​tyilo</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3004">microsoft/windows-rs#3004</a></li>
<li>Use generated <code>E_POINTER</code> constant in
<code>windows-core</code> by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3008">microsoft/windows-rs#3008</a></li>
<li>Use prebuilt gnullvm target by <a
href="https://github.com/mati865"><code>@​mati865</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3007">microsoft/windows-rs#3007</a></li>
<li>Eliminate default features for JSON samples by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3012">microsoft/windows-rs#3012</a></li>
<li>Add support for freeing handles automatically by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3013">microsoft/windows-rs#3013</a></li>
<li>Addressing feedback on handle ownership by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3014">microsoft/windows-rs#3014</a></li>
<li>Bump ejs from 3.1.9 to 3.1.10 in /web/features by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3017">microsoft/windows-rs#3017</a></li>
<li>Reconfigure environment for GNU toolchain by <a
href="https://github.com/riverar"><code>@​riverar</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3019">microsoft/windows-rs#3019</a></li>
<li>Remove workaround for empty structs by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3016">microsoft/windows-rs#3016</a></li>
<li>Derive <code>Copy</code>, <code>Clone</code>, and <code>Debug</code>
for handles by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3015">microsoft/windows-rs#3015</a></li>
<li>Fix for Clippy <code>HSTRING</code> interior mutability warnings in
nightly by <a
href="https://github.com/riverar"><code>@​riverar</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3021">microsoft/windows-rs#3021</a></li>
<li>Handle new <code>unexpected_cfgs</code> warnings by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3022">microsoft/windows-rs#3022</a></li>
<li>Update jsonschema requirement from 0.17 to 0.18 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3023">microsoft/windows-rs#3023</a></li>
<li>Add <code>Ref</code> and <code>OutRef</code> to enhance COM
authoring support by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3025">microsoft/windows-rs#3025</a></li>
<li>Simplify derefencing <code>Ref</code> interface parameters by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3027">microsoft/windows-rs#3027</a></li>
<li>Add <code>from_raw</code> to <code>windows-registry</code> by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3034">microsoft/windows-rs#3034</a></li>
<li>Simplify <code>windows-registry</code> readme by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3035">microsoft/windows-rs#3035</a></li>
<li>Type name deferral in <code>windows-metadata</code> and
<code>windows-bindgen</code> by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3039">microsoft/windows-rs#3039</a></li>
<li>Streamline <code>TypeName</code> to support pattern matching by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3040">microsoft/windows-rs#3040</a></li>
<li>Derive standard traits for structs by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3041">microsoft/windows-rs#3041</a></li>
<li>Add missing MSRV workflows for newer lib crates by <a
href="https://github.com/kennykerr"><code>@​kennykerr</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3042">microsoft/windows-rs#3042</a></li>
<li>Provide an explicit <code>ComObject&lt;T&gt;</code> type that
represents a heap-allocated COM object by <a
href="https://github.com/sivadeilra"><code>@​sivadeilra</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3043">microsoft/windows-rs#3043</a></li>
<li>bindgen/default: Improve formatting of the readme by <a
href="https://github.com/MarijnS95"><code>@​MarijnS95</code></a> in <a
href="https://redirect.github.com/microsoft/windows-rs/pull/3045">microsoft/windows-rs#3045</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="15947886be"><code>1594788</code></a>
Release 0.57.0 (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3081">#3081</a>)</li>
<li><a
href="21d17ab998"><code>21d17ab</code></a>
Add WinRT <code>noexcept</code> support (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3070">#3070</a>)</li>
<li><a
href="7d94387a7c"><code>7d94387</code></a>
Optimize <code>IUnknown</code> identity checks (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3073">#3073</a>)</li>
<li><a
href="4572dcd6ae"><code>4572dcd</code></a>
Remove <code>unused_qualifications</code> (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3078">#3078</a>)</li>
<li><a
href="a623c3f27f"><code>a623c3f</code></a>
Fix warnings from Rust 1.80.0 nightly (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3074">#3074</a>)</li>
<li><a
href="0940e1f635"><code>0940e1f</code></a>
Check for null pointers in core <code>IInspectable</code> implementation
(<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3057">#3057</a>)</li>
<li><a
href="8b4a185e56"><code>8b4a185</code></a>
Use default rustfmt config for most crates (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3064">#3064</a>)</li>
<li><a
href="b8586add80"><code>b8586ad</code></a>
Fix Debug impls for COM interfaces (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3066">#3066</a>)</li>
<li><a
href="dbc3932513"><code>dbc3932</code></a>
Fix bug in COM interface chain support (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3060">#3060</a>)</li>
<li><a
href="71f8c2a4d9"><code>71f8c2a</code></a>
Fix handling of COM interfaces with same method name (<a
href="https://redirect.github.com/microsoft/windows-rs/issues/3059">#3059</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/windows-rs/compare/0.56.0...0.57.0">compare
view</a></li>
</ul>
</details>
<br />


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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-06-11 18:01:35 +00:00
Jamil
5b8e9441c3 chore(website): Add sign in to navbar (#5300)
Back by customer request, sign in from website navbar. Witnessed a
couple customers fumble around trying to sign in after entering
`firezone.dev` in their navbar.
2024-06-11 15:47:14 +00:00
Thomas Eizinger
c35a7579a8 refactor(connlib): split tunnel_test into multiple modules (#5266)
The implementation of `tunnel_test` has grown substantially in the last
couple of weeks (> 2500 LoC). To make things easier to manage, we split
it up into multiple modules:

- `assertions`: Houses the actual assertions of the test.
- `reference:` The reference implementation of connlib. Used to as the
"expectation" for the assertions.
- `sut`: A wrapper around connlib itself, acting as the
system-under-test (SUT).
- `transition`: All state transitions that the test might go through.
- `strategies`: Auxiliary strategies used in multiple places.
- `sim_*`: Wrappers for simulating various parts in the code: Clients,
relays, gateways & the portal.

I chose to place strategies into the same modules as where things are
defined. For example, the `sim_node_prototype` strategy is defined in
the `sim_node` module. Similarly, the strategies for the individual
transitions are also defined in the `transition` module.
2024-06-11 04:08:03 +00:00
Thomas Eizinger
e1877bc250 fix(snownet): don't invalidate candidates after nomination (#5283)
Currently, there is a bug in `snownet` where we accidentally invalidate
a srflx candidate because we try and look for the nominated candidate
based on the nominated address. The nominated address represents the
socket that the application should send from:

- For host candidates, this is the host candidate's address itself.
- For server-reflexive candidates, it is their base (which is equivalent
to the host candidate)
- For relay candidates, it is the address of the allocation.

Because of the ambiguity between host and server-reflexive candidates,
we invalidate the server-reflexive candidate locally, send that to the
remote and the remote as a result kills the connection because it thinks
it should no longer talk to this address.

To fix this, we don't add server-reflexive candidates to the local agent
anymore. Only the remote peer needs to know about the server-reflexive
address in order to send packets _to_ it. By sending from the host
candidate, we automatically send "from" the server-reflexive address.

Not adding these server-reflexive candidates has an additional impact.
To make the tests pass reliably, I am entirely removing the invalidation
of candidates after the connection setup, as keeping that fails
connections early in the roaming test. This will increase background
traffic a bit but that seems like an okay trade-off to get more
resilient connections (the current bug is only caused by us trying to be
clever in how many candidate pairs we keep alive). We still use the
messages for invalidating candidates on the remote to make roaming work
reasonably smoothly.

Resolves: #5276.
2024-06-11 00:19:38 +00:00
Thomas Eizinger
96ced27e5a fix(snownet): notify remote of invalidated relay candidate (#5303)
When migrating to new relays, we need to notify the remote of our
invalidated relay candidates and not just invalidate them locally.

Related: #5283.
2024-06-10 23:32:29 +00:00
Thomas Eizinger
5b065d3e4c test(snownet): migrate relays for both parties (#5302)
In production, the portal will signal disconnected relays to both the
client and the gateway. We should mimic this in the tests.

In #5283, we remove invalidation of candidates during the connection
setup which breaks this roaming test due to "unhandled messages". We
could ignore those but I'd prefer to setup the test such that we panic
on unhandled messages instead and thus, this seems to be the better fix.
2024-06-10 23:28:51 +00:00
Jamil
948f5515d5 docs: add more specific IP ranges for Relays (#5282)
Needed for customers with restrictive network environments.
2024-06-10 23:22:20 +00:00
Jamil
926e26f578 ci: fix workflow order (#5299)
https://github.com/firezone/firezone/actions/runs/9453837712
2024-06-10 13:59:04 -05:00
Jamil
7697d3c8cb ci: prevent release drafter from drafting excessive bodies (#5298)
https://github.com/firezone/firezone/actions/runs/9453535771
2024-06-10 13:43:25 -05:00
Jamil
4d6af727c6 ci: split release drafter configs (#5297)
How the heck
2024-06-10 13:21:06 -05:00
Jamil
dc41383140 ci: Fix release drafter tag (#5296)
https://github.com/firezone/firezone/actions/runs/9453208745/job/26038106406
2024-06-10 13:06:23 -05:00
Jamil
b37f2f08df ci: Try again to separate releases (#5295)
https://github.com/firezone/firezone/actions/runs/9453112091
2024-06-10 12:56:15 -05:00
Jamil
649ce7a18a ci: fix release name and artifact cp (#5294)
https://github.com/firezone/firezone/actions/runs/9452931933
2024-06-10 12:47:23 -05:00
Jamil
7d91d47ccb ci: Fix leftovers from #5287 (#5293)
https://github.com/firezone/firezone/actions/runs/9452482657
2024-06-10 12:32:24 -05:00
Jamil
7e533c42f8 refactor: Split releases for Clients and Gateways (#5287)
- Removes version numbers from infra components (elixir/relay)
- Removes version bumping from Rust workspace members that don't get
published
- Splits release publishing into `gateway-`, `headless-client-`, and
`gui-client-`
- Removes auto-deploying new infrastructure when a release is published.
Use the Deploy Production workflow instead.

Fixes #4397
2024-06-10 16:47:49 +00:00
Jamil
56a8f3c974 chore(ci): Bump CI tool versions (#5285)
Bumps the tool versions that fall through the Dependabot cracks.
2024-06-10 16:13:28 +00:00
Andrew Dryga
650d7d7998 feat(portal): Add Policy conditions (#5144)
Now policies can have additional conditions based on Client location
(country or IP range), IdP provider used for sign in or the current time
of the day at a given timezone. This covers use cases where employees
can access the production system only from certain countries (states can
be added later) or when contractors can only access internal tools
during working hours.

Closes https://github.com/firezone/firezone/issues/4743
Closes #4742
Closes #4741
Closes #4740


<img width="1728" alt="Screenshot 2024-05-31 at 13 50 53"
src="https://github.com/firezone/firezone/assets/1877644/55f509f2-0f49-4edb-8c03-7a5a6d884ccc">
<img width="1728" alt="Screenshot 2024-05-31 at 13 50 56"
src="https://github.com/firezone/firezone/assets/1877644/756bb03f-4024-4978-ac85-6daa918ae037">
<img width="1728" alt="Screenshot 2024-05-31 at 13 51 01"
src="https://github.com/firezone/firezone/assets/1877644/cf159a86-077f-4ada-9952-9e8d399d0dc1">
<img width="1728" alt="Screenshot 2024-05-31 at 13 51 03"
src="https://github.com/firezone/firezone/assets/1877644/c070719e-2d4b-41bd-ad03-430baf2dbe9b">
<img width="676" alt="Screenshot 2024-05-31 at 14 56 06"
src="https://github.com/firezone/firezone/assets/1877644/435a4951-479d-4371-99c4-29a055348175">
2024-06-09 12:46:35 -06:00
Jamil
74e9b5c8a6 chore: Update codeowners (#5286) 2024-06-09 18:05:56 +00:00
Thomas Eizinger
4117639cf4 fix(connlib): reply with SERVFAIL on DNS query errors (#5263)
Currently, we simply drop a DNS query if we can't fulfill it. Because
DNS is based on UDP which is unreliable, a downstream system will
re-send a DNS query if it doesn't receive an answer within a certain
timeout window.

Instead of dropping queries, we now reply with `SERVFAIL`, indicating to
the client that we can't fulfill that DNS query. The intent is that this
will stop any kind of automated retry-loop and surface an error to the
user.

Related: #4800.

---------

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
Co-authored-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-06-08 02:12:46 +00:00
Reactor Scram
37b3bc2047 test(gui-client): remove parts of the test scripts that are redundant (#5280)
The post-install script does all this stuff now
63567b5b33/rust/gui-client/src-tauri/deb_files/postinst (L9-L15)

Ran into this while working on #5279
2024-06-07 20:00:49 +00:00
Reactor Scram
63567b5b33 ci(gui-client): remove unused bare exe from CI artifacts (#5277)
Closes #5268 

With the IPC service, the bare exe isn't useful, just the MSI and deb
are used even for testing
2024-06-07 17:10:35 +00:00
Jamil
ab86e77385 chore(infra): Allow pentester to sign up (#5278)
To allow testing sign up for pentest.
2024-06-07 16:42:43 +00:00
Gabi
7d76774ae0 fix(connlib): domains can resolve to same IPs on same gateway (#5272)
Currently, the same proxy IP can only ever point to one DNS record.
Proxy IPs are given out on a per-connection basis. As a result, if two
or more domains resolve to the same IP on the same gateway, previous
entries to this domain are lost and return an empty record as a result.

To fix this issue, we now store the set of resources that resolves to
this proxy IP instead of just a single resource. An invariant we have to
maintain here is that all of these resources must point to the same
gateway. This should always be true because proxy IPs are assigned
sequentially across all connections and thus the same IP can always
point back to the same proxy IP on the same gateway.

Fixes: #5259.

---------

Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2024-06-07 14:39:16 +00:00
dependabot[bot]
7fdd9bfce1 build(deps): Bump ecto_sql from 3.11.1 to 3.11.2 in /elixir (#5176)
Bumps [ecto_sql](https://github.com/elixir-ecto/ecto_sql) from 3.11.1 to
3.11.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/elixir-ecto/ecto_sql/blob/master/CHANGELOG.md">ecto_sql's
changelog</a>.</em></p>
<blockquote>
<h2>v3.11.2 (2024-05-18)</h2>
<h3>Enhancements</h3>
<ul>
<li>[postgres] Relax <code>postgrex</code> dependency</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="da8508aeee"><code>da8508a</code></a>
Release v3.11.2</li>
<li><a
href="08bf175315"><code>08bf175</code></a>
Relax postgres dependency</li>
<li>See full diff in <a
href="https://github.com/elixir-ecto/ecto_sql/compare/v3.11.1...v3.11.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ecto_sql&package-manager=hex&previous-version=3.11.1&new-version=3.11.2)](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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-07 14:17:38 +00:00
Reactor Scram
609ba73f84 chore(gui-client): improve logging around Client startup and IPC connections (#5216)
Closes #3567 (again)
Closes #5214

Ready for review

```[tasklist]
### Before merging
- [x] The IPC service should report system uptime when it starts. This will tell us whether the computer was rebooted or just the IPC service itself was upgraded / rebooted.
- [x] The IPC service should report the PID of itself and the GUI if possible
- [x] The GUI should report the PID of the IPC service if possible
- [x] Extra logging between `GIT_VERSION = ` and the token loading log line, especially right before and right after the critical Tauri launching step
- [x] If a 2nd GUI or IPC service runs and exits due to single-instance, it must log that
- [x] Remove redundant DNS deactivation when IPC service starts (I think conectado noticed this in another PR)
- [x] Manually test that the GUI logs something on clean shutdown
- [x] Logarithmic heartbeat?
- [x] If possible, log monotonic time somewhere so NTP syncs don't make the logs unreadable (uptime in the heartbeat should be monotonic, mostly)
- [x] Apply the same logging fix to the IPC service
- [x] Ensure log zips include GUI crash dumps
- [x] ~~Fix #5042~~ (that's a separate issue, I don't want to drag this PR out)
- [x] Test IPC service restart (logs as a stop event)
- [x] Test IPC service stop
- [x] Test IPC service logs during system suspend (Not logged, maybe because we aren't subscribed to power events)
- [x] Test IPC service logs during system reboot (Logged as shutdown, we exit gracefully)
- [x] Test IPC service logs during system shut down (Logged as a suspend)
- [x] Test IPC service upgrade (Logged as a stop)
- [x] Log unhandled events from the Windows service controller (Power events like suspend and resume are logged and not handled)
```

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-06-06 22:10:03 +00:00
Jamil
ba6685e2f2 fix(ux): Align filters horizontally on md breakpoints and higher (#5265)
Fixes #5231 
Fixes #5232 


<img width="636" alt="Screenshot 2024-06-05 at 7 26 19 PM"
src="https://github.com/firezone/firezone/assets/167144/8e40ba37-9757-4f83-98ad-24c61efbad36">
<img width="1792" alt="Screenshot 2024-06-05 at 7 26 11 PM"
src="https://github.com/firezone/firezone/assets/167144/eca5084b-ce35-4df6-bb30-474811944ea2">
<img width="720" alt="Screenshot 2024-06-05 at 7 26 03 PM"
src="https://github.com/firezone/firezone/assets/167144/c3eccdba-b3c0-467a-91c0-5197e2a74ed6">

<img width="1791" alt="Screenshot 2024-06-05 at 7 32 16 PM"
src="https://github.com/firezone/firezone/assets/167144/64d417e3-cf74-4f20-9cf5-22b7c0cd620c">
<img width="748" alt="Screenshot 2024-06-05 at 7 32 07 PM"
src="https://github.com/firezone/firezone/assets/167144/11cd2f3a-f8ee-4098-bad9-ab21fd6c000c">
<img width="1792" alt="Screenshot 2024-06-05 at 7 31 50 PM"
src="https://github.com/firezone/firezone/assets/167144/c601eec9-956b-4229-a1c4-484c4bca5001">
<img width="1792" alt="Screenshot 2024-06-05 at 7 31 48 PM"
src="https://github.com/firezone/firezone/assets/167144/2bd2c61a-e39b-4215-8e76-b7b3835dd5aa">
<img width="1792" alt="Screenshot 2024-06-05 at 7 31 43 PM"
src="https://github.com/firezone/firezone/assets/167144/c06d431d-37c1-4ca1-8ab2-67a879cf609b">
2024-06-06 20:01:45 +00:00
Jamil
55276ea768 feat(website): Link to trust center (#5271)
- Architecture can be found via Docs
- Changes old footer /docs to /kb link

Fixes firezone/gtm#295
2024-06-06 19:49:54 +00:00
Thomas Eizinger
9c0c1c141c refactor(connlib): don't strinify domain name early (#5264)
Turning a query's `name` into a `String` as late as possible avoids
reparsing it in the tests.
2024-06-06 17:15:48 +00:00
dependabot[bot]
fd27f0d787 build(deps): Bump ex_cldr_dates_times from 2.17.1 to 2.18.0 in /elixir (#5174)
Bumps
[ex_cldr_dates_times](https://github.com/elixir-cldr/cldr_dates_times)
from 2.17.1 to 2.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/elixir-cldr/cldr_dates_times/releases">ex_cldr_dates_times's
releases</a>.</em></p>
<blockquote>
<h2>Cldr Dates Times version 2.18.0</h2>
<h3>Bug Fixes</h3>
<ul>
<li>
<p>Clarify format compiler documentation. Thanks to <a
href="https://github.com/tjchambers"><code>@​tjchambers</code></a> for
the issue. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_dates_times/issues/46">#46</a>.</p>
</li>
<li>
<p>Fix typos. Thanks to <a
href="https://github.com/tjchambers"><code>@​tjchambers</code></a> for
the PR. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_dates_times/issues/47">#47</a>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/elixir-cldr/cldr_dates_times/blob/main/CHANGELOG.md">ex_cldr_dates_times's
changelog</a>.</em></p>
<blockquote>
<h2>Cldr_Dates_Times v2.18.0</h2>
<p>This is the changelog for Cldr_Dates_Times v2.18.0 released on May
29th, 2024. For older changelogs please consult the release tag on <a
href="https://github.com/elixir-cldr/cldr_cldr_dates_times/tags">GitHub</a></p>
<h3>Bug Fixes</h3>
<ul>
<li>
<p>Clarify format compiler documentation. Thanks to <a
href="https://github.com/tjchambers"><code>@​tjchambers</code></a> for
the issue. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_dates_times/issues/46">#46</a>.</p>
</li>
<li>
<p>Fix typos. Thanks to <a
href="https://github.com/tjchambers"><code>@​tjchambers</code></a> for
the PR. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_dates_times/issues/47">#47</a>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a67e8bbcb0"><code>a67e8bb</code></a>
Fix compiler warnings for Elixir 1.17</li>
<li><a
href="ed25e659d7"><code>ed25e65</code></a>
Merge branch 'main' of <a
href="https://github.com/elixir-cldr/cldr_dates_times">https://github.com/elixir-cldr/cldr_dates_times</a></li>
<li><a
href="7875302b5f"><code>7875302</code></a>
Fix typo</li>
<li><a
href="71ed19825a"><code>71ed198</code></a>
Merge pull request <a
href="https://redirect.github.com/elixir-cldr/cldr_dates_times/issues/47">#47</a>
from tjchambers/minimim_typos</li>
<li><a
href="31bf82c20e"><code>31bf82c</code></a>
Improve compiler docs. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_dates_times/issues/46">#46</a></li>
<li><a
href="c355bdc1a4"><code>c355bdc</code></a>
Correct typos of &quot;minimim&quot;</li>
<li>See full diff in <a
href="https://github.com/elixir-cldr/cldr_dates_times/compare/v2.17.1...v2.18.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ex_cldr_dates_times&package-manager=hex&previous-version=2.17.1&new-version=2.18.0)](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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-06 13:44:02 +00:00
Jamil
c26869cf34 fix(ux): Use icon sizes consistent with text size (#5256)
Fixes #5229 

<img width="303" alt="Screenshot 2024-06-05 at 9 54 29 AM"
src="https://github.com/firezone/firezone/assets/167144/b234ba01-b0e2-4d6b-ab49-48f90933f4de">
<img width="282" alt="Screenshot 2024-06-05 at 9 54 24 AM"
src="https://github.com/firezone/firezone/assets/167144/126b35d6-ba39-45a0-b828-48ea50f450f5">
2024-06-06 13:12:15 +00:00
Jamil
bafa9e0625 fix(ux): Prevent <Enter> from submitting filters forms (#5213)
Fixes #5211
2024-06-06 12:48:38 +00:00
Jamil
9db3518e76 fix(ux): Remove some padding around vertical_table (#5260)
# Before

<img width="616" alt="Screenshot 2024-06-05 at 2 08 20 PM"
src="https://github.com/firezone/firezone/assets/167144/90935c5e-3e19-499c-afdc-764280b8a306">


# After
<img width="522" alt="Screenshot 2024-06-05 at 2 11 58 PM"
src="https://github.com/firezone/firezone/assets/167144/8e22b64f-6169-4e98-9408-d796f690f3c8">

Fixes #5228

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2024-06-06 11:49:22 +00:00
Thomas Eizinger
a0b2ea4073 refactor(connlib): remove DNS mangling from connection state (#5222)
In case a configured DNS server is also a CIDR resource, DNS queries
will be routed through the tunnel to the gateway. For this to work
correctly, the destination of the request and the source of the response
need to be mangled back to the originally configured DNS server.

Currently, this mangling happens in the connection-specific
`GatewayOnClient` state. More specifically, the state that we need to
track are the IDs of the DNS queries that we actually mangled. This
state isn't connection-specific and can thus be moved out of
`GatewayOnClient` into `ClientState`.

Removing this state is important because we will soon (#5080) implement
roaming the client by simply dropping all connections and establishing
new connections as the packets are flowing in. For this, we must store
as little state as possible associated with each connection.

Resolves: #5079.
2024-06-06 03:41:54 +00:00
Jamil
402be27802 fix(ux): Adjust table column widths and overflow badges by truncating them (#5258)
Fixes #5230 
Fixes #5244
Fixes #5233 
Fixes #5245 
Fixes #5247 
Fixes #5237 
Fixes #5235 
Fixes #5252 

Updates the sidebar to collapse at the `xl` breakpoint, allowing to stay
closed for more screen realestate on smaller screens.

<img width="879" alt="Screenshot 2024-06-05 at 1 06 49 PM"
src="https://github.com/firezone/firezone/assets/167144/ff864e57-ba6b-42ee-bdf5-f6b046e46717">

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2024-06-05 23:19:33 +00:00
Thomas Eizinger
492d5c976e test(connlib): improve assertion logs (#5223)
In #5207, I already added logs for which assertions we are performing on
ICMP packets. This PR does the same thing for the DNS queries that are
being to connlib. It also adds spans that add some more context to the
messages.

Here is an excerpt of what this looks like:

```
Applying transition 19/19: SendICMPPacketToResource { idx: Index(3210705382108961150), seq: 57053, identifier: 28234, src: TunnelIp6 }
2024-06-05T07:06:30.742455Z  INFO assertions:  Performed the expected 2 ICMP handshakes
2024-06-05T07:06:30.742459Z  INFO icmp{seq=15543 identifier=63125}: assertions:  dst IP of request matches src IP of response: 3fb8:a7b0:c912:a648:6c9:7910:92dc:8db
2024-06-05T07:06:30.742461Z  INFO icmp{seq=15543 identifier=63125}: assertions:  src IP of request matches dst IP of response: fd00:2021:1111::a:3531
2024-06-05T07:06:30.742464Z  INFO icmp{seq=15543 identifier=63125}: assertions:  3fb8:a7b0:c912:a648:6c9:7910:92dc:8db is the correct resource
2024-06-05T07:06:30.742467Z  INFO icmp{seq=57053 identifier=28234}: assertions:  dst IP of request matches src IP of response: 3fb8:a7b0:c912:a648:6c9:7910:92dc:8d8
2024-06-05T07:06:30.742470Z  INFO icmp{seq=57053 identifier=28234}: assertions:  src IP of request matches dst IP of response: fd00:2021:1111::a:3531
2024-06-05T07:06:30.742473Z  INFO icmp{seq=57053 identifier=28234}: assertions:  3fb8:a7b0:c912:a648:6c9:7910:92dc:8d8 is the correct resource
2024-06-05T07:06:30.742477Z  INFO dns{query_id=58256}: assertions:  dst IP of request matches src IP of response: fd00:2021:1111:8000:100:100:111:0
2024-06-05T07:06:30.742480Z  INFO dns{query_id=58256}: assertions:  src IP of request matches dst IP of response: fd00:2021:1111::a:3531
2024-06-05T07:06:30.742483Z  INFO dns{query_id=58256}: assertions:  dst port of request matches src port of response: 53
2024-06-05T07:06:30.742485Z  INFO dns{query_id=58256}: assertions:  src port of request matches dst port of response: 9999
2024-06-05T07:06:30.742488Z  INFO dns{query_id=22568}: assertions:  dst IP of request matches src IP of response: 100.100.111.1
2024-06-05T07:06:30.742491Z  INFO dns{query_id=22568}: assertions:  src IP of request matches dst IP of response: 100.75.34.66
2024-06-05T07:06:30.742494Z  INFO dns{query_id=22568}: assertions:  dst port of request matches src port of response: 53
2024-06-05T07:06:30.742497Z  INFO dns{query_id=22568}: assertions:  src port of request matches dst port of response: 9999
2024-06-05T07:06:30.742500Z  INFO dns{query_id=58735}: assertions:  dst IP of request matches src IP of response: fd00:2021:1111:8000:100:100:111:2
2024-06-05T07:06:30.742502Z  INFO dns{query_id=58735}: assertions:  src IP of request matches dst IP of response: fd00:2021:1111::a:3531
2024-06-05T07:06:30.742505Z  INFO dns{query_id=58735}: assertions:  dst port of request matches src port of response: 53
2024-06-05T07:06:30.742507Z  INFO dns{query_id=58735}: assertions:  src port of request matches dst port of response: 9999
2024-06-05T07:06:30.742512Z  INFO dns{query_id=59096}: assertions:  dst IP of request matches src IP of response: fd00:2021:1111:8000:100:100:111:1
2024-06-05T07:06:30.742514Z  INFO dns{query_id=59096}: assertions:  src IP of request matches dst IP of response: fd00:2021:1111::a:3531
2024-06-05T07:06:30.742517Z  INFO dns{query_id=59096}: assertions:  dst port of request matches src port of response: 53
2024-06-05T07:06:30.742519Z  INFO dns{query_id=59096}: assertions:  src port of request matches dst port of response: 9999
2024-06-05T07:06:30.742522Z  INFO dns{query_id=41570}: assertions:  dst IP of request matches src IP of response: fd00:2021:1111:8000:100:100:111:1
2024-06-05T07:06:30.742525Z  INFO dns{query_id=41570}: assertions:  src IP of request matches dst IP of response: fd00:2021:1111::a:3531
2024-06-05T07:06:30.742527Z  INFO dns{query_id=41570}: assertions:  dst port of request matches src port of response: 53
2024-06-05T07:06:30.742530Z  INFO dns{query_id=41570}: assertions:  src port of request matches dst port of response: 9999
2024-06-05T07:06:30.742533Z  INFO dns{query_id=15028}: assertions:  dst IP of request matches src IP of response: fd00:2021:1111:8000:100:100:111:1
2024-06-05T07:06:30.742536Z  INFO dns{query_id=15028}: assertions:  src IP of request matches dst IP of response: fd00:2021:1111::a:3531
2024-06-05T07:06:30.742538Z  INFO dns{query_id=15028}: assertions:  dst port of request matches src port of response: 53
2024-06-05T07:06:30.742541Z  INFO dns{query_id=15028}: assertions:  src port of request matches dst port of response: 9999
```

It is a bit repetitive because all assertions always run on all state
transition. Nevertheless I've found it useful to be able to look at the
assertions and visually verify that they make sense.
2024-06-05 21:50:30 +00:00
Thomas Eizinger
d0efc55918 test(connlib): reduce number of local rejections (#5221)
To make proptests efficient, it is important to generate the set of
possible test cases algorithmically instead of filtering through
randomly generated values.

This PR makes the strategies for upstream DNS servers and IP networks
more efficient by removing the filtering.
2024-06-05 21:44:19 +00:00
Thomas Eizinger
29d0c748e3 ci: make output of cargo test smaller (#5219)
When the `tunnel_test` fails, it generates a lot of output because it
keeps printing the backtrace over and over. This makes it difficult to
access the input seed to the test. Copying this seed into a local
environment is the first step in debugging this, at which point the
backtrace can be enabled locally.

We also disable the `verbose: 1` config option. Users can always set
that using the `PROPTEST_VERBOSE` env variable.
2024-06-05 21:42:29 +00:00
Thomas Eizinger
fb97e3c5a3 test(connlib): generate up to 6 resolved IPs (#5218)
With #5049, we will allocate a fixed set of 4 IPs per DNS resource on
the client. In order to ensure that this always works correctly,
increase the number of resolved IPs to at most 6.
2024-06-05 21:41:05 +00:00
Reactor Scram
f644d734fc refactor(connlib-client-shared): remove unnecessary Arc<Mutex> from logger (#5224)
This may have been needed when the logger rolled files and uploaded, but
now it compiles fine without it.

I tested it once manually on Windows. I don't think the logging is
covered by automated tests.
2024-06-05 21:35:22 +00:00
Jamil
0a22589c9e fix(ux): consistent pagination size of 10 (#5255)
Fixes #5226
2024-06-05 21:31:55 +00:00
Thomas Eizinger
ff97c56b92 test(connlib): increase buffer sizes (#5220)
In case an upstream DNS server is a resource, we need to not only send
an ICMP packet through the tunnel but also DNS queries. These can be
larger than 200 bytes which currently breaks the test because we only
give it a buffer of 200 bytes.
2024-06-05 21:12:20 +00:00
Reactor Scram
f161fd290e fix(tauri_client/windows): close and re-open the named pipe properly, and back off if needed (#5156)
Closes #5143 

The initial half-second backoff should typically be enough, and if the
user is manually re-opening the GUI after a GUI crash, I don't think
they'll notice. If they do, they can open the GUI again and it should
all work.
2024-06-05 20:32:00 +00:00
Reactor Scram
d561e0ee0d test: fix 21 mutants from cargo-mutants (#5170)
Most of these were in `known_dirs.rs` because it's platform-specific and
`cargo-mutants` wasn't ignoring other platforms correctly.

Using `cargo mutants -p firezone-gui-client -p firezone-headless-client`

176 / 236 mutants missed before

155 / 206 mutants missed after
2024-06-05 15:59:06 +00:00