Commit Graph

2645 Commits

Author SHA1 Message Date
Jamil
fb28c4825c Designate make version as PHONY (#2228) 2023-10-03 16:21:38 +11:00
Jamil
ff1c0b950a Add make version command to set version in components (#2215)
Fixes #2213 

This will allow us to fetch the actual Firezone version that's in use
from within the language runtimes themselves without resorting to an
external mechanism to do so. This is useful in connlib for example when
selecting the Portal API to use with `X-Firezone-API-Version`, and
useful in log printing.

Since platforms enforce semantic version, I propose the convention:

`1.20231001.34` where MAJOR is `1` for Firezone 1.0, MINOR is our API
version, and PATCH is the release of that API version that is published
on the repo.

Given this system, publishing a release would consist of:

1. Edit `Makefile` to set the patch and minor versions appropriately
depending on whether there are breaking portal API changes.
2. `make version`
3. `git add .; git commit; git push` -- this opens a PR with the new
version numbers. In this PR we can discuss whether to stop-ship or go.
4. PR merged, release is drafted and deployed to staging with the new
tag and version numbers
5. build artifacts are uploaded to drafted release, everything is tagged
and versioned appropriately without having to introduce another commit
6. If all looks good, publish release
2023-10-03 15:22:02 +11:00
Jamil
31a20a2c8a feat(ci): Add swift-format to apple build (#2201)
Was doing some CI work and thought I would clean up our Swift codebase a
little.

- Moves `CallbackHandler.swift` to `swift/apple` so it's subject to
style enforcement
- Adds `swift-format lint --strict` build step to catch style issues in
Xcode (and CI)
- Ran `swift-format -i` on all files to reset formatting
- Fixed any warnings found

Fixes #2157
2023-10-03 07:43:17 +05:30
bmanifold
c8090f8017 Update Account DNS settings UI (#2120)
Why:

* The previous Account DNS Settings page was only a static page. This
commit enables the form on the page to actually save and update the DNS
settings for a given account.
2023-10-02 14:19:48 -06:00
Jamil
cd5a57f413 Update tokio-tungstenite to fix webpki vuln (#2181)
Fixes https://github.com/firezone/firezone/security/dependabot/75
Fixes https://github.com/firezone/firezone/security/dependabot/72
2023-10-02 19:35:42 +00:00
dependabot[bot]
1e26c1cea8 build(deps): Bump the otel group in /rust with 1 update (#2217)
Bumps the otel group in /rust with 1 update:
[tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry).

<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tracing-opentelemetry/releases">tracing-opentelemetry's
releases</a>.</em></p>
<blockquote>
<h2>0.21.0</h2>
<h3>Added</h3>
<ul>
<li>Ability to produce measurement with attributes (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43">#43</a>)</li>
</ul>
<h3>Breaking Changes</h3>
<ul>
<li><code>MetricsLayer</code> is now generic over the its
<code>Subscriber</code> impl to support
<a
href="https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/layer/index.html#per-layer-filtering">per-layer
filtering</a> (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43">#43</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Trace IDs not matching when propagating invalid contexts (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/55">#55</a>)</li>
</ul>
<p>Thanks to <a href="https://github.com/ymgyt"><code>@​ymgyt</code></a>
and <a href="https://github.com/hdost"><code>@​hdost</code></a> for
contributing to this release!</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tracing-opentelemetry/blob/v0.1.x/CHANGELOG.md">tracing-opentelemetry's
changelog</a>.</em></p>
<blockquote>
<h1>0.21.0 (August 28, 2023)</h1>
<h3>Added</h3>
<ul>
<li>Ability to produce measurement with attributes (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43">#43</a>)</li>
</ul>
<h3>Breaking Changes</h3>
<ul>
<li><code>MetricsLayer</code> is now generic over the its
<code>Subscriber</code> impl to support
<a
href="https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/layer/index.html#per-layer-filtering">per-layer
filtering</a> (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43">#43</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Trace IDs not matching when propagating invalid contexts (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/55">#55</a>)</li>
</ul>
<p>Thanks to <a href="https://github.com/ymgyt"><code>@​ymgyt</code></a>
and <a href="https://github.com/hdost"><code>@​hdost</code></a> for
contributing to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="61498639b0"><code>6149863</code></a>
Prepare for v0.21.0 release (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/56">#56</a>)</li>
<li><a
href="4fa7527481"><code>4fa7527</code></a>
fix: trace id did not match when propagating invalid context (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/55">#55</a>)</li>
<li><a
href="11d57b8092"><code>11d57b8</code></a>
chore: add opentelemetry-otlp integration example (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/53">#53</a>)</li>
<li><a
href="680f91dcdf"><code>680f91d</code></a>
docs: update semantic-conventions link (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/52">#52</a>)</li>
<li><a
href="fee6cbf238"><code>fee6cbf</code></a>
chore: use pprof in the benchmark for metrics (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/51">#51</a>)</li>
<li><a
href="e9148988fc"><code>e914898</code></a>
Move off of opentelemetry in favor of separate crates. (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/48">#48</a>)</li>
<li><a
href="473a500d5a"><code>473a500</code></a>
docs: add metrics layer attributes description (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/49">#49</a>)</li>
<li><a
href="42a3c73c37"><code>42a3c73</code></a>
docs: update README basic example (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/47">#47</a>)</li>
<li><a
href="7bb3e5643a"><code>7bb3e56</code></a>
feat: produce measurement with attributes (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/43">#43</a>)</li>
<li><a
href="6bc7dce956"><code>6bc7dce</code></a>
docs: fix REAEME MetricsLayer link (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/44">#44</a>)</li>
<li>See full diff in <a
href="https://github.com/tokio-rs/tracing-opentelemetry/compare/v0.20.0...v0.21.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tracing-opentelemetry&package-manager=cargo&previous-version=0.20.0&new-version=0.21.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 <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>
2023-10-02 16:32:00 -03:00
dependabot[bot]
fb8b25a923 build(deps): Bump wintun from 0.3.1 to 0.3.2 in /rust (#2218)
Bumps [wintun](https://github.com/nulldotblack/wintun) from 0.3.1 to
0.3.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/nulldotblack/wintun/blob/main/CHANGELOG.md">wintun's
changelog</a>.</em></p>
<blockquote>
<h2>[0.3.2] - 2023-09-27</h2>
<h2>Added</h2>
<ul>
<li><code>Adapter::get_mtu</code>: <a
href="https://redirect.github.com/nulldotblack/wintun/pull/11">nulldotblack/wintun#11</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Improved formatting of errors: <a
href="https://redirect.github.com/nulldotblack/wintun/pull/11">nulldotblack/wintun#11</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/nulldotblack/wintun/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=wintun&package-manager=cargo&previous-version=0.3.1&new-version=0.3.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 <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>
2023-10-02 16:31:34 -03:00
dependabot[bot]
650c24504b build(deps): Bump ring from 0.16.20 to 0.17.0 in /rust (#2219)
Bumps [ring](https://github.com/briansmith/ring) from 0.16.20 to 0.17.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/briansmith/ring/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ring&package-manager=cargo&previous-version=0.16.20&new-version=0.17.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 <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>
2023-10-02 16:31:04 -03:00
dependabot[bot]
a3aa6721c0 build(deps): Bump sha2 from 0.10.7 to 0.10.8 in /rust (#2220)
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.7 to
0.10.8.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="28a7b0da94"><code>28a7b0d</code></a>
Update Cargo.lock</li>
<li><a
href="c6decdf36f"><code>c6decdf</code></a>
sha2: Add inline-asm backend for LoongArch64 targets (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/507">#507</a>)</li>
<li><a
href="026b0e81e9"><code>026b0e8</code></a>
md5: minor code tweaks, bump to v0.10.6 (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/506">#506</a>)</li>
<li><a
href="a24e8b73a6"><code>a24e8b7</code></a>
md5: Add inline-asm backend for LoongArch64 targets (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/505">#505</a>)</li>
<li><a
href="7aba4b5271"><code>7aba4b5</code></a>
Add asm!-based backend for LoongArch64 targets (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/504">#504</a>)</li>
<li><a
href="dcfd5a5016"><code>dcfd5a5</code></a>
build(deps): bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/501">#501</a>)</li>
<li><a
href="4372c776a5"><code>4372c77</code></a>
CI: replace MIPS cross tests with PPC32 (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/503">#503</a>)</li>
<li><a
href="42d3a25a4e"><code>42d3a25</code></a>
k12: fix incorrect hash calculation (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/499">#499</a>)</li>
<li><a
href="342dbfabd4"><code>342dbfa</code></a>
Update asm dependencies (<a
href="https://redirect.github.com/RustCrypto/hashes/issues/498">#498</a>)</li>
<li><a
href="59176e068a"><code>59176e0</code></a>
Update Clippy and fix lints</li>
<li>Additional commits viewable in <a
href="https://github.com/RustCrypto/hashes/compare/sha2-v0.10.7...sha2-v0.10.8">compare
view</a></li>
</ul>
</details>
<br />


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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 16:30:29 -03:00
dependabot[bot]
58aa8fb060 build(deps): Bump thiserror from 1.0.48 to 1.0.49 in /rust (#2221)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.48 to
1.0.49.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/thiserror/releases">thiserror's
releases</a>.</em></p>
<blockquote>
<h2>1.0.49</h2>
<ul>
<li>Access libcore types through <code>::core</code> in generated code
(<a
href="https://redirect.github.com/dtolnay/thiserror/issues/255">#255</a>,
thanks <a
href="https://github.com/mina86"><code>@​mina86</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="54465b7475"><code>54465b7</code></a>
Release 1.0.49</li>
<li><a
href="79704adca9"><code>79704ad</code></a>
Merge pull request 255 from mina86/a</li>
<li><a
href="5bfbdaebe3"><code>5bfbdae</code></a>
Test docs.rs documentation build in CI</li>
<li><a
href="f0f303a7ba"><code>f0f303a</code></a>
Prefer core crate in macro expansions</li>
<li><a
href="435c7c819c"><code>435c7c8</code></a>
Update actions/checkout@v3 -&gt; v4</li>
<li>See full diff in <a
href="https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49">compare
view</a></li>
</ul>
</details>
<br />


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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 16:30:09 -03:00
Pratik Velani
1ec5678734 feat(android): Implemented DNS resolver fallback (#2170)
Fixes #1969

- Implements fallback DNS resolver
- Added callback method to fetch DNS list

---------

Signed-off-by: Pratik Velani <pratikvelani@gmail.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-02 07:36:21 -07:00
Jamil
56259132e6 Use "1.YYYYMMDD.build_number" for version (#2214)
refs #2041
2023-10-01 22:24:30 -07:00
Jamil
5751d3802f feat(ci): release drafter (#2212)
Fixes #2211
2023-10-01 21:23:45 -07:00
Jamil
7e3af1e8b5 refactor(connlib): Add more logs to get_device_id() (#2198)
These are added to provide more information to debug issues where the
`external_id` as seen by the portal changes and causes session and/or
upsert issues.

Refs #2181
2023-09-30 10:31:22 -07:00
Andrew Dryga
2f78be155f Flows activity/metrics (#2176)
Charts library could be better, I did not find a way to configure
time-series min/max value or step, formatting Y axis is not trivial too,
but for an early feature this should do the job:

<img width="1728" alt="Screenshot 2023-09-27 at 20 00 10"
src="https://github.com/firezone/firezone/assets/1877644/8e4bef6b-2937-4dc2-ac31-3c61e31bffc6">
2023-09-30 16:04:33 +00:00
Jamil
64d9d0421a fix(portal): Increase assert_receive timeouts because GH is slow (#2197)
Fixes
https://github.com/firezone/firezone/actions/runs/6363610658/job/17279335896
and
https://github.com/firezone/firezone/actions/runs/6363673302/job/17279439543
2023-09-30 15:40:44 +00:00
Andrew Dryga
884022410f Fix lost client_* state on magic link resend (#2196)
Closes https://github.com/firezone/firezone/issues/2012
2023-09-30 15:11:31 +00:00
Jamil
c4c6f3e4ca refactor(portal): Don't pin session token to user_agent or remote_ip (#2195)
Removing the check to get Rust PRs to pass.

**Note**: #2182 was dependent on this one, and has since merged into
this one.
2023-09-30 07:40:57 -07:00
Pratik Velani
e6919c04f9 chore(android): Removed debug sign-in implementation (#2193)
- Removed debug sign-in functionality and token local property.
2023-09-30 05:06:42 +00:00
Andrew Dryga
38f017cdae Test a different strategy to check for ws origin 2023-09-29 16:54:58 -06:00
Jamil
72044cc065 refactor(android): Make app links more robust in the emulator (#2188)
Getting some weird behavior with AppLinks. They don't seem to work upon
first use and require a few tries to function correctly.

Edit: Found the issue: Android Studio doesn't like when the Manifest
contains variables for AppLinks. I added a note in the Manifest.

@conectado To test Applinks are working correctly, you can use the App
Link Assistant:

<img width="930" alt="Screenshot 2023-09-28 at 11 15 11 PM"
src="https://github.com/firezone/firezone/assets/167144/e4bd4674-d562-44ec-bdb8-3a5f97250b84">

Then from there you can click "Test App Links":

<img width="683" alt="Screenshot 2023-09-28 at 11 15 30 PM"
src="https://github.com/firezone/firezone/assets/167144/f3dc8e0d-f58a-4a4b-9855-62472096dc9e">
2023-09-29 18:09:04 +00:00
Andrew Dryga
37fc412ff3 Check websocket origin (#2192) 2023-09-29 12:02:54 -06:00
Andrew Dryga
3d143680b8 Show client/gateway Remote IP instead of internal IPs
Closes https://github.com/firezone/firezone/issues/2059
2023-09-29 09:25:48 -06:00
Jamil
a98f30a8dd fix(ci): Fix flaky integration tests (#2190) 2023-09-29 01:12:29 -07:00
Andrew Dryga
9d45081f27 Remove usage of deprecated terraform provider 2023-09-28 21:46:10 -06:00
Andrew Dryga
77a1fedc60 Bump terraform version 2023-09-28 21:46:10 -06:00
Andrew Dryga
bb67f52a5b Make terraform upload less context 2023-09-28 21:46:09 -06:00
Jamil
d2c5968217 refactor(portal): Remove Dashboard, Landing pages and use sign_in for unauthenticated landing (#2175)
Fixes #2062
Fixes #2064 
Fixes #2063 


<img width="573" alt="Screenshot 2023-09-27 at 1 53 15 PM"
src="https://github.com/firezone/firezone/assets/167144/3e487475-4e63-4aa0-8614-57579bb4aa95">
2023-09-29 02:28:59 +00:00
Thomas Eizinger
bb9dc1aeac feat: upload logs to GCP on compile-time configurable interval (#2103)
Resolves: #2020.

---------

Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2023-09-29 00:03:03 +00:00
Gabi
e446138150 add gabi key to assertlinks.json (#2183)
Signed-off-by: Gabi <gabrielalejandro7@gmail.com>
2023-09-28 13:59:19 -07:00
Jamil
3baf2ee1bb feat(connlib): Wrap secrets in Secret to minimize chance of leakage (#2159)
Fixes #2085

---------

Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2023-09-28 18:35:16 +00:00
Thomas Eizinger
0ceecc0c0e Duplicate Session for client and gateway (#2169)
At the moment, there is a lot of indirection between tunnel, session,
control planes etc. I think this is a lot easier to understand if we
don't have as many type parameters and instead, create one `Session`
type per "kind" of deployment: Clients and gateways.

This is an initial start, there is now some duplication between gateways
and clients. I'd recommend patch-by-patch review.

I originally started this to do
https://github.com/firezone/firezone/issues/2158 but that is not
possible until we have _concrete_ message types within each `Session`,
hence I am sending this PR first.
2023-09-28 02:57:44 +00:00
Gabi
21afdf0a9a feat(connlib): Ice trickle ❄️ (#2152)
Most of this PR is moving things around in the control protocol part of
the tunnel to ease readability, there are some improvements there to do
but ideally I won't spend more time there since we will probably throw
it away when we move away from webrtc.

The most important part of this PR is the ice trickle, which should make
stablishing a connection initially much faster and in theory we can add
relays without incurring in a delay penalty there. I still need to test
and benchmark it with staging
2023-09-27 21:32:07 +00:00
Andrew Dryga
5dddc1205e Change naming convention for spans for better integration with Cloud Trace 2023-09-27 15:46:00 -06:00
Andrew Dryga
1dac7d87a0 Do not show resources to clients that are not authorized to access them 2023-09-27 13:48:14 -06:00
Andrew Dryga
e92752a974 Prefix span names by socket type 2023-09-27 13:31:24 -06:00
Andrew Dryga
4f46cfd25f Remove required attribute on policy description textareas 2023-09-27 13:21:34 -06:00
dependabot[bot]
ad3d5f00b7 build(deps): Bump the otel group in /rust with 5 updates (#2165)
Bumps the otel group in /rust with 5 updates:

| Package | From | To |
| --- | --- | --- |
|
[tracing-stackdriver](https://github.com/NAlexPear/tracing-stackdriver)
| `0.7.2` | `0.8.0` |
|
[tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry)
| `0.19.0` | `0.20.0` |
| [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust)
| `0.19.0` | `0.20.0` |
|
[opentelemetry_api](https://github.com/open-telemetry/opentelemetry-rust)
| `0.19.0` | `0.20.0` |
|
[opentelemetry-otlp](https://github.com/open-telemetry/opentelemetry-rust)
| `0.12.0` | `0.13.0` |

Updates `tracing-stackdriver` from 0.7.2 to 0.8.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b47f8c00ff"><code>b47f8c0</code></a>
⬆ Bump version to 0.8.0</li>
<li><a
href="7bad22884b"><code>7bad228</code></a>
🏁 Add pre-publish semver check</li>
<li><a
href="a72e4585ea"><code>a72e458</code></a>
Run cargo-update to fix CI</li>
<li><a
href="b577f24145"><code>b577f24</code></a>
Fix formatting</li>
<li><a
href="e28429faad"><code>e28429f</code></a>
Fix compile errors in test</li>
<li><a
href="b5c8a23fa0"><code>b5c8a23</code></a>
Update lockfile</li>
<li><a
href="0d92b9fa8d"><code>0d92b9f</code></a>
Bump opentelemetry dependency</li>
<li><a
href="848b0822dc"><code>848b082</code></a>
📝 Handle latest clippy lints</li>
<li>See full diff in <a
href="https://github.com/NAlexPear/tracing-stackdriver/compare/v0.7.2...v0.8.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `tracing-opentelemetry` from 0.19.0 to 0.20.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tracing-opentelemetry/releases">tracing-opentelemetry's
releases</a>.</em></p>
<blockquote>
<h2>0.20.0</h2>
<h3>Added</h3>
<ul>
<li>Add <code>OpenTelemetrySpanExt::set_attribute</code> function (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/34">#34</a>)</li>
</ul>
<h3>Breaking Changes</h3>
<ul>
<li>Upgrade to <code>v0.20.0</code> of <code>opentelemetry</code> (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/36">#36</a>)
For list of breaking changes in OpenTelemetry, see the
<a
href="https://github.com/open-telemetry/opentelemetry-rust/blob/v0.20.0/opentelemetry-api/CHANGELOG.md#v0200">v0.20.0
changelog</a>.</li>
</ul>
<p>Thanks to <a
href="https://github.com/ymgyt"><code>@​ymgyt</code></a>, <a
href="https://github.com/mladedav"><code>@​mladedav</code></a>, <a
href="https://github.com/shaun-cox"><code>@​shaun-cox</code></a>, and <a
href="https://github.com/Protryon"><code>@​Protryon</code></a> for
contributing to this release!</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tracing-opentelemetry/blob/v0.1.x/CHANGELOG.md">tracing-opentelemetry's
changelog</a>.</em></p>
<blockquote>
<h1>0.20.0 (August 1, 2023)</h1>
<h3>Added</h3>
<ul>
<li>Add <code>OpenTelemetrySpanExt::set_attribute</code> function (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/34">#34</a>)</li>
</ul>
<h3>Breaking Changes</h3>
<ul>
<li>Upgrade to <code>v0.20.0</code> of <code>opentelemetry</code> (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/36">#36</a>)
For list of breaking changes in OpenTelemetry, see the
<a
href="https://github.com/open-telemetry/opentelemetry-rust/blob/v0.20.0/opentelemetry-api/CHANGELOG.md#v0200">v0.20.0
changelog</a>.</li>
</ul>
<p>Thanks to <a
href="https://github.com/ymgyt"><code>@​ymgyt</code></a>, <a
href="https://github.com/mladedav"><code>@​mladedav</code></a>, <a
href="https://github.com/shaun-cox"><code>@​shaun-cox</code></a>, and <a
href="https://github.com/Protryon"><code>@​Protryon</code></a> for
contributing to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d9b18f2aed"><code>d9b18f2</code></a>
Prepare for v0.20.0 release (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/41">#41</a>)</li>
<li><a
href="d36955010d"><code>d369550</code></a>
chore: use pprof only if target_os is not windows (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/40">#40</a>)</li>
<li><a
href="76771cf8e8"><code>76771cf</code></a>
update opentelemetry to 0.20.0 (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/36">#36</a>)</li>
<li><a
href="7b77d33d58"><code>7b77d33</code></a>
Add set_attribute function (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/34">#34</a>)</li>
<li><a
href="f5f898b47e"><code>f5f898b</code></a>
Enable flame graphs and reports for benchmarks (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/27">#27</a>)</li>
<li><a
href="040c57a61b"><code>040c57a</code></a>
Set builder parent span to None when manually setting parent (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/26">#26</a>)</li>
<li><a
href="5ce1b10893"><code>5ce1b10</code></a>
build(deps): update criterion requirement from 0.4.0 to 0.5.0 (<a
href="https://redirect.github.com/tokio-rs/tracing-opentelemetry/issues/24">#24</a>)</li>
<li>See full diff in <a
href="https://github.com/tokio-rs/tracing-opentelemetry/compare/v0.19.0...v0.20.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `opentelemetry` from 0.19.0 to 0.20.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-rust/releases">opentelemetry's
releases</a>.</em></p>
<blockquote>
<h2>v0.20.0</h2>
<p>See individual crate changelogs for details.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="dfeac078ff"><code>dfeac07</code></a>
Fix stdout exporter dependency (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1172">#1172</a>)</li>
<li><a
href="771d3c4207"><code>771d3c4</code></a>
Prepare for v0.20.0 release (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1156">#1156</a>)</li>
<li><a
href="2ca024e9ab"><code>2ca024e</code></a>
Export logs only if the level/logger/target is enabled. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1147">#1147</a>)</li>
<li><a
href="8975aa382e"><code>8975aa3</code></a>
fix: Fix env endpoint use in telemetry agent (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1167">#1167</a>)</li>
<li><a
href="6962621fb8"><code>6962621</code></a>
Start adding metrics advanced (view) examples (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1170">#1170</a>)</li>
<li><a
href="9f28319307"><code>9f28319</code></a>
update (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1169">#1169</a>)</li>
<li><a
href="1f59a15cbf"><code>1f59a15</code></a>
Add OTLP LogExporter to the example (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1168">#1168</a>)</li>
<li><a
href="58ad33a5d0"><code>58ad33a</code></a>
Add compression support for otlp tonic (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1165">#1165</a>)</li>
<li><a
href="ba6f924bcd"><code>ba6f924</code></a>
proto: fix doc links to tonic, prost (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1162">#1162</a>)</li>
<li><a
href="fb141994e0"><code>fb14199</code></a>
Install logger provider (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1164">#1164</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/open-telemetry/opentelemetry-rust/compare/v0.19.0...v0.20.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `opentelemetry_api` from 0.19.0 to 0.20.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-rust/releases">opentelemetry_api's
releases</a>.</em></p>
<blockquote>
<h2>v0.20.0</h2>
<p>See individual crate changelogs for details.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="dfeac078ff"><code>dfeac07</code></a>
Fix stdout exporter dependency (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1172">#1172</a>)</li>
<li><a
href="771d3c4207"><code>771d3c4</code></a>
Prepare for v0.20.0 release (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1156">#1156</a>)</li>
<li><a
href="2ca024e9ab"><code>2ca024e</code></a>
Export logs only if the level/logger/target is enabled. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1147">#1147</a>)</li>
<li><a
href="8975aa382e"><code>8975aa3</code></a>
fix: Fix env endpoint use in telemetry agent (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1167">#1167</a>)</li>
<li><a
href="6962621fb8"><code>6962621</code></a>
Start adding metrics advanced (view) examples (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1170">#1170</a>)</li>
<li><a
href="9f28319307"><code>9f28319</code></a>
update (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1169">#1169</a>)</li>
<li><a
href="1f59a15cbf"><code>1f59a15</code></a>
Add OTLP LogExporter to the example (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1168">#1168</a>)</li>
<li><a
href="58ad33a5d0"><code>58ad33a</code></a>
Add compression support for otlp tonic (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1165">#1165</a>)</li>
<li><a
href="ba6f924bcd"><code>ba6f924</code></a>
proto: fix doc links to tonic, prost (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1162">#1162</a>)</li>
<li><a
href="fb141994e0"><code>fb14199</code></a>
Install logger provider (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/1164">#1164</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/open-telemetry/opentelemetry-rust/compare/v0.19.0...v0.20.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `opentelemetry-otlp` from 0.12.0 to 0.13.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-rust/releases">opentelemetry-otlp's
releases</a>.</em></p>
<blockquote>
<h2>v0.13.0</h2>
<p>Upgrade note: exporter pipelines do not return an uninstall guard as
of <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/444">#444</a>,
use <code>opentelemetry::global::shutdown_tracer_provider</code>
explicitly instead.</p>
<h2>Changed</h2>
<ul>
<li>Pull configrations from environment variables by default when
creating BatchSpanProcessor <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/445">#445</a></li>
<li>Convert doc links to intra-doc <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/466">#466</a></li>
<li>Switch to Cow for event names <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/471">#471</a></li>
<li>Use API to configure async runtime instead of features <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/481">#481</a></li>
<li>Rename trace config with_default_sampler to with_sampler <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/482">#482</a></li>
</ul>
<h2>Removed</h2>
<ul>
<li>Removed tracer provider guard <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/444">#444</a></li>
<li>Removed <code>from_env</code> and use environment variables to
initialize the configurations by default <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/459">#459</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="97c220f624"><code>97c220f</code></a>
Prepare for v0.13.0 release (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/470">#470</a>)</li>
<li><a
href="a32b962668"><code>a32b962</code></a>
Merge opentelemetry-stackdriver into this repo. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/487">#487</a>)</li>
<li><a
href="cb419bb9f1"><code>cb419bb</code></a>
Configure async runtime in Rust code instead of cargo feature (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/481">#481</a>)</li>
<li><a
href="2b9fa23145"><code>2b9fa23</code></a>
fix: otel-otlp will try to create another tokio runtime inside one if
async f...</li>
<li><a
href="436b76e5bb"><code>436b76e</code></a>
bump prometheus dependency (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/485">#485</a>)</li>
<li><a
href="a49d6f5612"><code>a49d6f5</code></a>
Rename trace config with_default_sampler to with_sampler (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/482">#482</a>)</li>
<li><a
href="e9ef3e23d6"><code>e9ef3e2</code></a>
feat: clean up lint.sh, use API to set grpc layer (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/467">#467</a>)</li>
<li><a
href="d42c552bd0"><code>d42c552</code></a>
Abstraction trait for different runtimes (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/480">#480</a>)</li>
<li><a
href="0b1074e969"><code>0b1074e</code></a>
Impl clone for noop tracer/provider/span (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/479">#479</a>)</li>
<li><a
href="e17a1313b4"><code>e17a131</code></a>
otlp: mention service.name in kitchen sink cfg doc - closes <a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/475">#475</a>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-rust/issues/476">#476</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/open-telemetry/opentelemetry-rust/compare/v0.12.0...v0.13.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: Thomas Eizinger <thomas@eizinger.io>
2023-09-27 18:55:01 +00:00
Jamil
53a054bad2 feat(android): static analysis checks in CI (#2171)
Fixes #2156
2023-09-27 18:25:38 +00:00
Andrew Dryga
0b9dd334b4 Network flows (logs, auth) (#2166)
Closes https://github.com/firezone/firezone/issues/2095
Partially implements #949

<img width="1728" alt="Screenshot 2023-09-26 at 19 25 54"
src="https://github.com/firezone/firezone/assets/1877644/dffa8ae5-3095-4188-a1d2-3e8382e61628">
<img width="1728" alt="Screenshot 2023-09-26 at 19 26 03"
src="https://github.com/firezone/firezone/assets/1877644/853e8c90-eaae-4754-aea3-c58aba7cc97c">
<img width="1728" alt="Screenshot 2023-09-26 at 19 26 10"
src="https://github.com/firezone/firezone/assets/1877644/68aa9556-db11-4512-929a-45d1e4c3b258">
<img width="1728" alt="Screenshot 2023-09-26 at 19 26 17"
src="https://github.com/firezone/firezone/assets/1877644/020e0e98-142b-4b3b-aebf-789f2ad4e3c7">
2023-09-27 11:50:39 -06:00
Jamil
9cef6edfea refactor(connlib): Use newtype pattern for all entity UUIDs from Portal (#2164)
Wraps all UUIDs in their respective entity types.

Fixes #2090
2023-09-27 15:25:32 +00:00
Jamil
3d1921da7a feat(portal): Scrollbar improvements (#2160)
Thanks to @devsnaked for the fix. Opening this to get the changes merged
more quickly.

Supersedes #2072

---------

Signed-off-by: Maximilly Moreira Gonçalves <max.ocw@gmail.com>
Co-authored-by: Maximilly Moreira <max.ocw@gmail.com>
2023-09-27 15:24:26 +00:00
Thomas Eizinger
1dc739505b refactor: simplify headless-utils (#2151)
Commit-by-commit review is recommended.

---------

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-09-26 20:54:00 +00:00
Jamil
51241d0bc6 refactor(clients): Pass log filter string to Session depending on environment (#2155)
Fixes #2147
2023-09-26 19:41:08 +00:00
Thomas Eizinger
075d03432f fix(relay): remove debug exporter (#2153)
It turns out that this one never worked. I found this in the logs:

> * error decoding 'exporters': unknown type: "debug" for id: "debug"
(valid values: [alibabacloud_logservice awscloudwatchlogs awss3
googlecloudpubsub instana loadbalancing skywalking awsemf
azuredataexplorer prometheus logging awskinesis dynatrace
googlemanagedprometheus kafka sentry otlphttp awsxray carbon cassandra
elasticsearch f5cloud googlecloud sumologic tanzuobservability
tencentcloud_logservice coralogix dataset influxdb logicmonitor loki
parquet pulsar otlp azuremonitor datadog file logzio mezmo
prometheusremotewrite signalfx splunk_hec zipkin opencensus sapm
clickhouse])

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-09-26 09:21:06 -06:00
Jamil
23444ee845 fix(apple): Add build on macOS 13 (ci); Fix Xcode version to 14 (ci); Update deps and fix _SwiftUINavigationState reference (#2148)
* Removes FirezoneKit/Package.resolved -- this file was unused
* Removes `iphonesimulator` as a build target -- this is just not
supported at all with NetworkExtensions
* Update dependencies
* Rename `_SwiftUINavigationState` to `SwiftUINavigationCore` due to
update
* Removes CONNLIB_MOCK from `build-rust.sh`
* Minor cleanup of `build-rust.sh` to simplify env vars
* Fixes the below issue when building on developer machines on Xcode 15
(GH runner Xcode 15 is buggy, leaving that pinned to 14 for now):

```
 = note: ld: warning: no platform load command found in '/private/var/folders/02/4nz6gzkx5wj81dkc4pf9jyyh0000gn/T/rustcRAtGnz/symbols.o', assuming: iOS
          ld: building for 'iOS', but linking in dylib (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libobjc.A.tbd) built for 'macOS macCatalyst zippered(macOS/Catalyst)'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
2023-09-26 12:35:38 +00:00
Jamil
dfbb4694ff fix(docs): Fix broken sales link (#2154)
Fix sales link in README
2023-09-26 04:39:31 -07:00
Jamil
cf80f031b9 refactor(connlib): Track boringtun stable (#2150)
Fixes firezone/boringtun#1
2023-09-25 17:20:44 -07:00
Andrew Dryga
58e9c42bb6 Broadcast new ICE candidates (#2149)
Closes #2118
2023-09-25 16:40:26 -06:00
Jamil
41bbf7e541 fix(portal): sidebar active item state (#2119)
Adds `active_path` to determine whether or not to highlight a sidebar
item.

~~Leaving as draft for now to allow @devsnaked to contribute. Edit: Will
use this PR as the base for @devsnaked's upcoming changes~~

Edit: fixes #2065
2023-09-25 21:29:56 +00:00