Jamil
1de24ff77e
REST API ( #1155 )
...
### TODO
- [x] "/v0"
- [x] Double-check migration order; re-timestamp if necessary
- [x] Move `sites` fields to `configurations` so they can be updated
from API
- [x] #1240 -- it introduces possible race conditions for API requests
- [x] #1249
- [ ] #1008
- [ ] Final review
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Co-authored-by: Andrew Dryga <andrew@dryga.com >
2022-12-31 12:58:11 -06:00
Jamil
963aca75cb
Update recommendations for local authentication ( #1252 )
...
Update the local auth docs to reflect current recommendations.
2022-12-29 17:13:18 -06:00
Jason G
7ad73b7b25
Remove broken link in docs ( #1253 )
2022-12-29 13:44:07 -06:00
Jamil
8fa280691d
Conditionally append port to endpoint ( #1247 )
...
Fixes a bug where generated configs have an extra port added in some
cases.
2022-12-26 15:19:08 -06:00
dependabot[bot]
427edb9d5f
Bump rubocop from 1.40.0 to 1.41.1 ( #1243 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.40.0 to
1.41.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.41.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11293 ">#11293</a>:
Fix a false negative for <code>Style/Documentation</code> when using
macro. (<a href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11313 ">#11313</a>:
Fix a false positive for <code>Naming/BlockForwarding</code> when the
block argument is reassigned. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11014 ">#11014</a>:
Fix a false positive for <code>Style/Alias</code>cop when alias in a
method def. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11309 ">#11309</a>:
Fix a false positive for <code>Style/RedundantStringEscape</code> when
using a redundant escaped string interpolation <code>\#\{foo}</code>.
(<a href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11307 ">#11307</a>:
Fix an error for <code>Style/GuardClause</code> when using lvar as an
argument of raise in <code>else</code> branch. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11308 ">#11308</a>:
Fix disabling departments via comment. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11312 ">#11312</a>:
Mark <code>Style/ConcatArrayLiterals</code> as unsafe. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
</ul>
<h2>RuboCop 1.41</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11305 ">#11305</a>:
Add new <code>Style/RedundantDoubleSplatHashBraces</code> cop. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10812 ">#10812</a>:
New AllowMultilineFinalElement option for all LineBreaks cops. (<a
href="https://github.com/Korri "><code>@Korri</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11277 ">#11277</a>:
Add new <code>Style/ConcatArrayLiterals</code> cop. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11255 ">#11255</a>:
Fix an error for <code>Style/RequireOrder</code> when
<code>require</code> with no arguments is put between
<code>require</code>. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11273 ">#11273</a>:
Fix a false positive for <code>Lint/DuplicateMethods</code> when there
are same <code>alias_method</code> name outside <code>rescue</code> or
<code>ensure</code> scopes. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11267 ">#11267</a>:
Fix an error for Style/RequireOrder when modifier conditional is used
between <code>require</code>. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11254 ">#11254</a>:
Fix an error for <code>Style/RequireOrder</code> when
<code>require</code> is a method argument. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11266 ">#11266</a>:
Fix a false positive for <code>Style/RedundantConstantBase</code> when
enabling <code>Lint/ConstantResolution</code>. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11296 ">#11296</a>:
Fix an error for <code>Lint/NonAtomicFileOperation</code> when use file
existence checks line break <code>unless</code> by postfix before
creating file. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11284 ">#11284</a>:
Fix an incorrect autocorrect for <code>Style/WordArray</code> when
assigning <code>%w()</code> array. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11299 ">#11299</a>:
Fix <code>base_dir</code> in <code>TargetFinder#find_files()</code>. (<a
href="https://github.com/dukaev "><code>@dukaev</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11250 ">#11250</a>:
Fix an error for <code>Style/GuardClause</code> when a method call whose
last argument is not a string is in the condition body. (<a
href="https://github.com/ydah "><code>@ydah</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11298 ">#11298</a>:
Fix <code>Lint/SafeNavigationChain</code> to correctly handle
<code>[]</code> operator followed by save navigation and method chain.
(<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11256 ">#11256</a>:
Fix an incorrect autocorrect for <code>Style/HashSyntax</code> when
without parentheses call expr follows after multiple keyword arguments
method call. (<a
href="https://github.com/koic "><code>@koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11289 ">#11289</a>:
Correctly detect Rails version when using only parts of the framework,
instead of the "rails" gem. ([<a
href="https://github.com/bdewater "><code>@bdewater</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11262 ">#11262</a>:
Fix an error for <code>Style/IfUnlessModifier</code> when the body is a
method call with hash splat. (<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11281 ">#11281</a>:
Fix <code>NoMethodError</code> for <code>Style/Documentation</code> when
a class nested under non-constant values. ([<a
href="https://github.com/arika "><code>@arika</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11306 ">#11306</a>:
Make <code>Style/IfWithSemicolon</code> aware of one line without
<code>else</code> body. (<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.41.1 (2022-12-22)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11293 ">#11293</a>:
Fix a false negative for <code>Style/Documentation</code> when using
macro. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11313 ">#11313</a>:
Fix a false positive for <code>Naming/BlockForwarding</code> when the
block argument is reassigned. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11014 ">#11014</a>:
Fix a false positive for <code>Style/Alias</code>cop when alias in a
method def. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11309 ">#11309</a>:
Fix a false positive for <code>Style/RedundantStringEscape</code> when
using a redundant escaped string interpolation <code>\#\{foo}</code>.
([<a href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11307 ">#11307</a>:
Fix an error for <code>Style/GuardClause</code> when using lvar as an
argument of raise in <code>else</code> branch. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11308 ">#11308</a>:
Fix disabling departments via comment. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11312 ">#11312</a>:
Mark <code>Style/ConcatArrayLiterals</code> as unsafe. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
</ul>
<h2>1.41.0 (2022-12-20)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11305 ">#11305</a>:
Add new <code>Style/RedundantDoubleSplatHashBraces</code> cop. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10812 ">#10812</a>:
New AllowMultilineFinalElement option for all LineBreaks cops. ([<a
href="https://github.com/Korri "><code>@Korri</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11277 ">#11277</a>:
Add new <code>Style/ConcatArrayLiterals</code> cop. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11255 ">#11255</a>:
Fix an error for <code>Style/RequireOrder</code> when
<code>require</code> with no arguments is put between
<code>require</code>. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11273 ">#11273</a>:
Fix a false positive for <code>Lint/DuplicateMethods</code> when there
are same <code>alias_method</code> name outside <code>rescue</code> or
<code>ensure</code> scopes. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11267 ">#11267</a>:
Fix an error for Style/RequireOrder when modifier conditional is used
between <code>require</code>. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11254 ">#11254</a>:
Fix an error for <code>Style/RequireOrder</code> when
<code>require</code> is a method argument. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11266 ">#11266</a>:
Fix a false positive for <code>Style/RedundantConstantBase</code> when
enabling <code>Lint/ConstantResolution</code>. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11296 ">#11296</a>:
Fix an error for <code>Lint/NonAtomicFileOperation</code> when use file
existence checks line break <code>unless</code> by postfix before
creating file. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11284 ">#11284</a>:
Fix an incorrect autocorrect for <code>Style/WordArray</code> when
assigning <code>%w()</code> array. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11299 ">#11299</a>:
Fix <code>base_dir</code> in <code>TargetFinder#find_files()</code>.
([<a href="https://github.com/dukaev "><code>@dukaev</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11250 ">#11250</a>:
Fix an error for <code>Style/GuardClause</code> when a method call whose
last argument is not a string is in the condition body. ([<a
href="https://github.com/ydah "><code>@ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11298 ">#11298</a>:
Fix <code>Lint/SafeNavigationChain</code> to correctly handle
<code>[]</code> operator followed by save navigation and method chain.
([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11256 ">#11256</a>:
Fix an incorrect autocorrect for <code>Style/HashSyntax</code> when
without parentheses call expr follows after multiple keyword arguments
method call. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11289 ">#11289</a>:
Correctly detect Rails version when using only parts of the framework,
instead of the "rails" gem. ([<a
href="https://github.com/bdewater "><code>@bdewater</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11262 ">#11262</a>:
Fix an error for <code>Style/IfUnlessModifier</code> when the body is a
method call with hash splat. ([<a
href="https://github.com/fatkodima "><code>@fatkodima</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11281 ">#11281</a>:
Fix <code>NoMethodError</code> for <code>Style/Documentation</code> when
a class nested under non-constant values. ([<a
href="https://github.com/arika "><code>@arika</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11306 ">#11306</a>:
Make <code>Style/IfWithSemicolon</code> aware of one line without
<code>else</code> body. ([<a
href="https://github.com/koic "><code>@koic</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4fd14ff177 "><code>4fd14ff</code></a>
Cut 1.41.1</li>
<li><a
href="1fc41b0622 "><code>1fc41b0</code></a>
Update Changelog</li>
<li><a
href="46ffe4fb4d "><code>46ffe4f</code></a>
Fix a false positive for <code>Style/Alias</code>cop when alias in a
method def</li>
<li><a
href="a5f4a9adab "><code>a5f4a9a</code></a>
Add support <code>@see</code> tags in our document</li>
<li><a
href="0c5b1ec3cd "><code>0c5b1ec</code></a>
Fix disabling departments via comment</li>
<li><a
href="dbffbf13d9 "><code>dbffbf1</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11316 ">#11316</a>
from fatkodima/block_forwarding-reassignment</li>
<li><a
href="02660c46d1 "><code>02660c4</code></a>
Fix a false positive for <code>Naming/BlockForwarding</code> when the
block argument is ...</li>
<li><a
href="8bb0c47e7a "><code>8bb0c47</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11312 ">#11312</a>]
Mark <code>Style/ConcatArrayLiterals</code> as unsafe</li>
<li><a
href="91fe2cf9f6 "><code>91fe2cf</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11309 ">#11309</a>]
Fix a false positive for <code>Style/RedundantStringEscape</code></li>
<li><a
href="cc0a9f544c "><code>cc0a9f5</code></a>
Switch back the docs version</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.40.0...v1.41.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>
2022-12-26 07:40:00 -06:00
dependabot[bot]
a62cb7ad3a
Bump pre-commit from 2.20.0 to 2.21.0 ( #1242 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.20.0
to 2.21.0.
<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 v2.21.0</h2>
<h3>Features</h3>
<ul>
<li>Require new-enough virtualenv to prevent 3.10 breakage
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2467 ">#2467</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Respect aliases with <code>SKIP</code> for environment install.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2480 ">#2480</a>
PR by <a href="https://github.com/kmARC "><code>@kmARC</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2478 ">#2478</a>
issue by <a
href="https://github.com/kmARC "><code>@kmARC</code></a>.</li>
</ul>
</li>
<li>Allow <code>pre-commit run --files</code> against unmerged paths.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2484 ">#2484</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Also apply regex warnings to <code>repo: local</code> hooks.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2524 ">#2524</a>
PR by <a
href="https://github.com/chrisRedwine "><code>@chrisRedwine</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2521 ">#2521</a>
issue by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li><code>rust</code> is now a "first class" language --
supporting <code>language_version</code> and installation when not
present.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2534 ">#2534</a>
PR by <a
href="https://github.com/Holzhaus "><code>@Holzhaus</code></a>.</li>
</ul>
</li>
<li><code>r</code> now uses more-reliable binary installation.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2460 ">#2460</a>
PR by <a
href="https://github.com/lorenzwalthert "><code>@lorenzwalthert</code></a>.</li>
</ul>
</li>
<li><code>GIT_ALLOW_PROTOCOL</code> is now passed through for git
operations.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2555 ">#2555</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li><code>GIT_ASKPASS</code> is now passed through for git operations.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2564 ">#2564</a>
PR by <a href="https://github.com/mattp "><code>@mattp</code></a>-.</li>
</ul>
</li>
<li>Remove <code>toml</code> dependency by using <code>cargo add</code>
directly.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2568 ">#2568</a>
PR by <a
href="https://github.com/m-rsha "><code>@m-rsha</code></a>.</li>
</ul>
</li>
<li>Support <code>dotnet</code> hooks which have dotted prefixes.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2641 ">#2641</a>
PR by <a href="https://github.com/rkm "><code>@rkm</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2629 ">#2629</a>
issue by <a href="https://github.com/rkm "><code>@rkm</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Properly adjust <code>--commit-msg-filename</code> if run from a sub
directory.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2459 ">#2459</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Simplify <code>--intent-to-add</code> detection by using <code>git
diff</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2580 ">#2580</a>
PR by <a
href="https://github.com/m-rsha "><code>@m-rsha</code></a>.</li>
</ul>
</li>
<li>Fix <code>R.exe</code> selection on windows.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2605 ">#2605</a>
PR 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/2599 ">#2599</a>
issue by <a
href="https://github.com/SInginc "><code>@SInginc</code></a>.</li>
</ul>
</li>
<li>Skip default <code>nuget</code> source when installing
<code>dotnet</code> packages.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2642 ">#2642</a>
PR by <a href="https://github.com/rkm "><code>@rkm</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>2.21.0 - 2022-12-25</h1>
<h3>Features</h3>
<ul>
<li>Require new-enough virtualenv to prevent 3.10 breakage
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2467 ">#2467</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Respect aliases with <code>SKIP</code> for environment install.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2480 ">#2480</a>
PR by <a href="https://github.com/kmARC "><code>@kmARC</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2478 ">#2478</a>
issue by <a
href="https://github.com/kmARC "><code>@kmARC</code></a>.</li>
</ul>
</li>
<li>Allow <code>pre-commit run --files</code> against unmerged paths.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2484 ">#2484</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Also apply regex warnings to <code>repo: local</code> hooks.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2524 ">#2524</a>
PR by <a
href="https://github.com/chrisRedwine "><code>@chrisRedwine</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2521 ">#2521</a>
issue by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li><code>rust</code> is now a "first class" language --
supporting <code>language_version</code> and
installation when not present.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2534 ">#2534</a>
PR by <a
href="https://github.com/Holzhaus "><code>@Holzhaus</code></a>.</li>
</ul>
</li>
<li><code>r</code> now uses more-reliable binary installation.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2460 ">#2460</a>
PR by <a
href="https://github.com/lorenzwalthert "><code>@lorenzwalthert</code></a>.</li>
</ul>
</li>
<li><code>GIT_ALLOW_PROTOCOL</code> is now passed through for git
operations.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2555 ">#2555</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li><code>GIT_ASKPASS</code> is now passed through for git operations.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2564 ">#2564</a>
PR by <a href="https://github.com/mattp "><code>@mattp</code></a>-.</li>
</ul>
</li>
<li>Remove <code>toml</code> dependency by using <code>cargo add</code>
directly.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2568 ">#2568</a>
PR by <a
href="https://github.com/m-rsha "><code>@m-rsha</code></a>.</li>
</ul>
</li>
<li>Support <code>dotnet</code> hooks which have dotted prefixes.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2641 ">#2641</a>
PR by <a href="https://github.com/rkm "><code>@rkm</code></a>.</li>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2629 ">#2629</a>
issue by <a href="https://github.com/rkm "><code>@rkm</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Properly adjust <code>--commit-msg-filename</code> if run from a sub
directory.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2459 ">#2459</a>
PR by <a
href="https://github.com/asottile "><code>@asottile</code></a>.</li>
</ul>
</li>
<li>Simplify <code>--intent-to-add</code> detection by using <code>git
diff</code>.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2580 ">#2580</a>
PR by <a
href="https://github.com/m-rsha "><code>@m-rsha</code></a>.</li>
</ul>
</li>
<li>Fix <code>R.exe</code> selection on windows.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2605 ">#2605</a>
PR 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/2599 ">#2599</a>
issue by <a
href="https://github.com/SInginc "><code>@SInginc</code></a>.</li>
</ul>
</li>
<li>Skip default <code>nuget</code> source when installing
<code>dotnet</code> packages.
<ul>
<li><a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2642 ">#2642</a>
PR by <a href="https://github.com/rkm "><code>@rkm</code></a>.</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="40c5bdad65 "><code>40c5bda</code></a>
v2.21.0</li>
<li><a
href="bb27ea32cd "><code>bb27ea3</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2642 ">#2642</a>
from rkm/fix/dotnet-nuget-config</li>
<li><a
href="c38e0c7ba8 "><code>c38e0c7</code></a>
dotnet: ignore nuget source during tool install</li>
<li><a
href="bce513fac6 "><code>bce513f</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2641 ">#2641</a>
from rkm/fix/dotnet-tool-prefix</li>
<li><a
href="e904628830 "><code>e904628</code></a>
fix dotnet hooks with prefixes</li>
<li><a
href="d7b8b123e6 "><code>d7b8b12</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2646 ">#2646</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="94b6178906 "><code>94b6178</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="b474a83463 "><code>b474a83</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2643 ">#2643</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="a179808bfe "><code>a179808</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="3aa6206e4f "><code>3aa6206</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2605 ">#2605</a>
from lorenzwalthert/r/fix-exe</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v2.20.0...v2.21.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>
2022-12-26 07:35:08 -06:00
Jamil
fbb05b9e7e
Fix sites.endpoint default when EXTERNAL_URL is missing ( #1238 )
...
This populates the `sites.endpoint` field with the WIREGUARD_ENDPOINT
variable and removes it from env vars reference.
cc @conectado
Fixes #1237
2022-12-24 18:16:55 -06:00
Jamil
8976132c15
Fix InstallBlock links using BrowserOnly ( #1239 )
...
Fixes the PublishDocs workflow.
2022-12-24 18:15:26 -06:00
Jamil
de3919fb69
Add SupportOptions component and utm_source for links ( #1219 )
...
This PR also moves to `yarn` for docs package management for improved
speed, security, and developer experience. Docusaurus prefers yarn.
Refs firezone/marketing#126
2022-12-24 16:16:55 -06:00
Jamil
f749ba2bb2
Change foreign key constraint to cascading delete ( #1235 )
...
Fixes #1234
2022-12-24 07:09:37 -06:00
Austin Saunders
9eb622fe39
Removes hammer and hammer_plug deps and their code references ( #1230 )
...
Resolves Issue https://github.com/firezone/firezone/issues/1216
Co-authored-by: Austin Saunders <austinsaunders@paczek.lan >
2022-12-24 05:32:01 -06:00
Gabi
e49d5631a5
fix: endpoint migration when EXTERNAL_URL is not present ( #1232 )
...
For `URI.parse` to work the URI needs to be a FQDN otherwise `nil` is
returned.
2022-12-23 18:13:11 -06:00
Jamil
38c41feb67
Don't cache Elixir build in static_analysis workflow ( #1227 )
...
Still [having
issues](https://github.com/firezone/firezone/actions/runs/3759257641 )
with the Elixir cache.
Things tried that didn't work:
- Namespacing by branch name. Github does this already.
- Removing the `restore-keys` in order to only restore the cache if it's
a direct hit.
The `static_analysis` workflow runs `mix compile --force
--warnings-as-errors` which doesn't use the build cache, so it's
removed, which fixes the problem.
2022-12-22 13:08:04 -06:00
Jamil
5e8407c017
Fix missing PLT cache key ( #1225 )
2022-12-21 23:35:49 -06:00
Jamil
26cb59d74b
Fix rollback for release_test.exs due to Ecto 3.9.2 ( #1223 )
...
* Fix rollback for release_test.exs due to Ecto 3.9.2
4371bb7de8
* We don't support rollbacks
* Update .github/workflows/static_analysis.yml
Co-authored-by: Andrew Dryga <andrew@dryga.com >
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Co-authored-by: Andrew Dryga <andrew@dryga.com >
2022-12-21 13:42:31 -06:00
Jamil
495109a418
Support more dense QR codes with error correction level L ( #1222 )
...
This also removes the QR code <canvas> from the DOM if there's a
render error.
Fixes #1217
2022-12-21 13:10:41 -06:00
Jamil
3a2c03d98f
Use $tid
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-20 22:27:43 -06:00
Jamil
7e34b0fc71
Fix install script param
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-20 22:24:48 -06:00
Jamil
25e7de4f24
Enrichment ( #1220 )
...
* Debug TID
* Use new TID from wrapped install script
* Add as script param
2022-12-20 22:20:30 -06:00
Jamil
ed6784d598
Update upgrade.mdx
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-19 11:00:22 -06:00
Jamil
8a677272a4
Add note about WIREGUARD_ env vars moving to DB
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-19 08:58:13 -06:00
Jamil
ccf2ecd633
Document WIREGUARD_MTU is for server interface only ( #1212 )
...
Client configs will be generated based on runtime configuration
stored in the `sites` table, while server configuration (which
requires a restart of the server) will be configurable via ENV vars.
Refs #1270
2022-12-19 07:37:56 -06:00
Jamil
2b216a1d58
Update Docker IPv6 CIDR to use 2001:db8:1::/64 ( #1213 )
...
See https://github.com/firezone/firezone/issues/1202#issuecomment-1357294785
2022-12-19 07:37:36 -06:00
dependabot[bot]
0a6807c8fa
Bump wireguardex from 0.3.5 to 0.3.6 ( #1209 )
...
Bumps [wireguardex](https://github.com/firezone/wireguardex ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/firezone/wireguardex/releases )
- [Commits](https://github.com/firezone/wireguardex/compare/v0.3.5...v0.3.6 )
---
updated-dependencies:
- dependency-name: wireguardex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 06:03:38 -06:00
Jamil
ec3c075c67
Use site table fields, not ENV vars for optional WireGuard config ( #1207 )
...
This takes us a step closer to having all runtime config
in the DB as opposed to ENV vars.
Fixes #1197
2022-12-18 21:39:33 -06:00
Jamil
acf29dcab9
Fix whitespace ( #1208 )
2022-12-18 21:15:46 -06:00
Jason G
5f6685c5aa
General Docs Improvements ( #1194 )
...
* docs: add logs and update troubleshooting
Updates the troubleshooting doc for Docker based deployments and adds a general logs doc with more info on what Firezone logs.
Also added a mention of Audit logs in beta to source more convos.
* docs: further Docker clarifications
Clarifying some troubleshooting guides that refer to firezone-ctl.
Not everyone arrives at the env-vars or config file through the deploy/configure guide. Some load these pages directly via search. Adding a more prominent note that it's for Omnibus based deploy.
* docs: add troubleshooting docs on locked out state
Adding a section on reseting admin passwords for both docker and omnibus deployments. I realize we removed the omnibus firezone-ctl reference. I won't add it back since I have no idea where to put it.
* docs: update split tunnel doc
Was originally going to write more about other ways you can achieve split tunneling with wireguard, but will leave that for now
* fix whitespace
* update split tunnel doc
* docs: add DNS considerations to split tunnel doc
https://github.com/firezone/product/issues/527
* update split tunnel doc
* further clarify split tunnel doc
* add note about on-demand feature
* Docs - Improve titles and descriptions (#1187 )
* docs: update titles, descriptions
Changes:
- set more descriptive titles (better for readers and SEO)
- add meta descriptions
- convert titles to sentence case for consistency
* docs: small fixes
* fix trailing whitespaces
* fix spelling
* Apply suggestions from code review
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jason G <jason@firez.one >
* add descriptions to client instructions
Signed-off-by: Jason G <jason@firez.one >
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
* chore: update logs doc
* chore: apply suggestions from code review
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jason G <jason@firez.one >
* chore: line length and log description
* chore: rename debug logs
* chore: apply suggestions from code review
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jason G <jason@firez.one >
* Docs - Add draft whitelist sso doc (#1185 )
* doc: adding whitelist sso doc
redo of https://github.com/firezone/firezone/pull/995
* docs: add seo titles
* docs: improve titles
* grammar fixes
* fix trailing whitespace
apparently my vscode plugin does not find trailing whitespace in front matter
* put doc in draftmode
* add note on wireguard client apps
* Revert "add note on wireguard client apps"
This reverts commit 9013ce1c3b1bcb8b825f0fcbb1c5fe7e050cae82.
* Apply suggestions from code review
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jason G <jason@firez.one >
Signed-off-by: Jason G <jason@firez.one >
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
* chore: apply suggestions from code review
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jason G <jason@firez.one >
* chore: Update docs/docs/user-guides/client-instructions.mdx
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jason G <jason@firez.one >
* chore: update title capitalization and other small fixes
* Apply suggestions from code review
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jason G <jason@firez.one >
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Co-authored-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-18 21:07:11 -06:00
Jamil
6978504da0
Allow IPv6 remote_ips in StatsUpdater ( #1206 )
...
This fixes a bug where we assumed a peer's `endpoint`
(and therefore device `remote_ip`) would always be
an IPv4 address.
2022-12-18 18:10:22 -06:00
Jamil
c18d52cec8
Fix IPv6 routing for Docker-based deployments ( #1204 )
...
* Add instructions for enabling IPv6 within Docker
IPv6 routing is disabled by default on Docker. To have IPv6 work in Firezone
the same way IPv4 currently does (and IPv6 on Omnibus), four things are
generally required:
1. First, ensure your Docker host has IPv6 correctly set up with a quick
ping test:
```
> ping6 -c 4 google.com
PING google.com(sfo03s32-in-x0e.1e100.net (2607:f8b0:4005:814::200e)) 56 data bytes
64 bytes from sfo03s32-in-x0e.1e100.net (2607:f8b0:4005:814::200e): icmp_seq=1 ttl=51 time=1.96 ms
64 bytes from sfo03s32-in-x0e.1e100.net (2607:f8b0:4005:814::200e): icmp_seq=2 ttl=51 time=1.94 ms
64 bytes from sfo03s32-in-x0e.1e100.net (2607:f8b0:4005:814::200e): icmp_seq=3 ttl=51 time=1.92 ms
64 bytes from sfo03s32-in-x0e.1e100.net (2607:f8b0:4005:814::200e): icmp_seq=4 ttl=51 time=1.90 ms
```
2. Add an IPv6 address, subnet, and `enable_ipv6: true` to the Docker
compose. **Note**: Various Googling around the interwebs will uncover
the myth that `enable_ipv6` is not supported on Docker Compose file
versions 3+ -- this seems to be incorrect. Leaving out `enable_ipv6: true`
prevented Docker from automatically assigning IPv6 addresses for
containers attaching to that network.
3. Add the following to `/etc/docker/daemon.json`:
```json
{
"ipv6": true,
"ip6tables": true,
"experimental": true,
"fixed-cidr-v6": "fd00:dead:beef::/80"
}
```
4. The above causes Docker to automatically add `ip6tables` rules to
set up IPv6 NAT/Masquerade for containers. However, this breaks DHCPv6
Router Advertisements, so you'll need to re-enable them for your
default interface with:
```
egress=`ip route show default 0.0.0.0/0 | grep -oP '(?<=dev ).*' | cut -f1 -d' ' | tr -d '\n'`
sudo echo "net.ipv6.conf.${egress}.accept_ra=2" >> /etc/sysctl.conf
```
* Fix bash cmd
* Apply suggestions from code review
Self-review
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
* Apply suggestions from code review
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-18 16:49:36 -06:00
Jamil
eab4a3c13e
Add IPv6 address to interface ( #1203 )
2022-12-17 18:17:23 -08:00
Andrew
d8a6e1712c
Move IdP services to separate docker compose file ( #1198 )
...
* Move keycloak service in docker-compose.yml to commented out section for IdPs
* Move IdP services to separate compose file.
* fix whitespace
2022-12-17 08:31:07 -08:00
dependabot[bot]
3e380cdfc8
Bump rubocop from 1.39.0 to 1.40.0 ( #1195 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.39.0...v1.40.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 07:35:32 -08:00
Jamil
171d2895e0
Revert offline_access
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-13 05:17:56 -08:00
Jamil
953ba80312
Add offline_access to Google doc
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-13 01:37:48 -08:00
Jamil
1cbd96be6d
Fix double-quotes in docker migrate
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-12-11 14:09:28 -08:00
Jamil
0a19c67cd1
Use application_version() to link back to repo ( #1181 )
2022-12-07 11:11:30 -08:00
Andrew Dryga
28fe571543
Small improvements to make setup process easier for OS contributors ( #1171 )
...
* Remove _build folders for umbrella apps
For umbrella apps everything goes into /_build directory so there no need to ignore directories that should never be created
* Change mix aliases to be more aligned with what OS community would expect
1. We want ecto.create and ecto.migrate to be run on each tests, this will simplify setup steps (no need to run migrations manually)
2. ecto.remigrate is not needed because now you can just run ecto.drop and on tests migrations would be executed anyways.
* Rename docker-compose step name in CONTRIBUTING.md
The step was renamed here: dd67baf629 (diff-67a4805fdcc6145d7b3ada2a6099a9b2e91c9d0fd108c22f95d2f01d219793d1R10)
* Remove .devcontainer
This an is opinionated change. Right now devcontainer doesn't work but should be easy to fix (with renaming step name), but at the same time it forces developers that use VS code to have unified development environment (including plugins for the editor itself).
I feel like it's not a good path to go for OS and for small team - everyone should be allowed to use setup they like. Especially for people like me that tend to recompile ls-elixir for Elixir plugin from master branch.
Plus it's yet another thing to maintain while nobody on the team is using it, which means it will be always causing issues.
* Make fz_http mix.exs aliases aligned with umbrella app ones
* Redirect stderr to stdout in a command called from dev.exs
Otherwise I'm getting this on my MacOS (that has a `route` implementation that doesn't show interfaces) when `mix phx.server` is executed:
```
usage: route [-dnqtv] command [[modifiers] args]
```
* Fix race condition due to static device field values
Both public_key and name are unique and we should not use static values for field covered by unique index, otherwise deadlocks and slow tests are expected.
* Remove unwanted transaction block
The changeset code doesn't have any code that accesses the database and individual Ecto.SQL commands are already wrapped in transactions by default, so there is no need to start it manually and hold for longer than expected (while irrelevant Elixir code is running).
* Use netstat to identify egress interface on MacOS
* Rename uninstall.sh to omnibus-uninstall.sh
* Fix uninstall path in omnibus_build.yml
2022-12-06 15:07:45 -08:00
dependabot[bot]
94061a3581
Bump hammer_plug from 2.1.1 to 3.0.0 ( #1176 )
...
Bumps [hammer_plug](https://github.com/ExHammer/hammer-plug ) from 2.1.1 to 3.0.0.
- [Release notes](https://github.com/ExHammer/hammer-plug/releases )
- [Changelog](https://github.com/ExHammer/hammer-plug/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ExHammer/hammer-plug/compare/v2.1.1...v3.0.0 )
---
updated-dependencies:
- dependency-name: hammer_plug
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 14:32:58 -08:00
Jamil
1feaf2ce12
Fix AsyncAPI specification errors ( #1177 )
...
Needed for the work @connectado is doing with the WebSocket API.
2022-12-06 13:02:40 -08:00
dependabot[bot]
1dde0c1952
Bump phoenix_live_reload from 1.4.0 to 1.4.1 ( #1174 )
...
Bumps [phoenix_live_reload](https://github.com/phoenixframework/phoenix_live_reload ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/phoenixframework/phoenix_live_reload/releases )
- [Changelog](https://github.com/phoenixframework/phoenix_live_reload/blob/master/CHANGELOG.md )
- [Commits](https://github.com/phoenixframework/phoenix_live_reload/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: phoenix_live_reload
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 22:06:39 -08:00
Jamil
f4cc03454e
Wrap magic link with url() ( #1170 )
...
This broke when I introduced ~p across the codebase.
2022-12-03 08:19:21 -08:00
Jason G
73de8c3f33
docs: fix setup instruction ( #1168 )
2022-12-02 11:49:48 -08:00
Jamil
25145bba47
Update Docker migration script to match install improvements ( #1166 )
2022-12-02 07:34:21 -08:00
Philipp Bammes
47dd620d55
fix typo "MacOS" in user documentation ( #1161 )
...
Signed-off-by: Philipp Bammes <8144115+tyrann0us@users.noreply.github.com >
Signed-off-by: Philipp Bammes <8144115+tyrann0us@users.noreply.github.com >
2022-12-01 07:36:03 -08:00
Jamil
6d1010c21b
Use complete Firezone URL for post_logout_uri ( #1160 )
2022-11-30 22:27:21 -08:00
Jamil
e32df103c9
Add missing cd step
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-11-30 21:29:45 -08:00
Jamil
7a1ffd8c4f
Fix build cache
...
Signed-off-by: Jamil <jamilbk@users.noreply.github.com >
2022-11-28 21:20:24 -08:00
dependabot[bot]
e99532232d
Bump excoveralls from 0.15.0 to 0.15.1 ( #1154 )
...
Bumps [excoveralls](https://github.com/parroty/excoveralls ) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/parroty/excoveralls/releases )
- [Changelog](https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md )
- [Commits](https://github.com/parroty/excoveralls/compare/v0.15.0...v0.15.1 )
---
updated-dependencies:
- dependency-name: excoveralls
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 13:15:47 -08:00
dependabot[bot]
7f4dd93038
Bump guardian from 2.3.0 to 2.3.1 ( #1153 )
...
Bumps [guardian](https://github.com/ueberauth/guardian ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ueberauth/guardian/releases )
- [Changelog](https://github.com/ueberauth/guardian/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ueberauth/guardian/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: guardian
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 10:17:50 -08:00
dependabot[bot]
990b36fa5f
Bump akhilerm/tag-push-action from 2.0.0 to 2.1.0 ( #1152 )
...
Bumps [akhilerm/tag-push-action](https://github.com/akhilerm/tag-push-action ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/akhilerm/tag-push-action/releases )
- [Commits](https://github.com/akhilerm/tag-push-action/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: akhilerm/tag-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 08:27:51 -08:00