Commit Graph

4436 Commits

Author SHA1 Message Date
Jamil
e03340bd96 fix(portal): don't confirm group selections if there aren't changes (#4946)
- Fixes #4937 (not worth adding complexity to the live table for this,
so just added as a note in the bottom)
- Don't show confirmation dialog if no changes have been made

<img width="912" alt="Screenshot 2024-05-09 at 11 03 00 PM"
src="https://github.com/firezone/firezone/assets/167144/47f1a76c-5f2a-4815-b0ff-7f1e68c785bf">
2024-05-10 14:35:35 +00:00
dependabot[bot]
8b3df2d3b5 build(deps): Bump ex_cldr_numbers from 2.32.4 to 2.33.1 in /elixir (#4859)
Bumps [ex_cldr_numbers](https://github.com/elixir-cldr/cldr_numbers)
from 2.32.4 to 2.33.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/elixir-cldr/cldr_numbers/releases">ex_cldr_numbers's
releases</a>.</em></p>
<blockquote>
<h2>Cldr Numbers version 2.33.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Add <code>config/prod.exs</code> so <code>MIX_ENV=prod</code>
compilation succeeds. Thanks to <a
href="https://github.com/camelpunch"><code>@​camelpunch</code></a> for
the report. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_numbers/issues/49">#49</a>.</li>
</ul>
<h2>Cldr Numbers version 2.33.0</h2>
<h3>Enhancements</h3>
<ul>
<li>
<p>Update to <a
href="https://cldr.unicode.org/index/downloads/cldr-45">CLDR 45.0</a>
data.</p>
</li>
<li>
<p>Support currency formatting when the given currency in a given locale
uses a specific symbol that replaces the decimal separator. The only
known example is the <a
href="https://en.wikipedia.org/wiki/Cape_Verdean_escudo">Cape Verde
escudo</a>. A formatted example formatting 20 CVE is
<code>20$00</code>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/elixir-cldr/cldr_numbers/blob/main/CHANGELOG.md">ex_cldr_numbers's
changelog</a>.</em></p>
<blockquote>
<h2>Cldr Numbers v2.33.1</h2>
<p>This is the changelog for Cldr v2.33.1 released on April 23rd, 2024.
For older changelogs please consult the release tag on <a
href="https://github.com/elixir-cldr/cldr_numbers/tags">GitHub</a></p>
<h3>Bug Fixes</h3>
<ul>
<li>Add <code>config/prod.exs</code> so <code>MIX_ENV=prod</code>
compilation succeeds. Thanks to <a
href="https://github.com/camelpunch"><code>@​camelpunch</code></a> for
the report. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_numbers/issues/49">#49</a>.</li>
</ul>
<h2>Cldr Numbers v2.33.0</h2>
<p>This is the changelog for Cldr v2.33.0 released on April 21st, 2024.
For older changelogs please consult the release tag on <a
href="https://github.com/elixir-cldr/cldr_numbers/tags">GitHub</a></p>
<h3>Enhancements</h3>
<ul>
<li>
<p>Update to <a
href="https://cldr.unicode.org/index/downloads/cldr-45">CLDR 45.0</a>
data.</p>
</li>
<li>
<p>Support currency formatting when the given currency in a given locale
uses a specific symbol that replaces the decimal separator. The only
known example is the <a
href="https://en.wikipedia.org/wiki/Cape_Verdean_escudo">Cape Verde
escudo</a>. A formatted example formatting 20 CVE is
<code>20$00</code>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fd399529bb"><code>fd39952</code></a>
Add config/prod.exs. Closes <a
href="https://redirect.github.com/elixir-cldr/cldr_numbers/issues/49">#49</a></li>
<li><a
href="e515d70727"><code>e515d70</code></a>
Fix changelog</li>
<li><a
href="27bcd2d244"><code>27bcd2d</code></a>
Fix changelog and update CI versions</li>
<li><a
href="facdf51245"><code>facdf51</code></a>
Release 2.33.0</li>
<li><a
href="7fb32cddfe"><code>7fb32cd</code></a>
Add ar to test_backend</li>
<li><a
href="fbdfb7aef7"><code>fbdfb7a</code></a>
Update changelog</li>
<li><a
href="99f71ed174"><code>99f71ed</code></a>
Test green on CLDR 45</li>
<li><a
href="30791b1326"><code>30791b1</code></a>
Add no_underspecs to minimum_grouping_digits_for!/1</li>
<li><a
href="36d63ea3a0"><code>36d63ea</code></a>
Mix format</li>
<li><a
href="138291ec64"><code>138291e</code></a>
Delete version control marker</li>
<li>Additional commits viewable in <a
href="https://github.com/elixir-cldr/cldr_numbers/compare/v2.32.4...v2.33.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ex_cldr_numbers&package-manager=hex&previous-version=2.32.4&new-version=2.33.1)](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-05-10 14:09:45 +00:00
Jamil
1536b124da fix(portal): Reduce button sizes in live_table to xs (#4945)
- Updates buttons in tables to size `xs` so they are a bit easier on the
eyes and fixes #4938
- Makes "Save" button placement consistent
- Reduces count of Actors list in `Edit actors` for group page because
it pushes the `Save` button below the fold and it was confusing some
users because it wasn't obvious they needed to save the selection.
2024-05-10 06:52:42 +00:00
Jamil
65acd36ecf chore: remove filters section from may update (#4944)
This got merged inadvertently and should be removed
2024-05-09 19:36:18 -07:00
Jamil
1876850615 feat(blog): May 2024 update (#4936)
fixes #4817
2024-05-09 19:36:04 +00:00
Jamil
adbb367284 ci: Add ci and test categories to auto labeler (#4922)
Adds the uncategorized PRs to the changelog categories.
2024-05-09 11:21:30 -07:00
Jamil
c3b5768f57 ci: cache webview installer (#4935)
https://github.com/firezone/firezone/actions/runs/9008970452/job/24752210427?pr=4928
2024-05-09 17:08:59 +00:00
Reactor Scram
42bafa898c chore(ci): fix debug_exit in the flaky systemd DNS test (#4934)
If these fail we shouldn't bail out since we're already bailing out and
we need them to continue for debug output.

Refs #4921
2024-05-09 15:06:01 +00:00
Reactor Scram
65064b1907 chore(ci): add debugging for that flaky DNS test (#4926)
Refs #4921 

I'm not sure of the cause yet. This extra debugging code should narrow
it down.
2024-05-08 21:39:55 +00:00
Jamil
1be77d4e2d chore: Bump versions to link 1.0.3 packages (#4924)
Link to latest binaries

Generated with `make -f scripts/Makefile`.

Just need a rubber-stamp, changes should be GTG
2024-05-08 21:09:50 +00:00
Reactor Scram
da85408e27 refactor(gui-client): move known_dirs module into headless-client (#4908)
This should make it easier for the IPC services on both Linux and
Windows to write logs to well-known dirs that the GUI can read for
exporting zips.
2024-05-08 20:26:02 +00:00
Jamil
dff0a33e96 fix(portal): Ensure site can be changed when multi-site is false (#4915)
Fixes #4913
2024-05-08 19:04:51 +00:00
Jamil
cba0883a35 chore(website): add user count to feature cards (#4923) 2024-05-08 12:19:41 -07:00
Jamil
75ab5f35ff chore: fix blog typo (#4920)
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
2024-05-08 11:06:45 -07:00
Jamil
38e6c703b8 feat(blog): How DNS works in Firezone (#4828)
Describe how dns works in Firezone

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Co-authored-by: Brian Manifold <bmanifold@users.noreply.github.com>
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2024-05-08 17:25:19 +00:00
Jamil
7d7459ce17 docs: Mention traffic restrictions in Resource docs, pricing page (#4916)
Refs #4817
2024-05-08 16:58:36 +00:00
dependabot[bot]
7f577a4635 build(deps): Bump libc from 0.2.153 to 0.2.154 in /rust (#4894)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.153 to 0.2.154.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/libc/releases">libc's
releases</a>.</em></p>
<blockquote>
<h2>0.2.154</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix CI on v0.2 by <a
href="https://github.com/JohnTitor"><code>@​JohnTitor</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3589">rust-lang/libc#3589</a></li>
<li>[Backport <a
href="https://redirect.github.com/rust-lang/libc/issues/3547">#3547</a>]
Add ioctl FS_IOC_{G,S}{ETVERSION,ETFLAGS} for CSKY by <a
href="https://github.com/Dirreke"><code>@​Dirreke</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3572">rust-lang/libc#3572</a></li>
<li>Add Linux riscv64 HWCAP defines (libc-0.2) by <a
href="https://github.com/Xeonacid"><code>@​Xeonacid</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3580">rust-lang/libc#3580</a></li>
<li>Add missing MIPS R6 FS_IOC_* definitions by <a
href="https://github.com/chenx97"><code>@​chenx97</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3591">rust-lang/libc#3591</a></li>
<li>Support posix_spawn on Android by <a
href="https://github.com/pcc"><code>@​pcc</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3602">rust-lang/libc#3602</a></li>
<li>[0.2] Fix libc-tests for loongarch64 by <a
href="https://github.com/heiher"><code>@​heiher</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3607">rust-lang/libc#3607</a></li>
<li>visionOS Support by <a
href="https://github.com/agg23"><code>@​agg23</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3568">rust-lang/libc#3568</a></li>
<li>[0.2] linux/musl: Add support for LoongArch64 by <a
href="https://github.com/heiher"><code>@​heiher</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3606">rust-lang/libc#3606</a></li>
<li>v0.2: Fix c_char on AIX by <a
href="https://github.com/taiki-e"><code>@​taiki-e</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3662">rust-lang/libc#3662</a></li>
<li>solarish adding SO_EXCLBIND constant. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3651">rust-lang/libc#3651</a></li>
<li>[0.2] Add SIG constants to espidf by <a
href="https://github.com/Tevz-Beskovnik"><code>@​Tevz-Beskovnik</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3658">rust-lang/libc#3658</a></li>
<li>add all android sysconf constants by <a
href="https://github.com/fkm3"><code>@​fkm3</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3656">rust-lang/libc#3656</a></li>
<li>feat: more _PC_XXX constants for apple targets by <a
href="https://github.com/SteveLauC"><code>@​SteveLauC</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3649">rust-lang/libc#3649</a></li>
<li>feat: O_EXEC/O_SEARCH for apple platforms by <a
href="https://github.com/SteveLauC"><code>@​SteveLauC</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3668">rust-lang/libc#3668</a></li>
<li>[0.2] Add constant AT_MINSIGSTKSZ by <a
href="https://github.com/ur4t"><code>@​ur4t</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3637">rust-lang/libc#3637</a></li>
<li>Haiku: synchronize with post R1-beta 4 changes in libc by <a
href="https://github.com/nielx"><code>@​nielx</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3638">rust-lang/libc#3638</a></li>
<li>adding getentropy/getrandom to dragonflybsd. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3618">rust-lang/libc#3618</a></li>
<li>Move strftime, strftime_l, strptime to linux_like by <a
href="https://github.com/pcc"><code>@​pcc</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3600">rust-lang/libc#3600</a></li>
<li>update crate version to 0.2.154 by <a
href="https://github.com/Dirreke"><code>@​Dirreke</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3573">rust-lang/libc#3573</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/pcc"><code>@​pcc</code></a> made their
first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3602">rust-lang/libc#3602</a></li>
<li><a href="https://github.com/agg23"><code>@​agg23</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3568">rust-lang/libc#3568</a></li>
<li><a
href="https://github.com/Tevz-Beskovnik"><code>@​Tevz-Beskovnik</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3658">rust-lang/libc#3658</a></li>
<li><a href="https://github.com/ur4t"><code>@​ur4t</code></a> made their
first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3637">rust-lang/libc#3637</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-lang/libc/compare/0.2.153...0.2.154">https://github.com/rust-lang/libc/compare/0.2.153...0.2.154</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b78d6a3d27"><code>b78d6a3</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/libc/issues/3573">#3573</a>
from Dirreke/update-libc0.2</li>
<li><a
href="3111f6fe3f"><code>3111f6f</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/libc/issues/3600">#3600</a>
from pcc/strtime</li>
<li><a
href="4d836cceb6"><code>4d836cc</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/libc/issues/3618">#3618</a>
from devnexen/dfbsd_gtrandom</li>
<li><a
href="23a1b4c889"><code>23a1b4c</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/libc/issues/3638">#3638</a>
from nielx/haiku-hrev57593-0.2</li>
<li><a
href="f4ab3e77d3"><code>f4ab3e7</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/libc/issues/3637">#3637</a>
from ur4t/libc-0.2</li>
<li><a
href="4d6fe50954"><code>4d6fe50</code></a>
Move strftime, strftime_l, strptime to linux_like</li>
<li><a
href="e79e95f790"><code>e79e95f</code></a>
adding getentropy/getrandom to dragonflybsd.</li>
<li><a
href="82206836f7"><code>8220683</code></a>
Double quote variables in shell scripts</li>
<li><a
href="c0a693644c"><code>c0a6936</code></a>
Add constant AT_MINSIGSTKSZ introduced by glibc 2.35</li>
<li><a
href="1c7f8fcd8a"><code>1c7f8fc</code></a>
Haiku: synchronize with post R1-beta 4 changes in libc</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/libc/compare/0.2.153...0.2.154">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=libc&package-manager=cargo&previous-version=0.2.153&new-version=0.2.154)](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-05-08 16:14:24 +00:00
Gabi
d22719da0c fix(connlib): add_resource multiple times with same resource id (#4914)
Similar to #4911 if multiple times add_resource was called with the same
resource id the previous one will be overriden.

This happens when multiple subdomain resources exists this could
override the ip of a previously resolved subdomain and disallow access.

The solution is to simply keep track of every resolved subdomain.
Furthermore with the new method each subdomain could have different
expiration(nothing actually prohibit this from happening in the control
protocol and until this commit we simply discarded the latest
expiration)
2024-05-08 05:50:29 +00:00
Jamil
d1d4b5686c fix(website): Add z-40 to fix sidebar layering (#4909)
- Fixes #4906 
- Fixes minor button spacing issue on landing page and mobile
2024-05-08 03:59:02 +00:00
Gabi
645bb1743e fix(connlib): filters for resoruces with multiple ips (#4911)
Fixes a bug, wherein a resource with multiple ip, would get a single
allowed ip since each time `add_resource` was called it was replacing
the previous one.

For the fix we add all the resource ips with a single call, and then use
those multiple ips to calculate the filters.

The edge-case here is if there are 2 DNS resources with some overlapping
ips but some not overlapping: In that case, overlapping ips would get
both filters non-overlapping would only get those corresponding to its
ips.

Note that only dns resources can get multiple ips for now.
2024-05-08 02:27:59 +00:00
Gabi
c46967e1d6 fix(connlib): resource filter deserialization (#4910)
There was an error on how resource filters were deserialized in the
gateway:

* we always assumed that there would be the ports included but the
portal sends no port down when the "all" range is allowed
* also we didn't support the resource_updated message, this fixes it,
and resources allow-list can be changes in-flight
2024-05-08 00:16:06 +00:00
Gabi
0c7c96dd07 chore(connlib): pass to client new fields (#4900)
Fixes #4885
2024-05-07 21:14:29 +00:00
Jamil
8efd48ca9d chore(website): Hide banner (#4902)
Mostly annoying / redundant now that CTA is in navbar.
2024-05-07 19:56:27 +00:00
Gabi
68ece0a940 feat(connlib): traffic filtering (#4779)
This implements traffic filtering on the gateway. Filters are set on the
portal, per-resource, in an allow-list manner.

If no filters exist for a given resource all packets are allowed,
otherwise only packets that matches port/protocol for the filters are
allowed, otherwise they are dropped.

Filters can be either TCP, UDP or ICMP. For the first 2 multiple ports
can be given. Furthermore, multiple filters can exists for the same
resource.

To be able to add and remove filters with the same IP/CIDR we keep
around the whole list of filters for any given peer using an ID map and
recalculate the IP each time something is added is removed.

This allows us to remove filters and simply recalculate the allowlist
for each IP.

Furthermore, for any IP, all rules apply, meaning if there are multiple
IPs that apply for a resource all port/protocol combinations for that IP
will apply.

This works well right now for DNS resources, since access is requested
by DNS name, then the resource for that DNS name will arrive at the
gateway, and the port filtering will apply given that resource(and any
other resource with the same IP).

However, since the client has no idea of the filters, it can't request
the resource access based on the port/protocol combination and we are
still using the most specific("longest match") IP. This will mean that
for overlapping CIDR resources, only the rules for the most specific
will be used, even if the gateway supports applying them all, since it
will not have the other resources. This will be solved in #4789.

It can also lead to some weirdness, let's say that you have 10.0.0.0/24
-> TCP/80 and 10.0.0.0/16 -> TCP/443 for your user.

The user tries to access 10.0.0.1, and will then only be allowed port
80. At some point the user might access 10.1.0.1 and it will be allowed
port 443. But from that point on, the user will be allowed to access 80
and 443 in 10.0.0.1 because the rules correctly work on the gateway, the
problem is the client side. Again, #4789 will fix this.

Left for next PRs (in tentative order!):

- #4792 
- #4789 

Depends on: #4773.
Resolves #2030.
Resolves #4791.

---------

Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2024-05-07 19:47:49 +00:00
Jamil
4a6ff03626 refactor(portal): Remove Permit all and grey out form when traffic filters disabled (#4887)
- Simplify traffic filters: empty means permit all
- Grey out form instead of hiding when traffic filters disabled, fixes
#4816
- Fix port range population when no ports have been entered
- Update tests
- Add migration to migrate existing prod data
- Add "UPGRADE TO UNLOCK" badge
- Add `inline_errors` attr to show inline error messages
- Remove traffic filters feature flag to allow enable/disable by billing
instead

<img width="757" alt="Screenshot 2024-05-03 at 12 43 24 PM"
src="https://github.com/firezone/firezone/assets/167144/9e9277cb-4653-427c-ade3-4e3b9d479411">

<img width="194" alt="Screenshot 2024-05-03 at 2 03 06 PM"
src="https://github.com/firezone/firezone/assets/167144/06e03314-9010-48a0-8504-0ab49173f0a9">

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Andrew Dryga <andrew@dryga.com>
2024-05-07 16:27:00 +00:00
Reactor Scram
7870dcab25 ci(gui-client/linux): publish deb package in the release (#4876)
```[tasklist]
### Before merging
- [x] (FAILED) Test CI deb on Ubuntu 24.04 #4883
- [x] Wait for everything else to merge: #3884
- [x] Fix #4889
- [x] Fix #4890
- [x] Test on Ubuntu 20.04 (683bddc0b passed)
- [x] Test on Ubuntu 22.04 (683bddc0b passed)
- [x] diff between main and 683bddc0b to make sure nothing in the code changed
- [ ] Someone other than me should give it a once-over. `intended_behavior.md` has the manual smoke test I've been doing on it. Install script is <a943a9dba1/scripts/firezone-client-gui-install.sh> Deb package from CI is <https://github.com/firezone/firezone/actions/runs/8972824465/artifacts/1477261361> 
```
2024-05-07 14:11:24 +00:00
Gabi
94000bf5df chore(docker): local dev docker-compose (#4748)
simple name change fix
2024-05-06 23:43:00 +00:00
dependabot[bot]
1c7409be52 build(deps): Bump reqwest from 0.12.2 to 0.12.4 in /rust (#4895)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.2 to
0.12.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/releases">reqwest's
releases</a>.</em></p>
<blockquote>
<h2>v0.12.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>zstd</code> support, enabled with <code>zstd</code> Cargo
feature (thanks <a
href="https://github.com/paolobarbolini"><code>@​paolobarbolini</code></a>!)</li>
<li>Add <code>ClientBuilder::read_timeout(Duration)</code>, which
applies the duration for each read operation. The timeout resets after a
successful read.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/SamuelMarks"><code>@​SamuelMarks</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2245">seanmonstar/reqwest#2245</a></li>
</ul>
<h2>v0.12.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>FromStr</code> for <code>dns::Name</code>.</li>
<li>Add <code>ClientBuilder::built_in_webpki_certs(bool)</code> to
enable them separately.</li>
<li>Add <code>ClientBuilder::built_in_native_certs(bool)</code> to
enable them separately.</li>
<li>Fix sending <code>content-length: 0</code> for GET requests.</li>
<li>Fix response body <code>content_length()</code> to return value when
timeout is configured.</li>
<li>Fix <code>ClientBuilder::resolve()</code> to use lowercase domain
names.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/zuisong"><code>@​zuisong</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2207">seanmonstar/reqwest#2207</a></li>
<li><a href="https://github.com/djc"><code>@​djc</code></a> made their
first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2222">seanmonstar/reqwest#2222</a></li>
<li><a href="https://github.com/krant"><code>@​krant</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2226">seanmonstar/reqwest#2226</a></li>
<li><a
href="https://github.com/Kriskras99"><code>@​Kriskras99</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/2236">seanmonstar/reqwest#2236</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/seanmonstar/reqwest/compare/v0.12.2...v0.12.3">https://github.com/seanmonstar/reqwest/compare/v0.12.2...v0.12.3</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md">reqwest's
changelog</a>.</em></p>
<blockquote>
<h2>v0.12.4</h2>
<ul>
<li>Add <code>zstd</code> support, enabled with <code>zstd</code> Cargo
feature.</li>
<li>Add <code>ClientBuilder::read_timeout(Duration)</code>, which
applies the duration for each read operation. The timeout resets after a
successful read.</li>
</ul>
<h2>v0.12.3</h2>
<ul>
<li>Add <code>FromStr</code> for <code>dns::Name</code>.</li>
<li>Add <code>ClientBuilder::built_in_webpki_certs(bool)</code> to
enable them separately.</li>
<li>Add <code>ClientBuilder::built_in_native_certs(bool)</code> to
enable them separately.</li>
<li>Fix sending <code>content-length: 0</code> for GET requests.</li>
<li>Fix response body <code>content_length()</code> to return value when
timeout is configured.</li>
<li>Fix <code>ClientBuilder::resolve()</code> to use lowercase domain
names.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="de5dbb1ab8"><code>de5dbb1</code></a>
v0.12.4</li>
<li><a
href="0f126f57ab"><code>0f126f5</code></a>
tests: fix blocking test about empty bodies and content-length</li>
<li><a
href="107388134b"><code>1073881</code></a>
feat: add zstd support (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1866">#1866</a>)</li>
<li><a
href="1af8945143"><code>1af8945</code></a>
feat: add ClientBuilder::read_timeout(dur) (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2241">#2241</a>)</li>
<li><a
href="e99da854a1"><code>e99da85</code></a>
refactor: fix warnings related to mutability of <code>self</code> (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2245">#2245</a>)</li>
<li><a
href="0720159f63"><code>0720159</code></a>
v0.12.3</li>
<li><a
href="92096952b7"><code>9209695</code></a>
Remove duplicate example for ClientBuilder::default_headers (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2236">#2236</a>)</li>
<li><a
href="e3a15650d6"><code>e3a1565</code></a>
fix: use lower case domain string when using <code>resolve</code> and
<code>resolve_to_addrs</code>...</li>
<li><a
href="b4c491a6ff"><code>b4c491a</code></a>
feat: allow fine-grained root certs for rustls (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2232">#2232</a>)</li>
<li><a
href="cf4295d59d"><code>cf4295d</code></a>
chore: update winreg to 0.52.0 (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/2226">#2226</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/seanmonstar/reqwest/compare/v0.12.2...v0.12.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=reqwest&package-manager=cargo&previous-version=0.12.2&new-version=0.12.4)](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>
Co-authored-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-05-06 20:49:07 +00:00
Reactor Scram
8b9df9a6f0 ci(windows): fix unused deps static analysis (#4898)
Fixes these type of errors:
https://github.com/firezone/firezone/actions/runs/8973627864/job/24644251114

Using `--no-self-update` as recommended here:
https://github.com/rust-lang/rustup/issues/2415#issuecomment-658752121

Probably was a regression introduced by a version bump in the Github
runner's Rustup or something
2024-05-06 20:14:30 +00:00
Jamil
844fe69173 docs: Fix typos, add section to client architecture (#4897) 2024-05-06 17:52:24 +00:00
Reactor Scram
99b684b620 chore(gui-client/linux): fix single-instance (#4890)
Closes #4888

It turns out clicking on a notification in Ubuntu can cause it to call
the application, so I had to add back single-instance protection.

Windows' named pipes do this easily. For Unix domain sockets, we allow
the 2nd instance to connect to us, and then when the connection
succeeds, the 2nd instance bails out and the 1st instance bails out of
the deep link handler because it sees a 0-byte-long deep link.

So clicking on the notification does result in a 2nd instance warning
dialog, but it's better than before. I guess it makes sense why Ubuntu
does that, in case any app wants to raise their window when clicked, but
I wish they passed a well-known subcommand or something. Or just used a
normal click action.

<img width="609" alt="image"
src="https://github.com/firezone/firezone/assets/13400041/37467f57-22b0-4a38-9e74-e4863fd331b1">

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-05-06 16:31:33 +00:00
Reactor Scram
cdebfa6901 chore(gui-client/linux): fix group name, firezone should be firezone-client (#4889)
Also improved the manual testing checklist a little
2024-05-06 14:09:30 +00:00
dependabot[bot]
785b829c7a build(deps): Bump socket2 from 0.5.6 to 0.5.7 in /rust (#4863)
Bumps [socket2](https://github.com/rust-lang/socket2) from 0.5.6 to
0.5.7.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md">socket2's
changelog</a>.</em></p>
<blockquote>
<h1>0.5.7</h1>
<ul>
<li>Added <code>Socket::(set_)passcred</code>
(<a
href="https://redirect.github.com/rust-lang/socket2/pull/506">rust-lang/socket2#506</a>).</li>
<li>Added <code>RecvFlags::is_confirm</code> and
<code>RecvFlags::is_dontroute</code>
(<a
href="https://redirect.github.com/rust-lang/socket2/pull/499">rust-lang/socket2#499</a>).</li>
<li>Added <code>MsgHdrMut::control_len</code>
(<a
href="https://redirect.github.com/rust-lang/socket2/pull/505">rust-lang/socket2#505</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c8146aa5bb"><code>c8146aa</code></a>
Release v0.5.7</li>
<li><a
href="8685db561c"><code>8685db5</code></a>
Use consistent language in change log</li>
<li><a
href="6923954ce0"><code>6923954</code></a>
Add test for Socket::passcred/set_passcred and fix formatting.</li>
<li><a
href="630c8a7370"><code>630c8a7</code></a>
Add Socket::passcred/set_passcred for working with SO_PASSCRED.</li>
<li><a
href="21ba6609ef"><code>21ba660</code></a>
Add MsgHdrMut::control_len to get how much of control buffer was
filled.</li>
<li><a
href="c93cdcc25f"><code>c93cdcc</code></a>
Add MSG_CONFIRM and MSG_DONTROUTE to RecvFlags</li>
<li>See full diff in <a
href="https://github.com/rust-lang/socket2/compare/v0.5.6...v0.5.7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=socket2&package-manager=cargo&previous-version=0.5.6&new-version=0.5.7)](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-05-05 14:08:29 +00:00
Jamil
989596cd35 ci: Disable android UI tests due to timeouts / flakiness (#4891)
See
https://github.com/firezone/firezone/pull/4178#issuecomment-2094815889
2024-05-05 07:17:35 -07:00
Jason Elie Bou Kheir
8f977593a4 fix(Android): add alert dialog for errors in auth flow (#4835)
fixes #4723
2024-05-05 14:01:21 +00:00
dependabot[bot]
61a2d3b78a build(deps): Bump hashicorp/tfc-workflows-github from 1.2.0 to 1.3.0 (#4841)
Bumps
[hashicorp/tfc-workflows-github](https://github.com/hashicorp/tfc-workflows-github)
from 1.2.0 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hashicorp/tfc-workflows-github/releases">hashicorp/tfc-workflows-github's
releases</a>.</em></p>
<blockquote>
<h2>v1.3.0</h2>
<ul>
<li>Adds support for <code>target</code> input for
<code>create-run</code> action by <a
href="https://github.com/trutled3"><code>@​trutled3</code></a> <a
href="https://redirect.github.com/hashicorp/tfc-workflows-tooling/pull/97">#97</a></li>
<li>Bug fixes and enhancements from <a
href="https://github.com/hashicorp/tfc-workflows-tooling/releases/tag/v1.3.0">tfc-workflows-tooling@v1.3.0</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hashicorp/tfc-workflows-github/blob/main/CHANGELOG.md">hashicorp/tfc-workflows-github's
changelog</a>.</em></p>
<blockquote>
<h1>v1.3.0</h1>
<ul>
<li>Adds support for <code>target</code> input for
<code>create-run</code> action by <a
href="https://github.com/trutled3"><code>@​trutled3</code></a> <a
href="https://redirect.github.com/hashicorp/tfc-workflows-tooling/pull/97">#97</a></li>
<li>Bug fixes and enhancements from <a
href="https://github.com/hashicorp/tfc-workflows-tooling/releases/tag/v1.3.0">tfc-workflows-tooling@v1.3.0</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="34866d21f6"><code>34866d2</code></a>
Prepare v1.3.0 release (<a
href="https://redirect.github.com/hashicorp/tfc-workflows-github/issues/43">#43</a>)</li>
<li>See full diff in <a
href="https://github.com/hashicorp/tfc-workflows-github/compare/v1.2.0...v1.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hashicorp/tfc-workflows-github&package-manager=github_actions&previous-version=1.2.0&new-version=1.3.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-05-05 13:58:16 +00:00
dependabot[bot]
740aebc831 build(deps): Bump anyhow from 1.0.81 to 1.0.82 in /rust (#4810)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.81 to 1.0.82.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/anyhow/releases">anyhow's
releases</a>.</em></p>
<blockquote>
<h2>1.0.82</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="074bdea1c7"><code>074bdea</code></a>
Release 1.0.82</li>
<li><a
href="47a4fbfa36"><code>47a4fbf</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/360">#360</a>
from dtolnay/docensure</li>
<li><a
href="c5af1db020"><code>c5af1db</code></a>
Make ensure's doc comment apply to the cfg(not(doc)) macro too</li>
<li><a
href="bebc7a2fe4"><code>bebc7a2</code></a>
Revert &quot;Temporarily disable miri on doctests&quot;</li>
<li><a
href="f2c4db9b47"><code>f2c4db9</code></a>
Update ui test suite to nightly-2024-03-31</li>
<li><a
href="028cbeedf5"><code>028cbee</code></a>
Explicitly install a Rust toolchain for cargo-outdated job</li>
<li><a
href="7a4cac5192"><code>7a4cac5</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/358">#358</a>
from dtolnay/workspacewrapper</li>
<li><a
href="939db012c2"><code>939db01</code></a>
Apply RUSTC_WORKSPACE_WRAPPER</li>
<li><a
href="9f84a37551"><code>9f84a37</code></a>
Temporarily disable miri on doctests</li>
<li><a
href="45e5a589e9"><code>45e5a58</code></a>
Ignore dead code lint in test</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.81&new-version=1.0.82)](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>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2024-05-03 23:35:02 +00:00
Gabi
b45a302749 chore(connlib): remove unused parking_lot (#4886)
Supersedes #4812
2024-05-03 20:58:56 +00:00
Jamil
c0e65e4993 test(android): Only run tests for x86_64 android (#4870)
Prevents compiling for all targets only to run tests on `x86`.

---------

Signed-off-by: Jason Elie Bou Kheir <5115126+jasonboukheir@users.noreply.github.com>
Co-authored-by: Jason Elie Bou Kheir <5115126+jasonboukheir@users.noreply.github.com>
2024-05-03 20:48:54 +00:00
Reactor Scram
2f235ebd42 chore(gui-client/linux): export all logs, not just app logs (#4830)
17ac1ebe79 looks good on both Linux and Windows

```[tasklist]
### Before merging
- [x] Allow GUI to delete IPC service logs
- [x] Test Linux
- [x] Test Windows
```
2024-05-03 19:13:45 +00:00
Reactor Scram
e8b1736cb0 chore(gui-client/linux): show an error if the user doesn't belong to the firezone group (#4822)
Ran into this during testing. For some reason Ubuntu 20.04, maybe
others, requires a reboot to add the desktop user to a group. I thought
logging out and back in should be enough but it's not.

<img width="527" alt="image"
src="https://github.com/firezone/firezone/assets/13400041/4f7c2551-c7aa-4ecc-be55-66c6e6ac32a0">

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-05-03 14:04:21 +00:00
Reactor Scram
93f7c86f55 chore(gui-client/linux): add smoke test checklist (#4882)
This is what I've been doing on the testing VMs to exercise the
first-run behavior.

---------

Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-05-02 19:33:14 +00:00
Reactor Scram
782e140db9 chore(gui-client/linux): fix deep links on Ubuntu 22.04 (#4881)
Closes #4880
2024-05-02 18:31:15 +00:00
Jamil
bdbc17bb45 docs: Remove too large overview gif (#4878)
This is too large and wasn't being displayed.
2024-05-02 17:58:06 +00:00
Reactor Scram
35a802d6d9 chore(gui-client/linux): add install script and change group to firezone-client (#4879)
Closes #4873
2024-05-02 17:51:28 +00:00
Jamil
9606dde1d8 docs: Update README with more 1.x details, add overview screencap (#4877)
https://firezonehq.slack.com/archives/C04HRQTFY0Z/p1714602181648409
2024-05-02 03:11:23 +00:00
Andrew Dryga
1f5affd423 Increase initial health check delay for gateway deployments 2024-05-01 20:51:40 -06:00
Andrew Dryga
6f3ac132ae Disable log colors when gateway is logging to systemd 2024-05-01 20:33:37 -06:00
Andrew Dryga
a13ce8e4e5 Stop using process substitution in gateway cloud init file 2024-05-01 20:29:49 -06:00
Andrew Dryga
7695567213 Fix provider usage example 2024-05-01 20:29:49 -06:00