Jamil
49d4040b60
Add version tag to migrate script ( #1400 )
...
* Add new `VERSION` to `docker_migrate.sh` script
* Add missing `SAML_KEYFILE_PATH` and `SAML_CERTFILE_PATH` env vars to
migrate script
* Add missing `PHOENIX_PORT` var
* Bump Elixir to 1.14.3
* Bump Erlang to 25.2.1
* Update docs to document new VERSION var in docker-compose.yml upgrade
mechanism
Fixes #1395
2023-02-01 19:38:55 -08:00
Andrew Dryga
8033d618c1
Expose phoenix and Wireguard ports specified in configuration ( #1372 )
2023-02-01 16:23:46 -08:00
Andrew Dryga
aa7a43dc70
Reorganise auth routes to make sure that plugs do not block OIDC/SAML when local auth is disabled ( #1399 )
...
And fix acceptance test assertion on the wrong broken behavior.
Closes : #1398
Ref:
https://firezone-users.slack.com/archives/C02PV412LGZ/p1674718310558799
2023-02-01 15:12:46 -08:00
Jamil
dc58d9820f
Remove Cockroach note ( #1397 )
...
Fixes #1394
2023-02-01 10:18:00 -08:00
Jamil
b64adda2ce
Increase load peer timeout ( #1396 )
...
Temporary workaround for a rare issue where many peers (> hundreds)
cause a timeout for the `GenServer.call` function, preventing the
`wireguard_public_key` from being set properly.
This will be removed in 0.8, so only an increased timeout is needed for
now.
2023-01-31 18:56:23 -08:00
dependabot[bot]
9b086dc3de
Bump rubocop from 1.43.0 to 1.44.1 ( #1391 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.43.0 to
1.44.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/releases ">rubocop's
releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.44.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11492 ">#11492</a>:
Fix an error for <code>Lint/Void</code> when configuring
<code>CheckForMethodsWithNoSideEffects: true</code>. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11400 ">#11400</a>:
Fix an incorrect autocorrect for <code>Naming/BlockForwarding</code> and
<code>Lint/AmbiguousOperator</code> when autocorrection conflicts for
ambiguous splat argument. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11483 ">#11483</a>:
Fix <code>Layout/ClosingParenthesisIndentation</code> for keyword splat
arguments. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11487 ">#11487</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
format string is only interpolated string. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11485 ">#11485</a>:
Fix a false positive for <code>Lint/UselessAssignment</code> when using
numbered block parameter. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
</ul>
<h2>RuboCop 1.44</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11410 ">#11410</a>:
Add new <code>Style/InvertibleUnlessCondition</code> cop. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11338 ">#11338</a>:
Add new <code>Style/ComparableClamp</code> cop. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11350 ">#11350</a>:
Make <code>Lint/DeprecatedClassMethods</code> aware of deprecated
<code>attr</code> with boolean 2nd argument. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11457 ">#11457</a>:
Make <code>Metrics/BlockNesting</code> aware of pattern matching. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11458 ">#11458</a>:
Make <code>Metrics/CyclomaticComplexity</code> aware of pattern
matching. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11469 ">#11469</a>:
Add <code>Gemspec/DevelopmentDependencies</code> cop. ([<a
href="https://github.com/sambostock "><code>@sambostock</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11445 ">#11445</a>:
Fix an incorrect autocorrect for <code>Style/BlockDelimiters</code> when
there is a comment after the closing brace and bracket. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11428 ">#11428</a>:
Apply value omission exceptions in super invocations. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11420 ">#11420</a>:
Fix a false positive for <code>Lint/UselessRescue</code> when using
exception variable in <code>ensure</code> clause. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11460 ">#11460</a>:
Fix an error for <code>Style/OperatorMethodCall</code> when using
<code>foo.> 42</code>. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11456 ">#11456</a>:
Fix value omissions in <code>yield</code> invocations. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11467 ">#11467</a>:
Fix a false negative for
<code>Style/MethodCallWithoutArgsParentheses</code> when calling method
on a receiver and assigning to a variable with the same name. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11430 ">#11430</a>:
Fix an infinite loop error for <code>Layout/BlockEndNewline</code> when
multiline blocks with newlines before the <code>; end</code>. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11442 ">#11442</a>:
Fix a crash during anonymous rest argument forwarding. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11447 ">#11447</a>:
Fix an incorrect autocorrect for
<code>Style/RedundantDoubleSplatHashBraces</code> when using nested
double splat hash braces. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11459 ">#11459</a>:
Make <code>Lint/UselessRuby2Keywords</code> aware of conditions. ([<a
href="https://github.com/splattael "><code>@splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11415 ">#11415</a>:
Fix a false positive for <code>Lint/UselessMethodDefinition</code> when
method definition contains rest arguments. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11418 ">#11418</a>:
Fix a false positive for
<code>Style/MethodCallWithArgsParentheses</code> when using anonymous
rest arguments or anonymous keyword rest arguments. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11431 ">#11431</a>:
Fix a crash in Style/HashSyntax. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11444 ">#11444</a>:
Fix a false positive for <code>Lint/ShadowingOuterLocalVariable</code>
when using numbered block parameter. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11477 ">#11477</a>:
Fix an error when using YAML alias with server mode. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11419 ">#11419</a>:
Fix a false positive for <code>Style/RedundantRequireStatement</code>
when using <code>pretty_inspect</code>. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11439 ">#11439</a>:
Fix an incorrect autocorrect for <code>Style/MinMaxComparison</code>
when using <code>a < b a : b</code> with <code>elsif/else</code>. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11464 ">#11464</a>:
Fix a false negative for <code>Lint/FormatParameterMismatch</code> when
include interpolated string. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11425 ">#11425</a>:
Fix a false negative for <code>Lint/Void</code> when using methods that
takes blocks. ([<a
href="https://github.com/krishanbhasin-shopify "><code>@krishanbhasin-shopify</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11437 ">#11437</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when
access modifier is inlined with a method on the top level. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11455 ">#11455</a>:
Fix crash with <code>super value_omission:</code> followed by a method
call. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11465 ">#11465</a>:
Make <code>Style/Semicolon</code> aware of redundant semicolon in block.
(<a href="https://github.com/koic "><code>@koic</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md ">rubocop's
changelog</a>.</em></p>
<blockquote>
<h2>1.44.1 (2023-01-25)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11492 ">#11492</a>:
Fix an error for <code>Lint/Void</code> when configuring
<code>CheckForMethodsWithNoSideEffects: true</code>. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11400 ">#11400</a>:
Fix an incorrect autocorrect for <code>Naming/BlockForwarding</code> and
<code>Lint/AmbiguousOperator</code> when autocorrection conflicts for
ambiguous splat argument. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11483 ">#11483</a>:
Fix <code>Layout/ClosingParenthesisIndentation</code> for keyword splat
arguments. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11487 ">#11487</a>:
Fix a false positive for <code>Lint/FormatParameterMismatch</code> when
format string is only interpolated string. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11485 ">#11485</a>:
Fix a false positive for <code>Lint/UselessAssignment</code> when using
numbered block parameter. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
</ul>
<h2>1.44.0 (2023-01-23)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11410 ">#11410</a>:
Add new <code>Style/InvertibleUnlessCondition</code> cop. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11338 ">#11338</a>:
Add new <code>Style/ComparableClamp</code> cop. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11350 ">#11350</a>:
Make <code>Lint/DeprecatedClassMethods</code> aware of deprecated
<code>attr</code> with boolean 2nd argument. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11457 ">#11457</a>:
Make <code>Metrics/BlockNesting</code> aware of pattern matching. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11458 ">#11458</a>:
Make <code>Metrics/CyclomaticComplexity</code> aware of pattern
matching. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11469 ">#11469</a>:
Add <code>Gemspec/DevelopmentDependencies</code> cop. ([<a
href="https://github.com/sambostock "><code>@sambostock</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11445 ">#11445</a>:
Fix an incorrect autocorrect for <code>Style/BlockDelimiters</code> when
there is a comment after the closing brace and bracket. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11428 ">#11428</a>:
Apply value omission exceptions in super invocations. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11420 ">#11420</a>:
Fix a false positive for <code>Lint/UselessRescue</code> when using
exception variable in <code>ensure</code> clause. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11460 ">#11460</a>:
Fix an error for <code>Style/OperatorMethodCall</code> when using
<code>foo.> 42</code>. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11456 ">#11456</a>:
Fix value omissions in <code>yield</code> invocations. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11467 ">#11467</a>:
Fix a false negative for
<code>Style/MethodCallWithoutArgsParentheses</code> when calling method
on a receiver and assigning to a variable with the same name. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11430 ">#11430</a>:
Fix an infinite loop error for <code>Layout/BlockEndNewline</code> when
multiline blocks with newlines before the <code>; end</code>. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11442 ">#11442</a>:
Fix a crash during anonymous rest argument forwarding. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11447 ">#11447</a>:
Fix an incorrect autocorrect for
<code>Style/RedundantDoubleSplatHashBraces</code> when using nested
double splat hash braces. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11459 ">#11459</a>:
Make <code>Lint/UselessRuby2Keywords</code> aware of conditions. ([<a
href="https://github.com/splattael "><code>@splattael</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11415 ">#11415</a>:
Fix a false positive for <code>Lint/UselessMethodDefinition</code> when
method definition contains rest arguments. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11418 ">#11418</a>:
Fix a false positive for
<code>Style/MethodCallWithArgsParentheses</code> when using anonymous
rest arguments or anonymous keyword rest arguments. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11431 ">#11431</a>:
Fix a crash in Style/HashSyntax. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11444 ">#11444</a>:
Fix a false positive for <code>Lint/ShadowingOuterLocalVariable</code>
when using numbered block parameter. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11477 ">#11477</a>:
Fix an error when using YAML alias with server mode. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11419 ">#11419</a>:
Fix a false positive for <code>Style/RedundantRequireStatement</code>
when using <code>pretty_inspect</code>. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11439 ">#11439</a>:
Fix an incorrect autocorrect for <code>Style/MinMaxComparison</code>
when using <code>a < b a : b</code> with <code>elsif/else</code>.
([<a href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11464 ">#11464</a>:
Fix a false negative for <code>Lint/FormatParameterMismatch</code> when
include interpolated string. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11425 ">#11425</a>:
Fix a false negative for <code>Lint/Void</code> when using methods that
takes blocks. ([<a
href="https://github.com/krishanbhasin-shopify "><code>@krishanbhasin-shopify</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11437 ">#11437</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when
access modifier is inlined with a method on the top level. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11455 ">#11455</a>:
Fix crash with <code>super value_omission:</code> followed by a method
call. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11465 ">#11465</a>:
Make <code>Style/Semicolon</code> aware of redundant semicolon in block.
([<a href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11471 ">#11471</a>:
Change to not output not configured warning when renamed and pending
cop. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8b9b97f7af "><code>8b9b97f</code></a>
Cut 1.44.1</li>
<li><a
href="39adb4e8f3 "><code>39adb4e</code></a>
Update Changelog</li>
<li><a
href="6d45fd50db "><code>6d45fd5</code></a>
Fix typos</li>
<li><a
href="aa08c25361 "><code>aa08c25</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11493 ">#11493</a>
from koic/fix_an_error_for_lint_void</li>
<li><a
href="9a1f19a13f "><code>9a1f19a</code></a>
Use <code>RuboCop::AST::Node#basic_conditional?</code></li>
<li><a
href="629da7085e "><code>629da70</code></a>
Use <code>RuboCop::AST::Node#operator_keyword?</code></li>
<li><a
href="48f3d1ffd4 "><code>48f3d1f</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11492 ">#11492</a>]
Fix an error for <code>Lint/Void</code></li>
<li><a
href="b947b32ed2 "><code>b947b32</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11488 ">#11488</a>
from koic/fix_a_false_positive_for_lint_useless_ass...</li>
<li><a
href="099a1e7ff5 "><code>099a1e7</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11487 ">#11487</a>
from ydah/fix-false-positive-lint-format-parameter-...</li>
<li><a
href="95a894a43f "><code>95a894a</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11490 ">#11490</a>
from ydah/fix-indent</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.43.0...v1.44.1 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 09:51:54 -08:00
dependabot[bot]
d66fcf4ed4
Bump pre-commit from 2.21.0 to 3.0.2 ( #1392 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.21.0
to 3.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/releases ">pre-commit's
releases</a>.</em></p>
<blockquote>
<h2>pre-commit v3.0.2</h2>
<h3>Fixes</h3>
<ul>
<li>Prevent local <code>Gemfile</code> from interfering with hook
execution.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2727 ">#2727</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Fix <code>language: r</code>, <code>repo: local</code> hooks
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit-ci/issues/issues/107 ">pre-commit-ci/issues#107</a>
by <a
href="https://github.com/lorenzwalthert "><code>@lorenzwalthert</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2728 ">#2728</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
</ul>
<h2>pre-commit v3.0.1</h2>
<h3>Fixes</h3>
<ul>
<li>Ensure coursier hooks are available offline after install.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2723 ">#2723</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
</ul>
<h2>pre-commit v3.0.0</h2>
<h3>Features</h3>
<ul>
<li>Make <code>language: golang</code> bootstrap <code>go</code> if not
present.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2651 ">#2651</a>
PR by <a
href="https://github.com/taoufik07 "><code>@taoufik07</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2649 ">#2649</a>
issue by <a
href="https://github.com/taoufik07 "><code>@taoufik07</code></a>.</li>
</ul>
</li>
<li><code>language: coursier</code> now supports
<code>additional_dependencies</code> and <code>repo: local</code>
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2702 ">#2702</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Upgrade <code>ruby-build</code> to <code>20221225</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2718 ">#2718</a>
PR by <a
href="https://github.com/jalessio "><code>@jalessio</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Improve error message for invalid yaml for <code>pre-commit
autoupdate</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2686 ">#2686</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2685 ">#2685</a>
issue by <a
href="https://github.com/CarstenGrohmann "><code>@CarstenGrohmann</code></a>.</li>
</ul>
</li>
<li><code>repo: local</code> no longer provisions an empty
<code>git</code> repo.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2699 ">#2699</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Updating</h3>
<ul>
<li>Drop support for python<3.8
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2655 ">#2655</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for top-level list, use <code>pre-commit
migrate-config</code> to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2656 ">#2656</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for <code>sha</code> to specify revision, use
<code>pre-commit migrate-config</code> to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2657 ">#2657</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Remove <code>pre-commit-validate-config</code> and
<code>pre-commit-validate-manifest</code>, use <code>pre-commit
validate-config</code> and <code>pre-commit validate-manifest</code>
instead.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2658 ">#2658</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li><code>language: golang</code> hooks must use <code>go.mod</code> to
specify dependencies
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2672 ">#2672</a>
PR by <a
href="https://github.com/taoufik07 "><code>@taoufik07</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md ">pre-commit's
changelog</a>.</em></p>
<blockquote>
<h1>3.0.2 - 2023-01-29</h1>
<h3>Fixes</h3>
<ul>
<li>Prevent local <code>Gemfile</code> from interfering with hook
execution.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2727 ">#2727</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Fix <code>language: r</code>, <code>repo: local</code> hooks
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit-ci/issues/issues/107 ">pre-commit-ci/issues#107</a>
by <a
href="https://github.com/lorenzwalthert "><code>@lorenzwalthert</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2728 ">#2728</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.0.1 - 2023-01-26</h1>
<h3>Fixes</h3>
<ul>
<li>Ensure coursier hooks are available offline after install.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2723 ">#2723</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.0.0 - 2023-01-23</h1>
<h3>Features</h3>
<ul>
<li>Make <code>language: golang</code> bootstrap <code>go</code> if not
present.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2651 ">#2651</a>
PR by <a
href="https://github.com/taoufik07 "><code>@taoufik07</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2649 ">#2649</a>
issue by <a
href="https://github.com/taoufik07 "><code>@taoufik07</code></a>.</li>
</ul>
</li>
<li><code>language: coursier</code> now supports
<code>additional_dependencies</code> and <code>repo: local</code>
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2702 ">#2702</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Upgrade <code>ruby-build</code> to <code>20221225</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2718 ">#2718</a>
PR by <a
href="https://github.com/jalessio "><code>@jalessio</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Improve error message for invalid yaml for <code>pre-commit
autoupdate</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2686 ">#2686</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2685 ">#2685</a>
issue by <a
href="https://github.com/CarstenGrohmann "><code>@CarstenGrohmann</code></a>.</li>
</ul>
</li>
<li><code>repo: local</code> no longer provisions an empty
<code>git</code> repo.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2699 ">#2699</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Updating</h3>
<ul>
<li>Drop support for python<3.8
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2655 ">#2655</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for top-level list, use <code>pre-commit
migrate-config</code> to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2656 ">#2656</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Drop support for <code>sha</code> to specify revision, use
<code>pre-commit migrate-config</code>
to update.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2657 ">#2657</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Remove <code>pre-commit-validate-config</code> and
<code>pre-commit-validate-manifest</code>, use
<code>pre-commit validate-config</code> and <code>pre-commit
validate-manifest</code> instead.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2658 ">#2658</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li><code>language: golang</code> hooks must use <code>go.mod</code> to
specify dependencies
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2672 ">#2672</a>
PR by <a
href="https://github.com/taoufik07 "><code>@taoufik07</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6abb05a60c "><code>6abb05a</code></a>
v3.0.2</li>
<li><a
href="2e1cfa8f05 "><code>2e1cfa8</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2728 ">#2728</a>
from pre-commit/fix-r-local-hooks</li>
<li><a
href="420902f67c "><code>420902f</code></a>
fix r local hooks</li>
<li><a
href="6eacdd440e "><code>6eacdd4</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2726 ">#2726</a>
from pre-commit/pick-better-ruby-version</li>
<li><a
href="6e8051b9e6 "><code>6e8051b</code></a>
speed up ruby tests by picking a prebuilt in 22.04</li>
<li><a
href="840cf532a9 "><code>840cf53</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2727 ">#2727</a>
from pre-commit/ignore-gemfile</li>
<li><a
href="f4bd44996c "><code>f4bd449</code></a>
also ignore Gemfile in project</li>
<li><a
href="dd8e717ed6 "><code>dd8e717</code></a>
v3.0.1</li>
<li><a
href="6d3a7eeef5 "><code>6d3a7ee</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2723 ">#2723</a>
from pre-commit/coursier-cache</li>
<li><a
href="83e05e607e "><code>83e05e6</code></a>
ensure coursier hooks are available offline after install</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v2.21.0...v3.0.2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 09:51:24 -08:00
Andrew Dryga
497429dc03
Change default_client_allowed_ips type to string ( #1387 )
...
Closes #1374
2023-01-27 10:50:14 -06:00
Andrew Dryga
e17c0ac6b4
Bump OIDC lib ( #1386 )
...
Closes #1385
2023-01-27 10:44:51 -06:00
Jamil
9801617ef5
Fix LiveView disconnect when config is downloaded ( #1384 )
...
Fixes #1353
2023-01-26 14:40:22 -08:00
Jamil
e4854902cd
Revert to old Project API key ( #1379 )
...
Also update ping event timer to 1 day, with a 1 minute delay on boot.
Waiting on PostHog to confirm old API key is set.
2023-01-26 12:49:11 -08:00
Andrew Dryga
4e2a62af71
Fix bugs with OIDC and SAML forms ( #1383 )
...
1. When OIDC/SAML is deleted the state of the LV socket becomes invalid
and basically makes it looks like everything was deleted
2. When there is more than one OIDC/SAML config trying to delete it
leads to a crash
3. Updates of OIDC/SAML were messy and hard to follow, they are reworked
and more tests are added around them
Closes #1382
2023-01-26 14:21:59 -06:00
Andrew Dryga
8a5dd8a5dd
Improve seeds to test config migrations
2023-01-25 10:54:54 -06:00
dependabot[bot]
ec4bbf0565
Bump excoveralls from 0.15.2 to 0.15.3 ( #1376 )
...
Bumps [excoveralls](https://github.com/parroty/excoveralls ) from 0.15.2
to 0.15.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/parroty/excoveralls/releases ">excoveralls's
releases</a>.</em></p>
<blockquote>
<h2>v0.15.3</h2>
<h4>Enhancements</h4>
<ul>
<li>Support <code>--import_cover</code> option.
<ul>
<li>Import coverdata if needed (<a
href="https://github-redirect.dependabot.com/parroty/excoveralls/issues/292 ">#292</a>).</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md ">excoveralls's
changelog</a>.</em></p>
<blockquote>
<h2>0.15.3</h2>
<h4>Enhancements</h4>
<ul>
<li>Support <code>--import_cover</code> option.
<ul>
<li>Import coverdata if needed (<a
href="https://github-redirect.dependabot.com/parroty/excoveralls/issues/292 ">#292</a>).</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6890fdc60b "><code>6890fdc</code></a>
Update CHANGELOG and bump version</li>
<li><a
href="5cbf7591e3 "><code>5cbf759</code></a>
Import and export coverdata if needed (<a
href="https://github-redirect.dependabot.com/parroty/excoveralls/issues/292 ">#292</a>)</li>
<li>See full diff in <a
href="https://github.com/parroty/excoveralls/compare/v0.15.2...v0.15.3 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 15:36:19 -08:00
Andrew Dryga
99f6321e78
Adopt new http transport opts in OIDC lib ( #1375 )
...
Closes #1368
2023-01-24 12:48:15 -06:00
Andrew Dryga
cce70cf552
Fix SAML regression ( #1371 )
...
Regression was introduced in #1350 : the path order did not allow auth
callback to be ever called.
Additionally, acceptance tests for SAML are added and we added a
blacklist of SAML config ids to prevent further route collisions.
Fixes #1362
2023-01-23 15:28:25 -06:00
dependabot[bot]
1e30cc15e9
Bump phoenix_live_view from 0.18.8 to 0.18.11 ( #1360 )
...
Bumps
[phoenix_live_view](https://github.com/phoenixframework/phoenix_live_view )
from 0.18.8 to 0.18.11.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/phoenixframework/phoenix_live_view/blob/master/CHANGELOG.md ">phoenix_live_view's
changelog</a>.</em></p>
<blockquote>
<h2>0.18.11 (2023-01-19)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix socket unloading connection for forms that have defaulted
prevented</li>
</ul>
<h2>0.18.10 (2023-01-18)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix svg tags with href incorrectly unloading socket on click</li>
<li>Fix form submits with <code>target="_blank"</code>
incorrectly unloading socket on submit</li>
</ul>
<h2>0.18.9 (2023-01-17)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix regular form submits failing to be dispatched</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9685b0ba78 "><code>9685b0b</code></a>
Release 0.18.11</li>
<li><a
href="db74042b9a "><code>db74042</code></a>
Do not unload socket on form submit if defaultPrevented. Closes <a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_live_view/issues/2405 ">#2405</a></li>
<li><a
href="283376eaee "><code>283376e</code></a>
Release 0.18.10</li>
<li><a
href="a5a5896210 "><code>a5a5896</code></a>
Fix svg href unloading and target blank forms. Closes <a
href="https://github-redirect.dependabot.com/phoenixframework/phoenix_live_view/issues/2400 ">#2400</a></li>
<li><a
href="740281cc40 "><code>740281c</code></a>
Release 0.18.9</li>
<li>See full diff in <a
href="https://github.com/phoenixframework/phoenix_live_view/compare/v0.18.8...v0.18.11 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Dryga <andrew@dryga.com >
2023-01-23 13:47:09 -06:00
dependabot[bot]
812818beec
Bump gettext from 0.21.0 to 0.22.0 ( #1361 )
...
Bumps [gettext](https://github.com/elixir-gettext/gettext ) from 0.21.0
to 0.22.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/elixir-gettext/gettext/blob/main/CHANGELOG.md ">gettext's
changelog</a>.</em></p>
<blockquote>
<h2>v0.22.0</h2>
<ul>
<li>Deprecate (with a warning) the <code>--plural-forms</code> CLI
option and the <code>:plural_forms</code> option in favor of
<code>--plural-forms-header</code> and
<code>:plural_forms_header</code>.</li>
<li>Supply the <code>Plural-Forms</code> header to
<code>Gettext.Plural</code> callbacks.</li>
<li>Bump Expo requirement to <code>~> 0.3.0</code>.</li>
<li>Add the types:
<ul>
<li><code>Gettext.Interpolation.bindings/0</code></li>
<li><code>Gettext.Error.t/0</code></li>
<li><code>Gettext.Plural.locale/0</code></li>
<li><code>Gettext.Plural.pluralization_context/0</code></li>
<li><code>Gettext.Plural.plural_info/0</code></li>
</ul>
</li>
<li>Add the optional callbacks <code>Gettext.Plural.init/1</code> and
<code>Gettext.Plural.plural_forms_header/1</code>.</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix <code>--check-up-to-date</code> with <code>msgid</code>s split
in different ways.</li>
<li>Don't write the same file more than once in references when using
<code>write_reference_line_numbers: false</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fd82c69d78 "><code>fd82c69</code></a>
Release v0.22.0</li>
<li><a
href="1ffcb47338 "><code>1ffcb47</code></a>
Deprecate <code>nplurals=x</code> and <code>:plural_forms</code> (<a
href="https://github-redirect.dependabot.com/elixir-gettext/gettext/issues/349 ">#349</a>)</li>
<li><a
href="a5ef194739 "><code>a5ef194</code></a>
Use ExUnit's tmp_dir when possible (<a
href="https://github-redirect.dependabot.com/elixir-gettext/gettext/issues/350 ">#350</a>)</li>
<li><a
href="e5ba065180 "><code>e5ba065</code></a>
Fix message for ensure_loaded!/1 in Gettext.Plural (<a
href="https://github-redirect.dependabot.com/elixir-gettext/gettext/issues/348 ">#348</a>)</li>
<li><a
href="7b350bc437 "><code>7b350bc</code></a>
Use Expo for handling built-in plural forms (<a
href="https://github-redirect.dependabot.com/elixir-gettext/gettext/issues/347 ">#347</a>)</li>
<li><a
href="15636b0f67 "><code>15636b0</code></a>
Add Jonatan to the maintainers</li>
<li><a
href="9943eaf12f "><code>9943eaf</code></a>
Polish some docs here and there</li>
<li><a
href="dc6fa55751 "><code>dc6fa55</code></a>
Add guards to some Gettext functions</li>
<li><a
href="5e2097e9c3 "><code>5e2097e</code></a>
Split errors into their own files</li>
<li><a
href="c58f94d77b "><code>c58f94d</code></a>
Improve docs for errors</li>
<li>Additional commits viewable in <a
href="https://github.com/elixir-gettext/gettext/compare/v0.21.0...v0.22.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Dryga <andrew@dryga.com >
2023-01-23 13:46:56 -06:00
Andrew Dryga
34cddcdbd4
Refactor api tokens ( #1370 )
...
Related to #1364
Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com >
2023-01-23 13:39:34 -06:00
Andrew Dryga
999ea1e43d
Add version suffix to cookie signing salt ( #1369 )
...
This will make sure that users need to reauthenticate every time a new
version is deployed.
Closes https://github.com/firezone/firezone/issues/1358
2023-01-23 13:38:57 -06:00
Andrew Dryga
4a2864f9a1
Fix rendering for logo struct in REST API ( #1367 )
...
Closes #1363
2023-01-23 13:38:31 -06:00
Jamil
bc6abb55e5
Document auto-create users more clearly in SAML setup guides ( #1364 )
...
There's been some confusion lately over the change to disable
auto-create users by default, so this PR aims to document the choice a
little more clearly.
Refs #1362 #1117
Co-authored-by: Andrew Dryga <andrew@dryga.com >
2023-01-23 12:47:18 -06:00
Jamil
ddc8b32970
Add tests to ensure path changes when modal is dismissed ( #1356 )
...
Refs #1353
I was looking for a `refute_el` helper to check for `.modal.is-active`
*not* being on the page, but that would take time to write 😅
This checks to ensure the URL is updated, which should cause the
`@live_action` to change, the view to be patched, and the modal to be
dismissed, but isn't the most straightforward way to make sure the modal
isn't visible.
We've hit this problem twice before (am not successful this morning
finding the relevant issues):
* If the WebSocket is flapping, the event may not register. But usually
the browser will refresh if this is the case (we have a red indicator in
the upper-right to indicate if the websocket is not connected, i.e. the
views aren't "live")
* A CSS bug caused the click event to target the wrong LiveView PID (the
modal's parent I believe), which ended up crashing it because it didn't
have the "close" event handler defined. I believe the escape keydown
still closed the view though in that case.
This feels more like the first issue, given the acceptance test is
passing.
Co-authored-by: Andrew Dryga <andrew@dryga.com >
2023-01-23 09:31:37 -06:00
Andrew Dryga
b5ff85c276
Rename main branch
2023-01-22 22:16:23 -06:00
Andrew Dryga
8a02629163
Start testing migrations and seeds on CI ( #1359 )
...
Ref: #1316
This additionally adds static-analysis and type-check steps to `test`
workflow. Even though they run in a separate workflow I feel like we
might want to remove dialyzer from pre-commit hook as it sometimes takes
a lot of time, especially if you do checkout between branches that
change deps often and slows down when you commit rapidly.
2023-01-22 22:01:58 -06:00
Jamil
f0ed59ad2d
Fix outbound mailer config changeset ( #1355 )
...
Fixes #1354
2023-01-21 08:51:10 -08:00
Andrew Dryga
e43ef06115
Rework MFA methods ( #1339 )
...
1. We enforce `last_used_at` to be not nil at the database level
2. The `name` is now unique to prevent ambiguity, it also can't be
longer than 255 chars
3. The MFA module was rewritten to follow the style applied to Users
before with much better test coverage, its API changed to be less
generic (like just create/update -> create/use_code)
4. The multi-step form was reworked to use new methods instead of
changeset and doing direct `Repo.insert/1`.
Closes #1323
2023-01-20 12:02:46 -08:00
Jamil
cb4fa1c185
Inspect mailer errors in boot ( #1351 )
...
Inspect mailer errors
https://github.com/firezone/firezone/actions/runs/3970079790
2023-01-20 11:57:13 -08:00
Jamil
9efdfa10ff
Fix SAML restart and remove test env code path ( #1350 )
...
This codepath was being skipped in the `test` env, which is no longer
necessary. This caused a runtime error that failed to show up in tests
because the codepath was being skipped.
Refs #1341
2023-01-20 10:00:10 -08:00
Jamil
931029b2ac
Better outbound email config parsing ( #1346 )
...
This also refactors local auth routes to protect them using Plug.
2023-01-20 07:16:23 -08:00
Jamil
394008c008
Chore/update project api key ( #1348 )
...
Refs firezone/marketing#109
2023-01-19 19:46:01 -08:00
Jamil
30fe5650ed
Update troubleshooting guide for clearing auth config in DB ( #1338 )
...
Refs #1313
2023-01-19 17:46:37 -08:00
Andrew Dryga
48a3621aed
Soft limit CIDR range for IPv6 network to 288230376151711744 devices ( #1344 )
...
That should be enough for most of users (c).
Closes #1340
2023-01-19 17:16:16 -08:00
Andrew Dryga
03100df545
Add e2e test for magic links ( #1345 )
...
Related to #1342
2023-01-19 12:57:43 -08:00
Jamil
547b3bbf65
Don't override SAML config booleans ( #1333 )
...
Fixes #1321
Also updates a couple tests to read from `EXTERNAL_URL` instead of
`http://localhost:4002 ` (these were failing in my env because I have a
different value set)
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Co-authored-by: Andrew Dryga <andrew@dryga.com >
2023-01-18 12:44:57 -08:00
Jamil
8166bd7ce5
Filter out nil IPs before adding to the nftables ruleset ( #1332 )
...
This edgecase happens when `WIREGUARD_IPV4_ENABLED` or
`WIREGUARD_IPV6_ENABLED` are set to `false`; when a new device is
generated, we don't allocate an IP for it. This causes a failed function
match, and should be handled instead by simply skipping the `nil` IP
from being added to the user's `nftables` group.
**Note**: This functionality will be removed with the release of the
gateway's eBPF packet filter in 0.8.
Fixes #1331
2023-01-18 12:00:04 -08:00
Jamil
3514bbfce4
Omit ownership statements from Postgres DB dump ( #1334 )
...
Fixes #1302
2023-01-18 11:54:58 -08:00
Jamil
3d2a8c7e73
Wrap env vars for conditionals ( #1330 )
...
Fixes:

2023-01-17 15:20:43 -08:00
dependabot[bot]
68c52e16a9
Bump rubocop from 1.42.0 to 1.43.0 ( #1318 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.42.0 to
1.43.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/releases ">rubocop's
releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.43</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11359 ">#11359</a>:
Add new <code>Lint/UselessRescue</code> cop. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11389 ">#11389</a>:
Add autocorrect for <code>Style/MissingElse</code>. (<a
href="https://github.com/FnControlOption "><code>@FnControlOption</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11386 ">#11386</a>:
Fix a false positive for <code>Style/OperatorMethodCall</code> when
using anonymous forwarding. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11409 ">#11409</a>:
Fix an incorrect autocorrect for <code>Style/HashSyntax</code> when
using hash value omission and <code>EnforcedStyle: no_mixed_keys</code>.
(<a href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11405 ">#11405</a>:
Fix undefined method `range_between' for Style/WhileUntilModifier. (<a
href="https://github.com/such "><code>@such</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11374 ">#11374</a>:
Fix an error for <code>Style/StringHashKeys</code> when using invalid
symbol in encoding UTF-8 as keys. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11392 ">#11392</a>:
Fix an incorrect autocorrect for
<code>Style/RedundantDoubleSplatHashBraces</code> using double splat in
double splat hash braces. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8990 ">#8990</a>:
Make <code>Style/HashEachMethods</code> aware of built-in
<code>Thread.current</code>. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11390 ">#11390</a>:
Fix an incorrect autocorrect for <code>Style/HashSyntax</code> when hash
first argument key and hash value only are the same which has a method
call on the next line. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11379 ">#11379</a>:
Fix a false negative for <code>Style/OperatorMethodCall</code> when
using <code>a.+ b.something</code>. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11180 ">#11180</a>:
Fix an error for <code>Style/RedundantRegexpEscape</code> when using
<code>%r</code> to provide regexp expressions. (<a
href="https://github.com/si-lens "><code>@si-lens</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11403 ">#11403</a>:
Fix bad offense for parenthesised calls in literals for
<code>omit_parentheses</code> style in
<code>Style/MethodCallWithArgsParentheses</code>. (<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11407 ">#11407</a>:
Fix an error for <code>Style/HashSyntax</code> when expression follows
hash key assignment. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11377 ">#11377</a>:
Fix <code>Style/OperatorMethodCall</code> when forwarding arguments. (<a
href="https://github.com/sambostock "><code>@sambostock</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11382 ">#11382</a>:
Require <code>unicode-display_width</code> 2.4.0 or higher. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11381 ">#11381</a>:
Require Parser 3.2.0.0 or higher. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11380 ">#11380</a>:
Disable <code>Style/YodaExpression</code> by default. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11303 ">#11303</a>:
Make <code>Metrics/ParameterLists</code> aware of
<code>Struct.new</code> and <code>Data.define</code> blocks. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md ">rubocop's
changelog</a>.</em></p>
<blockquote>
<h2>1.43.0 (2023-01-10)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11359 ">#11359</a>:
Add new <code>Lint/UselessRescue</code> cop. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11389 ">#11389</a>:
Add autocorrect for <code>Style/MissingElse</code>. ([<a
href="https://github.com/FnControlOption "><code>@FnControlOption</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11386 ">#11386</a>:
Fix a false positive for <code>Style/OperatorMethodCall</code> when
using anonymous forwarding. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11409 ">#11409</a>:
Fix an incorrect autocorrect for <code>Style/HashSyntax</code> when
using hash value omission and <code>EnforcedStyle: no_mixed_keys</code>.
([<a href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11405 ">#11405</a>:
Fix undefined method `range_between' for Style/WhileUntilModifier. ([<a
href="https://github.com/such "><code>@such</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11374 ">#11374</a>:
Fix an error for <code>Style/StringHashKeys</code> when using invalid
symbol in encoding UTF-8 as keys. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11392 ">#11392</a>:
Fix an incorrect autocorrect for
<code>Style/RedundantDoubleSplatHashBraces</code> using double splat in
double splat hash braces. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8990 ">#8990</a>:
Make <code>Style/HashEachMethods</code> aware of built-in
<code>Thread.current</code>. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11390 ">#11390</a>:
Fix an incorrect autocorrect for <code>Style/HashSyntax</code> when hash
first argument key and hash value only are the same which has a method
call on the next line. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11379 ">#11379</a>:
Fix a false negative for <code>Style/OperatorMethodCall</code> when
using <code>a.+ b.something</code>. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11180 ">#11180</a>:
Fix an error for <code>Style/RedundantRegexpEscape</code> when using
<code>%r</code> to provide regexp expressions. ([<a
href="https://github.com/si-lens "><code>@si-lens</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11403 ">#11403</a>:
Fix bad offense for parenthesised calls in literals for
<code>omit_parentheses</code> style in
<code>Style/MethodCallWithArgsParentheses</code>. ([<a
href="https://github.com/gsamokovarov "><code>@gsamokovarov</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11407 ">#11407</a>:
Fix an error for <code>Style/HashSyntax</code> when expression follows
hash key assignment. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11377 ">#11377</a>:
Fix <code>Style/OperatorMethodCall</code> when forwarding arguments.
([<a
href="https://github.com/sambostock "><code>@sambostock</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11382 ">#11382</a>:
Require <code>unicode-display_width</code> 2.4.0 or higher. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11381 ">#11381</a>:
Require Parser 3.2.0.0 or higher. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11380 ">#11380</a>:
Disable <code>Style/YodaExpression</code> by default. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11303 ">#11303</a>:
Make <code>Metrics/ParameterLists</code> aware of
<code>Struct.new</code> and <code>Data.define</code> blocks. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c3111370dc "><code>c311137</code></a>
Cut 1.43</li>
<li><a
href="d1e7287ccc "><code>d1e7287</code></a>
Update Changelog</li>
<li><a
href="2f298928fa "><code>2f29892</code></a>
Add autocorrect for <code>Style/MissingElse</code></li>
<li><a
href="73a412159e "><code>73a4121</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11303 ">#11303</a>]
Make <code>Metrics/ParameterLists</code> aware of
<code>Struct.new</code> and `Data.de...</li>
<li><a
href="46963bdd49 "><code>46963bd</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11409 ">#11409</a>]
Fix an incorrect autocorrect for <code>Style/HashSyntax</code></li>
<li><a
href="1e5f19a9af "><code>1e5f19a</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8990 ">#8990</a>]
Make <code>Style/HashEachMethods</code> aware of
<code>Thread.current</code></li>
<li><a
href="de30af8572 "><code>de30af8</code></a>
Fix an error for <code>Style/HashSyntax</code> when expression follows
hash key assignment</li>
<li><a
href="52a448fd97 "><code>52a448f</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11406 ">#11406</a>
from sorare/11405</li>
<li><a
href="1ac1ce70b3 "><code>1ac1ce7</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11405 ">#11405</a>]
Fix Style/WhileUntilModifier with ruby 3.1</li>
<li><a
href="3ce55d00bd "><code>3ce55d0</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11403 ">#11403</a>
from gsamokovarov/omit-parentheses-call-with-block-...</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.42.0...v1.43.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 11:12:35 -08:00
Jamil
01fddb813d
Fix saml certfile path for omnibus ( #1328 )
...
Updated to match what's set in
https://github.com/firezone/firezone/blob/master/omnibus/cookbooks/firezone/recipes/ssl.rb
Fixes #1327
2023-01-17 11:08:25 -08:00
Jamil
421d56b0ea
Handle EXTERNAL_URL missing scheme ( #1326 )
...
Fixes #1314
2023-01-17 10:46:52 -08:00
Andrew Dryga
7ece067333
Bump Elixir deps
...
This replaces two PRs from dependabot.
2023-01-16 13:15:32 -06:00
Andrew Dryga
218ad006af
Revisit Users context, cover UI with e2e tests and introduce first AuditLog features ( #1267 )
...
1. `auto_create_users` default value is removed. We want to avoid
situations when admins integrate OIDC/SAML providers and don't expect
anyone that has access to it to automatically gain access to VPN, which
is especially critical for providers like Google Workspace, where all
employees typically have access.
2. OpenID library was completely rewritten and a new version is
integrated. It will allow async tests and better scales for the cloud
version of the panel.
3. `Mox` was removed, we don't test modules by overriding them to
prevent breaking changes that tests can't capture.
4. Deps are reordered and unused ones are removed.
5. Browser/e2e tests are added to ensure we won't break UI features in
the future, allowing for front-end refactoring.
6. Users context was overhauled for better code clarity.
2023-01-16 13:04:59 -06:00
Jamil
bff52590e1
Migrate DB before using for the first time ( #1310 )
2023-01-13 17:43:44 -08:00
Jamil
5320596cec
Add missing env var ( #1309 )
...
Makes the telem vars more robust
2023-01-13 17:30:09 -08:00
Jamil
ec321c5619
Update default REST API docs path; Note on stdout api tokens ( #1306 )
2023-01-13 17:23:21 -06:00
Jamil
330cafbbe5
Boot minimal app for DB changes ( #1305 )
...
Adds a minimal supervision tree for making DB changes from the
`FzHttp.Release` module. This allows the `bin/create-or-reset-admin` and
`bin/create-api-token` commands to be with `docker compose exec` or
`docker compose run --rm` indiscriminately.
Starting the FzHttp.Repo directly is more involved it's not compiled
into the release as an OTP app.
2023-01-13 13:45:18 -08:00
Jamil
e2e1dd441b
Fix docs link ( #1303 )
2023-01-13 12:22:52 -08:00
Andrew Dryga
7760817191
Hotfix default PK values on connectivity_checks table ( #1300 )
...
The migration is edited in place. Otherwise, the users that partially
upgraded to 0.7 won't be able to proceed.
Another migration is added to add default values for every table that
did not have it to make things consistent and make sure that both users
that have failed migration executed and the ones that executed it
successfully will end up with the same schema.
Closes #1295
2023-01-13 11:48:13 -08:00
Jamil
b9328c4145
Add note on generating API token ( #1294 )
2023-01-12 23:12:11 -08:00