Commit Graph

2726 Commits

Author SHA1 Message Date
Thomas Eizinger
dbf0e445b0 refactor(connlib): split device handler for clients & gateway (#2301) 2023-10-11 23:02:31 +00:00
Pratik Velani
1c03cfc80f fix(android): Fixed auth redirect and clear accountId issue (#2303)
- Updated the chrome tab launch flow to fix unexpected behaviour when
closing the browser.
- Updated the signout functionality to not delete `accountId`.

Fixes #2184 
Fixes #2185
2023-10-11 15:27:38 -07:00
Andrew Dryga
0aab4077f8 Fix auth flow state, bump COS to 109, enable fluentbit logging, auto-remove docker registry artifacts (#2315) 2023-10-11 16:19:47 -06:00
bmanifold
8dc869909a Update web signup page and add tests (#2305)
Why:

* The signup page was failing to allow signups due to a change in one of
the domain functions. This happened due to the UI not having tests for
the sign up page. The sign up page has been updated to use the new
domain function signature and has also had some tests added to hopefully
prevent regressions.

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-11 15:16:35 -07:00
Jamil
703c1432da Remove macos-11 from Rust tests (#2316)
An updated Ring patch version is now causing it to fail to compile:


https://github.com/firezone/firezone/actions/runs/6488036555/job/17619659201
2023-10-11 16:02:43 -06:00
Jamil
d1159aad07 Add rust cache per matrix (#2314) 2023-10-11 12:45:28 -07:00
Jamil
48b66ad8e5 Matrix rust static analysis job (#2298)
Addresses
https://github.com/firezone/firezone/pull/2293#discussion_r1353461468
2023-10-11 10:17:53 -06:00
Roopesh Chander
a9a8883ed5 apple: Link macOS tunnel extension with SystemConfiguration.framework (#2302)
Since commit d0302f6, the macOS tunnel extension didn't build for me
(erring commit was found using `git bisect`). It looks like that version
bump commit added a dependency to
[system-configuration](https://docs.rs/system-configuration/) that
requires linking with the SystemConfiguration macOS framework.

Not sure why the CI builds fine, but my local setup doesn't. Maybe the
issue crops up only on Apple Silicon?
2023-10-11 06:04:58 -07:00
Thomas Eizinger
82c2bf3574 refactor(connlib): use events to handle ICE candidates (#2279) 2023-10-10 22:26:42 +00:00
Jamil
0d411f60aa Build, sign, and publish Apple apps for TestFlight distribution (#2285)
- Update `CODE_SIGN_STYLE=Manual`. You'll need to make sure to click
`Download manual profiles` in `Settings -> Account` in Xcode to have
them show up and be usable for local development. This is required to do
all this stuff from GitHub Actions.
- Sign the Apple app for distribution on each PR
- Publish the Apple app builds to App Store Connect on merges to `main`
2023-10-10 20:51:24 +00:00
Thomas Eizinger
dbb1dd4a3a deps(rust): bump to Rust version 1.73 (#2291)
See https://releases.rs/docs/1.73.0/ for details.
2023-10-10 13:03:06 -07:00
Jamil
00e77062b1 Return fd onRemoveRoute as well (#2296)
Implements the function signatures for `onRemoveRoute` as well.

Getting this error still though:

<img width="1633" alt="Screenshot 2023-10-10 at 8 25 17 AM"
src="https://github.com/firezone/firezone/assets/167144/3dc09f1b-10e1-401b-a1ef-64f1a09e35d5">

Android simulator, Pixel, API 34
2023-10-10 11:26:53 -07:00
Jamil
f53a40c653 Version sanity check (#2294) 2023-10-10 16:13:09 +00:00
Jamil
dbb4a4c5a0 Parallelize Rust static analysis and unit test jobs (#2293) 2023-10-10 09:04:04 -07:00
Jamil
f4859c050b Move workflow concurrency config to ci.yml (#2295)
Will save us some minutes
2023-10-10 08:43:52 -07:00
Jamil
81d2ad36af Try 4c runner for build-images to see speed difference (#2292)
It's not too expensive, but I want to see if it's worth the 4x cost over
the 4c runner:

<img width="869" alt="Screenshot 2023-10-09 at 8 02 25 PM"
src="https://github.com/firezone/firezone/assets/167144/bcd539de-77fb-4eda-ab2c-c97b66e0e792">
2023-10-09 23:13:53 -07:00
Jamil
44d14823e5 Use cached compiled deps for Elixir (#2272)
- Remove unused deps from lockfile with `mix deps.clean --unused
--unlock`
- Conditionally run `mix deps.compile` since it takes around a minute even cached
(~20s on my M1) 
- Add `mix deps.unlock --check-unused` to check for unused deps


### With `mix deps.compile`

<img width="1059" alt="Screenshot 2023-10-07 at 12 46 14 PM"
src="https://github.com/firezone/firezone/assets/167144/7a075d20-4fce-4545-b4a1-b8d57f5af06a">


```
mix deps.compile --skip-umbrella-children  2.98s user 1.83s system 27% cpu 17.252 total
```

### Without `mix deps.compile`

<img width="1046" alt="Screenshot 2023-10-07 at 3 09 23 PM"
src="https://github.com/firezone/firezone/assets/167144/060eb9d1-0e4c-42cc-9379-985a86ce383e">

---------

Co-authored-by: Andrew Dryga <andrew@dryga.com>
2023-10-10 04:17:24 +00:00
dependabot[bot]
e8c8aa53e5 build(deps): Bump codespell from 2.2.5 to 2.2.6 (#2284)
Bumps [codespell](https://github.com/codespell-project/codespell) from
2.2.5 to 2.2.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/codespell-project/codespell/releases">codespell's
releases</a>.</em></p>
<blockquote>
<h2>v2.2.6</h2>
<h2>What's Changed</h2>
<ul>
<li>Test to check our string escape word triggers on its own by <a
href="https://github.com/peternewman"><code>@​peternewman</code></a> in
<a
href="https://redirect.github.com/codespell-project/codespell/pull/2879">codespell-project/codespell#2879</a></li>
<li>feat(dictionary): add additiional additional entry by <a
href="https://github.com/IndexSeek"><code>@​IndexSeek</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2882">codespell-project/codespell#2882</a></li>
<li>Add <code>currebtly</code> Misspelling by <a
href="https://github.com/korverdev"><code>@​korverdev</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2881">codespell-project/codespell#2881</a></li>
<li>Add more typos for &quot;approximate&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2884">codespell-project/codespell#2884</a></li>
<li>Add new typos for &quot;load&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2885">codespell-project/codespell#2885</a></li>
<li>Add typos for &quot;accommodate&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2886">codespell-project/codespell#2886</a></li>
<li>Add spelling correction for 'prodive' by <a
href="https://github.com/adrien-berchet"><code>@​adrien-berchet</code></a>
in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2889">codespell-project/codespell#2889</a></li>
<li>Add <code>annhilate</code> Mispelling by <a
href="https://github.com/korverdev"><code>@​korverdev</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2891">codespell-project/codespell#2891</a></li>
<li>Add alternative spelling corrections for &quot;merget&quot; by <a
href="https://github.com/cfi-gb"><code>@​cfi-gb</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2890">codespell-project/codespell#2890</a></li>
<li>Add various typos by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2887">codespell-project/codespell#2887</a></li>
<li>Add suffixes to existing typos by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2895">codespell-project/codespell#2895</a></li>
<li>Add <code>twine</code> As Dev Dependency by <a
href="https://github.com/korverdev"><code>@​korverdev</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2901">codespell-project/codespell#2901</a></li>
<li>frustrum-&gt;frustum by <a
href="https://github.com/tkoyama010"><code>@​tkoyama010</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2899">codespell-project/codespell#2899</a></li>
<li>Add several spelling corrections by <a
href="https://github.com/luzpaz"><code>@​luzpaz</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2900">codespell-project/codespell#2900</a></li>
<li>Add suffixes to existing typos, part 2 by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2902">codespell-project/codespell#2902</a></li>
<li>Add iamges-&gt;images and cannel variants by <a
href="https://github.com/peternewman"><code>@​peternewman</code></a> in
<a
href="https://redirect.github.com/codespell-project/codespell/pull/2893">codespell-project/codespell#2893</a></li>
<li>Add all corrections in <a
href="https://redirect.github.com/codespell-project/codespell/issues/2857">#2857</a>
by <a href="https://github.com/janosh"><code>@​janosh</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2898">codespell-project/codespell#2898</a></li>
<li>Add suffixes to typos that start with &quot;a&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2905">codespell-project/codespell#2905</a></li>
<li>Add suffixes to typos from &quot;b&quot; to &quot;ch&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2906">codespell-project/codespell#2906</a></li>
<li>Add suffixes to typos from &quot;cop&quot; to &quot;cy&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2911">codespell-project/codespell#2911</a></li>
<li>Add spelling corrections for upperace and lowerace. by <a
href="https://github.com/cfi-gb"><code>@​cfi-gb</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2909">codespell-project/codespell#2909</a></li>
<li>Add suffixes to typos from &quot;ci&quot; to &quot;con&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2907">codespell-project/codespell#2907</a></li>
<li>Add variations of 'check' by <a
href="https://github.com/luzpaz"><code>@​luzpaz</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2904">codespell-project/codespell#2904</a></li>
<li>Add suffixes to typos that start with &quot;de&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2913">codespell-project/codespell#2913</a></li>
<li>Add suffixes to typos from &quot;di&quot; to &quot;dy&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2914">codespell-project/codespell#2914</a></li>
<li>Add suffixes to typos that start with &quot;e&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2915">codespell-project/codespell#2915</a></li>
<li>Add some spelling corrections by <a
href="https://github.com/fxlb"><code>@​fxlb</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2918">codespell-project/codespell#2918</a></li>
<li>Add suffixes to typos that start with &quot;f&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2916">codespell-project/codespell#2916</a></li>
<li>Add typos for &quot;general&quot;, &quot;generate&quot;,
&quot;generic&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2919">codespell-project/codespell#2919</a></li>
<li>Move <code>dateset</code> to code by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2917">codespell-project/codespell#2917</a></li>
<li>Add correction for &quot;distict&quot; by <a
href="https://github.com/jdufresne"><code>@​jdufresne</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2910">codespell-project/codespell#2910</a></li>
<li>Add several spelling corrections by <a
href="https://github.com/luzpaz"><code>@​luzpaz</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2908">codespell-project/codespell#2908</a></li>
<li>Add new suggestions for existing typos by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2921">codespell-project/codespell#2921</a></li>
<li>Add suffixes to typos that start with &quot;g&quot; or &quot;h&quot;
by <a href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2922">codespell-project/codespell#2922</a></li>
<li>Dev Container by <a
href="https://github.com/korverdev"><code>@​korverdev</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2903">codespell-project/codespell#2903</a></li>
<li>Add postifx-&gt;postfix to code dictionary by <a
href="https://github.com/luzpaz"><code>@​luzpaz</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2927">codespell-project/codespell#2927</a></li>
<li>Add openes-&gt;opens, openness, to dictionary by <a
href="https://github.com/luzpaz"><code>@​luzpaz</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2930">codespell-project/codespell#2930</a></li>
<li>Add suffixes to typos from &quot;ib&quot; to &quot;im&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2924">codespell-project/codespell#2924</a></li>
<li>Add indepentend-&gt;independent by <a
href="https://github.com/alxgu"><code>@​alxgu</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2892">codespell-project/codespell#2892</a></li>
<li>Add several spelling corrections by <a
href="https://github.com/luzpaz"><code>@​luzpaz</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2926">codespell-project/codespell#2926</a></li>
<li>feat: Add collogue-&gt;colleague to dictionary by <a
href="https://github.com/matthewfeickert"><code>@​matthewfeickert</code></a>
in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2923">codespell-project/codespell#2923</a></li>
<li>Typos from OpenSSL 3.0 by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2883">codespell-project/codespell#2883</a></li>
<li>Add suffixes to typos from &quot;ip&quot; to &quot;k&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2931">codespell-project/codespell#2931</a></li>
<li>Add suffixes to typos that start with &quot;in&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2925">codespell-project/codespell#2925</a></li>
<li>Add typos discovered in django/deps repository by <a
href="https://github.com/jdufresne"><code>@​jdufresne</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2932">codespell-project/codespell#2932</a></li>
<li>Add some archaic terms for Muslim to dictionary by <a
href="https://github.com/skangas"><code>@​skangas</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2610">codespell-project/codespell#2610</a></li>
<li>Add words from misspell's dictionary (A-1) by <a
href="https://github.com/skangas"><code>@​skangas</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2748">codespell-project/codespell#2748</a></li>
<li>Add suffixes to typos that start with &quot;l&quot; by <a
href="https://github.com/int-y1"><code>@​int-y1</code></a> in <a
href="https://redirect.github.com/codespell-project/codespell/pull/2936">codespell-project/codespell#2936</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6e41aba91f"><code>6e41aba</code></a>
Use f-strings wherever possible (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3102">#3102</a>)</li>
<li><a
href="9898841e68"><code>9898841</code></a>
More typos (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3101">#3101</a>)</li>
<li><a
href="50a6dba6ad"><code>50a6dba</code></a>
fixing setuptool_scm dependency because the latest version is broken (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3100">#3100</a>)</li>
<li><a
href="41de2a39b8"><code>41de2a3</code></a>
many new typos from different repositories (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3021">#3021</a>)</li>
<li><a
href="b04780ee8b"><code>b04780e</code></a>
Add suffixes to typos from &quot;v&quot; to &quot;z&quot; (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3096">#3096</a>)</li>
<li><a
href="83970f1d49"><code>83970f1</code></a>
Add suffixes to typos that start with &quot;u&quot; (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3095">#3095</a>)</li>
<li><a
href="7a3e8c4d24"><code>7a3e8c4</code></a>
Add suffixes to typos from &quot;ti&quot; to &quot;ty&quot; (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3094">#3094</a>)</li>
<li><a
href="2c6b2958f8"><code>2c6b295</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="c4207d61d5"><code>c4207d6</code></a>
Add suffixes to typos from &quot;ta&quot; to &quot;th&quot; (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3092">#3092</a>)</li>
<li><a
href="98080c1077"><code>98080c1</code></a>
Add suffixes to typos from &quot;su&quot; to &quot;sy&quot; (<a
href="https://redirect.github.com/codespell-project/codespell/issues/3090">#3090</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/codespell-project/codespell/compare/v2.2.5...v2.2.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=codespell&package-manager=pip&previous-version=2.2.5&new-version=2.2.6)](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: Jamil <jamilbk@users.noreply.github.com>
2023-10-09 19:40:11 -07:00
Jamil
b8dd4ce0b6 Fix typo and formatting in gateway/src/main.rs (#2290) 2023-10-09 18:50:23 -07:00
Jamil
d0d1c095c3 Fix spelling typos (#2289)
Fixes failing checks in #2284
2023-10-09 18:32:24 -07:00
Thomas Eizinger
ddb99ee561 fix(gateway): don't drop tunnel state between reconnects (#2278)
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 23:35:33 +00:00
dependabot[bot]
2398e0ffa2 build(deps): Bump ring from 0.17.0 to 0.17.2 in /rust (#2283)
Bumps [ring](https://github.com/briansmith/ring) from 0.17.0 to 0.17.2.
<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.17.0&new-version=0.17.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>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:03:36 -03:00
dependabot[bot]
23b9dd5e82 build(deps): Bump libc from 0.2.148 to 0.2.149 in /rust (#2282)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.148 to 0.2.149.
<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.149</h2>
<h2>What's Changed</h2>
<ul>
<li>libc 0.2.148 by <a
href="https://github.com/joshtriplett"><code>@​joshtriplett</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3351">rust-lang/libc#3351</a></li>
<li>update libc-test and its libc dependency to 0.2.148 by <a
href="https://github.com/chenx97"><code>@​chenx97</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3314">rust-lang/libc#3314</a></li>
<li>Disable 1.13 CI by <a
href="https://github.com/JohnTitor"><code>@​JohnTitor</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3358">rust-lang/libc#3358</a></li>
<li>Add teeos libc by <a
href="https://github.com/Sword-Destiny"><code>@​Sword-Destiny</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3333">rust-lang/libc#3333</a></li>
<li>Added SIOCSIFNAME by <a
href="https://github.com/Brijeshkrishna"><code>@​Brijeshkrishna</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3354">rust-lang/libc#3354</a></li>
<li>copyfile apple api update by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3346">rust-lang/libc#3346</a></li>
<li>Hermit updates by <a
href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3348">rust-lang/libc#3348</a></li>
<li>Add the LoongArch64 HWCAP values by <a
href="https://github.com/heiher"><code>@​heiher</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3344">rust-lang/libc#3344</a></li>
<li>Add F_PUNCHHOLE and fpunchhole_t by <a
href="https://github.com/anacrolix"><code>@​anacrolix</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3337">rust-lang/libc#3337</a></li>
<li>Fix compatibility with Emscripten &gt;= 3.1.44 by <a
href="https://github.com/kleisauke"><code>@​kleisauke</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3308">rust-lang/libc#3308</a></li>
<li>freebsd adding few mmap constants related to page alignment by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3326">rust-lang/libc#3326</a></li>
<li>Redox pthreads by <a
href="https://github.com/4lDO2"><code>@​4lDO2</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3347">rust-lang/libc#3347</a></li>
<li>linux MADV_COLLAPSE addition by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3340">rust-lang/libc#3340</a></li>
<li>android adding few more pthread api calls. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3288">rust-lang/libc#3288</a></li>
<li>Declare <code>pthread_attr_setguardsize</code> and
<code>pthread_attr_getstacksize</code>. by <a
href="https://github.com/sunfishcode"><code>@​sunfishcode</code></a> in
<a
href="https://redirect.github.com/rust-lang/libc/pull/3330">rust-lang/libc#3330</a></li>
<li>Add missing PS Vita definitions, fix some unused ones by <a
href="https://github.com/pheki"><code>@​pheki</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3284">rust-lang/libc#3284</a></li>
<li>Drop <code>armv7-apple-ios</code> target support by <a
href="https://github.com/JohnTitor"><code>@​JohnTitor</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3362">rust-lang/libc#3362</a></li>
<li>backtrace definitions and support for getmntinfo and getvfsstat by
<a href="https://github.com/0323pin"><code>@​0323pin</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3368">rust-lang/libc#3368</a></li>
<li>apple fcntl update. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3365">rust-lang/libc#3365</a></li>
<li>Added socketpair and pipe2 for Vita target by <a
href="https://github.com/nikarh"><code>@​nikarh</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3366">rust-lang/libc#3366</a></li>
<li>Added additional Ethernet Protocol Ids for fuchsia by <a
href="https://github.com/w1redch4d"><code>@​w1redch4d</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3332">rust-lang/libc#3332</a></li>
<li>timerfd api for freebsd 14. by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3341">rust-lang/libc#3341</a></li>
<li>haiku adding pthread GNU part by <a
href="https://github.com/devnexen"><code>@​devnexen</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3364">rust-lang/libc#3364</a></li>
<li>add execveat for glibc by <a
href="https://github.com/SteveLauC"><code>@​SteveLauC</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3372">rust-lang/libc#3372</a></li>
<li>added support for GNU/Hurd by <a
href="https://github.com/Vtewari2311"><code>@​Vtewari2311</code></a> in
<a
href="https://redirect.github.com/rust-lang/libc/pull/3325">rust-lang/libc#3325</a></li>
<li>Fix apple tvos support by <a
href="https://github.com/lcruz99"><code>@​lcruz99</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3370">rust-lang/libc#3370</a></li>
<li>Remove deprecation from SA_ONSTACK; fix hexagon-unknown-linux-musl
by <a href="https://github.com/androm3da"><code>@​androm3da</code></a>
in <a
href="https://redirect.github.com/rust-lang/libc/pull/3335">rust-lang/libc#3335</a></li>
<li>feat: add close_range for glibc by <a
href="https://github.com/SteveLauC"><code>@​SteveLauC</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3373">rust-lang/libc#3373</a></li>
<li>Update crate version to 0.2.149 by <a
href="https://github.com/nikarh"><code>@​nikarh</code></a> in <a
href="https://redirect.github.com/rust-lang/libc/pull/3360">rust-lang/libc#3360</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/Sword-Destiny"><code>@​Sword-Destiny</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3333">rust-lang/libc#3333</a></li>
<li><a
href="https://github.com/Brijeshkrishna"><code>@​Brijeshkrishna</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3354">rust-lang/libc#3354</a></li>
<li><a href="https://github.com/anacrolix"><code>@​anacrolix</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3337">rust-lang/libc#3337</a></li>
<li><a href="https://github.com/4lDO2"><code>@​4lDO2</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3347">rust-lang/libc#3347</a></li>
<li><a href="https://github.com/pheki"><code>@​pheki</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3284">rust-lang/libc#3284</a></li>
<li><a href="https://github.com/0323pin"><code>@​0323pin</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3368">rust-lang/libc#3368</a></li>
<li><a href="https://github.com/w1redch4d"><code>@​w1redch4d</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3332">rust-lang/libc#3332</a></li>
<li><a
href="https://github.com/Vtewari2311"><code>@​Vtewari2311</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3325">rust-lang/libc#3325</a></li>
<li><a href="https://github.com/lcruz99"><code>@​lcruz99</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-lang/libc/pull/3370">rust-lang/libc#3370</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-lang/libc/compare/0.2.148...0.2.149">https://github.com/rust-lang/libc/compare/0.2.148...0.2.149</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d80e8bd305"><code>d80e8bd</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3360">#3360</a>
- vita-rust:release-0.2.149, r=JohnTitor</li>
<li><a
href="017bf5f6b3"><code>017bf5f</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3373">#3373</a>
- SteveLauC:close_range, r=JohnTitor</li>
<li><a
href="14ef2e5220"><code>14ef2e5</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3335">#3335</a>
- androm3da:bcain/sa_onstack, r=JohnTitor</li>
<li><a
href="7b9e367f67"><code>7b9e367</code></a>
fmt</li>
<li><a
href="173757d3b2"><code>173757d</code></a>
feat: add close_range for glibc</li>
<li><a
href="c7a860dbc7"><code>c7a860d</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3370">#3370</a>
- NordSecurity:add_apple_tvos_support, r=JohnTitor</li>
<li><a
href="4cdc32e72a"><code>4cdc32e</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3325">#3325</a>
- Vtewari2311:libc-hurd-latest, r=JohnTitor</li>
<li><a
href="aa065c6f9b"><code>aa065c6</code></a>
Auto merge of <a
href="https://redirect.github.com/rust-lang/libc/issues/3372">#3372</a>
- SteveLauC:execveat, r=JohnTitor</li>
<li><a
href="d3910f6460"><code>d3910f6</code></a>
add execveat for glibc</li>
<li><a
href="aab9d7023c"><code>aab9d70</code></a>
Fix apple tvos support</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/libc/compare/0.2.148...0.2.149">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.148&new-version=0.2.149)](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>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:03:15 -03:00
dependabot[bot]
2e30596a25 build(deps): Bump proptest from 1.2.0 to 1.3.1 in /rust (#2281)
Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.2.0 to
1.3.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0b4ffe8d08"><code>0b4ffe8</code></a>
[Release] 1.3.1 -- fix for incompatible bit-set/bit-vec versions (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/375">#375</a>)</li>
<li><a
href="99bdf24f8a"><code>99bdf24</code></a>
[Release] 1.3.0 (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/373">#373</a>)</li>
<li><a
href="7bfc889fea"><code>7bfc889</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/357">#357</a>
from tzemanovic/tomas/clear-break-dead-code</li>
<li><a
href="eb9db9d6c3"><code>eb9db9d</code></a>
Merge branch 'master' into tomas/clear-break-dead-code</li>
<li><a
href="370b3a031c"><code>370b3a0</code></a>
Permit use of (?-u) in byte-regex strategies (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/336">#336</a>)
(<a
href="https://redirect.github.com/proptest-rs/proptest/issues/337">#337</a>)</li>
<li><a
href="e395e8caa5"><code>e395e8c</code></a>
Add PathBuf Arbitrary impl with tests (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/368">#368</a>)</li>
<li><a
href="fcccad0f76"><code>fcccad0</code></a>
Book tips and best practices (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/367">#367</a>)</li>
<li><a
href="fc3be95ae1"><code>fc3be95</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/355">#355</a>
from tzemanovic/tomas/fix-sm-logs</li>
<li><a
href="7292965d14"><code>7292965</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/360">#360</a>
from psychon/remove-byteorder</li>
<li><a
href="466d59daec"><code>466d59d</code></a>
[proptest] silence clippy::arc_with_non_send_sync warning with
prop_oneof (<a
href="https://redirect.github.com/proptest-rs/proptest/issues/363">#363</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/proptest-rs/proptest/compare/v1.2.0...v1.3.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=proptest&package-manager=cargo&previous-version=1.2.0&new-version=1.3.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 <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: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:02:42 -03:00
dependabot[bot]
d0302f6f31 build(deps): Bump reqwest from 0.11.20 to 0.11.22 in /rust (#2280)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.20 to
0.11.22.
<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.11.21</h2>
<h2>What's Changed</h2>
<ul>
<li>Add automatically detecting macOS proxy settings.</li>
<li>Add <code>ClientBuilder::tls_info(bool)</code>, which will put
<code>tls::TlsInfo</code> into the response extensions.</li>
<li>Fix trust-dns resolver from possible hangs.</li>
<li>Fix connect timeout to be split among multiple IP addresses.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/SpeedReach"><code>@​SpeedReach</code></a> made
their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1960">seanmonstar/reqwest#1960</a></li>
<li><a href="https://github.com/jefflloyd"><code>@​jefflloyd</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1955">seanmonstar/reqwest#1955</a></li>
<li><a href="https://github.com/droe"><code>@​droe</code></a> made their
first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1938">seanmonstar/reqwest#1938</a></li>
<li><a
href="https://github.com/conradludgate"><code>@​conradludgate</code></a>
made their first contribution in <a
href="https://redirect.github.com/seanmonstar/reqwest/pull/1940">seanmonstar/reqwest#1940</a></li>
</ul>
</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.11.22</h2>
<ul>
<li>Fix compilation on Windows when <code>trust-dns</code> is
enabled.</li>
</ul>
<h2>v0.11.21</h2>
<ul>
<li>Add automatically detecting macOS proxy settings.</li>
<li>Add <code>ClientBuilder::tls_info(bool)</code>, which will put
<code>tls::TlsInfo</code> into the response extensions.</li>
<li>Fix trust-dns resolver from possible hangs.</li>
<li>Fix connect timeout to be split among multiple IP addresses.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5df3861a73"><code>5df3861</code></a>
v0.11.22</li>
<li><a
href="afc3a9364a"><code>afc3a93</code></a>
fix trust-dns error kind on windows (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1992">#1992</a>)</li>
<li><a
href="d050e604e1"><code>d050e60</code></a>
v0.11.21</li>
<li><a
href="2a881fb504"><code>2a881fb</code></a>
fix: split connect timeout for multiple IPs (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1940">#1940</a>)</li>
<li><a
href="17c893ffc0"><code>17c893f</code></a>
Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1968">#1968</a>)</li>
<li><a
href="10d9d23f88"><code>10d9d23</code></a>
Add <code>tls_info</code> / <code>TlsInfo</code> for access to peer's
leaf certificate (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1938">#1938</a>)</li>
<li><a
href="d3d95a5b56"><code>d3d95a5</code></a>
Optimize <code>TrustDnsResolver</code> (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1967">#1967</a>)</li>
<li><a
href="0292486aba"><code>0292486</code></a>
dep: Upgrade trust-dns-resolver from v0.22 to v0.23 (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1965">#1965</a>)</li>
<li><a
href="70d100c1b8"><code>70d100c</code></a>
Feature: auto detect MacOS proxy settings (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1955">#1955</a>)</li>
<li><a
href="34f6c70134"><code>34f6c70</code></a>
Added wasm in the docs. (<a
href="https://redirect.github.com/seanmonstar/reqwest/issues/1960">#1960</a>)</li>
<li>See full diff in <a
href="https://github.com/seanmonstar/reqwest/compare/v0.11.20...v0.11.22">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.11.20&new-version=0.11.22)](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>
Co-authored-by: Gabi <gabrielalejandro7@gmail.com>
2023-10-09 20:02:19 -03:00
Andrew Dryga
a61560701c Show flow actors (#2268)
It was hard to tell who exactly was authorized during a flow without
clicking around:
<img width="1465" alt="Screenshot 2023-10-06 at 15 53 43"
src="https://github.com/firezone/firezone/assets/1877644/26f7c865-714e-40fc-95d5-1b67e2de16cf">

Now it's possible:
<img width="1462" alt="Screenshot 2023-10-06 at 15 53 38"
src="https://github.com/firezone/firezone/assets/1877644/d4ddfd95-fa94-47a0-a73b-b3cdd31994a7">
2023-10-09 22:57:09 +00:00
Jamil
fa54a03b76 Add checks: write to allow Dependabot to run (#2288)
https://github.com/dorny/test-reporter/issues/229


https://github.com/firezone/firezone/actions/runs/6455071084/job/17521890735?pr=2284
2023-10-09 21:15:32 +00:00
Thomas Eizinger
72d6942a71 refactor(phoenix-channel): introduce init function (#2260)
What is common across all our usages of the phoenix channel is that we
wait for some kind of `init` message before we fully start-up. We
extract this pattern into a dedicated function within the
`phoenix-channel` crate.

---------

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
2023-10-10 07:45:46 +11:00
Jamil
30a681ad6b Add Swift build cache to CI (#2273)
- Cache build outputs as well as package manager resolved cache
- Write a new cache on `main` if anything in `swift/` or `rust/`
changes, and match on successively broader `restore-keys`. Swift loves
cached builds but its build cache is fairly large, so I thought this
might be an improvement over simply writing the cache to `github.sha` in
case anything outside of those directories changes.
- ~~Split macOS `x86_64` and `aarch64` builds with a matrix to
parallelize them, will join them into the final bundle during the `cd`
stage~~ Edit: We want to build these together in order to create a
Universal Binary artifact more easily.
2023-10-09 12:00:55 -07:00
Gabi
e516bcc8dd connlib+android: enable fd replacement (#2235)
Should be easier to review commit by commit.

The gist of this commit is:
* `onAddRoute` on Android now takes an address+prefix as to minimize
parsing
* `onAddRoute` recreates the vpn service each time(TODO: is this too bad
for performance?)
* `on_add_route` and `onAddRoute` returns the new fd
* on android after `on_add_route` we recreate `IfaceConfig` and
`DeviceIo` and we store the new values
* `peer_handler` now runs on a loop, where each time we fail a write
with an error code 9(bad descriptor) we try to take the new `DeviceIo`
* we keep an
[`AbortHandle`](https://docs.rs/tokio/latest/tokio/task/struct.AbortHandle.html)
from the `iface_handler` task, since closing the fd doesn't awake the
`read` task for `AsyncFd`(I tried it, right now `close` is only called
after dropping the fd) so we explicitly abort the task and start a new
one with the new `device_io`.
* in android `DeviceIo` has an atomic which tells if it's closed or open
and we change it to closed after `on_add_route`, we use this as to never
double-close the fd, instead we wait until it's dropped. This *might*
affect performance on android since we use non-`Ordering::Relaxed`
atomic operation each read/write but it won't affect perfromance in
other platforms, furthermore I believe the performance gains if we
remove this will be minimal.

Fixes #2227

---------

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-08 23:52:45 -03:00
Jamil
f08e7bb5be Use 4c builder for kotlin builds (#2274)
Now that we're building with `--release`, this will be of more benefit.
2023-10-08 08:09:42 -07:00
Jamil
d6877c6751 Document larger runners (#2275) 2023-10-08 15:02:23 +00:00
Jamil
1915080740 Build with profile = "release" for Android when appropriate (#2270)
We were building Release builds with the debug profile
2023-10-07 14:30:32 -07:00
Jamil
919077058b Fix linter formatting of restore-keys (#2271)
- Fix `restore-keys` to progressively search broader and broader ranges
- Fix plt cache key name so that `restore-keys` works
- Replace `hashFiles('**')` with explicit paths to prevent
`pnpm-lock.yaml` in the `website/` directory from busting the cache for
the application
2023-10-07 14:12:54 -07:00
Gabi
11a2979158 connlib: error out with http 4xx instead of trying to reconnect (#2264)
fixes #2013 

Stops the reconnect loop on a 4xx error.

Right now it seems like android doesn't handle `on_disconnect` properly,
just logging instead of going back to sign-in screen.
2023-10-07 16:52:16 +00:00
Jamil
5a33e9288c Fix kotlin / gradle CI caching (#2266)
- Parallelize static-analysis and build
- Set up cache properly to write on main and overwrite
- Fix licenseHeader check
- Fix linting issues
2023-10-07 09:36:00 -07:00
Jamil
da66264c84 Use larger builders for CPU-bound workflows (#2256)
- `ubuntu-22.04-firezone` is a 16-core builder for ~~kotlin~~ and docker
- ~~`macos-13-xlarge` is an M1 builder for Apple and docker arm64~~
- Configure the Gradle build cache
- Upgrade kotlin plugins, Android minSDK to 30, and gradle to 8.4


Edit: It appears that even using the largest runners for kotin and swift
don't speed the builds up that much (~30%), but will substantially
increase our cost, so I've reverted them to free.

Fixes #2210
2023-10-07 08:07:24 -07:00
Thomas Eizinger
dde98f1985 refactor(gateway): introduce Eventloop (#2244) 2023-10-06 22:05:52 +00:00
Andrew Dryga
24aaa4fb7e Bump tool versions to correspond to our dockerfiles 2023-10-06 15:48:54 -06:00
Andrew Dryga
0eeefa03c7 Use postgres 15.2 in docker-compose (same as production) 2023-10-06 15:47:56 -06:00
Andrew Dryga
4ada30b917 Fix formatting 2023-10-06 15:45:03 -06:00
Andrew Dryga
42bbafc04d Merge firezone/containers into elixir/Dockerfile for better reuse and maintainability (#2267)
Upsides:
1. We don't need to maintain a separate repo and Dockerfile just for
Elixir image (permissions, runner labels, etc)
2. No need to push intermediate images to the container registry
3. No need to copy-paste alpine/erlang/elixir version and hashes from
`firezone/containers` to `elixir/dockerfile` every time they change
4. No need to cross-compile for local dev environments, better
experience building with slow internet connection
5. One command to test if our code works on our containers but a
different alpine/erlang/elixir version

Downsides:
1. Locally devs will need to compile Erlang at least once per version,
but the whole build takes ~6 minutes on my M1 Max. It also takes only 8
minutes on the free GitHub Actions runner without any cache.
2. Worse experience on slow machines

FYI: there is no performance penalty once we have cache layers, still
takes 30 seconds on CI.
2023-10-06 15:34:47 -06:00
Pratik Velani
8dbdda9faf fix(android): When chrome is not installed/enabled or the default browser (#2261)
Fixes #2225 
- Set Chrome app has a hard requirement for seamless user experience
with app link.
- Check if Chrome is not installed/enabled, then show an error toast.
- If Chrome is not set as the default browser, use the Chrome stable
version package name to force open the sign-in flow in Chrome.

Fixes #2184 
- Closing webview moves back to sign-in page.




_Applinks is supported in Firefox but is disabled by default
(https://support.mozilla.org/en-US/kb/set-firefox-android-open-links-native-apps)
..why 🤦‍♂️??_

Later based on user's browser we can update the redirected page to
include instructions to enable the link, something like this:


![Screenshot_1696581921](https://github.com/firezone/firezone/assets/1523745/2587b3de-7e85-4b82-aa99-61e58b8dc0b3)

---------

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-06 21:00:04 +00:00
Thomas Eizinger
802d9aa769 ci: manually update to buildkit 12 (#2259)
This gives us access to https://github.com/moby/buildkit/pull/3724 which
(hopefully) unblocks errors such as
https://github.com/firezone/firezone/actions/runs/6425322959/job/17447712176?pr=2258#step:6:158
when trying to pull the cache.

---------

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-10-06 20:50:13 +00:00
Andrew Dryga
c5ccef88f7 Copy entire project sooner 2023-10-06 14:17:17 -06:00
Thomas Eizinger
ecae222674 fix(rust): install toolchain in base layer (#2258)
Copying the `rust-toolchain.toml` file in is one thing but if we want to
avoid repeatedly installing it, we should do that in the same layer too.

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
2023-10-06 14:12:58 -06:00
Andrew Dryga
5cd1465f85 Copy web/lib for the assets pipeline 2023-10-06 14:08:40 -06:00
Andrew Dryga
17a4171e04 Bind to higher port numbers
When you change the user in a Dockerfile using USER default, the process inside the container runs with the permissions of that user. In COS, only the root user (or processes with elevated privileges) can bind to ports below 1024. So, if our application is trying to bind to a port below 1024, and it's not running as root, we are getting an error.
2023-10-06 12:29:41 -06:00
Andrew Dryga
94af83c029 Increase boot timeout for instances 2023-10-06 11:40:36 -06:00
Jamil
8921281f03 Remove sed from elixir mix.exs (#2262)
Automatic version replacement isn't needed in `elixir/` since the
version is defined in Elixir script.
2023-10-06 16:57:54 +00:00