Stephen Kirby
d15c4702b0
chore: add cherry-picks for patch 2.18.2 ( #16061 )
...
Co-authored-by: Cian Johnston <cian@coder.com >
Co-authored-by: Joobi S B <joobisb@gmail.com >
2025-01-07 15:05:04 -06:00
Stephen Kirby
765d99caa3
chore: cherry-pick commits for 2.18.1 ( #15885 )
...
Co-authored-by: Cian Johnston <cian@coder.com >
Co-authored-by: Eric Paulsen <ericpaulsen@coder.com >
Co-authored-by: Sas Swart <sas.swart.cdk@gmail.com >
2024-12-16 13:49:21 -06:00
Stephen Kirby
c5e87690be
chore: acquire lock for individual workspace transition ( #15883 )
...
When Coder is ran in High Availability mode, each Coder instance has a
lifecycle executor. These lifecycle executors are all trying to do the
same work, and whilst transactions saves us from this causing an issue,
we are still doing extra work that could be prevented.
This PR adds a `TryAcquireLock` call for each attempted workspace
transition, meaning two Coder instances shouldn't duplicate effort.
(cherry picked from commit 50ff06cc3c )
Co-authored-by: Danielle Maywood <danielle@themaywoods.com >
2024-12-16 12:01:04 -06:00
Phorcys
4097ec3a6d
fix(examples/templates/aws-linux): (backport) add hashicorp/cloudinit provider ( #15796 )
...
Backport #15794
2024-12-09 19:48:59 +05:00
Jon Ayers
d8651d7682
fix: remove dylib job from release workflow ( #15736 )
...
cc @ethanndickson some errors happening when trying to run the release
workflow
2024-12-03 22:51:15 +02:00
Stephen Kirby
41359ce2fd
chore: add cherry-picks for release 2.18 ( #15735 )
...
Co-authored-by: Hugo Dutka <hugo@coder.com >
Co-authored-by: Sas Swart <sas.swart.cdk@gmail.com >
Co-authored-by: Spike Curtis <spike@coder.com >
Co-authored-by: Cian Johnston <cian@coder.com >
2024-12-03 13:58:07 -06:00
Jon Ayers
45d9274aca
chore: disable parallelization when running security action ( #15666 )
...
- `make -j` appears to be broken for clean builds
2024-11-26 23:35:51 +02:00
Muhammad Atif Ali
a9195bfe74
docs: add Amazon DCV Windows module to guides ( #15610 )
2024-11-26 21:41:22 +05:00
Muhammad Atif Ali
35594bb7fd
chore: update testify to v1.9.0 in go.sum ( #15662 )
2024-11-26 12:41:20 +00:00
dependabot[bot]
84395730dc
chore: bump github.com/mocktools/go-smtp-mock/v2 from 2.3.0 to 2.4.0 ( #15644 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 16:26:59 +05:00
dependabot[bot]
0239507ee2
chore: bump github.com/gohugoio/hugo from 0.138.0 to 0.139.2 ( #15646 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 16:26:08 +05:00
dependabot[bot]
db6d345516
chore: bump github.com/coder/serpent from 0.9.0 to 0.10.0 ( #15645 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 16:25:26 +05:00
dependabot[bot]
ab8769e369
chore: bump github.com/stretchr/testify from 1.9.0 to 1.10.0 ( #15648 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify )
from 1.9.0 to 1.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stretchr/testify/releases ">github.com/stretchr/testify's
releases</a>.</em></p>
<blockquote>
<h2>v1.10.0</h2>
<h2>What's Changed</h2>
<h3>Functional Changes</h3>
<ul>
<li>Add PanicAssertionFunc by <a
href="https://github.com/fahimbagar "><code>@fahimbagar</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1337 ">stretchr/testify#1337</a></li>
<li>assert: deprecate CompareType by <a
href="https://github.com/dolmen "><code>@dolmen</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1566 ">stretchr/testify#1566</a></li>
<li>assert: make YAML dependency pluggable via build tags by <a
href="https://github.com/dolmen "><code>@dolmen</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1579 ">stretchr/testify#1579</a></li>
<li>assert: new assertion NotElementsMatch by <a
href="https://github.com/hendrywiranto "><code>@hendrywiranto</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1600 ">stretchr/testify#1600</a></li>
<li>mock: in order mock calls by <a
href="https://github.com/ReyOrtiz "><code>@ReyOrtiz</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1637 ">stretchr/testify#1637</a></li>
<li>Add assertion for NotErrorAs by <a
href="https://github.com/palsivertsen "><code>@palsivertsen</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1129 ">stretchr/testify#1129</a></li>
<li>Record Return Arguments of a Call by <a
href="https://github.com/jayd3e "><code>@jayd3e</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1636 ">stretchr/testify#1636</a></li>
<li>assert.EqualExportedValues: accepts everything by <a
href="https://github.com/redachl "><code>@redachl</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1586 ">stretchr/testify#1586</a></li>
</ul>
<h3>Fixes</h3>
<ul>
<li>assert: make tHelper a type alias by <a
href="https://github.com/dolmen "><code>@dolmen</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1562 ">stretchr/testify#1562</a></li>
<li>Do not get argument again unnecessarily in Arguments.Error() by <a
href="https://github.com/TomWright "><code>@TomWright</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/820 ">stretchr/testify#820</a></li>
<li>Fix time.Time compare by <a
href="https://github.com/myxo "><code>@myxo</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1582 ">stretchr/testify#1582</a></li>
<li>assert.Regexp: handle []byte array properly by <a
href="https://github.com/kevinburkesegment "><code>@kevinburkesegment</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1587 ">stretchr/testify#1587</a></li>
<li>assert: collect.FailNow() should not panic by <a
href="https://github.com/marshall-lee "><code>@marshall-lee</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1481 ">stretchr/testify#1481</a></li>
<li>mock: simplify implementation of FunctionalOptions by <a
href="https://github.com/dolmen "><code>@dolmen</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1571 ">stretchr/testify#1571</a></li>
<li>mock: caller information for unexpected method call by <a
href="https://github.com/spirin "><code>@spirin</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1644 ">stretchr/testify#1644</a></li>
<li>suite: fix test failures by <a
href="https://github.com/stevenh "><code>@stevenh</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1421 ">stretchr/testify#1421</a></li>
<li>Fix issue <a
href="https://redirect.github.com/stretchr/testify/issues/1662 ">#1662</a>
(comparing infs should fail) by <a
href="https://github.com/ybrustin "><code>@ybrustin</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1663 ">stretchr/testify#1663</a></li>
<li>NotSame should fail if args are not pointers <a
href="https://redirect.github.com/stretchr/testify/issues/1661 ">#1661</a>
by <a href="https://github.com/sikehish "><code>@sikehish</code></a> in
<a
href="https://redirect.github.com/stretchr/testify/pull/1664 ">stretchr/testify#1664</a></li>
<li>Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in
CI by <a href="https://github.com/sikehish "><code>@sikehish</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1667 ">stretchr/testify#1667</a></li>
<li>fix: compare functional option names for indirect calls by <a
href="https://github.com/arjun-1 "><code>@arjun-1</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1626 ">stretchr/testify#1626</a></li>
</ul>
<h3>Documantation, Build & CI</h3>
<ul>
<li>.gitignore: ignore "go test -c" binaries by <a
href="https://github.com/dolmen "><code>@dolmen</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1565 ">stretchr/testify#1565</a></li>
<li>mock: improve doc by <a
href="https://github.com/dolmen "><code>@dolmen</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1570 ">stretchr/testify#1570</a></li>
<li>mock: fix FunctionalOptions docs by <a
href="https://github.com/snirye "><code>@snirye</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1433 ">stretchr/testify#1433</a></li>
<li>README: link out to the excellent testifylint by <a
href="https://github.com/brackendawson "><code>@brackendawson</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1568 ">stretchr/testify#1568</a></li>
<li>assert: fix typo in comment by <a
href="https://github.com/JohnEndson "><code>@JohnEndson</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1580 ">stretchr/testify#1580</a></li>
<li>Correct the EventuallyWithT and EventuallyWithTf example by <a
href="https://github.com/JonCrowther "><code>@JonCrowther</code></a> in
<a
href="https://redirect.github.com/stretchr/testify/pull/1588 ">stretchr/testify#1588</a></li>
<li>CI: bump softprops/action-gh-release from 1 to 2 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1575 ">stretchr/testify#1575</a></li>
<li>mock: document more alternatives to deprecated
AnythingOfTypeArgument by <a
href="https://github.com/dolmen "><code>@dolmen</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1569 ">stretchr/testify#1569</a></li>
<li>assert: Correctly document EqualValues behavior by <a
href="https://github.com/brackendawson "><code>@brackendawson</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1593 ">stretchr/testify#1593</a></li>
<li>fix: grammar in godoc by <a
href="https://github.com/miparnisari "><code>@miparnisari</code></a> in
<a
href="https://redirect.github.com/stretchr/testify/pull/1607 ">stretchr/testify#1607</a></li>
<li>.github/workflows: Run tests for Go 1.22 by <a
href="https://github.com/HaraldNordgren "><code>@HaraldNordgren</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1629 ">stretchr/testify#1629</a></li>
<li>Document suite's lack of support for t.Parallel by <a
href="https://github.com/brackendawson "><code>@brackendawson</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1645 ">stretchr/testify#1645</a></li>
<li>assert: fix typos in comments by <a
href="https://github.com/alexandear "><code>@alexandear</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1650 ">stretchr/testify#1650</a></li>
<li>mock: fix doc comment for NotBefore by <a
href="https://github.com/alexandear "><code>@alexandear</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1651 ">stretchr/testify#1651</a></li>
<li>Generate better comments for require package by <a
href="https://github.com/Neokil "><code>@Neokil</code></a> in <a
href="https://redirect.github.com/stretchr/testify/pull/1610 ">stretchr/testify#1610</a></li>
<li>README: replace Testify V2 notice with <a
href="https://github.com/dolmen "><code>@dolmen</code></a>'s V2
manifesto by <a
href="https://github.com/hendrywiranto "><code>@hendrywiranto</code></a>
in <a
href="https://redirect.github.com/stretchr/testify/pull/1518 ">stretchr/testify#1518</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/fahimbagar "><code>@fahimbagar</code></a> made
their first contribution in <a
href="https://redirect.github.com/stretchr/testify/pull/1337 ">stretchr/testify#1337</a></li>
<li><a href="https://github.com/TomWright "><code>@TomWright</code></a>
made their first contribution in <a
href="https://redirect.github.com/stretchr/testify/pull/820 ">stretchr/testify#820</a></li>
<li><a href="https://github.com/snirye "><code>@snirye</code></a> made
their first contribution in <a
href="https://redirect.github.com/stretchr/testify/pull/1433 ">stretchr/testify#1433</a></li>
<li><a href="https://github.com/myxo "><code>@myxo</code></a> made their
first contribution in <a
href="https://redirect.github.com/stretchr/testify/pull/1582 ">stretchr/testify#1582</a></li>
<li><a
href="https://github.com/JohnEndson "><code>@JohnEndson</code></a> made
their first contribution in <a
href="https://redirect.github.com/stretchr/testify/pull/1580 ">stretchr/testify#1580</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stretchr/testify/commit/89cbdd9e7b39eb58896d316a7495597d3aba4371 "><code>89cbdd9</code></a>
Merge pull request <a
href="https://redirect.github.com/stretchr/testify/issues/1626 ">#1626</a>
from arjun-1/fix-functional-options-diff-indirect-calls</li>
<li><a
href="https://github.com/stretchr/testify/commit/07bac606be2191ae89a281195e58d01e0de7b5f8 "><code>07bac60</code></a>
Merge pull request <a
href="https://redirect.github.com/stretchr/testify/issues/1667 ">#1667</a>
from sikehish/flaky</li>
<li><a
href="https://github.com/stretchr/testify/commit/716de8dff46ed7ae3c6ebb7a6124db741ba7c018 "><code>716de8d</code></a>
Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in
CI</li>
<li><a
href="https://github.com/stretchr/testify/commit/118fb8346630c192421c8914848381af9d4412a7 "><code>118fb83</code></a>
NotSame should fail if args are not pointers <a
href="https://redirect.github.com/stretchr/testify/issues/1661 ">#1661</a>
(<a
href="https://redirect.github.com/stretchr/testify/issues/1664 ">#1664</a>)</li>
<li><a
href="https://github.com/stretchr/testify/commit/7d99b2b43d8f60a8982a78cde6e8bd287dea5da0 "><code>7d99b2b</code></a>
attempt 2</li>
<li><a
href="https://github.com/stretchr/testify/commit/05f87c016035811e6d8371f1887ec360c318f53f "><code>05f87c0</code></a>
more similar</li>
<li><a
href="https://github.com/stretchr/testify/commit/ea7129e00694592e20cb34c58a6b8a251418b9da "><code>ea7129e</code></a>
better fmt</li>
<li><a
href="https://github.com/stretchr/testify/commit/a1b9c9efe3c25c50678b1e492045164b914e255f "><code>a1b9c9e</code></a>
Merge pull request <a
href="https://redirect.github.com/stretchr/testify/issues/1663 ">#1663</a>
from ybrustin/master</li>
<li><a
href="https://github.com/stretchr/testify/commit/8302de98b17649445fc1f1992fc3fecdb40c59ba "><code>8302de9</code></a>
Merge branch 'master' into master</li>
<li><a
href="https://github.com/stretchr/testify/commit/89352f7958086841c72425ccd6f43ab299e1309c "><code>89352f7</code></a>
Merge pull request <a
href="https://redirect.github.com/stretchr/testify/issues/1518 ">#1518</a>
from hendrywiranto/adjust-readme-remove-v2</li>
<li>Additional commits viewable in <a
href="https://github.com/stretchr/testify/compare/v1.9.0...v1.10.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 16:24:27 +05:00
dependabot[bot]
9e78aaeea3
ci: bump the github-actions group with 3 updates ( #15649 )
...
Bumps the github-actions group with 3 updates:
[step-security/harden-runner](https://github.com/step-security/harden-runner ),
[github/codeql-action](https://github.com/github/codeql-action ) and
[aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `step-security/harden-runner` from 2.10.1 to 2.10.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/step-security/harden-runner/releases ">step-security/harden-runner's
releases</a>.</em></p>
<blockquote>
<h2>v2.10.2</h2>
<h2>What's Changed</h2>
<ol>
<li>
<p>Fixes low-severity command injection weaknesses
The advisory is here: <a
href="https://github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc ">https://github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc </a></p>
</li>
<li>
<p>Bug fix to improve detection of whether Harden-Runner is running in a
container</p>
</li>
</ol>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/step-security/harden-runner/compare/v2...v2.10.2 ">https://github.com/step-security/harden-runner/compare/v2...v2.10.2 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/step-security/harden-runner/commit/0080882f6c36860b6ba35c610c98ce87d4e2f26f "><code>0080882</code></a>
Merge pull request <a
href="https://redirect.github.com/step-security/harden-runner/issues/476 ">#476</a>
from step-security/rc-16</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/4a3a88bbf8f2e304f84e1042472c02dce37eba82 "><code>4a3a88b</code></a>
Update dist</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/556aae632a6c1f630efa52e90d706218618e5f2f "><code>556aae6</code></a>
Merge pull request <a
href="https://redirect.github.com/step-security/harden-runner/issues/480 ">#480</a>
from h0x0er/jatin/cleanup</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/6c39b8466160e86ad8606033d399fe7f4052aee1 "><code>6c39b84</code></a>
chore: clean the code</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/40401cf6183a0ab2dae5c7e485c1d073fe911e91 "><code>40401cf</code></a>
Update for isdocker</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/806ab1cccb47a439a89d5f8f85d3ea41a7fb1e4c "><code>806ab1c</code></a>
Update check for isdocker</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/28468118cdb665b2214b64175253b83fcb4b25f6 "><code>2846811</code></a>
update dist</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/df8a07c1712fac199e8d6e78d64a46092afffa44 "><code>df8a07c</code></a>
Merge pull request <a
href="https://redirect.github.com/step-security/harden-runner/issues/475 ">#475</a>
from h0x0er/fix-execSync</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/30636fb583e59a926da2f17677e5cd3b63cf1be1 "><code>30636fb</code></a>
bug fixes</li>
<li>See full diff in <a
href="https://github.com/step-security/harden-runner/compare/91182cccc01eb5e619899d80e4e971d6181294a7...0080882f6c36860b6ba35c610c98ce87d4e2f26f ">compare
view</a></li>
</ul>
</details>
<br />
Updates `github/codeql-action` from 3.27.4 to 3.27.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/releases ">github/codeql-action's
releases</a>.</em></p>
<blockquote>
<h2>v3.27.5</h2>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases ">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>3.27.5 - 19 Nov 2024</h2>
<p>No user facing changes.</p>
<p>See the full <a
href="https://github.com/github/codeql-action/blob/v3.27.5/CHANGELOG.md ">CHANGELOG.md</a>
for more information.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md ">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases ">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.27.5 - 19 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.4 - 14 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.3 - 12 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.2 - 12 Nov 2024</h2>
<ul>
<li>Fixed an issue where setting up the CodeQL tools would sometimes
fail with the message "Invalid value 'undefined' for header
'authorization'". <a
href="https://redirect.github.com/github/codeql-action/pull/2590 ">#2590</a></li>
</ul>
<h2>3.27.1 - 08 Nov 2024</h2>
<ul>
<li>The CodeQL Action now downloads bundles compressed using Zstandard
on GitHub Enterprise Server when using Linux or macOS runners. This
speeds up the installation of the CodeQL tools. This feature is already
available to GitHub.com users. <a
href="https://redirect.github.com/github/codeql-action/pull/2573 ">#2573</a></li>
<li>Update default CodeQL bundle version to 2.19.3. <a
href="https://redirect.github.com/github/codeql-action/pull/2576 ">#2576</a></li>
</ul>
<h2>3.27.0 - 22 Oct 2024</h2>
<ul>
<li>Bump the minimum CodeQL bundle version to 2.14.6. <a
href="https://redirect.github.com/github/codeql-action/pull/2549 ">#2549</a></li>
<li>Fix an issue where the <code>upload-sarif</code> Action would fail
with "upload-sarif post-action step failed: Input required and not
supplied: token" when called in a composite Action that had a
different set of inputs to the ones expected by the
<code>upload-sarif</code> Action. <a
href="https://redirect.github.com/github/codeql-action/pull/2557 ">#2557</a></li>
<li>Update default CodeQL bundle version to 2.19.2. <a
href="https://redirect.github.com/github/codeql-action/pull/2552 ">#2552</a></li>
</ul>
<h2>3.26.13 - 14 Oct 2024</h2>
<p>No user facing changes.</p>
<h2>3.26.12 - 07 Oct 2024</h2>
<ul>
<li>
<p><em>Upcoming breaking change</em>: Add a deprecation warning for
customers using CodeQL version 2.14.5 and earlier. These versions of
CodeQL were discontinued on 24 September 2024 alongside GitHub
Enterprise Server 3.10, and will be unsupported by CodeQL Action
versions 3.27.0 and later and versions 2.27.0 and later. <a
href="https://redirect.github.com/github/codeql-action/pull/2520 ">#2520</a></p>
<ul>
<li>
<p>If you are using one of these versions, please update to CodeQL CLI
version 2.14.6 or later. For instance, if you have specified a custom
version of the CLI using the 'tools' input to the 'init' Action, you can
remove this input to use the default version.</p>
</li>
<li>
<p>Alternatively, if you want to continue using a version of the CodeQL
CLI between 2.13.5 and 2.14.5, you can replace
<code>github/codeql-action/*@v3</code> by
<code>github/codeql-action/*@v3.26.11 </code> and
<code>github/codeql-action/*@v2</code> by
<code>github/codeql-action/*@v2.26.11 </code> in your code scanning
workflow to ensure you continue using this version of the CodeQL
Action.</p>
</li>
</ul>
</li>
</ul>
<h2>3.26.11 - 03 Oct 2024</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/f09c1c0a94de965c15400f5634aa42fac8fb8f88 "><code>f09c1c0</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2616 ">#2616</a>
from github/update-v3.27.5-a6c8729a5</li>
<li><a
href="https://github.com/github/codeql-action/commit/67b73eaba559c7e6913377065b0362ccbfc94e87 "><code>67b73ea</code></a>
Update changelog for v3.27.5</li>
<li><a
href="https://github.com/github/codeql-action/commit/a6c8729a5d7573eb8d440e52a9645ce4db61d97c "><code>a6c8729</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2614 ">#2614</a>
from github/marcogario/per-platform-proxy</li>
<li><a
href="https://github.com/github/codeql-action/commit/8f3b48727ff1b076c28967a258b95fcee30a3a48 "><code>8f3b487</code></a>
Start-proxy: Fetch OS specific binary</li>
<li><a
href="https://github.com/github/codeql-action/commit/cba5fb58d4f85affaf03eb9da32f5b6c9d76838b "><code>cba5fb5</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2613 ">#2613</a>
from github/dependabot/npm_and_yarn/npm_and_yarn-018...</li>
<li><a
href="https://github.com/github/codeql-action/commit/e782c3a145d9946aba8fa390e406acbe4e4c05c5 "><code>e782c3a</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2612 ">#2612</a>
from github/angelapwen/report-linux-runner-release</li>
<li><a
href="https://github.com/github/codeql-action/commit/db6788195b646f87b3d1c616b0c14a6d5b7fa9a6 "><code>db67881</code></a>
Update checked-in dependencies</li>
<li><a
href="https://github.com/github/codeql-action/commit/ecde4d232d18cf2dba6c1a6b76810332abff736f "><code>ecde4d2</code></a>
Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group</li>
<li><a
href="https://github.com/github/codeql-action/commit/e3c67a01d31d9c173ba5ffccc9d0f275540d99de "><code>e3c67a0</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2610 ">#2610</a>
from github/dependabot/npm_and_yarn/npm-d2ca52e617</li>
<li><a
href="https://github.com/github/codeql-action/commit/f9ada54538b47b6db28c4d11f53848689968909e "><code>f9ada54</code></a>
Telemetry: report OS release for GitHub-hosted Linux runners</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/ea9e4e37992a54ee68a9622e985e60c8e8f12d9f...f09c1c0a94de965c15400f5634aa42fac8fb8f88 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `aquasecurity/trivy-action` from 0.28.0 to 0.29.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aquasecurity/trivy-action/releases ">aquasecurity/trivy-action's
releases</a>.</em></p>
<blockquote>
<h2>v0.29.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: Allow skipping setup by <a
href="https://github.com/rvesse "><code>@rvesse</code></a> in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/414 ">aquasecurity/trivy-action#414</a></li>
<li>Fix oras command not found in "Update Trivy Cache" action
by <a href="https://github.com/Tiryoh "><code>@Tiryoh</code></a> in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/413 ">aquasecurity/trivy-action#413</a></li>
<li>Update README.md by <a
href="https://github.com/simar7 "><code>@simar7</code></a> in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/420 ">aquasecurity/trivy-action#420</a></li>
<li>feat: add token for <code>setup-trivy</code> by <a
href="https://github.com/DmitriyLewen "><code>@DmitriyLewen</code></a>
in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/421 ">aquasecurity/trivy-action#421</a></li>
<li>fix: bump <code>setup-trivy</code> and add new <code>contrib</code>
directory path info by <a
href="https://github.com/DmitriyLewen "><code>@DmitriyLewen</code></a>
in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/424 ">aquasecurity/trivy-action#424</a></li>
<li>docs: remove ignore-unfixed from IaC scan example by <a
href="https://github.com/nikpivkin "><code>@nikpivkin</code></a> in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/429 ">aquasecurity/trivy-action#429</a></li>
<li>chore(deps): Bump trivy to v0.57.1 by <a
href="https://github.com/simar7 "><code>@simar7</code></a> in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/434 ">aquasecurity/trivy-action#434</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/rvesse "><code>@rvesse</code></a> made
their first contribution in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/414 ">aquasecurity/trivy-action#414</a></li>
<li><a href="https://github.com/Tiryoh "><code>@Tiryoh</code></a> made
their first contribution in <a
href="https://redirect.github.com/aquasecurity/trivy-action/pull/413 ">aquasecurity/trivy-action#413</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/aquasecurity/trivy-action/compare/0.28.0...0.29.0 ">https://github.com/aquasecurity/trivy-action/compare/0.28.0...0.29.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aquasecurity/trivy-action/commit/18f2510ee396bbf400402947b394f2dd8c87dbb0 "><code>18f2510</code></a>
chore(deps): Bump trivy to v0.57.1 (<a
href="https://redirect.github.com/aquasecurity/trivy-action/issues/434 ">#434</a>)</li>
<li><a
href="https://github.com/aquasecurity/trivy-action/commit/93941cebba762da4c91a91883859bf1bfb221c73 "><code>93941ce</code></a>
docs: remove ignore-unfixed from IaC scan example (<a
href="https://redirect.github.com/aquasecurity/trivy-action/issues/429 ">#429</a>)</li>
<li><a
href="https://github.com/aquasecurity/trivy-action/commit/d2a392a13760cb64cb6bbd31d4bed2a7d9a5298d "><code>d2a392a</code></a>
fix: bump <code>setup-trivy</code> and add new <code>contrib</code>
directory path info (<a
href="https://redirect.github.com/aquasecurity/trivy-action/issues/424 ">#424</a>)</li>
<li><a
href="https://github.com/aquasecurity/trivy-action/commit/ee8934673cc18947baf4b05c01c4100ff36648da "><code>ee89346</code></a>
feat: add token for <code>setup-trivy</code> (<a
href="https://redirect.github.com/aquasecurity/trivy-action/issues/421 ">#421</a>)</li>
<li><a
href="https://github.com/aquasecurity/trivy-action/commit/cf990b19d84bbbe1eb8833659989a7c1029132e3 "><code>cf990b1</code></a>
Update README.md (<a
href="https://redirect.github.com/aquasecurity/trivy-action/issues/420 ">#420</a>)</li>
<li><a
href="https://github.com/aquasecurity/trivy-action/commit/bff40be51b9207cf8f2148d628a9836cc7370247 "><code>bff40be</code></a>
docs: Fix oras command not found (<a
href="https://redirect.github.com/aquasecurity/trivy-action/issues/413 ">#413</a>)</li>
<li><a
href="https://github.com/aquasecurity/trivy-action/commit/fc1500abdcdc9fc681e98d8912a52fa70dbc67de "><code>fc1500a</code></a>
feat: Allow skipping setup (<a
href="https://redirect.github.com/aquasecurity/trivy-action/issues/414 ">#414</a>)</li>
<li>See full diff in <a
href="https://github.com/aquasecurity/trivy-action/compare/915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2...18f2510ee396bbf400402947b394f2dd8c87dbb0 ">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 16:24:10 +05:00
Hugo Dutka
83c493e832
chore: fix more flaky tests on Windows with Postgres ( #15629 )
...
Addresses the following flakes:
- https://github.com/coder/internal/issues/222
- https://github.com/coder/internal/issues/223
- https://github.com/coder/internal/issues/224
- https://github.com/coder/internal/issues/225
- https://github.com/coder/internal/issues/226
- https://github.com/coder/internal/issues/227
- https://github.com/coder/internal/issues/228
- https://github.com/coder/internal/issues/229
- https://github.com/coder/internal/issues/230
2024-11-26 11:56:07 +01:00
Dean Sheather
06c99793f4
chore: add csharp_namespace to vpn.proto ( #15634 )
2024-11-26 19:58:18 +10:00
Vincent Vielle
8afb10e090
chore: improve validation of Security tag in swaggerparser ( #15660 )
...
Aims to resolve #15605
There's currently one option valid for the `@Security` tag in
swaggerparser - which fails in the CI if we try to put any other value.
At least one of our endpoints does not accept `CoderSessionToken` as an
option for the authentication and so we need to add new possibilities in
order to keep the documentation up-to-date.
In this PR , I added `ProvisionerKey` which is the way our provisioner
daemon can authenticate to the backend - also modified a bit the code to
simplify other options later.
2024-11-26 07:19:43 +01:00
Vincent Vielle
60ddcf5de2
chore: improve testing coverage on ExtractProvisionerDaemonAuthenticated middleware ( #15622 )
...
This one aims to resolve #15604
Created some table tests for the main cases -
also preferred to create two isolated cases for the most complicated
cases in order to keep table tests simple enough.
Give us full coverage on the middleware logic, for both optional and non
optional cases - PSK and ProvisionerKey.
2024-11-26 04:02:20 +01:00
Eric Paulsen
d60b58874e
fix: update /builds transition example ( #15657 )
2024-11-26 00:52:23 +00:00
Cian Johnston
e550365e35
chore(docs): update documentation for coder_workspace_tags ( #15620 )
...
Adds documentation relating to
https://github.com/coder/coder/issues/15087 and
https://github.com/coder/coder/issues/15427
See also: https://github.com/coder/coder/pull/15578
2024-11-25 21:01:18 +00:00
Danielle Maywood
0896f339c4
refactor(coderd/provisionerdserver): use quartz.Clock instead of TimeNowFn ( #15642 )
...
Replace `TimeNowFn` in `provisionerdserver` with `quartz.Clock` as
well as pass `coderd`'s `Clock` to `provisionerdserver`.
2024-11-25 16:25:36 +00:00
Jon Ayers
bbc549d2df
feat: add agent exec pkg ( #15577 )
2024-11-25 17:22:12 +02:00
Cian Johnston
7876dc5fb1
feat(helm/provisioner): support deploying multiple provisioners in same namespace ( #15637 )
...
Fixes https://github.com/coder/coder/issues/15437
- Adds support for `coder.serviceAccount.disableCreate` (originally
added to `helm/coder` in https://github.com/coder/coder/pull/14817 ).
- Adds documentation and examples in `helm/provisioner/README.md` on
deploying multiple provisioners in the same namespace leveraging
`nameOverride`.
2024-11-25 14:23:37 +00:00
Spike Curtis
e6506f0679
feat: change port-forward to opportunistically listen on IPv6 ( #15640 )
...
If the local IP address is not explicitly set, previously we assumed 127.0.0.1 (that is, IPv4 only localhost). This PR adds support to opportunistically _also_ listen on IPv6 ::1.
2024-11-25 16:33:28 +04:00
Cian Johnston
1cdc3e8921
feat!: extract provisioner tags from coder_workspace_tags data source ( #15578 )
...
Relates to https://github.com/coder/coder/issues/15087 and
https://github.com/coder/coder/issues/15427
- Extracts provisioner job tags from `coder_workspace_tags` on template
version creation using `provisioner/terraform/tfparse` added in
https://github.com/coder/coder/pull/15236
- Drops a WARN log in coderd if no matching provisioners found.
- Also drops a warning message in the CLI if no provisioners are found.
- To support both CLI and UI warnings, added a
`codersdk.MatchedProvisioners` struct to the `TemplateVersion` response
containing details of how many provisioners were around at the time of
the insert.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-11-25 11:19:14 +00:00
Spike Curtis
648cdd006c
fix: fix parsing of IPv6 addresses in coder port-forward ( #15627 )
...
fixes : #15561
Fixes parsing of IPv6 local addresses on `coder port-forward`
2024-11-25 14:06:59 +04:00
Vincent Vielle
a8becfb7a4
fix: improve log on provisioner daemon started with pk ( #15588 )
...
Resolve #15126
This PR aims to fetch the provisioned key details when starting a
provisioned daemon - for now in order to access the tags associated to
the provisioned key and display them accordingly in the starting logs.
We do not want to change any other logic inside this PR as it was
already working as expected.
2024-11-25 10:11:27 +01:00
Kayla Washburn-Love
32b4b77c45
fix: use ExternalImage for external auth providers ( #15572 )
2024-11-22 15:24:18 -07:00
Bruno Quaresma
f3e1dd8d1c
fix: deduplicate agent script timings ( #15631 )
...
Related to https://github.com/coder/coder/issues/15413
2024-11-22 14:29:31 -03:00
Toshiki Shimomura
e87b0bb455
fix(site): set min and max attributes for workspace number parameters ( #15182 )
...
Implements #14532 .
This PR sets `min` and `max` attributes for workspace number parameter
`<input>` elements using
[inputProps](https://mui.com/material-ui/api/text-field/#text-field-prop-inputProps ).
Note: When we update MUI to v6 or later, it is better to use
`slotProps.htmlInput` instead.
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-11-22 09:50:22 -06:00
dependabot[bot]
e3cc3be718
chore: bump google.golang.org/api from 0.205.0 to 0.209.0 ( #15628 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 18:58:12 +05:00
Ethan
45f7d77d6f
fix(site): remove hard-coded activity bump label ( #15583 )
...
Closes #15536 .
The setting description is already dynamically set correctly, and I
don't believe it warrants repeating.

2024-11-22 23:48:23 +11:00
dependabot[bot]
e3082f1bdc
chore: bump cross-spawn from 6.0.5 to 6.0.6 in /scripts/apidocgen ( #15599 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 17:46:44 +05:00
Ethan
a35c01de54
fix(site): show error on template upload failure ( #15558 )
...
Closes #15441 .
2024-11-22 23:46:21 +11:00
Spike Curtis
b5fbfd727c
fix: fix hang in teardown of TestConn_CoordinatorRollingRestart ( #15624 )
...
fixes a flake seen on main: https://github.com/coder/coder/actions/runs/11967210463/job/33364072261
the TCP echo server had a waitgroup to ensure that all accepted connections get torn down, but no explicit teardown of the connection. We depended on the tailnet agent closing its side of the connection, which depends on closing the tunneled connection. The tunneled `FIN` could race with tearing down the tunnel itself.
So, this PR adds explicit `t.Cleanup` to close the echo connection. It also removes the waitgroup. The purpose of the waitgroup was to ensure that all goroutines created by the echo listener get shut down, but we have `goleak` for that, which fails much faster than the 20 minutes this test run took.
2024-11-22 11:44:56 +04:00
Spike Curtis
103824f726
fix: fix panic while tearing down reconnecting PTY ( #15615 )
...
fixes https://github.com/coder/internal/issues/221
Fixes an issue where two goroutines were sharing the `err` variable, leading to a data race where we'd fail to process the error and then nil-pointer panic.
I ended up refactoring reconnecting PTY stuff into the `reconnectingpty` package, instead of having it on the agent. That `createTailnet` routine had waaay too many deeply nested goroutines, which is I'm sure a big contributor to the bug appearing in the first place.
2024-11-22 09:46:25 +04:00
Edward Angert
684e75e2a7
docs: create a markdown code snippet file to make it easier for contributors ( #15611 )
...
adds snippets to make some of the docs markdown components a little
easier to use
- wraps selected text where it seems appropriate
- limits code block languages (these are suggestions, you can choose
from the list or enter anything)
tabs example:

---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-21 22:09:56 +00:00
Steven Masley
26438aa91f
chore: implement OIDCClaimFieldValues for idp sync mappings auto complete ( #15576 )
...
When creating IDP sync mappings, these are the values that can be
selected from. These are the values that can be mapped from in
org/group/role sync.
2024-11-21 13:04:00 -06:00
Steven Masley
5b7fa78676
chore: add deployment config option to append custom csp directives ( #15596 )
...
Allows adding custom static CSP directives to Coder. Niche use case but
makes this easier then creating a reverse proxy that has to replace the
header. We want to preserve our directives, so having an append option
is preferred to a "replace" option via a reverse proxy.
Closes https://github.com/coder/coder/issues/15118
2024-11-21 11:53:53 -06:00
Danny Kopping
f38f746f5d
chore: ensure coder is logged before querying orgs ( #15618 )
2024-11-21 16:04:21 +01:00
Steven Masley
78f9f43c97
chore: do not refresh tokens that have already failed refreshing ( #15608 )
...
Once a token refresh fails, we remove the `oauth_refresh_token` from the
database. This will prevent the token from hitting the IDP for
subsequent refresh attempts.
Without this change, a bad script can cause a failing token to hit a
remote IDP repeatedly with each `git` operation. With this change, after
the first hit, subsequent hits will fail locally, and never contact the
IDP.
The solution in both cases is to authenticate the external auth link. So
the resolution is the same as before.
2024-11-20 20:13:07 -06:00
Muhammad Atif Ali
dcbcf6740c
docs: add guide for CI/CD template testing ( #15528 )
...
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-11-20 23:58:51 +05:00
Vincent Vielle
a518017a88
feat(coderd): add endpoint to fetch provisioner key details ( #15505 )
...
This PR is the first step aiming to resolve #15126 -
Creating a new endpoint to return the details associated to a
provisioner key.
This is an authenticated endpoints aiming to be used by the provisioner
daemons - using the provisioner key as authentication method.
This endpoint is not ment to be used with PSK or User Sessions.
2024-11-20 18:04:47 +01:00
Cian Johnston
593d659ec8
chore(scripts/develop.sh): auto determine first org name and run terraform init ( #15603 )
...
Updates `develop.sh` to automatically determine the name of the 'first
org' when pushing the initial template.
Also runs `terraform init` before running `coder templates push` (pet
peeve).
2024-11-20 14:01:13 +00:00
Hugo Dutka
6ed76921dd
chore: fix windows postgres tests ( #15593 )
...
Patches tests that caused Windows Postgres CI in
https://github.com/coder/coder/pull/15520 to consistently fail.
I tested this by temporarily adding Postgres Windows CI to this PR.
However, I reverted those changes to merge them with
https://github.com/coder/coder/pull/15520 . For reference, here's [a
passing CI
run](https://github.com/coder/coder/actions/runs/11918816662/job/33219786238 )
from an earlier commit.
**Note:** Although Windows tests now pass, they remain quite flaky. I
recommend running Postgres Windows CI to gather data on these flakes,
but I don’t think it should be a required job just yet.
2024-11-20 13:30:31 +01:00
Hugo Dutka
97ce44a77d
chore: track terraform module source type in telemetry ( #15590 )
2024-11-20 11:03:48 +01:00
Dean Sheather
fbe2fa66f5
chore: add test for coord rolling restart ( #14680 )
...
Closes https://github.com/coder/team-coconut/issues/50
---------
Co-authored-by: Ethan Dickson <ethan@coder.com >
2024-11-20 18:04:33 +11:00
Spike Curtis
9e63caf593
docs: add crypto_keys to list of dbcrypt fields ( #15602 )
...
closes: https://github.com/coder/internal/issues/220
Updates docs that talk about what db fields we encrypt. We've recently added `crypto_keys.secret` to the list, but didn't add it to the docs.
2024-11-20 11:03:46 +04:00
Ethan
6e7f65bc59
fix(cli): properly handle build log streaming during coder ping ( #15600 )
...
Closes #15584 .
- The `Collecting Diagnostics` spinner now starts after the workspace
build logs (if any) have finished streaming.
- Removes network interfaces with negative MTUs from `healthsdk`
diagnostics.
- Improves the wording on diagnostics for MTUs below the 'safe' value to
indicate that direct connections may be degraded, or rendered unusable
(i.e. if every packet is dropped).
2024-11-20 15:50:12 +11:00
Ethan
32fc844b47
chore: support building Coder Desktop .dylib ( #15512 )
...
Relates to #14734 .
2024-11-20 14:13:03 +11:00
Danielle Maywood
576e1f48fe
feat!: allow disabling notifications ( #15509 )
...
Resolves https://github.com/coder/coder/issues/15513
Disables notifications when both `$CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT` and `$CODER_EMAIL_SMARTHOST` are unset.
Breaking change: `$CODER_EMAIL_SMARTHOST` is no longer set by default as `localhost:587`, meaning any deployments that make use of this default value will need to add it back.
---------
Co-authored-by: Danny Kopping <danny@coder.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-11-19 15:05:12 +00:00
Ethan
1c08580f23
chore(cli): use option source name for deprecation warnings ( #15581 )
...
Closes #15568 .
2024-11-19 10:15:38 +00:00
Ethan
e72d58b4f6
fix: guard server log lumberjack with mutex ( #15582 )
...
(Hopefully) closes https://github.com/coder/internal/issues/213 .
2024-11-19 19:47:35 +11:00
Spike Curtis
029cd5d064
fix(tailnet): prevent redial after Coord graceful restart ( #15586 )
...
fixes: https://github.com/coder/internal/issues/217
> There are a couple problems:
>
> One is that we assert the RPCs succeed, but if the pipeDialer context is canceled at the end of the test, then these assertions happen after the test is officially complete, which panics and affects other tests.
This converts these to just return the error rather than assert.
> The other is that the retrier is slightly bugged: if the current retry delay is 0 AND the ctx is done, (e.g. after successfully connecting and then gracefully disconnecting), then retrier.Wait(c.ctx) is racy and could return either true or false.
Fixes the phantom redial by explicitly checking the context before dialing. Also, in the test, we assert that the controller is closed before completing the test.
2024-11-19 11:37:11 +04:00
Spike Curtis
85c3c4c025
feat(tailnet): add alias with username and short alias to DNS ( #15585 )
...
Adds DNS aliases of the form `<agent>.<workspace>.<username>.coder.` and
`<workspace>.coder.`
2024-11-19 11:23:17 +04:00
Steven Masley
c3c23ed3d9
chore: add query to fetch top level idp claim fields ( #15525 )
...
Adds an api endpoint to grab all available sync field options for IDP
sync. This is for autocomplete on idp sync forms. This is required for
organization admins to have some insight into the claim fields available
when configuring group/role sync.
2024-11-18 14:31:39 -06:00
Jon Ayers
48bb452829
fix: fix tailnet resume using incorrect DB reference ( #15522 )
...
- We were instantiating a cryptokey cache with a vanilla reference to
the database instead of one wrapped by dbcrypt.
- Fixes an issue where failing to instantiate unrelated keycaches does
not fatally error out.
2024-11-18 14:09:04 -06:00
Steven Masley
4fedc7cf3d
chore: include merged claims into the database ( #15570 )
...
Merging happens before IDP sync. Storing this will make some SQL queries
much simplier.
2024-11-18 11:58:19 -06:00
dependabot[bot]
097b84f27b
chore: bump cross-spawn from 7.0.3 to 7.0.5 in /offlinedocs ( #15553 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 19:53:19 +05:00
dependabot[bot]
c803e7d6f7
chore: bump cross-spawn from 7.0.3 to 7.0.6 in /site ( #15567 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 19:51:46 +05:00
dependabot[bot]
1c6cec3c43
ci: bump github/codeql-action from 3.27.1 to 3.27.4 in the github-actions group ( #15563 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 19:38:29 +05:00
dependabot[bot]
36ba932c3a
chore: bump github.com/go-playground/validator/v10 from 10.22.0 to 10.23.0 ( #15565 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 19:38:16 +05:00
dependabot[bot]
a9554a52bf
chore: bump github.com/hashicorp/hcl/v2 from 2.22.0 to 2.23.0 ( #15564 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 19:37:46 +05:00
Spike Curtis
1aaaad998c
fix: fix listening flake on TestTailnet_ForcesWebSockets ( #15555 )
...
Fixes a test flake on TestTailnet_ForcesWebsockets like:
```
t.go:106: 2024-11-18 07:44:25.939 [debu] w2: dial tcp addr_port="[fd7a:115c:a1e0:46cc:bd8e:400d:1bc6:f6ac]:35565"
t.go:106: 2024-11-18 07:44:25.943 [debu] w1.net.netstack: netstack: could not connect to local server at 127.0.0.1:35565 (or [::1]:35565)%!(EXTRA *net.OpError=dial tcp [::1]:35565: connect: connection refused)
conn_test.go:146:
Error Trace: /Users/spike/repos/coder/tailnet/conn_test.go:146
Error: Received unexpected error:
connect tcp [fd7a:115c:a1e0:46cc:bd8e:400d:1bc6:f6ac]:35565: connection was refused
Test: TestTailnet/ForcesWebSockets
t.go:106: 2024-11-18 07:44:25.945 [info] w1: closing tailnet Conn
t.go:106: 2024-11-18 07:44:25.945 [debu] w1: closing configMaps configLoop
t.go:106: 2024-11-18 07:44:25.945 [debu] w1: closing nodeUpdater updateLoop
t.go:106: 2024-11-18 07:44:25.945 [debu] w1: closed netstack
conn_test.go:135:
Error Trace: /Users/spike/repos/coder/tailnet/conn_test.go:135
/Users/spike/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.8.darwin-arm64/src/runtime/asm_arm64.s:1222
Error: Received unexpected error:
connection closed:
github.com/coder/coder/v2/tailnet.init
<autogenerated>:1
Test: TestTailnet/ForcesWebSockets
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1039771dc]
goroutine 2224 [running]:
github.com/coder/coder/v2/tailnet_test.TestTailnet.func3.2()
/Users/spike/repos/coder/tailnet/conn_test.go:136 +0x7c
created by github.com/coder/coder/v2/tailnet_test.TestTailnet.func3 in goroutine 109
/Users/spike/repos/coder/tailnet/conn_test.go:133 +0x7dc
```
Test didn't synchronize listening on the port before dialing it.
It also has a nil pointer deference when the test fails, which causes a bunch of unrelated output. Also fixed.
2024-11-18 16:05:16 +04:00
Dean Sheather
d63bd213f7
chore: add vpn-daemon run subcommand for windows ( #15526 )
...
`coder vpn-daemon run` will instantiate a RPC connection with the
specified pipe handles and communicate with the (yet to be implemented)
parent process.
The tests don't ensure that the tunnel is actually usable yet as the
tunnel functionality isn't implemented, but it does make sure that the
tunnel tries to read from the RPC pipe.
Closes #14735
2024-11-18 21:10:01 +10:00
Marcin Tojek
8ca8e016fa
fix(site): wait until port is available in e2e ( #15537 )
...
Related: https://github.com/coder/internal/issues/212
This PR modifies the logic responsible for creating a server in E2E
tests to check if the port is free. Alternatively, we could refactor the
framework to dynamically create server instances, but this solution
might be a cheaper quick win.
Note:
I'll leave it as is now, it might be worth asking somebody with a
frontend skillset to double-check this contribution.
---------
Signed-off-by: Danny Kopping <danny@coder.com >
Co-authored-by: Danny Kopping <danny@coder.com >
2024-11-18 10:28:16 +00:00
Spike Curtis
5861e516b9
chore: add standard test logger ignoring db canceled ( #15556 )
...
Refactors our use of `slogtest` to instantiate a "standard logger" across most of our tests. This standard logger incorporates https://github.com/coder/slog/pull/217 to also ignore database query canceled errors by default, which are a source of low-severity flakes.
Any test that has set non-default `slogtest.Options` is left alone. In particular, `coderdtest` defaults to ignoring all errors. We might consider revisiting that decision now that we have better tools to target the really common flaky Error logs on shutdown.
2024-11-18 14:09:22 +04:00
Cian Johnston
4719d2406f
chore(testutil): extract testutil.CreateZip and testutil.CreateTar helpers ( #15540 )
...
Extracts `testutil.CreateTar` and `testutil.CreateZip` test helpers.
2024-11-18 09:17:04 +00:00
Phorcys
f9d6698384
feat(examples/templates/azure-linux): promote module usage ( #15517 )
2024-11-18 13:40:12 +05:00
Spike Curtis
747f7ce173
feat: add support for WorkspaceUpdates to WebsocketDialer ( #15534 )
...
closes #14730
Adds support for WorkspaceUpdates to the WebsocketDialer. This allows us to dial the new endpoint added in #14847 and connect it up to a `tailnet.Controllers` to connect to all agents over the tailnet.
I refactored the fakeWorkspaceUpdatesProvider to a mock and moved it to `tailnettest` so it could be more easily reused. The Mock is a little more full-featured.
2024-11-18 10:54:11 +04:00
Spike Curtis
16992ee548
feat(tailnet): add workspace updates support to Controller ( #15529 )
...
re: #14730
Adds support in `tailnet.Controller` for WorkspaceUpdates.
Also checks configured controllers against the clients returned by the dialer, so that if we connect with a dialer that doesn't support an RPC (for instance the in-memory dialer for ServerTailnet doesn't support WorkspaceUpdates), we throw an error if there is a controller expecting it.
2024-11-18 10:41:19 +04:00
Hugo Dutka
aa0dc2daa1
chore: track terraform modules in telemetry ( #15450 )
...
Addresses https://github.com/coder/nexus/issues/35 .
This PR:
- Adds a `workspace_modules` table to track modules used by the
Terraform provisioner in provisioner jobs.
- Adds a `module_path` column to the `workspace_resources` table,
allowing to identify which module a resource originates from.
- Starts pushing this new information into telemetry.
For the person reviewing this PR, do not fret about the 1,500 new lines
- ~1,000 of them are auto-generated.
2024-11-16 21:56:19 +01:00
Kayla Washburn-Love
968c52bc36
fix: add error that provisionerkeys require the externalprovisioners feature ( #15541 )
2024-11-15 14:43:32 -07:00
Steven Masley
16ade985ae
chore: make scim auth header case insensitive for 'bearer' ( #15538 )
...
Fixes status codes to return more than 500. The way we were using the
package, it always returned a status code 500
2024-11-15 12:30:11 -06:00
Joobi S B
4cb807670d
chore: generate countries.tsx from Go code ( #15274 )
...
Closes https://github.com/coder/coder/issues/15074
We have a hard-coded list of countries at
https://github.com/coder/coder/blob/main/site/src/pages/SetupPage/countries.tsx .
This means Go code in coder/coder doesn't have an easy way of utilizing
it.
## Solution
Generate countries.tsx from Go code. Generated by `scripts/apitypings`
2024-11-15 12:05:21 -06:00
Steven Masley
aea6208515
chore: use codersdk return type, not package type ( #15539 )
2024-11-15 18:01:42 +00:00
Cian Johnston
12a9d6336b
fix(agent): start rpty lifecycle after all reads/writes ( #15535 )
...
Fixes https://github.com/coder/internal/issues/214
#15475 missed that we also write to `rpty` after starting
`rpty.lifecycle()`.
This PR moves the function call right at the end. Hopefully this should
address the data races before we go resorting to mutexes.
2024-11-15 14:48:17 +00:00
Cian Johnston
aca5be5e50
feat(provisionersdk): allow variadic tags in provisionersdk.MutateTags ( #15518 )
...
Relates to https://github.com/coder/coder/issues/15087 and
https://github.com/coder/coder/issues/15427
Allows specifying multiple sets of provisioner tags into `MutateTags`.
These tags get additively merged.
This will simplify handling tags from multiple sources when sniffing
tags from the template.
2024-11-15 12:31:02 +00:00
Sas Swart
450c72f95c
chore(coderd/database): fix duplicate migration numbers ( #15533 )
2024-11-15 11:39:05 +00:00
Marcin Tojek
23470789f1
fix: ignore cancellation error in test ( #15532 )
...
Fixes: https://github.com/coder/internal/issues/211
2024-11-15 12:20:35 +01:00
Sas Swart
dbf41a1160
chore(coderd/database): fix duplicate migration numbers ( #15530 )
...
Renaming migrations to avoid duplicate numbering
2024-11-15 10:55:47 +00:00
Sas Swart
814dd6f854
feat(coderd): update API to allow filtering provisioner daemons by tags ( #15448 )
...
This PR provides new parameters to an endpoint that will be necessary
for #15048
2024-11-15 11:33:22 +02:00
Spike Curtis
40802958e9
fix: use explicit api versions for agent and tailnet ( #15508 )
...
Bumps the Tailnet and Agent API version 2.3, and creates some extra controls and machinery around these versions.
What happened is that we accidentally shipped two new API features without bumping the version. `ScriptCompleted` on the Agent API in Coder v2.16 and `RefreshResumeToken` on the Tailnet API in Coder v2.15.
Since we can't easily retroactively bump the versions, we'll roll these changes into API version 2.3 along with the new WorkspaceUpdates RPC, which hasn't been released yet. That means there is some ambiguity in Coder v2.15-v2.17 about exactly what methods are supported on the Tailnet and Agent APIs. This isn't great, but hasn't caused us major issues because
1. RefreshResumeToken is considered optional, and clients just log and move on if the RPC isn't supported.
2. Agents basically never get started talking to a Coderd that is older than they are, since the agent binary is normally downloaded from Coderd at workspace start.
Still it's good to get things squared away in terms of versions for SDK users and possible edge cases around client and server versions.
To mitigate against this thing happening again, this PR also:
1. adds a CODEOWNERS for the API proto packages, so I'll review changes
2. defines interface types for different API versions, and has the agent explicitly use a specific version. That way, if you add a new method, and try to use it in the agent without thinking explicitly about versions, it won't compile.
With the protocol controllers stuff, we've sort of already abstracted the Tailnet API such that the interface type strategy won't work, but I'll work on getting the Controller to be version aware, such that it can check the API version it's getting against the controllers it has -- in a later PR.
2024-11-15 11:16:28 +04:00
Spike Curtis
916df4d411
feat: set DNS hostnames in workspace updates controller ( #15507 )
...
re: #14730
Adds support for the workspace updates protocol controller to also program DNS names for each agent.
Right now, we only program names like `myagent.myworkspace.me.coder` and `myworkspace.coder.` (if there is exactly one agent in the workspace). We also want to support `myagent.myworkspace.username.coder.`, but for that we need to update WorkspaceUpdates RPC to also send the workspace owner's username, which will be in a separate PR.
2024-11-15 11:00:19 +04:00
Muhammad Atif Ali
365ce67f21
chore: add provenance attestation to docker-base image ( #14999 )
...
Enables [build
attestation](https://docs.docker.com/build/metadata/attestations/slsa-provenance/ )
for the docker-base image.
Contributes to #14879 and coder/internal#89
As an experiment, we are only doing it with the coder-base image for
now.
2024-11-15 08:16:33 +05:00
Aaron Lehmann
f1cb3a5b11
fix: correct example for /extend endpoint in the documentation ( #15521 )
...
The example in the docs wrongly shows a POST to this endpoint.
Signed-off-by: Aaron Lehmann <alehmann@netflix.com >
2024-11-14 12:13:27 -05:00
Steven Masley
b6d0b7713a
chore: implement user link claims as a typed golang object ( #15502 )
...
Move claims from a `debug` column to an actual typed column to be used.
This does not functionally change anything, it just adds some Go typing to build
on.
2024-11-14 10:05:44 -06:00
Phorcys
6b1fafbacc
feat(examples/templates/aws-linux): use modules for code-server and jetbrains ( #15500 )
2024-11-14 15:45:08 +01:00
Ethan
b96177613b
ci: fix go tests not running if examples are updated ( #15514 )
...
- https://github.com/coder/coder/pull/15504 broke CI on main because of
the aforementioned issue, this also fixes the test failure.
2024-11-14 14:20:51 +00:00
Ben Potter
d3eb896543
fix: remove built-in image for Docker template ( #15504 )
...
The hardcoded image is an anti-pattern, leading to weird errors if the
`docker` group is absent. We should either provide a better error
in-product or just have a better image.
@matifali - also down to use a Devcontainers universal image instead or
make this a parameter. Let me know what you think the best "default
install" is
2024-11-14 06:40:50 -07:00
Cian Johnston
bebc38ee94
feat(provisioner/terraform/tfparse): implement WorkspaceTagDefaultsFromFile ( #15236 )
...
Relates to https://github.com/coder/coder/issues/15087 and
https://github.com/coder/coder/issues/15427
Adds functionality to `provisioner/terraform/tfparse` to extract the
default values for a `coder_workspace_tags` data source from a given
file.
2024-11-14 12:24:48 +00:00
Spike Curtis
08216aaad6
feat: add workspace updates controller ( #15506 )
...
re: #14730
Adds a protocol controller for WorkspaceUpdates RPC that takes all the agents we learn about over the RPC, and programs them into the Coordination controller, so that we set up tunnels to all the agents.
Handling DNS is in a PR up the stack, as is actually wiring it up to anything.
2024-11-14 16:16:04 +04:00
Marcin Tojek
e7ab3e1b6a
chore: log cancellation error in test ( #15511 )
...
Related: https://github.com/coder/internal/issues/211
2024-11-14 12:47:00 +01:00
Danny Kopping
cb1a006ae4
chore: add link to RBAC usage doc in README ( #15510 )
...
Some new joiners had found the README, but not the usage doc
Signed-off-by: Danny Kopping <danny@coder.com >
2024-11-14 10:01:19 +00:00
Mathias Fredriksson
e55e8ee1b2
fix(cli): add backwards compat for old telemetry env and tests ( #15476 )
2024-11-14 01:07:52 +02:00
Steven Masley
99dd13d4cd
chore: add cli command to update organization sync settings ( #15459 )
2024-11-13 13:44:21 -06:00
Stephen Kirby
75b299071c
docs: update version flags ( #15501 )
2024-11-13 13:40:06 -06:00
Cian Johnston
55dccae5a3
chore(docs): document how to correctly override list(string) parameters ( #15497 )
...
- Adds documentation for how to correctly hold --parameter with list(string)
- Adds tests for the aforementioned documented correct finger positions for --parameter list(string)
2024-11-13 15:41:36 +00:00
Muhammad Atif Ali
6ff302b740
docs: add Docker to provider authentication docs ( #15494 )
...
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-11-13 15:40:41 +00:00
Cian Johnston
4a6b28f5df
feat(provisioner): add support for workspace_owner_login_type ( #15499 )
...
- Adds support for the `coder_workspace_owner.login_type` attribute.
- Adds a currently disabled test for `coder_workspace_owner.login_type`
2024-11-13 15:34:58 +00:00
Cian Johnston
1c938cda4b
chore(cli): exp prompt-example: add option to multi-select ( #15496 )
...
Adds a `--things` flag to our `multi-select` example prompt command.
```
go run ./cmd/coder exp prompt-example multi-select --things=Code,Bike,Potato=mashed
"Code, Bike, Potato=mashed" are nice choices.
```
2024-11-13 12:14:43 +00:00
Danielle Maywood
f2fe379bd2
fix: make GetWorkspacesEligibleForTransition return less false-positives ( #15429 )
...
Relates to https://github.com/coder/coder/issues/15082
The old implementation of `GetWorkspacesEligibleForTransition` returns
many workspaces that are not actually eligible for transition. This new
implementation reduces this number significantly (at least on our
dogfood instance).
2024-11-13 10:24:20 +00:00
Ethan
fa69d1ca74
ci: reenable link checker & fix broken links ( #15489 )
...
Follow-up on #15484 .
2024-11-13 16:04:10 +11:00
Vincent Vielle
d6442db25a
feat(cli): rotate file logs for coderd ( #15438 )
...
Related to #15309
As we already are doing for agent logs - this PR is enabling the logs
rotation for coderd logs.
Currently keeping the same logic than we had for agent - with 5MB as the
file size for rotation.
2024-11-12 21:48:32 +01:00
Edward Angert
56e219b50d
docs: update template-from-scratch ( #15101 )
...
closes https://github.com/coder/internal/issues/104
- [x] update screenshots
- [x] consistent md
- [x] confirm and update `Dockerfile` and `main.tf`
- matched up to the Docker Containers starter template
- upload template
- [x] confirm CLI steps
- [x] add steps in tab for Dashboard
- [x] ~confirm that the expand works~ it doesn't
<https://coder.com/docs/@template-from-scratch-update/tutorials/template-from-scratch >
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-12 14:01:51 -05:00
Edward Angert
eff07a2db0
docs: clarify admin email telemetry ( #15485 )
...
add a note to the telemtery doc that explains that we do collect the
admin email
https://coder.com/docs/@telemetry-clarification/admin/setup/telemetry#what-we-collect
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-12 11:24:13 -05:00
Bruno Quaresma
bebe4f06d2
chore: sort inserted users on dbmem ( #15483 )
2024-11-12 10:44:31 -03:00
Ethan
97b3bbf4a0
ci: disable weekly-docs temporarily ( #15484 )
...
I updated it in #15424 and it's doing suspect things to block PRs 🙃
https://github.com/coder/coder/actions/runs/11797850940/job/32862729001?pr=15482
2024-11-12 13:41:00 +00:00
Cian Johnston
30e6fbd35c
fix(coderd): ensure correct RBAC when enqueueing notifications ( #15478 )
...
- Assert rbac in fake notifications enqueuer
- Move fake notifications enqueuer to separate notificationstest package
- Update dbauthz rbac policy to allow provisionerd and autostart to create and read notification messages
- Update tests as required
2024-11-12 12:40:46 +00:00
dependabot[bot]
bb5c3a2dd8
chore: bump google.golang.org/grpc from 1.67.1 to 1.68.0 ( #15471 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from
1.67.1 to 1.68.0.
2024-11-12 15:14:27 +04:00
Spike Curtis
d1305ac25e
fix: stop logging error when template schedule query is canceled ( #15402 )
...
Fixes test flakes _a la_
```
t.go:108: 2024-11-05 09:52:37.996 [erro] workspacestats: failed to load template schedule bumping activity, defaulting to bumping by 60min request_id=f14215d2-73dc-47ba-aa81-422c62f257e4 workspace_id=545d73c7-3a62-4466-8c08-b6abb12867b7 template_id=49747428-3abb-40e4-a6b2-03653e9f2506 ...
error= fetch object:
github.com/coder/coder/v2/coderd/database/dbauthz.(*querier).GetTemplateByID.fetch[...].func1
/home/runner/work/coder/coder/coderd/database/dbauthz/dbauthz.go:497
- pq: canceling statement due to user request
*** slogtest: log detected at level ERROR; TEST FAILURE ***
```
seen here on main: https://github.com/coder/coder/actions/runs/11681605747/job/32527006174
2024-11-12 15:08:15 +04:00
Ethan
6117f46706
chore: include if direct connection is over private network in ping diagnostics ( #15313 )
...
Whilst the `networking-troubleshooting` docs page already mentions that
a direct connection can be established over a private network, even if
there are no STUN servers, it's worth this is the case at the end of the
ping output.
This also removes a print statement that was dirtying up the diagnostic
output, and corrects the name of the `--disable-direct-connections`
flag.
2024-11-12 17:33:35 +11:00
dependabot[bot]
c519a129fc
chore: bump google.golang.org/api from 0.204.0 to 0.205.0 ( #15473 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 06:29:04 +00:00
dependabot[bot]
4e2a46eee8
chore: bump github.com/charmbracelet/bubbletea from 1.1.0 to 1.2.1 ( #15472 )
...
Bumps
[github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea )
from 1.1.0 to 1.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/charmbracelet/bubbletea/releases ">github.com/charmbracelet/bubbletea's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.0</h2>
<h1>It’s performance boost time</h1>
<p>Sometimes you have to take matters into your own hands. That’s
exactly what <a
href="https://github.com/LeperGnome "><code>@LeperGnome</code></a> did
when he wanted faster rendering. This release features adjustments to
the rendering algorithm for faster repaints. We encourage you to upgrade
and give it a go!</p>
<blockquote>
<p>[!NOTE]
Renderer changes are no laughing matter. We’ve tested the new renderer
extensively, however if you notice any bugs let us know. Rendering
accuracy is among our top priorities.</p>
</blockquote>
<h2>Changelog</h2>
<ul>
<li>rendering speed improvements by <a
href="https://github.com/LeperGnome "><code>@LeperGnome</code></a> in <a
href="https://redirect.github.com/charmbracelet/bubbletea/pull/1132 ">charmbracelet/bubbletea#1132</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/LeperGnome "><code>@LeperGnome</code></a> made
their first contribution in <a
href="https://redirect.github.com/charmbracelet/bubbletea/pull/1132 ">charmbracelet/bubbletea#1132</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/charmbracelet/bubbletea/compare/v1.1.2...v1.2.0 ">https://github.com/charmbracelet/bubbletea/compare/v1.1.2...v1.2.0 </a></p>
<hr />
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML
omitted --></p>
<p>Thoughts? Questions? We love hearing from you. Feel free to reach out
on <a href="https://twitter.com/charmcli ">Twitter</a>, <a
href="https://mastodon.technology/@charm ">The Fediverse</a>, or on <a
href="https://charm.sh/chat ">Discord</a>.</p>
<h2>v1.1.2</h2>
<h1>This and that</h1>
<p>A tiny tiny release that fixes the tests on Windows, and uses the
latest <code>ansi</code> package definitions.</p>
<!-- raw HTML omitted -->
<h2>Changelog</h2>
<!-- raw HTML omitted -->
<h3>New Features</h3>
<ul>
<li>12b04c5d6001056875bc712f81fa1efd470fa592: feat(ci): use meta lint
workflow (<a
href="https://github.com/aymanbagabas "><code>@aymanbagabas</code></a>)</li>
<li>3209d62ae751da63a38237666d6706ab7c9f0006: feat(ci): use meta
lint-sync workflow to sync linter config (<a
href="https://github.com/aymanbagabas "><code>@aymanbagabas</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>566879aa33ce13f27a6bdab4a274e08be01bac9c: fix(ci): run lint workflow
on all platforms (<a
href="https://github.com/aymanbagabas "><code>@aymanbagabas</code></a>)</li>
<li>cd1e4d34a7e0232ea94afcc168eec107450aa332: fix: exec tests on windows
(<a
href="https://github.com/aymanbagabas "><code>@aymanbagabas</code></a>)</li>
</ul>
<h3>Documentation updates</h3>
<ul>
<li>d928d8dcabcd4bca0efc22fb661de0cc27c66b21: docs: update contributing
guidelines (<a
href="https://redirect.github.com/charmbracelet/bubbletea/issues/1186 ">#1186</a>)
(<a
href="https://github.com/bashbunni "><code>@bashbunni</code></a>)</li>
<li>de4788dc763d5a6ce7ca555c5ee6fce3179dedc4: docs: update readme badge
images (<a
href="https://github.com/aymanbagabas "><code>@aymanbagabas</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
<hr />
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/5b65f9afee63a23935373397c858891ddf0e868d "><code>5b65f9a</code></a>
chore: go mod tidy</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/e16a768eabe59bb0e4d4fe7a40439e27346dcf66 "><code>e16a768</code></a>
fix: screen_test.go: fix test cases for ClearScreen and
EnterAltScreen</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/c78a084f81ea3011662876d8ae65752875f25aa3 "><code>c78a084</code></a>
fix: renderer: use HomeCursorPosition instead of CursorOrigin</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/50249d492da0c103dfc37d2e47e1be49217479b1 "><code>50249d4</code></a>
fix: screen_test.go: fix test cases for cursor movement</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/99b85ff94fbbf85dc1a0c8f5753e0b18f484816e "><code>99b85ff</code></a>
fix: renderer: erase the rest of the line when it's shorter than the
width</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/f4d1e0ead8047cc5557e638ed424e66e18a36c11 "><code>f4d1e0e</code></a>
chore(deps): bump github.com/charmbracelet/x/ansi from 0.4.2 to 0.4.5
(<a
href="https://redirect.github.com/charmbracelet/bubbletea/issues/1224 ">#1224</a>)</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/d6aee5bd5f9492b96f31969a09d1c38f21532120 "><code>d6aee5b</code></a>
chore(deps): bump github.com/charmbracelet/lipgloss from 0.13.1 to 1.0.0
(<a
href="https://redirect.github.com/charmbracelet/bubbletea/issues/1219 ">#1219</a>)</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/3bbf24dec24acebdb32ef675cb9788c90206e911 "><code>3bbf24d</code></a>
chore(deps): bump github.com/charmbracelet/lipgloss in /examples (<a
href="https://redirect.github.com/charmbracelet/bubbletea/issues/1220 ">#1220</a>)</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/2472d90201467bb911eb0ba37f4a9da69ad33209 "><code>2472d90</code></a>
fix: remove unnecessary line break</li>
<li><a
href="https://github.com/charmbracelet/bubbletea/commit/5f70edd7873cccfc82de75a624b1b28305c9be4e "><code>5f70edd</code></a>
chore(ci): sync golangci-lint config (<a
href="https://redirect.github.com/charmbracelet/bubbletea/issues/1222 ">#1222</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charmbracelet/bubbletea/compare/v1.1.0...v1.2.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 13:55:00 +11:00
Ethan
a5d19776af
chore: increase autostop requirement leeway to two hours ( #15445 )
...
Closes https://github.com/coder/coder/issues/12612
The problem in the linked issue was caused due to a mismatch of when the
Web UI tooltip shows up (2 hours before an autostop requirement) and the
leeway in the `autostop_requirement` algorithm (workspace builds must be
1 hour before an autostop requirement to skip them).
Now, restarting your workspace whilst the tooltip is showing will skip
the upcoming autostop requirement.
This also could have been fixed by only showing the tooltip one hour
before the autostop requirement, but it looks like 1 hour was chosen
arbitrarily, and it doesn't hurt to give users more time to skip the
autostop.
2024-11-12 13:53:21 +11:00
Dean Sheather
6cc1067319
chore: add Tokyo server to dogfood template ( #15479 )
2024-11-11 23:56:06 +00:00
Cian Johnston
b6e7498cb8
fix(agent/reconnectingpty): generate rpty id before starting lifecycle ( #15475 )
...
Fixes https://github.com/coder/coder/issues/12687
There was a race condition where we would start the rpty lifecycle
before generating the ID, leading to a data race where we would try to
concurrently read and write the struct field.
2024-11-11 15:02:55 +00:00
dependabot[bot]
bc9d875efe
chore: bump github.com/gohugoio/hugo from 0.136.5 to 0.138.0 ( #15470 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 18:10:41 +05:00
dependabot[bot]
827fc41b86
chore: bump the x group with 9 updates ( #15469 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 18:03:06 +05:00
dependabot[bot]
7f294bbb70
ci: bump the github-actions group with 2 updates ( #15474 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 18:02:29 +05:00
Muhammad Atif Ali
329e08686f
chore: improve PR deployments ( #15430 )
2024-11-11 17:58:32 +05:00
Mathias Fredriksson
78b4967571
docs: fix mention of incorrect env var to enable/disable telemetry ( #15467 )
2024-11-11 11:12:39 +00:00
Edward Angert
50e95ba676
docs: adjust manual github action screenshot in contributing.md ( #15439 )
...
resolves #15407
adjust manual github action screenshot in contributing.md
[preview](https://coder.com/docs/@15407-contrib-image/CONTRIBUTING#deploying-a-pr )
(once ready)
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-08 13:15:57 -05:00
Bruno Quaresma
308df177c9
chore: use hsl for tailwind and shadcn theming ( #15453 )
...
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com >
2024-11-08 14:33:50 -03:00
Danny Kopping
111029ec07
chore: clarify template provisioning speed doc ( #15383 )
...
I noticed a few inaccuracies in this doc, or aspects which could've been
explained a little more. In other cases, I've added some specificity in
service of clarity.
---------
Signed-off-by: Danny Kopping <danny@coder.com >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-08 16:06:20 +00:00
Steven Masley
782214bcd8
chore: move organizatinon sync to runtime configuration ( #15431 )
...
Moves the configuration from environment to database backed, to allow
configuring organization sync at runtime.
2024-11-08 08:44:14 -06:00
Spike Curtis
7b33ab0dcf
fix: set dogfood go version to match go.mod ( #15446 )
...
Updates our dogfood image to use the same go version as `go.mod`. This allows us to skip downloading the new go version on builds.
2024-11-08 13:51:04 +04:00
Ethan
5d853fcfd8
chore: support adding dns hosts to tailnet.Conn ( #15419 )
...
Relates to #14718 .
The remaining changes (regarding the Tailscale DNS service) will need to
be made on `coder/tailscale`.
2024-11-08 09:37:56 +00:00
Spike Curtis
e5661c2748
feat: add support for multiple tunnel destinations in tailnet ( #15409 )
...
Closes #14729
Expands the Coordination controller used by the CLI client to allow multiple tunnel destinations (agents). Our current client uses just one, but this unifies the logic so that when we add Coder VPN, 1 is just a special case of "many."
2024-11-08 13:32:07 +04:00
Spike Curtis
8c00ebc6ee
chore: refactor ServerTailnet to use tailnet.Controllers ( #15408 )
...
chore of #14729
Refactors the `ServerTailnet` to use `tailnet.Controller` so that we reuse logic around reconnection and handling control messages, instead of reimplementing. This unifies our "client" use of the tailscale API across CLI, coderd, and wsproxy.
2024-11-08 13:18:56 +04:00
Ethan
f7cbf5dd79
fix: support windows specific zip mime type for template uploads ( #15442 )
...

Despite being encoded the same, the API was previously rejecting zip
files with this MIME type.
2024-11-08 18:24:12 +11:00
Spike Curtis
718722af1b
chore: refactor tailnetAPIConnector to tailnet.Controller ( #15361 )
...
Refactors `workspacesdk.tailnetAPIConnector` as a `tailnet.Controller` to reuse all the reconnection and graceful disconnect logic.
chore re: #14729
2024-11-08 10:10:54 +04:00
Ethan
d2e496901f
fix: set content type when uploading edited template ( #15440 )
...
Fixes a bug where a file produced by `generateVersionFiles` (as used
when uploading a web UI edited template) produced a file where the
`type` field was unset.
This meant the change in #15410 used the unset type value as the content
header when uploading, causing it to always fail.
2024-11-08 05:59:17 +00:00
Edward Angert
f7694568eb
docs: add workplace scheduling to manifest ( #15384 )
...
- [ ] check links to
<https://coder.com/docs/@workspace-scheduling/admin/templates/managing-templates/schedule#dormancy-threshold-enterprise-premium >
- @mattvollmer reports that
<https://coder.com/docs/templates/managing-templates/schedule#dormancy-threshold-enterprise >
is missing. I'll try to find refs to it
[preview](https://coder.com/docs/@workspace-scheduling/admin/templates/managing-templates/schedule )
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-08 00:54:52 -05:00
Edward Angert
e688ff723b
docs: add deploy id to license doc ( #15415 )
...
resolves #15414
adds a section to licensing doc to show where to find the deployment ID
[preview](https://coder.com/docs/@15414-deploy-id/admin/licensing#find-your-deployment-id )
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-07 21:54:11 -08:00
Jaayden Halko
de2f42eedd
fix: enable Tailwind with storybook ( #15418 )
...
This adds index.css to the storybook preview file and references to
#storybook-root element in the tailwind config
---------
Co-authored-by: Spike Curtis <spike@coder.com >
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-11-07 20:56:42 -05:00
Bruno Quaresma
cb9991a9bf
chore: add VSCode TailwindCSS extension as recommendation ( #15436 )
2024-11-07 17:19:32 -03:00
Hugo Dutka
f85ef84cc5
fix: use container with Postgres 13 for dump.sql ( #15411 )
2024-11-07 16:49:26 +01:00
Cian Johnston
9f05b192b4
chore(docs): fix inconsistencies in external provisioner docs ( #15416 )
...
This PR:
- Updates the table in `docs/admin/provisioners.md` to include highlight
multi-org changes
- Updates the instructions for the provisionerd helm chart when using
provisioner keys
---------
Co-authored-by: Ben Potter <ben@coder.com >
2024-11-07 13:28:53 +00:00
Spike Curtis
2d061e698d
chore: refactor tailnetAPIConnector to use dialer ( #15347 )
...
refactors `tailnetAPIConnector` to use the `Dialer` interface in `tailnet`, introduced lower in this stack of PRs. This will let us use the same Tailnet API handling code across different things that connect to the Tailnet API (CLI client, coderd, workspace proxies, and soon: Coder VPN).
chore re: #14729
2024-11-07 17:24:19 +04:00
Spike Curtis
ba483efd0f
chore: add logging for Run failures in workspacetraffic ( #15425 )
...
Run logs are currently dropped on the floor when workspacetraffic tests fail.
e.g. https://github.com/coder/coder/runs/32640144785
This prints the logs when we get a failure, like
```
run_test.go:341:
Error Trace: /Users/spike/repos/coder/scaletest/workspacetraffic/run_test.go:341
/Users/spike/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.8.darwin-arm64/src/runtime/asm_arm64.s:1222
Error: Received unexpected error:
badness:
github.com/coder/coder/v2/scaletest/workspacetraffic.(*Runner).Run
/Users/spike/repos/coder/scaletest/workspacetraffic/run.go:174
Test: TestRun/App
Messages: RUN LOGS:
2024-11-07 13:04:30.274 [debu] config agent_id=00000000-0000-0000-0000-000000000000 reconnecting_pty_id=95bb480f-cd26-4633-8332-328d44ffa997 height=25 width=80 tick_interval=1s bytes_per_tick=1024
2024-11-07 13:04:30.274 [debu] connect to workspace agent agent_id=00000000-0000-0000-0000-000000000000
2024-11-07 13:04:30.274 [info] sending traffic to workspace app agent_id=00000000-0000-0000-0000-000000000000 app=echo
2024-11-07 13:04:30.276 [debu] reading from agent agent_id=00000000-0000-0000-0000-000000000000
2024-11-07 13:04:30.276 [debu] writing to agent agent_id=00000000-0000-0000-0000-000000000000
2024-11-07 13:04:31.526 [debu] done reading from agent agent_id=00000000-0000-0000-0000-000000000000
2024-11-07 13:04:32.276 [debu] done writing to agent agent_id=00000000-0000-0000-0000-000000000000
END RUN LOGS
```
So, hopefully we can diagnose flakes.
2024-11-07 17:16:43 +04:00
Spike Curtis
cee6b1ebde
fix: wait for prompt on rich param CLI test ( #15406 )
...
Fixes a race in TestUpdateValidateRichParameters where the parameter is sent prior to the prompt.
Causes errors like: https://github.com/coder/coder/actions/runs/11681622439/job/32527173007
```
ptytest.go:132: 2024-11-05 10:02:18.819: cmd: "bool_parameter"
ptytest.go:167: 2024-11-05 10:02:18.819: cmd: matched "bool_parameter" = "bool_parameter"
update_test.go:440: 2024-11-05 10:02:18.819: cmd: stdin: "cat\r\n"
ptytest.go:132: 2024-11-05 10:02:18.819: cmd: "> Enter a value (default: \"\"): can't validate build parameter \"bool_parameter\": boolean value can be either \"true\" or \"false\""
ptytest.go:167: 2024-11-05 10:02:18.819: cmd: matched "boolean value can be either" = "\n> Enter a value (default: \"\"): can't validate build parameter \"bool_parameter\": boolean value can be either"
update_test.go:440: 2024-11-05 10:02:18.819: cmd: stdin: "\r\n"
ptytest.go:167: 2024-11-05 10:02:18.819: cmd: matched "Enter a value" = " \"true\" or \"false\"\n> Enter a value"
update_test.go:440: 2024-11-05 10:02:18.819: cmd: stdin: "false\r\n"
ptytest.go:132: 2024-11-05 10:02:18.821: cmd: "> Enter a value (default: \"\"): can't validate build parameter \"bool_parameter\": boolean value can be either \"true\" or \"false\""
```
2024-11-07 16:47:15 +04:00
Cian Johnston
6781b0fc87
fix(helm/provisioner): prefer provisioner key if both psk and key are set ( #15417 )
...
Relates to https://github.com/coder/coder/pull/15416
This PR modifies the provisioner helm chart logic:
- Previously, when both provisionerDaemon.keySecretName and provisionerDaemon.pskSecretName
were both set, we would fail to install the chart. This required users to have an obnoxious workaround
in place where setting provisionerDaemon.pskSecretName="" was required in order to use provisioner
keys. We now check for pskSecretName being set to the default value when keySecretName is also specified,
and switch to provisioner key authentication instead of PSK. The previous workaround is still supported.
- We also had omitted to check for provisionerd.Tags being set along with provisionerDaemon.keySecretName.
This would result in a crashlooping provisioner deployment, as setting both of these configuration options is
not allowed. We now fast-fail the Helm deployment if we detect this scenario.
2024-11-07 12:33:58 +00:00
Spike Curtis
71dc91e496
fix: fix loss of buffered input on cliui.Prompt ( #15421 )
...
fixes https://github.com/coder/internal/issues/203
2024-11-07 16:19:03 +04:00
Ethan
098728138f
chore: add a tailscale router that uses the CoderVPN protocol ( #15391 )
...
Closes #14732 .
2024-11-07 22:45:17 +11:00
Ethan
6e18742ad3
ci: replace unmaintained markdown link checker ( #15424 )
...
The old one was flaking a bunch and blocking PRs. This is the one
recommended by the maintainer of the old.
2024-11-07 22:30:43 +11:00
dependabot[bot]
7318cc0e34
chore: bump @types/node from 20.16.10 to 20.17.6 in /offlinedocs ( #15350 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-07 13:07:51 +05:00
Spike Curtis
d7e86278c8
chore: add resume token controller ( #15346 )
...
Implements a controller for the Tailnet API resume token RPC, by refactoring from `workspacesdk`.
chore re: #14729
2024-11-07 11:32:20 +04:00
Jaayden Halko
d4131badb6
feat: implement Premium features page using shadcn/ui and Tailwind ( #15094 )
...
resolves coder/internal#176
This is a proof of concept to showcase the use of Tailwind + shadcn/ui.
The goal here was to implement a lower complexity page to reduce the
initial risk and highlight the specific global changes needed.
Changes:
- Create a separate version of Premium features content for Enterprise
and OSS users
- Use shadcn/ui button component and setup styling and variants to match
the buttons defined in the Coder Kit Figma.
https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=3-1756
- Setup theming using CSS variables and custom Tailwind colors by using
the dark class name on the root element.
- CSS variable design token naming and colors defined in Figma.
https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=1-2
<img width="1199" alt="Screenshot 2024-11-01 at 12 46 03 PM"
src="https://github.com/user-attachments/assets/a251450f-8447-405a-9cc4-9f6aad9cd19f ">
<img width="1197" alt="Screenshot 2024-11-01 at 12 45 36 PM"
src="https://github.com/user-attachments/assets/e78a5a40-cbdf-4d85-9ffe-873505800fcc ">
2024-11-06 12:53:00 -05:00
Danny Kopping
cafb963bf4
chore: clarify section description to indicate that notifications can be disabled ( #15381 )
...
The current description of "Configure your notification preferences.
Icons on the right of each notification indicate delivery method, either
SMTP or Webhook." doesn't really say what this page is for.
I've adjusted the wording, and also changed the tooltip of the delivery
method icon to be more clear.
Signed-off-by: Danny Kopping <danny@coder.com >
2024-11-06 18:43:39 +01:00
Bruno Quaresma
7f510051fb
refactor: increase group name limit to 255 ( #15377 )
...
Close https://github.com/coder/coder/issues/15184
2024-11-06 14:39:50 -03:00
Marcin Tojek
17363098e2
fix: use correct Content-Type for template archive ( #15410 )
...
Fixes: https://github.com/coder/coder/issues/14124
2024-11-06 18:38:48 +01:00
Bruno Quaresma
18c2386e9e
chore(site): fix reset password storybook flake ( #15380 )
...
Fix https://github.com/coder/internal/issues/69
2024-11-06 14:24:32 -03:00
Spike Curtis
335e4ab6bf
chore: refactor sending telemetry ( #15345 )
...
Implements a tailnet API Telemetry controller by refactoring from `workspacesdk`.
chore re: #14729
2024-11-06 20:23:23 +04:00
Spike Curtis
9126cd78a6
chore: refactor DERP setting loop ( #15344 )
...
Implements a Tailnet API DERP controller by refactoring from `workspacesdk`
chore re: #14729
2024-11-06 20:04:05 +04:00
Ethan
f0a4de5e1a
fix: use NoLock dbmem subqueries for GetWorkspaceAgentScriptTimingsByBuildID ( #15405 )
...
Closes https://github.com/coder/internal/issues/202 .
Addresses the problem mentioned in the issue, and also makes sure
subtests don't reuse `testing.T` from the main test.
2024-11-06 23:43:58 +11:00
Jaayden Halko
4ec6871cea
chore: update missing RBAC action descriptions ( #15389 )
...
Add missing action descriptions so that these appear when in the
frontend when creating/updating custom roles.
2024-11-05 18:16:10 -05:00
Edward Angert
0961468398
fix: add root-level code of conduct link ( #15386 )
...
closes #15369
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-05 17:15:26 -05:00
Stephen Kirby
1532ea7d2d
docs: bump versions in docs for 2.17 ( #15387 )
2024-11-05 12:53:34 -06:00
Edward Angert
62fa7e5ab8
docs: disable markdown link check on mailto links ( #15382 )
...
to satisfy CI
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-05 12:35:46 -05:00
Vincent Vielle
4fe2c5f09a
fix: improve password validation flow ( #15132 )
...
Refers to #14984
Currently, password validation is done backend side and is not explicit
enough so it can be painful to create first users.
We'd like to make this validation easier - but also duplicate it
frontend side to make it smoother.
Flows involved :
- First user set password
- New user set password
- Change password
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-11-05 17:22:32 +01:00
Ethan
8b5a18cade
fix(site): watch build logs while job is pending or running ( #15341 )
...
Closes #15292 .
Currently, if the frontend never sees a build job enter 'running', it'll
never end up watching the logs. If we start watching the logs earlier
we're able to catch cases where the job goes `pending` -> `failed`, such
as when the build fails immediately.
2024-11-06 01:20:27 +11:00
Ethan
3c60dc3bb5
fix(site): show error on duplicate template rename attempt ( #15348 )
...
Fixes #15311 .
2024-11-06 01:18:38 +11:00
Steven Masley
2d00b50eb6
chore: remove excess join in GetQuotaConsumedForUser query ( #15338 )
...
Filter is applied in original workspace query. We do not need to join
`workspaces` twice. Use build_number instead of `created_at`
for determining the last build.
2024-11-05 08:12:56 -06:00
Spike Curtis
886dcbec84
chore: refactor coordination ( #15343 )
...
Refactors the way clients of the Tailnet API (clients of the API, which include both workspace "agents" and "clients") interact with the API. Introduces the idea of abstract "controllers" for each of the RPCs in the API, and implements a Coordination controller by refactoring from `workspacesdk`.
chore re: #14729
2024-11-05 13:50:10 +04:00
dependabot[bot]
765314ce18
ci: bump the github-actions group with 4 updates ( #15359 )
...
Bumps the github-actions group with 4 updates:
[crate-ci/typos](https://github.com/crate-ci/typos ),
[google-github-actions/auth](https://github.com/google-github-actions/auth ),
[google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud )
and
[google-github-actions/get-gke-credentials](https://github.com/google-github-actions/get-gke-credentials ).
Updates `crate-ci/typos` from 1.26.8 to 1.27.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/crate-ci/typos/releases ">crate-ci/typos's
releases</a>.</em></p>
<blockquote>
<h2>v1.27.0</h2>
<h2>[1.27.0] - 2024-11-01</h2>
<h3>Features</h3>
<ul>
<li>Updated the dictionary with the <a
href="https://redirect.github.com/crate-ci/typos/issues/1106 ">October
2024</a> changes</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/crate-ci/typos/blob/master/CHANGELOG.md ">crate-ci/typos's
changelog</a>.</em></p>
<blockquote>
<h1>Change Log</h1>
<p>All notable changes to this project will be documented in this
file.</p>
<p>The format is based on <a href="http://keepachangelog.com/ ">Keep a
Changelog</a>
and this project adheres to <a href="http://semver.org/ ">Semantic
Versioning</a>.</p>
<!-- raw HTML omitted -->
<h2>[Unreleased] - ReleaseDate</h2>
<h2>[1.27.0] - 2024-11-01</h2>
<h3>Features</h3>
<ul>
<li>Updated the dictionary with the <a
href="https://redirect.github.com/crate-ci/typos/issues/1106 ">October
2024</a> changes</li>
</ul>
<h2>[1.26.8] - 2024-10-24</h2>
<h2>[1.26.7] - 2024-10-24</h2>
<h2>[1.26.6] - 2024-10-24</h2>
<h2>[1.26.5] - 2024-10-24</h2>
<h2>[1.26.4] - 2024-10-24</h2>
<h2>[1.26.3] - 2024-10-24</h2>
<h3>Fixes</h3>
<ul>
<li>Accept <code>additionals</code></li>
</ul>
<h2>[1.26.2] - 2024-10-24</h2>
<h3>Fixes</h3>
<ul>
<li>Accept <code>tesselate</code> variants</li>
</ul>
<h2>[1.26.1] - 2024-10-23</h2>
<h3>Fixes</h3>
<ul>
<li>Respect <code>--force-exclude</code> for binary files</li>
</ul>
<h2>[1.26.0] - 2024-10-07</h2>
<h3>Compatibility</h3>
<ul>
<li><em>(pre-commit)</em> Requires 3.2+</li>
</ul>
<h3>Fixes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/crate-ci/typos/commit/d01f29c66d1bf1a08730750f61d86c210b0d039d "><code>d01f29c</code></a>
chore: Release</li>
<li><a
href="https://github.com/crate-ci/typos/commit/52e950bb130b2bdee93bba2b1973c8f7d8ac5c46 "><code>52e950b</code></a>
chore: Release</li>
<li><a
href="https://github.com/crate-ci/typos/commit/19cfc03ea4e6fd581972b77eb3761351a4db7ee6 "><code>19cfc03</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/crate-ci/typos/commit/f80b1564bd618fb5325b8c0d52849ac7da0bbaea "><code>f80b156</code></a>
Merge pull request <a
href="https://redirect.github.com/crate-ci/typos/issues/1140 ">#1140</a>
from epage/oct</li>
<li><a
href="https://github.com/crate-ci/typos/commit/6b5c8079a9416f5aba90f4cc1348921aa72d9538 "><code>6b5c807</code></a>
feat(dict): Oct updates</li>
<li><a
href="https://github.com/crate-ci/typos/commit/d64f202a88f87f2e3fbbd1f5a45ab2ec3ef9b832 "><code>d64f202</code></a>
chore(deps): Update compatible (<a
href="https://redirect.github.com/crate-ci/typos/issues/1137 ">#1137</a>)</li>
<li><a
href="https://github.com/crate-ci/typos/commit/e903c4628799da0b9fc51e03d200e4fa62ba2c0a "><code>e903c46</code></a>
Merge pull request <a
href="https://redirect.github.com/crate-ci/typos/issues/1136 ">#1136</a>
from PigeonF/PigeonF/push-mlqnlvmswwmp</li>
<li><a
href="https://github.com/crate-ci/typos/commit/b994765ef920d85d7a7115db2e9afce611cdcf93 "><code>b994765</code></a>
chore: Fix typo "potemtial" -> "potential"</li>
<li>See full diff in <a
href="https://github.com/crate-ci/typos/compare/0d9e0c2c1bd7f770f6eb90f87780848ca02fc12c...d01f29c66d1bf1a08730750f61d86c210b0d039d ">compare
view</a></li>
</ul>
</details>
<br />
Updates `google-github-actions/auth` from 2.1.6 to 2.1.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google-github-actions/auth/releases ">google-github-actions/auth's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.7</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: update relase workflows by <a
href="https://github.com/verbanicm "><code>@verbanicm</code></a> in <a
href="https://redirect.github.com/google-github-actions/auth/pull/452 ">google-github-actions/auth#452</a></li>
<li>Release: v2.1.7 by <a
href="https://github.com/google-github-actions-bot "><code>@google-github-actions-bot</code></a>
in <a
href="https://redirect.github.com/google-github-actions/auth/pull/453 ">google-github-actions/auth#453</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google-github-actions/auth/compare/v2.1.6...v2.1.7 ">https://github.com/google-github-actions/auth/compare/v2.1.6...v2.1.7 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google-github-actions/auth/commit/6fc4af4b145ae7821d527454aa9bd537d1f2dc5f "><code>6fc4af4</code></a>
Release: v2.1.7 (<a
href="https://redirect.github.com/google-github-actions/auth/issues/453 ">#453</a>)</li>
<li><a
href="https://github.com/google-github-actions/auth/commit/212f83afe868cc88aa354e1efbf778eff05d970a "><code>212f83a</code></a>
fix: update relase workflows (<a
href="https://redirect.github.com/google-github-actions/auth/issues/452 ">#452</a>)</li>
<li>See full diff in <a
href="https://github.com/google-github-actions/auth/compare/8254fb75a33b976a221574d287e93919e6a36f70...6fc4af4b145ae7821d527454aa9bd537d1f2dc5f ">compare
view</a></li>
</ul>
</details>
<br />
Updates `google-github-actions/setup-gcloud` from 2.1.1 to 2.1.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google-github-actions/setup-gcloud/releases ">google-github-actions/setup-gcloud's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: update release workflows by <a
href="https://github.com/verbanicm "><code>@verbanicm</code></a> in <a
href="https://redirect.github.com/google-github-actions/setup-gcloud/pull/698 ">google-github-actions/setup-gcloud#698</a></li>
<li>Release: v2.1.2 by <a
href="https://github.com/google-github-actions-bot "><code>@google-github-actions-bot</code></a>
in <a
href="https://redirect.github.com/google-github-actions/setup-gcloud/pull/699 ">google-github-actions/setup-gcloud#699</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google-github-actions/setup-gcloud/compare/v2.1.1...v2.1.2 ">https://github.com/google-github-actions/setup-gcloud/compare/v2.1.1...v2.1.2 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google-github-actions/setup-gcloud/commit/6189d56e4096ee891640bb02ac264be376592d6a "><code>6189d56</code></a>
Release: v2.1.2 (<a
href="https://redirect.github.com/google-github-actions/setup-gcloud/issues/699 ">#699</a>)</li>
<li><a
href="https://github.com/google-github-actions/setup-gcloud/commit/413dc083dd5818edda432148520965d8255c729a "><code>413dc08</code></a>
fix: update release workflows (<a
href="https://redirect.github.com/google-github-actions/setup-gcloud/issues/698 ">#698</a>)</li>
<li>See full diff in <a
href="https://github.com/google-github-actions/setup-gcloud/compare/f0990588f1e5b5af6827153b93673613abdc6ec7...6189d56e4096ee891640bb02ac264be376592d6a ">compare
view</a></li>
</ul>
</details>
<br />
Updates `google-github-actions/get-gke-credentials` from 2.2.1 to 2.2.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google-github-actions/get-gke-credentials/releases ">google-github-actions/get-gke-credentials's
releases</a>.</em></p>
<blockquote>
<h2>v2.2.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix package name by <a
href="https://github.com/sethvargo "><code>@sethvargo</code></a> in <a
href="https://redirect.github.com/google-github-actions/get-gke-credentials/pull/312 ">google-github-actions/get-gke-credentials#312</a></li>
<li>fix: update release workflows by <a
href="https://github.com/verbanicm "><code>@verbanicm</code></a> in <a
href="https://redirect.github.com/google-github-actions/get-gke-credentials/pull/313 ">google-github-actions/get-gke-credentials#313</a></li>
<li>Release: v2.2.2 by <a
href="https://github.com/google-github-actions-bot "><code>@google-github-actions-bot</code></a>
in <a
href="https://redirect.github.com/google-github-actions/get-gke-credentials/pull/315 ">google-github-actions/get-gke-credentials#315</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google-github-actions/get-gke-credentials/compare/v2.2.1...v2.2.2 ">https://github.com/google-github-actions/get-gke-credentials/compare/v2.2.1...v2.2.2 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google-github-actions/get-gke-credentials/commit/206d64b64b0eba0a6e2f25113d044c31776ca8d6 "><code>206d64b</code></a>
Release: v2.2.2 (<a
href="https://redirect.github.com/google-github-actions/get-gke-credentials/issues/315 ">#315</a>)</li>
<li><a
href="https://github.com/google-github-actions/get-gke-credentials/commit/0fead37d80f46cbcae8eb09300bd8186eb3b2d31 "><code>0fead37</code></a>
fix: update release workflows (<a
href="https://redirect.github.com/google-github-actions/get-gke-credentials/issues/313 ">#313</a>)</li>
<li><a
href="https://github.com/google-github-actions/get-gke-credentials/commit/d7d8311fd5e889897561404341b15a5c01310725 "><code>d7d8311</code></a>
Fix package name (<a
href="https://redirect.github.com/google-github-actions/get-gke-credentials/issues/312 ">#312</a>)</li>
<li>See full diff in <a
href="https://github.com/google-github-actions/get-gke-credentials/compare/6051de21ad50fbb1767bc93c11357a49082ad116...206d64b64b0eba0a6e2f25113d044c31776ca8d6 ">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
2024-11-05 19:43:41 +11:00
Ethan
871cc05e99
chore: add a dns.OSConfigurator implementation that uses the CoderVPN protocol ( #15342 )
...
Closes #14733 .
2024-11-05 19:23:16 +11:00
Muhammad Atif Ali
076399b3bd
chore: correct typos and configure permissions in pr-deploy.yaml ( #15372 )
2024-11-05 09:41:48 +05:00
dependabot[bot]
98e584b36f
chore: bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 ( #15371 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 08:59:20 +05:00
Steven Masley
8024c1dff4
fix: allow workspace owners to view timings ( #15364 )
...
Anyone with authz access to a workspace should be able to read timings
information of its builds.
To do this without `AsSystemContext` would do an extra 4 db calls.
2024-11-04 20:45:43 -06:00
Muhammad Atif Ali
2cf745766c
chore: use typos extension in vscode ( #15136 )
...
This synchronises the spellchecker with our CI.
We use https://github.com/crate-ci/typos in CI, so let us use typos in
vscode too.
https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode
2024-11-04 10:26:04 -08:00
Cian Johnston
dc29b81286
fix(site/static/icon): add filebrowser icon ( #15367 )
...
Fixes https://github.com/coder/coder/issues/15365
We used to hit
https://raw.githubusercontent.com/filebrowser/logo/master/icon_raw.svg
for the filebrowser icon but coder/modules#334 modified the icon URL to
point to a self-hosted icon.
I simply copied the icon from the `coder/modules` repo.
2024-11-04 18:17:16 +00:00
dependabot[bot]
cfc4cb07b6
chore: bump @types/node from 20.16.10 to 20.17.6 in /site ( #15351 )
2024-11-04 10:56:00 -07:00
Muhammad Atif Ali
f25a07502a
chore: fix links in README.md ( #15366 )
2024-11-04 22:55:40 +05:00
dependabot[bot]
735e965bdd
chore: bump @types/lodash from 4.17.9 to 4.17.13 in /site ( #15334 )
2024-11-04 14:35:02 -03:00
Hugo Dutka
1bfa7d42e8
chore: add postgres template caching for tests ( #15336 )
...
This PR is the first in a series aimed at closing
[#15109 ](https://github.com/coder/coder/issues/15109 ).
### Changes
- **Template Database Creation:**
`dbtestutil.Open` now has the ability to create a template database if
none is provided via `DB_FROM`. The template database’s name is derived
from a hash of the migration files, ensuring that it can be reused
across tests and is automatically updated whenever migrations change.
- **Optimized Database Handling:**
Previously, `dbtestutil.Open` would spin up a new container for each
test when `DB_FROM` was unset. Now, it first checks for an active
PostgreSQL instance on `localhost:5432`. If none is found, it creates a
single container that remains available for subsequent tests,
eliminating repeated container startups.
These changes address the long individual test times (10+ seconds)
reported by some users, likely due to the time Docker took to start and
complete migrations.
2024-11-04 17:23:31 +01:00
Muhammad Atif Ali
1c29944862
chore: update link to licensed features in README.md ( #15362 )
2024-11-04 20:19:23 +05:00
dependabot[bot]
ffa82659a2
chore: bump the vite group across 1 directory with 2 updates ( #15321 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 15:52:11 +05:00
dependabot[bot]
a8caa65124
chore: bump github.com/charmbracelet/lipgloss from 0.13.0 to 1.0.0 ( #15354 )
...
Bumps
[github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss )
from 0.13.0 to 1.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/charmbracelet/lipgloss/releases ">github.com/charmbracelet/lipgloss's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.0</h2>
<h1>At last: v1.0.0</h1>
<!-- raw HTML omitted -->
<p>This is an honorary release indicating that Lip Gloss is now stable.
Thank you, open source community, for all your love, support,
contributions, and great style.</p>
<p>Stay tuned for a v2 alpha!</p>
<h2>v0.13.1</h2>
<h1>Table improvements, on stream</h1>
<p><a href="https://github.com/bashbunni "><code>@bashbunni</code></a>
went to town in this release and fixed a bunch of bugs, mostly around
table. Best of all, she did most of it <a
href="https://www.twitch.tv/bashbunni ">on stream</a>.</p>
<h2>Changelog</h2>
<h3>Table</h3>
<ul>
<li>fix(table): use table height by <a
href="https://github.com/Broderick-Westrope "><code>@Broderick-Westrope</code></a>
in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/358 ">charmbracelet/lipgloss#358</a></li>
<li>fix(table): unset data rows without causing nil pointer err by <a
href="https://github.com/bashbunni "><code>@bashbunni</code></a> in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/372 ">charmbracelet/lipgloss#372</a></li>
<li>fix(table): shared indices for first row of data and headers
(StyleFunc bug) by <a
href="https://github.com/bashbunni "><code>@bashbunni</code></a> in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/377 ">charmbracelet/lipgloss#377</a></li>
<li>fix(table): do not shrink table with offset by <a
href="https://github.com/bashbunni "><code>@bashbunni</code></a> in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/373 ">charmbracelet/lipgloss#373</a></li>
<li>fix(table): include margins for cell width by <a
href="https://github.com/bashbunni "><code>@bashbunni</code></a> in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/401 ">charmbracelet/lipgloss#401</a></li>
</ul>
<h3>Other Stuff</h3>
<ul>
<li>fix(render): strip carriage returns from strings by <a
href="https://github.com/bashbunni "><code>@bashbunni</code></a> in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/386 ">charmbracelet/lipgloss#386</a></li>
</ul>
<h2>Bonus</h2>
<ul>
<li>docs(example): rainbow string by <a
href="https://github.com/caarlos0 "><code>@caarlos0</code></a> in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/96 ">charmbracelet/lipgloss#96</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/Broderick-Westrope "><code>@Broderick-Westrope</code></a>
made their first contribution in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/358 ">charmbracelet/lipgloss#358</a></li>
<li><a href="https://github.com/swrenn "><code>@swrenn</code></a> made
their first contribution in <a
href="https://redirect.github.com/charmbracelet/lipgloss/pull/364 ">charmbracelet/lipgloss#364</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/charmbracelet/lipgloss/compare/v0.13.0...v0.13.1 ">https://github.com/charmbracelet/lipgloss/compare/v0.13.0...v0.13.1 </a></p>
<hr />
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML
omitted --></p>
<p>Thoughts? Questions? We love hearing from you. Feel free to reach out
on <a href="https://twitter.com/charmcli ">Twitter</a>, <a
href="https://mastodon.technology/@charm ">The Fediverse</a>, or on <a
href="https://charm.sh/chat ">Discord</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/761d265f761271293f20f9bf62884b15f2d7c0cc "><code>761d265</code></a>
feat(deps): bump github.com/charmbracelet/x/ansi from 0.4.0 to
0.4.2</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/342e7b051b45419b6f052c1d4b83e904e14414ff "><code>342e7b0</code></a>
chore(ci): sync golangci-lint config</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/da324b123d09dc2d194c6911d440371ed463e4c8 "><code>da324b1</code></a>
feat(deps): bump github.com/charmbracelet/x/ansi from 0.3.2 to
0.4.0</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/78fd6fd42f6e6b028bac3dcc8dcd9652fc15afa0 "><code>78fd6fd</code></a>
chore(ci): sync golangci-lint config</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/407dc3d2cf84b9abeae83e7a12277a84ab01eab4 "><code>407dc3d</code></a>
feat(ci): add lint-sync workflow</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/284c0c5c55441a0d11bd07c5496593e676f4dfd0 "><code>284c0c5</code></a>
docs(list): fix list examples in godoc (<a
href="https://redirect.github.com/charmbracelet/lipgloss/issues/404 ">#404</a>)</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/d8581323b63a3bb43c6d5247a00353d7cbd1d236 "><code>d858132</code></a>
fix(table): include margins in cell width (<a
href="https://redirect.github.com/charmbracelet/lipgloss/issues/401 ">#401</a>)</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/80b4221fc123fbe3374dee85216be698cf7c8556 "><code>80b4221</code></a>
chore(lint): update linter (<a
href="https://redirect.github.com/charmbracelet/lipgloss/issues/405 ">#405</a>)</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/fa2f4b06ca711f1be00f83bc9a64d49e6bbb9ee7 "><code>fa2f4b0</code></a>
docs(readme): update example screenshot with blend</li>
<li><a
href="https://github.com/charmbracelet/lipgloss/commit/68ca8486fcd181ba9d7df258c5ef0979b53090b9 "><code>68ca848</code></a>
docs: update contributing guidelines (<a
href="https://redirect.github.com/charmbracelet/lipgloss/issues/396 ">#396</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charmbracelet/lipgloss/compare/v0.13.0...v1.0.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 20:28:05 +11:00
dependabot[bot]
cf96d91625
chore: bump dayjs from 1.11.4 to 1.11.13 in /site ( #15332 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 11:34:35 +05:00
dependabot[bot]
3796344d3f
chore: bump github.com/elastic/go-sysinfo from 1.14.0 to 1.15.0 ( #15353 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 11:33:50 +05:00
dependabot[bot]
a1b03fa6d2
chore: bump google.golang.org/api from 0.203.0 to 0.204.0 ( #15356 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 11:33:33 +05:00
dependabot[bot]
4a8fe424df
chore: bump github.com/open-policy-agent/opa from 0.69.0 to 0.70.0 ( #15358 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-03 22:33:18 -08:00
dependabot[bot]
56326307f2
chore: bump github.com/hashicorp/terraform-json from 0.22.1 to 0.23.0 ( #15355 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 11:33:04 +05:00
dependabot[bot]
98bb560f63
chore: bump the react group across 2 directories with 2 updates ( #15319 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 06:11:44 +00:00
Muhammad Atif Ali
3a5a42ffa9
chore: update workflow permissions ( #15349 )
2024-11-04 11:09:40 +05:00
Muhammad Atif Ali
065263a852
chore: update dependabot config and pin Docker images ( #15194 )
2024-11-04 11:01:54 +05:00
dependabot[bot]
b529393f6f
chore: bump @chakra-ui/react from 2.9.3 to 2.10.3 in /offlinedocs ( #15326 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 11:01:34 +05:00
dependabot[bot]
6153880e9c
chore: bump @swc/jest from 0.2.36 to 0.2.37 in /site ( #15331 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 11:00:35 +05:00
dependabot[bot]
9f867a48c3
chore: bump typescript from 5.6.2 to 5.6.3 in /site ( #15335 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 11:00:27 +05:00
dependabot[bot]
7b81b3fb8a
chore: bump @types/lodash from 4.14.196 to 4.17.13 in /offlinedocs ( #15325 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 10:55:22 +05:00
dependabot[bot]
8a72e9a4d2
chore: bump next from 14.2.14 to 14.2.16 in /offlinedocs ( #15324 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 10:55:14 +05:00
dependabot[bot]
48253581ed
chore: bump chromatic from 11.3.0 to 11.16.3 in /site ( #15329 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 10:54:43 +05:00
Benjamin Peinhardt
040e5cf9f3
docs: provide example regexes to properly escape . characters ( #14983 )
2024-11-03 10:01:06 -06:00
Edward Angert
1f93b80e09
chore: fix docs/admin links and upgrade notice ( #15043 )
...
- Update links to /docs/admin to match the new structure
- TODO: remove the release string from the "upgrade available"
instructions link
- [x]
https://github.com/coder/coder/blob/update-upgrade-config-links/cli/server.go#L646

---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-11-01 19:43:51 +00:00
Stephen Kirby
399c830b51
chore(docs): add info on new build timings in docs ( #15310 )
...
Adds information on workspace build timings in workspace lifecycle and
template troubleshooting docs.
2024-11-01 12:17:50 -05:00
Bruno Quaresma
e232aee011
feat(site): add agent connection timings ( #15276 )
...
Local preview:
<img width="1260" alt="Screenshot 2024-10-29 at 16 16 01"
src="https://github.com/user-attachments/assets/10fdb20d-1f2a-4b0a-a8a1-171050ee620d ">
Close https://github.com/coder/internal/issues/116
---------
Co-authored-by: Danny Kopping <danny@coder.com >
2024-11-01 13:29:00 -03:00
Edward Angert
18ef954a03
docs: add new best practice doc to speed up templates and workspaces ( #15296 )
...
closes https://github.com/coder/coder/issues/14858
- [x] TODO: update `build-timeline.png`
- [x] TODO: `Best practices` doesn't show up in the sidebar until you're
actually in the doc 🤔
[preview](https://coder.com/docs/@bp-speed-up-templates/tutorials/best-practices/speed-up-templates )
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
2024-11-01 11:24:35 -05:00
dependabot[bot]
13b97cf3dc
chore: bump @storybook/addon-actions from 8.1.11 to 8.3.5 in /site ( #15330 )
2024-11-01 09:58:48 -06:00
dependabot[bot]
8da30a1e59
chore: update typescript from 5.6.2 to 5.6.3 in /offlinedocs ( #15323 )
2024-11-01 09:58:14 -06:00
dependabot[bot]
85f05ad396
chore: bump @types/jest from 29.5.13 to 29.5.14 in /site in the jest group ( #15320 )
2024-11-01 12:47:47 -03:00
Steven Masley
854044e811
chore: fix concurrent CommitQuota transactions for unrelated users/orgs ( #15261 )
...
The failure condition being fixed is `w1` and `w2` could belong
to different users, organizations, and templates and still cause a
serializable failure if run concurrently. This is because the old query
did a `seq scan` on the `workspace_builds` table. Since that is the
table being updated, we really want to prevent that.
So before this would fail for any 2 workspaces. Now it only fails if
`w1` and `w2` are owned by the same user and organization.
2024-11-01 11:05:49 -04:00
dependabot[bot]
47f9a8aeb8
chore: bump eslint-config-next from 14.2.14 to 14.2.16 in /offlinedocs ( #15327 )
...
Bumps
[eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next )
from 14.2.14 to 14.2.16.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases ">eslint-config-next's
releases</a>.</em></p>
<blockquote>
<h2>v14.2.15</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>support breadcrumb style catch-all parallel routes <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/65063 ">#65063</a></li>
<li>Provide non-dynamic segments to catch-all parallel routes <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/65233 ">#65233</a></li>
<li>Fix client reference access causing metadata missing <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70732 ">#70732</a></li>
<li>feat(next/image): add support for decoding prop <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70298 ">#70298</a></li>
<li>feat(next/image): add images.localPatterns config <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70529 ">#70529</a></li>
<li>fix(next/image): handle undefined images.localPatterns config in
images-manifest.json</li>
<li>fix: Do not omit alt on getImgProps return type, ImgProps <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70608 ">#70608</a></li>
<li>[i18n] Routing fix <a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70761 ">#70761</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ztanner "><code>@ztanner</code></a>, <a
href="https://github.com/agadzik "><code>@agadzik</code></a>, <a
href="https://github.com/huozhi "><code>@huozhi</code></a>, <a
href="https://github.com/styfle "><code>@styfle</code></a>, <a
href="https://github.com/icyJoseph "><code>@icyJoseph</code></a> and <a
href="https://github.com/wyattjoh "><code>@wyattjoh</code></a> for
helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/3c01e3a9a17e5cc8d060b87e57d30ef544fe5dcd "><code>3c01e3a</code></a>
v14.2.16</li>
<li><a
href="https://github.com/vercel/next.js/commit/737c29e49f9532cce3da8e25d88bc82cf5f5fe9a "><code>737c29e</code></a>
v14.2.15</li>
<li>See full diff in <a
href="https://github.com/vercel/next.js/commits/v14.2.16/packages/eslint-config-next ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 10:14:51 -03:00
Ethan
5f60a8d9e3
fix: create contexts per sub-test to fix flake ( #15314 )
...
Flake seen here:
https://github.com/coder/coder/actions/runs/11624011543/job/32371950701
https://coder.com/blog/go-testing-contexts-and-t-parallel
2024-11-01 23:22:36 +11:00
Spike Curtis
005ea536a5
fix: fix Listen/Unlisten race on Pubsub ( #15315 )
...
Fixes #15312
When we need to `Unlisten()` for an event, instead of immediately removing the event from the `p.queues`, we store a channel to signal any goroutines trying to Subscribe to the same event when we are done. On `Subscribe`, if the channel is present, wait for it before calling `Listen` to ensure the ordering is correct.
2024-11-01 14:35:26 +04:00
Cian Johnston
fbbefa228d
chore(.gitignore): add .zed_server to .gitignore ( #15316 )
2024-11-01 09:58:52 +00:00
Mathias Fredriksson
bd9151d224
fix(coderd/database/pubsub): prevent listeners read outside mutex lock ( #15303 )
...
https://github.com/coder/coder/actions/runs/11611105362/job/32331771969#logs
```
2024-10-31T11:36:45.9225038Z WARNING: DATA RACE
2024-10-31T11:36:45.9225120Z Write at 0x00c0000d8030 by goroutine 26:
2024-10-31T11:36:45.9225200Z runtime.mapdelete()
2024-10-31T11:36:45.9225412Z /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/map.go:696 +0x0
2024-10-31T11:36:45.9225647Z github.com/coder/coder/v2/coderd/database/pubsub.(*PGPubsub).subscribeQueue.func2()
2024-10-31T11:36:45.9225906Z /home/runner/work/coder/coder/coderd/database/pubsub/pubsub.go:277 +0x131
2024-10-31T11:36:45.9225993Z runtime.deferreturn()
2024-10-31T11:36:45.9226210Z /opt/hostedtoolcache/go/1.22.8/x64/src/runtime/panic.go:602 +0x5d
2024-10-31T11:36:45.9226283Z testing.tRunner()
2024-10-31T11:36:45.9226519Z /opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1689 +0x21e
2024-10-31T11:36:45.9226603Z testing.(*T).Run.gowrap1()
2024-10-31T11:36:45.9226831Z /opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1742 +0x44
2024-10-31T11:36:45.9226836Z
2024-10-31T11:36:45.9226934Z Previous read at 0x00c0000d8030 by goroutine 112:
2024-10-31T11:36:45.9227159Z github.com/coder/coder/v2/coderd/database/pubsub.(*PGPubsub).subscribeQueue.func2()
2024-10-31T11:36:45.9227462Z /home/runner/work/coder/coder/coderd/database/pubsub/pubsub.go:284 +0x1b6
2024-10-31T11:36:45.9227661Z github.com/coder/coder/v2/enterprise/replicasync.(*Manager).subscribe.func3()
2024-10-31T11:36:45.9227936Z /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:228 +0x53
2024-10-31T11:36:45.9227941Z
2024-10-31T11:36:45.9228019Z Goroutine 26 (running) created at:
2024-10-31T11:36:45.9228096Z testing.(*T).Run()
2024-10-31T11:36:45.9228318Z /opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1742 +0x825
2024-10-31T11:36:45.9228498Z github.com/coder/coder/v2/enterprise/replicasync_test.TestReplica()
2024-10-31T11:36:45.9228777Z /home/runner/work/coder/coder/enterprise/replicasync/replicasync_test.go:33 +0x4b
2024-10-31T11:36:45.9228847Z testing.tRunner()
2024-10-31T11:36:45.9229063Z /opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1689 +0x21e
2024-10-31T11:36:45.9229142Z testing.(*T).Run.gowrap1()
2024-10-31T11:36:45.9229366Z /opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1742 +0x44
2024-10-31T11:36:45.9229369Z
2024-10-31T11:36:45.9229443Z Goroutine 112 (finished) created at:
2024-10-31T11:36:45.9229685Z github.com/coder/coder/v2/enterprise/replicasync.(*Manager).subscribe()
2024-10-31T11:36:45.9229952Z /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:226 +0x568
2024-10-31T11:36:45.9230092Z github.com/coder/coder/v2/enterprise/replicasync.New()
2024-10-31T11:36:45.9230361Z /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:101 +0x1344
2024-10-31T11:36:45.9230547Z github.com/coder/coder/v2/enterprise/replicasync_test.TestReplica.func1()
2024-10-31T11:36:45.9230836Z /home/runner/work/coder/coder/enterprise/replicasync/replicasync_test.go:48 +0x26a
2024-10-31T11:36:45.9230904Z testing.tRunner()
2024-10-31T11:36:45.9231127Z /opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1689 +0x21e
2024-10-31T11:36:45.9231207Z testing.(*T).Run.gowrap1()
2024-10-31T11:36:45.9231431Z /opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1742 +0x44
```
2024-11-01 11:24:29 +04:00
Ethan
b1298a3c1e
feat: add WorkspaceUpdates tailnet RPC ( #14847 )
...
Closes #14716
Closes #14717
Adds a new user-scoped tailnet API endpoint (`api/v2/tailnet`) with a new RPC stream for receiving updates on workspaces owned by a specific user, as defined in #14716 .
When a stream is started, the `WorkspaceUpdatesProvider` will begin listening on the user-scoped pubsub events implemented in #14964 . When a relevant event type is seen (such as a workspace state transition), the provider will query the DB for all the workspaces (and agents) owned by the user. This gets compared against the result of the previous query to produce a set of workspace updates.
Workspace updates can be requested for any user ID, however only workspaces the authorised user is permitted to `ActionRead` will have their updates streamed.
Opening a tunnel to an agent requires that the user can perform `ActionSSH` against the workspace containing it.
2024-11-01 14:53:53 +11:00
Ethan
f941e78079
chore: add db query to retrieve workspaces & their agents ( #14792 )
...
Second PR for #14716 .
Adds a query that, given a user ID, returns all the workspaces they own, that can also be `ActionRead` by the requesting user.
```
type GetWorkspacesAndAgentsByOwnerIDRow struct {
WorkspaceID uuid.UUID `db:"workspace_id" json:"workspace_id"`
WorkspaceName string `db:"workspace_name" json:"workspace_name"`
JobStatus ProvisionerJobStatus `db:"job_status" json:"job_status"`
Transition WorkspaceTransition `db:"transition" json:"transition"`
Agents []AgentIDNamePair `db:"agents" json:"agents"`
}
```
`JobStatus` and `Transition` are set using the latest build/job of the workspace. Deleted workspaces are not included.
2024-11-01 14:36:12 +11:00
Ethan
31506e694b
chore: send workspace pubsub events by owner id ( #14964 )
...
We currently send empty payloads to pubsub channels of the form `workspace:<workspace_id>` to notify listeners of updates to workspaces (such as for refreshing the workspace dashboard).
To support https://github.com/coder/coder/issues/14716 , we'll instead send `WorkspaceEvent` payloads to pubsub channels of the form `workspace_owner:<owner_id>`. This enables a listener to receive events for all workspaces owned by a user.
This PR replaces the usage of the old channels without modifying any existing behaviors.
```
type WorkspaceEvent struct {
Kind WorkspaceEventKind `json:"kind"`
WorkspaceID uuid.UUID `json:"workspace_id" format:"uuid"`
// AgentID is only set for WorkspaceEventKindAgent* events
// (excluding AgentTimeout)
AgentID *uuid.UUID `json:"agent_id,omitempty" format:"uuid"`
}
```
We've defined `WorkspaceEventKind`s based on how the old channel was used, but it's not yet necessary to inspect the types of any of the events, as the existing listeners are designed to fire off any of them.
```
WorkspaceEventKindStateChange WorkspaceEventKind = "state_change"
WorkspaceEventKindStatsUpdate WorkspaceEventKind = "stats_update"
WorkspaceEventKindMetadataUpdate WorkspaceEventKind = "mtd_update"
WorkspaceEventKindAppHealthUpdate WorkspaceEventKind = "app_health"
WorkspaceEventKindAgentLifecycleUpdate WorkspaceEventKind = "agt_lifecycle_update"
WorkspaceEventKindAgentLogsUpdate WorkspaceEventKind = "agt_logs_update"
WorkspaceEventKindAgentConnectionUpdate WorkspaceEventKind = "agt_connection_update"
WorkspaceEventKindAgentLogsOverflow WorkspaceEventKind = "agt_logs_overflow"
WorkspaceEventKindAgentTimeout WorkspaceEventKind = "agt_timeout"
```
2024-11-01 14:17:05 +11:00
Colin Adler
088f21965b
feat: add audit logs for dormancy events ( #15298 )
2024-10-31 17:55:42 -05:00
Mathias Fredriksson
14565615be
test(coderd/database/pubsub): fix data race in err assignment ( #15306 )
2024-10-31 22:37:19 +02:00
Danielle Maywood
330acd1270
chore: create ResourceNotificationMessage and AsNotifier ( #15301 )
...
Closes https://github.com/coder/coder/issues/15213
This PR enables sending notifications without requiring the auth system
context, instead using a new auth notifier context.
2024-10-31 17:01:51 +00:00
Steven Masley
9d03e0429f
fix: workspaces query to correctly user username from users table ( #15305 )
...
The subquery on the users table was incorrectly using the username from
the `workspaces` table, not the `users` table.
This passed `sqlc-vet` because the column did exist in the query, it
just was not the correct one.
2024-10-31 12:33:07 -04:00
Bruno Quaresma
4849b4d8ac
refactor(site): refactor DAU chart to avoid seat consumption focus ( #15307 )
...
Related to
[https://github.com/coder/coder/issues/15297 ](https://github.com/coder/coder/issues/15297#issuecomment-2450052538 )
- Clearly display this as Daily Active Users
- Remove the user limit bar at the top for licensed deployments
- Explain in the tooltip that this is for measuring user activity and
has no connection to license consumption
2024-10-31 12:26:30 -03:00
Mathias Fredriksson
6e54bd9183
test(coderd/notifications): fix data race in tests and smpttest ( #15304 )
2024-10-31 15:48:49 +02:00
Cian Johnston
591cefa428
fix(coderd/provisionerdserver): prevent NPE if no user link exists ( #15289 )
2024-10-30 19:16:59 +00:00
Colin Adler
3de98c25db
feat: add prometheus metric for tracking user statuses ( #15281 )
2024-10-30 18:41:16 +00:00
Stephen Kirby
e9fbfcc45b
chore(docs): include custom roles examples and mention of password reset ( #15294 )
...
Added example custom roles for admin inspiration, mention of headless
authentication use case, and user-activated password reset.
2024-10-30 11:41:52 -05:00
Kayla Washburn-Love
85ff8e0267
chore: tweak e2e test timeouts ( #15275 )
2024-10-30 10:07:19 -06:00
Ethan
371a2e12ab
fix: check correct default during template push from stdin ( #15293 )
...
I used the wrong default in #14643 - not sure how or why I didn't catch
that..
2024-10-30 15:05:10 +00:00
Steven Masley
144d3f3e3d
chore: record lifecycle duration metric to prometheus ( #15279 )
...
`autobuild_execution_duration_seconds` keeps track of how long autobuild
takes and exposes it via prometheus histogram
2024-10-30 10:20:47 -04:00
Muhammad Atif Ali
afacb07140
chore: tighten GitHub workflow permissions ( #15282 )
2024-10-30 16:17:42 +05:00
Muhammad Atif Ali
df6afd3354
fix(install.sh): fix installation script for remote hosts ( #15288 )
2024-10-30 15:49:28 +05:00
Danielle Maywood
823a2ea22e
chore(cli): drop 'notification' prefix for configuring email auth ( #15270 )
...
Closes https://github.com/coder/coder/issues/14644
2024-10-30 10:06:10 +00:00
Stephen Kirby
25738388d5
chore(docs): add documentation on custom roles ( #15280 )
...
These docs were overwritten in the restructure merge.
2024-10-29 20:58:26 -05:00
Kayla Washburn-Love
bbd2dd80e2
fix: show template name on workspace page when template display name is unset ( #15262 )
2024-10-29 12:30:13 -06:00
Garrett Delfosse
d83f4eb076
fix: stop activity bump if no tracked sessions ( #15237 )
...
Part of https://github.com/coder/coder/issues/15176
I originally kept this the same because I wanted to be conservative
about when we start dropping activity, but this is proving to be a
problem when using `coder ssh` with `--usage-app=disabled`. Because the
workspace agent still counts this as a connection (I think it still
should so it's counted somewhere) but not as a SSH / IDE session. This
leads to background ssh tasks that want to be untracked still continuing
to bump activity when it shouldn't. This makes it so we have to have an
explicit session to bump activity.
2024-10-29 18:08:24 +00:00
Colin Adler
ceb168be95
fix(flake.nix): remove preBuild to fix building on Linux ( #15259 )
2024-10-29 12:57:13 -05:00
Jon Ayers
097fdaffe2
chore: add quota to source-controlled template ( #15271 )
2024-10-29 16:31:46 +00:00
Bruno Quaresma
3c7808c575
fix(site): update workspace timings to use theme colors ( #15269 )
...
Fix https://github.com/coder/coder/issues/15266
After fix:
<img width="1210" alt="Screenshot 2024-10-29 at 09 37 02"
src="https://github.com/user-attachments/assets/35ff0361-6323-4e26-b4f2-05da6f1651c6 ">
<img width="1200" alt="Screenshot 2024-10-29 at 09 36 49"
src="https://github.com/user-attachments/assets/c2e55364-9f21-4bd1-bda6-aedf106a9742 ">
<img width="1202" alt="Screenshot 2024-10-29 at 09 36 40"
src="https://github.com/user-attachments/assets/2d0222d9-cf25-4ef9-8d74-f426fbae7bec ">
2024-10-29 13:02:24 -03:00
Joobi S B
7982ad7659
feat: expose premium trial form via CLI ( #15054 )
...
This PR closes https://github.com/coder/coder/issues/14856
2024-10-29 13:02:20 +00:00
Danielle Maywood
78ff375fed
feat: log when attempted password resets fail ( #15267 )
...
Closes https://github.com/coder/coder/issues/15154
Log when someone attempts to either
- Request a one-time passcode for an account that doesn't exist
- Attempt to change a password with an invalid one-time passcode and/or
email
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-10-29 12:19:56 +00:00
Bruno Quaresma
4cad6f75a9
fix(site): fix workspace timings verbiage ( #15268 )
2024-10-29 09:05:41 -03:00
Danielle Maywood
4e20eea9e6
chore: remove unused 'must_reset_password' column ( #15265 )
...
Closes https://github.com/coder/internal/issues/153
Remove the 'must_reset_password' as it was introduced for use in the
"forgot password?" flow but never used.
2024-10-29 09:57:40 +00:00
Michael Smith
1d925ab043
fix: ensure user admins can always see users table ( #15226 )
...
Closes #15212
## Changes made
- Updated logic so that proxy config is only requested when appropriate,
instead of for all users on all deployment pages
- Split up the main context provider for the `/deployment` and
`/organizations` routes, and updated layout logic for
`ManagementSettingsLayout` layout component. This ensures the sidebar is
always visible, even if request errors happen
- Added additional routing safeguards to make sure that even if a user
can view one page in the deployment section, they won't be able to
navigate directly to any arbitrary deployment page
- Updated logic for sidebar navigation to ensure that nav items only
appear when the user truly has permission
- Centralized a lot of the orgs logic into the `useAuthenticated` hook
- Added additional check cases to the `permissions.tsx` file, to give
more granularity, and added missing type-checking
- Extended the API for the `RequirePermissions` component to let it
redirect users anywhere
- Updated some of our testing setup files to ensure that types were
defined correctly
---------
Co-authored-by: McKayla Washburn <mckayla@hey.com >
2024-10-29 01:06:33 -04:00
Jon Ayers
fd60e1c2ba
fix: fix security workflow not installing protoc properly ( #15263 )
2024-10-29 01:30:43 +00:00
Stephen Kirby
971388762c
chore(docs): change mentions of enterprise to premium ( #15258 )
...
Matches our latest licensing verbiage.
2024-10-28 15:56:51 -05:00
dependabot[bot]
742413e149
chore: bump google.golang.org/api from 0.202.0 to 0.203.0 ( #15246 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 20:47:19 +00:00
Jon Ayers
fb4219f57d
fix: parse int to correct bit size ( #15257 )
2024-10-28 20:31:01 +00:00
Colin Adler
074faec7d7
chore: update Terraform to 1.9.8 ( #15256 )
2024-10-28 15:24:57 -05:00
Colin Adler
516ba9e28e
chore: update Go to 1.22.8 ( #15255 )
2024-10-28 15:09:43 -05:00
Steven Masley
7cb20d7b26
chore: name unlabeled db transaction metrics ( #15251 )
2024-10-28 13:15:29 -04:00
dependabot[bot]
ecb22461bb
chore: bump github.com/gohugoio/hugo from 0.134.1 to 0.136.5 ( #15247 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 17:13:51 +00:00
dependabot[bot]
1636124ed1
chore: bump github.com/fatih/color from 1.17.0 to 1.18.0 ( #15248 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 17:11:31 +00:00
dependabot[bot]
cdd40fb292
ci: bump the github-actions group with 2 updates ( #15245 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 21:59:30 +05:00
Ethan
1d33990e78
fix: ensure make gen runs on any changes ( #15253 )
...
Previously, `make gen` ran on CI whenever a non-docs change was made.
Based off the problem described in #15252 , it sounds like CI should
*always* be running `gen`.
(Because I broke it, currently PR `gen` is getting skipped unless the
`ci` category is updated)
2024-10-29 03:46:18 +11:00
Vincent Vielle
95a348ecc7
fix(coderd): improve use case handling in notifier for appearance fetchers ( #15242 )
...
Fixing #15241 & add tests.
2024-10-28 16:53:20 +01:00
Ethan
03940f5fef
chore: ensure make gen runs on CI when docs are updated ( #15252 )
...
https://github.com/coder/coder/pull/15203 was merged with a failing
`make gen`, as it only updated the docs. This makes it so this can't
happen again.
The capitalization of the Go type used in the auto-generated docs
(`codersdk.OAuth2GithubConfig`) wasn't updated as it would technically
be a breaking change for the sdk.
2024-10-28 15:22:37 +00:00
Edward Angert
007f0a35a4
fix: adjust instances of Github to GitHub ( #15203 )
...
s/Github/GitHub
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-28 07:43:30 -04:00
Phorcys
c8f68cbc46
feat: use hashicorp/cloud-init provider for AWS-linux example ( #15240 )
...
Same as #15050 but for the `aws-linux` template.
Tested, works as expected.
2024-10-28 07:43:45 +00:00
Phorcys
91c337a2ff
feat: use hashicorp/cloud-init provider in AWS devcontainer template ( #15050 )
...
This PR makes templates uses the
[hashicorp/cloud-init](https://registry.terraform.io/providers/hashicorp/cloudinit/latest/docs )
provider instead of hardcoding a cloud-init config.
2024-10-27 13:17:03 +00:00
Steven Masley
9308331d9a
chore: change promtheus label to 'tx_id' ( #15238 )
...
the 'id' label was not coming through. Maybe it's reserved? Or used in
the chain somewhere.
2024-10-25 18:50:42 -04:00
Steven Masley
e03ef62a13
chore: add scim service provider config endpoint ( #15235 )
...
Adds a static `/scim/v2/ServiceProviderConfig` endpoint. Our scim
support is static, so the response config is also defined statically.
2024-10-25 18:27:34 -04:00
Colin Adler
27f5ff2dd1
chore: correctly document SCIM authentication ( #15234 )
2024-10-25 12:40:13 -05:00
Steven Masley
900e2cd39c
chore: implement better 404 for unimplemented scim endpoints ( #15232 )
...
Prior to this, html was returned.
2024-10-25 13:23:12 -04:00
Colin Adler
487b37b228
feat(enterprise): support bearer tokens in SCIM authentication ( #15233 )
2024-10-25 11:52:57 -05:00
Garrett Delfosse
0dd942e197
fix: stop incrementing activity on empty agent stats ( #15204 )
2024-10-25 16:49:44 +00:00
Jon Ayers
cd890aa3a0
feat: enable key rotation ( #15066 )
...
This PR contains the remaining logic necessary to hook up key rotation
to the product.
2024-10-25 17:14:35 +01:00
Steven Masley
ccfffc6911
chore: add tx metrics and logs for serialization errors ( #15215 )
...
Before db_metrics were all or nothing. Now `InTx` metrics are always recorded, and query metrics are opt in.
Adds instrumentation & logging around serialization failures in the database.
2024-10-25 12:14:15 -04:00
Cian Johnston
df34858c3c
chore(coderd): extract fileszip to package archive for reuse ( #15229 )
...
Related to https://github.com/coder/coder/issues/15087
As part of sniffing the workspace tags from an uploaded file, we need to
be able to handle both zip and tar files. Extracting the functions to
a separate `archive` package will be helpful here.
2024-10-25 15:14:39 +01:00
Cian Johnston
5ad47471b5
chore(provisioner/terraform): extract terraform parsing logic to package tfparse ( #15230 )
...
Related to https://github.com/coder/coder/issues/15087
Extracts the logic for extracting variables and workspace tags
to a separate package `tfparse`.
---------
Co-authored-by: Danielle Maywood <danielle@themaywoods.com >
2024-10-25 14:48:12 +01:00
Spike Curtis
d9f1aafa94
fix: stop logging errors on cancel in notifier ( #15186 )
...
fixes https://github.com/coder/internal/issues/121
We shouldn't log errors when context is canceled, e.g. on shutdown. This breaks our tests and alarms customers needlessly.
2024-10-25 16:28:54 +04:00
Cian Johnston
5bcaa93198
chore(enterprise/coderd/license): fix time-related flake in license expiration warning test ( #15228 )
...
Fixes a time-related test flake in enterprise/coderd/license/license_test.go
2024-10-25 12:19:50 +01:00
Eric Paulsen
b62f3e6af5
feat(helm): add topologySpreadConstraints value ( #15168 )
2024-10-25 09:14:39 +01:00
Vincent Vielle
e5668720b8
fix(coderd): improve password update logic ( #15210 )
...
Working on #15202
The main change is to fetch the user doing the action to verify if it
should be able to change the password if there's no old_password set.
2024-10-24 22:48:15 +02:00
Steven Masley
f258232be9
chore: return json for disabled scim routes ( #15222 )
...
Customers reporting html pages returned to SCIM. Likely a disabled SCIM.
We should just report a more consumable error by the SCIM provider.
Previous behavior was a status code 200 HTML page
2024-10-24 16:26:16 -04:00
Garrett Delfosse
81e99bec6b
fix: close server pty connections on client disconnect ( #15201 )
2024-10-24 15:12:35 -04:00
Colin Adler
69c1d981e3
fix(site): sanitize login redirect ( #15208 )
2024-10-24 13:59:26 -05:00
Charlie Voiselle
7efdf811ae
chore: fix incorrect quote in Workspace Delete confirmation modal ( #15216 )
...
Tiny PR to change left-hand double quote on right side to right-hand double quote.
2024-10-24 14:43:10 -04:00
Danielle Maywood
095c9797c9
feat: notify users on template deprecation ( #15195 )
...
Closes https://github.com/coder/coder/issues/15117
Notify users when a template has been deprecated.
2024-10-24 13:12:12 +01:00
Jon Ayers
bcd68ee249
fix: fix build in security workflow ( #15209 )
...
- Fixes an issue where building the Docker image failed due to moving
the directory hosting the Dockerfile
- Removed the Palo Alto scanning since our subscription there is set to
expire. Trivy is still running though.
2024-10-24 01:21:18 +01:00
Steven Masley
163631e79c
chore: use system context for fetching template information ( #15205 )
...
The authz check is Update() on the original template. This is not ideal,
but it follows the existing behavior. We are implicitly granting this
read access since template admins need to be able to see what
users/groups exist to assign.
2024-10-23 17:03:17 -05:00
Cian Johnston
fed70bdeb8
fix(helm/coder): set serviceAccount.disableCreate=false by default, add tests ( #15197 )
...
* Sets `serviceaccount.disableCreate=false` by default (accidentally
changed by #14817 )
* Reverts changes made in https://github.com/coder/coder/pull/15196
2024-10-23 21:11:02 +01:00
Edward Angert
0fba291ffe
docs: add date to Quickstart guide ( #15199 )
...
and try to trick the CI into passing + building the page 😬
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-23 12:56:17 -05:00
Ethan
57386ed677
fix: make helm golden files to fix ci ( #15196 )
...
The go tests that would have checked for the outdated golden files
didn't get run as part of https://github.com/coder/coder/pull/14817
because only `helm/**` files were modified.
2024-10-23 08:38:52 -07:00
Edward Angert
ed5da65a54
chore(docs): add Quickstart doc to tutorials ( #14744 )
...
New doc to get users up and running quickly
preview: https://coder.com/docs/@quickstart-guide/tutorials/quickstart
## To Do
- [x] update or remove Codium steps
- [x] add to sidebar
- [x] add to README and others as needed
- [x] reference https://github.com/coder/coder/pull/11946 and the
discussion to influence this PR
closes https://github.com/coder/internal/issues/107
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-23 11:31:29 -04:00
Edward Angert
d7baa49d6d
docs: add primary to wsproxy ls ( #15185 )
...
Add primary to `coder wsproxy ls` results in
<https://coder.com/docs/admin/networking/workspace-proxies#step-2-deploy-the-proxy >
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-23 11:15:55 -04:00
Edward Angert
20a9e9bdfb
chore(docs): remove workspace proxy map ( #15070 )
...
remove workspace proxy map
- replace later with another image or diagram
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-23 11:15:32 -04:00
Bruno Quaresma
d89ecebb4e
feat(site): add workspace timings ( #15068 )
...
Demo:
https://github.com/user-attachments/assets/046a7224-48e4-4e66-a2ff-a8e1252ad18b
2024-10-23 10:09:37 -03:00
MaxTNielsen
cd92220ab8
feat(helm): add setting to disable service account creation ( #14817 )
...
Add a setting to disable service account creation
2024-10-23 13:25:57 +01:00
dependabot[bot]
b828412edd
chore: bump google.golang.org/api from 0.201.0 to 0.202.0 ( #15188 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 03:05:58 -07:00
Cian Johnston
84f0cf215f
chore(docs): update external provisioners helm docs ( #15155 )
...
Closes https://github.com/coder/coder/issues/14985
Updates external provisioner documentation to show steps for using
provisioner keys via Helm:
---------
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-23 09:25:53 +01:00
dependabot[bot]
f61c59fed9
chore: bump github.com/unrolled/secure from 1.14.0 to 1.17.0 ( #15187 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 07:54:32 +00:00
dependabot[bot]
b7f9c1aa2e
chore: bump google.golang.org/api from 0.200.0 to 0.201.0 ( #15162 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 07:51:05 +00:00
dependabot[bot]
d613390162
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.68.0 to 1.69.0 ( #15160 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 07:50:28 +00:00
dependabot[bot]
6cad5dbd52
chore: bump github.com/chromedp/chromedp from 0.10.0 to 0.11.0 ( #15159 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 07:49:20 +00:00
dependabot[bot]
fa6c859e83
chore: bump github.com/aws/aws-sdk-go-v2/config from 1.27.27 to 1.28.0 ( #15161 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 07:48:52 +00:00
dependabot[bot]
eabf618479
chore: bump go.uber.org/mock from 0.4.0 to 0.5.0 ( #15163 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 07:48:20 +00:00
dependabot[bot]
b67a850659
ci: bump the github-actions group with 4 updates ( #15158 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 12:40:46 +05:00
Spike Curtis
32d5875fa4
fix: wait for server tailnet background routines to exit on Close ( #15183 )
...
fixes https://github.com/coder/internal/issues/114
We need to wait for ServerTailnet goroutines to finish when closing down, otherwise we can race with the shutdown of coderd & the coordinator, which causes errors.
2024-10-23 10:09:56 +04:00
Steven Masley
343f8ec9ab
chore: join owner, template, and org in new workspace view ( #15116 )
...
Joins in fields like `username`, `avatar_url`, `organization_name`,
`template_name` to `workspaces` via a **view**.
The view must be maintained moving forward, but this prevents needing to
add RBAC permissions to fetch related workspace fields.
2024-10-22 09:20:54 -05:00
Danielle Maywood
5076161078
fix: show audit logs for forgot password flow ( #15181 )
...
Fixes https://github.com/coder/coder/issues/15150
Audit logs for requesting a password reset, and a user updating their
password, now show up in the audit log.
2024-10-22 13:47:30 +01:00
Vincent Vielle
297089e944
feat(coderd): add company logo when available for email notifications ( #14935 )
...
This PR aims to close #14253
We keep the default behavior using the Coder logo if there's no logo
set.
Otherwise we want to use the logo based on the URL set in appearance.
---------
Co-authored-by: defelmnq <yvincent@coder.com >
2024-10-22 14:06:19 +02:00
Cian Johnston
c42f487668
fix(helm/provisioner): fail if psk and key are both set ( #15157 )
...
Relates to https://github.com/coder/coder/issues/14985
Context:
https://github.com/coder/coder/pull/15122#discussion_r1808458819
Specifying both `provisionerDaemon.pskSecretName` and
`provisionerDaemon.keySecretName` will now result in an error.
This prevents a potential `CrashLoopBackoff` debug session due to the
following error:
```
error: cannot provide both provisioner key --key and pre-shared key --psk
```
2024-10-22 08:38:47 +01:00
Bruno Quaresma
76bfa9ba17
fix(site): fix validation server error on change password form ( #15170 )
...
Before:

After:
<img width="528" alt="Screenshot 2024-10-21 at 13 07 34"
src="https://github.com/user-attachments/assets/797ddeaa-8fb4-4d22-9a1b-93809b92432b ">
Fix https://github.com/coder/coder/issues/15152
2024-10-21 16:22:29 +00:00
Cian Johnston
212aeff724
fix(cli): fix potential panic in traceError if unwrapped err is nil ( #15166 )
...
Seen while investigating #12721 :
Root cause was a developer error, but this definitely shouldn't panic.
Before:
```
/ # coder stat
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1f12eb0]
goroutine 1 [running]:
github.com/coder/coder/v2/cli.traceError({0x90e89a0?, 0x40007a8210})
/home/runner/work/coder/coder/cli/root.go:1119 +0x70
github.com/coder/coder/v2/cli.cliHumanFormatError({0x40003065a0, 0x1c8}, {0x90e89a0, 0x40007a8210}, 0x40007a81e0?)
/home/runner/work/coder/coder/cli/root.go:985 +0x190
github.com/coder/coder/v2/cli.cliHumanFormatError({0x40000d0f00, 0x139}, {0x90e89a0, 0x40007a81e0}, 0x40001c4480?)
/home/runner/work/coder/coder/cli/root.go:985 +0x1d8
github.com/coder/coder/v2/cli.cliHumanFormatError({0x40000d0b40, 0xf}, {0x90e5f00, 0x40006a3a80}, 0x90e5d40?)
/home/runner/work/coder/coder/cli/root.go:985 +0x1d8
github.com/coder/coder/v2/cli.cliHumanFormatError({0x0, 0x0}, {0x90e5ce0, 0x40003b14c0}, 0x2?)
/home/runner/work/coder/coder/cli/root.go:985 +0x1d8
github.com/coder/coder/v2/cli.formatRunCommandError(0x40007a8108, 0x400079fce7)
/home/runner/work/coder/coder/cli/root.go:1057 +0x30c
github.com/coder/coder/v2/cli.cliHumanFormatError({0x0, 0x0}, {0x90e5ec0, 0x40007a8108}, 0xaa0aed0?)
/home/runner/work/coder/coder/cli/root.go:980 +0xe0
github.com/coder/coder/v2/cli.cliHumanFormatError({0x0, 0x0}, {0x90e5160, 0x40007a8120}, 0x90e50e0?)
/home/runner/work/coder/coder/cli/root.go:966 +0x144
github.com/coder/coder/v2/cli.(*PrettyErrorFormatter).Format(0x400079fda0, {0x90e5160?, 0x40007a8120?})
/home/runner/work/coder/coder/cli/root.go:927 +0x48
github.com/coder/coder/v2/cli.(*RootCmd).RunWithSubcommands(0x400068ed80, {0x400053a2c8, 0x30, 0x57})
/home/runner/work/coder/coder/cli/root.go:175 +0x278
main.main()
/home/runner/work/coder/coder/enterprise/cmd/coder/main.go:11 +0x40
```
After:
```
Encountered an error running "coder stat", see "coder stat --help" for more information
error: <nil>
```
2024-10-21 17:12:57 +01:00
Danielle Maywood
23f61c68b4
fix: urlencode email in reset password link ( #15167 )
...
Fixes https://github.com/coder/coder/issues/15151
This runs `urlencode` (provided by `text/template`) on the email address
in the link. This ensures the link will work if a user has an email in
the form `user+label@example.com `.
2024-10-21 16:09:59 +01:00
Danielle Maywood
13f6645ab9
fix(cli): improve container detection when cgroupns=private ( #15156 )
...
Fixes https://github.com/coder/coder/issues/12721
If a container in docker is started with `--cgroupns=private` (which is
the default behaviour in docker) then `/proc/1/cgroup` has the following
content:
```
0::/
```
If a container in docker is started with `--cgroupns=host` then
`/proc/1/cgroup` has the following content (hash will vary):
```
0::/docker/aa86ac98959eeedeae0ecb6e0c9ddd8ae8b97a9d0fdccccf7ea7a474f4e0bb1f
```
Currently we are determining if a host is containerized by assuming the
second scenario. This means the existing behaviour of sniffing
`/proc/1/cgroup` is not always sufficient for checking if a host is
containerized.
According to [the cgroups(7)
man-page](https://man7.org/linux/man-pages/man7/cgroups.7.html ) there
exists a `cgroup.type` file in a nonroot cgroup. This exists in Linux
versions after `4.14`.
> Linux 4.14 added thread mode for cgroups v2.
> With the addition of thread mode, each nonroot cgroup now contains a
new file, cgroup.type
This means we can check for the existence of
`/sys/fs/cgroup/cgroup.type` to see if we are in a container or not.
2024-10-21 15:28:32 +01:00
Ethan
c5a4095610
fix: include custom agent headers in tailnet to support DERP connections ( #15145 )
...
Fixes #15131 .
2024-10-21 20:59:21 +11:00
Spike Curtis
29099d4727
chore: refactor notifier to use quartz.TickerFunc ( #15134 )
...
In investigating https://github.com/coder/internal/issues/109 I noticed many of the notification tests are still using `time.Sleep` and `require.Eventually`. This is an initial effort to start converting these to Quartz.
One product change is to switch the `notifier` to use a `TickerFunc` instead of a normal Ticker, since it allows the test to assert that a batch process is complete via the Quartz `Mock` clock. This does introduce one slight behavioral change in that the notifier waits the fetch interval before processing its first batch. In practice, this is inconsequential: no one will notice if we send notifications immediately on startup, or just a little later.
But, it does make a difference to some tests, which are fixed up here.
2024-10-21 12:07:19 +04:00
Spike Curtis
8c8bd3141f
chore: stop creating coderd for notification unit tests ( #15133 )
...
A bunch of notification tests create a whole `coderd`, when all they use is the database and logger. This makes the tests more expensive to run, and pollutes the test logs with a bunch of stuff that doesn't matter (e.g. tailnet).
2024-10-21 10:39:37 +04:00
Danny Kopping
b9d441ff5f
fix: use concurrency-safe bytes buffer to avoid race ( #15142 )
...
Fixes https://github.com/coder/internal/issues/93
`bytes.Buffer` is not concurrency-safe.
`cmd` could write to the buffer concurrently while we're reading the
buffer in
```
require.Eventually(t, func() bool {
return bytes.Contains(output.Bytes(), []byte("ERROR: Downloaded agent binary returned unexpected version output"))
}, testutil.WaitShort, testutil.IntervalSlow)
```
Not sure about the `os: process already finished` flake, though.
---------
Signed-off-by: Danny Kopping <danny@coder.com >
2024-10-21 17:24:18 +11:00
Ethan
9b8e707517
chore: skip ssh exec-ing test on windows ( #15146 )
...
See coder/internal#117
2024-10-21 04:17:20 +00:00
Kayla Washburn-Love
d2c1562a94
chore: cleanup some query handling ( #15130 )
2024-10-18 11:35:55 -06:00
Bruno Quaresma
aaa1223408
feat(site): add forgot password link ( #15108 )
...
Demo:
https://github.com/user-attachments/assets/139eb8c0-5bd6-4bbd-8064-a4acc526afda
2024-10-18 09:50:22 -03:00
Cian Johnston
413928b57a
feat(helm/provisioner): add support for provisioner keys, add note re psk ( #15122 )
...
- Adds `provisionerDaemon.keySecretName` and
`provisionerDaemon.keySecretKey`
- Omitting `provisionerDaemon.pskSecretName` will now cause the PSK
secret to no longer be created.
- Adds a note in `NOTES.txt` regarding provisioner PSKs.
- Adds validation that either `provisionerDaemon.keySecretName` or
`provisionerDaemon.pskSecretName` is specified, and will fail the
install in this case.
2024-10-18 11:33:33 +01:00
Spike Curtis
d18e8304d6
fix: reduce parallelism and increase worker size on go-test-race ( #15106 )
...
Sets parallelism on go-test-race to 4 concurrent tests and 4 concurrent
packages. Increases to 16-core runner.
2024-10-18 10:45:31 +04:00
jatin
7f98fa3abb
chore: remove duplicated harden-runner step ( #15127 )
2024-10-17 13:12:57 -05:00
Garrett Delfosse
b54950cc6e
fix: order provisioner keys by creation date ( #15125 )
...
Closes https://github.com/coder/internal/issues/110
The flake reported in the issue has already been fixed by
https://github.com/coder/coder/pull/14875 , but this further covers that
we return a list the same order every time.
2024-10-17 13:57:52 -04:00
Garrett Delfosse
5f640eb219
fix: correct connection_median_latency_ms in query ( #15086 )
...
Closes https://github.com/coder/coder/issues/14805
2024-10-17 12:22:26 -04:00
Ethan
c81fd1d868
fix: correct default wsproxy table columns ( #15124 )
...
Closes #15123
2024-10-17 13:09:53 +00:00
Marcin Tojek
bab17a3556
test: improve logging around TestAgentScript ( #15121 )
2024-10-17 13:06:34 +02:00
Joobi S B
5ebc748e94
feat: allow promoting an existing template version to active from CLI ( #15051 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-17 14:15:14 +05:00
Ethan
46cce333b1
fix: check unstaged files during ci lint ( #15120 )
2024-10-17 05:37:43 +00:00
Kayla Washburn-Love
40fb57aa23
chore: turn e2e enterprise tests into e2e premium tests ( #14979 )
2024-10-16 16:54:30 -06:00
Vincent Vielle
02f6203dc7
chore(cli): rename build options to ephemeral parameters in cli ( #15030 )
...
This PR aims to rename `build-option` to `ephemeral-parameters` based on
#10488 conversation.
`build-option` has been renamed `ephemeral-parameter` and can be used to
define a value for an ephemeral parameter in the template.
`build-options` has been renamed `prompt-ephemeral-parameters` and can
be used to prompt the user to put values for the ephemeral parameters in
the template.
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: defelmnq <yvincent@coder.com >
2024-10-16 23:54:12 +02:00
Colin Adler
512cbf1682
chore: update github.com/gomarkdown/markdown ( #15112 )
2024-10-16 20:03:12 +00:00
Sas Swart
dfb6bfa4d2
fix(coderd/notifications): exclude unset fields from notifications ( #15110 )
...
This PR will ensure that optional fields are ignored when they are unset
in user account related templates.
2024-10-16 21:53:24 +02:00
Jon Ayers
f537193682
chore: refactor keycache implementation to reduce duplication ( #15100 )
2024-10-16 20:01:45 +01:00
Muhammad Atif Ali
8e254cbb07
chore: integrate step-security/harden-runner in workflows ( #15099 )
...
Redoing #15097
Part of #14879
2024-10-16 11:23:00 -07:00
Vincent Vielle
ccbb687ca0
feat(cli): extend duration to longer units ( #15040 )
...
This PR is a proposal to improve the situation described in #14750
For some precise commands - we would like to be able to use durations
bigger than hours, minutes..
This PR extends the Duration proposed by Go with :
- `d` - a day or 24hours.
- `y` - a year or 365 days.
I also removed the default value for lifetime and instead fetch the
maxLifetime value from codersdk - so by default if no value set we use
the value defined in the config.
2024-10-16 17:02:56 +02:00
Steven Masley
774c9ddc64
test: add logging to TestWorkspaceActivityBump/Dial ( #15089 )
...
Added logging information to output timing information of this for
loop. If we get another failure, this timing information should be
helpful.
I also made the time drift allowed (was 10s) to match the maximum
waiting time of the for loop. It's not perfect, but now the loop should
take max ~15s, and the time comparison will allow 15s leeway.
2024-10-16 10:01:48 -05:00
Marcin Tojek
416d67ba2c
test: use barrier in TestInflightDispatchesMetric ( #15107 )
...
Fixes: https://github.com/coder/internal/issues/109
2024-10-16 14:12:19 +02:00
Marcin Tojek
21feb42fc4
test: ignore slog errors in TestUserLatencyInsights ( #15105 )
2024-10-16 13:20:28 +02:00
Spike Curtis
d676ad56fe
chore: log provider stack traces on text file busy ( #15078 )
...
re: #14726
If we see "text file busy" in the errors while initializing terraform,
attempt to query the pprof endpoint set up by
https://github.com/coder/terraform-provider-coder/pull/295 and log at
CRITICAL.
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2024-10-16 14:29:09 +04:00
Spike Curtis
a77c9079af
fix: pin shfmt to 3.7.0 in dogfood to match CI ( #15103 )
...
Pins our dogfood Dockerfile to match CI version of `shfmt`
2024-10-16 14:17:27 +04:00
Marcin Tojek
2564f9c823
test: scaletest/reconnectingpty: use TerminalReader ( #15079 )
...
Fixes: https://github.com/coder/internal/issues/98
2024-10-16 11:10:32 +02:00
Spike Curtis
687b4dd41c
fix: match go version in go.mod and CI ( #15104 )
...
Causing CI to re-download Go to match the version in go.mod, and failing
on Windows, e.g.
https://github.com/coder/coder/actions/runs/11361195564/job/31600881001
2024-10-16 12:23:48 +04:00
Cian Johnston
29763b1b4c
chore(docs): add notes regarding provisioner tags and untagged jobs ( #15081 )
...
Relates to https://github.com/coder/coder/issues/15047
---------
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-16 09:22:39 +01:00
Sas Swart
75b5d71216
fix(docs): fix a typo in the devcontainer documentation ( #15102 )
...
This PR fixes a minor typo in our documentation:
https://coder.com/docs/admin/templates/managing-templates/devcontainers
2024-10-16 10:05:31 +02:00
Sas Swart
fac77f956e
fix(coderd/notifications): simplify TemplateWorkspaceManualBuildFailed ( #15067 )
...
This PR closes #15065 .
As advised by @mtojek, a template's display name may be set to "", which
is not useful in an email notification. We'd like to provide a friendly
name for the template, but it also needs to be identifiable.
As such, we fall back to template.Name in the case that the template's
display name is empty.
2024-10-15 21:02:02 +02:00
dependabot[bot]
5317c500c8
ci: bump aquasecurity/trivy-action from 0.25.0 to 0.27.0 in the github-actions group ( #15061 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 23:28:04 +05:00
dependabot[bot]
cc0b264d36
chore: bump google.golang.org/api from 0.199.0 to 0.200.0 ( #15063 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 23:27:22 +05:00
Cian Johnston
06a40185cb
chore(examples): add missing devcontainer templates to examples.go ( #15080 )
2024-10-15 17:26:42 +01:00
Cian Johnston
89ff48744c
chore(docs): fix broken or missing links ( #15085 )
...
Fixes a number of TODOs and broken links.
2024-10-15 16:50:49 +01:00
Vincent Vielle
42e2a4150c
fix(coderd): improve workspace tests ( #15069 )
...
With [a recent PR](https://github.com/coder/coder/pull/14923 ) we
introduced [new
tests](https://github.com/coder/coder/pull/14923/files#diff-81081239b93aaa61eb8d180a5f9870fda8f0ab5cb4c6727d9d1636aa933e597b )
that - while running in parallel to the existing ones - are failing.
This PR is a quick proposal to fix it - tested in local and in the CI to
unblock the situation. We can ignore it to work on a longer term
solution if preferred.
2024-10-15 16:30:38 +02:00
Bruno Quaresma
b8420ecaaf
test(coderd): fix flake on TestWorkspaceBuildTimings ( #15077 )
...
Fix https://github.com/coder/coder/issues/15073
2024-10-15 09:43:39 -03:00
Marcin Tojek
1523d935b5
test: skip scaletest/reconnectingpty Test_Runner ( #15076 )
...
Related: https://github.com/coder/internal/issues/98
2024-10-15 12:40:22 +00:00
Marcin Tojek
c6396e3125
test: skip scaletest/reconnectingpty Test_Runner ( #15075 )
...
Related: https://github.com/coder/internal/issues/98
2024-10-15 14:07:45 +02:00
Spike Curtis
17f2584318
fix: add psmock to gen and make-fresh targets ( #15072 )
...
Fixes
```
+ make -j build/coder_linux_amd64 build/coder_linux_arm64 build/coder_linux_armv7 build/coder_2.16.0-devel+7da231bc9_windows_amd64.zip build/coder_2.16.0-devel+7da231bc9_linux_amd64.tar.gz build/coder_2.16.0-devel+7da231bc9_linux_amd64.deb
coderd/database/pubsub/psmock/doc.go:4: running "mockgen": exec: "mockgen": executable file not found in $PATH
make: *** [Makefile:569: coderd/database/pubsub/psmock/psmock.go] Error 1
```
during builds.
2024-10-15 08:49:26 +00:00
Spike Curtis
3565227d02
chore: disable erroneous linting of function names in vpn ( #15055 )
...
Disables bogus linting e.g. https://github.com/coder/coder/actions/runs/11305350065/job/31444754200?pr=15011
2024-10-15 11:45:56 +04:00
Jon Ayers
7da231bc92
fix: fix error handling to prevent spam in proc prio management ( #15071 )
2024-10-15 02:17:10 +00:00
Jon Ayers
384873a114
feat: add wsproxy implementation for key fetching ( #14917 )
2024-10-14 20:04:10 +01:00
Stephen Kirby
531565645f
chore(docs): make version support more explicit ( #14785 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-14 18:05:25 +00:00
Edward Angert
88c6a75d48
docs: reorganize and edit docs README ( #14706 )
...
Edit the docs readme for consistency and better flow
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-14 13:39:54 -04:00
Muhammad Atif Ali
57a65c15bf
chore: use commit sha for GitHub actions ( #15019 )
...
Use specific commit SHAs for GitHub actions across various workflows to
enhance reliability and reproducibility. This change ensures that
actions run against a known version, reducing the risk of unexpected
issues due to updates in the third-party action repositories.
This contributes to improving the score in #14879
2024-10-14 08:49:55 -07:00
Sas Swart
208ed1efd7
chore(coderd/notifications): expand golden file testing for notifications ( #15032 )
...
This PR aims to close https://github.com/coder/coder/issues/14913 .
It expands the golden files for the notifier to include the entire
payload serialised as JSON.
2024-10-14 12:34:32 +00:00
Bruno Quaresma
9c8ecb82a3
feat(coderd): return agent script timings ( #14923 )
...
Add the agent script timings into the
`/workspacebuilds/:workspacebuild/timings` response.
Close https://github.com/coder/coder/issues/14876
2024-10-14 09:31:03 -03:00
Phorcys
79d24d2101
feat: allow for different docker socket path in docker-based templates ( #15035 ) ( #15049 )
...
This PR fixes #15035 , I have tested it on my instance and it works as
expected.
2024-10-12 21:35:52 +02:00
dependabot[bot]
3eb2b5573b
chore: bump github.com/jedib0t/go-pretty/v6 from 6.5.0 to 6.6.0 ( #15007 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 11:47:34 +00:00
dependabot[bot]
914ce1b43a
chore: bump protobufjs from 7.2.5 to 7.4.0 in /site ( #14951 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:41:58 +05:00
dependabot[bot]
0fe4650c7a
chore: bump the vite group across 1 directory with 3 updates ( #14898 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:40:28 +05:00
dependabot[bot]
61287dc60c
chore: bump github.com/tidwall/gjson from 1.17.0 to 1.18.0 ( #15003 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:40:09 +05:00
dependabot[bot]
dee694ca46
chore: bump github.com/aws/aws-sdk-go-v2 from 1.31.0 to 1.32.2 ( #15046 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:39:44 +05:00
dependabot[bot]
bb8c7e7e35
chore: bump github.com/aws/smithy-go from 1.21.0 to 1.22.0 ( #15004 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:39:30 +05:00
dependabot[bot]
23b1515514
chore: bump github.com/open-policy-agent/opa from 0.68.0 to 0.69.0 ( #15010 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 04:39:10 -07:00
dependabot[bot]
6cc1b975e5
chore: bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0 ( #15008 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 04:38:59 -07:00
dependabot[bot]
bac4fcb73b
chore: bump github.com/prometheus/common from 0.59.1 to 0.60.0 ( #15009 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 11:36:00 +00:00
dependabot[bot]
994e807140
chore: bump the react group across 2 directories with 1 update ( #14946 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 16:25:29 +05:00
Muhammad Atif Ali
20b3f8fbf3
chore: use a smaller runner for e2e test ( #15034 )
...
We run our e2e-tests on a 16-core machine with `--max-workers=1`
Using a standard runner with 2 cores, the machine runs the tests in the
same amount of time while reducing the cost 8 times.
Update: `test-e2e` fails on the 2core-8GB runner, so using a 4-core-16GB runner for that.
2024-10-12 11:23:13 +00:00
Joobi S B
191449078c
feat: implement feature to support template version while creating workspace using cli ( #14880 )
2024-10-11 18:00:11 +05:00
Vincent Vielle
0ef5340d20
fix: change message when trying to update a workspace already up-to-date ( #14975 )
...
Related to #14940 -
We replace the wording from Workspace isn't outdated to Workspace is
up-to-date when the workspace already is up-to-date.
2024-10-10 12:56:53 +02:00
Muhammad Atif Ali
ab6cb1a787
docs: fix links for revere-proxy docs ( #15026 )
2024-10-10 05:31:19 +00:00
Sas Swart
9d02269191
feat(coderd/notifications): improve notification format consistency ( #14967 )
...
This Pull request addresses the more trivial items in
https://github.com/coder/coder/issues/14893 .
These were simple formatting changes that I was able to fix despite
limited context.
Some more changes are required for which I will have to dig a bit deeper
into how the template contexts are populated. I'm happy to add those to
this PR or create a subsequent PR.
2024-10-09 17:31:12 -05:00
Joobi S B
26df33ac88
docs: explain --rich-parameter-file format ( #14941 )
2024-10-09 09:34:24 +05:00
dependabot[bot]
a0787b71a1
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.67.0 to 1.68.0 ( #15005 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 09:13:45 +05:00
dependabot[bot]
71d31713c5
ci: bump the github-actions group across 1 directory with 2 updates ( #15016 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-08 09:04:43 +05:00
dependabot[bot]
93e3c868eb
chore: bump google.golang.org/api from 0.197.0 to 0.199.0 ( #15006 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 08:58:55 +05:00
dependabot[bot]
a33c38d46d
chore: bump the x group with 6 updates ( #15001 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 08:33:00 +05:00
Muhammad Atif Ali
5afd022443
chore(README.md): add setup coder GitHub action link ( #14991 )
2024-10-08 08:10:59 +05:00
Muhammad Atif Ali
e8d5fdfb1a
chore: add OpenSSF badge ( #15012 )
2024-10-08 08:05:33 +05:00
Vincent Vielle
6bf73a5964
fix(coderd): move test location to ignore Australia time saving error ( #15013 )
...
A test is currently failing because it relies on Sidney Tz.
from the internet :
```
Daylight Saving Time begins at 2 am (AEST) on the first Sunday in October and ends at 3 am (Australian Eastern Daylight Time) on the first Sunday in April.
```
Due to that - there's one hour missing in the tests - and the test `6
days are acceptable` is failing.
Changing to another timezone to fix the situation, it would require a
longer-term solution or making sure it cannot happen anymore.
2024-10-07 21:10:01 +02:00
dependabot[bot]
3046f5c959
chore: bump @fontsource/ibm-plex-mono from 5.0.5 to 5.1.0 in /site ( #14958 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 14:46:43 +05:00
dependabot[bot]
7c7060f6a1
chore: bump @types/react-color from 3.0.6 to 3.0.12 in /site ( #14954 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 02:44:54 -07:00
dependabot[bot]
e017d22e1b
chore: bump eslint-config-next from 14.2.13 to 14.2.14 in /offlinedocs ( #14947 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 14:44:23 +05:00
dependabot[bot]
919fe9c632
chore: bump ssh2 and @types/ssh2 in /site ( #14953 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 02:44:07 -07:00
dependabot[bot]
7f5db44ef6
chore: bump micromatch from 4.0.7 to 4.0.8 in /site ( #14996 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 14:43:46 +05:00
dependabot[bot]
4516f5d79c
chore: bump express from 4.20.0 to 4.21.0 in /site ( #14959 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 14:09:18 +05:00
Muhammad Atif Ali
b815fcc150
chore(docs): fix a wrong link in v2.0.0 changelog ( #14994 )
2024-10-07 12:38:44 +05:00
Muhammad Atif Ali
61a41027fc
chore(README.md): add openssf best practices badge ( #14938 )
...
In preparation for #14879
2024-10-05 11:12:15 -07:00
Muhammad Atif Ali
999ae7ba56
chore(docs): fix broken links and update file paths ( #14990 )
2024-10-05 18:08:50 +00:00
Stephen Kirby
9eefd2a636
chore(docs): correct broken links in restructure ( #14989 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-05 17:44:02 +00:00
Muhammad Atif Ali
163f96b71a
fix(docs/admin/security): fix broken link of CVE ( #14988 )
2024-10-05 17:21:27 +00:00
Muhammad Atif Ali
419eba5fb6
docs: restructure docs ( #14421 )
...
Closes #13434
Supersedes #14182
---------
Co-authored-by: Ethan <39577870+ethanndickson@users.noreply.github.com >
Co-authored-by: Ethan Dickson <ethan@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
Co-authored-by: Stephen Kirby <58410745+stirby@users.noreply.github.com >
Co-authored-by: Stephen Kirby <me@skirby.dev >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-05 10:52:04 -05:00
Spike Curtis
288df75686
fix: serialize updateEntitlements() ( #14974 )
...
fixes #14961
Adding the license and updating entitlements is flaky, especially at the start of our `coderdent` testing because, while the actual modifications to the `entitlements.Set` were threadsafe, we could have multiple goroutines reading from the database and writing to the set, so we could end up writing stale data.
This enforces serialization on updates, so that if you modify the database and kick off an update, you know the state of the `Set` is at least as fresh as your database update.
2024-10-05 06:58:43 +04:00
Jaayden Halko
ea3b13c78e
chore: storybook additions and cleanup ( #14968 )
2024-10-04 16:19:24 -04:00
dependabot[bot]
7d281c308f
chore: bump storybook from 8.1.11 to 8.3.5 in /site ( #14977 )
2024-10-04 12:06:59 -03:00
dependabot[bot]
53adbaea70
chore: bump micromatch from 4.0.5 to 4.0.8 in /offlinedocs ( #14969 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 19:11:11 +05:00
dependabot[bot]
1c60622eba
chore: bump rollup from 4.20.0 to 4.24.0 in /site ( #14970 )
2024-10-04 19:03:25 +05:00
Marcin Tojek
9acf6acd76
test: use static port for Prometheus ( #14972 )
...
Fixes: https://github.com/coder/internal/issues/92
2024-10-04 13:17:18 +02:00
Danielle Maywood
4369f2b4b5
feat: implement api for "forgot password?" flow ( #14915 )
...
Relates to https://github.com/coder/coder/issues/14232
This implements two endpoints (names subject to change):
- `/api/v2/users/otp/request`
- `/api/v2/users/otp/change-password`
2024-10-04 11:53:25 +01:00
Spike Curtis
8785a51b09
feat: include Coder service prefix on agents ( #14944 )
...
fixes #14715
Configures agents to use an address both in the Tailscale service prefix and the new Coder service prefix. Also modifies the Coordinator auth to allow the new prefix.
Updates `coder/tailscale` to include https://github.com/coder/tailscale/pull/62 which fixes a bug around forwarding TCP connections to localhost. This functionality is tested in the modifications to `TestAgent_Dial`.
2024-10-04 10:16:33 +04:00
Spike Curtis
7d9f5ab81d
chore: add Coder service prefix to tailnet ( #14943 )
...
re: #14715
This PR introduces the Coder service prefix: `fd60:627a:a42b::/48` and refactors our existing code as calling the Tailscale service prefix explicitly (rather than implicitly).
Removes the unused `Addresses` agent option. All clients today assume they can compute the Agent's IP address based on its UUID, so an agent started with a custom address would break things.
2024-10-04 10:04:10 +04:00
Jon Ayers
68ec532ca7
feat: add jwt pkg ( #14928 )
...
- Adds a `jwtutils` package to be shared amongst the various
packages in the codebase that make use of JWTs. It's intended to help us
standardize on one library instead of some implementations using
`go-jose` and others using `golang-jwt`.
The main reason we're converging on `go-jose` is due to its support for
JWEs, `golang-jwt` also has a repo to handle it but it doesn't look
maintained: https://github.com/golang-jwt/jwe
2024-10-03 21:09:52 -05:00
Steven Masley
50d9206950
chore: fix rbac_gen to allow parallel make gen ( #14966 )
...
Closes https://github.com/coder/coder/issues/14702
2024-10-03 20:28:04 -05:00
Kayla Washburn-Love
8b6a06dbd5
chore: consolidate ManageSettingsLayout code ( #14885 )
...
Clean up a bunch of tangles that only existed to service the
`"multi-organization"` experiment, which has now been removed
2024-10-03 22:00:52 +00:00
dependabot[bot]
04af56d54b
chore: bump @testing-library/react from 14.1.0 to 14.3.1 in /site ( #14950 )
2024-10-03 14:20:58 -06:00
dependabot[bot]
cc7899cc7d
chore: bump uuid from 9.0.0 to 9.0.1 in /site ( #14956 )
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 9.0.0 to 9.0.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md ">uuid's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1 ">9.0.1</a>
(2023-09-12)</h2>
<h3>build</h3>
<ul>
<li>Fix CI to work with Node.js 20.x</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/uuidjs/uuid/commit/b3f142f7efa6d335cd667413b8a5860d2dd04ebf "><code>b3f142f</code></a>
chore(release): 9.0.1</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/fc5d64346a8a93324b7f8f87bdc6b96164f35ba0 "><code>fc5d643</code></a>
chore: add node@12 back to CI, update readme (<a
href="https://redirect.github.com/uuidjs/uuid/issues/733 ">#733</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/462128b660e477c8878a991073547c01ffaf76e6 "><code>462128b</code></a>
ci: update node versions for cI (<a
href="https://redirect.github.com/uuidjs/uuid/issues/732 ">#732</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/4de23a6030e65ac72b3b015680f08e7e292681ed "><code>4de23a6</code></a>
test: remove missing getRandomValues test (<a
href="https://redirect.github.com/uuidjs/uuid/issues/709 ">#709</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/6eef540aa3407b15e1e7573f45ff17098e9343ea "><code>6eef540</code></a>
chore: adapt bundlewatch config to new main branch name (<a
href="https://redirect.github.com/uuidjs/uuid/issues/705 ">#705</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/60ffc406a38128f6dbc8c1d581681843dcf5d0c1 "><code>60ffc40</code></a>
chore: run npm audit fix for json5 (<a
href="https://redirect.github.com/uuidjs/uuid/issues/704 ">#704</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/862562e7a20834532045ecf45266c391cf12e5c7 "><code>862562e</code></a>
ci: run browser tests on pull_request_target (<a
href="https://redirect.github.com/uuidjs/uuid/issues/703 ">#703</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/e6b0c909b47f963b63e594bdafa31e958bf2a4d3 "><code>e6b0c90</code></a>
chore: minor typos in non-code areas (<a
href="https://redirect.github.com/uuidjs/uuid/issues/702 ">#702</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/8f028c4ea42ce41a9a9dc5fa634abe525b2e2066 "><code>8f028c4</code></a>
chore: upgrade and fix the stale-issues workflow (<a
href="https://redirect.github.com/uuidjs/uuid/issues/699 ">#699</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/1ebda6cbfe9ec731a6f6f80c8b1938267a97afbb "><code>1ebda6c</code></a>
chore: add SECURITY.md, fixes <a
href="https://redirect.github.com/uuidjs/uuid/issues/696 ">#696</a> (<a
href="https://redirect.github.com/uuidjs/uuid/issues/697 ">#697</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 23:50:57 +05:00
dependabot[bot]
496b486a2d
chore: bump monaco-editor from 0.50.0 to 0.52.0 in /site ( #14957 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from
0.50.0 to 0.52.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/monaco-editor/releases ">monaco-editor's
releases</a>.</em></p>
<blockquote>
<h2>v0.52.0</h2>
<h2>Changes:</h2>
<ul>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4691 ">#4691</a>:
Prepare monaco-editor for release 0.52</li>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4665 ">#4665</a>:
Updates nvm to align with vscode nvm file.</li>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4652 ">#4652</a>:
Removing <code>editor.main.nls.js</code></li>
</ul>
<p>This list of changes was <a
href="https://dev.azure.com/monacotools/Monaco/_build/results?buildId=294033&view=logs ">auto
generated</a>.</p>
<h2>v0.52.0-rc2</h2>
<h2>Changes:</h2>
<ul>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4665 ">#4665</a>:
Updates nvm to align with vscode nvm file.</li>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4652 ">#4652</a>:
Removing <code>editor.main.nls.js</code></li>
</ul>
<p>This list of changes was <a
href="https://dev.azure.com/monacotools/Monaco/_build/results?buildId=293791&view=logs ">auto
generated</a>.</p>
<h2>v0.51.0</h2>
<h2>Changes:</h2>
<ul>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4649 ">#4649</a>:
Add changes for monaco editor release 0.51.0</li>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4630 ">#4630</a>:
Remove locker and info-needed-closer workflows.</li>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4573 ">#4573</a>:
Adding some detail in MAINTAINING.md for trigger build step</li>
<li><a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4586 ">#4586</a>:
Update Q# Keywords</li>
</ul>
<p>This list of changes was <a
href="https://dev.azure.com/monacotools/Monaco/_build/results?buildId=289445&view=logs ">auto
generated</a>.</p>
<h2>v0.51.0-rc3</h2>
<p>No release notes provided.</p>
<h2>v0.51.0-rc2</h2>
<p>No release notes provided.</p>
<h2>v0.51.0-rc</h2>
<p>No release notes provided.</p>
<h2>v0.51.0-dev-20240807</h2>
<p>No release notes provided.</p>
<h2>v0.51.0-dev-20240806</h2>
<p>No release notes provided.</p>
<h2>v0.51.0-dev-20240805</h2>
<p>No release notes provided.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md ">monaco-editor's
changelog</a>.</em></p>
<blockquote>
<h2>[0.52.0]</h2>
<ul>
<li>Comment added inside of <code>IModelContentChangedEvent</code></li>
</ul>
<h2>[0.51.0]</h2>
<ul>
<li>New fields <code>IEditorOptions.placeholder</code> and
<code>IEditorOptions.compactMode</code></li>
<li>New fields <code>IGotoLocationOptions.multipleTests</code> and
<code>IGotoLocationOptions.alternativeTestsCommand</code></li>
<li>New field <code>IInlineEditOptions.backgroundColoring</code></li>
<li>New experimental field
<code>IEditorOptions.experimental.useTrueInlineView</code></li>
<li>New options <code>CommentThreadRevealOptions</code> for
comments</li>
</ul>
<p>Contributions to <code>monaco-editor</code>:</p>
<ul>
<li><a href="https://github.com/ScottCarda-MS "><code>@ScottCarda-MS
(Scott Carda)</code></a>: Update Q# Keywords [PR <a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4586 ">#4586</a>](<a
href="https://redirect.github.com/microsoft/monaco-editor/pull/4586 ">microsoft/monaco-editor#4586</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/f6dc0eb8fce67e57f6036f4769d92c1666cdf546 "><code>f6dc0eb</code></a>
Merge pull request <a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4691 ">#4691</a>
from microsoft/chubby-cardinal</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/53e8e1ce30a0b1e5c4ec57ebd67fa17a3ec007ef "><code>53e8e1c</code></a>
adding changelog md change</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/7959d5c66eff5d904852579c6c4718efebb8363d "><code>7959d5c</code></a>
update pacakge.json</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/3c7eb57085d23d24c3b5527c45324440ea55c865 "><code>3c7eb57</code></a>
undo the package upgrade change</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/f262e8f93182869139f6789070607c928b91e8bb "><code>f262e8f</code></a>
Defines setInterval/setTimeout on faked globalThis in unit test</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/b31d22b9ee8e8081751069dc72d397f782cf8eb5 "><code>b31d22b</code></a>
Updates nvm to align with vscode nvm file. (<a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4665 ">#4665</a>)</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/b8a83d53567c061c234f393899117988fd899c52 "><code>b8a83d5</code></a>
Merge pull request <a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4652 ">#4652</a>
from microsoft/annoyed-dragon</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/e52ff427290808dff6809b3f77866ae7a62a119b "><code>e52ff42</code></a>
removing <code>editor.main.nls.js</code></li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/67d664a32968e19e2eb08b696a92463804182ae4 "><code>67d664a</code></a>
Merge pull request <a
href="https://redirect.github.com/microsoft/monaco-editor/issues/4649 ">#4649</a>
from microsoft/unique-locust</li>
<li><a
href="https://github.com/microsoft/monaco-editor/commit/88c558b55d10f6c15b79ae4249309df4c21c4a13 "><code>88c558b</code></a>
adding changes for monaco editor release</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/monaco-editor/compare/v0.50.0...v0.52.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 23:50:24 +05:00
Benjamin Peinhardt
20bfd1f874
fix: fix bug with trailing version info not being properly stripped ( #14963 )
...
Fixes a bug where excess version info was not being stripped properly from
documentation links.
2024-10-03 17:30:25 +00:00
Bruno Quaresma
52f03dbdf2
fix(site): fix build logs scrolling on safari ( #14884 )
...
Fix https://github.com/coder/coder/issues/9687
2024-10-03 13:27:35 -03:00
dependabot[bot]
bcdb8a4c9f
chore: bump @swc/jest from 0.2.24 to 0.2.36 in /site ( #14955 )
...
Bumps [@swc/jest](https://github.com/swc-project/pkgs ) from 0.2.24 to
0.2.36.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/swc-project/pkgs/commits ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 10:33:37 -03:00
dependabot[bot]
31abfb2c04
chore: bump @chakra-ui/react from 2.8.2 to 2.9.3 in /offlinedocs ( #14948 )
...
Bumps
[@chakra-ui/react](https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/components/react )
from 2.8.2 to 2.9.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/chakra-ui/chakra-ui/commits/HEAD/packages/components/react ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 10:33:25 -03:00
Spike Curtis
3d87f78ce5
docs: add statement about minimum network quality ( #14745 )
...
We've had some reports about difficulty connecting to workspaces under very challenging networking conditions. This PR adds some advice about minimum network quality when connecting to workspaces with Coder.
2024-10-03 16:37:05 +04:00
Roger Chao
b4f26a8c78
docs: fix to provisioners.md to add a missing character ( #14937 )
...
Changed yaml example references from provisioneraemon: to
provisionerDaemon:
2024-10-02 17:50:08 -04:00
Stephen Kirby
3a48ba798d
chore: set 2.13.x to "Not Supported" in release calendar ( #14936 )
2024-10-02 16:43:24 -05:00
Stephen Kirby
a7d44150a8
docs: bump stable version to v2.15.1 ( #14927 )
...
This PR was automatically created by the [release
script](https://github.com/coder/coder/blob/main/scripts/release.sh ).
Please review the changes and merge if they look good and the release is
complete.
You can follow the release progress
[here](https://github.com/coder/coder/actions/workflows/release.yaml )
and view the published release
[here](https://github.com/coder/coder/releases/tag/v2.15.1 ) (once
complete).
2024-10-02 16:14:40 -05:00
zx
d0a8424819
feat: remove dark blue theme ( #14890 )
2024-10-02 09:30:33 -06:00
dependabot[bot]
0589267301
chore: bump react-router-dom from 6.24.0 to 6.26.2 in /site ( #14908 )
...
Bumps
[react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom )
from 6.24.0 to 6.26.2.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 11:05:16 -04:00
dependabot[bot]
7f66bf56a4
chore: bump @mui/x-tree-view from 7.13.0 to 7.18.0 ( #14894 )
...
Bumps the mui group with 1 update in the /site directory:
[@mui/x-tree-view](https://github.com/mui/mui-x/tree/HEAD/packages/x-tree-view ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 10:51:58 -04:00
Michael Smith
680e28bdce
fix: display workspace avatars correctly when URLs fail to load ( #14814 )
...
## Changes made
- Updated custom avatar components to favor background color by default
- Updated `AvatarData` component to let you manually specify the source
of the text used when images fail to load, and updated the orgs
breadcrumb segment to use it
- Added some logic for handling emoji images better
2024-10-02 14:46:25 +00:00
Marcin Tojek
0aa84b18a1
feat: expose Markdown fields in webhook payload ( #14931 )
...
Fixes: https://github.com/coder/coder/issues/14930
2024-10-02 15:38:22 +02:00
dependabot[bot]
2f043d7ab9
chore: bump @emotion/css from 11.13.0 to 11.13.4 in /site in the emotion group across 1 directory ( #14896 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 08:28:51 +00:00
dependabot[bot]
4a4d2ecd60
chore: bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0 ( #14874 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 13:27:54 +05:00
Ethan
b22bd816c9
fix: fix ci build running protoc ( #14929 )
2024-10-02 16:45:13 +10:00
dependabot[bot]
3c5a5ae2e0
chore: bump typescript from 5.5.4 to 5.6.2 in /offlinedocs ( #14900 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:13:24 +05:00
Stephen Kirby
5507b58fe7
chore(docs): bump stable version ( #14926 )
2024-10-01 17:16:13 -05:00
dependabot[bot]
f724b03a90
chore: bump typescript from 5.5.4 to 5.6.2 in /site ( #14911 )
2024-10-01 15:58:12 -06:00
dependabot[bot]
e058d6c463
chore: bump @biomejs/biome from 1.8.3 to 1.9.3 in /site ( #14914 )
2024-10-01 15:25:30 -06:00
dependabot[bot]
414771e40d
chore: bump @types/jest from 29.5.12 to 29.5.13 in /site in the jest group across 1 directory ( #14897 )
2024-10-01 21:02:41 +00:00
dependabot[bot]
c4e37228f0
chore: bump storybook-addon-remix-react-router from 3.0.0 to 3.0.1 in /site ( #14907 )
...
Bumps
[storybook-addon-remix-react-router](https://github.com/JesusTheHun/storybook-addon-remix-react-router )
from 3.0.0 to 3.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/releases ">storybook-addon-remix-react-router's
releases</a>.</em></p>
<blockquote>
<h2>v3.0.1</h2>
<h3> 🐞 Bug Fixes</h3>
<ul>
<li>Move package.json import to client side try <code>with</code> and
<code>assert</code> - by <a
href="https://github.com/JesusTheHun "><code>@JesusTheHun</code></a> <a
href="https://github.com/JesusTheHun/storybook-addon-react-router-v6/commit/9972434 "><!--
raw HTML omitted -->(99724)<!-- raw HTML omitted --></a></li>
</ul>
<h5> <a
href="https://github.com/JesusTheHun/storybook-addon-react-router-v6/compare/v3.0.0...v3.0.1 ">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/96bfaeb923db9513bccea69dabe13f76655b8521 "><code>96bfaeb</code></a>
ci: use npm unambiguous syntax</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/83d0c3b079706c3689d2adda2eaa7d94d241319e "><code>83d0c3b</code></a>
ci: use npm unambiguous syntax</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/99724340000c24198db323ff96cde8df42a4ca16 "><code>9972434</code></a>
fix: move package.json import to client side</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/85777c95205cf26734b66340db842d5743a48e11 "><code>85777c9</code></a>
chore: remove obsolete argument</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/96b3af6cb06724c1c4f712357daa6785d2413522 "><code>96b3af6</code></a>
docs: less alarming rename message</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/e8b13193d2fe560ed76d64c274db8791a70cf7de "><code>e8b1319</code></a>
docs: fix badges [skip ci]</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/fb1dfc9e5856044fcbeb00731300f22178833b77 "><code>fb1dfc9</code></a>
docs: use legacy npm badge to avoid user confusion</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/77a194c0737257daee24bc376ca8610506b6a9a3 "><code>77a194c</code></a>
ci: remove duplicate issue template [skip ci]</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/829510bdf5feb8699906393d2f319cdb9cebf33f "><code>829510b</code></a>
ci: test on push, release manually</li>
<li><a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/commit/c39e21662e7ba1b3ac48dab656de4a67eef68c2f "><code>c39e216</code></a>
Merge remote-tracking branch 'origin/main'</li>
<li>Additional commits viewable in <a
href="https://github.com/JesusTheHun/storybook-addon-remix-react-router/compare/v3.0.0...v3.0.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 01:37:42 +05:00
dependabot[bot]
ef54a0b8f6
chore: bump next from 14.2.10 to 14.2.14 in /offlinedocs ( #14924 )
...
Bumps [next](https://github.com/vercel/next.js ) from 14.2.10 to 14.2.14.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases ">next's
releases</a>.</em></p>
<blockquote>
<h2>v14.2.14</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Fix: clone response in first handler to prevent race (<a
href="https://redirect.github.com/vercel/next.js/issues/70082 ">#70082</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/70649 ">#70649</a>)</li>
<li>Respect reexports from metadata API routes (<a
href="https://redirect.github.com/vercel/next.js/issues/70508 ">#70508</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/70647 ">#70647</a>)</li>
<li>Externalize node binary modules for app router (<a
href="https://redirect.github.com/vercel/next.js/issues/70646 ">#70646</a>)</li>
<li>Fix revalidateTag() behaviour when invoked in server components (<a
href="https://redirect.github.com/vercel/next.js/issues/70446 ">#70446</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/70642 ">#70642</a>)</li>
<li>Fix prefetch bailout detection for nested loading segments (<a
href="https://redirect.github.com/vercel/next.js/issues/70618 ">#70618</a>)</li>
<li>Add missing node modules to externals (<a
href="https://redirect.github.com/vercel/next.js/issues/70382 ">#70382</a>)</li>
<li>Feature: next/image: add support for images.remotePatterns.search
(<a
href="https://redirect.github.com/vercel/next.js/issues/70302 ">#70302</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/styfle "><code>@styfle</code></a>, <a
href="https://github.com/ztanner "><code>@ztanner</code></a>, <a
href="https://github.com/ijjk "><code>@ijjk</code></a>, <a
href="https://github.com/huozhi "><code>@huozhi</code></a> and <a
href="https://github.com/wyattjoh "><code>@wyattjoh</code></a> for
helping!</p>
<h2>v14.2.13</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Fix missing cache-control on SSR app route (<a
href="https://redirect.github.com/vercel/next.js/issues/70265 ">#70265</a>)</li>
<li>feat: add polyfill of URL.canParse for browser compatibility (<a
href="https://redirect.github.com/vercel/next.js/issues/70228 ">#70228</a>)</li>
<li>Fix vercel og package memory leak (<a
href="https://redirect.github.com/vercel/next.js/issues/70214 ">#70214</a>)</li>
<li>Fix startTime error on Android 9 with Chrome 74 (<a
href="https://redirect.github.com/vercel/next.js/issues/67391 ">#67391</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/raeyoung-kim "><code>@raeyoung-kim</code></a>,
<a href="https://github.com/huozhi "><code>@huozhi</code></a>, <a
href="https://github.com/devjiwonchoi "><code>@devjiwonchoi</code></a>,
and <a href="https://github.com/ijjk "><code>@ijjk</code></a> for
helping!</p>
<h2>v14.2.12</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>update prefetching jsdoc & documentation (<a
href="https://redirect.github.com/vercel/next.js/issues/68047 ">#68047</a>)</li>
<li>Ensure we chunk revalidate tag requests (<a
href="https://redirect.github.com/vercel/next.js/issues/70189 ">#70189</a>)</li>
<li>(backport) fix(eslint): allow typescript-eslint v8 (<a
href="https://redirect.github.com/vercel/next.js/issues/70090 ">#70090</a>)</li>
<li>[ppr] Don't mark RSC requests as /_next/data requests (backport of
<a
href="https://redirect.github.com/vercel/next.js/issues/66249 ">#66249</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/70083 ">#70083</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/alvarlagerlof "><code>@alvarlagerlof</code></a>,
<a href="https://github.com/wyattjoh "><code>@wyattjoh</code></a>, <a
href="https://github.com/delbaoliveira "><code>@delbaoliveira</code></a>,
and <a href="https://github.com/ijjk "><code>@ijjk</code></a> for
helping!</p>
<h2>v14.2.11</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix: correct metadata url suffix (<a
href="https://redirect.github.com/vercel/next.js/pull/69959 ">vercel/next.js#69959</a>)</li>
<li>fix: setting assetPrefix to URL format breaks HMR (<a
href="https://redirect.github.com/vercel/next.js/issues/70040 ">#70040</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/dbbec6ada34399df739f45273b50c38fc5b4a881 "><code>dbbec6a</code></a>
v14.2.14</li>
<li><a
href="https://github.com/vercel/next.js/commit/887a419d2f74c791eb3a39efbca29d55fdc10d32 "><code>887a419</code></a>
fix: clone response in first handler to prevent race (<a
href="https://redirect.github.com/vercel/next.js/issues/70082 ">#70082</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/70649 ">#70649</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/73f6b7dc056cf19f795f213c3b133cb991cd877c "><code>73f6b7d</code></a>
Respect reexports from metadata API routes (<a
href="https://redirect.github.com/vercel/next.js/issues/70508 ">#70508</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/70647 ">#70647</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/e1da07e75a7b8cf96d4d1d6f8c2b6aa3b81f9a4a "><code>e1da07e</code></a>
Externalize node binary modules for app router (<a
href="https://redirect.github.com/vercel/next.js/issues/70646 ">#70646</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/0ffea650b9a031e4fc5458c0df8100d9bb25f3cc "><code>0ffea65</code></a>
Fix <code>revalidateTag()</code> behaviour when invoked in server
components (<a
href="https://redirect.github.com/vercel/next.js/issues/70446 ">#70446</a>)
(#...</li>
<li><a
href="https://github.com/vercel/next.js/commit/190faf4d9f4ff907e59947d0dc4740a9224efda4 "><code>190faf4</code></a>
Fully skip flakey assertion</li>
<li><a
href="https://github.com/vercel/next.js/commit/3020a118c021e17a57dabb5c379e1a4095f15cbc "><code>3020a11</code></a>
reduce timeout errors</li>
<li><a
href="https://github.com/vercel/next.js/commit/f81e6811e7eb09055e7eea48d8d705874ccdcdcc "><code>f81e681</code></a>
Update flakey tests (<a
href="https://redirect.github.com/vercel/next.js/issues/70643 ">#70643</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/50e41a251ecf4596eeba42d7013b07c39c541ee7 "><code>50e41a2</code></a>
backport: fix prefetch bailout detection for nested loading segments (<a
href="https://redirect.github.com/vercel/next.js/issues/70618 ">#70618</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/e19d91cf6820acefdf935fe1d06c5276e1cb5e96 "><code>e19d91c</code></a>
add missing node modules to externals (<a
href="https://redirect.github.com/vercel/next.js/issues/70382 ">#70382</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/compare/v14.2.10...v14.2.14 ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 01:37:19 +05:00
dependabot[bot]
70f428b2f6
chore: bump @types/node from 20.14.8 to 20.16.10 in /offlinedocs ( #14903 )
...
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node )
from 20.14.8 to 20.16.10.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 16:18:57 -04:00
dependabot[bot]
06aa139d26
chore: bump @types/node from 20.14.8 to 20.16.10 in /site ( #14910 )
...
Bumps
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node )
from 20.14.8 to 20.16.10.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 16:18:35 -04:00
dependabot[bot]
1d3eda5c1f
chore: bump @chromatic-com/storybook from 1.6.0 to 1.9.0 in /site ( #14906 )
...
Bumps
[@chromatic-com/storybook](https://github.com/chromaui/addon-visual-tests )
from 1.6.0 to 1.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chromaui/addon-visual-tests/releases "><code>@chromatic-com/storybook</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v1.9.0</h2>
<h4>🚀 Enhancement</h4>
<ul>
<li>Relay client-side fetch requests to the server using the Storybook
channel API <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/331 ">#331</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Gert Hengeveld (<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h2>v1.8.0</h2>
<h4>🚀 Enhancement</h4>
<ul>
<li>Add <code>paramKey: "chromatic"</code> to allow disabling
the VTA panel through story parameters <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/334 ">#334</a>
(<a href="https://github.com/mellm0 "><code>@mellm0</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Mell (<a
href="https://github.com/mellm0 "><code>@mellm0</code></a>)</li>
</ul>
<h2>v1.7.0</h2>
<h4>🚀 Enhancement</h4>
<ul>
<li>Update story status reporting for Storybook 8.3 and use new
<code>SET_FILTER</code> event <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/332 ">#332</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Gert Hengeveld (<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h2>v1.6.1</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li>Fix closing multiple notifications of the same type <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/329 ">#329</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
<li>Add backport releases to changelog <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/327 ">#327</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Gert Hengeveld (<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/chromaui/addon-visual-tests/blob/main/CHANGELOG.md "><code>@chromatic-com/storybook</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>v1.9.0 (Fri Sep 06 2024)</h1>
<h4>🚀 Enhancement</h4>
<ul>
<li>Relay client-side fetch requests to the server using the Storybook
channel API <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/331 ">#331</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Gert Hengeveld (<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<hr />
<h1>v1.8.0 (Thu Aug 29 2024)</h1>
<h4>🚀 Enhancement</h4>
<ul>
<li>Add <code>paramKey: "chromatic"</code> to allow disabling
the VTA panel through story parameters <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/334 ">#334</a>
(<a href="https://github.com/mellm0 "><code>@mellm0</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Mell (<a
href="https://github.com/mellm0 "><code>@mellm0</code></a>)</li>
</ul>
<hr />
<h1>v1.7.0 (Tue Aug 20 2024)</h1>
<h4>🚀 Enhancement</h4>
<ul>
<li>Update story status reporting for Storybook 8.3 and use new
<code>SET_FILTER</code> event <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/332 ">#332</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Gert Hengeveld (<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<hr />
<h1>v1.6.1 (Thu Jul 04 2024)</h1>
<h4>🐛 Bug Fix</h4>
<ul>
<li>Fix closing multiple notifications of the same type <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/329 ">#329</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
<li>Add backport releases to changelog <a
href="https://redirect.github.com/chromaui/addon-visual-tests/pull/327 ">#327</a>
(<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<h4>Authors: 1</h4>
<ul>
<li>Gert Hengeveld (<a
href="https://github.com/ghengeveld "><code>@ghengeveld</code></a>)</li>
</ul>
<hr />
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/6b99afbc494861590c20fe4d066a290c9038eb9e "><code>6b99afb</code></a>
Bump version to: 1.9.0 [skip ci]</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/51be970546e6d6f50b47365674dd19dfe8b6ff1c "><code>51be970</code></a>
Update CHANGELOG.md [skip ci]</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/f0c702ffc69a1b4b9606f37220f6ec1c2bd68ff3 "><code>f0c702f</code></a>
Merge pull request <a
href="https://redirect.github.com/chromaui/addon-visual-tests/issues/331 ">#331</a>
from chromaui/312-api-channel-proxy</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/67b13f2aa668a470a2830b60b779c92ef16a6e84 "><code>67b13f2</code></a>
Merge branch 'main' into 312-api-channel-proxy</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/b781bdfcc70cc7a19991525aa1931eeed08ea169 "><code>b781bdf</code></a>
Bump version to: 1.8.0 [skip ci]</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/cd6d96984b30c436f3f3cae056632b052df333a3 "><code>cd6d969</code></a>
Update CHANGELOG.md [skip ci]</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/97ad16438ce4e47f267f472369756a22f0bd6142 "><code>97ad164</code></a>
Merge pull request <a
href="https://redirect.github.com/chromaui/addon-visual-tests/issues/334 ">#334</a>
from mellm0/add-param-key</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/ca3d66e836ace90636372b15ec58a32dadcc5a75 "><code>ca3d66e</code></a>
chore: change param key to chromatic</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/c58f4390aaff68de50546263ee08e7764263895c "><code>c58f439</code></a>
Merge branch 'main' into add-param-key</li>
<li><a
href="https://github.com/chromaui/addon-visual-tests/commit/9277872cd84f3f858659374f3a44fc43f7f0e510 "><code>9277872</code></a>
Merge branch 'main' into 312-api-channel-proxy</li>
<li>Additional commits viewable in <a
href="https://github.com/chromaui/addon-visual-tests/compare/v1.6.0...v1.9.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 14:09:17 -05:00
Benjamin Peinhardt
302b7fa048
revert: "chore: bump @types/lodash from 4.14.196 to 4.17.9 in /offlinedocs" ( #14922 )
...
Reverts coder/coder#14899
Some tests actually failed I just didn't see it.
2024-10-01 13:52:29 -05:00
Muhammad Atif Ali
baf8e30458
chore(dogfood): dogfood latest version of modules ( #14918 )
...
This will help us catch bugs before our users.
2024-10-01 23:35:36 +05:00
dependabot[bot]
f9ec468c6d
chore: bump @types/lodash from 4.14.196 to 4.17.9 in /offlinedocs ( #14899 )
...
Bumps
[@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash )
from 4.14.196 to 4.17.9.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 13:34:51 -05:00
Ben Potter
5a20121fe7
chore: fix label for orgs docs ( #14920 )
2024-10-01 18:00:38 +00:00
Ben Potter
d04eaf8392
docs: add organizations, provisioners, and premium license docs ( #14778 )
...
- [x] Mention Orgs is beta and add a link to get feedback
- [x] Add docs on new provisioner authentication architecture and
deprecate the old one
- [x] Add/update docs for IdP sync
- [x] Organization Sync
- [x] Group Sync
- [x] Role Sync
- [x] Modify `coder.com` codebase to add `Premium` and `Beta` pill, and
allow multiple pills: https://github.com/coder/coder.com/pull/638
- [x] Replace all mentions of "Enterprise" with "Premium" in docs
- [x] edit: change it to "Licensing"
- [x] Remove the enterprise page and change all links to
coder.com/pricing
- [x] Merge #14786
- [x] Add redirects for coder.com to redirect the `using-organizations`
guide to the new orgs one and /enterprise to /premium
https://github.com/coder/coder.com/pull/645
- [x] Custom roles
- [x] https://github.com/coder/coder/pull/14786
- [x] Remove all mentions of orgs experiment
- [x] Update in-product copy & links to link to the new docs pages
Anything I am missing?
---
[Preview
this](https://coder.com/docs/@orgs-licenses/admin/organizations )
---------
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com >
2024-10-01 12:34:16 -05:00
dependabot[bot]
b786166ddf
chore: bump github.com/unrolled/secure from 1.14.0 to 1.16.0 ( #14871 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 22:33:43 +05:00
dependabot[bot]
0623531ab8
ci: bump contributor-assistant/github-action from 2.6.0 to 2.6.1 in the github-actions group ( #14870 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 17:33:10 +00:00
dependabot[bot]
3ca78dde86
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.67.0 to 1.68.0 ( #14767 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 22:32:36 +05:00
dependabot[bot]
eacdba24bc
chore: bump google.golang.org/api from 0.197.0 to 0.199.0 ( #14873 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 22:32:20 +05:00
Garrett Delfosse
533d655ac0
feat: show user-auth provisioners ( #14883 )
...
Closes https://github.com/coder/coder/issues/14867
What this changes:
- Displays `user-auth` grouped provisioners
- Added tags to provisioners in cases where it matters
<img width="1378" alt="image"
src="https://github.com/user-attachments/assets/ecc8da0a-24b4-469d-99e7-aa1f183046b7 ">
---------
Co-authored-by: Ben Potter <ben@coder.com >
Co-authored-by: McKayla Washburn <mckayla@hey.com >
2024-10-01 13:12:30 -04:00
Jon Ayers
21b92ef893
feat: add cache abstraction for fetching signing keys ( #14777 )
...
- Adds the database implementation for fetching and caching keys
used for JWT signing. It's been merged into the `keyrotate` pkg and
renamed to `cryptokeys` since they're coupled concepts.
2024-10-01 11:04:51 -05:00
Spike Curtis
f7ddbb744f
feat: add CoderVPN protocol definition & implementation ( #14855 )
...
closes #14731
Defines and implements the CoderVPN control protocol, which will be used to communicate with desktop client applications.
2024-10-01 19:40:42 +04:00
dependabot[bot]
38d8e3ad6a
chore: bump eslint from 8.57.0 to 8.57.1 in /offlinedocs ( #14904 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 19:10:33 +05:00
Mathias Fredriksson
ca80dd657b
chore(site): update @playwright/test to version 1.47.2 ( #14912 )
...
Playwright version detection in `scripts/remote_playwright.sh` was also fixed.
2024-10-01 13:59:49 +00:00
Danny Kopping
11f7b1b3f5
chore: remove notifications experiment ( #14869 )
...
Notifications have proved stable in the [mainline release of
v2.15](https://github.com/coder/coder/releases/tag/v2.15.0 ), and in
preparation for v2.16 we're moving this to stable.
2024-10-01 13:43:47 +00:00
dependabot[bot]
edb4485afd
chore: bump the react group across 2 directories with 2 updates ( #14895 )
...
Bumps the react group with 1 update in the /offlinedocs directory:
[@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ).
Bumps the react group with 2 updates in the /site directory:
[@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react )
and
[@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ).
Updates `@types/react` from 18.3.3 to 18.3.10
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react ">compare
view</a></li>
</ul>
</details>
<br />
Updates `@types/react` from 18.2.6 to 18.3.10
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react ">compare
view</a></li>
</ul>
</details>
<br />
Updates `@types/react-dom` from 18.2.4 to 18.3.0
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom ">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-10-01 10:40:54 -03:00
dependabot[bot]
1de12b0310
chore: bump eslint-config-next from 14.2.7 to 14.2.13 in /offlinedocs ( #14902 )
...
Bumps
[eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next )
from 14.2.7 to 14.2.13.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases ">eslint-config-next's
releases</a>.</em></p>
<blockquote>
<h2>v14.2.13</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Fix missing cache-control on SSR app route (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70265 ">#70265</a>)</li>
<li>feat: add polyfill of URL.canParse for browser compatibility (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70228 ">#70228</a>)</li>
<li>Fix vercel og package memory leak (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70214 ">#70214</a>)</li>
<li>Fix startTime error on Android 9 with Chrome 74 (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/67391 ">#67391</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/raeyoung-kim "><code>@raeyoung-kim</code></a>,
<a href="https://github.com/huozhi "><code>@huozhi</code></a>, <a
href="https://github.com/devjiwonchoi "><code>@devjiwonchoi</code></a>,
and <a href="https://github.com/ijjk "><code>@ijjk</code></a> for
helping!</p>
<h2>v14.2.12</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>update prefetching jsdoc & documentation (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/68047 ">#68047</a>)</li>
<li>Ensure we chunk revalidate tag requests (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70189 ">#70189</a>)</li>
<li>(backport) fix(eslint): allow typescript-eslint v8 (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70090 ">#70090</a>)</li>
<li>[ppr] Don't mark RSC requests as /_next/data requests (backport of
<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/66249 ">#66249</a>)
(<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70083 ">#70083</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/alvarlagerlof "><code>@alvarlagerlof</code></a>,
<a href="https://github.com/wyattjoh "><code>@wyattjoh</code></a>, <a
href="https://github.com/delbaoliveira "><code>@delbaoliveira</code></a>,
and <a href="https://github.com/ijjk "><code>@ijjk</code></a> for
helping!</p>
<h2>v14.2.11</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix: correct metadata url suffix (<a
href="https://redirect.github.com/vercel/next.js/pull/69959 ">vercel/next.js#69959</a>)</li>
<li>fix: setting assetPrefix to URL format breaks HMR (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70040 ">#70040</a>)</li>
<li>Update revalidateTag to batch tags in one request (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/65296 ">#65296</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/huozhi "><code>@huozhi</code></a>, <a
href="https://github.com/devjiwonchoi "><code>@devjiwonchoi</code></a>,
and <a href="https://github.com/ijjk "><code>@ijjk</code></a> for
helping!</p>
<h2>v14.2.10</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Remove invalid fallback revalidate value (<a
href="https://redirect.github.com/vercel/next.js/pull/69990 ">vercel/next.js#69990</a>)</li>
<li>Revert server action optimization (<a
href="https://redirect.github.com/vercel/next.js/pull/69925 ">vercel/next.js#69925</a>)</li>
<li>Add ability to customize Cache-Control (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/69802 ">#69802</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/huozhi "><code>@huozhi</code></a> and <a
href="https://github.com/ijjk "><code>@ijjk</code></a> for helping!</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/f550237aa564bd59bfef7462350ac6c502f0206d "><code>f550237</code></a>
v14.2.13</li>
<li><a
href="https://github.com/vercel/next.js/commit/6d7ced47babace09f5ab1cf5a43ba26d88d984ac "><code>6d7ced4</code></a>
v14.2.12</li>
<li><a
href="https://github.com/vercel/next.js/commit/77910c84be4dfb867fe127089c077c05e8a4225c "><code>77910c8</code></a>
(backport) fix(eslint): allow typescript-eslint v8 (<a
href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/70090 ">#70090</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/bfbc92aab5c727444ed21e0b84bd55cda2e22067 "><code>bfbc92a</code></a>
v14.2.11</li>
<li><a
href="https://github.com/vercel/next.js/commit/937651fede26a1cdd8a83aa4636719e466fa7f20 "><code>937651f</code></a>
v14.2.10</li>
<li><a
href="https://github.com/vercel/next.js/commit/6fa8982f8eb766663fd1e11e43621e53fd8e016c "><code>6fa8982</code></a>
v14.2.9</li>
<li><a
href="https://github.com/vercel/next.js/commit/63b999c3ba9fda5ed577d56438200b60b07085e1 "><code>63b999c</code></a>
v14.2.8</li>
<li><a
href="https://github.com/vercel/next.js/commit/c021c2f7f72485482d4fac870f0dbd5be369dedb "><code>c021c2f</code></a>
feat: enable <code>@typescript-eslint/recommended</code> in
create-next-app --typescript (...</li>
<li>See full diff in <a
href="https://github.com/vercel/next.js/commits/v14.2.13/packages/eslint-config-next ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 10:07:58 -03:00
dependabot[bot]
dc40231b74
chore: bump @types/lodash from 4.17.6 to 4.17.9 in /site ( #14909 )
...
Bumps
[@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash )
from 4.17.6 to 4.17.9.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash ">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 10:07:34 -03:00
Marcin Tojek
3f79022848
test: ignore log errors ( #14892 )
...
Fixes: https://github.com/coder/coder/issues/14891
2024-10-01 12:38:50 +02:00
Ethan
35a5475166
chore: add site flag to buildinfo ( #14868 )
2024-10-01 10:01:17 +00:00
Ethan
2a3a00cf82
fix: remove redundant flaking test ( #14888 )
2024-10-01 09:01:24 +00:00
Spike Curtis
d6766f706d
fix: sort provisioner key tags in cli output ( #14875 )
...
I'm seeing flakes like
```
provisionerkeys_test.go:68: 2024-09-30 05:58:44.686: cmd: matched newline = "CREATED AT NAME TAGS "
provisionerkeys_test.go:72: 2024-09-30 05:58:44.686: cmd: matched newline = "2024-09-30T05:58:44Z dont-test-me my=way foo=bar "
provisionerkeys_test.go:74:
Error Trace: /Users/runner/work/coder/coder/enterprise/cli/provisionerkeys_test.go:74
Error: "2024-09-30T05:58:44Z dont-test-me my=way foo=bar " does not contain "foo=bar my=way"
Test: TestProvisionerKeys/CRUD
```
e.g.
https://github.com/coder/coder/actions/runs/11100237276/job/30835714478?pr=14855
Since the tags are a map, we weren't outputting them in a consistent
order on the CLI, leading to flakes.
This sorts the tags by key when converting to a string, for a
consistent, canonical output.
2024-10-01 09:11:19 +04:00
Joobi S B
ba90bb0ab3
feat: implement feature to create a token on behalf of another user in the cli ( #14813 )
...
This PR addresses https://github.com/coder/coder/issues/13160
2024-09-30 20:15:28 +00:00
Kayla Washburn-Love
e70ad2b4b3
fix: always show upload and scratch in create template gallery ( #14327 )
2024-09-30 12:38:08 -06:00
Roger Chao
5246f8d142
docs: fix process-logging.md to replace deprecated items ( #14842 )
...
Updated datasource to use data.coder_workspace_owners for user labels to
avoid deprecation warning messages.
2024-09-27 15:49:48 -07:00
Jaayden Halko
e6cd3005d3
feat: add warning dialog when removing member from organization ( #14695 )
...
resolves #14705
<img width="684" alt="Screenshot 2024-09-27 at 4 34 02 PM"
src="https://github.com/user-attachments/assets/5c3b6c3e-2afc-4405-8bed-d9ea80607411 ">
2024-09-27 17:20:01 -04:00
Kayla Washburn-Love
b80550957f
chore: remove mutli-organization experiment from the frontend ( #14863 )
2024-09-27 14:57:56 -06:00
Kayla Washburn-Love
894c758f06
feat: display legacy idp mappings in idp sync settings ( #14866 )
...
Closes #14788
2024-09-27 14:57:24 -06:00
Steven Masley
33988fedcd
chore: allow user admins to configure idp sync ( #14861 )
2024-09-27 14:07:15 -05:00
Steven Masley
2c8b264d78
chore: remove multi-organization and custom role experiment ( #14862 )
...
Closes https://github.com/coder/coder/issues/14704
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-09-27 14:06:16 -05:00
Jaayden Halko
339eebacae
feat: display builtin roles alongside custom roles ( #14843 )
...
Since its currently not possible to update or delete built-in roles. The
purpose of this PR is to display the built-in roles so that users know
they exist and what permissions each role contains.
<img width="1185" alt="Screenshot 2024-09-26 at 9 18 05 PM"
src="https://github.com/user-attachments/assets/017a51d7-ec98-409c-9c8e-b66ac7abb948 ">
2024-09-27 14:07:57 -04:00
Garrett Delfosse
5cc5bbea04
fix: improve provisioner key cli usability ( #14834 )
...
What this changes:
- Unhides the `--key` flag on provisioner start
- Deprecates and hides `provisionerd` command group in favor of
`provisioner(s)`
- Removes org id from `coder provisioner keys list`
2024-09-27 10:34:41 -05:00
Cian Johnston
62047e5f68
chore(docs): update devcontainer docs ( #14850 )
...
Fixes https://github.com/coder/envbuilder/issues/131
2024-09-27 14:14:59 +01:00
Cian Johnston
3b5cabb566
feat(examples/templates/aws-devcontainer): add root volume parameter, growpart automatically ( #14839 )
...
Fixes https://github.com/coder/coder/issues/14833
2024-09-27 09:51:31 +01:00
Marcin Tojek
a3ffab6ceb
docs: enable Slack notifications ( #14830 )
2024-09-27 10:08:42 +02:00
Jon Ayers
3fdeaf7b24
feat: add endpoint for fetching workspace proxy keys ( #14789 )
2024-09-26 21:01:49 +01:00
Steven Masley
5c977c6be7
chore: rename 'first-organization' to 'coder' ( #14808 )
...
Rename the first-organization original name. Users can change from the
original name.
2024-09-26 13:20:44 -05:00
Steven Masley
b23e6a05c8
chore: rename organization 'name' to organization 'slug' ( #14835 )
2024-09-26 12:17:49 -05:00
Ethan
fb28979537
fix(docs): add coderd_workspace_latest_build_status prometheus metric ( #14828 )
2024-09-27 02:55:24 +10:00
Steven Masley
3894bab038
chore: include error detail for ui error display ( #14837 )
...
Not including an error detail asks the user to check the dev console.
Which is unhelpful in this expected situation
2024-09-26 11:48:50 -05:00
Cian Johnston
e4470e1617
hotfix(examples/templates/aws-devcontainer): fix code-server module address ( #14836 )
2024-09-26 16:28:09 +00:00
Jaayden Halko
9ea2f6f267
fix: show paywall and correctly display auto create groups for IDP sync ( #14800 )
...
* fix: show paywall and correctly display auto create groups
* fix: update stories
* fix: format
* chore: cleanup
* fix: update stories
2024-09-26 12:12:04 -04:00
Cian Johnston
4be5b2ff98
chore(examples/templates/aws-devcontainer): update to use envbuilder provider` ( #14831 )
...
* chore(examples/templates/aws-devcontainer): update to use envbuilder provider
* fix(devcontainer-gcp): set builder image properly
2024-09-26 17:07:14 +01:00
Michael Smith
8403dd5c36
fix: make sure avatar data for owner displays correctly ( #14812 )
2024-09-26 03:57:21 +00:00
Kayla Washburn-Love
4dcf5ef323
chore: add paywall to provisioners page ( #14803 )
...
* chore: add paywall to provisioners page
* きれい
* move some things into the page view
* I guess I'm not allowed to use proper nouns
* :|
2024-09-25 16:54:49 -06:00
Michael Smith
aef400c2c5
fix: update presentation of beta badges for organizations UI ( #14806 )
...
* fix: make badges capitalized
* fix: remove beta badges from all headers for organizations
2024-09-25 17:48:32 -04:00
Steven Masley
9ef9044d9c
chore: remove read all provisioners from users ( #14801 )
...
* chore: remove read all provisioners from users
Reading provisioner daemons now extends from org member,
not site wide member.
* update rbac perm test
* add unit test
2024-09-25 15:38:58 -05:00
Kayla Washburn-Love
2cffb55457
fix: avoid showing "multiple tags" for simple tag sets on provisioners page ( #14804 )
2024-09-25 12:48:34 -06:00
Steven Masley
6cd1219289
chore: reword license backend error to only mention premium ( #14799 )
...
Phrasing for "enterprise" removed.
2024-09-25 13:41:21 -05:00
Danielle Maywood
575925c050
feat: add one time passcode columns to users table ( #14797 )
2024-09-25 17:46:51 +01:00
Cian Johnston
bb3850adc2
fix(envbuilder-dogfood): configure provider correctly ( #14796 )
2024-09-25 17:14:45 +01:00
dependabot[bot]
86a82b5a2a
ci: bump the github-actions group with 2 updates ( #14770 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 19:40:06 +05:00
dependabot[bot]
718b30cada
chore: bump github.com/moby/moby from 27.2.0+incompatible to 27.3.1+incompatible ( #14764 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 18:25:35 +05:00
dependabot[bot]
b371bc89c0
chore: bump github.com/aws/aws-sdk-go-v2 from 1.30.3 to 1.31.0 ( #14766 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 18:24:21 +05:00
dependabot[bot]
676191643b
chore: bump google.golang.org/grpc from 1.66.1 to 1.67.0 ( #14769 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 18:23:51 +05:00
Marcin Tojek
c6e44282b2
docs: mark Teams integration as beta ( #14793 )
2024-09-25 12:34:54 +02:00
Stephen Kirby
d8ddd07ee5
fix external auth typos ( #14790 )
2024-09-24 22:35:26 -05:00
Ethan
b7c574f679
feat!: add summary to coder ping ( #14762 )
2024-09-25 13:24:23 +10:00
Marcin Tojek
e086d7813b
docs: enable Microsoft Teams Notifications ( #14781 )
2024-09-24 17:18:02 +02:00
Joobi S B
c127d90efc
chore: add ability to include custom protoc-gen-go dependency in nix flake ( #14728 )
2024-09-24 12:57:07 +00:00
Ethan
326886d3c2
chore: go mod tidy during fmt/go ( #14779 )
2024-09-24 21:39:34 +10:00
Danielle Maywood
ae522c558d
feat: add agent timings ( #14713 )
...
* feat: begin impl of agent script timings
* feat: add job_id and display_name to script timings
* fix: increment migration number
* fix: rename migrations from 251 to 254
* test: get tests compiling
* fix: appease the linter
* fix: get tests passing again
* fix: drop column from correct table
* test: add fixture for agent script timings
* fix: typo
* fix: use job id used in provisioner job timings
* fix: increment migration number
* test: behaviour of script runner
* test: rewrite test
* test: does exit 1 script break things?
* test: rewrite test again
* fix: revert change
Not sure how this came to be, I do not recall manually changing
these files.
* fix: let code breathe
* fix: wrap errors
* fix: justify nolint
* fix: swap require.Equal argument order
* fix: add mutex operations
* feat: add 'ran_on_start' and 'blocked_login' fields
* fix: update testdata fixture
* fix: refer to agent_id instead of job_id in timings
* fix: JobID -> AgentID in dbauthz_test
* fix: add 'id' to scripts, make timing refer to script id
* fix: fix broken tests and convert bug
* fix: update testdata fixtures
* fix: update testdata fixtures again
* feat: capture stage and if script timed out
* fix: update migration number
* test: add test for script api
* fix: fake db query
* fix: use UTC time
* fix: ensure r.scriptComplete is not nil
* fix: move err check to right after call
* fix: uppercase sql
* fix: use dbtime.Now()
* fix: debug log on r.scriptCompleted being nil
* fix: ensure correct rbac permissions
* chore: remove DisplayName
* fix: get tests passing
* fix: remove space in sql up
* docs: document ExecuteOption
* fix: drop 'RETURNING' from sql
* chore: remove 'display_name' from timing table
* fix: testdata fixture
* fix: put r.scriptCompleted call in goroutine
* fix: track goroutine for test + use separate context for reporting
* fix: appease linter, handle trackCommandGoroutine error
* fix: resolve race condition
* feat: replace timed_out column with status column
* test: update testdata fixture
* fix: apply suggestions from review
* revert: linter changes
2024-09-24 10:51:49 +01:00
Ethan
b8944074c4
chore: improve coder server ux ( #14761 )
2024-09-24 13:16:36 +10:00
Jaayden Halko
a3ebcd7a1e
feat: integrate backend with idp sync page ( #14755 )
...
* feat: idp sync initial commit
* fix: hookup backend data for groups and roles
* chore: cleanup
* feat: separate groups and roles into tabs
* feat: implement export policy button
* feat: handle missing groups
* chore: add story for missing groups
* chore: add stories for export policy button
* fix: updates for PR review
* chore: update tests
* chore: document uuid regex
* chore: remove unused
* fix: fix stories
2024-09-23 22:07:46 -04:00
Ethan
b4f54f3eea
fix: use latest build version name on workspace page ( #14771 )
2024-09-23 13:06:03 +00:00
Kayla Washburn-Love
db4945dc27
chore: consolidate on showOrganizations usage ( #14756 )
2024-09-20 23:30:42 -06:00
Michael Smith
661d22621a
feat: create UI badges for labeling beta features ( #14661 )
...
* chore: finish draft work for FeatureBadge component
* fix: add visually-hidden helper text for screen readers
* chore: add stories for highlighted state
* fix: update base styles
* chore: remove debug display option
* chore: update Popover to propagate events
* wip: commit progress on FeatureBadge update
* wip: commit more progress
* chore: update tag definitions to satify Biome
* chore: update all colors for preview role
* fix: make sure badge shows as hovered while inside tooltip
* wip: commit progress on adding story for controlled variant
* fix: sort imports
* refactor: change component API to be more obvious/ergonomic
* fix: add biome-ignore comments to more base files
* fix: update import order again
* chore: revert biome-ignore comment
* chore: update body text for tooltip
* chore: update dark preivew role to use sky palette
* chore: update color palettes for light/darkBlue themes
* chore: add beta badge to organizations subheader
* chore: add beta badge to organizations settings page
* chore: beef up font weight for form header
* fix: update text contrast for org menu list
* chore: add beta badge to deployment dropdown
* fix: run biome on imports
* chore: remove API for controlling FeatureBadge hover styling externally
* chore: add xs size for badge
* fix: update font weight for xs feature badges
* chore: add beta badges to all org headers
* fix: turn badges and tooltips into separate concerns
* fix: update hover styling
* docs: update wording on comment
* fix: apply formatting
* chore: rename FeatureBadge to FeatureStageBadge
* refactor: redefine FeatureStageBadge
* chore: update stories
* fix: add blur behavior to popover
* chore: revert theme colors
* chore: create featureStage branding namespace
* fix: make sure cleanup function is set up properly
* docs: update wording on comment for clarity
* refactor: move styles down
2024-09-20 21:13:39 +00:00
Kayla Washburn-Love
3338f32489
fix: improve provisioner details layout and show count line ( #14749 )
...
* きれい
* とても大きい
* improve storybook test
* ボタン
* アイコンの名前
* ジェ
2024-09-20 14:59:09 -06:00
Muhammad Atif Ali
35017822d5
chore(dogfood): add cursor IDE ( #14748 )
2024-09-20 23:19:28 +05:00
Garrett Delfosse
50124fefdc
feat: remove org flag requirement for provisioners ( #14722 )
2024-09-20 12:45:31 -04:00
Kayla Washburn-Love
96e9a4f85c
feat(site): add warnings and status indicator to provisioner groups ( #14708 )
2024-09-20 09:55:04 -06:00
Danielle Maywood
86f68b220e
feat: add 'display_name' column to 'workspace_agent_scripts' ( #14747 )
...
* feat: add 'display_name' column to 'workspace_agent_scripts'
* fix: backfill from workspace_agent_log_sources
* fix: run 'make gen'
2024-09-20 14:26:13 +01:00
Muhammad Atif Ali
db7b411094
chore(site): add cursor ide icon ( #14743 )
2024-09-20 17:37:06 +05:00
Spike Curtis
6d992984a4
fix: set TCPMaxRetries to 5 for reasonable timeouts on send ( #14746 )
2024-09-20 14:38:48 +04:00
dependabot[bot]
7c77a3cc83
chore: bump vite from 5.4.1 to 5.4.6 in /site ( #14736 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 00:39:40 +05:00
Frederik Dudzik
07d1478f34
fix(docs): add dotfiles module reference ( #14675 )
...
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-09-19 19:15:43 +00:00
Kayla Washburn-Love
15f19431d7
chore: fix comment ( #14738 )
2024-09-19 12:39:41 -06:00
Jon Ayers
2d5c068525
feat: implement key rotation system ( #14710 )
2024-09-19 19:12:44 +01:00
dependabot[bot]
dbe6b6c224
chore: bump next from 14.2.7 to 14.2.10 in /offlinedocs ( #14737 )
...
Bumps [next](https://github.com/vercel/next.js ) from 14.2.7 to 14.2.10.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v14.2.7...v14.2.10 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 11:46:47 -06:00
dependabot[bot]
b0c86220a7
chore: bump golang.org/x/tools from 0.24.0 to 0.25.0 in the x group ( #14681 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 22:32:46 +05:00
dependabot[bot]
f2a12a06d1
chore: bump go.nhat.io/otelsql from 0.13.0 to 0.14.0 ( #14682 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 22:32:12 +05:00
dependabot[bot]
115c52c5b0
chore: bump google.golang.org/api from 0.196.0 to 0.197.0 ( #14683 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 22:31:20 +05:00
dependabot[bot]
4228c1f308
chore: bump github.com/hashicorp/hc-install from 0.8.0 to 0.9.0 ( #14684 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 22:31:11 +05:00
Garrett Delfosse
922f4c545f
fix: handle new agent stat format correctly ( #14576 )
...
---------
Co-authored-by: Ethan Dickson <ethan@coder.com >
2024-09-20 01:52:14 +10:00
Ethan
37885e2e82
fix: make cli respect deployment --docs-url ( #14568 )
2024-09-18 21:47:53 +10:00
Marcin Tojek
20a3801600
fix: use floats in report template ( #14714 )
2024-09-18 11:26:34 +00:00
Ethan
fccf6f1e0e
feat!: add --default-token-lifetime ( #14631 )
2024-09-18 21:23:42 +10:00
Marcin Tojek
6de59371ea
feat: notifications: report failed workspace builds ( #14571 )
2024-09-18 09:11:44 +02:00
Steven Masley
1e5438eadb
feat: remove user from groups on org membership delete ( #14701 )
...
* feat: remove user from groups on org membership delete
Groups inherently provide authz access to certain resources. If a
user is removed from an organization, they should be removed
from all their groups in said organization.
2024-09-17 19:41:34 -05:00
Steven Masley
c145f113fe
chore: remove db import from cli package ( #14709 )
2024-09-17 22:07:58 +00:00
Kayla Washburn-Love
5be02a293e
feat: show tags for psk provisioners ( #14628 )
2024-09-17 15:36:42 -06:00
Kayla Washburn-Love
de3945c291
chore: add help tooltips explaining provisioner types ( #14625 )
...
* work
* do the stuff
* 🧹
* feat: show more detailed provisioner version info
* 🧹
* descriptive lil help guys :)
* 🧹
* hook up to api
* :)
* v2.99.99
2024-09-17 15:20:35 -06:00
Kayla Washburn-Love
bbc7b5085d
feat: show more detailed provisioner version info ( #14593 )
2024-09-17 15:06:33 -06:00
Kayla Washburn-Love
dda6bdc174
feat: group provisioners by authentication method ( #14580 )
2024-09-17 14:47:14 -06:00
Steven Masley
d96adad56f
chore: add cli command to fetch group sync settings as json ( #14694 )
...
* chore: add cli command to fetch group sync settings as json
2024-09-17 14:08:33 -05:00
Jon Ayers
45160c7679
feat: add schema for key rotation ( #14662 )
2024-09-17 18:08:18 +01:00
Steven Masley
45420b95f3
chore: allow removing users from the default org ( #14699 )
...
* chore: allow removing users from the default org
Removed as no longer in experimental
2024-09-17 10:42:47 -05:00
Steven Masley
ce21b2030a
feat: implement patch and get api methods for role sync ( #14692 )
...
* feat: implement patch and get api methods for role sync
2024-09-17 10:38:42 -05:00
Steven Masley
be516f9686
chore: unhide multi-organization cli commands ( #14693 )
...
* chore: unhide multi-organization cli commands
Multi-org is going into GA, unhide cli commands
2024-09-17 10:22:20 -05:00
Bruno Quaresma
370f0b9020
fix(coderd): check if timings can be read ( #14697 )
2024-09-17 10:57:57 -03:00
Danielle Maywood
14d3e300d3
fix: use ANSI colors codes instead of RGB ( #14665 )
...
* chore: add command for showing colors
* fix: use ANSI color codes instead of RGB
* feat: add '--no-color' flag
* fix: revert colors
* chore: change colors
* fix: update golden files
* fix: replace blue with brightBlue
* fix: drop '> ' for unfocused prompts
* fix: run 'make fmt'
* chore: allow disabling color with env flags
* fix: apply fixes from feedback
* fix: run 'make gen'
* fix: refactor janky code
* fix: re-add public function
* fix: re-add init for non-color tests
* fix: move styles to 'init' that can be
* fix: stop overwriting entire DefaultStyles
* fix: make code and field obey --no-color
* fix: rip out '--no-color' due to race condition
We still support `NO_COLOR` env variable through termenv's
`EnvColorProfile`. The reason for the race condition is that
`DefaultStyles` is a global that we shouldn't mutate after `init`
is called, but we have to mutate it after `init` has ran to have
serpent collect the cli flags and env vars for us.
* fix: apply nit
* fix: simplify code && hide command
* fix: newline shouldn't be themed
* fix: appease the linter
2024-09-17 14:21:24 +01:00
Spike Curtis
6ff9a05832
fix: close SSH sessions bottom-up if top-down fails ( #14678 )
2024-09-17 14:46:49 +04:00
Colin Adler
ff1eabebe5
feat: add SCIM support for multi-organization ( #14691 )
...
* chore: use legacy "AssignDefault" option for legacy behavior in SCIM (#14696 )
* chore: reference legacy assign default option for legacy behavior
AssignDefault is a boolean flag mainly for single org and legacy
deployments. Use this flag to determine SCIM behavior.
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2024-09-17 00:17:38 +00:00
Steven Masley
71393743dc
feat: implement organization role sync ( #14649 )
...
* chore: implement organization and site wide role sync in idpsync
* chore: remove old role sync, insert new idpsync package
2024-09-16 19:03:25 -05:00
Michael Smith
5aa54be6ca
chore: update workspaces page filter to include organization controls ( #14597 )
...
* chore: move schedule controls to the right side of the screen
* chore: add org display to workspace topbar
* fix: force organizations to be readonly array
* fix update type mismatch for organizations again
* refactor: tuck main loading skeleton for filter into base definition
* refactor: give filter files different names to reduce confusion
* refactor: remove separate base filter skeleton
* fix: update responsive logic for audit table filter
* chore: add organizations option group to workspaces table
* refactor: make prop contracts more explicit
* refactor: centralize the organizations dropdown logic
* fix: update imports and formatting
* fix: update quota querying logic to use new endpoint
* fix: add logic for handling long workspace or org names
* chore: add links for workspaces by org
* chore: expand tooltip styling for org
* chore: expand tooltip styling for owner
* refactor: split off breadcrumbs for readability
* fix: display correct template version name in dropdown
* fix: update overflow styling for breadcrumb segments
* fix: favor org display name
* fix: centralize org display name logic
* fix: make sure skeletons stay synced with org feature toggles
* fix: ensure that mock query cache key and component key are properly synced for storybook
* docs: clean up wording on SearchField comment
* fix: shrink mix width threshold for search field
* chore: add navigation test for workspace details page (#14629 )
* chore: add tests for WorkspacePage cross-page navigation
* fix: update story to use mock organizations menu
2024-09-16 20:45:49 +00:00
Michael Smith
910225698e
chore: update workspaces top bar to display org name ( #14596 )
...
* chore: move schedule controls to the right side of the screen
* chore: add org display to workspace topbar
* fix: force organizations to be readonly array
* fix update type mismatch for organizations again
* fix: update quota querying logic to use new endpoint
* fix: add logic for handling long workspace or org names
* chore: add links for workspaces by org
* chore: expand tooltip styling for org
* chore: expand tooltip styling for owner
* refactor: split off breadcrumbs for readability
* fix: display correct template version name in dropdown
* fix: update overflow styling for breadcrumb segments
* fix: favor org display name
* fix: centralize org display name logic
* fix: ensure that mock query cache key and component key are properly synced for storybook
2024-09-16 16:16:59 -04:00
Garrett Delfosse
335eb05223
feat: add keys to organization provision daemons ( #14627 )
2024-09-16 20:02:08 +00:00
Jaayden Halko
4afce19fb7
feat: use monospace font for idp fields ( #14672 )
2024-09-16 15:48:50 -04:00
Bruno Quaresma
705b9ccda8
feat(coderd): add workspace timings endpoint ( #14648 )
2024-09-16 16:31:05 -03:00
Steven Masley
c330af0e4d
chore: add group_ids filter to /groups endpoint ( #14688 )
...
Allow filtering groups by IDs.
2024-09-16 13:01:46 -05:00
Kayla Washburn-Love
5ed065d88d
feat: get and update group IdP Sync settings ( #14647 )
...
---------
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2024-09-16 12:01:37 -05:00
Spike Curtis
2df9a3e554
fix: fix tailnet remoteCoordination to wait for server ( #14666 )
...
Fixes #12560
When gracefully disconnecting from the coordinator, we would send the Disconnect message and then close the dRPC stream. However, closing the dRPC stream can cause the server not to process the Disconnect message, since we use the stream context in a `select` while sending it to the coordinator.
This is a product bug uncovered by the flake, and probably results in us failing graceful disconnect some minority of the time.
Instead, the `remoteCoordination` (and `inMemoryCoordination` for consistency) should send the Disconnect message and then wait for the coordinator to hang up (on some graceful disconnect timer, in the form of a context).
2024-09-16 09:24:30 +04:00
Michael Smith
7ea8a2253e
fix: add type-safety for Storybook preview.jsx config file ( #14671 )
...
* fix: add type-safety to Storybook preview.jsx file
* fix: add clarifying comments
* fix: add type-safety to preview config
2024-09-13 17:26:52 -04:00
Jaayden Halko
c6bc7414aa
feat: add premium license behavior for create organization page ( #14650 )
...
* fix: type
* chore: paywall improvements
* feat: update create org for premium license
* fix: remove []
* feat: update licensing pills to reflect new premium tier (#14670 )
* feat: update licensing pills to reflect new premium tier
* fix: format
2024-09-13 14:37:42 -04:00
Danielle Maywood
9006b21758
fix: only allow submitting form if changes have been made ( #14602 )
...
* fix: only allow submitting form if dirty
* test: add test for submit button behaviour
* fix: apply 'make fmt'
* chore: rename 'Submit' to 'Submit and restart'
* test: fix tests
2024-09-13 16:19:17 +01:00
Steven Masley
f5601cd783
chore: bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 in the x group across 1 directory ( #14669 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 19:43:35 +05:00
Mathias Fredriksson
7780087526
ci(.github): run release-labels when draft PRs are ready ( #14667 )
2024-09-13 12:41:45 +00:00
Mathias Fredriksson
93b4675748
docs: update available experiments ( #14659 )
2024-09-13 15:17:51 +05:00
Mathias Fredriksson
95fc962871
ci(.github): remove success from release-labels job ( #14664 )
...
It used to depend on another job which has since been removed.
2024-09-13 11:28:27 +03:00
Ethan
9dc8e0f4c5
fix(docs): update terraform backend link ( #14663 )
2024-09-13 15:17:57 +10:00
Jon Ayers
bfdc29f466
fix: suppress benign errors when listing processes ( #14660 )
2024-09-12 23:00:04 +01:00
Mathias Fredriksson
bf87c97ede
fix(scripts): allow docs_update_experiments.sh to be run on macOS ( #14658 )
2024-09-12 21:28:07 +00:00
dependabot[bot]
7ef6780d45
chore: bump express from 4.19.2 to 4.20.0 in /site ( #14656 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 14:27:35 -07:00
dependabot[bot]
628563d94b
chore: bump github.com/golang-migrate/migrate/v4 from 4.17.0 to 4.18.1 ( #14606 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 19:17:41 +00:00
dependabot[bot]
bacad93dde
chore: bump go.mozilla.org/pkcs7 from 0.0.0-20200128120323-432b2356ecb1 to 0.9.0 ( #14608 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 19:16:50 +00:00
dependabot[bot]
c334d9c91a
chore: bump github.com/opencontainers/runc from 1.1.13 to 1.1.14 ( #14555 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 19:14:33 +00:00
dependabot[bot]
f3b35c504f
chore: bump github.com/prometheus/common from 0.57.0 to 0.59.1 ( #14607 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 00:03:33 +05:00
dependabot[bot]
0664efbe2d
chore: bump github.com/gohugoio/hugo from 0.133.1 to 0.134.1 ( #14609 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 00:02:43 +05:00
dependabot[bot]
168b4ff5ac
chore: bump github.com/charmbracelet/bubbles from 0.19.0 to 0.20.0 ( #14611 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 00:02:37 +05:00
dependabot[bot]
9ecb9b967b
chore: bump google.golang.org/api from 0.195.0 to 0.196.0 ( #14610 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 00:02:03 +05:00
dependabot[bot]
c44d013519
chore: bump alpine from 3.20.2 to 3.20.3 in /scripts ( #14614 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 00:01:57 +05:00
dependabot[bot]
26ebd70b12
ci: bump crate-ci/typos from 1.24.3 to 1.24.5 in the github-actions group ( #14613 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 00:01:41 +05:00
Jon Ayers
9f4972901c
fix: avoid logging no such process errors for process priority ( #14655 )
2024-09-12 18:00:42 +00:00
Ethan
33e896d404
chore: add lint for codersdk dependencies ( #14638 )
2024-09-12 15:34:03 +10:00
Ethan
efd532e1d7
chore: read template tar from stdin if stdin is not a tty ( #14643 )
2024-09-12 14:36:20 +10:00
Spike Curtis
d6154c4310
chore: remove tailnet v1 API support ( #14641 )
...
Drops support for v1 of the tailnet API, which was the original coordination protocol where we only sent node updates, never marked them lost or disconnected.
v2 of the tailnet API went GA for CLI clients in Coder 2.8.0, so clients older than that would stop working.
2024-09-12 07:56:31 +04:00
Spike Curtis
fb3523b37f
chore: remove legacy AgentIP address ( #14640 )
...
Removes the support for the Agent's "legacy IP" which was a hardcoded IP address all agents used to use, before we introduced "single tailnet". Single tailnet went GA in 2.7.0.
2024-09-12 07:40:19 +04:00
Steven Masley
6a846cdbb8
chore: support multi-org group sync with runtime configuration ( #14578 )
...
- Implement multi-org group sync
- Implement runtime configuration to change sync behavior
- Legacy group sync migrated to new package
2024-09-11 13:43:50 -05:00
Jaayden Halko
7de576b596
feat: add premium license banner for custom roles page ( #14595 )
...
* feat: initial commit for premium banners
* feat: update design and copy
* fix: fix format
* fix: cleanup
* fix: paywall stories and popoverpaywall
* fix: updates for review comments
* chore: remove references to enterprise license
* chore:n remove references to enterprise license
* fix: format
* chore: simplify branding colors
* fix: fix color references
2024-09-11 14:02:34 -04:00
Joobi S B
3301212972
feat: turn off notification via email ( #14520 )
2024-09-11 11:10:24 -03:00
Spike Curtis
5bd19f8ba3
fix: fix flake in TestWorkspaceAgentClientCoordinate_ResumeToken ( #14642 )
...
fixes #14365
I bet what's going on is that in `connectToCoordinatorAndFetchResumeToken()` we call `Coordinate()`, send a message on the `Coordinate` client and then close it in rapid succession. We don't wait around for a response from the coordinator, so dRPC is likely aborting the call `Coordinate()` in the backend because the stream is closed before it even gets a chance.
Instead of using the Coordinator to record the peer ID assigned on the API call, we can wrap the resume token provider, since we call that API _and_ wait for a response. This also affords the opportunity to directly assert we get called with the right token.
2024-09-11 16:32:47 +04:00
Danny Kopping
1b5f3418d3
chore: align active version terminology and link to docs ( #14639 )
2024-09-11 12:25:07 +02:00
Ethan
4f2202fe34
fix: fix TestPing/1Ping flake ( #14634 )
2024-09-11 14:22:23 +10:00
Ethan
c8580a415a
feat: expose current agent connections by type via prometheus ( #14612 )
2024-09-11 14:13:30 +10:00
Jaayden Halko
40688e40df
chore: improve content of frontend contributing guide ( #14619 )
...
* chore: update frontend contributing guide
* chore: cleanup language
* chore: cleanup
* chore: updates for comments
2024-09-10 15:52:05 -04:00
Danielle Maywood
90b29df145
feat: add groups column to members page in organizations ( #14620 )
...
* feat: add groups column to members page in organizations
* fix: run 'make fmt'
* fix: stop displaying groups member is in for other organisations
* fix: run 'make fmt'
2024-09-10 19:05:25 +01:00
Justin Fowler
85cc695dc6
fix(site): strip version build info from docs link URLs ( #14601 )
2024-09-10 10:15:23 -06:00
Ammar Bandukwala
0787c42d32
chore(.github): disable stalebot ( #14637 )
2024-09-10 10:51:44 -05:00
Danny Kopping
914f35a3a3
chore: document RBAC usage ( #14065 )
2024-09-10 15:15:30 +00:00
Jon Ayers
328e69629c
fix: limit OAuth redirects to local paths ( #14585 )
...
- This prevents a malicious user from crafting a redirect
URL to a nefarious site under their control.
2024-09-10 15:58:50 +01:00
Ethan
2a9234e9ba
fix: remove coderdtest dependency from codersdk ( #14633 )
2024-09-10 20:55:50 +10:00
Yahya
d1db11ab21
fix(helm): use list instead of dict for tolerations ( #14604 )
...
Fixes #14603
2024-09-10 01:02:57 +01:00
Steven Masley
cb9d40fb8a
feat: implement runtime configuration package with multi-org support ( #14624 )
...
runtime configuration package
---------
Signed-off-by: Danny Kopping <danny@coder.com >
Co-authored-by: Danny Kopping <danny@coder.com >
2024-09-09 14:14:52 -05:00
Michael Smith
9da646704b
fix: prefer organization display name for workspaces table ( #14617 )
...
* fix: prefer organization display name for workspaces table
* fix: update story to account for organization name changes
* fix: resolve typo in regex search for test
2024-09-09 11:35:28 -04:00
Eric Paulsen
eb646f036e
docs: fix SCIM env var ( #14618 )
2024-09-09 11:14:51 -04:00
Danielle Maywood
25f1ddbf5e
feat: add 'hidden' option to 'coder_app' to hide app from UI ( #14570 )
...
Add 'hidden' property to 'coder_app' resource to allow hiding apps from the UI.
2024-09-09 14:39:32 +01:00
Ethan
918bea18c1
fix: prevent dbmem reading other groups when getting group members ( #14581 )
2024-09-09 14:33:11 +10:00
Jaayden Halko
6b9e1d4771
feat: create idp sync page skeleton ( #14543 )
...
* feat: initial commit for idp skeleton page
* feat: add optional tooltip icon to settings header
* feat: add help tooltip
* feat: add mock data and update pageview for mock data
* feat: initial stories
* feat: error circle
* feat: cleanup
* feat: update StatusIndicator for outlined variant
* feat: use StatusIndicator instead of Circle
* chore: cleanup
* fix: remove ternaries in css
* fix: updates for PR review comments
* chore: add story for compact empty state
* feat: extract IdpField and improve field spacing
2024-09-06 15:30:41 -04:00
Bruno Quaresma
84d312cfea
fix(site): only show method warning if some template is using it ( #14565 )
...
Previously, we were showing the warning regardless of whether a template was using the misconfigured notification method or not. However, we realized this could be too noisy, so we decided to display the warning only when the user has a template configured to use the misconfigured method.
2024-09-06 14:59:58 -03:00
Steven Masley
92b81c4164
test: add some default group/roles claims to testidp ( #14591 )
...
Allows testing group/role sync with the fake
2024-09-06 12:35:17 -05:00
Michael Smith
0d6056633d
fix: increase text contrast for 'create workspace' button ( #14588 )
2024-09-06 13:15:53 -04:00
Danny Kopping
8b1c46fbe0
fix: analyze build times over 30 days not 30 months ( #14584 )
2024-09-06 17:03:01 +02:00
Bruno Quaresma
0f342ed12f
test(site): move users page test to storybook ( #14579 )
...
By using [Storybook interaction tests](https://storybook.js.org/tutorials/ui-testing-handbook/react/en/interaction-testing/ ), we improve the developer experience, as we can see what is happening in the browser, use browser tools to debug, and snapshot the component after interactions, making our tests more reliable and easier to maintain.
Fixes https://github.com/coder/coder/issues/14535
2024-09-06 09:56:51 -03:00
Ethan
208a5beb95
fix: improve duplicate template version name error ( #14572 )
2024-09-06 16:13:34 +10:00
Michael Smith
c2491746ba
feat: show organization name in workspaces table ( #14547 )
...
* chore: add organization label to workspace template column
* chore: add test for presence of showOrganizations context value
* fix: organize imports
* fix: expose table row subtitles only to screen readers
2024-09-05 12:32:21 -04:00
Eric Paulsen
c1bb5abcb7
docs: add new marketecture ( #14567 )
2024-09-05 08:16:59 -04:00
Ethan
cd7ce8ecfb
docs: add networking troubleshooting page ( #14548 )
2024-09-05 13:32:08 +10:00
Kayla Washburn-Love
84922e239f
feat: add provisioners view to organization settings ( #14501 )
2024-09-04 16:21:24 -06:00
Bruno Quaresma
c3f0db3671
test(site): make loading snapshots more predictable ( #14564 )
...
Abstracts the Spinner component to control the display of the CircularProgress component. This allows us to make it static during Chromatic tests, making loading tests easier to visualize.
2024-09-04 15:20:41 -03:00
Mathias Fredriksson
8f07d3357e
feat(agent/agentssh): use tcp for X11 forwarding ( #14560 )
...
Fixes #14198
2024-09-04 20:06:08 +03:00
Marcin Tojek
e6d8f674ad
feat: generate golden files for notification templates ( #14537 )
2024-09-04 18:26:57 +02:00
Cian Johnston
bcf9bc3c90
feat(cli): add --provisioner-log-debug option ( #14558 )
...
Allows starting a build in debug mode from the CLI without needing
to have the build fail first by adding `--provisioner-log-debug`.
2024-09-04 14:39:35 +01:00
Cian Johnston
bd90740166
chore(docs): remove dead links to mark's unmaintained vs-code-server template ( #14559 )
2024-09-04 13:19:11 +01:00
Spike Curtis
7b39f6b0d4
fix: improves coordination logging ( #14556 )
2024-09-04 15:10:43 +04:00
dependabot[bot]
2e6dbd18b3
chore: bump github.com/moby/moby from 27.1.1+incompatible to 27.2.0+incompatible ( #14526 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 10:48:01 +00:00
Danielle Maywood
1958436b1d
chore: replace AlecAivazis/survey with charmbracelet/bubbletea ( #14475 )
...
Replaces the unmaintained https://github.com/AlecAivazis/survey library with https://github.com/charmbracelet/bubbletea .
2024-09-04 11:38:08 +01:00
Cian Johnston
2ed88d593a
ci: disable update-flake in PRs ( #14554 )
2024-09-04 10:18:18 +00:00
Cian Johnston
5366f2576f
fix(provisionerd/runner): do not log entire resources ( #14538 )
...
fix(coderd/workspaceagentsrpc): do not log entire agent
fix(provisionerd/runner): do not log entire resources
2024-09-04 10:23:34 +01:00
Ethan
8f85464fe6
feat(codersdk): export name validators ( #14551 )
2024-09-04 08:34:39 +00:00
Ethan
01a904c133
feat(codersdk): export name validators ( #14550 )
...
* feat(codersdk): export name validators
* review
2024-09-04 18:17:53 +10:00
Jaayden Halko
093d243811
feat: add resource-action pills to custom roles table ( #14354 )
...
* feat: add resource-action pills to custom roles table
* fix: remove permission from theme and change name to colorRoles
* fix: revert name from colorRoles to roles
* fix: format
* fix: custom role with no permissions
* feat: extract permissions pull list component and add tests
* chore: undo color roles name change
* feat: add experimental pill colors
* fix: format
* chore: update experiment name
* chore: cleanup
2024-09-03 16:39:18 -04:00
Phorcys
44210631cd
chore(docs): correct inaccuracies in the "Docker in Workspaces" page ( #14546 )
2024-09-03 20:50:39 +02:00
Bruno Quaresma
242b1ea4ca
fix(site): fix agent logs streaming for third party apps ( #14541 )
2024-09-03 15:01:02 -03:00
dependabot[bot]
fcb0ce1f1b
chore: bump cronstrue from 2.43.0 to 2.50.0 in /site ( #14512 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.43.0 to 2.50.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.43.0...v2.50.0 )
---
updated-dependencies:
- dependency-name: cronstrue
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 11:46:23 -06:00
Stephen Kirby
5cffac29da
chore(docs): add version updates and vscode extensions doc path ( #14542 )
...
* docs fixups for 2.15
* release-calendar
2024-09-03 17:28:40 +00:00
Steven Masley
7c8c02733d
chore: disallow sdk imports from the db package, switch enum to string( #14539 )
...
* chore: disallow sdk imports from the db package
* convert to string
2024-09-03 10:32:33 -05:00
dependabot[bot]
48430625a0
ci: bump crate-ci/typos from 1.24.1 to 1.24.3 in the github-actions group ( #14521 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-09-03 17:17:12 +05:00
Marcin Tojek
c74fed11ac
fix: add missing down migration ( #14536 )
2024-09-03 13:04:06 +02:00
Danny Kopping
f23a05075e
feat: support optional SMTP auth ( #14533 )
2024-09-03 11:51:34 +02:00
Spike Curtis
0eca1fcb8b
fix: fix TestPendingUpdatesMetric flaky assertion ( #14534 )
2024-09-03 13:47:34 +04:00
dependabot[bot]
2f18f4583b
chore: bump github.com/gohugoio/hugo from 0.131.0 to 0.133.1 ( #14523 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 09:45:36 +00:00
dependabot[bot]
1d331dd049
chore: bump github.com/coder/serpent from 0.7.1-0.20240822034013-1b2301f8c920 to 0.8.0 ( #14522 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 14:32:27 +05:00
dependabot[bot]
aa4a6f89ba
chore: bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0 ( #14524 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:58:58 +00:00
dependabot[bot]
903993a14a
chore: bump github.com/open-policy-agent/opa from 0.67.0 to 0.68.0 ( #14528 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:43:51 +00:00
dependabot[bot]
478121df77
chore: bump github.com/prometheus/common from 0.55.0 to 0.57.0 ( #14527 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:30:11 +00:00
dependabot[bot]
2368f48c1c
chore: bump google.golang.org/grpc from 1.65.0 to 1.66.0 ( #14525 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:17:50 +00:00
dependabot[bot]
4c8a560e19
chore: bump github.com/go-chi/httprate from 0.12.0 to 0.14.1 ( #14503 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 13:03:36 +05:00
Spike Curtis
4eac2acede
fix: stop reporting future licenses as errors ( #14492 )
2024-09-03 09:22:46 +04:00
Spike Curtis
5bd5801286
fix: allow posting licenses that will be valid in future ( #14491 )
2024-09-03 09:09:38 +04:00
Stephen Kirby
0785b77d0b
Minor fixups, added troubleshooting ( #14519 ) ( #14530 )
...
(cherry picked from commit 66c8060605 )
Co-authored-by: Danny Kopping <danny@coder.com >
2024-09-02 14:47:38 -05:00
Danny Kopping
66c8060605
Minor fixups, added troubleshooting ( #14519 )
2024-09-02 16:10:54 +02:00
dependabot[bot]
741d60a25e
chore: bump google.golang.org/api from 0.192.0 to 0.195.0 ( #14504 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 16:16:43 +05:00
dependabot[bot]
3a8424ea23
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.66.0 to 1.67.0 ( #14429 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:35:55 +05:00
dependabot[bot]
92253d0f52
chore: bump the emotion group across 1 directory with 2 updates ( #14508 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:35:33 +05:00
dependabot[bot]
7d15aad11a
chore: bump eslint-config-next from 14.2.6 to 14.2.7 in /offlinedocs ( #14510 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:35:18 +05:00
Ethan
e5d4f3557b
chore: only show license expiry warning for deployment admins ( #14488 )
2024-09-02 17:54:39 +10:00
dependabot[bot]
faf245234f
ci: bump crate-ci/typos from 1.23.6 to 1.24.1 in the github-actions group ( #14431 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 05:22:39 +00:00
dependabot[bot]
c9fcab3717
chore: bump github.com/fergusstrange/embedded-postgres from 1.28.0 to 1.29.0 ( #14430 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 10:15:52 +05:00
dependabot[bot]
ead8fae63d
chore: bump framer-motion from 10.17.6 to 10.18.0 in /offlinedocs ( #14290 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 10:02:00 +05:00
Steven Masley
0ef85147cd
chore: match templates search error with workspace search error ( #14479 )
...
* chore: make templates search error the same as workspaces
2024-08-30 15:14:59 -05:00
Cian Johnston
0f8251be41
feat(coderd/database/dbpurge): retain most recent agent build logs ( #14460 )
...
Updates the `DeleteOldWorkspaceAgentLogs` to:
- Retain logs for the most recent build regardless of age,
- Delete logs for agents that never connected and were created before
the cutoff for deleting logs while still retaining the logs most recent build.
2024-08-30 17:39:09 +01:00
Steven Masley
10c958bba1
chore: implement organization sync and create idpsync package ( #14432 )
...
* chore: implement filters for the organizations query
* chore: implement organization sync and create idpsync package
Organization sync can now be configured to assign users to an org based on oidc claims.
2024-08-30 11:19:36 -05:00
Danny Kopping
043f4f5327
docs: add documentation for notifications feature ( #14478 )
2024-08-30 17:30:06 +02:00
Mathias Fredriksson
13e5c51c30
chore(dogfood): optimize dockerfile for envbuilder cache probing ( #14497 )
2024-08-30 17:54:19 +03:00
Danny Kopping
9596f236c1
fix: use negative deadline to ensure timeout in TestWebhook/timeout ( #14498 )
2024-08-30 16:46:13 +02:00
Danny Kopping
0f414a00d3
fix: restore closing SMTP message on method exit ( #14496 )
2024-08-30 13:03:25 +02:00
Cian Johnston
a74273f1fd
chore(coderd/database/dbpurge): replace usage of time.* with quartz ( #14480 )
...
Related to #10576
This PR introduces quartz to coderd/database/dbpurge and updates the following unit tests to make use of Quartz's functionality:
- TestPurge
- TestDeleteOldWorkspaceAgentLogs
Additionally, updates DeleteOldWorkspaceAgentLogs to replace the hard-coded interval with a parameter passed into the query. This aids in testing and brings us a step towards allowing operators to configure the cutoff interval for workspace agent logs.
2024-08-30 11:55:47 +01:00
Danny Kopping
c90be9b0c1
fix: correctly close SMTP message and await response ( #14495 )
2024-08-30 11:37:50 +02:00
Ethan
851df91991
fix: serve test derp map locally ( #14490 )
2024-08-30 18:43:51 +10:00
Ethan
628750232f
fix: delete workspace agent stats after 180 days ( #14489 )
...
Fixes #13430 .
The test for purging old workspace agent stats from the DB was consistently failing when ran with Postgres towards the end of the month, but not with the in-memory DB.
This was because month intervals are calculated differently for `time.Time` and the `interval` type in Postgres:
```
ethan=# SELECT
'2024-08-30'::DATE AS original_date,
('2024-08-30'::DATE - INTERVAL '6 months') AS sub_date;
original_date | sub_date
---------------+---------------------
2024-08-30 | 2024-02-29 00:00:00
(1 row)
```
Using `func (t Time) AddDate(years int, months int, days int) Time`, where `months` is `-6`:
```
Original: 2024-08-30 00:00:00 +0000 UTC
6 Months Earlier: 2024-03-01 00:00:00 +0000 UTC
```
Since 6 months was chosen arbitrarily, we should be able to change it to 180 days, to remove any ambiguity between the in-memory DB, and the Postgres DB. The alternative solution would involve implementing Postgres' month interval algorithm in Go.
The UI only shows stats as old as 168 days (24 weeks), so a frontend change isn't required for the extra days of stats we lose in some cases.
2024-08-30 18:30:04 +10:00
Kayla Washburn-Love
4672849d05
chore: clean up usage of Object.keys ( #14484 )
2024-08-29 17:21:29 -06:00
Kayla Washburn-Love
d2a22c538b
chore: add more stories and use new groups query for user settings page ( #14481 )
2024-08-29 17:00:12 -06:00
Kayla Washburn-Love
6bc93520c4
fix: fix light mode styles for organization delete button ( #14485 )
2024-08-29 16:10:31 -06:00
Asher
cd38e297b6
fix: make non-existent asset paths return a 404 ( #14472 )
...
Before, if a file was not found we would serve the app.
This would cause either the login page or the workspace
page to load (and consequently error because `assets` is
likely not a valid user).
2024-08-29 13:52:08 -08:00
Asher
ef7fcf3930
fix: include dormant users in template acl query ( #14461 )
...
The issue is that if you add a user and then immediately go to give them
permissions, you can add them but they will not show up in the UI. They
also do not show up in the audit log entry.
2024-08-29 13:48:28 -08:00
Kayla Washburn-Love
49afab12d5
feat: show organization name for groups on user profile ( #14448 )
2024-08-29 10:55:00 -06:00
Ethan
4b5c45d6df
feat(cli): add aws check to ping p2p diagnostics ( #14450 )
2024-08-29 21:41:12 +10:00
Ethan
e65eb0321c
fix: support additional http headers on agent ( #14464 )
2024-08-29 14:15:15 +10:00
Steven Masley
6dbfe6f7ae
chore: remove duplicates using the symmetric difference function ( #14469 )
...
The `SymmetricDifferenceFunc` used to include duplicates, which was incorrect.
2024-08-28 21:06:27 -05:00
Jaayden Halko
15d74a11a0
feat: improve custom roles create/edit page ( #14456 )
...
* fix: improve show/hide checkbox text
* feat: add parent checkbox for grouped resource permissions
* fix: align action list item to a grid
* chore: add additional tests
* fix: format
2024-08-28 18:13:33 -04:00
dependabot[bot]
f3ea740b27
chore: bump next from 14.2.4 to 14.2.7 in /offlinedocs ( #14473 )
...
Bumps [next](https://github.com/vercel/next.js ) from 14.2.4 to 14.2.7.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v14.2.4...v14.2.7 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 14:20:04 -06:00
Steven Masley
b96ac677f1
chore: add organization search query to workspaces ( #14474 )
...
* chore: add organization search query to workspaces
2024-08-28 15:18:45 -05:00
Steven Masley
54fe082551
chore: implement filters for the organizations query ( #14468 )
...
Required for organization sync. Allows fetching a filtered set of orgs.
2024-08-28 13:24:28 -05:00
dependabot[bot]
7667d64686
chore: bump the mui group across 1 directory with 6 updates ( #14400 )
...
* chore: bump the mui group across 1 directory with 6 updates
Bumps the mui group with 6 updates in the /site directory:
| Package | From | To |
| --- | --- | --- |
| [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material ) | `5.16.0` | `5.16.7` |
| [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab ) | `5.0.0-alpha.129` | `5.0.0-alpha.173` |
| [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material ) | `5.16.0` | `5.16.7` |
| [@mui/system](https://github.com/mui/material-ui/tree/HEAD/packages/mui-system ) | `5.16.0` | `5.16.7` |
| [@mui/utils](https://github.com/mui/material-ui/tree/HEAD/packages/mui-utils ) | `5.16.0` | `5.16.6` |
| [@mui/x-tree-view](https://github.com/mui/mui-x/tree/HEAD/packages/x-tree-view ) | `7.9.0` | `7.13.0` |
Updates `@mui/icons-material` from 5.16.0 to 5.16.7
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.7/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.7/packages/mui-icons-material )
Updates `@mui/lab` from 5.0.0-alpha.129 to 5.0.0-alpha.173
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/next/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab )
Updates `@mui/material` from 5.16.0 to 5.16.7
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.7/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.7/packages/mui-material )
Updates `@mui/system` from 5.16.0 to 5.16.7
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.7/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.7/packages/mui-system )
Updates `@mui/utils` from 5.16.0 to 5.16.6
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.6/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.6/packages/mui-utils )
Updates `@mui/x-tree-view` from 7.9.0 to 7.13.0
- [Release notes](https://github.com/mui/mui-x/releases )
- [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mui/mui-x/commits/v7.13.0/packages/x-tree-view )
---
updated-dependencies:
- dependency-name: "@mui/icons-material"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/lab"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/material"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/system"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/utils"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/x-tree-view"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mui
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix breaking changes
* Fix fmt
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-08-28 15:19:05 -03:00
Danny Kopping
f24cb5cc96
fix: prevent test flakiness ( #14467 )
...
Signed-off-by: Danny Kopping <danny@coder.com >
2024-08-28 16:33:27 +02:00
Ethan
c597c9260d
fix: wait for provisioner daemon jobs to finish after sigterm ( #14466 )
2024-08-28 20:16:15 +10:00
Danielle Maywood
839918c5e7
chore(docs): document agent api debug endpoints ( #14454 )
...
* chore(docs): add agent api debug docs
* chore(docs): add sections to agent api readme
* chore(docs): link debug manifest to agentsdk.Manifest schema
* chore(docs): add high level overview of agent api debug docs
* chore(docs): link to agent api docs from reference
* chore(docs): fix invalid paths
* chore(docs): use env variable for coder agent debug address
2024-08-28 09:47:14 +01:00
Ethan
8c15192433
feat(cli): add p2p diagnostics to ping ( #14426 )
...
First PR to address #14244 .
Adds common potential reasons as to why a direct connection to the workspace agent couldn't be established to `coder ping`:
- If the Coder deployment administrator has blocked direction connections (`CODER_BLOCK_DIRECT`).
- If the client has no STUN servers within it's DERP map.
- If the client or agent appears to be behind a hard NAT, as per Tailscale `netInfo.MappingVariesByDestIP`
Also adds a warning if the client or agent has a network interface below the 'safe' MTU for tailnet. This warning is always displayed at the end of a `coder ping`.
2024-08-28 15:39:01 +10:00
Kayla Washburn-Love
b36d979a60
chore: add provisioner api version to /buildinfo ( #14446 )
2024-08-27 13:40:51 -06:00
dependabot[bot]
f3c76ce244
chore: bump eslint-config-next from 14.0.1 to 14.2.6 in /offlinedocs ( #14402 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 14.0.1 to 14.2.6.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v14.2.6/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 13:39:25 -06:00
Ethan
63fe2305f8
fix: detect nested dotfiles scripts ( #14455 )
2024-08-28 02:14:23 +10:00
Marcin Tojek
47f2c7d683
feat: notify about manual failed builds ( #14419 )
2024-08-27 14:35:28 +00:00
Ethan
0afff43f9d
chore: remove dogfood import block ( #14449 )
2024-08-27 06:28:25 +00:00
Asher
499769187b
fix: increase group name limit to 36 from 32 ( #14443 )
2024-08-26 11:38:31 -08:00
Asher
88d7181a47
fix: filter "add group member" by organization ( #14404 )
...
This is accomplished by using the members endpoint instead of the users
endpoint, and to that end the UserAutocomplete component has been
reworked to support either endpoint as separate components with a shared
base.
* Add Storybook for groups page
This ensures it is using the right endpoint for the add member dropdown.
* Add ability to mock react-query errors
2024-08-26 11:13:34 -08:00
Asher
83f9ea17b4
chore: update organizations doc link ( #14361 )
2024-08-26 10:40:18 -08:00
Steven Masley
93eef7b542
chore: keep entitlements in the options only, simplify fields ( #14434 )
...
* chore: refactor entitlements to keep it in just the options
Duplicating the reference did not feel valuable, just confusing
2024-08-26 13:05:03 -05:00
Jaayden Halko
fb6b954222
chore: update secondary and disabled text colors ( #14355 )
2024-08-26 12:22:32 -04:00
Garrett Delfosse
ded612d3ec
fix: use authenticated urls for pubsub ( #14261 )
2024-08-26 15:04:04 +00:00
Cian Johnston
6914862903
fix(cli): add check for DisableOwnerWorkspaceExec in scaletest ( #14417 )
...
- Adds `--use-host-login` to `coder exp scaletest workspace-traffic`
- Modifies getScaletestWorkspaces to conditionally filter workspaces if `CODER_DISABLE_OWNER_WORKSPACE_ACCESS` is set
- Adds a warning if `CODER_DISABLE_OWNER_WORKSPACE_ACCESS` is set and scaletest workspaces are filtered out due to ownership mismatch.
- Modifies `coderdtest.New` to detect cross-test bleed of `CODER_DISABLE_OWNER_WORKSPACE_ACCESS` and fast-fail.
2024-08-26 12:02:54 +01:00
Steven Masley
c8eacc6df7
chore!: allow CreateUser to accept multiple organizations ( #14383 )
...
* chore: allow CreateUser to accept multiple organizations
In a multi-org deployment, it makes more sense to allow for multiple
org memberships to be assigned at create. The legacy param will still
be honored.
* Handle sdk deprecation better by maintaining cli functions
2024-08-23 21:23:51 +00:00
Steven Masley
af125c3795
chore: refactor entitlements to be a safe object to use ( #14406 )
...
* chore: refactor entitlements to be passable as an argument
Previously, all usage of entitlements requires mutex usage on the
api struct directly. This prevents passing the entitlements to
a sub package. It also creates the possibility for misuse.
2024-08-23 16:21:58 -05:00
Steven Masley
cb6a47227f
chore: implement generalized symmetric difference for set comparison ( #14407 )
...
* chore: implement generalized symmetric difference for set comparison
Going to be used in Organization Sync + maybe group sync. Felt
better to reuse, rather than copy
2024-08-23 14:52:35 -05:00
Cian Johnston
4bd7fe8506
fix(examples/templates/gcp-devcontainer): fix location of env file ( #14422 )
2024-08-23 17:46:02 +01:00
Cian Johnston
53e5746636
feat(examples/templates/gcp-devcontainer): add envbuilder provider ( #14405 )
...
This PR modifies the gcp-devcontainer example template to include
support for devcontainer caching using the envbuilder provider.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-08-23 17:36:24 +01:00
Danny Kopping
a4d785dec5
chore: use idiomatic test setup in notification tests ( #14416 )
2024-08-23 16:29:27 +02:00
Cian Johnston
d4adfa3902
fix(coderd/database/dbmem): include a technical summary row on over-pagination ( #14415 )
2024-08-23 13:16:55 +01:00
Cian Johnston
99e103e790
feat(coderd/coderdtest): allow mutating deployment values ( #14414 )
2024-08-23 12:15:22 +01:00
Ethan
4cc26be5ec
fix: set network telemetry client version on server ( #14376 )
2024-08-23 06:17:28 +00:00
Kayla Washburn-Love
5710a98714
chore: update @types/node and fix vite warning ( #14403 )
2024-08-22 16:44:14 -06:00
dependabot[bot]
b0084e2229
chore: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.1 ( #14379 )
...
* chore: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.1
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.19.1 to 1.20.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.1/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 01:40:07 +03:00
Spike Curtis
d52bc91e48
chore: add dbauthz to unhanger tests ( #14394 )
2024-08-22 22:23:52 +04:00
dependabot[bot]
337ee3544b
chore: bump eslint from 8.56.0 to 8.57.0 in /offlinedocs ( #14294 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 19:59:12 +03:00
dependabot[bot]
aeb4040958
chore: bump the emotion group across 1 directory with 3 updates ( #14396 )
...
* chore: bump the emotion group across 1 directory with 3 updates
Bumps the emotion group with 3 updates in the /site directory: [@emotion/css](https://github.com/emotion-js/emotion ), [@emotion/react](https://github.com/emotion-js/emotion ) and [@emotion/styled](https://github.com/emotion-js/emotion ).
Updates `@emotion/css` from 11.11.2 to 11.13.0
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/css@11.11.2...@emotion/css@11.13.0 )
Updates `@emotion/react` from 11.11.4 to 11.13.3
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/react@11.11.4...@emotion/react@11.13.3 )
Updates `@emotion/styled` from 11.11.5 to 11.13.0
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/styled@11.11.5...@emotion/styled@11.13.0 )
---
updated-dependencies:
- dependency-name: "@emotion/css"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: emotion
- dependency-name: "@emotion/react"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: emotion
- dependency-name: "@emotion/styled"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: emotion
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix lint
* Fix type
* Fix fmt
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-08-22 13:46:59 -03:00
Marcin Tojek
c818b4ddd4
feat: add notification for suspended/activated account ( #14367 )
...
* migrations
* notify
* fix
* TestNotifyUserSuspended
* TestNotifyUserReactivate
* post merge
* fix escape
* TestNotificationTemplatesCanRender
* links and events
* notifyEnq
* findUserAdmins
* notifyUserStatusChanged
* go build
* your and admin
* tests
* refactor
* 247
* Danny's review
2024-08-22 13:52:25 +02:00
dependabot[bot]
046c1c4228
chore: bump the vite group across 1 directory with 3 updates ( #14281 )
...
Bumps the vite group with 3 updates in the /site directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ), [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker ) and [vite-plugin-turbosnap](https://github.com/IanVS/vite-plugin-turbosnap ).
Updates `vite` from 5.3.3 to 5.4.1
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.1/packages/vite )
Updates `vite-plugin-checker` from 0.7.1 to 0.7.2
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases )
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.7.1...vite-plugin-checker@0.7.2 )
Updates `vite-plugin-turbosnap` from 1.0.2 to 1.0.3
- [Release notes](https://github.com/IanVS/vite-plugin-turbosnap/releases )
- [Commits](https://github.com/IanVS/vite-plugin-turbosnap/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: vite
- dependency-name: vite-plugin-checker
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: vite
- dependency-name: vite-plugin-turbosnap
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: vite
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 14:18:35 +03:00
dependabot[bot]
3e5cfa9e45
chore: bump msw from 2.2.3 to 2.3.5 in /site ( #14138 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 2.2.3 to 2.3.5.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v2.2.3...v2.3.5 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 14:17:49 +03:00
dependabot[bot]
fbec45b807
chore: bump pretty-bytes from 6.1.0 to 6.1.1 in /site ( #14301 )
...
Bumps [pretty-bytes](https://github.com/sindresorhus/pretty-bytes ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/sindresorhus/pretty-bytes/releases )
- [Commits](https://github.com/sindresorhus/pretty-bytes/compare/v6.1.0...v6.1.1 )
---
updated-dependencies:
- dependency-name: pretty-bytes
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 14:17:13 +03:00
Danny Kopping
cc944209ae
fix: include provisioner timing action in hash func ( #14388 )
2024-08-22 12:31:50 +02:00
Cian Johnston
82e6070c7a
fix(cli): ensure that the support bundle command does not panic on zero values ( #14392 )
...
We try to write a cute little summary at the end of the bundle, but that could panic if some of the fields of the bundle were nil. Adds a test that essentially ensures nil values in a bundle, and ensures that it can be handled without losing our towels.
Co-authored-by: Danny Kopping <danny@coder.com >
2024-08-22 11:15:02 +01:00
Ethan
3514ca3476
chore: skip completion install prompts in non-interactive shells ( #14391 )
2024-08-22 15:40:53 +10:00
Dean Sheather
e8c59a1d9d
chore: avoid flake in resume token test ( #14378 )
2024-08-22 13:27:43 +10:00
Ethan
d7800a43e9
docs: add coderd terraform provider ( #14374 )
2024-08-22 13:03:33 +10:00
Stephen Kirby
9f4f88f38c
version-flags ( #14386 )
2024-08-21 13:24:35 -05:00
Steven Masley
a359879af5
chore: scope workspace quotas to organizations ( #14352 )
...
* chore: scope workspace quotas to organizations
Quotas are now a function of (user_id, organization_id). They are
still sourced from groups. Deprecate the old api endpoint.
2024-08-21 09:25:20 -05:00
Danny Kopping
fa733318e0
Add missing content ( #14380 )
2024-08-21 12:46:11 +00:00
Danny Kopping
6960d194ae
feat: add provisioning timings to understand slow build times ( #14274 )
2024-08-21 14:18:58 +02:00
Danny Kopping
9c8c6a952d
feat: add notification deduplication trigger ( #14172 )
2024-08-21 11:18:03 +02:00
Ethan
d9f419308a
chore(dogfood): use remote tf state ( #14363 )
2024-08-21 12:46:28 +10:00
Jon Ayers
b6d35edebd
chore: remove meticulous from CI ( #14369 )
2024-08-20 14:13:13 -04:00
Kayla Washburn-Love
03f05e25f6
chore(site): make info gray ( #14356 )
2024-08-20 11:59:23 -06:00
Ethan
cca4519420
feat: enable setting max port share level during template creation ( #14366 )
2024-08-20 22:48:39 +10:00
Cian Johnston
2bef1752f1
chore(envbuilder-dogfood): update envbuilder-dogfood template to use provider ( #14324 )
...
Updates the envbuilder-dogfood template to use the envbuilder provider.
Relates to coder/team-coconut#38
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-08-20 11:50:39 +01:00
Cian Johnston
40baa5bc72
chore(examples): update devcontainer-{docker,kubernetes} to use computed env ( #14328 )
...
Updates devcontainer-docker and devcontainer-kubernetes example templates to use computed env from provider, if applicable.
2024-08-20 10:47:02 +01:00
Dean Sheather
cf8be4eac5
feat: add resume support to coordinator connections ( #14234 )
2024-08-20 17:16:49 +10:00
Ethan
0b2ba96065
feat(cli): add shell completions ( #14341 )
2024-08-20 14:47:46 +10:00
Kyle Carberry
6f9b3c1592
chore: sign the windows installer ( #14353 )
2024-08-19 20:33:37 -04:00
Asher
f8f3d8967e
fix: label premium features in middleware error ( #14360 )
...
Previously, all features were called enterprise in the license check middleware.
2024-08-19 15:58:41 -08:00
Asher
4446d61fcd
fix: show org summary page if not entitled ( #14336 )
...
You cannot edit the settings without being entitled, so show the summary
page instead.
2024-08-19 15:57:02 -08:00
Kayla Washburn-Love
1c3dc8392e
chore: remove dangling eslint-ignore comments ( #14334 )
2024-08-19 16:08:53 -06:00
Asher
fa59b30cfb
chore: update editorconfig with new tabs default ( #14335 )
2024-08-19 11:40:58 -08:00
dependabot[bot]
f007c90a30
ci: bump contributor-assistant/github-action ( #14345 )
...
Bumps the github-actions group with 1 update in the / directory: [contributor-assistant/github-action](https://github.com/contributor-assistant/github-action ).
Updates `contributor-assistant/github-action` from 2.4.0 to 2.5.1
- [Release notes](https://github.com/contributor-assistant/github-action/releases )
- [Commits](https://github.com/contributor-assistant/github-action/compare/v2.4.0...v2.5.1 )
---
updated-dependencies:
- dependency-name: contributor-assistant/github-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 21:53:20 +03:00
Bruno Quaresma
10327fb3a9
fix(coderd): humanize duration on notifications ( #14333 )
2024-08-19 15:49:47 -03:00
Steven Masley
755afa31cf
chore: ui error handling should be specific to general ( #14346 )
...
* chore: ui error handling should be specific to general
Specific errors should be checked before defaulting to a general
error handling
2024-08-19 13:28:43 -05:00
Steven Masley
422e044859
chore: forbidden error on create workspace without permissions ( #14347 )
...
Multi-org enables the possibility of a user having template permissions,
but not workspace create permissions. The unauthorized error should be
returned instead of a 404. This does not leak any information the user
cannot already obtain.
2024-08-19 13:28:27 -05:00
Ben Potter
c3ef7dc33b
docs: add organizations guide ( #14012 )
...
* wip
* add workspace & members screenshot
* add audit logs
* org id and provisioner key
* Update docs/guides/using-organizations.md
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* edits to docs
* fixup
* fmt
* changes based on kirby feedback
* fix link
* fix manifest
* fmt
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2024-08-19 15:11:36 +00:00
Ethan
d0f36dc6ba
ci: add networking release validation ( #14273 )
2024-08-19 16:31:49 +10:00
Muhammad Atif Ali
cba6e93176
chore: update docs links ( #14221 )
2024-08-17 11:51:13 +00:00
Jaayden Halko
bec6a26d0e
fix: re-add original create template context menu ( #14326 )
2024-08-16 17:16:13 -04:00
dependabot[bot]
8c4d726cf6
chore: bump the x group with 6 updates ( #14235 )
...
* chore: bump the x group with 6 updates
Bumps the x group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.25.0` | `0.26.0` |
| [golang.org/x/net](https://github.com/golang/net ) | `0.27.0` | `0.28.0` |
| [golang.org/x/sys](https://github.com/golang/sys ) | `0.23.0` | `0.24.0` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.22.0` | `0.23.0` |
| [golang.org/x/text](https://github.com/golang/text ) | `0.16.0` | `0.17.0` |
| [golang.org/x/tools](https://github.com/golang/tools ) | `0.23.0` | `0.24.0` |
Updates `golang.org/x/crypto` from 0.25.0 to 0.26.0
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.26.0 )
Updates `golang.org/x/net` from 0.27.0 to 0.28.0
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.0 )
Updates `golang.org/x/sys` from 0.23.0 to 0.24.0
- [Commits](https://github.com/golang/sys/compare/v0.23.0...v0.24.0 )
Updates `golang.org/x/term` from 0.22.0 to 0.23.0
- [Commits](https://github.com/golang/term/compare/v0.22.0...v0.23.0 )
Updates `golang.org/x/text` from 0.16.0 to 0.17.0
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.16.0...v0.17.0 )
Updates `golang.org/x/tools` from 0.23.0 to 0.24.0
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.23.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 20:37:37 +00:00
dependabot[bot]
fc3b2ff06c
chore: bump google.golang.org/api from 0.190.0 to 0.192.0 ( #14291 )
...
* chore: bump google.golang.org/api from 0.190.0 to 0.192.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.190.0 to 0.192.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.190.0...v0.192.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 23:22:39 +03:00
Ethan
0613797934
fix: use dogfood contents as template dir ( #14332 )
2024-08-17 02:52:26 +10:00
Ethan
363a016281
fix: move to dogfood before terraform applying
2024-08-17 02:43:16 +10:00
Ethan
979430d635
chore: manage dogfood template using coderd provider ( #14321 )
2024-08-17 02:33:32 +10:00
Kayla Washburn-Love
7142cbb9e6
chore: enable noConsoleLog lint ( #14329 )
2024-08-16 10:12:06 -06:00
dependabot[bot]
2c150d03f6
chore: bump tzdata from 1.0.30 to 1.0.40 in /site ( #14303 )
...
Bumps [tzdata](https://github.com/rogierschouten/tzdata-generate ) from 1.0.30 to 1.0.40.
- [Release notes](https://github.com/rogierschouten/tzdata-generate/releases )
- [Commits](https://github.com/rogierschouten/tzdata-generate/compare/v1.0.30...v1.0.40 )
---
updated-dependencies:
- dependency-name: tzdata
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 17:38:05 +03:00
dependabot[bot]
9b9496cf4d
chore: bump typescript from 5.3.2 to 5.5.4 in /offlinedocs ( #14163 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.3.2 to 5.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.2...v5.5.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 17:36:54 +03:00
dependabot[bot]
a62e69d34a
chore: bump undici from 6.19.2 to 6.19.7 in /site ( #14300 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.19.2 to 6.19.7.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.19.2...v6.19.7 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 10:59:40 -03:00
Cian Johnston
91a74f0ead
chore(examples): update kubernetes devcontainer template with envbuilder provider ( #14267 )
...
* chore(examples): update kubernetes devcontainer template with envbuilder provider
* make insecure a template variable
* Update examples/templates/devcontainer-kubernetes/README.md
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-08-15 22:08:24 +01:00
Kayla Washburn-Love
4db8fa661e
chore: ignore tabs change when using git blame ( #14297 )
2024-08-15 15:02:24 -06:00
Kayla Washburn-Love
95a7c0c4f0
chore: use tabs for prettier and biome ( #14283 )
2024-08-15 14:53:53 -06:00
dependabot[bot]
db2d0596d4
chore: bump axios from 1.7.2 to 1.7.4 in /site ( #14265 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.7.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 16:02:54 -04:00
dependabot[bot]
f2a96ac984
chore: bump the jest group across 1 directory with 2 updates ( #14157 )
...
Bumps the jest group with 2 updates in the /site directory: [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest ) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ).
Updates `jest` from 29.6.2 to 29.7.0
- [Release notes](https://github.com/jestjs/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest )
Updates `@types/jest` from 29.5.2 to 29.5.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: jest
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: jest
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 19:41:25 +00:00
dependabot[bot]
82cb6ef7ec
chore: bump typescript from 5.2.2 to 5.5.4 in /site ( #14164 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.2.2 to 5.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.5.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 19:34:02 +00:00
Kayla Washburn-Love
d15f16fa2e
chore: replace eslint with biome ( #14263 )
2024-08-15 13:26:29 -06:00
Steven Masley
7b09d98238
chore: add /groups endpoint to filter by organization and/or member ( #14260 )
...
* chore: merge get groups sql queries into 1
* Add endpoint for fetching groups with filters
* remove 2 ways to customizing a fake authorizer
2024-08-15 13:40:15 -05:00
Steven Masley
83ccdaa755
chore: fixup quotas to only include groups you are a member of ( #14271 )
...
* chore: fixup quotas to only include groups you are a member of
Before all everyone groups were included in the allowance.
* chore: add unit test to execercise the bug
* add unit test to add rows into the everyone group
2024-08-15 13:27:50 -05:00
Bruno Quaresma
f619500833
chore(site): reduce flakiness on terminal stories ( #14269 )
2024-08-15 11:30:17 -03:00
Kayla Washburn-Love
8563b372e8
feat: filter templates by organization ( #14254 )
2024-08-14 15:01:45 -06:00
Jon Ayers
4fc047954e
fix: avoid deleting peers on graceful close ( #14165 )
...
* fix: avoid deleting peers on graceful close
- Fixes an issue where a coordinator deletes all
its peers on shutdown. This can cause disconnects
whenever a coderd is redeployed.
2024-08-14 15:16:08 -04:00
Bruno Quaresma
6f1951e1c8
feat: add template delete notification ( #14250 )
2024-08-14 14:22:43 -03:00
Chris LaRose
86b9c97e8e
chore: update envbox template image ( #14256 )
2024-08-14 23:39:43 +10:00
Cian Johnston
e978d4d9ac
chore(examples): update devcontainer-docker template with envbuilder provider ( #14199 )
...
Updates the devcontainer-docker template with optional caching via the envbuilder provider
2024-08-14 10:32:53 +01:00
Danny Kopping
c90e6d7b47
chore: fix up migration number fixer ( #14266 )
2024-08-14 11:05:03 +02:00
Steven Masley
84fdfd2a18
chore: remove UpsertCustomRole in favor of Insert + Update ( #14217 )
...
* chore: remove UpsertCustomRole in favor of Insert + Update
---------
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com >
2024-08-13 12:53:47 -05:00
Bruno Quaresma
712a1b50d8
fix(site): correct user agent data on audit row ( #14243 )
2024-08-13 14:02:16 -03:00
Steven Masley
ccc664de37
chore: rename 'Deployment' button to 'Administration' ( #14240 )
...
* chore: rename 'Deployment' button to 'Administration'
Reword "Auditing" to a noun like the rest of the dropdowns
2024-08-13 11:21:02 -05:00
Bruno Quaresma
f1feb40e17
docs: clone git repositories ( #14090 )
2024-08-13 12:55:40 -03:00
Muhammad Atif Ali
48f29a1995
docs: move api and cli docs routes to reference/ ( #14241 )
2024-08-13 18:39:46 +03:00
Hugo Dutka
6f9b1a39f4
fix: allow group members to read group information ( #14200 )
...
* - allow group members to read basic Group info
- allow group members to see they are part of the group, but not see that information about other members
- add a GetGroupMembersCountByGroupID SQL query, which allows group members to see members count without revealing other information about the members
- add the group_members_expanded db view
- rewrite group member queries to use the group_members_expanded view
- add the RBAC ResourceGroupMember and add it to relevant roles
- rewrite GetGroupMembersByGroupID permission checks
- make the GroupMember type contain all user fields
- fix type issues coming from replacing User with GroupMember in group member queries
- add the MemberTotalCount field to codersdk.Group
- display `group.total_member_count` instead of `group.members.length` on the account page
2024-08-13 09:20:24 -05:00
Steven Masley
60218c4c78
chore: fix dead link to privledged docker containers in docs ( #14259 )
2024-08-13 09:01:20 -05:00
Benjamin Peinhardt
76722a7db5
fix: make default support links respect --docs-url ( #14176 )
...
make default support links respect --docs-url
2024-08-12 17:01:22 -04:00
Kayla Washburn-Love
4c7132f08b
chore: redirect to the correct template page routes ( #14230 )
2024-08-12 13:12:28 -06:00
Kayla Washburn-Love
59a80d70dc
feat: show organization information on templates page ( #14224 )
2024-08-12 09:15:13 -06:00
dependabot[bot]
9715ae5932
chore: bump github.com/ory/dockertest/v3 from 3.10.0 to 3.11.0 ( #14237 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 17:04:35 +03:00
Steven Masley
8af8c77e2a
test: add unit test to verify group permission behavior ( #14223 )
...
* test: add unit test to verify group permission behavior
* Update coderd/database/dbauthz/groupsauth_test.go
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2024-08-12 08:34:00 -05:00
dependabot[bot]
0338250d86
chore: bump github.com/charmbracelet/glamour from 0.7.0 to 0.8.0 ( #14238 )
...
* chore: bump github.com/charmbracelet/glamour from 0.7.0 to 0.8.0
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases )
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 08:46:09 -04:00
Ethan
73402fc2f7
fix: fix flaking Test_sshConfigExecEscape ( #14233 )
...
Fixes #13962 .
2024-08-12 18:56:34 +10:00
Asher
ba4186dacc
feat: show summary if unable to edit org ( #14214 )
...
This can happen if you can edit the members, for example, but not the
organization settings. In this case you will see a new summary page
instead of the edit form.
2024-08-09 13:31:03 -08:00
Jaayden Halko
0b9ed57c10
feat: add delete custom role context menu button and modal ( #14228 )
...
* feat: delete custom role
* fix: add doc comment
2024-08-09 16:59:44 -04:00
Bruno Quaresma
c648c548d8
refactor(site): make switches smaller ( #14226 )
2024-08-09 19:19:04 +00:00
Bruno Quaresma
21942afef3
feat(site): implement notification ui ( #14175 )
2024-08-09 13:43:09 -03:00
Steven Masley
aaa5174bef
chore: move custom-roles feature to permium license ( #14201 )
...
Currently an unsafe experiment, so it can be moved safely
2024-08-09 10:21:39 -05:00
Steven Masley
591385f2ca
chore: implement fuzzy name matching for templates ( #14211 )
...
* chore: add fuzzy name search for templates
* chore: implement fuzzy name matching for templates
Templates search query defaults to a fuzzy name match
2024-08-09 10:21:26 -05:00
Bruno Quaresma
27b8f201a4
refactor: refactor notification email template ( #14208 )
2024-08-09 11:25:19 -03:00
Asher
abbcffe181
fix: use multi-org settings layout even if not licensed ( #14215 )
...
* fix: only check flag for organization settings
I added checks against the license but actually what we want is for
these views to become the default even when not licensed (once the
experimental flag is removed).
* Move deployment settings header to components
This will let us use it in the org settings pages, for a consistent
look.
* Add premium badge
* Use settings header on org pages
* Add license badges to create org page
I am not sure if there is maybe a better place for this, but maybe this
is good enough.
* Change create org form description text
It says "change", but there is nothing to change yet since this is a new
organization.
* Consistently capitalize org menu items and headings
Also, remove the "organizations" prefix since it seems redundant.
2024-08-08 23:29:37 -08:00
Asher
9a47ea1279
chore: move back to single audit log page ( #14212 )
...
* chore: remove per-org audit links
For now at least, we will have the one audit page at /audit which lets
you filter by organization.
This also removes the need to do per-org audit permission checks.
* Filter audit org dropdown by auditable orgs
Previously all orgs you can list would appear, but you might not be
able to audit all of them.
2024-08-08 22:41:37 -08:00
Asher
6019d0ba96
fix: only show editable orgs on deployment page ( #14193 )
...
Also make sure the redirect from /organizations goes to an org that the
user can edit, rather than always the default org.
2024-08-08 22:18:20 -08:00
Benjamin Peinhardt
d6c4d47229
fix: add version information to default docs links ( #14205 )
...
add version information to default docs links
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-08-08 20:20:31 -05:00
Jaayden Halko
2e05329111
feat: add custom roles ( #14069 )
...
* feat: initial commit custom roles
* feat: add page to create and edit custom roles
* feat: add assign org role permission
* feat: wip
* feat: cleanup
* fix: role name is disabled when editing the role
* fix: assign role context menu falls back to name when no display_name
* feat: add helper text to let users know that role name is immutable
* fix: format
* feat: - hide custom roles tab if experiment is not enabled
* fix: use custom TableLoader
* fix: fix custom roles text
* fix: use PatchRoleRequest
* fix: use addIcon to create roles
* feat: add cancel and save buttons to top of page
* fix: use nameValidator for name
* chore: cleanup
* feat: add show all permissions checkbox
* fix: update sidebar for roles
* fix: fix format
* fix: custom roles is not needed outside orgs
* fix: fix sidebar stories
* feat: add custom roles page stories
* fix: use organization permissions
* feat: add stories for CreateEditRolePageView
* fix: design improvements for the create edit role form
* feat: add show all resources checkbox to bottom of table
* feat: improve spacing
2024-08-08 21:05:20 -04:00
Eric Paulsen
238e9956f4
docs: add vs code extensions documentation ( #14119 )
...
* docs: add vs code extensions documentation
* clarify msft marketplace connection
* `make fmt`
* fix links
* rm image
---------
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-08-08 10:52:46 -04:00
Danny Kopping
d79a7adf99
docs: advise against shared CODER_CACHE_DIRECTORY dir usage in note ( #14216 )
2024-08-08 12:42:47 +00:00
Ari Croock
f50e1d5a9a
fix(examples): use more precise example kubernetes template labels ( #14028 )
...
* fix: apply more specific selector labels to k8s example deployment template
* fix: use immutable ids instead of names for persistent resources in k8s example template as per docs
2024-08-08 11:17:18 +01:00
Steven Masley
2c13797350
chore: implement deleting custom roles ( #14101 )
...
* chore: implement deleting custom roles
* add trigger to delete role from organization members on delete
* chore: add comments to explain populated field
2024-08-07 12:37:55 -05:00
Kayla Washburn-Love
d0feb70811
fix: add template editor to /templates/:templateName route group ( #14206 )
2024-08-07 10:31:36 -06:00
Steven Masley
b55a7a8b78
chore: delete user codersdk to support status code regression ( #14173 )
...
* chore: delete user codersdk to support status code regression
* Update codersdk/users.go
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-08-07 11:19:31 -05:00
Mathias Fredriksson
8c0565177e
chore(agent): remove err=<nil> log for batch update metadata complete ( #14179 )
...
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2024-08-07 11:31:47 +00:00
Danny Kopping
c6076d2d0d
chore: improve notification template tests' resilience ( #14196 )
2024-08-07 11:33:26 +02:00
Ethan
e09ad1ddc1
fix: lock adding to tailnet waitgroup to avoid race (and fix flake) ( #14195 )
2024-08-07 15:52:42 +10:00
Stephen Kirby
46becc7201
updated version flags, release calendar ( #14191 )
2024-08-06 16:21:37 -05:00
Steven Masley
373b36c3c9
chore: update links to sharkymark's v2 templates ( #14192 )
...
* chore: update links to sharkymark's v2 templates
Links were broken with a refactor in the source repo.
2024-08-06 14:40:50 -05:00
Kayla Washburn-Love
3b53f5ab47
fix: only show valid organizations in CreateTemplateForm ( #14174 )
2024-08-06 12:10:44 -06:00
Kayla Washburn-Love
ff785588fe
chore: don't require an organization to read starter templates ( #14190 )
2024-08-06 11:26:26 -06:00
Garrett Delfosse
fab196043e
fix: allow tag removal in provisioner upsert ( #14187 )
2024-08-06 11:38:55 -04:00
Mathias Fredriksson
49feb12a7f
chore(scripts): remove branch checks from release script ( #14184 )
...
The initial assumption that branch manipulations should be done by this
script and not pushed to remote manually has proven to get in the way of
the regular release flow.
These are just safety-checks to prevent user error, safe to remove.
Fixes #13648
2024-08-06 14:54:26 +00:00
Colin Adler
89e6afbc5e
chore: update github.com/docker/docker ( #14183 )
...
This resolves a critical CVE that Coder is not affected by.
2024-08-06 10:50:09 -04:00
Danny Kopping
58428aafce
fix: allow all users to read system notification templates ( #14181 )
2024-08-06 15:37:49 +02:00
Spike Curtis
70a694ed4c
fix: document files API needs ustar format ( #14152 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2024-08-06 11:00:49 +04:00
Asher
097f739492
feat: add organization-scoped permission checks to deployment settings ( #14063 )
...
* s/readAllUsers/viewAllUsers
Other frontend variables use the `view` syntax. Arguably we should
use `read` to match the backend, but `view` does seem more UI-like.
* Check license for organizations
All the checks now require both the experiment and license.
I also renamed the variable canViewOrganizations everywhere for
consistency.
* Allow any auditor to view the audit log
* Use fine-grained permissions on settings page
Since in addition to deployment settings this page now also includes
users, audit logs, groups, and orgs.
Since you might not be able to fetch deployment values, move all the
loaders to the individual pages instead of in the wrapping layout.
* Add stories for organization members page
Needed to break it out into a separate view to do this.
* Add stories for multi-org sidebar
* Remove multi-org check from management settings layout
We only use this layout when multi-org is enabled, so no need to run the
check a second time.
* Add more stories for deployment dropdown
2024-08-05 17:55:35 -08:00
Steven Masley
0ad5f6067d
chore: prevent removing members from the default organization ( #14094 )
...
* chore: prevent removing members from the default organization
Until multi-organizations is released outside an experiment, the
experiment should be backwards compatible.
2024-08-05 13:48:10 -05:00
Steven Masley
173dc0e35f
chore: refactor patch custom organization route to live in enterprise ( #14099 )
...
* chore: refactor patch custom organization route to live in enterprise
2024-08-05 13:42:11 -05:00
Steven Masley
a77a9ab0a6
chore: skip audit log filter for owner/admin users ( #14132 )
...
* chore: audit log filter to be skipped if user is owner/admin
Optimize for speed in the case the user can read all audit_logs
* fixup! chore: audit log filter to be skipped if user is owner/admin
2024-08-05 13:42:01 -05:00
Jon Ayers
203f48af56
fix: extend locking in wsproxy to avoid race (and fix flake) ( #14167 )
2024-08-05 14:30:44 -04:00
Steven Masley
b80d99550a
chore: revert status code change for delete users endpoint ( #14168 )
...
Revert from https://github.com/coder/coder/pull/13870
2024-08-05 13:10:56 -05:00
Jon Ayers
4e0cb60eeb
fix: ignore errors on provided logger ( #14169 )
2024-08-05 17:22:34 +00:00
Kayla Washburn-Love
dfeafa8f5a
feat: show a warning when an organization has no provisioners ( #14136 )
2024-08-05 10:44:39 -06:00
Kayla Washburn-Love
efbd6257e4
chore: remove global organization id state ( #14135 )
2024-08-05 10:33:58 -06:00
Jon Ayers
f9b660e573
fix: ignore coderd log errors ( #14166 )
...
- This is the source of a lot of our flakes recently.
2024-08-05 12:07:06 -04:00
dependabot[bot]
fce14fb9ad
chore: bump github.com/hashicorp/hc-install from 0.7.0 to 0.8.0 ( #14145 )
...
* chore: bump github.com/hashicorp/hc-install from 0.7.0 to 0.8.0
Bumps [github.com/hashicorp/hc-install](https://github.com/hashicorp/hc-install ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/hashicorp/hc-install/releases )
- [Commits](https://github.com/hashicorp/hc-install/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/hc-install
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 15:39:25 +00:00
dependabot[bot]
33beb9bd70
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.64.0 to 1.66.0 ( #14041 )
...
* chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.64.0 to 1.66.0
Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.64.0 to 1.66.0.
---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 15:26:55 +00:00
dependabot[bot]
96642382b3
chore: bump github.com/chromedp/chromedp from 0.9.2 to 0.10.0 ( #14146 )
...
* chore: bump github.com/chromedp/chromedp from 0.9.2 to 0.10.0
Bumps [github.com/chromedp/chromedp](https://github.com/chromedp/chromedp ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/chromedp/chromedp/releases )
- [Commits](https://github.com/chromedp/chromedp/compare/v0.9.2...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/chromedp/chromedp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 18:14:49 +03:00
dependabot[bot]
25c83cf0b1
chore: bump archiver from 6.0.0 to 6.0.2 in /offlinedocs ( #14162 )
...
Bumps [archiver](https://github.com/archiverjs/node-archiver ) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/archiverjs/node-archiver/releases )
- [Changelog](https://github.com/archiverjs/node-archiver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/archiverjs/node-archiver/compare/6.0.0...6.0.2 )
---
updated-dependencies:
- dependency-name: archiver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 18:13:03 +03:00
Bruno Quaresma
e398309a8f
chore: allow minor and patch updates for npm deps ( #14155 )
2024-08-05 11:52:39 -03:00
Danny Kopping
e164b1e71c
feat: add notification preferences database & audit support ( #14100 )
2024-08-05 16:18:45 +02:00
Cian Johnston
49a2880abc
fix(testutil): ensure GetRandomName never returns strings greater tha… ( #14153 )
2024-08-05 15:03:07 +01:00
dependabot[bot]
8acc7f2070
ci: bump crate-ci/typos in the github-actions group ( #14149 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `crate-ci/typos` from 1.23.5 to 1.23.6
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.23.5...v1.23.6 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 15:27:55 +03:00
dependabot[bot]
42336eef4a
chore: bump github.com/gohugoio/hugo from 0.129.0 to 0.131.0 ( #14147 )
...
* chore: bump github.com/gohugoio/hugo from 0.129.0 to 0.131.0
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.129.0 to 0.131.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.129.0...v0.131.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 14:57:30 +03:00
Spike Curtis
dda9c56098
fix: fix TestTailnet/Connect to wait for listener before dialing ( #14148 )
2024-08-05 15:45:46 +04:00
dependabot[bot]
e0351124b2
chore: bump the x group with 4 updates ( #14144 )
...
* chore: bump the x group with 4 updates
Bumps the x group with 4 updates: [golang.org/x/mod](https://github.com/golang/mod ), [golang.org/x/oauth2](https://github.com/golang/oauth2 ), [golang.org/x/sync](https://github.com/golang/sync ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `golang.org/x/mod` from 0.19.0 to 0.20.0
- [Commits](https://github.com/golang/mod/compare/v0.19.0...v0.20.0 )
Updates `golang.org/x/oauth2` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.22.0 )
Updates `golang.org/x/sync` from 0.7.0 to 0.8.0
- [Commits](https://github.com/golang/sync/compare/v0.7.0...v0.8.0 )
Updates `golang.org/x/sys` from 0.22.0 to 0.23.0
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 14:26:08 +03:00
Bruno Quaresma
ae40f8a82e
chore(site): fix storybook font issue ( #14137 )
2024-08-02 20:08:32 -03:00
Bruno Quaresma
a3c45861bf
chore: upgrade nodejs tooling ( #14134 )
2024-08-02 19:56:12 -03:00
Bruno Quaresma
500a789e05
chore(site): remove proxy menu warnings about using fragment as child ( #14121 )
2024-08-02 18:52:47 -03:00
Jon Ayers
f3ff172979
chore: remove dependency license review ( #14131 )
...
- It's bafflingly buggy and is a source of annoyance for virtually the
whole team.
- Will revisit if we don't have alternatives to catching invalid licenses.
2024-08-02 14:14:14 -04:00
Stephen Kirby
98202b309e
version bumps ( #14128 )
2024-08-02 12:34:50 -05:00
Kayla Washburn-Love
166467caf0
fix: don't require organization_id in body when updating a custom role ( #14102 )
2024-08-02 11:25:00 -06:00
Kyle Carberry
e2cec454bc
fix: check for io.EOF error in derpmap to resolve flake ( #14125 )
...
See: https://github.com/coder/coder/actions/runs/10218717887/job/28275465405?pr=14045
2024-08-02 17:08:47 +00:00
Kyle Carberry
6e36082b0f
chore: add github.com user id association ( #14045 )
...
* chore: add github.com user id association
This will eventually be used to show an indicator in the UI
to star the repository if you've been using Coder for a while
and have not starred the repo.
If you have, we'll never show a thing!
* gen
* Fix model query
* Fix linting
* Ignore auditing github.com user id
* Add test
* Fix gh url var name
* Update migration
* Update coderd/database/dbauthz/dbauthz.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* Fix updating to when the token changes
* Fix migration
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2024-08-02 12:49:36 -04:00
Bruno Quaresma
4d4d27c509
chore(site): allow pnpm packages license ( #14122 )
2024-08-02 13:02:22 -03:00
Marcin Tojek
6428a766a9
feat: notify when a user account is deleted ( #14113 )
2024-08-02 14:56:54 +02:00
Marcin Tojek
4242fd9c1b
fix: wrong notification group ( #14112 )
2024-08-02 10:00:27 +00:00
Muhammad Atif Ali
7619d1c49a
chore: skip dogfood workflow for dependabot PRs ( #14111 )
2024-08-02 09:32:35 +00:00
Marcin Tojek
76ce460cc4
fix: typo in notification template ( #14108 )
2024-08-02 11:03:11 +02:00
dependabot[bot]
83963b9e61
chore: bump github.com/moby/moby from 26.1.0+incompatible to 27.1.1+incompatible ( #14042 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 10:24:45 +03:00
dependabot[bot]
1d9162dc2f
chore: bump google.golang.org/api from 0.188.0 to 0.190.0 ( #14107 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 09:53:57 +03:00
Muhammad Atif Ali
894020db6a
chore: skip dogfood workflow for dependabot PRs ( #14106 )
2024-08-02 09:39:57 +03:00
dependabot[bot]
78f1cdaebe
chore: bump github.com/fergusstrange/embedded-postgres from 1.27.0 to 1.28.0 ( #14043 )
...
* chore: bump github.com/fergusstrange/embedded-postgres
Bumps [github.com/fergusstrange/embedded-postgres](https://github.com/fergusstrange/embedded-postgres ) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/fergusstrange/embedded-postgres/releases )
- [Commits](https://github.com/fergusstrange/embedded-postgres/compare/v1.27.0...v1.28.0 )
---
updated-dependencies:
- dependency-name: github.com/fergusstrange/embedded-postgres
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 09:28:34 +03:00
Kayla Washburn-Love
7125b37545
feat(site): allow selecting an organization when creating a template ( #14061 )
2024-08-01 18:04:21 -06:00
Steven Masley
a27ac30e11
chore: add sql filter to fetching audit logs ( #14070 )
...
* chore: add sql filter to fetching audit logs
* use sqlc.embed for audit logs
* fix sql query matcher
2024-08-01 12:07:19 -05:00
dependabot[bot]
d23670ad53
chore: bump github.com/open-policy-agent/opa from 0.58.0 to 0.67.0 ( #14040 )
...
* chore: bump github.com/open-policy-agent/opa from 0.58.0 to 0.67.0
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa ) from 0.58.0 to 0.67.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases )
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.58.0...v0.67.0 )
---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-08-01 19:41:44 +03:00
Alex Ivanov
6d3f7fb2a2
chore: update meticulous CI job ( #14073 )
2024-08-01 12:26:44 -04:00
Muhammad Atif Ali
b0eaf4ca94
chore: commit update-flake as @dependabot ( #14091 )
...
Thıs is needed to bypass the dependency check job for dependabot PRs.
https://github.com/coder/coder/blob/1289937eaeac63f27f2856a4374a0fedc5cc0e58/.github/workflows/ci.yaml#L973
The username and email are fetched from a previous dependabot commit.
https://github.com/coder/coder/commit/1289937eaeac63f27f2856a4374a0fedc5cc0e58.patch
2024-08-01 19:24:51 +03:00
dependabot[bot]
a88e1cc5f8
chore: bump github.com/go-chi/httprate from 0.9.0 to 0.12.0 ( #14039 )
...
* chore: bump github.com/go-chi/httprate from 0.9.0 to 0.12.0
Bumps [github.com/go-chi/httprate](https://github.com/go-chi/httprate ) from 0.9.0 to 0.12.0.
- [Release notes](https://github.com/go-chi/httprate/releases )
- [Commits](https://github.com/go-chi/httprate/compare/v0.9.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-08-01 19:22:23 +03:00
dependabot[bot]
1289937eae
chore: bump alpine from 3.20.1 to 3.20.2 in /scripts ( #14037 )
...
Bumps alpine from 3.20.1 to 3.20.2.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 18:57:37 +03:00
Ethan
956d0cb042
fix: block creating oidc users when oidc has not been configured ( #14064 )
2024-08-01 13:30:10 +10:00
Muhammad Atif Ali
7a4737cf76
ci: handle retriggering ci and human authors in update-flake ( #14052 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-07-31 16:12:40 +00:00
Kyle Carberry
5d42f4aa7b
fix: run update-flake with PAT to allow workflow runs ( #14067 )
...
See the comment in the code.
2024-07-31 11:43:43 -04:00
Danny Kopping
c3390993dd
chore: update generated files after pnpm upgrade ( #14036 )
2024-07-31 17:23:55 +02:00
Kayla Washburn-Love
bf4b7abf14
chore(coderd): allow creating workspaces without specifying an organization ( #14048 )
2024-07-30 10:44:02 -06:00
Kayla Washburn-Love
56dfc64bb0
fix: don't highlight inactive org in management settings sidebar ( #14059 )
2024-07-30 09:33:22 -06:00
Marcin Tojek
cf1fcab514
feat: notify about created user account ( #14010 )
2024-07-30 15:37:45 +02:00
Cian Johnston
c6fb779c50
chore(scaletest): update dashboard ( #14054 )
2024-07-30 10:47:13 +01:00
dependabot[bot]
c88ea26d7c
ci: bump crate-ci/typos from 1.23.2 to 1.23.5 in the github-actions group ( #14038 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `crate-ci/typos` from 1.23.2 to 1.23.5
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.23.2...v1.23.5 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 11:07:30 +03:00
Kyle Carberry
893169c83b
fix: duplicate tags map in mutation to resolve race ( #14047 )
...
* fix: duplicate tags map in mutation to resolve race
See: https://github.com/coder/coder/actions/runs/10149619748/job/28064952716?pr=14046
* Fix deployment values race
2024-07-30 07:37:13 +00:00
Steven Masley
3209c863b8
chore: authz 'any_org' to return if at least 1 org has perms ( #14009 )
...
* chore: authz 'any_org' to return if at least 1 org has perms
Allows checking if a user can do an action in any organization,
rather than a specific one. Allows asking general questions on the
UI to determine which elements to show.
* more strict, add comments to policy
* add unit tests and extend to /authcheck api
* make field optional
2024-07-29 19:58:48 -05:00
Kyle Carberry
b7102b39af
chore: add script to update flake automatically ( #14046 )
2024-07-29 14:29:22 -04:00
Bruno Quaresma
58b810fb0a
fix: fix dormancy notifications ( #14029 )
2024-07-29 11:20:04 -03:00
dependabot[bot]
22143d3e80
chore: bump github.com/gohugoio/hugo from 0.128.2 to 0.129.0 ( #13966 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.128.2 to 0.129.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.128.2...v0.129.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-27 13:49:05 +00:00
dependabot[bot]
f88a48df26
chore: bump github.com/zclconf/go-cty from 1.14.4 to 1.15.0 ( #13967 )
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.14.4 to 1.15.0.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.14.4...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-27 16:43:54 +03:00
Asher
712662d014
chore: embed audit log in deployment settings page ( #14023 )
...
* Move audit page to /deployment/audit
The existing link remains but will redirect to the new URL.
If multi-org is not enabled, nothing changes.
* Redirect organization audit page to site-wide audit page
* Always wrap audit log filters when in deployment settings
Otherwise the input is teeny tiny and barely fits a few characters.
Normally we only wrap when the screen shrinks. Again, no change
if multi-org is not enabled.
This also makes the filter menus take up available space when
wrapping (*does* apply to non-multi-org setups as well).
* Show audit log details in a tooltip
If multi-org is not enabled, details continue to be shown inline.
2024-07-26 14:12:24 -08:00
Charlie Voiselle
eacdfb9f9c
fix: change time format string from 15:40 to 15:04 ( #14033 )
...
* Change string format to constant value
2024-07-26 17:57:47 -04:00
Asher
d8ddce8628
chore: use latest code-server in examples ( #14030 )
...
Instead, leave a comment describing how to pin the version. This negates
the need to continually update the version in the examples.
2024-07-26 21:53:17 +00:00
Kayla Washburn-Love
d68340b125
feat: manage groups from deployment settings for single-org deployments ( #14016 )
2024-07-26 13:10:13 -06:00
Cian Johnston
68fa34feae
ci: remove ci make concurrency to fix docker image race ( #14027 )
...
This PR removes the `-j` argument to `make` when building and pushing Docker images on merge to main.
Seen here: https://github.com/coder/coder/actions/runs/10108431095/job/27954323032#step:9:119
We ran into this previously in #13769 for the release workflow, but neglected to apply the same change to the CI workflow.
2024-07-26 10:53:18 +01:00
Cian Johnston
37a859f071
chore(testutil): add testutil.GetRandomName that does not return duplicates ( #14020 )
...
Fixes #13910
Adds testutil.GetRandomName that replaces namesgenerator.GetRandomName but instead appends a monotonically increasing integer instead of a number between 1 and 10.
2024-07-26 09:44:34 +01:00
Steven Masley
96011e1b29
fix: handle legacy licenses missing feature_set field ( #14025 )
...
* fix: legacy licenses missing feature_set field
2024-07-25 22:43:08 -05:00
Raul Salamanca
5b35f65305
docs: add proxmox coder template in list of community templates ( #14022 )
2024-07-26 06:05:49 +03:00
Michael Brewer
ce6ee9c6c6
feat(site): add jetbrains fleet icon ( #14021 )
2024-07-26 06:05:08 +03:00
Garrett Delfosse
6c2336b8e9
chore: shorten provisioner key ( #14017 )
2024-07-25 16:08:12 -05:00
Steven Masley
7ea1a4c686
chore: protect organization endpoints with license ( #14001 )
...
* chore: move multi-org endpoints into enterprise directory
All multi-organization features are gated behind "premium" licenses. Enterprise licenses can no longer
access organization CRUD.
2024-07-25 16:07:53 -05:00
Steven Masley
915f69080a
chore: fix csrf error message on empty session header ( #14018 )
...
* chore: fix csrf error message on empty session header
A more detailed error message was added to catch mismatched
session tokens. This error was mistakenly applying to all CSRF
failures.
2024-07-25 15:58:23 -05:00
Garrett Delfosse
2279441517
feat: add --key flag to provisionerd start ( #14002 )
2024-07-25 15:26:26 -04:00
Steven Masley
c082868f55
chore: indicate premium vs enterprise on license page ( #14008 )
...
* chore: indicate premium vs enterprise on license page
Premium licenses should say "premium" instead of "enterprise"
2024-07-25 14:04:32 -05:00
Michael Smith
9f3c1c7367
fix: resolve text overflow issues for workspace empty state ( #14015 )
2024-07-25 18:19:57 +00:00
Kira Pilot
4eb67ad98a
Revert "feat: implement multi-org template gallery ( #13784 )" ( #14013 )
...
This reverts commit 554c4ab1eb .
2024-07-25 13:09:04 -04:00
Kayla Washburn-Love
615bb94ec4
feat(site): embed users page in management settings ( #14006 )
2024-07-25 10:50:07 -06:00
Garrett Delfosse
6161d173d3
feat: add tags to provisioner keys api ( #13989 )
2024-07-25 15:20:45 +00:00
Garrett Delfosse
ca83017dc1
feat: accept provisioner keys for provisioner auth ( #13972 )
2024-07-25 10:22:55 -04:00
Marcin Tojek
d488853393
fix: notifications: use username in workspace URLs ( #14011 )
2024-07-25 12:02:24 +02:00
Muhammad Atif Ali
88bc491778
chore: add stable version info to repository-dispatch event ( #13997 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-07-25 11:03:01 +03:00
Asher
e8b3db8c7a
feat: add organizations filter to audit table ( #13978 )
...
* Ignore organization ID in member and role audit logs
Since the organization will never change in any resources,
and the org is already on the top-level of the response.
* Add organization details and filter to audit table
These only display if the multi-org experiment is enabled.
This also includes a modification to customize the width
of the filters since with four things get a bit squishy.
* Add more audit mocks
To test different org names and no org.
2024-07-24 14:28:23 -08:00
Steven Masley
4f01372179
feat: implement disabling oidc issuer checks ( #13991 )
...
* use DANGEROUS prefix and drop a warning log
2024-07-24 16:45:47 -05:00
Muhammad Atif Ali
652827f0e8
docs: add preview image to release schedule ( #13948 )
2024-07-24 23:20:52 +03:00
Kayla Washburn-Love
38b573857b
feat(site): edit organization member roles ( #13977 )
2024-07-24 11:36:45 -06:00
Steven Masley
15fda232b7
feat: implement premium vs enterprise licenses ( #13907 )
...
* feat: implement premium vs enterprise licenses
Implement different sets of licensed features.
2024-07-24 12:07:59 -05:00
Bruno Quaresma
0d9615b4fd
feat(coderd): notify when workspace is marked as dormant ( #13868 )
2024-07-24 13:38:21 -03:00
Garrett Delfosse
ccb5b4df80
chore: move provisioner keys commands into slim build ( #13993 )
2024-07-24 11:30:50 -04:00
Marcin Tojek
b3a3671c6a
fix: use static port number for prometheus test ( #14000 )
2024-07-24 12:54:36 +00:00
Marcin Tojek
dac14fe581
test: skip TestProvisionerDaemon_PrometheusEnabled ( #13996 )
2024-07-24 09:28:53 +02:00
Ethan
7028ff79c3
feat(codersdk): export template variable parser ( #13984 )
2024-07-24 14:11:29 +10:00
Stephen Kirby
177c7d3c68
updated version for patches 2.12.5 and 2.13.2 ( #13995 )
2024-07-23 15:36:14 -05:00
Kayla Washburn-Love
0d453437de
fix(site): select default organization on /organizations page ( #13992 )
2024-07-23 12:35:38 -06:00
Steven Masley
a61c09e4dc
fix: use correct group url in multi-org experiment ( #13986 )
...
* fix: use correct group url in multi-org experiment
When not using the experiment, default to the "default" org.
Assuming groups are all in the primary org
---------
Co-authored-by: McKayla Washburn <mckayla@hey.com >
2024-07-23 13:17:21 -05:00
Jon Ayers
3a614f1602
fix: random typos in offline docs documentation ( #13979 )
2024-07-23 11:48:58 -05:00
Steven Masley
ecc356f5a9
chore: generate rbac resource types to typescript ( #13975 )
...
* chore: generate rbac resource types to typescript
The existing typesGenerated.ts cannot support this as the generator
only inspects the types, not the values. So traversing the value AST
would have to be added. The rbac gen is already used for the sdk,
this extends it to the typescript
2024-07-23 10:07:52 -05:00
Danny Kopping
b817c863ef
fix: webhook endpoint YAML attribute ( #13983 )
...
Signed-off-by: Danny Kopping <danny@coder.com >
2024-07-23 14:59:27 +00:00
Garrett Delfosse
0a07c7e554
feat: get org scoped provisioners ( #13953 )
2024-07-23 14:56:46 +00:00
Danny Kopping
695afb80e6
fix: address TestPendingUpdatesMetric flake
2024-07-23 14:39:57 +00:00
Marcin Tojek
966c888e9d
fix: test: no parallel when starting Prometheus endpoint ( #13981 )
...
* fix: test: no parallel when starting Prometheus endpoint
* fix
2024-07-23 11:31:27 +01:00
Mathias Fredriksson
5a4dbcfc02
chore(scripts): fix cherry-pick check in check_commit_metadata.sh ( #13980 )
2024-07-23 06:49:29 +00:00
Asher
a8e6e89f65
feat: add organization details to audit log response ( #13961 )
...
* Allow creating test audits with nil org
Not all audit entries have organization IDs, so this will allow us to
test those cases.
* Add organization details to audit log queries
* Add organization to audit log response
This replaces the old ID. This is a breaking change but organizations
were not being used before.
2024-07-22 13:28:44 -08:00
Dean Sheather
38c7dcda94
fix: avoid vscodessh exit when server restarts ( #13970 )
...
Mitigates an issue where vscodessh would restart when the control plane
restarts, causing the entire SSH session to be reestablished.
2024-07-22 17:19:44 +00:00
Dean Sheather
d2b035312e
chore: fix parse typo for network telemetry ( #13971 )
2024-07-22 17:14:37 +00:00
Kayla Washburn-Love
0a71c34d46
feat: create and modify organization groups ( #13887 )
2024-07-22 09:47:14 -06:00
Steven Masley
dd99457a04
chore: although unfortunate, it is possible for a user to be in no orgs ( #13956 )
2024-07-22 10:39:50 -05:00
Cian Johnston
005254d64a
chore(examples): update sample devcontainer templates ( #13796 )
...
Updates docker and kubernetes devcontainer templates
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-07-22 14:10:02 +01:00
Stephen Kirby
3c2c5ab7fc
chore(docs): add missing author to support bundle guide ( #13918 )
...
* fixed missing author
* make fmt
Signed-off-by: Cian Johnston <cian@coder.com >
---------
Signed-off-by: Cian Johnston <cian@coder.com >
Co-authored-by: Cian Johnston <cian@coder.com >
2024-07-22 09:09:31 +01:00
Nano
40b70dbdb0
docs: update caddy config example & guide ( #13964 )
2024-07-22 10:47:41 +03:00
Muhammad Atif Ali
88d2dbd994
docs: replace coder_git_auth with coder_external_auth ( #13936 )
2024-07-20 07:43:09 +03:00
Steven Masley
03c5d42233
chore: keep active users active in scim ( #13955 )
...
* chore: scim should keep active users active
* chore: add a unit test to excercise dormancy bug
* audit log should not be dropped when there is no change
* add ability to cancel audit log
2024-07-19 16:30:02 -05:00
Steven Masley
49d6d0f41b
chore: add built in organization roles to match site ( #13938 )
...
* chore: add built in organization roles to match site
Added org user admin, org template admin, and org auditor
2024-07-19 15:44:18 -05:00
Muhammad Atif Ali
8beb0b131f
chore: update flake.nix to handle aarch64 linux ( #13930 )
2024-07-19 22:15:50 +03:00
Stephen Kirby
bac9b38e05
autoversion 2.12.4 and 2.13.1 ( #13951 )
2024-07-19 13:26:13 -05:00
Alex Ivanov
dba23872eb
chore: only add Meticulous recorder when running in dev mode ( #13950 )
2024-07-19 12:47:38 -05:00
Jaayden Halko
554c4ab1eb
feat: implement multi-org template gallery ( #13784 )
...
* feat: initial changes for multi-org templates page
* feat: add TemplateCard component
* feat: add component stories
* chore: update template query naming
* fix: fix formatting
* feat: template card interaction and navigation
* fix: copy updates
* chore: update TemplateFilter type to include FilterQuery
* chore: update typesGenerated.ts
* feat: update template filter api logic
* fix: fix format
* fix: get activeOrg
* fix: add format annotation
* chore: use organization display name
* feat: client side org filtering
* fix: use org display name
* fix: add ExactName
* feat: show orgs filter only if more than 1 org
* chore: updates for PR review
* fix: fix format
* chore: add story for multi org
* fix: aggregate templates by organization id
* fix: fix format
* fix: check org count
* fix: update ExactName type
2024-07-19 10:33:08 -04:00
Marcin Tojek
40609c26e9
fix: test: do not block Prometheus port ( #13945 )
2024-07-19 16:29:10 +02:00
Danny Kopping
c88e4162d8
fix: TestPendingUpdatesMetric flake ( #13944 )
...
Signed-off-by: Danny Kopping <danny@coder.com >
2024-07-19 12:54:15 +02:00
Danny Kopping
492ab1cc7e
chore: add webhook tests for notification subsystem ( #13942 )
2024-07-19 12:03:29 +02:00
Danny Kopping
943ea7c52a
feat: add SMTP auth & TLS support ( #13902 )
2024-07-19 09:22:15 +02:00
Jon Ayers
8d4bccc612
feat: add meticulous recorder ( #13886 )
2024-07-18 20:15:07 -05:00
Kayla Washburn-Love
4dcbd7179f
fix: hardcode default organization id in DashboardProvider ( #13940 )
2024-07-18 16:55:38 -06:00
Steven Masley
aa6e6e3d58
chore: implement fetch all organizations endpoint ( #13941 )
...
* chore: implement fetch all organizations endpoint
* update ui to use list all orgs
2024-07-18 17:28:36 -05:00
Garrett Delfosse
6f20a64f9d
chore: add multi-org flag to develop.sh ( #13923 )
2024-07-18 14:43:07 -05:00
Garrett Delfosse
f975701b34
feat: add provisioner key cli commands ( #13875 )
2024-07-18 14:44:20 -04:00
Marcin Tojek
91cbe679c0
chore: move notiffake to testutil ( #13933 )
2024-07-18 13:36:02 +00:00
Marcin Tojek
fbd1d7f9a7
feat: notify on successful autoupdate ( #13903 )
2024-07-18 15:19:12 +02:00
Steven Masley
44924cd8d8
chore: add updated_at to codersdk users ( #13928 )
...
* chore: add updated_at to codersdk users
2024-07-17 17:59:42 -05:00
Kyle Carberry
3e1fae7d3d
chore: add Star the Repo to support links ( #13924 )
2024-07-17 15:39:03 -04:00
Kayla Washburn-Love
80cbffe843
chore: remove organizationIds from AuthProvider ( #13917 )
2024-07-17 09:53:40 -06:00
Spike Curtis
f21f2dce57
fix: fix heartbeat select to prevent leak ( #13909 )
...
fixes #13816
2024-07-16 23:38:07 +04:00
Spike Curtis
70c5c47efd
fix: stop blocking fake Agent API channel writes after context expires ( #13908 )
2024-07-16 23:22:13 +04:00
Spike Curtis
1f24aceea2
fix: change audit descriptions to indicate unsuccessful attempts ( #13897 )
2024-07-16 22:47:32 +04:00
Kayla Washburn-Love
a3f40d5ef8
feat: add members settings page for organizations ( #13817 )
2024-07-16 12:25:36 -06:00
Garrett Delfosse
b697c6939a
chore: add provisioner key crud apis ( #13857 )
2024-07-16 13:27:12 -04:00
Marcin Tojek
a5e4bf38fe
feat: notify owner about failed autobuild ( #13891 )
2024-07-16 10:48:17 +02:00
Cian Johnston
36454aa81b
fix(dogfood/Dockerfile): create /etc/suoders.d/nopasswd instead of COPY ( #13900 )
2024-07-15 23:19:23 +01:00
Muhammad Atif Ali
ab59460e2c
chore: bump terraform to v1.9.2 ( #13899 )
2024-07-15 21:25:42 +00:00
Cian Johnston
17626b8dd1
Revert "fix(dogfood/Dockerfile): change ownership of /etc/sudoers.d to root ( #13793 )" ( #13898 )
...
This reverts commit da8911426b .
2024-07-15 21:08:48 +00:00
Colin Adler
7a34a70cb8
chore: upgrade terraform to 1.9.2 ( #13895 )
2024-07-15 13:27:08 -05:00
dependabot[bot]
d6e2801478
chore: bump github.com/adrg/xdg from 0.4.0 to 0.5.0 ( #13892 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 19:26:25 +03:00
dependabot[bot]
0a73ae1036
chore: bump google.golang.org/api from 0.187.0 to 0.188.0 ( #13894 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 19:25:57 +03:00
dependabot[bot]
6058bcdad8
chore: bump cloud.google.com/go/compute/metadata from 0.4.0 to 0.5.0 ( #13893 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 18:51:55 +03:00
dependabot[bot]
bece042fa8
chore: bump @testing-library/jest-dom from 6.1.2 to 6.4.6 in /site ( #13732 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.1.2 to 6.4.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.2...v6.4.6 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 09:41:57 -06:00
dependabot[bot]
aaf295badf
ci: bump the github-actions group with 2 updates ( #13890 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 15:56:12 +03:00
dependabot[bot]
b00f746cac
chore: bump monaco-editor from 0.44.0 to 0.50.0 in /site ( #13835 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-07-14 15:48:29 +03:00
Steven Masley
9cbe2b27e7
chore: create workspaces and templates for multiple orgs ( #13866 )
...
* chore: creating workspaces and templates to work with orgs
* handle wrong org selected
* create org member in coderdtest helper
2024-07-12 15:47:28 -05:00
Steven Masley
e4aef272fa
chore: add example prompt command for multiple prompt bug ( #13885 )
...
Prompt message is not erased after the prompt ends
2024-07-12 11:59:13 -05:00
Steven Masley
c6b7588933
chore: add organization id to provisioner sdk type ( #13883 )
...
* chore: add organization id to provisioner sdk type
2024-07-12 10:56:34 -05:00
Danny Kopping
1691768fb9
chore: use store enqueuer with external provisioners ( #13881 )
2024-07-12 13:51:13 +02:00
Kayla Washburn-Love
de2585b0b6
chore: use rw.WriteHeader to write responses without bodies ( #13870 )
2024-07-11 13:38:33 -06:00
Mathias Fredriksson
fd10ea1dcc
chore(scripts): add script to update list of experiments after release ( #13872 )
...
Fixes #13119
2024-07-11 21:45:50 +03:00
Steven Masley
687d9538de
chore: provisioner acquirer to respect organization ID of jobs ( #13874 )
...
* test: add unit test to verify creation of templates in multiple orgs
* chore: provisioner acquirer to respect organization ID of jobs
Prior to this the wrong provisioner was awakened on any new job
posting.
* add comment and stricter check
2024-07-11 11:26:47 -05:00
Marcin Tojek
bee913ac45
feat(cli): pause notifications ( #13873 )
2024-07-11 15:22:20 +02:00
Ethan
f36b816391
chore: add coder version to network telemetry events ( #13871 )
2024-07-11 20:46:37 +10:00
Danny Kopping
b2dab3308d
feat: implement observability of notifications subsystem ( #13799 )
2024-07-11 10:57:49 +02:00
Colin Adler
a6d66cc7ec
chore: ensure correct version of golangci-lint is run in ci ( #13869 )
2024-07-10 14:50:38 -05:00
Eric Paulsen
90a6025e18
fix-sa-docs ( #13724 )
2024-07-10 18:40:45 +00:00
Muhammad Atif Ali
0787de88a9
chore: update documentation links to the new format ( #13797 )
2024-07-10 21:31:37 +03:00
Eric Paulsen
2a297b073a
docs: fix vs code web module reference ( #13785 )
2024-07-10 21:29:40 +03:00
Colin Adler
2238593f57
chore: update pnpm to v9 ( #13843 )
...
* chore: update pnpm to v9
* pin golangci-lint and shfmt
2024-07-10 13:13:19 -05:00
Steven Masley
a588ec5b21
chore: assign user to multiple orgs in coderdtest user create ( #13867 )
...
* chore: coderdtest assign user to multiple orgs on create
2024-07-10 12:38:48 -05:00
Steven Masley
7bb3e0db4a
chore: return organization's display name and icon in templates ( #13858 )
...
* chore: templates return organization display name and icon
* templates api response includes organization display name and icon
2024-07-10 10:06:49 -05:00
Marcin Tojek
bf392ffea4
feat: add killswitch for notifications ( #13794 )
2024-07-10 16:15:06 +02:00
Danny Kopping
542fff7df0
chore: improve notifications tests ( #13863 )
2024-07-10 15:25:23 +02:00
Mathias Fredriksson
c8484b4fc8
fix(cli): follow logs only when agent is starting ( #13864 )
2024-07-10 15:39:43 +03:00
Marcin Tojek
70046ea08d
fix: missing nolint comment ( #13862 )
2024-07-10 09:55:30 +00:00
Ethan
e8db21c89e
chore: add additional network telemetry stats & events ( #13800 )
2024-07-10 14:14:35 +10:00
dependabot[bot]
38035da846
chore: bump github.com/google/nftables ( #13859 )
2024-07-09 19:02:16 -04:00
Jon Ayers
464e7979c4
docs: remove mention of built-in remote desktop on the roadmap ( #13459 )
2024-07-09 16:29:44 -05:00
dependabot[bot]
e00a80e029
chore: bump github.com/gofrs/flock from 0.8.1 to 0.12.0 ( #13782 )
...
Bumps [github.com/gofrs/flock](https://github.com/gofrs/flock ) from 0.8.1 to 0.12.0.
- [Release notes](https://github.com/gofrs/flock/releases )
- [Commits](https://github.com/gofrs/flock/compare/v0.8.1...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/gofrs/flock
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 21:16:05 +00:00
dependabot[bot]
d4f0a22ac6
chore: bump axios from 1.6.0 to 1.7.2 in /site ( #13697 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.6.0 to 1.7.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 21:14:16 +00:00
dependabot[bot]
f6cd002542
chore: bump yup from 1.3.2 to 1.4.0 in /site ( #13715 )
...
Bumps [yup](https://github.com/jquense/yup ) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/jquense/yup/releases )
- [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jquense/yup/compare/v1.3.2...v1.4.0 )
---
updated-dependencies:
- dependency-name: yup
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 21:12:56 +00:00
dependabot[bot]
d209c5ff99
chore: bump github.com/bramvdbogaerde/go-scp from 1.4.0 to 1.5.0 ( #13806 )
...
Bumps [github.com/bramvdbogaerde/go-scp](https://github.com/bramvdbogaerde/go-scp ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/bramvdbogaerde/go-scp/releases )
- [Commits](https://github.com/bramvdbogaerde/go-scp/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/bramvdbogaerde/go-scp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 21:10:55 +00:00
dependabot[bot]
7574a2d3ab
chore: bump github.com/gohugoio/hugo from 0.126.1 to 0.128.2 ( #13811 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.126.1 to 0.128.2.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.126.1...v0.128.2 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 16:04:51 -05:00
dependabot[bot]
de1da93d04
chore: bump github.com/bgentry/speakeasy ( #13729 )
...
Bumps [github.com/bgentry/speakeasy](https://github.com/bgentry/speakeasy ) from 0.1.1-0.20220910012023-760eaf8b6816 to 0.2.0.
- [Release notes](https://github.com/bgentry/speakeasy/releases )
- [Commits](https://github.com/bgentry/speakeasy/commits/v0.2.0 )
---
updated-dependencies:
- dependency-name: github.com/bgentry/speakeasy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 16:59:06 -04:00
dependabot[bot]
03a8cc7d4e
chore: bump cloud.google.com/go/compute/metadata from 0.3.0 to 0.4.0 ( #13808 )
...
Bumps [cloud.google.com/go/compute/metadata](https://github.com/googleapis/google-cloud-go ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute/metadata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 14:35:30 -05:00
Colin Adler
d50ffa78f6
fix: exit reset password request before passwords are compared ( #13856 )
2024-07-09 14:28:39 -05:00
dependabot[bot]
3894ae17a7
chore: bump the mui group across 1 directory with 5 updates ( #13829 )
...
Bumps the mui group with 5 updates in the /site directory:
| Package | From | To |
| --- | --- | --- |
| [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material ) | `5.15.20` | `5.16.0` |
| [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material ) | `5.15.21` | `5.16.0` |
| [@mui/system](https://github.com/mui/material-ui/tree/HEAD/packages/mui-system ) | `5.15.20` | `5.16.0` |
| [@mui/utils](https://github.com/mui/material-ui/tree/HEAD/packages/mui-utils ) | `5.15.20` | `5.16.0` |
| [@mui/x-tree-view](https://github.com/mui/mui-x/tree/HEAD/packages/x-tree-view ) | `7.8.0` | `7.9.0` |
Updates `@mui/icons-material` from 5.15.20 to 5.16.0
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.0/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.0/packages/mui-icons-material )
Updates `@mui/material` from 5.15.21 to 5.16.0
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.0/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.0/packages/mui-material )
Updates `@mui/system` from 5.15.20 to 5.16.0
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.0/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.0/packages/mui-system )
Updates `@mui/utils` from 5.15.20 to 5.16.0
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.0/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.0/packages/mui-utils )
Updates `@mui/x-tree-view` from 7.8.0 to 7.9.0
- [Release notes](https://github.com/mui/mui-x/releases )
- [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mui/mui-x/commits/v7.9.0/packages/x-tree-view )
---
updated-dependencies:
- dependency-name: "@mui/icons-material"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mui
- dependency-name: "@mui/material"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mui
- dependency-name: "@mui/system"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mui
- dependency-name: "@mui/utils"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mui
- dependency-name: "@mui/x-tree-view"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mui
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 11:12:42 -08:00
Mathias Fredriksson
35a808f089
fix(coderd/agentapi): set ReadyAt for start timeout ( #13846 )
2024-07-09 18:55:16 +00:00
Jyotirmoy Bandyopadhayaya
b07e3069dd
feat: added whomai cmd to coder cli ( #13814 )
...
* feat: added whomai cmd to coder cli
* refactor: update Coder CLI's whoami command to use client URL instead of deployment config
* feat(cli): add unit tests for the whoami command
* chore(docs): add coder command to fetch authenticated user info
* chore(doc): update help desc
2024-07-09 13:23:11 -05:00
Bruno Quaresma
01b30eaa32
fix(site): enable dormant workspace to be deleted ( #13850 )
2024-07-09 14:55:46 -03:00
Colin Adler
af001773db
fix!: remove TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA cipher by default ( #13837 )
...
This cipher is included by default in Go as a fallback, but is marked as
an insecure cipher. This removes the 3des cipher by default.
Before:
```
$ nmap --script ssl-enum-ciphers -p 443 xxxxxxx
Starting Nmap 7.94 ( https://nmap.org ) at 2024-07-08 14:16 CDT
Nmap scan report for xxxxx (xxx.xxx.xxx.xxx)
Host is up (0.038s latency).
rDNS record for xxx.xxx.xxx.xxx: xxx.xxx.xxx.xxx.bc.googleusercontent.com
PORT STATE SERVICE
443/tcp open https
| ssl-enum-ciphers:
| TLSv1.2:
| ciphers:
| TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256r1) - A
| TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (secp256r1) - A
| TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (secp256r1) - A
| TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256r1) - A
| TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256r1) - A
| TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA (secp256r1) - C
| compressors:
| NULL
| cipher preference: server
| warnings:
| 64-bit block cipher 3DES vulnerable to SWEET32 attack
| TLSv1.3:
| ciphers:
| TLS_AKE_WITH_AES_128_GCM_SHA256 (ecdh_x25519) - A
| TLS_AKE_WITH_AES_256_GCM_SHA384 (ecdh_x25519) - A
| TLS_AKE_WITH_CHACHA20_POLY1305_SHA256 (ecdh_x25519) - A
| cipher preference: server
|_ least strength: C
```
After:
```
$ nmap --script ssl-enum-ciphers -p 443 xxxxxxx
Starting Nmap 7.94 ( https://nmap.org ) at 2024-07-08 15:04 CDT
Nmap scan report for xxxxx (xxx.xxx.xxx.xxx)
Host is up (0.039s latency).
rDNS record for xxx.xxx.xxx.xxx: xxx.xxx.xxx.xxx.bc.googleusercontent.com
PORT STATE SERVICE
443/tcp open https
| ssl-enum-ciphers:
| TLSv1.2:
| ciphers:
| TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256r1) - A
| TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256r1) - A
| TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256r1) - A
| TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (secp256r1) - A
| TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (secp256r1) - A
| compressors:
| NULL
| cipher preference: client
| TLSv1.3:
| ciphers:
| TLS_AKE_WITH_AES_128_GCM_SHA256 (ecdh_x25519) - A
| TLS_AKE_WITH_AES_256_GCM_SHA384 (ecdh_x25519) - A
| TLS_AKE_WITH_CHACHA20_POLY1305_SHA256 (ecdh_x25519) - A
| cipher preference: server
|_ least strength: A
```
* fixup! fix!(cli): remove `TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA` cipher by default
* fixup! fix!(cli): remove `TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA` cipher by default
2024-07-09 17:18:27 +00:00
Bruno Quaresma
879c61ce23
feat(site): display tooltip in bars for app usage chart ( #13854 )
2024-07-09 14:02:45 -03:00
Bruno Quaresma
6bf7e5af91
feat(site): support match option for auto create workspace flow ( #13836 )
2024-07-09 16:14:08 +00:00
Steven Masley
8c33b028d2
chore: include all templates in cli template list ( #13841 )
...
* chore: cli template list includes all templates
Shows all accessible templates from all organizations
2024-07-09 11:04:16 -05:00
Steven Masley
f9272046d5
chore: remove references to restarting/stopping in update workspace language ( #13852 )
...
* chore: remove references to restarting/stopping in update workspace language
* reword updating workspaces to remove the word "restart"
* fix batch wording
2024-07-09 11:02:13 -05:00
Eric Paulsen
266913a357
fix: remove templates plan docs ( #13824 )
...
* fix: remove templates plan docs
* make gen
* make update-golden-files
2024-07-09 14:27:34 +00:00
Muhammad Atif Ali
c62512a8bb
chore: use base64 encoded kubeconfig for pr deployments ( #13851 )
2024-07-09 14:24:43 +00:00
Muhammad Atif Ali
a123badccc
chore: use base64 encoded kubeconfig for pr deployments ( #13849 )
2024-07-09 13:44:59 +00:00
Marcin Tojek
54898033b1
fix: dbpurge: disable parallel tests ( #13848 )
2024-07-09 15:10:57 +02:00
dependabot[bot]
c1440ac4f0
chore: bump github.com/coreos/go-oidc/v3 from 3.10.0 to 3.11.0 ( #13827 )
...
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc ) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v3.10.0...v3.11.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 13:09:04 +00:00
dependabot[bot]
65e1d0af4b
ci: bump crate-ci/typos from 1.22.9 to 1.23.1 in the github-actions group ( #13803 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-07-09 15:45:09 +03:00
Mathias Fredriksson
ac6db5edf9
feat(cli): show information about --wait=no for ssh ( #13847 )
...
Fixes #11923
2024-07-09 14:32:52 +03:00
Mathias Fredriksson
54055dc4cc
fix(cli): prevent asynchronous print of version mismatch in config-ssh ( #13845 )
2024-07-09 14:32:08 +03:00
dependabot[bot]
407d263cd2
chore: bump google.golang.org/api from 0.182.0 to 0.187.0 ( #13828 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 07:59:58 +00:00
dependabot[bot]
0c423f07a7
chore: bump semver and @types/semver in /site ( #13834 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 10:49:43 +03:00
Mathias Fredriksson
978364bd3e
fix(cli): do not overwrite repeated SSH options in config-ssh ( #13819 )
...
Fixes #11593
2024-07-09 09:44:56 +03:00
dependabot[bot]
5cdfc08422
chore: bump google.golang.org/grpc from 1.64.0 to 1.65.0 ( #13826 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 06:25:53 +00:00
dependabot[bot]
1f05a4a05e
chore: bump github.com/go-chi/chi/v5 from 5.0.10 to 5.1.0 ( #13730 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.10 to 5.1.0.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.10...v5.1.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 01:19:18 -05:00
dependabot[bot]
996863936a
chore: bump the x group with 7 updates ( #13825 )
...
Bumps the x group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.24.0` | `0.25.0` |
| [golang.org/x/mod](https://github.com/golang/mod ) | `0.18.0` | `0.19.0` |
| [golang.org/x/net](https://github.com/golang/net ) | `0.26.0` | `0.27.0` |
| [golang.org/x/oauth2](https://github.com/golang/oauth2 ) | `0.20.0` | `0.21.0` |
| [golang.org/x/sys](https://github.com/golang/sys ) | `0.21.0` | `0.22.0` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.21.0` | `0.22.0` |
| [golang.org/x/tools](https://github.com/golang/tools ) | `0.22.0` | `0.23.0` |
Updates `golang.org/x/crypto` from 0.24.0 to 0.25.0
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.25.0 )
Updates `golang.org/x/mod` from 0.18.0 to 0.19.0
- [Commits](https://github.com/golang/mod/compare/v0.18.0...v0.19.0 )
Updates `golang.org/x/net` from 0.26.0 to 0.27.0
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0 )
Updates `golang.org/x/oauth2` from 0.20.0 to 0.21.0
- [Commits](https://github.com/golang/oauth2/compare/v0.20.0...v0.21.0 )
Updates `golang.org/x/sys` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.0 )
Updates `golang.org/x/term` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/term/compare/v0.21.0...v0.22.0 )
Updates `golang.org/x/tools` from 0.22.0 to 0.23.0
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 01:13:37 -05:00
dependabot[bot]
3085c4cf5b
chore: bump @types/lodash from 4.14.196 to 4.17.6 in /site ( #13704 )
...
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash ) from 4.14.196 to 4.17.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash )
---
updated-dependencies:
- dependency-name: "@types/lodash"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:11:00 +03:00
dependabot[bot]
83a177e0c7
chore: bump ssh2 and @types/ssh2 in /site ( #13710 )
...
Bumps [ssh2](https://github.com/mscdex/ssh2 ) and [@types/ssh2](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ssh2 ). These dependencies needed to be updated together.
Updates `ssh2` from 1.14.0 to 1.15.0
- [Commits](https://github.com/mscdex/ssh2/compare/v1.14.0...v1.15.0 )
Updates `@types/ssh2` from 1.11.13 to 1.15.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ssh2 )
---
updated-dependencies:
- dependency-name: ssh2
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: "@types/ssh2"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 09:10:28 +03:00
Colin Adler
b40d543cb5
chore(offlinedocs): update braces to v3.0.3 ( #13842 )
2024-07-09 01:01:49 -05:00
dependabot[bot]
eafa8f5cb2
chore: bump the vite group across 1 directory with 3 updates ( #13833 )
...
Bumps the vite group with 3 updates in the /site directory: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) and [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker ).
Updates `@vitejs/plugin-react` from 4.1.0 to 4.3.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.1/packages/plugin-react )
Updates `vite` from 4.5.3 to 5.3.3
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.3.3/packages/vite )
Updates `vite-plugin-checker` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases )
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.6.0...vite-plugin-checker@0.7.1 )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: vite
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: vite
- dependency-name: vite-plugin-checker
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: vite
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 18:25:19 -04:00
Muhammad Atif Ali
05fdb9c1f7
chore: group dependencies ( #13798 )
2024-07-08 23:11:44 +03:00
Stephen Kirby
79b5d20cd2
typo ( #13823 )
2024-07-08 15:08:56 -05:00
Colin Adler
f9ca9c7a22
chore: upgrade Go to 1.22.5 ( #13820 )
...
* chore: upgrade Go to 1.22.5
* fixup! chore: upgrade Go to 1.22.5
2024-07-08 19:42:55 +00:00
Steven Masley
44cb400c8e
chore: include host and port in oidc test logs ( #13818 )
...
* chore: include host and port in oidc test logs
Log fake IDP's log for debugging port conflicts between tests
2024-07-08 10:24:41 -05:00
Steven Masley
d9bdef915d
chore: fix typo in oidctest package ( #13815 )
2024-07-08 14:35:06 +00:00
Danny Kopping
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
Marcin Tojek
10aa32ca08
chore: refactor AgentHasNotConnectedSinceWeek_LogsExpired ( #13802 )
2024-07-08 13:52:56 +02:00
Muhammad Atif Ali
fecc5b3027
docs: update release schedule ( #13795 )
2024-07-06 12:17:11 +03:00
Cian Johnston
da8911426b
fix(dogfood/Dockerfile): change ownership of /etc/sudoers.d to root ( #13793 )
2024-07-05 12:42:14 +01:00
Marcin Tojek
7c41f957de
feat: autostop workspaces owned by suspended users ( #13790 )
2024-07-04 13:35:41 +00:00
Cian Johnston
c2d44d16a3
feat(codersdk/agentsdk): export LogDest interface ( #13792 )
...
Signed-off-by: Cian Johnston <cian@coder.com >
2024-07-04 14:04:43 +01:00
Ferran Basora
dd80958efb
chore: update troubleshooting documentation about dir setting ( #13681 )
2024-07-03 22:24:49 +03:00
Steven Masley
ccf34901bc
chore: add templates search query to a filter ( #13772 )
...
* chore: add templates search query to a filter
2024-07-03 13:42:23 -05:00
Cian Johnston
8778aa0f71
chore(deps): update go-playground/validator and remove replace directive ( #13779 )
...
We had a replace directive in place due to a PR we were waiting to have
merged in go-playground/validator. This was since merged in v10.22.0.
Signed-off-by: Cian Johnston <cian@coder.com >
2024-07-03 18:14:27 +01:00
Cian Johnston
ea675897fd
fix(dogfood/Dockerfile): revert add explicit --chown to COPY directive ( #13569 ) ( #13781 )
...
* Revert "fix(dogfood/Dockerfile): add explicit --chown to COPY directive (#13569 )"
This reverts commit c587af7c0e .
* add a bogus comment to ensure hashes change
2024-07-03 17:42:18 +01:00
Michael Smith
940afa1ab1
fix: let workspace pages download partial logs for unhealthy workspaces ( #13761 )
...
* fix: get basic fix in for preventing download logs from blowing up UI
* fix: make sure blob units can't go out of bounds
* fix: make sure timeout is cleared on component unmount
* fix: reduce risk of shared cache state breaking useAgentLogs
* fix: allow partial downloading of logs
* fix: make sure useMemo cache is used properly
* wip: commit current progress on updated logs functionality
* docs: rewrite comment for clarity
* refactor: clean up current code
* fix: update styles for unavailable logs
* fix: resolve linter violations
* fix: update type signature of getErrorDetail
* fix: revert log/enabled logic for useAgentLogs
* fix: remove memoization from DownloadLogsDialog
* fix: update name of timeout state
* refactor: make log web sockets logic more clear
* docs: reword comment for clarity
* fix: commit current style update progress
* fix: finish style updates
2024-07-03 10:17:54 -04:00
Marcin Tojek
07d41716ad
fix(provisioner): handle multiple agents, apps, scripts and envs ( #13741 )
2024-07-03 14:55:28 +02:00
Spike Curtis
f6639b788f
feat: add ConnectRPC variants for older Agent API versions ( #13778 )
2024-07-03 16:11:05 +04:00
Spike Curtis
e5268e4551
chore: spin clock library out to coder/quartz repo ( #13777 )
...
Code that was in `/clock` has been moved to github.com/coder/quartz. This PR refactors our use of the clock library to point to the external Quartz repo.
2024-07-03 15:02:54 +04:00
Ethan
a110d18275
chore: add DRPC tailnet & cli network telemetry ( #13687 )
2024-07-03 15:23:46 +10:00
Kayla Washburn-Love
bfbf634bec
chore: update mui ( #13747 )
2024-07-02 15:19:01 -06:00
Eric Paulsen
80a2a5d6a8
docs: clarify envbox version pinning ( #13773 )
2024-07-02 20:36:08 +00:00
Stephen Kirby
e40cc9314c
docs: bump mainline version to v2.13.0 ( #13766 )
2024-07-02 15:24:26 -05:00
Mathias Fredriksson
a114288ef2
ci: remove release make concurrency to fix docker image race ( #13769 )
2024-07-02 17:49:18 +00:00
Cian Johnston
5ea5db29e9
ci: use postgres version 13 to test migrations ( #13767 )
2024-07-02 17:03:21 +00:00
Bruno Quaresma
9ee53e5b4e
chore(site): refactor filter component to be more extendable ( #13688 )
2024-07-02 13:15:13 -03:00
Michael Smith
21a923a7a0
chore: add SVG desktop icon ( #13765 )
...
* chore: add SVG desktop icon
* fix: add desktop icon to to icons.json
2024-07-02 16:00:16 +00:00
Kayla Washburn-Love
b1e7498e77
chore: update xterm ( #13752 )
2024-07-02 09:29:34 -06:00
Danny Kopping
98c09bf5d2
fix: add policy.go as dependency of Makefile rbac target ( #13757 )
2024-07-02 14:29:00 +00:00
Steven Masley
bde9fd58ea
chore: add organization name to workspaces ( #13755 )
...
* chore: add organization name to workspaces
2024-07-02 09:25:05 -05:00
Steven Masley
128674918b
chore: include organization name when fetching templates ( #13751 )
...
* chore: include organization name when fetching templates
* chore: rename template_with_user to template_with_names
2024-07-02 09:08:30 -05:00
Muhammad Atif Ali
b87c12ba92
chore(dogfood): fix duplicate security repository entry ( #13758 )
2024-07-02 14:09:45 +03:00
Steven Masley
abc0ff9689
chore: remove database import from cli ( #13756 )
...
Cli was using a utility function from a database package.
2024-07-01 21:58:23 +00:00
Kayla Washburn-Love
b1ec4630f2
chore: update react dependencies ( #13749 )
2024-07-01 15:55:27 -06:00
Steven Masley
5bf46f360a
chore: remove org context switcher in the cli ( #13674 )
...
* chore: remove org context switcher in the cli
2024-07-01 16:04:45 -05:00
Kayla Washburn-Love
4a0fd7466c
chore: update emoji-mart data ( #13746 )
2024-07-01 14:40:15 -06:00
Jaayden Halko
f26f123391
feat: route groups by name instead of id ( #13692 )
...
* feat: route groups by name instead of id
* fix: update group navigation when name changes
* fix: update isLoading and error checking
* fix: fix format
* fix: update isLoading and error
* fix: cleanup
2024-07-01 15:48:14 -04:00
Kayla Washburn-Love
41e1383640
chore: update caniuse ( #13745 )
2024-07-01 13:11:04 -06:00
Steven Masley
10c2817f4d
chore: swagger docs omit brower based credentials, rely on swagger auth ( #13742 )
...
* chore: swagger docs omit brower based credentials, rely on swagger auth
Swagger has an "Authorize" button which should be the only
authentication being used in the api requests
2024-07-01 13:44:35 -05:00
Kayla Washburn-Love
cd069faf01
chore: update storybook ( #13744 )
2024-07-01 12:12:41 -06:00
Kayla Washburn-Love
d977654f05
feat: unify organization and deployment management settings ( #13602 )
2024-07-01 11:15:00 -06:00
Jaayden Halko
9b1d8f79ae
docs: update workspace filters docs ( #13725 )
2024-07-01 12:44:32 -04:00
Eric Paulsen
d8d86b16dc
docs: move architecture to top level ( #13722 )
2024-07-01 11:58:56 -04:00
Dean Sheather
6c94dd4f23
chore: add DRPC server implementation for network telemetry ( #13675 )
2024-07-02 01:50:52 +10:00
dependabot[bot]
2fde054e10
chore: bump rollup-plugin-visualizer from 5.9.0 to 5.12.0 in /site ( #13706 )
...
Bumps [rollup-plugin-visualizer](https://github.com/btd/rollup-plugin-visualizer ) from 5.9.0 to 5.12.0.
- [Changelog](https://github.com/btd/rollup-plugin-visualizer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/btd/rollup-plugin-visualizer/compare/v5.9.0...v5.12.0 )
---
updated-dependencies:
- dependency-name: rollup-plugin-visualizer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 13:45:42 -08:00
dependabot[bot]
8735e234b4
chore: bump storybook/test from 8.0.5 to 8.1.11 in /site ( #13716 )
...
* chore: bump @storybook/test from 8.0.5 to 8.1.11 in /site
Bumps [@storybook/test](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/test ) from 8.0.5 to 8.1.11.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.1.11/code/lib/test )
---
updated-dependencies:
- dependency-name: "@storybook/test"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update remaining storybook dependencies
Not sure if you need to update all of them, but without this you get "no
matchinge export" from at least one of these.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher <ash@coder.com >
2024-06-28 20:45:25 +00:00
dependabot[bot]
472ea7ebbf
chore: bump @storybook/addon-essentials from 8.0.5 to 8.1.11 in /site ( #13712 )
...
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) from 8.0.5 to 8.1.11.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.1.11/code/addons/essentials )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 12:15:16 -08:00
Steven Masley
6daf330d3a
chore: allow organization name or uuid for audit log searching ( #13721 )
...
* chore: allow organization name or uuid for audit log searching
2024-06-28 10:01:23 -05:00
Steven Masley
3cc86cf62d
chore: implement sane default pagination limit for audit logs ( #13676 )
...
* chore: implement sane default pagination limit for audit logs
2024-06-28 07:38:04 -05:00
Cian Johnston
1a877716ca
chore: add envbuilder-dogfood template ( #13720 )
...
Adds a template that can be used to dogfood on envbuilder!
2024-06-28 12:56:22 +01:00
Danny Kopping
0a221e8d5b
feat: create database tables and queries for notifications ( #13536 )
2024-06-28 09:21:25 +00:00
dependabot[bot]
4213560b7a
chore: bump @mui/icons-material from 5.14.0 to 5.15.20 in /site ( #13703 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 03:49:56 +03:00
dependabot[bot]
2a21b0d144
ci: bump toshimaru/auto-author-assign in the github-actions group ( #13696 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 03:48:01 +03:00
dependabot[bot]
86ee75b672
chore: bump undici from 6.11.1 to 6.19.2 in /site ( #13699 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.11.1 to 6.19.2.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.11.1...v6.19.2 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 12:43:24 -06:00
dependabot[bot]
0b8b227dcf
chore: bump emoji-mart from 5.4.0 to 5.6.0 in /site ( #13709 )
...
Bumps [emoji-mart](https://github.com/missive/emoji-mart/tree/HEAD/packages/emoji-mart ) from 5.4.0 to 5.6.0.
- [Release notes](https://github.com/missive/emoji-mart/releases )
- [Commits](https://github.com/missive/emoji-mart/commits/v5.6.0/packages/emoji-mart )
---
updated-dependencies:
- dependency-name: emoji-mart
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 12:41:09 -06:00
Muhammad Atif Ali
bda94bfc77
chore: optimize dependabot configuration ( #13670 )
2024-06-27 21:14:17 +03:00
Kayla Washburn-Love
8b615f4522
fix: disable agent app buttons while a blocking startup script is running ( #13667 )
2024-06-27 11:25:03 -06:00
Jaayden Halko
093ec3d05b
fix: improve checkbox text in template schedule settings dialog ( #13669 )
...
* fix: improve checkbox text in template schedule settings dialog
* fix: format
* fix: remove (s) plural language
* fix: fix format
2024-06-27 13:14:06 -04:00
Steven Masley
5a0afd8b7e
chore: revert to default survey templates ( #13690 )
...
Revert to the default template provided by the package. Includes all fields like the "Message" field. Our template omits headers and keybind helpers.
2024-06-27 05:32:12 -10:00
Steven Masley
22f2c6da4f
chore: add command to render all existing cli prompts ( #13689 )
...
Adds a command to render all the existing cli prompts we use. This is to validate a change to how our cli ui prompts look.
2024-06-27 05:20:15 -10:00
Spike Curtis
ce7f13c6c3
fix: fix TestPGCoordinatorSingle_MissedHeartbeats flake ( #13686 )
2024-06-27 19:17:24 +04:00
Muhammad Atif Ali
089f06886b
chore: add .pnpm-store to .gitignore ( #13685 )
2024-06-27 15:07:04 +03:00
Spike Curtis
c94b5188bd
fix: modify workspacesdk to ask for tailnet API 2.0 ( #13684 )
...
#13617 bumped the Agent/Tailnet API minor version because it adds telemetry features. However, we don't actually use the protocol features yet, so it's a bit obnoxious for our CLI client to ask for the newest API version.
This is particularly true of the CLI client, since that's distributed separately, so if an end user installs the latest CLI client and their organization hasn't fully upgraded, then it will fail to connect.
Since we have a release coming up and the telemetry stuff won't make it, I think we should roll back to version 2.0 until we actually implement the telemetry stuff. That way the newest release (2.13) will work with Coder servers all the way back to 2.9.
2024-06-27 15:38:21 +04:00
Spike Curtis
5b59f2880f
fix: fix workspacesdk to return error on API mismatch ( #13683 )
2024-06-27 15:02:43 +04:00
Marcin Tojek
c4f1676055
feat: expose workspace build ID to terraform-plugin-coder ( #13680 )
2024-06-27 10:07:30 +02:00
Steven Masley
30c4b4db5c
chore: implement fetch all authorized templates api ( #13678 )
2024-06-26 11:50:32 -06:00
Steven Masley
08e728bcb2
chore: implement organization scoped audit log requests ( #13663 )
...
* chore: add organization_id filter to audit logs
* chore: implement organization scoped audit log requests
2024-06-26 12:38:46 -05:00
Cian Johnston
20e59e0797
ci: test with multiple postgres versions ( #13665 )
...
- Tests now run on postgres 16 by default when run locally (can be specified with POSTGRES_VERSION)
- Adds test-go-pg-16 to test against postgres version 16
- Updates Dogfood dockerfile / nix flake to postgres version 16
- Updates docker-compose.yaml postgres tag to 16
2024-06-26 16:22:24 +01:00
Danny Kopping
d5d8b918d7
feat: lint github actions workflows ( #13552 )
2024-06-26 10:28:16 +02:00
Cian Johnston
8a3592582b
feat: add "Full Name" field to user creation ( #13659 )
...
Adds the ability to specify "Full Name" (a.k.a. Name) when
creating users either via CLI or UI.
2024-06-26 09:00:42 +01:00
austinrhode
87ad560aff
feat: add groups and group members to telemetry snapshot ( #13655 )
...
* feat: Added in groups and groups members to telemetry snapshot
* feat: adding in test to dbauthz for getting group members and groups
2024-06-25 11:01:40 -07:00
Muhammad Atif Ali
58325dfd14
chore: minor improvements and link updates in README.md ( #13656 )
...
* chore: minor improvements and link updates in README.md
* fixup!
2024-06-25 13:29:08 -04:00
Garrett Delfosse
fed668b432
chore: switch ssh session stats based on experiment ( #13637 )
2024-06-25 10:58:45 -04:00
Steven Masley
d7eadee4d7
chore: insert audit log entries for organization CRUD ( #13660 )
...
* chore: insert audit log entries for organization CRUD
2024-06-25 09:03:15 -05:00
Spike Curtis
9c1a6a29f2
feat: add docstrings to mock timer and ticker methods and structs ( #13658 )
2024-06-25 16:59:35 +04:00
Spike Curtis
46e1c36c42
feat: add Next() method to mock Clock ( #13657 )
2024-06-25 16:48:26 +04:00
Spike Curtis
0d2f14606b
chore: add usage information to clock library README ( #13594 )
...
Adds a Usage section to the README of the clock testing library.
2024-06-25 16:38:32 +04:00
Muhammad Atif Ali
136900268e
ci: migrate to depot.dev runners ( #13467 )
2024-06-25 09:36:33 +03:00
Cian Johnston
313d4e02d2
chore(scaletest/dashboard): stub out initChromeDPCtx in unit tests ( #13650 )
2024-06-24 21:33:24 +01:00
Steven Masley
65b9f9bfd6
chore: audit organization member add/delete/edit ( #13620 )
...
* chore: audit organization member add/removals
2024-06-24 14:19:32 -05:00
Stephen Kirby
94639730f8
docs: bump mainline version to v2.12.3 ( #13652 )
...
* docs: bump mainline version to v2.12.3
* updated stable version
2024-06-24 14:07:42 -05:00
Steven Masley
34c67e8428
test: add unit test helper to create templates in second organizations ( #13628 )
...
* chore: add coderdtest helpers
2024-06-24 12:55:57 -05:00
Steven Masley
e4333c0433
chore: 'coder login' reset cli organization context ( #13646 )
...
Cli organization context is reset on `coder login` if the organization
selected is an invalid organization.
2024-06-24 12:55:39 -05:00
dependabot[bot]
8ccdf05bbc
chore: bump github.com/aws/aws-sdk-go-v2 from 1.27.0 to 1.30.0 ( #13643 )
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.27.0 to 1.30.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.27.0...v1.30.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 12:22:17 -05:00
dependabot[bot]
218f429336
chore: bump github.com/hashicorp/hcl/v2 from 2.20.0 to 2.21.0 ( #13642 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.20.0...v2.21.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 12:21:45 -05:00
dependabot[bot]
6f4a9b6b51
chore: bump github.com/valyala/fasthttp from 1.54.0 to 1.55.0 ( #13640 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.54.0 to 1.55.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/1.54.0...v1.55.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 12:21:18 -05:00
Colin Adler
3dec6ff32f
chore: add protobuf types for tailnet telemetry ( #13617 )
2024-06-24 12:13:03 -05:00
Stephen Kirby
b9d83c75de
fixed changelog script release channel flag ( #13649 )
2024-06-24 11:50:24 -05:00
dependabot[bot]
7e20b56352
chore: bump alpine from 3.20.0 to 3.20.1 in /scripts ( #13644 )
...
Bumps alpine from 3.20.0 to 3.20.1.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 11:48:07 -05:00
Stephen Kirby
3d6c9799e3
fixed script ref ( #13647 )
2024-06-24 11:27:13 -05:00
Cian Johnston
b4a5c7ffa9
chore: upgrade Go version to 1.22.4 ( #13623 )
...
Updates Go version to 1.22.4
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
2024-06-24 15:50:52 +01:00
dependabot[bot]
7cb8bfb133
ci: bump the github-actions group with 2 updates ( #13645 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 15:52:05 +03:00
Stephen Kirby
2cfadad023
manually updated autoversion ( #13633 )
2024-06-22 12:16:07 -05:00
Stephen Kirby
9abaa94599
docs: bump mainline version to v2.12.2 ( #13632 )
2024-06-21 15:11:58 -05:00
Kyle Carberry
54e8f30002
chore: remove failing_sections from healthcheck ( #13426 )
...
Closes #10854 .
2024-06-21 14:49:02 -04:00
Steven Masley
5177f366f5
fix: organization 404 write 1 http status ( #13629 )
2024-06-21 13:01:46 -05:00
Steven Masley
0e933f0537
chore: refactor user -> rbac.subject into a function ( #13624 )
...
* chore: refactor user subject logic to be in 1 place
* test: implement test to assert deleted custom roles are omitted
* add unit test for deleted role
2024-06-21 11:30:02 -05:00
Kyle Carberry
3ef12ac284
fix: remove connected button ( #13625 )
...
It didn't make a lot of sense in current form. It will when we improve autostop.
2024-06-21 11:41:59 -04:00
Steven Masley
75e7213ac2
feat: add cli command to remove organization member ( #13619 )
2024-06-21 10:35:59 -05:00
Bruno Quaresma
cbdaa63b68
chore(site): refactor popover to make it easier to extend ( #13611 )
2024-06-21 11:15:37 -03:00
Ethan
714f2ef83c
fix: fix shallow clones not retrieving a valid semver ( #13609 )
2024-06-22 00:02:12 +10:00
Bruno Quaresma
73a25c3bc5
chore(site): add InputGroup component ( #13597 )
2024-06-21 10:54:55 -03:00
Steven Masley
819bfd3170
fix: remove assigning org-member role, this is implied from membership ( #13578 )
2024-06-21 08:01:39 -05:00
dependabot[bot]
66a604d779
chore: bump golang.org/x/tools from 0.21.0 to 0.22.0 ( #13513 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-21 08:54:06 +03:00
Steven Masley
2ef2f97388
chore: improve error message on adding existing org_member ( #13621 )
2024-06-20 18:05:11 -05:00
Colin Adler
889daf200e
feat(enterprise): add auditing to SCIM ( #13614 )
2024-06-20 17:22:27 -05:00
Steven Masley
c4656d77cc
chore: add help to error to reset organization context ( #13616 )
2024-06-20 16:44:47 -05:00
Kyle Carberry
495eea452f
fix: track login page correctly ( #13618 )
2024-06-20 21:33:47 +00:00
Asher
43e45f4ab7
fix: fill out zero-value user properties in /audit ( #13604 )
2024-06-20 12:40:08 -08:00
Kyle Carberry
57b38e5bb8
fix: allow coder.com in CSP if telemetry is enabled ( #13615 )
...
* fix: allow coder.com in CSP if telemetry is enabled
* Fix control couple lint
2024-06-20 16:05:22 -04:00
Kyle Carberry
0793a4b35b
feat: add cross-origin reporting for telemetry in the dashboard ( #13612 )
...
* feat: add cross-origin reporting for telemetry in the dashboard
* Respect the telemetry flag
* Fix embedded metadata
* Fix compilation error
* Fix linting
2024-06-20 15:19:45 -04:00
Steven Masley
a1db6d809e
chore: implement delete organization member ( #13589 )
...
Side effects of removing an organization member will orphan their
user resources. These side effects are not addressed here
2024-06-20 10:06:37 -05:00
Kelly Peilin Chan
a1ec8ad6e9
Update docker-in-workspaces.md ( #13606 )
2024-06-20 11:05:21 -04:00
Steven Masley
8e06ad46d0
chore: add organization member api + cli ( #13577 )
2024-06-20 09:19:24 -05:00
Dean Sheather
4699adee5e
chore: update dogfood sydney server ( #13610 )
2024-06-20 14:12:25 +00:00
Spike Curtis
8923ce5216
fix: fix flake in TestAppHealth_Healthy ( #13607 )
2024-06-20 12:02:31 +04:00
Spike Curtis
02ffff11dd
feat: add NewTicker to clock testing library ( #13593 )
2024-06-20 10:16:04 +04:00
Kyle Carberry
7049d7a881
fix: display trial errors in the dashboard ( #13601 )
...
* fix: display trial errors in the dashboard
The error was essentially being ignored before!
* Remove day mention in product of trial
* fmt
2024-06-19 12:02:51 -04:00
dependabot[bot]
84cdcac8ad
chore: bump ws from 8.14.2 to 8.17.1 in /site ( #13595 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:51:25 +03:00
Kayla Washburn-Love
e987ad1d89
fix: don't allow "new" or "create" as url-friendly names ( #13596 )
2024-06-18 15:36:13 -06:00
Kyle Carberry
3a1fa04590
fix: write server config to telemetry ( #13590 )
...
* fix: add external auth configs to telemetry
* Refactor telemetry to send the entire config
* gen
* Fix linting
2024-06-18 16:20:21 -04:00
Spike Curtis
d0b2f6196c
fix: allow mock clock Timers to accept negative duration ( #13592 )
...
The standard library `NewTimer`, `AfterFunc` and `Reset` allow negative durations, so our mock clock library should as well.
2024-06-18 15:40:56 +04:00
Spike Curtis
1de023a121
chore: add README to clock testing ( #13583 )
...
Adds README with some draft content explaining why the library exists. Will be most relevant when we spin out into a standalone library.
2024-06-18 10:16:49 +04:00
Steven Masley
1d3642d0be
chore: fix link in v2.0.0 changelog to scale tests ( #13591 )
2024-06-17 14:24:07 -05:00
Kayla Washburn-Love
8c1bd32c33
feat(site): add basic organization management ui ( #13288 )
2024-06-17 11:02:39 -06:00
Kayla Washburn-Love
07cd9acb2c
fix: fix workspace actions options ( #13572 )
2024-06-17 10:24:30 -06:00
dependabot[bot]
eed9794516
ci: bump crate-ci/typos in the github-actions group ( #13584 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `crate-ci/typos` from 1.22.3 to 1.22.7
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.22.3...v1.22.7 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 09:03:26 -04:00
Ben Potter
808e1c0d89
docs: add screenshots page ( #13582 )
...
* docs: add screenshots page
* fmt
2024-06-15 15:34:18 -05:00
Garrett Delfosse
44d69139d5
chore: accept payload on workspace usage route ( #13544 )
2024-06-14 10:08:45 -04:00
Eric Paulsen
87820a29d7
docs: reorganize scaling docs ( #13574 )
...
* refactor scaling docs
* manifest
* make fmt
* fix 404s
* fix 404s pt 2
* fix manifest
2024-06-14 09:30:04 -04:00
Spike Curtis
c01d6fdf46
chore: refactor apphealth and tests to use clock testing library ( #13576 )
...
Refactors the apphealth subsystem and unit tests to use `clock.Clock`.
Also slightly simplifies the implementation, which wrapped a function that never returned an error in a `retry.Retry`. The retry is entirely superfluous in that case, so removed.
UTs used to take a few seconds to run, and now run in milliseconds or better. No sleeps, `Eventually`, or polling.
Dropped the "no spamming" test since we can directly assert the number of handler calls on the mainline test case.
2024-06-14 15:06:33 +04:00
Cian Johnston
fe240add86
fix(coderd): userOIDC: ignore leading @ of EmailDomain ( #13568 )
2024-06-14 09:29:07 +01:00
Steven Masley
d04959cea8
chore: implement custom role assignment for organization admins ( #13570 )
...
* chore: static role assignment mapping
Until a dynamic approach is created in the database, only org-admins
can assign custom organization roles.
2024-06-13 15:59:06 -05:00
Steven Masley
3d30c8dc68
chore: protect reserved builtin rolenames ( #13571 )
...
Conflicting built-in and database role names makes it hard to
disambiguate
2024-06-13 15:12:37 -05:00
Steven Masley
7d51515f9d
chore: implement assign organization roles from the cli ( #13558 )
...
Basic functionality to assign roles to an organization member via cli.
2024-06-13 14:49:32 -05:00
Eric Paulsen
87a172fb14
docs: add validated architecture ( #13561 )
...
* docs: add validated architecture
* make: fmt
* formatting
* fix 404s
* fix 404s pt 2
* fix 404s pt 3
2024-06-13 13:00:26 -04:00
Cian Johnston
c587af7c0e
fix(dogfood/Dockerfile): add explicit --chown to COPY directive ( #13569 )
2024-06-13 15:16:34 +01:00
Cian Johnston
5d3f3c08cd
chore(dogfood): add devcontainer for use with envbuilder ( #13567 )
2024-06-13 14:31:49 +01:00
Spike Curtis
0268c7a659
chore: refactor autobuild/notify to use clock test ( #13566 )
...
Refactor autobuild/notify and tests to use the clock testing library.
I also rewrote some of the comments because I didn't understand them when I was looking at the package.
2024-06-13 16:01:17 +04:00
Spike Curtis
4b0b9b08d5
feat: add interfaces report to support bundle ( #13563 )
2024-06-13 13:09:54 +04:00
Spike Curtis
88eb6ce378
fix: fix flake in TestDERPEndToEnd ( #13564 )
2024-06-13 11:38:51 +04:00
Spike Curtis
fc09077b7b
feat!: add interface report to coder netcheck ( #13562 )
...
re: #13327
Adds local interfaces to `coder netcheck` and checks their MTUs for potential problems.
This is mostly relevant for end-user systems where VPNs are common. We _could_ also add it to coderd healthcheck, but until I see coderd connecting to workspaces over a VPN in the wild, I don't think its worth the UX effort.
Netcheck results get the following:
```
"interfaces": {
"error": null,
"severity": "ok",
"warnings": null,
"dismissed": false,
"interfaces": [
{
"name": "lo0",
"mtu": 16384,
"addresses": [
"127.0.0.1/8",
"::1/128",
"fe80::1/64"
]
},
{
"name": "en8",
"mtu": 1500,
"addresses": [
"192.168.50.217/24",
"fe80::c13:1a92:3fa5:dd7e/64"
]
}
]
}
```
_Technically_ not back compatible if anyone is parsing `coder netcheck` output as JSON, since the original output is now under `"derp"` in the output.
2024-06-13 10:19:36 +04:00
Steven Masley
d0fc81a51c
chore: implement cli list organization members ( #13555 )
...
example cli command:
`coder organization members`
2024-06-12 10:07:12 -10:00
Steven Masley
bbe23edc7d
chore: implement api layer for listing organization members ( #13546 )
2024-06-12 09:52:18 -10:00
Steven Masley
de9e6889bb
chore: merge organization member db queries ( #13542 )
...
Merge members queries into 1 that also joins in the user table for username.
Required to list organization members on UI/cli
2024-06-12 09:23:48 -10:00
Kyle Carberry
1ca5dc0328
chore: always use the latest released version tag when building ( #13556 )
...
* chore: always use the latest released version tag when building
* Update version.sh
Co-authored-by: Dean Sheather <dean@deansheather.com >
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-06-12 14:52:35 -04:00
Kayla Washburn-Love
28228f1bcb
feat: allow editing org icon ( #13547 )
2024-06-12 12:28:13 -06:00
Ethan
58bf0ec1c6
chore: add additional tailnet topology integration tests ( #13549 )
2024-06-12 16:02:34 +00:00
Spike Curtis
ba7d1835e5
fix: fix flake in TestWorkspaceAgent_Metadata_CatchMemoryLeak ( #13553 )
...
Fixes flake seen here: https://github.com/coder/coder/actions/runs/9461246505/job/26061605278
#13486 subtly changes the test so that `post` uses the new v2 Agent API, and when canceling context, there is a race condition where the yamux session underpinning the API can get torn down before the RPC processes the canceled context, yielding a different error response than the test was previously expecting.
I've refactored the test to just stop posting when the test finishes, rather than depend on a context cancel to end the posting goroutine.
2024-06-12 18:33:22 +04:00
Bruno Quaresma
0c627a4cb9
refactor(site): refactor filter search field ( #13545 )
2024-06-12 10:22:20 -03:00
Ethan
a11f8b003b
chore: write speedtest connection updates to stderr ( #13550 )
2024-06-12 07:10:28 +00:00
Kira Pilot
dd99897bb2
chore: updating Ashby link to be position agnostic ( #13543 )
2024-06-11 12:59:33 -04:00
Steven Masley
5ccf5084e8
chore: create type for unique role names ( #13506 )
...
* chore: create type for unique role names
Using `string` was confusing when something should be combined with
org context, and when not to. Naming this new name, "RoleIdentifier"
2024-06-11 08:55:28 -05:00
Kyle Carberry
c9cca9d56e
fix: transform underscores to hyphens for github login ( #13384 )
...
Fixes #13339 .
2024-06-11 13:34:05 +00:00
Marcin Tojek
7958c52918
docs: faq: restrict file transfers from workspaces ( #13534 )
2024-06-11 09:29:29 +00:00
Spike Curtis
1f9bdc36bf
fix: ignore yamux.ErrSessionShutdown on TestTailnetAPIConnector_Disconnects ( #13532 )
2024-06-11 11:16:49 +04:00
Ethan
dd243686e4
chore!: remove deprecated agent v1 routes ( #13486 )
2024-06-11 12:22:59 +10:00
dependabot[bot]
e7bea17e70
chore: bump braces from 3.0.2 to 3.0.3 in /site ( #13526 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 03:54:42 +03:00
dependabot[bot]
363dbad3a3
ci: bump the github-actions group with 2 updates ( #13521 )
...
Bumps the github-actions group with 2 updates: [crate-ci/typos](https://github.com/crate-ci/typos ) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `crate-ci/typos` from 1.21.0 to 1.22.3
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.21.0...v1.22.3 )
Updates `aquasecurity/trivy-action` from 0.21.0 to 0.22.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/fd25fed6972e341ff0007ddb61f77e88103953c2...595be6a0f6560a0a8fc419ddf630567fc623531d )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 01:06:40 +03:00
Garrett Delfosse
5b9a65e5c1
chore: move Batcher and Tracker to workspacestats ( #13418 )
2024-06-10 15:35:23 -04:00
Colin Adler
c7e7312cb0
fix(site): don't show start button while starting ( #13495 )
2024-06-10 13:28:21 -05:00
Marcin Tojek
e96652ebbc
feat: block file transfers for security ( #13501 )
2024-06-10 12:12:23 +00:00
Spike Curtis
8326a3a675
chore: change mock clock to allow Advance() within timer/tick functions ( #13500 )
2024-06-10 15:27:24 +04:00
Kyle Carberry
7c081dcd6f
fix: replace invalid utf-8 sequences in agent logs ( #13436 )
...
* fix: replace invalid utf-8 sequences in agent logs
Fixes #13433 .
* fix: replace invalid UTF-8 with ❌ , add regression
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
Co-authored-by: Spike Curtis <spike@coder.com >
2024-06-10 15:27:11 +04:00
Steven Masley
0d65143301
chore: implement audit log for custom role edits ( #13494 )
...
* chore: implement audit log for custom role edits
2024-06-07 14:11:57 -05:00
Bruno Quaresma
056a697eff
feat(site): add download logs option ( #13466 )
2024-06-07 10:03:05 -03:00
Cian Johnston
48ecee1025
chore(cli): address cli netcheck test flake ( #13492 )
...
* netcheck: removes check for healthy node report in test
* coderd/healthcheck/derphealth: do not override parent context deadline
2024-06-07 10:01:54 +01:00
Steven Masley
7c3b8b6224
chore: duplicate migration file fix, 000216 ( #13498 )
2024-06-06 16:13:00 -05:00
Steven Masley
e2b330fcba
chore: change sql parameter for custom roles to be a (name,org_id) tuple ( #13480 )
...
* chore: sql parameter to custom roles to be a (name,org) tuple
CustomRole lookup takes (name,org_id) tuples as the search criteria.
2024-06-06 15:36:37 -05:00
Bruno Quaresma
1adc19b41f
fix(site): allow user to update their name ( #13493 )
2024-06-06 15:32:51 -03:00
Bruno Quaresma
4dfa901990
refactor(site): hide select helper when only one proxy exists ( #13496 )
2024-06-06 15:17:43 -03:00
Bruno Quaresma
a8a81a61cd
fix(site): fix tooltip in start button group ( #13497 )
2024-06-06 14:51:52 -03:00
Kayla Washburn-Love
44a70a5bc2
feat: edit org display names and descriptions ( #13474 )
2024-06-06 10:59:59 -06:00
Cian Johnston
1131772e79
feat(coderd): set full name from IDP name claim ( #13468 )
...
* Updates OIDC and GitHub OAuth login to fetch set name from relevant claim fields
* Adds CODER_OIDC_NAME_FIELD as configurable source of user name claim
* Adds httpapi function to normalize a username such that it will pass validation
* Adds firstName / lastName fields to dev OIDC setup
2024-06-06 13:37:08 +01:00
Colin Adler
e743588843
docs: bump k8s install version ( #13487 )
2024-06-06 03:31:32 +00:00
Colin Adler
37676c46d5
chore(scripts): remove remaining gh_auth calls from release scripts ( #13485 )
2024-06-05 22:24:26 -05:00
Jon Ayers
7995d7c3d6
fix: only render tooltip when require_active_version enabled ( #13484 )
2024-06-06 02:52:49 +00:00
Colin Adler
f1b42a15fa
fix(site): show workspace start button when require active version is enabled ( #13482 )
2024-06-05 16:50:52 -05:00
Steven Masley
8f62311f00
chore: remove organization_id suffix from org_member roles in database ( #13473 )
...
Organization member's table is already scoped to an organization.
Rolename should avoid having the org_id appended.
Wipes all existing organization role assignments, which should not be used anyway.
2024-06-05 11:25:02 -05:00
Spike Curtis
fade8ba759
fix: fix MeasureLatencyRecvTimeout to accept send=0 ( #13477 )
...
Fixes the flake seen here: https://github.com/coder/coder/runs/25832852690
Linux is not a real time operating system, and so there is no guarantee that subsequent `time.Now()` `time.Since()` calls will return a non-zero time. This assert is mainly there to ensure we don't return `-1`.
2024-06-05 18:27:56 +04:00
Spike Curtis
775fc3f5e9
chore: add Now, Since, AfterFunc to clock; use clock for configmaps test ( #13476 )
...
* chore: add Now, Since, AfterFunc to clock; use clock for configmaps test
* chore: update flake.nix vendor hash
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2024-06-05 16:00:02 +04:00
Spike Curtis
ffcfbb6c55
chore: add example test case for clock package ( #13465 )
2024-06-05 15:49:31 +04:00
Spike Curtis
9c3fd5dd26
chore: add explicit Wait() to clock.Advance() ( #13464 )
2024-06-05 15:37:16 +04:00
Spike Curtis
42324b386a
chore: add clock pkg for testing time ( #13461 )
...
Adds a package for testing time/timer/ticker functions. Implementation is limited to `NewTimer` and `NewContextTicker`, but will eventually be expanded to all `time` functions from the standard library as well as `context.WithTimeout()`, `context.WithDeadline()`.
Replaces `benbjohnson/clock` for the pubsub watchdog, as a proof of concept.
Eventually, as we expand functionality, we will replace most time-related functions with this library for testing.
2024-06-05 13:55:45 +04:00
Ethan
a4bba520a2
feat(cli): add json output to coder speedtest ( #13475 )
2024-06-05 08:31:44 +00:00
Mathias Fredriksson
9a757f8e74
chore(scripts): fix release promote stable to set latest tag ( #13471 )
2024-06-04 23:01:26 +00:00
dependabot[bot]
83ac386533
chore: bump ejs from 3.1.9 to 3.1.10 in /site ( #13447 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 23:52:59 +03:00
Kayla Washburn-Love
0ea89a3d41
chore: add cleanup callbacks to some useEffect calls ( #13444 )
2024-06-04 12:18:03 -06:00
Stephen Kirby
213848e2e3
chore(docs): rename banners and show usage of multiple ( #13435 )
...
* renamed banners in docs
* fmt
* Update appearance.md
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
* fmt
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
Co-authored-by: Ben <me@bpmct.net >
2024-06-04 17:49:13 +00:00
Ben Potter
8435b70bea
chore: update docs for v2.12 mainline and v2.11 stable ( #13469 )
...
* chore: update docs for v2.12 mainline and v2.11 stable
* remove broken link
2024-06-04 12:22:13 -05:00
Mathias Fredriksson
3b7f9534fb
chore(scripts): fix dry run for autoversion in release.sh ( #13470 )
2024-06-04 20:10:15 +03:00
Steven Masley
e3206612e1
chore: implement typed database for custom permissions (breaks existing custom roles) ( #13457 )
...
* chore: typed database custom permissions
* add migration to fix any custom roles out there
2024-06-04 09:27:44 -05:00
Cian Johnston
168d2d6ba0
chore(coderd): add update user profile test for members ( #13463 )
2024-06-04 14:17:17 +01:00
Marcin Tojek
cd32c42699
fix(cli): inherit provisioner tags from last template version ( #13462 )
2024-06-04 11:59:54 +00:00
Muhammad Atif Ali
e527bc6242
chore(dogfood): replace deprecated coder_workspace.owner_oidc_access_token and add order to agent metadata ( #13456 )
2024-06-04 09:21:01 +01:00
Mathias Fredriksson
a51076a4cd
chore(scripts): fix unbound variable in tag_version.sh ( #13428 )
2024-06-03 21:29:24 +00:00
Kayla Washburn-Love
78b8264a90
feat(site): add deployment menu to navbar ( #13401 )
2024-06-03 15:05:49 -06:00
Muhammad Atif Ali
c7233eccec
chore(dogfood): bump module versions ( #13455 )
2024-06-04 00:03:34 +03:00
Colin Adler
40390ecc30
chore: fix TestServer/Prometheus/DBMetricsDisabled test flake ( #13453 )
...
See: https://github.com/coder/coder/actions/runs/9352137263/job/25739550487#step:5:368
2024-06-03 15:38:59 -05:00
Kayla Washburn-Love
2806752c7d
chore: add light mode snapshot to chromatic for WorkspaceBuildPageView ( #13449 )
2024-06-03 13:50:59 -06:00
Colin Adler
e4ac691468
chore: fix (*coderdtest.WorkspaceAgentWaiter).Wait() flake ( #13451 )
2024-06-03 14:46:56 -05:00
Colin Adler
43ef00401c
chore: linting fixes ( #13450 )
2024-06-03 14:33:37 -05:00
Steven Masley
27f26910b6
chore: external auth validate response "Forbidden" should return invalid, not an error ( #13446 )
...
* chore: add unit test to delete workspace from suspended user
* chore: account for forbidden as well as unauthorized response codes
2024-06-03 13:16:51 -05:00
dependabot[bot]
0b019cad77
chore: bump google.golang.org/api from 0.181.0 to 0.182.0 ( #13439 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.181.0 to 0.182.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.181.0...v0.182.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 12:30:12 -05:00
Colin Adler
9d00a26a90
fix: add missing route for codersdk.PostLogSource ( #13421 )
2024-06-03 12:29:50 -05:00
dependabot[bot]
8cdd468107
chore: bump github.com/coder/terraform-provider-coder from 0.22.0 to 0.23.0 ( #13440 )
...
Bumps [github.com/coder/terraform-provider-coder](https://github.com/coder/terraform-provider-coder ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/coder/terraform-provider-coder/releases )
- [Changelog](https://github.com/coder/terraform-provider-coder/blob/main/.goreleaser.yml )
- [Commits](https://github.com/coder/terraform-provider-coder/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: github.com/coder/terraform-provider-coder
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 12:29:29 -05:00
Kayla Washburn-Love
cb94dfb1f6
fix: fix build error background color ( #13445 )
2024-06-03 11:18:44 -06:00
Kayla Washburn-Love
79fd736387
chore(site): enable React's StrictMode ( #13399 )
2024-06-03 10:03:46 -06:00
Steven Masley
973cc2b875
chore: add edit organization role to cli ( #13365 )
...
Editing custom org roles from hidden org cli command.
2024-06-03 09:34:10 -05:00
Steven Masley
24ba81930b
chore: return failed refresh errors on external auth as string (was boolean) ( #13402 )
...
* chore: return failed refresh errors on external auth
Failed refreshes should return errors. These errors are captured
as validate errors.
2024-06-03 09:33:49 -05:00
Marcin Tojek
bf98b0dfe4
fix: correct swagger description for Insights API ( #13442 )
2024-06-03 15:48:31 +02:00
Colin Adler
b723da9e91
chore: upgrade terraform to v1.8.5 ( #13429 )
2024-06-02 13:10:28 -04:00
Kayla Washburn-Love
b248f125e1
chore: rename notification banners to announcement banners ( #13419 )
2024-05-31 10:59:28 -06:00
Garrett Delfosse
de8149fbfd
chore: move template meta last_used_at update to workspacestats ( #13415 )
2024-05-31 12:26:19 -04:00
Michael Smith
19530c6b44
fix: update DeleteWorkspaceOptions to pick properties correctly ( #13423 )
...
* fix: update typo
* fix: update typo in call site
* fix: update type for deleteWorkspace mock
* fix: update one more type mismatch
2024-05-31 10:23:59 -04:00
Mathias Fredriksson
4758952ebc
chore(scripts): fix expression interpreted as exit code on some Bash versions ( #13417 )
2024-05-30 17:24:41 +00:00
Kira Pilot
bee4ece1b9
fix: update install.sh to remove dead doc link ( #13308 )
...
* chore(docs): update install.sh to remove dead doc link
* Update install.sh
Co-authored-by: Kyle Carberry <kyle@coder.com >
* escaping script properly
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2024-05-30 10:39:17 -04:00
Danny Kopping
7569cccc51
chore: remove git pinning ( #13414 )
...
Alpine 3.20 includes 2.45.1 by default: https://git.alpinelinux.org/aports/tree/main/git/APKBUILD?h=3.20-stable#n56
Follow-up from https://github.com/coder/coder/pull/13411#issuecomment-2139028721
Signed-off-by: Danny Kopping <danny@coder.com >
2024-05-30 15:58:32 +02:00
Danny Kopping
59ab5053b1
fix: return error if agent init script fails to download valid binary ( #13280 )
2024-05-30 13:33:00 +02:00
Cian Johnston
e176867d77
chore: update deprecated usage of coder_workspace.owner* fields ( #13390 )
...
Per https://github.com/coder/terraform-provider-coder/releases/tag/v0.23.0
Performs a mechanical rename of existing usage deprecated fields in the latest version of the coder/coder provider.
Closes #13382
2024-05-30 11:31:51 +01:00
Cian Johnston
7cc96f5d40
chore(docs): add recommendations for dependency management ( #13400 )
2024-05-30 10:17:26 +01:00
Muhammad Atif Ali
7a7bef0dab
ci: fix syntax issue in docker-base.yaml ( #13412 )
2024-05-30 08:49:30 +00:00
Danny Kopping
a1671a633c
Upgrade to git v2.45.1 to fix alpine 3.20 builds ( #13411 )
...
Possibly fixes https://github.com/coder/coder/issues/13407
Signed-off-by: Danny Kopping <danny@coder.com >
2024-05-30 08:36:24 +00:00
Muhammad Atif Ali
6730c24c58
ci: build base image on PRs ( #13409 )
2024-05-30 08:35:37 +00:00
Spike Curtis
5aea80381c
fix: increses DERP send queue length to 512 for increased throughput ( #13406 )
2024-05-30 11:46:18 +04:00
Mathias Fredriksson
9eb797eb5a
chore(scripts): add safety check for difference between dry run release notes ( #13398 )
2024-05-29 22:01:10 +03:00
Mathias Fredriksson
5fb231774c
chore(scripts): add custom gh auth to release script ( #13396 )
2024-05-29 18:37:04 +00:00
Mathias Fredriksson
9ae825ebae
chore(scripts): push version bump pr branch in release script ( #13397 )
2024-05-29 18:30:42 +00:00
Mathias Fredriksson
374f0a0fd1
chore(scripts): handle renamed cherry-pick commits in release script ( #13395 )
2024-05-29 21:30:11 +03:00
Michael Brewer
bc8126fa45
fix(cli): skip optional coder_external_auth ( #13368 )
...
* fix(cli): skip over coder_external_auth that are optional
* chore: Delete package-lock.json
2024-05-29 17:37:54 +00:00
Garrett Delfosse
5789ea5397
chore: move stat reporting into workspacestats package ( #13386 )
2024-05-29 11:49:08 -04:00
Steven Masley
afd9d3b35f
feat: add api for patching custom org roles ( #13357 )
...
* chore: implement patching custom organization roles
2024-05-29 09:49:43 -05:00
Matt Vollmer
b69f6358f0
Update manifest.json ( #13391 )
2024-05-29 12:37:06 +00:00
Cian Johnston
cca3cb1c55
feat(provisioner): pass owner git ssh key ( #13366 )
2024-05-29 11:43:08 +01:00
Spike Curtis
b7edf5bbc7
fix: block writes from gVisor to tailscale instead of dropping ( #13389 )
...
fixes : #13108
upgrades our tailscale fork to include https://github.com/coder/tailscale/pull/52
2024-05-29 14:30:24 +04:00
Spike Curtis
84b3121777
fix: stop logging workspace agent unless verbose ( #13378 )
2024-05-29 08:17:35 +04:00
Spike Curtis
a551aa51ab
fix: respect --disable-direct-connections on coder speedtest ( #13377 )
2024-05-29 08:07:48 +04:00
Stephen Kirby
ec78f54941
added jetbrains fleet link to manifest.json ( #13363 )
2024-05-29 06:55:22 +03:00
dependabot[bot]
ef4ed64a29
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.61.0 to 1.64.0 ( #13316 )
...
Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.61.0 to 1.64.0.
---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-29 06:51:59 +03:00
Colin Adler
02c36868b2
chore: upgrade go.uber.org/goleak ( #13388 )
...
The latest published version is broken on go 1.20
2024-05-28 17:15:37 -05:00
dependabot[bot]
7ea510e091
chore: bump github.com/gohugoio/hugo from 0.125.3 to 0.126.1 ( #13323 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.125.3 to 0.126.1.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.125.3...v0.126.1 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 15:49:34 -05:00
dependabot[bot]
18692058a9
chore: bump google.golang.org/grpc from 1.63.2 to 1.64.0 ( #13319 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.63.2 to 1.64.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.2...v1.64.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 15:48:58 -05:00
dependabot[bot]
5a8a254c93
chore: bump github.com/hashicorp/hc-install from 0.6.3 to 0.7.0 ( #13372 )
...
Bumps [github.com/hashicorp/hc-install](https://github.com/hashicorp/hc-install ) from 0.6.3 to 0.7.0.
- [Release notes](https://github.com/hashicorp/hc-install/releases )
- [Commits](https://github.com/hashicorp/hc-install/compare/v0.6.3...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/hc-install
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 20:17:23 +00:00
dependabot[bot]
00f6cfe3cf
chore: bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 ( #13374 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 20:04:49 +00:00
Dean Sheather
9299e9f6ba
chore: hard NAT <-> easy NAT integration test ( #13314 )
2024-05-29 06:04:07 +10:00
dependabot[bot]
e5d848f19d
chore: bump github.com/valyala/fasthttp from 1.53.0 to 1.54.0 ( #13373 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.53.0 to 1.54.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.53.0...1.54.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 15:01:03 -05:00
dependabot[bot]
1edd46dd5f
chore: bump github.com/hashicorp/terraform-json from 0.21.0 to 0.22.1 ( #13322 )
...
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json ) from 0.21.0 to 0.22.1.
- [Release notes](https://github.com/hashicorp/terraform-json/releases )
- [Commits](https://github.com/hashicorp/terraform-json/compare/v0.21.0...v0.22.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-json
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 19:54:06 +00:00
dependabot[bot]
762cb84f4a
chore: bump github.com/aws/aws-sdk-go-v2 from 1.26.1 to 1.27.0 ( #13324 )
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.26.1...v1.27.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 19:48:23 +00:00
Steven Masley
6293c33746
chore: add refresh token and error to user's external auth page ( #13380 )
...
* chore: add story for failed refresh error
* chore: add refresh icon to tokens that can refresh
2024-05-28 14:07:22 -05:00
dependabot[bot]
5b78ec97b6
chore: bump alpine from 3.19.1 to 3.20.0 in /scripts ( #13375 )
...
Bumps alpine from 3.19.1 to 3.20.0.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 12:45:16 -05:00
Kyle Carberry
79d73f77f5
chore: skip Azure TestExpiresSoon ( #13385 )
...
Adds some context to the test skip so it can be removed or enabled in the future.
2024-05-28 16:45:41 +00:00
dependabot[bot]
a1d3b82dd1
ci: bump aquasecurity/trivy-action from 0.20.0 to 0.21.0 in the github-actions group ( #13376 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 19:57:36 +03:00
Muhammad Atif Ali
47f8f5d963
chore(docs): update github app permission to read org members ( #13362 )
2024-05-24 23:15:29 +03:00
dependabot[bot]
60224fa216
chore: bump github.com/fatih/color from 1.16.0 to 1.17.0 ( #13321 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-05-24 16:45:11 +00:00
dependabot[bot]
87dd878779
chore: bump google.golang.org/api from 0.180.0 to 0.181.0 ( #13317 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-24 19:33:35 +03:00
dependabot[bot]
ff617cc545
chore: bump github.com/valyala/fasthttp from 1.52.0 to 1.53.0 ( #13318 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-24 18:46:57 +03:00
Spike Curtis
a0962ba089
fix: wait for PGCoordinator to clean up db state ( #13351 )
...
c.f. https://github.com/coder/coder/pull/13192#issuecomment-2097657692
We need to wait for PGCoordinator to finish its work before returning on `Close()`, so that we delete database state (best effort -- if this fails others will filter it out based on heartbeats).
2024-05-24 12:01:03 +04:00
Dean Sheather
e5bb0a7a00
chore: add easy NAT integration tests part 2 ( #13312 )
2024-05-24 16:32:30 +10:00
Steven Masley
1b4ca00428
chore: include custom roles in list org roles ( #13336 )
...
* chore: include custom roles in list org roles
* move cli show roles to org scope
2024-05-23 07:54:59 -10:00
Kayla Washburn-Love
d748c6d718
fix(site): correct the size and position of the timeline trail in safari ( #13348 )
2024-05-23 11:25:10 -06:00
Marcin Tojek
98fa823c79
docs: describe workspace tags ( #13352 )
2024-05-23 15:20:50 +02:00
Spike Curtis
b43344b672
feat: use latest gVisor and go 1.22.3 ( #13338 )
2024-05-23 08:22:44 -04:00
Cian Johnston
c67eba10d5
chore: update scale docs to include guidelines for wsproxies ( #13350 )
2024-05-23 10:00:23 +01:00
Marcin Tojek
c2837a62e4
feat: evaluate provisioner tags ( #13333 )
2024-05-23 07:53:51 +00:00
Colin Adler
fa9edc1f42
chore(scripts): remove gh_auth from release.sh ( #13347 )
...
It breaks the `gh` cli for creating workflows.
2024-05-22 14:28:21 -05:00
Colin Adler
a40e954afc
chore(docs): update k8s mainline version ( #13346 )
2024-05-22 14:01:11 -05:00
Kyle Carberry
3364abecdd
chore: generate terraform testdata with matching terraform version ( #13343 )
...
Terraform changed the default output of the `terraform graph` command. You must put `-type=plan` to keep the prior behavior.
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2024-05-22 12:45:47 -05:00
Ammar Bandukwala
ed6ee9aaa8
chore(README): add hiring link ( #13345 )
2024-05-22 12:01:29 -05:00
Bruno Quaresma
390ff9ac05
refactor(site): hide unavailable usage information ( #13341 )
2024-05-22 13:26:59 +00:00
Justin Shoffstall
7ea4a89a20
chore: update kubernetes.md, bumping stable from v2.9.4 to v2.10.2 ( #13275 )
2024-05-22 12:24:28 +03:00
Bruno Quaresma
78deaba481
feat(site): show "update and start" button when update is forced ( #13334 )
2024-05-21 19:29:54 +00:00
Bruno Quaresma
f27f5c0002
feat(site): show number of times coder_app is opened ( #13335 )
2024-05-21 16:04:41 -03:00
Kayla Washburn-Love
3f1e9c038a
feat(coderd): add endpoints for editing and deleting organizations ( #13287 )
2024-05-21 12:46:31 -06:00
Steven Masley
0a86d6d176
chore: expose formatExamples enterprise commands ( #13304 )
...
Exporting it allows enterprise functions to also use it.
2024-05-21 13:26:34 -05:00
Steven Masley
c61b64be61
feat: add hidden enterprise cmd command to list roles ( #13303 )
...
* feat: add hidden enterprise cmd command to list roles
This includes custom roles, and has a json ouput option for
more granular permissions
2024-05-21 13:14:00 -05:00
Asher
8e78b9495d
feat: open most recent directory or workspace when launching VS Code ( #13326 )
2024-05-21 09:19:59 -08:00
Dean Sheather
273209432d
chore: fix tailnet integration test flake ( #13313 )
2024-05-21 12:57:39 +10:00
Marcin Tojek
b8b80fe6d2
feat: store coder_workspace_tags in the database ( #13294 )
2024-05-20 13:30:19 +00:00
Cian Johnston
45b45f1107
ci: re-enable test migrations in release workflow ( #13307 )
2024-05-20 10:35:06 +01:00
Kayla Washburn-Love
a63d427efd
chore: add unique org name constraint to db ( #13311 )
2024-05-17 12:40:38 -06:00
Bruno Quaresma
4af0f093ee
fix(site): fix floating number on duration fields ( #13209 )
2024-05-17 15:26:00 -03:00
dependabot[bot]
d8bb5a05db
chore: bump github.com/fergusstrange/embedded-postgres from 1.26.0 to 1.27.0 ( #13255 )
...
Bumps [github.com/fergusstrange/embedded-postgres](https://github.com/fergusstrange/embedded-postgres ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/fergusstrange/embedded-postgres/releases )
- [Commits](https://github.com/fergusstrange/embedded-postgres/compare/v1.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: github.com/fergusstrange/embedded-postgres
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-17 12:03:32 -05:00
Colin Adler
f176ff532f
ci: re-pin actions/dependency-review-action back to a release ( #13309 )
2024-05-17 11:55:30 -05:00
Cian Johnston
f23d4802b5
ci: fix test-migrations target when main branch is not present locally ( #13306 )
2024-05-17 10:24:56 +01:00
Mathias Fredriksson
f66d0445da
chore(scripts): fix stable release promote script ( #13204 )
2024-05-17 08:25:10 +00:00
Mathias Fredriksson
0998cedb5c
chore(scripts): fix a few release script changelog issues ( #13200 )
2024-05-17 11:19:48 +03:00
Colin Adler
92c5dfa266
docs: bump k8s install version ( #13302 )
2024-05-16 20:24:03 +00:00
Colin Adler
80538c079d
chore: update git -> 2.43.4 and terraform -> 1.7.5 ( #13299 )
...
This fixes an RCE in git and gets us one minor version closer to fixing
a critical Terraform vulnerability. In the next release we'll bump to
1.8.x.
2024-05-16 19:07:07 +00:00
Steven Masley
ad8c314130
chore: implement api for creating custom roles ( #13298 )
...
api endpoint (gated by experiment) to create custom_roles
2024-05-16 13:47:47 -05:00
Colin Adler
85de0e966d
chore: fix TestMeasureLatency/MeasureLatencyRecvTimeout flake ( #13301 )
2024-05-16 13:42:42 -05:00
Steven Masley
cf91eff7cf
chore: implement databased backend for custom roles ( #13295 )
...
Includes db schema and dbauthz layer for upserting custom roles. Unit test in `customroles_test.go` verify against escalating permissions through this feature.
2024-05-16 13:11:26 -05:00
Steven Masley
194be12133
chore: verify validity of built in rbac roles ( #13296 )
...
Verifies our built in roles are valid according to our policy.go. Working on custom roles requires the dynamic roles to adhere to these rules. Feels fair the built in ones do too.
2024-05-16 12:07:44 -05:00
Mathias Fredriksson
a0fce363cd
feat(coderd): add times_used to coder_apps in insights API ( #13292 )
...
For now, only applied to `coder_app`s, same logic can be implemented for
VS Code, SSH, etc.
Part of #13099
2024-05-16 16:53:01 +03:00
Michael Smith
63e06853eb
fix: update tests for useClipboard to minimize risks of flakes ( #13250 )
...
* wip: commit progress on test revamps
* fix: update existing tests to new format
* chore: add test case for global snackbar
* refactor: consolidate files
* refactor: make http dependency more explicit
* chore: add extra test case for exposed error value
* docs: fix typos
* fix: make sure clipboard is reset between test runs
* docs: add more context to comments
* refactor: update mock console.error logic to use jest.spyOn
* docs: add more clarifying comments
* refactor: split off type alias for clarity
2024-05-15 16:59:15 -04:00
Stephen Kirby
114fb31fbb
fixed sharable port + coder_app interaction ( #13285 )
2024-05-15 14:40:46 -05:00
Kayla Washburn-Love
fc6f18aa96
feat(site): add an organization switcher to the user menu ( #13269 )
2024-05-15 13:14:34 -06:00
Steven Masley
1f5788feff
chore: remove rbac psuedo resources, add custom verbs ( #13276 )
...
Removes our pseudo rbac resources like `WorkspaceApplicationConnect` in favor of additional verbs like `ssh`. This is to make more intuitive permissions for building custom roles.
The source of truth is now `policy.go`
2024-05-15 11:09:42 -05:00
Steven Masley
cb6b5e8fbd
chore: push rbac actions to policy package ( #13274 )
...
Just moved `rbac.Action` -> `policy.Action`. This is for the stacked PR to not have circular dependencies when doing autogen. Without this, the autogen can produce broken golang code, which prevents the autogen from compiling.
So just avoiding circular dependencies. Doing this in it's own PR to reduce LoC diffs in the primary PR, since this has 0 functional changes.
2024-05-15 09:46:35 -05:00
Bruno Quaresma
f14927955d
fix(site): fix group badge visual ( #13263 )
2024-05-14 13:52:16 -03:00
Kayla Washburn-Love
a8a0be98b8
chore: expose all organization ids from AuthContext ( #13268 )
2024-05-14 10:48:15 -06:00
Garrett Delfosse
721ab2a1b4
chore: add workspace activity linter ( #13273 )
2024-05-14 12:31:31 -04:00
Kayla Washburn-Love
2b29559984
chore: add setting to enable multi-organization ui ( #13266 )
2024-05-13 14:41:45 -06:00
Steven Masley
9ced001570
chore: add multi-org experiment for UI view toggling ( #13260 )
...
* chore: Add multi-org experiment
UI will use to toggle different views
2024-05-13 13:46:01 -05:00
Garrett Delfosse
ebee9288ae
fix: properly convert max port share level for oss ( #13261 )
2024-05-13 14:37:51 -04:00
Bruno Quaresma
a5a64948cd
feat(site): open README links in new tab ( #13264 )
2024-05-13 15:11:01 -03:00
Bruno Quaresma
8412450ae3
chore(site): fix portforward issue with vite ( #13262 )
2024-05-13 17:13:41 +00:00
dependabot[bot]
c41d0efff9
chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1 ( #13232 )
...
* chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1
2024-05-13 13:01:28 +00:00
Muhammad Atif Ali
7358c1b1ac
chore(dogfood): bump module versions to latest ( #13246 )
...
We should use the latest versions as these are the ones most customers will use.
We can automate this with @dependabot once we resolve https://github.com/coder/registry.coder.com/issues/13
2024-05-13 09:51:47 +03:00
dependabot[bot]
4e7381341f
chore: bump google.golang.org/api from 0.176.1 to 0.180.0 ( #13235 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 23:34:59 +03:00
dependabot[bot]
228b99d9c2
chore: bump google.golang.org/protobuf from 1.33.0 to 1.34.1 ( #13236 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 23:33:37 +03:00
Michael Smith
f13b1c9af6
refactor: improve test isolation for Axios API logic ( #13125 )
...
* wip: commit progress on code split-up
* wip: commit more progress
* wip: finish initial version of class implementation
* chore: update all import paths to go through client instance
* fix: remove temp comments
* refactor: smoooooooosh the API
* refactor: update import setup for tests
2024-05-12 19:05:22 +00:00
dependabot[bot]
5ddbeddf85
chore: bump protobufjs from 7.2.4 to 7.2.5 in /site ( #13245 )
...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) from 7.2.4 to 7.2.5.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.2.4...protobufjs-v7.2.5 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 22:19:19 +00:00
dependabot[bot]
3d707cbe5a
chore: bump tar from 6.2.0 to 6.2.1 in /site ( #13244 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-11 01:10:39 +03:00
Jon Ayers
ee817b4d80
fix: fix nix flake sed command ( #13243 )
2024-05-11 01:10:19 +03:00
dependabot[bot]
c557c25b3d
chore: bump golang.org/x/tools from 0.20.0 to 0.21.0 ( #13237 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-11 00:08:38 +03:00
Jon Ayers
82c1562f82
fix: skip license review for dependabot ( #13239 )
2024-05-10 18:14:03 +00:00
dependabot[bot]
8c9560ddb8
ci: bump the github-actions group with 2 updates ( #13238 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 17:38:07 +00:00
Kayla Washburn-Love
7eb228e3ff
feat: popover paywall in appearance settings ( #13217 )
2024-05-10 11:21:21 -06:00
Muhammad Atif Ali
6182ee90f0
chore: remove dependabot config for dogfood template ( #13230 )
2024-05-10 20:14:37 +03:00
Danny Kopping
989575c5b6
chore: prevent commit signing in tests ( #13222 )
2024-05-10 16:35:59 +02:00
Danny Kopping
4671ebb330
feat: measure pubsub latencies and expose metrics ( #13126 )
2024-05-10 12:31:49 +00:00
Kayla Washburn-Love
e14f8fb64b
fix(install.sh): install from github when using --stable on macOS ( #13216 )
2024-05-09 13:14:31 -06:00
Muhammad Atif Ali
679099373b
docs(ides): document connection via JetBrains Fleet ( #13179 )
...
* docs: add docs to connect via JetBrains Fleet
* Create fleet.md
* Update fleet.md
* Create ssh-connect-to-coder.png
* Add files via upload
* `make fmt`
* Update fleet.md
* Update docs/ides/fleet.md
Co-authored-by: Kyle Carberry <kyle@coder.com >
* Update fleet.md
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2024-05-09 21:29:53 +03:00
Kayla Washburn-Love
d8e0be6ee6
feat: add support for multiple banners ( #13081 )
2024-05-08 15:40:43 -06:00
Steven Masley
a4bd50c985
chore: enable terraform provisioners in e2e by default ( #13134 )
...
* skip docker test for now, it leaks containers
2024-05-08 13:34:22 -05:00
Spike Curtis
1832a755e1
docs: describe AWS hard NAT ( #13205 )
...
Documents what I've learned about getting direct connections on AWS. Several customers have had issues.
2024-05-08 20:29:12 +04:00
Bruno Quaresma
35cb572888
refactor(site): refactor the workspace settings form ( #13198 )
2024-05-08 13:12:48 -03:00
Bruno Quaresma
24448e79fe
fix: prevent extending if template disallows ( #13182 )
2024-05-08 12:58:14 -03:00
Stephen Kirby
c73d5a2617
docs: bump mainline version to v2.11.0 ( #13202 )
...
* docs: bump mainline version to v2.11.0
* bump release schedule
2024-05-07 16:29:51 -05:00
Mathias Fredriksson
06dd656e08
ci: disable make test-migrations in release.yaml ( #13201 )
2024-05-07 17:15:12 +00:00
dependabot[bot]
b7a921a2bf
chore: bump express from 4.18.2 to 4.19.2 in /site ( #13196 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 11:08:33 -04:00
dependabot[bot]
30227dae97
chore: bump follow-redirects from 1.15.4 to 1.15.6 in /site ( #13197 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 11:08:24 -04:00
dependabot[bot]
96f2cec541
chore: bump vite from 4.5.2 to 4.5.3 in /site ( #13189 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 14:01:13 +03:00
dependabot[bot]
3905e2c541
chore: bump undici from 6.7.1 to 6.11.1 in /site ( #13190 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.7.1 to 6.11.1.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.7.1...v6.11.1 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 14:00:48 +03:00
Colin Adler
421c0d1242
chore: add nginx topology to tailnet tests ( #13188 )
2024-05-07 18:17:38 +10:00
Dean Sheather
677be9aab2
chore: add tailnet integration test CI job ( #13181 )
2024-05-07 06:21:17 +00:00
Dean Sheather
72f2efe048
chore: implement easy NAT direct integration test ( #13169 )
2024-05-07 06:07:57 +00:00
Dean Sheather
5e8f97d8c3
chore: add DERP websocket integration tests ( #13168 )
...
- `DERPForceWebSockets`: Test that DERP over WebSocket (as well as DERPForceWebSockets works). This does not test the actual DERP failure detection code and automatic fallback.
- `DERPFallbackWebSockets`: Test that falling back to DERP over WebSocket works.
Also:
- Rearranges some test code and refactors `TestTopology.StartServer` to be `TestTopology.ServerOptions` and take a struct instead of a function
Closes #13045
2024-05-06 20:37:01 -07:00
Muhammad Atif Ali
b56c9c438f
ci: only send docs-check notifications on schedule ( #13191 )
2024-05-07 01:40:18 +03:00
Idleite
6f5c183c80
docs: show the proper Redirect URI for Gitea ( #13162 )
2024-05-06 22:28:04 +00:00
Kyle Carberry
3e3118794f
chore: add build targets to nix flake ( #13186 )
...
* chore: add build targets to nix flake
Enables `nix build github:coder/coder#main`!
* Fix all packages
* Add back pnpm
* Update flake.nix
Co-authored-by: Asher <ash@coder.com >
* Remove yarn
* fmt
---------
Co-authored-by: Asher <ash@coder.com >
2024-05-06 18:21:20 -04:00
Muhammad Atif Ali
05facc971b
ci: sync terraform version ( #13187 )
2024-05-06 20:06:21 +00:00
dependabot[bot]
e7c87a806b
ci: bump the github-actions group with 2 updates ( #13177 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 22:43:17 +03:00
Spike Curtis
dfd27f559e
Revert "chore: fix build ci ( #13164 )" ( #13180 )
...
This reverts commit 886a97b425 .
2024-05-06 13:13:24 +00:00
Spike Curtis
deee9492e3
Revert "fix: install openrc service on alpine ( #12294 ) ( #12870 )" ( #13178 )
...
This reverts commit b20c63c185 .
2024-05-06 16:48:19 +04:00
Mathias Fredriksson
619ec927e9
test(coderd/database): fix DST issue in dbpurge test ( #13170 )
...
Fixes #13165
2024-05-06 14:14:38 +03:00
Spike Curtis
e76b595052
fix: use a native websocket.NetConn for agent RPC client ( #13142 )
...
One cause of #13139 is a peculiar failure mode of `WebsocketNetConn` which causes it to return `context.Canceled` in some circumstances when the underlying websocket fails. We have special processing for that error in the `agent.run()` routine, which is erroneously being triggered.
Since we don't actually need the returned context from `WebsocketNetConn`, we can simplify and just use the netConn from the `websocket` library directly.
2024-05-06 15:00:34 +04:00
Spike Curtis
d51c6912a7
fix: make handleManifest always signal dependents ( #13141 )
...
Fixes #13139
Using a bare channel to signal dependent goroutines means that we can only signal success, not failure, which leads to deadlock if we fail in a way that doesn't cause the whole `apiConnRoutineManager` to tear down routines.
Instead, we use a new object called a `checkpoint` that signals success or failure, so that dependent routines get unblocked if the routine they depend on fails.
2024-05-06 14:47:41 +04:00
Spike Curtis
2efb46a10e
chore: remove superfluous context.Canceled handling ( #13140 )
...
Removes a check for `context.Canceled` inside the `handleManifest` routine. This checking is handled in the `apiConnRoutineManager`, so checking inside the handler is redundant.
2024-05-06 14:33:16 +04:00
Muhammad Atif Ali
7c3ec51997
docs(admin/external-auth.md): add JFrog Artifactory guide ( #13166 )
2024-05-06 11:34:21 +03:00
Muhammad Atif Ali
3e77f5b512
chore(docs): replace git-auth with external-auth ( #13167 )
2024-05-06 11:17:19 +03:00
Dean Sheather
d956af0a3a
chore: add EasyNATDERP tailnet integration test ( #13138 )
2024-05-06 15:36:54 +10:00
Colin Adler
886a97b425
chore: fix build ci ( #13164 )
2024-05-06 05:01:47 +00:00
Colin Adler
13dd526f11
fix: prevent stdlib logging from messing up ssh ( #13161 )
...
Fixes https://github.com/coder/coder/issues/13144
2024-05-03 22:12:06 +00:00
recanman
b20c63c185
fix: install openrc service on alpine ( #12294 ) ( #12870 )
...
* fix: install openrc service on alpine (#12294 )
* fmt
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2024-05-03 21:09:23 +00:00
Michael Brewer
060f023174
feat: mask coder login token to enhance security ( #12948 )
...
* feat(login): treat coder token as a secret
* Update login.go
2024-05-03 17:03:13 -04:00
Colin Adler
205c43da99
fix(enterprise): mark nodes from unhealthy coordinators as lost ( #13123 )
...
Instead of removing the mappings of unhealthy coordinators entirely,
mark them as lost instead. This prevents peers from disappearing from
other peers if a coordinator misses a heartbeat.
2024-05-03 14:07:29 -05:00
Garrett Delfosse
a3c23ed313
chore: add docs for sharing ports ( #13136 )
...
Co-authored-by: kirby <kirby@coder.com >
Co-authored-by: Stephen Kirby <me@skirby.dev >
2024-05-03 12:38:29 -04:00
Michael Smith
34a3bdc4ec
fix: add more tests for metadata hook functionality ( #13145 )
2024-05-03 15:28:54 +00:00
Steven Masley
09f00c08df
chore: shutdown provisioner should stop waiting on client ( #13118 )
...
* chore: shutdown provisioner should stop waiting on client
* chore: add unit test that replicates failed client conn
2024-05-03 10:15:17 -05:00
Steven Masley
94a3e3a563
chore: allow terraform & echo built-in provisioners ( #13121 )
...
* chore: allow terraform & echo built-in provisioners
Built-in provisioners serve all specified types. This allows running terraform, echo, or both in built in.
The cli flag to control the types is hidden by default, to be used primarily for testing purposes.
2024-05-03 10:14:26 -05:00
Michael Smith
7873c961e3
fix: ensure signing out cannot cause any runtime render errors ( #13137 )
...
* fix: remove some of the jank around our core App component
* refactor: scope navigation logic more aggressively
* refactor: add explicit return type to useAuthenticated
* refactor: clean up ProxyContext code
* wip: add code for consolidating the HTML metadata
* refactor: clean up hook logic
* refactor: rename useHtmlMetadata to useEmbeddedMetadata
* fix: correct names that weren't updated
* fix: update type-safety of useEmbeddedMetadata further
* wip: switch codebase to use metadata hook
* refactor: simplify design of metadata hook
* fix: update stray type mismatches
* fix: more type fixing
* fix: resolve illegal invocation error
* fix: get metadata issue resolved
* fix: update comments
* chore: add unit tests for MetadataManager
* fix: beef up tests
* fix: update typo in tests
2024-05-03 10:40:06 -04:00
Dean Sheather
ed0ca76b0b
chore: do network integration tests in isolated net ns ( #13117 )
2024-05-03 05:42:13 +00:00
Steven Masley
7779c0a1dc
chore: enable playwright test extension in vscode ( #13135 )
...
* chore: enable playwright test extension in vscode
This enables using the vscode debugger in playwright tests
2024-05-02 23:14:24 +00:00
Garrett Delfosse
699e187d55
fix: remove mention of protocol lag ( #13133 )
2024-05-02 17:10:30 -04:00
Eric Paulsen
565b45deba
docs: add island integration guide ( #13113 )
...
* docs: add island integration guide
* make: fmt
* F
omit F
* fix: naming and manifest
---------
Co-authored-by: Matt Vollmer <matthewjvollmer@outlook.com >
2024-05-02 15:12:34 -04:00
Garrett Delfosse
c550d0641d
feat: move shared ports out of experiment ( #13120 )
2024-05-02 14:11:33 -04:00
Steven Masley
c2cb0e9fe2
chore: testIDP to be usable as primary auth ( #13132 )
...
Flags printed to console show as external or primary auth.
Usage assumes only 1 static oidc_member for now
2024-05-02 11:19:19 -05:00
Spike Curtis
3de737fdc8
fix: start packet capture immediately on speedtest ( #13128 )
...
I initially made this change when hacking wgengine to also capture wireguard packets going into the magicsock, so that we could capture the initial wireguard handshake.
I don't think we should ship that additional capture logic, but... it seems generally useful to capture packets from the get go on speedtest, so that you can see disco and pings before the TCP speedtest session starts.
2024-05-02 19:44:32 +04:00
Kyle Carberry
93d8812284
chore: remove codecov ( #13124 )
...
* chore: remove codecov
It wasn't being used anymore.
* Update actions packages
2024-05-01 21:47:25 +00:00
Steven Masley
845407fe7a
chore: cover deadline crossing autostart border on start ( #13115 )
...
When starting a workspace, if the deadline crosses an autostart boundary, the deadline is set to autostart + TTL.
This copies the behavior in `ActivityBumpWorkspace`, but does not require activity.
2024-05-01 10:43:04 -05:00
Bruno Quaresma
71a03a8b1d
fix(site): fix template schedule update overriding other settings ( #13114 )
2024-05-01 10:25:40 -03:00
Dean Sheather
f2dd0a8e5d
feat: try IPv6 when dialing IPv4 in workspaces ( #13116 )
2024-05-01 21:45:25 +10:00
Muhammad Atif Ali
3ff9cef498
chore(scripts): auto authenticate gh CLI in scripts on dogfood ( #13107 )
...
* chore: auto authenticate gh CLI in scripts
* fix shellcheck issues
2024-04-30 19:36:12 +03:00
Steven Masley
53f7e9e0a1
chore: dynamically determine gitlab external auth defaults ( #13102 )
...
* chore: dynamically determine gitlab external auth defaults
Static defaults work for github cloud, but not self hosted.
Self hosted setups will now have sane defaults if omitted.
2024-04-30 09:45:52 -05:00
Kyle Carberry
47993e3fcf
chore: update tailscale to fix leaking dns lookup ( #13109 )
...
See failure in: https://github.com/coder/coder/actions/runs/8887860105/job/24403798734#step:5:376
2024-04-30 12:36:16 +00:00
Kyle Carberry
d302570091
chore: remove GITHUB_TOKEN from dogfood env vars ( #13106 )
...
This was stale all the time!
2024-04-30 01:26:58 +00:00
Kyle Carberry
4e5960660e
chore: fix dependency review action ( #13105 )
...
See https://github.com/actions/dependency-review-action/issues/757
2024-04-29 20:51:01 -04:00
Kyle Carberry
fbb98b950a
chore: centralize build info for site ( #13104 )
...
The build info passed to the frontend via HTML was incorrect.
2024-04-29 20:50:49 -04:00
Kyle Carberry
1bda8a0856
feat: add deployment_id to the ui and licenses ( #13096 )
...
* feat: expose `deployment_id` in the user dropdown
* feat: add license deployment_id verification
* Ignore wireguard.com from mlc config
2024-04-29 16:50:11 -04:00
Aaron Lehmann
0e3dc2a80f
feat: influence parameter defaults through cli flag/env ( #13039 )
...
* feat: influence parameter defaults through cli flag/env
Add a --parameter-default flag / CODER_RICH_PARAMETER_DEFAULT
environment variable which overrides default values suggested for
parameters.
This allows scripts or middleware wrapping the CLI to substitute
defaults for parameter values beyond those defined at the template
level. For example, Git repository/branch parameters can be given
defaults based on the current checkout, or default parameter values can
be parsed out of files inside the repo.
* Rename defaults arg to defaultOverrides
2024-04-29 14:23:54 -04:00
Bruno Quaresma
053c56cc1a
fix(site): fix template schedule options ( #13084 )
2024-04-29 14:14:24 -03:00
dependabot[bot]
ed07921752
ci: bump crate-ci/typos from 1.20.9 to 1.20.10 in the github-actions group ( #13090 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 16:57:53 +00:00
dependabot[bot]
4a83e84a23
chore: bump github.com/jmoiron/sqlx from 1.3.5 to 1.4.0 ( #13095 )
...
Bumps [github.com/jmoiron/sqlx](https://github.com/jmoiron/sqlx ) from 1.3.5 to 1.4.0.
- [Release notes](https://github.com/jmoiron/sqlx/releases )
- [Commits](https://github.com/jmoiron/sqlx/compare/v1.3.5...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/jmoiron/sqlx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 19:54:40 +03:00
dependabot[bot]
f2a21c604b
chore: bump github.com/moby/moby ( #13093 )
...
Bumps [github.com/moby/moby](https://github.com/moby/moby ) from 26.0.1+incompatible to 26.1.0+incompatible.
- [Release notes](https://github.com/moby/moby/releases )
- [Commits](https://github.com/moby/moby/compare/v26.0.1...v26.1.0 )
---
updated-dependencies:
- dependency-name: github.com/moby/moby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 19:54:27 +03:00
dependabot[bot]
74b921cf81
chore: bump google.golang.org/api from 0.175.0 to 0.176.1 ( #13092 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.175.0 to 0.176.1.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.175.0...v0.176.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 16:54:20 +00:00
Kyle Carberry
1b3185c047
chore: lower azure expires soon ( #13097 )
...
They haven't provisioned new certificates yet.
2024-04-29 12:34:18 -04:00
Jon Ayers
8269124ab7
feat: sign windows binaries ( #13086 )
2024-04-29 10:43:27 -05:00
Colin Adler
15157c1c40
chore: add network integration test suite scaffolding ( #13072 )
...
* chore: add network integration test suite scaffolding
* dean comments
2024-04-26 17:48:41 +00:00
Cian Johnston
73ba36c9d2
chore(docs): add note regarding Apr 26 scaletest ( #13085 )
2024-04-26 17:06:36 +01:00
Garrett Delfosse
8ba05a9052
feat: add switch http(s) button to error page ( #12942 )
2024-04-26 11:52:53 -04:00
Michael Brewer
848ea7e9f1
chore: correct name for github enterprise example ( #13083 )
...
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
2024-04-26 14:43:28 +00:00
Cian Johnston
f1ef9fd673
chore(docs): add note regarding vcredist for embedded postgres ( #13020 )
2024-04-26 10:56:43 +01:00
Mathias Fredriksson
d50a31ef62
chore(scripts): auto create autoversion PR from release script ( #13074 )
...
Ref #12465
2024-04-26 12:53:22 +03:00
Cian Johnston
365231b1e5
fix(cli): scaletest: ignore errors syncing output ( #13076 )
2024-04-26 09:18:33 +01:00
Kayla Washburn-Love
74f27719b8
feat: specify a custom "terms of service" link ( #13068 )
2024-04-25 16:36:51 -06:00
Stephen Kirby
341114a020
chore(docs): remove max_ttl docs ( #13077 )
...
* removed MAX_TTL docs, updated template-level scheduling controls
* fmt
2024-04-25 16:13:42 -05:00
Cian Johnston
99dda4a43a
fix(agent): keep track of lastReportIndex between invocations of reportLifecycle() ( #13075 )
2024-04-25 16:54:51 +01:00
Mathias Fredriksson
c24b562199
chore(scripts): fix release tagging sanity checks ( #13073 )
2024-04-25 12:26:37 +03:00
Mathias Fredriksson
46dced9cfe
chore(scripts): add release autoversion to bump releases in docs ( #13063 )
...
This PR adds a command to bump versions in docs/markdown.
This is still standalone and needs to be wired up.
For now, I'm planning on putting this in `scripts/release.sh` (checkout main -> autoversion (this command) -> commit -> submit PR).
It would be pretty neat to make it a GH actions that's triggered on release though, something for the future.
Part of #12465
2024-04-25 12:11:55 +03:00
Mathias Fredriksson
c933c75aa7
chore(scripts): add script to promote mainline to stable ( #13054 )
...
Fixes #12459
Example dry-run:
<img width="1229" alt="Screenshot 2024-04-23 at 21 16 55" src="https://github.com/coder/coder/assets/147409/7018d322-501b-41e2-bf47-af3fc39fb3d2 ">
Example dry-run for non-latest version:
<img width="1228" alt="Screenshot 2024-04-23 at 21 17 52" src="https://github.com/coder/coder/assets/147409/a05fcd44-560f-4e44-81b5-76c071c591b4 ">
**Note:** This PR does not yet update docs to reflect the promoted version. This will be part of #12465 .
2024-04-24 22:59:22 +03:00
Mathias Fredriksson
b82a782619
chore(scripts): implement mainline and stable release channels ( #13048 )
...
Fixes #12458
2024-04-24 19:43:11 +00:00
Frederik Dudzik
a6af7a5e3d
chore(README): add contributing section to readme ( #13059 )
2024-04-24 22:15:14 +03:00
Michael Smith
3f21cb8a2f
fix: update API code to use Axios instances ( #13029 )
...
* fix: update API code to use Axios instance
* docs: fix typo
* fix: update all global axios imports to use Coder instance
* fix: remove needless import
* fix: update import order
* refactor: rename coderAxiosInstance to axiosInstance
* docs: update variable reference in FE contributing docs
2024-04-24 17:01:23 +00:00
Stephen Kirby
dd27a8a634
updated helm install flags to match patches ( #13064 )
2024-04-24 10:26:36 -05:00
dependabot[bot]
39ccff97c1
chore: bump github.com/gohugoio/hugo from 0.125.2 to 0.125.3 ( #13057 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 13:39:52 +00:00
Frederik Dudzik
8b6227d031
chore(docs): add k8s terraform link to k8s installation docs ( #13040 )
...
* add k8s terraform link to k8s installation docs
* Update kubernetes.md
2024-04-24 06:28:16 -04:00
Cian Johnston
a518047f10
chore(coderd): provisionerdserver: downgrade heartbeat failure log to Warn instead of Error ( #13061 )
2024-04-24 09:36:36 +01:00
Pavel Aseev
4682355eed
chore: deprecate gauge metrics with _total suffix ( #12744 ) ( #12976 )
...
* chore: deprecate gauge metrics with _total suffix (#12744 )
Deprecated metrics:
- coderd_oauth2_external_requests_rate_limit_total
- coderd_api_workspace_latest_build_total
* Apply suggestions from code review
add link to follow-up issue
Co-authored-by: Cian Johnston <public@cianjohnston.ie >
---------
Co-authored-by: Cian Johnston <public@cianjohnston.ie >
2024-04-24 11:23:24 +03:00
Frederik Dudzik
5780050493
chore(docs): fix broken links ( #13056 )
...
* fix broken links
* fmt
2024-04-24 11:21:22 +03:00
Cian Johnston
a04c76ce40
ci: release: test migrations before building ( #13051 )
2024-04-24 08:31:01 +01:00
Kayla Washburn-Love
215dd7b152
feat: show version on login page ( #13033 )
2024-04-23 11:18:56 -06:00
Mathias Fredriksson
a69fc657f2
chore(coderd/database): reduce dbpurge load with smaller batches of agent stats ( #13049 )
2024-04-23 15:01:56 +03:00
Bruno Quaresma
2f7f9d022a
refactor(site): reorganize template schedule settings form ( #13031 )
...
Close https://github.com/coder/coder/issues/12617
**Demo**
https://github.com/coder/coder/assets/3165839/66d4f238-d31f-4ee8-a3de-ce68215b0492
**Autostop**

**Autostart**

**Dormancy**

2024-04-23 08:59:19 -03:00
Cian Johnston
e57ca3cdaa
feat(scripts): add script to check schema between migrations ( #13037 )
...
- migrations: allow passing in a custom migrate.FS
- gen/dump: extract some functions to dbtestutil
- scripts: write script to test migrations
2024-04-23 12:43:14 +01:00
dependabot[bot]
81fcdf717b
chore: bump github.com/gohugoio/hugo from 0.124.0 to 0.125.2 ( #13024 )
...
* chore: bump github.com/gohugoio/hugo from 0.124.0 to 0.125.2
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.124.0 to 0.125.2.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.124.0...v0.125.2 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* add license to allowlist
* syntax
* wrong format
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Ayers <jon@coder.com >
2024-04-23 02:27:32 +00:00
Kayla Washburn-Love
fab5591cf6
chore: change site_configs.value to text ( #13036 )
...
* chore: change `site_configs.value` to `text`
* `make gen`
2024-04-22 17:25:36 -06:00
Kyle Carberry
d3f3ace220
chore: reduce dashboard requests from seeded data ( #13034 )
...
* chore: reduce requests the dashboard makes from seeded data
We already inject all of this content in `index.html`.
There was also a bug with displaying a loading indicator when
the workspace proxies endpoint 404s.
* Fix first user fetch
* Add util
* Add cached query for entitlements and experiments
* Fix authmethods unnecessary request
* Fix unnecessary region request
* Fix fmt
* Debug
* Fix test
2024-04-22 16:07:56 -04:00
Kyle Carberry
8d1220e0c8
chore: add generate script for azure instance identity ( #13028 )
...
* chore: add generate script for azure instance identity
This also adds new issuing certificates from:
https://learn.microsoft.com/en-us/azure/security/fundamentals/azure-ca-details?tabs=certificate-authority-chains
* Fix shell lint
* Fix shell fmt
* Fix RSA issuing certificate
2024-04-22 15:39:08 -04:00
Michael Brewer
7bd1b3bdb8
chore: fix broken mainline link ( #13015 )
...
* docs(releases): fix 404 for mainline link
* Delete x.sh
* Update releases.md
* docs: format and use term 'bleeding edge' for mainline releases
2024-04-22 10:57:59 -05:00
dependabot[bot]
3af317317a
ci: bump crate-ci/typos from 1.19.0 to 1.20.9 in the github-actions group ( #13027 )
...
* ci: bump crate-ci/typos in the github-actions group
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `crate-ci/typos` from 1.19.0 to 1.20.9
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.19.0...v1.20.9 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
* Add `pn` exclusion
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2024-04-22 10:25:23 -04:00
dependabot[bot]
2e49fa94d4
chore: bump github.com/coder/terraform-provider-coder ( #13022 )
...
Bumps [github.com/coder/terraform-provider-coder](https://github.com/coder/terraform-provider-coder ) from 0.20.1 to 0.21.0.
- [Release notes](https://github.com/coder/terraform-provider-coder/releases )
- [Changelog](https://github.com/coder/terraform-provider-coder/blob/main/.goreleaser.yml )
- [Commits](https://github.com/coder/terraform-provider-coder/compare/v0.20.1...v0.21.0 )
---
updated-dependencies:
- dependency-name: github.com/coder/terraform-provider-coder
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 08:23:35 -04:00
dependabot[bot]
ea472c5388
chore: bump google.golang.org/api from 0.172.0 to 0.175.0 ( #13026 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.172.0 to 0.175.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.172.0...v0.175.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 08:23:22 -04:00
Michael Brewer
d2acb6776e
chore: fix link to install ( #13019 )
2024-04-22 08:23:09 -04:00
Mathias Fredriksson
3adcccb618
fix(coderd/database): reduce db load via dbpurge advisory locking ( #13021 )
2024-04-22 11:10:32 +00:00
Aaron Lehmann
8a1216254e
feat(cli): add --env flag for coder ssh ( #12991 )
...
This allows environment variables to be set on the SSH session.
Example:
coder ssh myworkspace --env VAR1=val1,VAR2=val2
2024-04-22 13:13:48 +03:00
Mathias Fredriksson
e17e8aa3c9
feat(coderd/database): keep only 1 day of workspace_agent_stats after rollup ( #12674 )
2024-04-22 13:11:50 +03:00
Michael Brewer
4a6693a171
chore: fix 404 for managed terraform variables ( #13018 )
2024-04-22 13:09:05 +03:00
Frederik Dudzik
b40f54f603
chore(docs): make external auth docs easier to follow ( #12970 )
...
* add additional context to github external auth provider documentation
* Apply suggestions from code review
Co-authored-by: Kyle Carberry <kyle@carberry.com >
* Update docs/admin/external-auth.md
* fmt
* fmt
---------
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2024-04-20 16:26:53 +00:00
Marcin Tojek
3d7740bd32
test(site): add e2e tests for workspace proxies ( #13009 )
2024-04-19 14:45:52 +02:00
Colin Adler
3aa0d73811
chore: fix down migration 196 ( #13006 )
...
It didn't account for null values.
2024-04-18 18:47:02 -05:00
Danny Kopping
319fd5bf1d
chore: add e2e test against an external auth provider during workspace creation ( #12985 )
2024-04-18 19:43:10 +02:00
Marcin Tojek
75223dfd8b
test(site): add e2e tests for observability
2024-04-18 12:50:34 +02:00
Ben Potter
f5a32b3f27
docs: explain that mainline stays around for one month now ( #12993 )
...
* docs: mainline stays around for one month
* switch to .x to encourage latest
2024-04-17 20:10:40 -05:00
Dean Sheather
d426569d4a
fix: make terminal raw in ssh command on windows ( #12990 )
2024-04-17 18:01:20 +00:00
Mathias Fredriksson
92190443ff
fix(coderd/metricscache): avoid logging error for no rows ( #12988 )
...
Fixes #12938
2024-04-17 20:43:13 +03:00
Colin Adler
6b4eb03192
chore: give additional time in tests for tailnetAPIConnector graceful disconnect ( #12980 )
...
Failure seen here: https://github.com/coder/coder/actions/runs/8711258577/job/23894964182?pr=12979
2024-04-17 12:38:17 -05:00
dependabot[bot]
3338cdca77
chore: bump github.com/moby/moby ( #12960 )
...
Bumps [github.com/moby/moby](https://github.com/moby/moby ) from 25.0.2+incompatible to 26.0.1+incompatible.
- [Release notes](https://github.com/moby/moby/releases )
- [Commits](https://github.com/moby/moby/compare/v25.0.2...v26.0.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/moby
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 13:30:53 -04:00
Kyle Carberry
227e632053
fix: add grace period before showing replicas license error ( #12989 )
...
Fixes #8665 .
2024-04-17 13:30:32 -04:00
Danny Kopping
b85d5d8491
feat: add warning about use of old/removed/invalid experiments ( #12962 )
2024-04-17 16:59:31 +02:00
Marcin Tojek
cb8c576c93
test(site): add e2e tests for network ( #12987 )
2024-04-17 16:06:49 +02:00
Marcin Tojek
ee7dda8111
refactor(site): verify deployment config flags in e2e tests ( #12986 )
2024-04-17 11:51:55 +00:00
Jon Ayers
0c993566dd
hotfix: skip dependency license review on main ( #12982 )
2024-04-16 23:08:22 -05:00
Jon Ayers
80f5978124
chore: add license review to CI ( #12981 )
2024-04-16 22:52:07 -05:00
Colin Adler
777dfbe965
feat(enterprise): add ready for handshake support to pgcoord ( #12935 )
2024-04-16 15:01:10 -05:00
Colin Adler
942e90270e
fix: disable azureidentity test on darwin ( #12979 )
...
See https://github.com/coder/coder/issues/12978
2024-04-16 19:33:04 +00:00
Colin Adler
231fc26c92
fix(coderd): properly calculate query latency for tailnet queries ( #12944 )
...
The defer used seems correct, but the `time.Since` will always resolve
immediately since it's a param to the deferred function.
2024-04-16 19:03:27 +00:00
Colin Adler
ba52a4fbe2
chore: fix linting issue ( #12945 )
...
The error wasn't used.
2024-04-16 13:50:46 -05:00
Cian Johnston
8e1e0f04a4
feat(cli): support bundle: show links to docs/admin/healthcheck ( #12974 )
2024-04-16 16:21:09 +01:00
Marcin Tojek
b598aef543
test(site): add e2e tests for user auth ( #12971 )
2024-04-16 14:32:07 +02:00
Cian Johnston
407e61ecd4
feat(cli): support bundle: dump healthcheck summary ( #12963 )
...
* refactor(codersdk): extract common fields from HealthReport and friends
* feat(codersdk/healthsdk): add Summarize() method
* feat(cli): support bundle: dump healthcheck summary
2024-04-16 13:31:56 +01:00
Danny Kopping
06e042acfa
chore: apply shellcheck recommendation which was causing "make lint" to fail locally ( #12972 )
2024-04-16 13:06:08 +02:00
Kyle Carberry
41ca6e4f7f
chore: add created_at to workspace resource telemetry ( #12969 )
2024-04-15 20:06:59 +00:00
Garrett Delfosse
3ab5a51ec2
feat: add listening ports protocol selector ( #12915 )
2024-04-15 15:00:24 -04:00
Marcin Tojek
49689162bb
test(site): add e2e tests for security ( #12961 )
2024-04-15 19:31:33 +02:00
Cian Johnston
9a4703a311
feat(coderd/healthcheck): improve detection of STUN issues ( #12951 )
...
Adds checks to coderd/healthcheck/derphealth for STUN issues:
- Alerts if there is not least one healthy STUN server,
- Alerts if we see variable port mapping.
2024-04-15 17:10:49 +01:00
Stephen Kirby
c13909a1a2
chore: fix broken links in the jfrog guide ( #12835 )
...
* replaced jfrog guide links
* replaced github link
* fmt
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-04-15 09:51:58 -05:00
Steven Masley
d9da054c9d
chore: update generated array type definitions in TypeScript to be readonly ( #12947 )
...
* chore: types generated handling readonly slices
* add -update flag to update goldens
* revert excess gens
* fix: update most UI types to account for readonly modifiers
* fix: remove accidental mutation from NavBarView
* fix: remove mutation warning for BatchUpdateConfirmation stories
* fix: remove mutation warning for BactchUpdateConfirmation
* fix: format ActiveUserChart
* fix: update import to make linter happy
* fix: update fmt issue
* fix: disable file write lint rule from unit test
---------
Co-authored-by: Parkreiner <throwawayclover@gmail.com >
2024-04-15 09:46:10 -04:00
Kayla Washburn-Love
7cf8577f1c
label some template settings as enterprise ( #12952 )
2024-04-15 09:24:11 -04:00
Kyle Carberry
d3790bb5be
fix: use provided username when fetching workspaces ( #12955 )
2024-04-13 14:39:57 -04:00
Kayla Washburn-Love
00fcf36999
test: add an e2e audit logs test ( #12868 )
2024-04-12 14:01:54 -06:00
Marcin Tojek
cf2d2a98bd
test(site): add e2e tests for appearance ( #12950 )
2024-04-12 14:46:44 +02:00
Cian Johnston
b71af32113
chore(docs): add support bundle guide ( #12931 )
...
Adds a guide explaining support bundles.
2024-04-12 10:11:05 +01:00
Marcin Tojek
dcf1d3a9ae
test(site): add e2e tests for experiments ( #12940 )
2024-04-12 10:42:27 +02:00
Cian Johnston
b163bc7f01
fix(support): correctly rename existing agent connection info, add real netcheck ( #12946 )
2024-04-12 09:40:04 +01:00
Kayla Washburn-Love
c5367c201b
test: fix url checks in e2e tests ( #12881 )
2024-04-11 15:48:53 -06:00
Steven Masley
93b46fe1f6
chore: skip global.setup if first user already exists ( #12930 )
...
* chore: skip global.setup if first user already exists
treat test as a setup, rather than a test
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-04-11 21:10:40 +00:00
Kayla Washburn-Love
2ad7fcc0b7
fix: show template autostop setting when it overrides the workspace setting ( #12910 )
2024-04-11 13:08:51 -06:00
Steven Masley
22785a307c
chore: add -agpl to agpl e2e artifacts ( #12943 )
...
* chore: -agpl added to agpl e2e artifacts
Before was doing 'false' at the end of artifacts
2024-04-11 16:57:40 +00:00
Steven Masley
b9936a4671
chore: deconflict e2e enterprise and AGPL artifacts in ci ( #12941 )
2024-04-11 09:42:21 -05:00
Cian Johnston
fad97a14f9
fix(cli): allow generating partial support bundles with no workspace or agent ( #12933 )
...
* fix(cli): allow generating partial support bundles with no workspace or agent
* nolint control flag
2024-04-11 10:09:10 +01:00
Spike Curtis
a231b5aef5
feat: add src_id and dst_id indexes to tailnet_tunnels ( #12911 )
...
Fixes #12780
Adds indexes to the `tailnet_tunnels` table to speed up `GetTailnetTunnelPeerIDs` and `GetTailnetTunnelPeerBindings` queries, which match on `src_id` and `dst_id`.
2024-04-11 10:05:53 +04:00
Stephen Kirby
ab116af543
added releases.md to manifest ( #12936 )
2024-04-10 18:31:21 -05:00
Steven Masley
8da8b89af7
test: verify actually uploaded license with assert ( #12934 )
...
Prior page.GetByText did not assert it existed
2024-04-10 18:02:08 -05:00
Colin Adler
e801e878ba
feat: add agent acks to in-memory coordinator ( #12786 )
...
When an agent receives a node, it responds with an ACK which is relayed
to the client. After the client receives the ACK, it's allowed to begin
pinging.
2024-04-10 17:15:33 -05:00
Kayla Washburn-Love
9cf2358114
ci: execute enterprise and non-enterprise e2e tests concurrently ( #12872 )
2024-04-10 15:42:53 -06:00
Steven Masley
7fd9a75ad9
chore: nix shell to support playwright e2e tests ( #12917 )
...
* chore: nix shell to support playwright e2e tests
nix is running an older version of chromium, so had to reduce the
playwright version.
* Add to e2e readme
* add enterprise test comment
* add note about install to readme
* make fmt
* remove shellhook message
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
* add link to nixos playwright package to get version
* formatting
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-04-10 14:08:25 -05:00
Steven Masley
566f8f231d
chore: add unit test for pass through external auth query params ( #12928 )
...
* chore: verify pass through external auth query params
Unit test added to verify behavior of query params set in the
auth url for external apps. This behavior is intended to specifically
support Auth0 audience query param.
2024-04-10 13:58:29 -05:00
Spike Curtis
06eae954c9
fix: stop sending DeleteTailnetPeer when coordinator is unhealthy ( #12925 )
...
fixes #12923
Prevents Coordinate peer connections from generating spurious database queries like DeleteTailnetPeer when the coordinator is unhealthy.
It does this by checking the health of the querier before accepting a connection, rather than unconditionally accepting it only for it to get swatted down later.
2024-04-10 22:49:13 +04:00
Steven Masley
a607d5610e
chore: disable pgcoord (HA) when --in-memory ( #12919 )
...
* chore: disable pgcoord (HA) when --in-memory
HA does not make any sense while using in-memory database
2024-04-10 11:05:55 -05:00
Steven Masley
838e8df5be
chore: merge apikey/token session config values ( #12817 )
...
* chore: merge apikey/token session config values
There is a confusing difference between an apikey and a token. This
difference leaks into our configs. This change does not resolve the
difference. It only groups the config values to try and manage any
bloat that occurs from adding more similar config values
2024-04-10 10:34:49 -05:00
Steven Masley
4dc293d930
chore: add date information to windows startup logs ( #12905 )
2024-04-10 09:41:05 -05:00
Marcin Tojek
e266ecf91b
test(site): fix flaky outdated agent test ( #12927 )
2024-04-10 16:09:44 +02:00
Garrett Delfosse
acaa254099
feat: link with protocol on shared ports ( #12908 )
2024-04-10 09:29:24 -04:00
Marcin Tojek
2f2a395ba9
e2e tests for deployment/licenses ( #12926 )
2024-04-10 15:00:39 +02:00
Marcin Tojek
b6359b0a89
fix: ignore gomock temporary files ( #12924 )
2024-04-10 08:48:56 +00:00
Spike Curtis
5469011018
fix: stop logging session shutdown as warning ( #12922 )
...
A customer hit like 200k of ErrSessionShutdown, which just dupes any errors we would have generated when shutting down the session for e.g. Ping failures.
2024-04-10 11:50:46 +04:00
Steven Masley
0a8c8ce5cc
chore: remove InsertWorkspaceAgentStat query ( #12869 )
...
* chore: remove InsertWorkspaceAgentStat query
InsertWorkspaceAgentStats (batch) exists. We only used the singular in
a single unit test place. Removing the single for the batch, reducing
the interface size.
2024-04-09 12:35:27 -05:00
Garrett Delfosse
1d4bf30c0d
feat: add s suffix to use HTTPS for ports ( #12862 )
2024-04-09 12:06:22 -04:00
Steven Masley
189b8626d0
chore: deprecate agent report-stats endpoint ( #12880 )
...
* chore: deprecate agent report-stats endpoint
Agent API is now used instead.
* Update coderd/workspaceagents.go
Co-authored-by: Spike Curtis <spike@coder.com >
---------
Co-authored-by: Spike Curtis <spike@coder.com >
2024-04-09 09:38:26 -05:00
Marcin Tojek
08451ce80c
feat: remove health link from deployment sidebar ( #12914 )
2024-04-09 13:47:47 +01:00
Mathias Fredriksson
0178bfe134
fix(examples): copy /etc/skel on init in docker template ( #12913 )
...
Fixes #10209
2024-04-09 14:54:17 +03:00
Marcin Tojek
28754a79e5
docs: describe air-gapped architecture ( #12897 )
2024-04-09 12:33:06 +02:00
coryb
d82f2fd416
fix: update typo in audit log field ( #12907 )
2024-04-08 13:57:38 -05:00
dependabot[bot]
7179c86df3
chore: bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 ( #12893 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 11:52:35 -05:00
dependabot[bot]
11123018a2
chore: bump google.golang.org/grpc from 1.62.1 to 1.63.0 ( #12892 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.62.1 to 1.63.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.1...v1.63.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 15:57:52 +00:00
dependabot[bot]
589434e8d8
chore: bump golang.org/x/tools from 0.19.0 to 0.20.0 ( #12890 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:46:16 -05:00
dependabot[bot]
9a7d8034cb
chore: bump golang.org/x/net from 0.22.0 to 0.24.0 ( #12888 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.24.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:31:09 -05:00
dependabot[bot]
f99fd807b1
chore: bump golang.org/x/sync from 0.6.0 to 0.7.0 ( #12895 )
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.6.0 to 0.7.0.
- [Commits](https://github.com/golang/sync/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:30:47 -05:00
dependabot[bot]
8ba8ec2f19
chore: bump github.com/elastic/go-sysinfo from 1.13.1 to 1.14.0 ( #12894 )
...
Bumps [github.com/elastic/go-sysinfo](https://github.com/elastic/go-sysinfo ) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/elastic/go-sysinfo/releases )
- [Commits](https://github.com/elastic/go-sysinfo/compare/v1.13.1...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/elastic/go-sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:30:32 -05:00
dependabot[bot]
24135a2d0f
chore: bump golang.org/x/term from 0.18.0 to 0.19.0 ( #12886 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/term/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 15:27:46 +03:00
Spike Curtis
3b7380fa00
fix: fix race in assertWorkspaceLastUsedAtUpdated ( #12899 )
...
fixes #12789
Stats are collected asynchronously with respect to sessions ending. Flush repeatedly so that we pick up the collection if we missed it.
2024-04-08 16:22:33 +04:00
Garrett Delfosse
f96ce80ab9
feat: add owner groups to workspace data ( #12841 )
2024-04-05 15:06:17 -04:00
Kayla Washburn-Love
c4b26f335a
test: verify that enterprise tests are being run ( #12871 )
2024-04-05 11:45:32 -06:00
Colin Adler
a2b28f80d7
fix(coderd): prevent agent reverse proxy from using HTTP[S]_PROXY envs ( #12875 )
...
Updates https://github.com/coder/coder/issues/12790
2024-04-05 12:29:08 -05:00
Mathias Fredriksson
b06452ee88
fix(install.sh): remove extracted files after installation ( #12879 )
2024-04-05 19:04:12 +03:00
Marcin Tojek
7c0fac9906
docs: describe devcontainers as deployment model ( #12877 )
2024-04-05 15:30:49 +02:00
Mathias Fredriksson
c243210ae5
fix(install.sh): change post-install advisory when installing specific version ( #12878 )
2024-04-05 15:55:11 +03:00
Michael Brewer
61e5721caa
fix(install.sh): use --version when provided ( #12873 )
2024-04-05 13:14:49 +03:00
Bruno Quaresma
3fbcdb0ddc
chore(site): add e2e tests for groups ( #12866 )
2024-04-04 21:56:28 -03:00
Kayla Washburn-Love
bc9ea61eb4
ci: disable enterprise e2e tests temporarily ( #12874 )
2024-04-04 17:39:07 -06:00
Marcin Tojek
90efa1b846
docs: describe multi-cloud architecture ( #12857 )
2024-04-04 15:42:26 +02:00
Bruno Quaresma
41b8ff3e81
chore(site): add e2e to test add and remove user ( #12851 )
2024-04-04 09:21:03 -03:00
Stephen Kirby
a7234f61a1
chore: update change log to v2.10.0 and install docs for release channels ( #12863 )
...
* 2.10.0 changelog
* updated install docs for mainline/stable releases
* make fmt
* cpp icon -> C++
* added disclaimer on MAX_TTL, support bundle info
* 'release schedule'
* lowercase mainline
* Agent OOM protection info
* minor tweak
2024-04-03 16:43:49 -05:00
Stephen Kirby
bf19e3469f
added 'JFrog' in front of XRay in guide ( #12860 )
2024-04-03 14:44:57 -05:00
Stephen Kirby
d9211b6693
chore(docs): replace FAQ twisties with h3s ( #12859 )
...
* replace FAQ twisties with h3s
* make fmt
2024-04-03 14:44:28 -05:00
Colin Adler
cb6fea61df
chore: upgrade go to 1.21.9 ( #12861 )
2024-04-03 13:20:26 -05:00
Steven Masley
a3187dc30f
chore: enforce unique linked_ids ( #12815 )
...
* chore: enforce unique linked_ids
Duplicate linked_ids make no sense. 2 users cannot share the same
source user from a provider
2024-04-03 13:17:11 -05:00
Mathias Fredriksson
65f8d18ce5
feat(install.sh): add support for --mainline (default) and --stable ( #12858 )
...
Fixes #12461
2024-04-03 20:26:48 +03:00
Jon Ayers
426e9f2b96
feat: support adjusting child proc oom scores ( #12655 )
2024-04-03 09:42:03 -05:00
Marcin Tojek
ac8d1c6696
docs: describe single region and multi-region deployments ( #12779 )
2024-04-03 12:45:01 +02:00
Kayla Washburn-Love
caa49ea6a1
chore: stabilize light theme ( #12855 )
2024-04-02 16:06:31 -06:00
Colin Adler
41914256b3
chore: update terraform version in install.sh ( #12856 )
2024-04-02 16:53:36 -05:00
Kayla Washburn-Love
1dd840d149
test: add an e2e test for removing a group ( #12844 )
2024-04-02 11:29:43 -06:00
Kayla Washburn-Love
f705f9a5eb
test: ensure RequireActiveVersion is actually set when testing with AGPL store ( #12843 )
2024-04-02 11:29:22 -06:00
Kyle Carberry
7698cfda72
chore: remove unnecessary extraction library ( #12847 )
...
This was allocating ~256KB on init.
2024-04-02 11:19:54 -04:00
Steven Masley
b5b5c37d03
docs: describe mutually exclusive create workspace template fields ( #12834 )
...
* docs: describe mutually exclusive create workspace template fields
Ideally we could do this in the OpenAPI spec, but there is no first
class "mutually exclusive" feature in OpenAPI. So in lieu of something
more complex, or changing our struct/validation, a description comment
should suffice.
* chore: Add description to code sample as well
2024-04-02 10:11:24 -05:00
Steven Masley
5137433123
chore: add validation errors to the cli output ( #12814 )
...
* chore: add validation errors to the cli output
2024-04-02 10:02:30 -05:00
Kyle Carberry
94e82f9662
chore: use fork of chroma to remove unused inits ( #12842 )
...
* chore: use fork of chroma to remove unused inits
This seems fine to do since compilation errors would occur
if it were actually in use.
Everything seems fine here.
* Update validator
2024-04-02 14:14:38 +00:00
Danny Kopping
79fb8e43c5
feat: expose workspace statuses (with details) as a prometheus metric ( #12762 )
...
Implements #12462
2024-04-02 09:57:36 +02:00
Toshiki Shimomura
114830de26
Fix coder-logstream-kube typo in deployment-logs.md ( #12845 )
2024-04-02 03:36:35 +00:00
Kyle Carberry
f5a70500d2
chore: update tailscale for to lazily load hostinfo ( #12840 )
...
Speeds up `init()` by ~10ms
2024-04-01 17:04:39 -04:00
dependabot[bot]
b47fb41783
chore: bump github.com/bramvdbogaerde/go-scp from 1.3.0 to 1.4.0 ( #12825 )
...
Bumps [github.com/bramvdbogaerde/go-scp](https://github.com/bramvdbogaerde/go-scp ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/bramvdbogaerde/go-scp/releases )
- [Commits](https://github.com/bramvdbogaerde/go-scp/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/bramvdbogaerde/go-scp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 20:48:52 +00:00
Kyle Carberry
2a30194ed7
chore: use validator fork to fix 10ms of init time ( #12837 )
...
@ammario inspired me
2024-04-01 16:31:26 -04:00
Kyle Carberry
d428c05694
chore: move log output message before logs begin streaming ( #12836 )
2024-04-01 20:02:50 +00:00
Bruno Quaresma
7c1d10b952
chore(site): upgrade storybook to v8 ( #12831 )
2024-04-01 16:12:17 -03:00
Spike Curtis
3addf7ac5d
fix: use latest coder/tailscale
...
Bad merge in #12252 clobbered #12574
2024-04-01 22:42:38 +04:00
dependabot[bot]
12ecc6554c
chore: bump google.golang.org/api from 0.171.0 to 0.172.0 ( #12827 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.171.0 to 0.172.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.171.0...v0.172.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 18:14:17 +00:00
dependabot[bot]
a4be2831d6
chore: bump github.com/charmbracelet/glamour from 0.6.0 to 0.7.0 ( #12824 )
...
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases )
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 18:13:51 +00:00
dependabot[bot]
3e28250849
chore: bump github.com/cenkalti/backoff/v4 from 4.2.1 to 4.3.0 ( #12826 )
...
Bumps [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff ) from 4.2.1 to 4.3.0.
- [Commits](https://github.com/cenkalti/backoff/compare/v4.2.1...v4.3.0 )
---
updated-dependencies:
- dependency-name: github.com/cenkalti/backoff/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 13:02:23 -05:00
dependabot[bot]
b7f5456e35
ci: bump the github-actions group with 1 update ( #12828 )
...
Bumps the github-actions group with 1 update: [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `aquasecurity/trivy-action` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/062f2592684a31eb3aa050cc61e7ca1451cecd3d...d710430a6722f083d3b36b8339ff66b32f22ee55 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 13:01:09 -05:00
Bruno Quaresma
2f437005b7
chore(site): clean up mocks after each test ( #12805 )
2024-04-01 13:14:36 -03:00
elasticspoon
cfb94284e0
feat(cli): add golden tests for errors ( #11588 ) ( #12698 )
...
* feat(cli): add golden tests for errors (#11588 )
Creates golden files from `coder/cli/errors.go`.
Adds a unit test to test against golden files.
Adds a make file command to regenerate golden files.
Abstracts test against golden files.
2024-04-01 09:19:26 -05:00
Bruno Quaresma
75bf41ba02
chore(site): use static date and ignore dynamic values for storybook ( #12830 )
2024-04-01 11:02:54 -03:00
Kayla Washburn-Love
1d2d008b45
chore: add e2e tests for template permissions ( #12731 )
2024-03-29 10:43:23 -06:00
Steven Masley
eeb3d63be6
chore: merge authorization contexts ( #12816 )
...
* chore: merge authorization contexts
Instead of 2 auth contexts from apikey and dbauthz, merge them to
just use dbauthz. It is annoying to have two.
* fixup authorization reference
2024-03-29 10:14:27 -05:00
Michael Brewer
8e2d026d99
docs: document how to run workspace-proxy as a system service ( #12810 )
...
* docs: document how to run workspace-proxy as a system service
* Update workspace-proxies.md
* Update workspace-proxies.md
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
* docs: fix duplication
---------
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
2024-03-29 15:06:32 +00:00
Kayla Washburn-Love
f3cfe10c26
chore: add more e2e template settings tests ( #12717 )
2024-03-28 16:00:27 -06:00
Steven Masley
8cf1e84bb5
chore: ensure root handler has sudomain app mw ( #12812 )
...
Enterprise routes like scim touch this.
2024-03-28 15:49:43 -05:00
Steven Masley
b785e996f8
chore: explain GIT_ASKPASS behavior in docs ( #12784 )
...
* chore: docs explaining GIT_ASKPASS behavior
- VSCode configuration requirements
2024-03-28 13:59:03 -05:00
Mathias Fredriksson
79441e3609
perf(coderd/database): optimize GetWorkspaceAgentAndLatestBuildByAuthToken ( #12809 )
2024-03-28 19:38:16 +02:00
Steven Masley
93a233ac10
chore: write auto-update message after success ( #12804 )
2024-03-28 08:55:15 -05:00
Mathias Fredriksson
d50c20c453
fix(coderd/database): add fk index for workspace_agent_scripts ( #12791 )
2024-03-28 14:31:58 +02:00
Danny Kopping
d734f3fb74
chore: reduce azure CA cert validity check period to 2 months ( #12788 )
...
Signed-off-by: Danny Kopping <danny@coder.com >
2024-03-28 11:17:02 +02:00
Muhammad Atif Ali
0288e73e9b
docs: add guide for Xray integration ( #12629 )
...
* docs: add guides for Xray integration
* `make fmt`
2024-03-28 04:48:50 +03:00
Colin Adler
dc8cf3eea5
fix: nil ptr dereference when removing a license ( #12785 )
2024-03-27 15:59:35 -05:00
Muhammad Atif Ali
5235faa79f
chore(site): remove max ttl from scheduling description ( #12715 )
2024-03-27 14:24:26 -05:00
Mathias Fredriksson
539d6b0f3b
test(coderd): fix template name too long in TestPatchTemplateMeta ( #12781 )
2024-03-27 18:25:42 +02:00
Mathias Fredriksson
421bf7e785
fix(coderd): use insights for DAUs, simplify metricscache ( #12775 )
...
Fixes #12134
Fixes https://github.com/coder/customers/issues/384
Refs #12122
2024-03-27 18:10:14 +02:00
Bruno Quaresma
5d82a78d4c
fix(site): fix and improve pending state on template editor UI ( #12766 )
2024-03-27 12:42:07 -03:00
Mathias Fredriksson
47fd190064
fix(coderd/database): improve perf of GetTemplateInsightsByInterval ( #12773 )
...
Refs #12122
2024-03-27 14:10:46 +02:00
Mathias Fredriksson
ba1eaceda4
feat(coderd): add sftp to insights apps ( #12675 )
2024-03-27 14:09:29 +02:00
Danny Kopping
6cb1fc8956
chore: add note about options use in numeric parameters ( #12770 )
2024-03-27 13:46:41 +02:00
Mathias Fredriksson
0da29d74ac
fix(coderd/database): improve query perf of GetTemplateAppInsights ( #12767 )
...
Refs #12122
2024-03-27 12:28:36 +02:00
Danny Kopping
a74ef4096e
feat: allow number options with monotonic validation ( #12726 )
...
NOTE: terraform-provider-coder was updated to facilitate this change, and your template will require v0.19.0 for this feature to work. You can run terraform init -upgrade in your template directory. If you have a version constraint set, ensure it points to this version.
2024-03-27 08:54:42 +00:00
Ammar Bandukwala
0d9010e150
chore: fix 30% startup time hit from userpassword ( #12769 )
...
pbkdf2 is too expensive to run in init, so this change makes it load
lazily. I introduced a lazy package that I hope to use more in my
`GODEBUG=inittrace=1` adventure.
Benchmark results:
```
$ hyperfine "coder --help" "coder-new --help"
Benchmark 1: coder --help
Time (mean ± σ): 82.1 ms ± 3.8 ms [User: 93.3 ms, System: 30.4 ms]
Range (min … max): 72.2 ms … 90.7 ms 35 runs
Benchmark 2: coder-new --help
Time (mean ± σ): 52.0 ms ± 4.3 ms [User: 62.4 ms, System: 30.8 ms]
Range (min … max): 41.9 ms … 62.2 ms 52 runs
Summary
coder-new --help ran
1.58 ± 0.15 times faster than coder --help
```
2024-03-26 20:47:14 -05:00
dependabot[bot]
73fbdbbe2d
chore: bump github.com/coreos/go-oidc/v3 from 3.9.0 to 3.10.0 ( #12739 )
...
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc ) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v3.9.0...v3.10.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 12:45:42 -05:00
Colin Adler
4d5a7b2d56
chore(codersdk): move all tailscale imports out of codersdk ( #12735 )
...
Currently, importing `codersdk` just to interact with the API requires
importing tailscale, which causes builds to fail unless manually using
our fork.
2024-03-26 12:44:31 -05:00
dependabot[bot]
0bea8906d4
chore: bump google.golang.org/api from 0.170.0 to 0.171.0 ( #12737 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.170.0 to 0.171.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.170.0...v0.171.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 17:14:01 +00:00
dependabot[bot]
a323e30450
chore: bump github.com/aws/aws-sdk-go-v2 from 1.25.3 to 1.26.0 ( #12738 )
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.25.3 to 1.26.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.25.3...v1.26.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 12:03:01 -05:00
Mathias Fredriksson
ae0ee622bb
fix(coderd/database): improve data exclusion in UpsertTemplateUsageStats ( #12764 )
...
The PostgreSQL query analyzer wasn't able to eliminate the agent stats without re-introducing this filter.
Before: https://explain.dalibo.com/plan/21h7gb4f4bef391g
After: https://explain.dalibo.com/plan/721ec1cccee91egc
2024-03-26 17:21:05 +02:00
Mathias Fredriksson
f418ece9ae
test(cli): prevent flake due to outdated build in TestSSH ( #12760 )
...
Fixes #12752
2024-03-26 10:46:58 +00:00
Spike Curtis
51491fc01b
fix(provisionersdk): change test to use bash script instead of binary echo ( #12759 )
...
Just upgraded to macOS 14.4 and TestAgentScript/Run fails for me with error `signal: killed`. I opened the test directory in a terminal and sure enough, when you execute the `echo` binary, it is immediately killed. The binary has no extended attributes and is byte-identical to the one in `/bin/`.
This fix uses a different strategy: instead of copying the `echo` binary from the system around, we just copy a small bash script that _calls_ the `echo` command.
2024-03-26 14:37:20 +04:00
Colin Adler
5f28220eec
fix(coderd): add timeout to websocket waitgroup on shutdown ( #12754 )
2024-03-26 03:04:15 +00:00
Kayla Washburn-Love
cfb484fa25
fix: always use bash when executing web terminal tests ( #12755 )
2024-03-25 16:58:07 -06:00
dependabot[bot]
064a08efa5
ci: bump the github-actions group with 1 update ( #12743 )
...
Bumps the github-actions group with 1 update: [contributor-assistant/github-action](https://github.com/contributor-assistant/github-action ).
Updates `contributor-assistant/github-action` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/contributor-assistant/github-action/releases )
- [Commits](https://github.com/contributor-assistant/github-action/compare/v2.3.1...v2.3.2 )
---
updated-dependencies:
- dependency-name: contributor-assistant/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 23:40:35 +03:00
Asher
40e5ad5499
feat: make OAuth2 provider not enterprise-only ( #12732 )
2024-03-25 11:52:22 -08:00
Garrett Delfosse
60f335113c
chore: add protocol lag to shared ports description ( #12728 )
2024-03-25 15:28:38 -04:00
Kyle Carberry
fd8010c26d
chore: make build only run on main ( #12753 )
2024-03-25 19:15:18 +00:00
Kayla Washburn-Love
541ccd940c
chore: change e2e testing port ( #12751 )
2024-03-25 13:07:34 -06:00
Kyle Carberry
03ab37b343
chore: remove middleware to request version and entitlement warnings ( #12750 )
...
This cleans up `root.go` a bit, adds tests for middleware HTTP transport
functions, and removes two HTTP requests we always always performed previously
when executing *any* client command.
It should improve CLI performance (especially for users with higher latency).
2024-03-25 15:01:42 -04:00
Cian Johnston
ba3879ac47
fix(cli): fix newline escape sequence in support blurb ( #12749 )
2024-03-25 16:51:48 +00:00
Marcin Tojek
1e0bbd5e10
docs: describe operational readiness ( #12723 )
2024-03-25 17:10:24 +01:00
Mathias Fredriksson
7e183db199
test(coderd): fix todo for increased accuracy in insights test ( #12727 )
...
This PR updates the tests in `insights_test.go` to enable commented-out scenarios. This behavior was fixed by previous PRs in this stack. Note that the updated golden files are correct since they are "second template only" meaning that the newly introduced data is considered as expected. In other golden files there is no change since "only count once" is applied.
2024-03-25 17:55:53 +02:00
Mathias Fredriksson
b183236482
feat(coderd/database): use template_usage_stats in *ByTemplate insights queries ( #12668 )
...
This PR updates the `*ByTempalte` insights queries used for generating Prometheus metrics to behave the same way as the new rollup query and re-written insights queries that utilize the rolled up data.
2024-03-25 17:42:02 +02:00
Cian Johnston
01f9a9ab77
feat(cli): unhide support bundle cmd ( #12745 )
...
* chore(cli): add another test to ensure no secret leakage
* feat(cli): unhide support bundle cmd
2024-03-25 15:14:27 +00:00
Mathias Fredriksson
2332d8197a
feat(coderd/database): use template_usage_stats in GetUserActivityInsights query ( #12672 )
...
This PR updates the `GetUserActivityInsights` query to use rolled up `template_usage_stats` instead of raw agent and app stats.
2024-03-25 16:16:41 +02:00
Mathias Fredriksson
a8ed689bda
feat(coderd/database): use template_usage_stats in GetUserLatencyInsights query ( #12671 )
...
This PR updates the `GetUserLatencyInsights` query to use rolled up `template_usage_stats` instead of raw agent and app stats.
2024-03-25 16:07:40 +02:00
Mathias Fredriksson
5738a03930
feat(coderd/database): use template_usage_stats in GetTemplateAppInsights query ( #12669 )
...
This PR updates the `GetTemplateAppInsights` query to use rolled up `template_usage_stats` instead of raw agent and app stats.
2024-03-25 15:58:37 +02:00
Mathias Fredriksson
5f3be62c83
feat(coderd/database): use template_usage_stats in GetTemplateInsightsByInterval query ( #12667 )
...
This PR updates the `GetTemplateInsightsByInterval` query to use rolled up `template_usage_stats` instead of raw agent and app stats.
2024-03-25 15:45:49 +02:00
Mathias Fredriksson
35d08434a9
feat(coderd/database): use template_usage_stats in GetTemplateInsights query ( #12666 )
...
This PR updates the `GetTemplateInsights` query to use rolled up `template_usage_stats` instead of raw agent and app stats.
2024-03-25 15:33:31 +02:00
Mathias Fredriksson
f34592f45d
fix(coderd): skip logging error for cancelled query in agent report stats ( #12730 )
2024-03-25 12:20:16 +02:00
Jon Ayers
951dfaa99c
feat: add workspace_id to workspace_build audit logs ( #12718 )
2024-03-22 15:10:32 -05:00
Kayla Washburn-Love
0966fe2560
fix: create workspace with optional auth providers ( #12729 )
2024-03-22 13:26:02 -06:00
Steven Masley
c674128105
chore: allow search by build params in workspace search filter ( #12694 )
...
* chore: workspace search filter allow search by params
* has_param will return all workspaces with the param existance
* exact matching
2024-03-22 14:22:47 -05:00
Mathias Fredriksson
b4fd819f0d
test(coderd): enable dbrollup service for insights tests ( #12673 )
2024-03-22 20:18:20 +02:00
Mathias Fredriksson
12e6fbf11e
feat(coderd/database): add dbrollup service to rollup insights ( #12665 )
...
Add `dbrollup` service that runs the `UpsertTemplateUsageStats` query
every 5 minutes, on the minute. This allows us to have fairly real-time
insights data when viewing "today".
2024-03-22 18:42:43 +02:00
Mathias Fredriksson
04f0510b09
feat(coderd/database): add template_usage_stats table and rollup query ( #12664 )
...
Add `template_usage_stats` table for aggregating tempalte usage data.
Data is rolled up by the `UpsertTemplateUsageStats` query, which fetches
data from the `workspace_agent_stats` and `workspace_app_stats` tables.
2024-03-22 18:33:34 +02:00
Kyle Carberry
a6b8f381f0
feat: support windows containers in bootstrap script ( #12662 )
...
Fixes #7462 .
2024-03-22 14:48:51 +00:00
Muhammad Atif Ali
58cbd8335f
chore(site): reorganize template schedule strings page ( #12714 )
2024-03-22 15:44:16 +03:00
Marcin Tojek
a7d9d87ba2
docs: use scale testing utility ( #12643 )
2024-03-22 11:33:31 +00:00
Colin Adler
37a05372fa
fix: disable relay if built-in DERP is disabled ( #12654 )
...
Fixes https://github.com/coder/coder/issues/12493
2024-03-21 16:53:41 -05:00
Kyle Carberry
d3c9aaf57b
chore: update hero image for refreshed dashboard ( #12712 )
...
* chore: update hero image for refreshed dashboard
I used html.to.figma for this. It's in the following Figma:
https://www.figma.com/file/m4zkIU7e64BNyRlUShuluq/README-Screenshot?type=design&node-id=13-1993&mode=design&t=o2AhL8y7u8uFMVPI-0
I couldn't take screenshots directly, because I'm on Linux and the macOS
browser with the icons look much better.
* Try stacked images
* Try stacked inverted
2024-03-21 16:28:02 -04:00
Cian Johnston
28730ca3d8
fix(support): sanitize manifest ( #12711 )
2024-03-21 19:55:34 +00:00
Cian Johnston
f2a9e515df
feat(cli/support): confirm before creating bundle ( #12684 )
...
Forces user to confirm before creating a support bundle.
Also adds contextual information to the bundle under cli_logs.txt.
2024-03-21 17:06:28 +00:00
Cian Johnston
8ea5fb7115
chore(coderd/workspaceapps/apptest): fix test flake due to concurrent usage of same deployment ( #12700 )
...
- Updates existing tests under workspaceapps/apptest to not reuse existing appDetails as assertWorkspaceLastUsed(Not)?Updated calls FlushStats() which was causing racy test behaviour and incorrect test assertions.
- Expands scope of assertWorkspaceLastUsedAtUpdated and its counterpart to ProxySubdomain tests.
2024-03-21 15:38:38 +00:00
Cian Johnston
5454f4997b
chore(ci): clean up databases after test finishes in CI ( #12702 )
2024-03-21 14:53:16 +00:00
Mathias Fredriksson
9c84fb7fb1
fix(coderd/agentapi): always write agent stats when provided ( #12699 )
2024-03-21 16:47:06 +02:00
Steven Masley
bd6ad88077
chore: nolint always return error function ( #12701 )
2024-03-21 09:35:10 -05:00
Steven Masley
b4492fffba
chore: support multiple key:value search query params ( #12690 )
...
This more closely aligns with GitHub's label search style. Actual search params need to be converted to allow this format, by default they will throw an error if they do not support listing.
2024-03-21 08:37:19 -05:00
Bruno Quaresma
8499eacf67
chore(site): add tests for deprecate template flow ( #12685 )
...
Closes #12505
2024-03-21 10:37:08 -03:00
Steven Masley
131d0bd2ba
chore: fix linting issue in main( #12697 )
2024-03-20 20:15:01 -05:00
dependabot[bot]
f93491ffe8
chore: bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible ( #12692 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-21 02:14:30 +03:00
Dean Sheather
2b773f9034
fix: allow proxy version mismatch (with warning) ( #12433 )
2024-03-20 18:24:18 +00:00
Garrett Delfosse
4d9fe05f5a
feat: add awsiamrds db auth driver ( #12566 )
2024-03-20 13:14:43 -04:00
Ammar Bandukwala
0d86dca852
fix(codersdk): abort in-progress writes/reads when closing websocket ( #12650 )
...
Fixes #9203
Related #12065
Also, adds some basic tracing infrastructure that we can build upon for more improvements.
2024-03-20 11:53:32 -05:00
Cian Johnston
92aa1eba97
fix(cli): port-forward: update workspace last_used_at ( #12659 )
...
This PR updates the coder port-forward command to periodically inform coderd that the workspace is being used:
- Adds workspaceusage.Tracker which periodically batch-updates workspace LastUsedAt
- Adds coderd endpoint to signal workspace usage
- Updates coder port-forward to periodically hit this endpoint
- Modifies BatchUpdateWorkspacesLastUsedAt to avoid overwriting with stale data
Co-authored-by: Danny Kopping <danny@coder.com >
2024-03-20 16:44:12 +00:00
Steven Masley
d789a60d47
chore: remove max_ttl from templates ( #12644 )
...
* chore: remove max_ttl from templates
Completely removing max_ttl as a feature on template scheduling. Must use other template scheduling features to achieve autostop.
2024-03-20 10:37:57 -05:00
Bruno Quaresma
d82e20152b
feat(site): make listening ports scrollable ( #12660 )
2024-03-20 09:34:30 -03:00
Kayla Washburn-Love
9028717c9b
fix: disable auto-create if external auth requirements aren't met ( #12538 )
2024-03-19 16:42:40 -06:00
Muhammad Atif Ali
ef26ad96a9
chore(dogfood): bump modules versions
2024-03-19 23:54:16 +03:00
Kyle Carberry
4ae1f40eee
chore: add docs for adding e2e tests ( #12677 )
2024-03-19 18:25:05 +00:00
Ben Potter
c92ceffac9
chore: fix changelog typos ( #12663 )
2024-03-19 16:04:27 +00:00
Steven Masley
00283d1f8b
chore: helm golden file test log output on failure ( #12661 )
...
Debugging this is hard without the actual helm error
2024-03-19 16:01:54 +00:00
Bruno Quaresma
23e3e4ce58
chore(site): upgrade msw to 2.0 ( #12597 )
...
Closes https://github.com/coder/coder/issues/11426
2024-03-19 09:30:20 -03:00
Danny Kopping
9cfd5baa91
feat(coderd): export metric indicating each experiment's status ( #12657 )
2024-03-19 14:11:27 +02:00
Ben Potter
1a9f7e7b00
hotfix(docs): we do not offer phone support yet ( #12658 )
2024-03-19 10:22:32 +00:00
Danny Kopping
ab95ae827d
feat(coderd): add enabled experiments to telemetry ( #12656 )
2024-03-19 11:05:29 +02:00
Steven Masley
f0f9569d51
chore: enforce that provisioners can only acquire jobs in their own organization ( #12600 )
...
* chore: add org ID as optional param to AcquireJob
* chore: plumb through organization id to provisioner daemons
* add org id to provisioner domain key
* enforce org id argument
* dbgen provisioner jobs defaults to default org
2024-03-18 12:48:13 -05:00
Marcin Tojek
0e8ebb9b22
fix: fix flaky TestWorkspaceProxy_Server_PrometheusEnabled ( #12645 )
2024-03-18 16:43:41 +01:00
dependabot[bot]
2cd5fbc712
chore: bump github.com/ammario/tlru from 0.3.0 to 0.4.0 ( #12635 )
...
Bumps [github.com/ammario/tlru](https://github.com/ammario/tlru ) from 0.3.0 to 0.4.0.
- [Commits](https://github.com/ammario/tlru/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/ammario/tlru
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 11:25:52 -04:00
dependabot[bot]
124da2e51c
chore: bump github.com/u-root/u-root from 0.13.0 to 0.14.0 ( #12636 )
...
Bumps [github.com/u-root/u-root](https://github.com/u-root/u-root ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/u-root/u-root/releases )
- [Changelog](https://github.com/u-root/u-root/blob/main/RELEASES )
- [Commits](https://github.com/u-root/u-root/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/u-root/u-root
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 11:25:35 -04:00
Marcin Tojek
cae769eac0
fix: implicit schema in dump ( #12646 )
2024-03-18 16:25:08 +01:00
dependabot[bot]
543a8ccb31
chore: bump github.com/coder/serpent ( #12637 )
...
Bumps [github.com/coder/serpent](https://github.com/coder/serpent ) from 0.4.1-0.20240315163851-a0148c87ea3f to 0.5.0.
- [Commits](https://github.com/coder/serpent/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/coder/serpent
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 09:39:28 -05:00
Muhammad Atif Ali
f0c5e8e960
chore: reduce slack spam for manually run docs link checker workflows ( #12630 )
2024-03-18 17:23:54 +03:00
Marcin Tojek
15845d1a65
chore: use sqlc-vet to verify schema ( #12642 )
2024-03-18 15:23:25 +01:00
Ammar Bandukwala
e5cc17af92
chore(cli): hide --organization ( #12626 )
...
It's potentially confusing to users since we aren't fleshing out organizations right now.
2024-03-18 09:09:26 -05:00
Dean Sheather
cf50461ab4
fix: prevent single replica proxies from staying unhealthy ( #12641 )
...
In the peer healthcheck code, when an error pinging peers is detected we
write a "replicaErr" string with the error reason. However, if there are
no peer replicas to ping we returned early without setting the string to
empty. This would cause replicas that had peers (which were failing) and
then the peers left to permanently show an error until a new peer
appeared.
Also demotes DERP replica checking to a "warning" rather than an "error"
which should prevent the primary from removing the proxy from the region
map if DERP meshing is non-functional. This can happen without causing
problems if the peer is shutting down so we don't want to disrupt
everything if there isn't an issue.
2024-03-18 23:45:25 +10:00
Kyle Carberry
8a2f38a746
chore: simplify readme ( #12639 )
...
* chore: simplify readme
Closes #12628 .
* Add link to module registry
2024-03-18 09:40:47 -04:00
Bruno Quaresma
c84d96b747
fix(site): display not found page when pagination page is invalid ( #12611 )
2024-03-18 10:35:59 -03:00
dependabot[bot]
b121f407f5
chore: bump golang.org/x/tools from 0.18.0 to 0.19.0 ( #12632 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 14:44:16 +03:00
dependabot[bot]
eb20d8cf18
chore: bump golang.org/x/mod from 0.15.0 to 0.16.0 ( #12633 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 14:44:05 +03:00
dependabot[bot]
fffa3dc422
chore: bump github.com/gohugoio/hugo from 0.123.3 to 0.124.0 ( #12634 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 14:43:58 +03:00
Danny Kopping
93933d7905
feat(cli): show queue position during workspace builds ( #12606 )
2024-03-18 12:05:05 +02:00
dependabot[bot]
c7597fdf02
chore: bump go.nhat.io/otelsql from 0.12.0 to 0.13.0 ( #12521 )
...
Bumps [go.nhat.io/otelsql](https://github.com/nhatthm/otelsql ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/nhatthm/otelsql/releases )
- [Commits](https://github.com/nhatthm/otelsql/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: go.nhat.io/otelsql
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 11:03:45 +03:00
dependabot[bot]
77cc170f04
chore: bump google.golang.org/api from 0.152.0 to 0.170.0 ( #12607 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.152.0 to 0.170.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.152.0...v0.170.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 10:45:52 +03:00
Danny Kopping
53b58ed74b
fix: correct troubleshooting links ( #12608 )
2024-03-18 08:52:20 +02:00
elasticspoon
5011edc292
fix(cli): show error/hide help for unsupported subcommands ( #10760 ) ( #12624 )
...
Fixes #10760
The coder CLI quietly accepts any subcommand arguments and silently swallows them.
Currently:
```sh
❯ coder | head -n5
coder v2.3.3+e491217
USAGE:
coder [global-flags] <subcommand>
```
```sh
❯ coder idontexist | head -n5
coder v2.3.3+e491217
USAGE:
coder [global-flags] <subcommand>
```
Now help output will not be show when there is an unknown subcommand error. Instead users will be given the command for the help output.
```sh
❯ coder idontexist
Encountered an error running "coder", see "coder --help" for more information
error: unrecognized subcommand "idontexist"
```
```sh
❯ coder iexistbut idontexist
Encountered an error running "coder iexistbut", see "coder iexistbut --help" for more information
error: unrecognized subcommand "idontexist"
```
Also this stuff: `Encountered an error running "coder iexistbut"... ` gets written to `os.Stdout` in `prettyErrorFormatter{w: os.Stderr, verbose: r.verbose}`, not sure how to test that output.
2024-03-17 22:17:43 -05:00
Steven Masley
c189cc93e4
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.57.0 to 1.61.0 ( #12610 )
...
* chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.57.0 to 1.61.0
* Fix tracer implementation
* Use alias vs 2 structs
2024-03-17 22:08:32 -05:00
Ammar Bandukwala
b4c0fa80d8
chore(cli): rename Cmd to Command ( #12616 )
...
I think Command is cleaner and my original decision to use "Cmd"
a mistake.
Plus this creates better parity with cobra.
2024-03-17 09:45:26 -05:00
Muhammad Atif Ali
2a77580ba6
chore: fix false positives for docs links checker ( #12623 )
2024-03-17 16:44:45 +03:00
dependabot[bot]
aa3ab209f3
ci: bump the github-actions group with 3 updates ( #12622 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 13:27:15 +00:00
Gary Wang
1a5c5d0d57
fix: correct typo error about minTerraformVersion ( #12621 )
2024-03-17 13:18:46 +00:00
dependabot[bot]
4bdb019001
chore: bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ( #12614 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 16:12:51 +03:00
Gábor
9c69672382
fix(migration): removed hardcoded public ( #12620 )
2024-03-16 10:11:14 -04:00
Cian Johnston
9ff0bafcee
fix(support): also sanitize agent environment ( #12615 )
2024-03-15 20:19:35 +00:00
Bruno Quaresma
6f0ba5bfe7
chore(site): add AgentLogs storybook ( #12601 )
2024-03-15 14:57:35 -03:00
Cian Johnston
25b605f764
fix(examples/lima/coder.yaml): update base image, remove usage of deprecated LIMA_CIDATA ( #12613 )
...
* fix(examples/lima/coder.yaml): update base image, remove usage of deprecated LIMA_CIDATA, name template consistently
* make fmt
2024-03-15 17:22:44 +00:00
Ammar Bandukwala
496232446d
chore(cli): replace clibase with external coder/serpent ( #12252 )
2024-03-15 11:24:38 -05:00
Marcin Tojek
bed2545636
docs: describe reference architectures ( #12609 )
2024-03-15 17:01:45 +01:00
Cian Johnston
b0c4e7504c
feat(support): add client magicsock and agent prometheus metrics to support bundle ( #12604 )
...
* feat(codersdk): add ability to fetch prometheus metrics directly from agent
* feat(support): add client magicsock and agent prometheus metrics to support bundle
* refactor(support): simplify AgentInfo control flow
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-03-15 15:33:49 +00:00
Eric Paulsen
4d9e6c0134
add updated architecture diagrams ( #12584 )
2024-03-15 11:09:03 -04:00
Cian Johnston
2fc9f097ed
chore: apply linter auto-fixes ( #12605 )
2024-03-15 14:39:25 +00:00
Cian Johnston
18c1e02bf0
dogfood: replace siegfried with greenhill ( #12599 )
2024-03-15 23:33:43 +10:00
dependabot[bot]
e1685b96e4
chore: bump golang.org/x/tools from 0.18.0 to 0.19.0 ( #12519 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 13:18:35 +00:00
Kyle Carberry
895df54051
fix: separate signals for passive, active, and forced shutdown ( #12358 )
...
* fix: separate signals for passive, active, and forced shutdown
`SIGTERM`: Passive shutdown stopping provisioner daemons from accepting new
jobs but waiting for existing jobs to successfully complete.
`SIGINT` (old existing behavior): Notify provisioner daemons to cancel in-flight jobs, wait 5s for jobs to be exited, then force quit.
`SIGKILL`: Untouched from before, will force-quit.
* Revert dramatic signal changes
* Rename
* Fix shutdown behavior for provisioner daemons
* Add test for graceful shutdown
2024-03-15 13:16:36 +00:00
dependabot[bot]
2c947c1921
chore: bump golang.org/x/mod from 0.15.0 to 0.16.0 ( #12520 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/mod/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 13:09:50 +00:00
dependabot[bot]
78f26bf24a
chore: bump github.com/u-root/u-root from 0.13.0 to 0.14.0 ( #12397 )
...
Bumps [github.com/u-root/u-root](https://github.com/u-root/u-root ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/u-root/u-root/releases )
- [Changelog](https://github.com/u-root/u-root/blob/main/RELEASES )
- [Commits](https://github.com/u-root/u-root/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/u-root/u-root
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 08:55:10 -04:00
dependabot[bot]
cf7f95b418
chore: bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ( #12528 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 08:54:32 -04:00
dependabot[bot]
351706b896
chore: bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ( #12524 )
...
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 08:54:26 -04:00
Cian Johnston
2abc1cd2b7
feat(support): fetch agent network info over tailnet ( #12577 )
...
Adds agent-related information to support bundle command.
2024-03-15 11:01:39 +00:00
Cian Johnston
653ddccd8e
fix(agent): remove unused token debug handler ( #12602 )
2024-03-15 09:43:36 +00:00
dependabot[bot]
8d7819f6d6
chore: bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ( #12404 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 19:37:32 -05:00
Steven Masley
29c8cf20e0
fix: handle CLI default organization when none exists in <v2.9.0 coderd ( #12594 )
...
* chore: 'coder org set' help message was incorrect
* fix: handler coder cli against older versions of Coder
2024-03-14 15:11:29 -05:00
Bruno Quaresma
f78b5c1cfe
chore(site): refactor logs and add stories ( #12553 )
2024-03-14 14:49:37 -03:00
Garrett Delfosse
0723dd3abf
fix: ensure agent token is from latest build in middleware ( #12443 )
2024-03-14 12:27:32 -04:00
Cian Johnston
63696d762f
feat(codersdk): add debug handlers for logs, manifest, and token to agent ( #12593 )
...
* feat(codersdk): add debug handlers for logs, manifest, and token to agent
* add more logging
* use io.LimitReader instead of seeking
2024-03-14 15:36:12 +00:00
Cian Johnston
135381bb4e
chore(cli): skip support bundle test on windows ( #12596 )
2024-03-14 15:25:09 +00:00
Mathias Fredriksson
5dd436c19b
feat(examples): add linting to all examples ( #12595 )
...
Fixes #12588
2024-03-14 16:49:44 +02:00
Steven Masley
410a7d54ee
chore: external auth flow opens new window, it does not need an href ( #12586 )
2024-03-14 09:17:50 -05:00
Steven Masley
4cba83b30f
test: apptest was accidently choosing ports in use ( #12580 )
...
Apptest requires a port without a listening server to test failure
cases. This port was chosen and had a chance of actually being
provisioned. To prevent this accident, a port <1k is chosen,
since those will never be allocated.
2024-03-14 08:54:12 -05:00
Danny Kopping
14130deb07
fix: clean template destination path for pull ( #12559 )
2024-03-14 12:41:23 +00:00
Cian Johnston
395bf54f4f
chore(examples/templates/incus): fix metadata harder ( #12589 )
2024-03-14 11:43:34 +00:00
Muhammad Atif Ali
04b711f187
chore(examples/templates/incus): fix metadata ( #12587 )
2024-03-14 11:14:37 +00:00
Cian Johnston
3b406878e0
feat(agent): expose HTTP debug server over tailnet API ( #12582 )
2024-03-14 10:02:01 +00:00
Asher
0d16df9df9
fix: importing api into vscode-coder ( #12570 )
2024-03-13 10:05:44 -08:00
Kayla Washburn-Love
efba477b36
fix: hide actions and notifications from deleted workspaces ( #12563 )
2024-03-13 11:43:48 -06:00
Bruno Quaresma
489b0ec497
chore(site): refactor useAuth and related hooks ( #12567 )
...
Close https://github.com/coder/coder/issues/12487
2024-03-13 13:24:18 -03:00
Spike Curtis
fe6def31eb
feat: upgrade tailscale fork to set TCP options for perf ( #12574 )
...
Upgrades our tailscale fork to include some TCP options tweaks for performance. c.f. https://github.com/coder/tailscale/pull/46
2024-03-13 16:02:02 +04:00
Michael Brewer
903f8b21c4
feat(site): add cpp icon ( #12572 )
...
* feat(site): add cpp icon
Add the C++ icon
Source is WikiCommons: https://en.m.wikipedia.org/wiki/File:ISO_C%2B%2B_Logo.svg
* fix: correct order
2024-03-13 07:49:03 -04:00
Danny Kopping
da54c8a51f
fix: fix data race in TestLabelsAggregation tests ( #12578 )
2024-03-13 13:47:22 +02:00
Danny Kopping
7a7105ad66
feat: make agent stats' cardinality configurable ( #12535 )
2024-03-13 12:03:36 +02:00
Bruno Quaresma
e45d511f28
chore(site): add missing stories for templates ( #12537 )
2024-03-12 17:54:37 -03:00
Kayla Washburn-Love
301c60d824
chore(dogfood): add fish and helix ppa packages to dogfood ( #12568 )
2024-03-12 13:58:40 -06:00
Cian Johnston
096d472de9
chore(dogfood): update remaining focal PPAs to jammy ( #12565 )
2024-03-12 19:24:58 +00:00
Cian Johnston
901668ad4b
feat(dogfood): add git from git-core ppa ( #12564 )
2024-03-12 17:28:07 +00:00
Bruno Quaresma
8489b4dfb1
chore(site): add WorkspaceBuildData stories ( #12550 )
2024-03-12 14:18:31 -03:00
Bruno Quaresma
e947e0e829
chore(site): refactor dormant badge and add stories ( #12555 )
2024-03-12 14:17:55 -03:00
Ben Potter
321546474b
docs: add v2.9.0 changelog ( #12562 )
...
* docs: add v2.9.0 changelog
* added sharable ports screenshot
* moved autostop visibility improvements from backend to dashboard, added screenshot
* move experiments to bottom
* added activity bump screenshot
---------
Co-authored-by: Stephen Kirby <me@skirby.dev >
2024-03-12 12:12:35 -05:00
Cian Johnston
47cb584052
fix(support): sanitize agent env ( #12554 )
2024-03-12 15:23:11 +00:00
Steven Masley
597694fbdd
chore: bump migration file ( #12556 )
2024-03-12 14:55:45 +00:00
Steven Masley
e11d3ca0ee
chore: move default everyone group to a migration ( #12435 )
2024-03-12 09:27:36 -05:00
Bruno Quaresma
f3083226ab
chore: add package manager ( #12551 )
...
Every time I run `pnpm` in the project it adds the package manager attribute on package.json so I just decided to push it since it does not look like an issue and we can make sure everyone is running the same pnpm version.
2024-03-12 10:44:23 -03:00
Cian Johnston
7b081c873e
fix(site): warn when user leaves template editor with un-built changes ( #12548 )
2024-03-12 13:08:54 +00:00
Danny Kopping
90d00190ea
chore: remove pr_number param from deploy-pr.sh ( #12549 )
...
Field was removed in https://github.com/coder/coder/pull/11259
Signed-off-by: Danny Kopping <danny@coder.com >
2024-03-12 12:01:31 +00:00
Cian Johnston
edc465c449
fix(site): TemplateVersionEditor: allow triggering builds on non-dirtied template version ( #12547 )
2024-03-12 11:35:16 +00:00
Spike Curtis
51707446d0
fix: stop holding Pubsub mutex while calling pq.Listener ( #12518 )
...
fixes #11950
https://github.com/coder/coder/issues/11950#issuecomment-1987756088 explains the bug
We were also calling into `Unlisten()` and `Close()` while holding the mutex. I don't believe that `Close()` depends on the notification loop being unblocked, but it's hard to be sure, and the safest thing to do is assume it could block.
So, I added a unit test that fakes out `pq.Listener` and sends a bunch of notifies every time we call into it to hopefully prevent regression where we hold the mutex while calling into these functions.
It also removes the use of a `context.Context` to stop the PubSub -- it must be explicitly `Closed()`. This simplifies a bunch of the logic, and is how we use the pubsub anyway.
2024-03-12 09:44:12 +04:00
dependabot[bot]
6f00ccfa64
chore: bump storj.io/drpc from 0.0.33-0.20230420154621-9716137f6037 to 0.0.33 ( #12526 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 03:43:01 +00:00
dependabot[bot]
da146e9655
chore: bump golang.org/x/crypto from 0.20.0 to 0.21.0 ( #12523 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 03:41:54 +00:00
dependabot[bot]
242e4c4c85
chore: bump golang.org/x/term from 0.17.0 to 0.18.0 ( #12525 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 03:40:00 +00:00
Michael Brewer
f6ed81bc3b
feat(site): add microsoft teams icon ( #12513 )
...
* feat(site): add microsoft teams icon
Attribution below:
Vectors and icons by <a href="https://github.com/garudatechnologydevelopers/sketch-icons?ref=svgrepo.com " target="_blank">Garuda Technology</a> in MIT License via <a href="https://www.svgrepo.com/ " target="_blank">SVG Repo</a>
closes #12496
* fix(site): correct order of icons
2024-03-12 03:18:10 +00:00
Cian Johnston
d704ff4570
chore(codersdk): explain format of codersdk.UpdateWorkspaceAutostartRequest.Schedule ( #12539 )
2024-03-11 22:50:38 +00:00
Kayla Washburn-Love
a546cb8b32
chore: add stories to Search ( #12457 )
2024-03-11 12:16:31 -06:00
Bruno Quaresma
83af8674e8
chore(site): add CreateTokenPage story ( #12472 )
2024-03-11 14:10:19 -03:00
Steven Masley
e3051dff0c
chore: add workspace id filter on api ( #12483 )
...
* chore: add workspace id filter on api
2024-03-11 11:37:15 -05:00
Cian Johnston
8f40ee3465
Revert "feat: make agent stats' cardinality configurable ( #12468 )" ( #12533 )
...
This reverts commit 21d1873d97 .
2024-03-11 14:33:36 +00:00
elasticspoon
773862a9f5
feat(cli): make url optional for login command ( #10925 ) ( #12466 )
...
Allow `coder login` to log into existing deployment if available.
Update help and error messages to indicate that `coder login` is
available as a command.
Fixes #10925
Fixes #9551
2024-03-11 16:14:19 +02:00
Cian Johnston
bed61f7d2a
fix(coderd): correctly handle tar dir entries with missing path separator ( #12479 )
...
* coderd: add test to reproduce trailing directory issue
* coderd: add trailing path separator to dir entries when converting to zip
* provisionersdk: add trailing path separator to directory entries
2024-03-11 14:06:41 +00:00
Danny Kopping
21d1873d97
feat: make agent stats' cardinality configurable ( #12468 )
...
Closes #12221
2024-03-11 16:04:08 +02:00
Cian Johnston
0647ec1960
fix(coderd): prevent nil err deref ( #12475 )
2024-03-11 14:03:58 +00:00
Garrett Delfosse
dc69341583
fix: make public menu item selectable ( #12484 )
2024-03-11 10:00:40 -04:00
Alessandro Varesi
5e9bf31229
fix: devcontainer-docker bad default directory ( #12453 )
2024-03-11 16:56:41 +03:00
Michael Brewer
cef632b1fb
feat(site): add dotnet icon ( #12512 )
2024-03-11 16:54:34 +03:00
Bruno Quaresma
cd64e981b4
chore(site): add stories to 404 page ( #12470 )
...
Related to https://github.com/coder/coder/issues/12263
2024-03-11 10:36:06 -03:00
Cian Johnston
b1ecc53033
chore(coderd): improve tests for tar<->zip conversion ( #12477 )
...
* improve tests for tar<->zip conversion
* set mode and modtime correctly when converting from zip to tar (#12476 )
2024-03-11 13:29:57 +00:00
Bruno Quaresma
0220c97ef9
chore(site): add TableToolbar stories ( #12473 )
...
Related to https://github.com/coder/coder/issues/12263
2024-03-11 10:21:47 -03:00
Bruno Quaresma
b8dd6b3aa2
chore(site): add Form storybook ( #12469 )
...
Related to #12260
2024-03-11 10:21:18 -03:00
Cian Johnston
1f276a22b3
chore(dogfood): update keys ( #12515 )
2024-03-11 13:07:48 +00:00
Mathias Fredriksson
bae0a747ed
test(coderd): skip flaky dau test ( #12517 )
...
* test(coderd): skip flaky dau test
* chore(coderd/database/dbpurge): fix failing test (#12530 )
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2024-03-11 12:54:38 +00:00
Michael Brewer
5296611a3f
feat(site): add confluence icon ( #12500 )
...
Attribution for this icon below, if needed
Vectors and icons by <a href="https://github.com/vscode-icons/vscode-icons?ref=svgrepo.com " target="_blank">Vscode Icons</a> in MIT License via <a href="https://www.svgrepo.com/ " target="_blank">SVG Repo</a>
2024-03-11 11:34:02 +03:00
dependabot[bot]
2b4560cc4b
chore: bump github.com/fergusstrange/embedded-postgres ( #12400 )
...
Bumps [github.com/fergusstrange/embedded-postgres](https://github.com/fergusstrange/embedded-postgres ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/fergusstrange/embedded-postgres/releases )
- [Commits](https://github.com/fergusstrange/embedded-postgres/compare/v1.25.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: github.com/fergusstrange/embedded-postgres
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 00:16:16 +03:00
dependabot[bot]
6588cee38a
chore: bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 ( #12460 )
...
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose ) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.1...v3.0.3 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 00:15:52 +03:00
Michael Smith
4d42c07c72
chore(site): update and refactor all custom hook tests that rely on React Router ( #12219 )
...
* chore: rename useTab to useSearchParamsKey and add test
* chore: mark old renderHookWithAuth as deprecated (temp)
* fix: update imports for useResourcesNav
* refactor: change API for useSearchParamsKey
* chore: let user pass in their own URLSearchParams value
* refactor: clean up comments for clarity
* fix: update import
* wip: commit progress on useWorkspaceDuplication revamp
* chore: migrate duplication test to new helper
* refactor: update code for clarity
* refactor: reorder test cases for clarity
* refactor: split off hook helper into separate file
* refactor: remove reliance on internal React Router state property
* refactor: move variables around for more clarity
* refactor: more updates for clarity
* refactor: reorganize test cases for clarity
* refactor: clean up test cases for useWorkspaceDupe
* refactor: clean up test cases for useWorkspaceDupe
2024-03-08 18:31:01 -05:00
Kayla Washburn-Love
cf4f56dc2f
chore: add stories for MoreMenu ( #12464 )
2024-03-08 12:01:48 -07:00
Kayla Washburn-Love
8d8220bb07
chore: add stories for Loader ( #12445 )
2024-03-08 11:35:14 -07:00
Ben Potter
1e17782ff6
docs: simplify install docs ( #11946 )
...
* docs: simplify install docs
* changes from feedback
* fmt
* fixups from feedback
2024-03-08 15:15:59 +00:00
Danny Kopping
7a92154e67
Install pnpm before calling pnpm exec in make stages ( #12471 )
...
Signed-off-by: Danny Kopping <danny@coder.com >
2024-03-08 14:33:28 +02:00
Bruno Quaresma
5b2acbc5b7
chore(site): add FileUpload stories ( #12456 )
...
Related to https://github.com/coder/coder/issues/12260
2024-03-08 09:08:44 -03:00
Bruno Quaresma
18d1c17db1
chore(site): add storybook for BuildAvatar and BuildIcon ( #12455 )
...
Related to https://github.com/coder/coder/issues/12260
2024-03-08 08:06:56 -03:00
Bruno Quaresma
060033e4ef
fix(site): fix terminal size when displaying alerts ( #12444 )
...
Before - The terminal size does not fit the available space so the bottom is hidden.
https://github.com/coder/coder/assets/3165839/d08470b9-9fc6-476c-a551-8a3e13fc25bf
After - The terminal adjusts when there are alert changes.
https://github.com/coder/coder/assets/3165839/8cc32bfb-056f-47cb-97f2-3bb18c5fe906
Unfortunately, I don't think there is a sane way to automate tests for this but open to suggestions.
Close https://github.com/coder/coder/issues/7914
2024-03-08 07:38:40 -03:00
Dean Sheather
d2a5b31b2b
feat: add derp mesh health checking in workspace proxies ( #12222 )
2024-03-08 16:31:40 +10:00
Colin Adler
6b0b87eb27
fix: add --block-direct-connections to wsproxies ( #12182 )
2024-03-07 23:45:59 -06:00
Colin Adler
66154f937e
fix(coderd): pass block endpoints into servertailnet ( #12149 )
2024-03-08 05:29:54 +00:00
Garrett Delfosse
d2a74cf547
fix: display tooltip when selection is disabled ( #12439 )
2024-03-07 10:43:25 -05:00
Dean Sheather
586586e9dd
fix: do not set max deadline for workspaces on template update ( #12446 )
...
* fix: do not set max deadline for workspaces on template update
When templates are updated and schedule data is changed, we update all
running workspaces to have up-to-date scheduling information that sticks
to the new policy.
When updating the max_deadline for existing running workspaces, if the
max_deadline was before now()+2h we would set the max_deadline to
now()+2h.
Builds that don't/shouldn't have a max_deadline have it set to 0, which
is always before now()+2h, and thus would always have the max_deadline
updated.
* test: add unit test to excercise template schedule bug
---------
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2024-03-07 09:42:50 -06:00
Cian Johnston
17caf58b5e
feat(support): add template info to support bundle ( #12451 )
...
Adds workspace build parameters, template, template version, and zipped template source to support bundle.
2024-03-07 14:43:46 +00:00
Bruno Quaresma
db02c72ac6
chore(site): add storybook for terminal page ( #12441 )
2024-03-07 14:17:38 +00:00
Spike Curtis
b96f6b48a4
fix: ensure ssh cleanup happens on cmd error
...
I noticed in my logs that sometimes `coder ssh` doesn't gracefully disconnect from the coordinator.
The cause is the `closerStack` construct we use in that function. It has two paths to start closing things down:
1. explicit `close()` which we do in `defer`
2. context cancellation, which happens if the cli function returns an error
sometimes the ssh remote command returns an error, and this triggers context cancellation of the `closerStack`. That is fine in and of itself, but we still want the explicit `close()` to wait until everything is closed before returning, since that's where we do cleanup, including the graceful disconnect. Prior to this fix the `close()` just immediately exits if another goroutine is closing the stack. Here we add a wait until everything is done.
2024-03-07 17:26:49 +04:00
Cian Johnston
c8aa99a5b8
feat(coderd/database/dbfake): allow specifying fileID in TemplateVersionBuilder ( #12450 )
2024-03-07 12:36:11 +00:00
dependabot[bot]
e4326947c4
chore: bump github.com/go-chi/httprate from 0.8.0 to 0.9.0 ( #12401 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 16:57:21 +05:00
dependabot[bot]
14b1400968
chore: bump github.com/go-playground/validator/v10 from 10.18.0 to 10.19.0 ( #12396 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 16:57:12 +05:00
dependabot[bot]
de35755bd2
chore: bump github.com/hashicorp/hcl/v2 from 2.17.0 to 2.20.0 ( #12398 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.17.0 to 2.20.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.17.0...v2.20.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 10:46:51 +00:00
Dean Sheather
bd752a6d8b
chore: embed static files in debug builds ( #12449 )
2024-03-07 09:23:28 +00:00
Cian Johnston
3e6e1e6f10
ci: add jnb wsproxy + update dogfood template ( #12440 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-03-06 18:54:26 +00:00
Dean Sheather
662be56d72
chore: rename migrations to fix main ( #12442 )
2024-03-06 18:28:53 +00:00
Steven Masley
b5f866c1cb
chore: add organization_id column to provisioner daemons ( #12356 )
...
* chore: add organization_id column to provisioner daemons
* Update upsert to include organization id on set
2024-03-06 12:04:50 -06:00
Dean Sheather
46a2ff1061
feat: allow setting port share protocol ( #12383 )
...
Co-authored-by: Garrett Delfosse <garrett@coder.com >
2024-03-06 09:23:57 -05:00
Steven Masley
23ff807a27
chore: remove autocreate orgs on CreateUser ( #12434 )
...
New users must be explictly given an organization to join.
Organizations should not be auto created as a side effect of
creating a new user.
2024-03-06 07:29:28 -06:00
Dean Sheather
842799847a
chore: fix trivy scanning ( #12421 )
2024-03-05 19:04:16 -06:00
Michael Smith
a92853c72d
fix: ensure auto-workspace creation waits until all parameters are ready ( #12419 )
...
* fix: ensure auto-workspace creation waits until all parameters are ready
* refactor: move creation blocking logic to main callback
* fix: let creation start if experimental feature is off
2024-03-05 18:42:50 -05:00
Kayla Washburn-Love
0fe109d517
chore: sort imports in our typescript code ( #12417 )
2024-03-05 16:31:22 -07:00
Steven Masley
17c486c5e6
chore: ensure default org always exists ( #12412 )
...
* chore: ensure default org always exists
First user just joins the org created by the migration
2024-03-05 14:06:35 -06:00
Bruno Quaresma
bc30c9c013
feat(site): warn user if they leave the editor without publishing ( #12406 )
2024-03-05 16:55:23 -03:00
Garrett Delfosse
61bd341a36
chore: change max share level on existing port shares ( #12411 )
2024-03-05 13:47:01 -05:00
Cian Johnston
5106d9fc47
feat(support): fetch data concurrently ( #12385 )
...
Modifies pkg support to fetch data concurrently
2024-03-05 17:41:42 +00:00
Bruno Quaresma
fb88fa8603
feat(site): display error messages on ws and access url health pages ( #12430 )
...
Close https://github.com/coder/coder/issues/12408
2024-03-05 13:27:57 -03:00
Cian Johnston
4343998c37
chore(coderd): add tests for big oidc tokens ( #12424 )
...
- Adds two test cases for a 64k+ ID token and a 64k+ userinfo payload.
- Reformats the entire test cases array as instructed by CI
2024-03-05 14:46:00 +00:00
Marcin Tojek
b1f9a6dc31
fix: use timestamptz instead of timestamp ( #12425 )
...
* fix: use timestampz instead of timestamp
* fix: timestamptz
2024-03-05 14:16:29 +00:00
Marcin Tojek
3e99c0373f
fix: improve pagination parser ( #12422 )
2024-03-05 14:05:15 +00:00
Cian Johnston
61db293b33
feat(scripts/develop.sh): add --debug flag to develop.sh ( #12423 )
...
Adds a `--debug` flag to `scripts/develop.sh` that will start coder under `dlv debug` instead.
You can then use e.g. the following launch snippet to connect dlv:
```
{
"name": "Delve Remote",
"type": "go",
"request": "attach",
"mode": "remote",
"port": 12345,
}
```
You can also run invididual CLI commands under dlv e.g.
```
debug=1 scripts/coder-dev.sh list
```
Also sets CGO_ENABLED=0 in develop.sh by default.
2024-03-05 13:29:08 +00:00
dependabot[bot]
8585863d0e
chore: bump golang.org/x/crypto from 0.19.0 to 0.20.0 ( #12403 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 15:49:17 +05:00
Marcin Tojek
e4fa212164
fix: always return count of workspaces ( #12407 )
2024-03-05 09:24:43 +01:00
Dean Sheather
0016b0200b
chore: add test for workspace proxy derp meshing ( #12220 )
...
- Reworks the proxy registration loop into a struct (so I can add a `RegisterNow` method)
- Changes the proxy registration loop interval to 15s (previously 30s)
- Adds test which tests bidirectional DERP meshing on all possible paths between 6 workspace proxy replicas
Related to https://github.com/coder/customers/issues/438
2024-03-04 23:40:15 -08:00
Steven Masley
5c6974e55f
feat: implement provisioner auth middleware and proper org params ( #12330 )
...
* feat: provisioner auth in mw to allow ExtractOrg
Step to enable org scoped provisioner daemons
* chore: handle default org handling for provisioner daemons
2024-03-04 15:15:41 -06:00
Colin Adler
926fd7ffa6
chore: add v2.6.1, v2.7.3, v2.8.4 release notes ( #12415 )
2024-03-04 12:23:01 -06:00
Alex
320c2eac6f
Entra External Auth for ADO ( #12201 )
2024-03-04 12:12:46 -06:00
Colin Adler
4439a920e4
Merge pull request from GHSA-7cc2-r658-7xpf
...
This fixes a vulnerability with the `CODER_OIDC_EMAIL_DOMAIN` option,
where users with a superset of the allowed email domain would be allowed
to login. For example, given `CODER_OIDC_EMAIL_DOMAIN=google.com`, a
user would be permitted entry if their email domain was
`colin-google.com`.
2024-03-04 12:52:03 -05:00
Garrett Delfosse
8f190b2016
fix: disallow out of range ports ( #12414 )
2024-03-04 12:25:06 -05:00
Kayla Washburn-Love
3a86ae569a
refactor: use TableEmpty in user settings ( #12389 )
2024-03-04 09:45:40 -07:00
Mathias Fredriksson
4ce1448bbe
fix(cli): generate correctly named file in DumpHandler ( #12409 )
2024-03-04 18:35:33 +02:00
Bruno Quaresma
afcea74462
fix(site): retry and debug passing build parameters options ( #12384 )
2024-03-04 10:25:53 -03:00
Kayla Washburn-Love
af4d0b148b
chore: add stories for Popover ( #12387 )
2024-03-01 15:43:35 -07:00
Michael Brewer
722ff50e59
fix: add service banner to workspace page ( #12381 )
2024-03-01 10:53:03 -07:00
Kayla Washburn-Love
4f0b885c30
chore: add stories for UserAvatar ( #12376 )
2024-03-01 10:50:17 -07:00
Kayla Washburn-Love
7824bee25f
chore: add stories for Stack ( #12375 )
2024-03-01 10:26:50 -07:00
Kayla Washburn-Love
f4c888f33e
chore: add stories for Latency component ( #12374 )
2024-03-01 10:26:38 -07:00
Kayla Washburn-Love
f00935baa6
chore: add stories for TableEmpty and TableLoader ( #12373 )
2024-03-01 10:26:30 -07:00
Cian Johnston
b1c2fea78b
feat(cli): add support cmd ( #12328 )
...
Part of #12163
- Adds a command coder support bundle <workspace> that generates a
support bundle and writes it to coder-support-$(date +%s).zip.
- Note: this is hidden currently until the rest of the functionality is fleshed out.
2024-03-01 17:13:50 +00:00
Colin Adler
e5d911462f
fix(tailnet): enforce valid agent and client addresses ( #12197 )
...
This adds the ability for `TunnelAuth` to also authorize incoming wireguard node IPs, preventing agents from reporting anything other than their static IP generated from the agent ID.
2024-03-01 09:02:33 -06:00
Colin Adler
7fbca62e08
chore: fix Test_parseInsightsStartAndEndTime flake ( #12377 )
...
Fixes https://github.com/coder/coder/issues/10600
2024-02-29 18:20:25 -06:00
Stephen Kirby
5a53afda46
minor change to quiet hours docs ( #12338 )
2024-02-29 14:50:00 -06:00
Bruno Quaresma
26b483d95e
fix(site): fix form layout for tablet viewports ( #12369 )
2024-02-29 16:24:06 -03:00
Steven Masley
4006974a98
fix: external auth device flow, check both queries for errors ( #12367 )
...
* fix: external auth device flow, check both queries for errors
* Minor style update
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-02-29 13:00:16 -06:00
Cian Johnston
9f3591add8
chore(cli): use xerrors.Errorf instead of fmt.Errorf ( #12368 )
2024-02-29 18:58:48 +00:00
Steven Masley
cbcf4ef2c4
chore: add faking 429 responses from fake idp ( #12365 )
...
Required to trigger error condition in fe.
See pull (#12367 )
2024-02-29 09:45:53 -06:00
Cian Johnston
eba8cd7c07
chore: consolidate various randomPort() implementations ( #12362 )
...
Consolidates our existing randomPort() implementations to package testutil
2024-02-29 12:51:44 +00:00
Cian Johnston
4f87ba46f9
chore: update provisioner tag documentation with suggestions from #12315 ( #12347 )
...
- Adds more testcases to TestAcquirer_MatchTags
- Adds functionality to generate a table from above test
- Update provisioner tag documentation with generated table
- Apply other feedback from #12315
2024-02-29 12:31:11 +00:00
Cian Johnston
e57c101200
feat: add support package and accompanying tests ( #12289 )
2024-02-29 11:58:33 +00:00
Cian Johnston
2bf3c72948
chore: add test for enterprise server cli ( #12353 )
2024-02-29 10:25:50 +00:00
Cian Johnston
b17fcd9cff
ci: use linter version from Dockerfile ( #12354 )
2024-02-29 09:53:32 +00:00
Kayla Washburn-Love
b24ad1bbf0
refactor: show parameter suggestions from user history below field ( #12340 )
2024-02-28 15:29:48 -07:00
Kyle Carberry
b2a5e2f4c0
fix: Increase license key rows ( #12352 )
...
It was pretty hard to tell when you pasted something in
this box with only displaying a single line.
This should help!
2024-02-28 21:57:10 +00:00
Steven Masley
97f083810f
chore: provide usage instruction for CLI argument failures ( #12309 )
...
* chore: add usage to # cli arg failures
2024-02-28 12:10:17 -06:00
Marcin Tojek
30d9d84758
fix: use flag to enable Prometheus ( #12345 )
2024-02-28 17:58:03 +01:00
Dean Sheather
bedd2c5922
fix: avoid race between replicas on start ( #12344 )
...
DERP mesh key setup would do a SELECT and then an INSERT on failure, without a lock. During some testing with multiple replicas, I managed to cause a replica to crash due to them initializing simultaneously.
Fixes:
Encountered an error running "coder server"
create coder API: insert mesh key: pq: duplicate key value violates unique constraint "site_configs_key_key"
Co-authored-by: Cian Johnston <cian@coder.com >
2024-02-28 16:14:11 +00:00
Bruno Quaresma
76273bf369
feat(site): display client errors in DERP Region health page ( #12318 )
2024-02-28 13:30:38 +00:00
Cian Johnston
1465ee2ed1
fix(coderd): use database.IsQueryCanceledError instead of xerrors.Is(err, context.Canceled) ( #12325 )
2024-02-28 21:19:57 +10:00
Marcin Tojek
eb4a1e2568
feat: enable Prometheus endpoint for external provisioner ( #12320 )
2024-02-28 09:21:56 +01:00
Michael Smith
087f973415
refactor(site): clean up clipboard functionality and define tests ( #12296 )
...
* refactor: clean up and update API for useClipboard
* wip: commit current progress on useClipboard test
* docs: clean up wording on showCopySuccess
* chore: make sure tests can differentiate between HTTP/HTTPS
* chore: add test ID to dummy input
* wip: commit progress on useClipboard test
* wip: commit more test progress
* refactor: rewrite code for clarity
* chore: finish clipboard tests
* fix: prevent double-firing for button click aliases
* refactor: clean up test setup
* fix: rename incorrect test file
* refactor: update code to display user errors
* refactor: redesign useClipboard to be easier to test
* refactor: clean up GlobalSnackbar
* feat: add functionality for notifying user of errors (with tests)
* refactor: clean up test code
* refactor: centralize cleanup steps
2024-02-27 21:05:37 -05:00
dependabot[bot]
e183843a16
chore: bump google.golang.org/grpc from 1.61.0 to 1.62.0 ( #12301 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 02:37:44 +05:00
Bruno Quaresma
0fc1a9164e
feat(site): support zip upload for template files ( #12323 )
...
Related to #11687
2024-02-27 18:00:23 -03:00
Eric Paulsen
0f9c142ea6
docs: add k8s security reference ( #12334 )
...
* docs: add k8s security reference
* make fmt
2024-02-27 15:59:11 -05:00
Kayla Washburn-Love
30772b80c1
Revert "ci: bump the github-actions group with 1 update ( #12303 )" ( #12327 )
...
This reverts commit 5757321ba2 .
2024-02-27 19:49:50 +00:00
Kayla Washburn-Love
b2413a593c
chore: reimplement activity status and autostop improvements ( #12175 )
2024-02-27 11:06:26 -07:00
Spike Curtis
4e7beee102
feat: show tailnet peer diagnostics after coder ping ( #12314 )
...
Beginnings of a solution to #12297
Doesn't cover disco or definitively display whether we successfully connected to DERP, but shows some checklist diagnostics for connecting to an agent.
For this first PR, I just added it to `coder ping` to see how we like it, but could be incorporated into `coder ssh` _et al._ after a timeout.
```
$ coder ping dogfood2
p2p connection established in 147ms
pong from dogfood2 p2p via 95.217.xxx.yyy:42631 in 147ms
pong from dogfood2 p2p via 95.217.xxx.yyy:42631 in 140ms
pong from dogfood2 p2p via 95.217.xxx.yyy:42631 in 140ms
✔ preferred DERP region 999 (Council Bluffs, Iowa)
✔ sent local data to Coder networking coodinator
✔ received remote agent data from Coder networking coordinator
preferred DERP 10013 (Europe Fly.io (Paris))
endpoints: 95.217.xxx.yyy:42631, 95.217.xxx.yyy:37576, 172.17.0.1:37576, 172.20.0.10:37576
✔ Wireguard handshake 11s ago
```
2024-02-27 22:04:46 +04:00
Mathias Fredriksson
32691e67e6
test(agent/agentscripts): fix test flake in TestEnv ( #12326 )
2024-02-27 17:58:10 +00:00
Kayla Washburn-Love
cbaf1c65ef
chore: clean out site/out/assets/ when building to prevent "too much data" errors ( #12313 )
2024-02-27 10:45:57 -07:00
Cian Johnston
b9e2d0a400
fix(coderd): mark provisioner daemon psk as secret ( #12322 )
...
* fix(coderd): mark provisioner daemon psk as secret
Marks provisioner daemon PSK with the secret annotation.
This ensures it will be scrubbed from API requests to
/api/v2/deployment/config.
* make gen
2024-02-27 16:33:32 +00:00
Steven Masley
19baca55da
feat: implement create org commands from cli ( #12308 )
...
* feat: implement create org commands from cli
2024-02-27 10:13:08 -06:00
dependabot[bot]
5757321ba2
ci: bump the github-actions group with 1 update ( #12303 )
...
Bumps the github-actions group with 1 update: [chromaui/action](https://github.com/chromaui/action ).
Updates `chromaui/action` from 10 to 11
- [Release notes](https://github.com/chromaui/action/releases )
- [Commits](https://github.com/chromaui/action/compare/v10...v11 )
---
updated-dependencies:
- dependency-name: chromaui/action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 11:53:48 -03:00
Cian Johnston
1d65e36b89
ci: increase connection hard limit for fly.io wsproxies ( #12319 )
2024-02-27 13:57:24 +00:00
Cian Johnston
392fecee87
chore(docs): update external provisioners documentation ( #12315 )
2024-02-27 13:05:28 +00:00
Cian Johnston
96c9838ce3
fix(cli): scaletest: do not screenshot if verbose=false ( #12317 )
2024-02-27 12:35:48 +00:00
Bruno Quaresma
2ca8248315
chore(site): apply code conventions ( #12316 )
2024-02-27 12:24:07 +00:00
dependabot[bot]
5a0d9db6c3
chore: bump github.com/elastic/go-sysinfo from 1.12.0 to 1.13.1 ( #12213 )
...
Bumps [github.com/elastic/go-sysinfo](https://github.com/elastic/go-sysinfo ) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/elastic/go-sysinfo/releases )
- [Commits](https://github.com/elastic/go-sysinfo/compare/v1.12.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: github.com/elastic/go-sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 15:19:43 +05:00
Selina NN
431bf5cf3b
Update artifactory-integration.md ( #12311 )
...
Update date year
2024-02-27 14:57:26 +05:00
Asher
f74532ff50
feat: audit oauth2 app management ( #12275 )
...
* Audit oauth2 app management
* Use 201 for creating secrets
2024-02-26 23:52:08 +00:00
Steven Masley
6b866b3f48
feat: set sane default for gitea external auth ( #12306 )
...
* feat: external auth defaults for gitea
Add some sane defaults for gitea to make it easier to configure
2024-02-26 12:35:18 -06:00
Steven Masley
70ccefc357
feat: set organization context in coder organizations ( #12265 )
...
* feat: add coder organizations set to change org context
`coder organizations set <org>`
2024-02-26 11:39:26 -06:00
Steven Masley
748cf4b2c4
feat: implement global flag for org selection ( #12276 )
...
* feat: implement global flag for org selection
Any command can use '-z' to override org context
2024-02-26 11:38:49 -06:00
dependabot[bot]
5a41385400
chore: bump github.com/gohugoio/hugo from 0.122.0 to 0.123.3 ( #12302 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 21:18:19 +05:00
Steven Masley
d2998c6b7b
feat: implement organization context in the cli ( #12259 )
...
* feat: implement organization context in the cli
`coder org show current`
2024-02-26 10:03:49 -06:00
Steven Masley
f44c89d200
chore: enforce orgid in audit logs where required ( #12283 )
...
* chore: enforce orgid in audit logs where required
2024-02-26 08:27:33 -06:00
Cian Johnston
74b749b890
chore(coderd): add test to assert agent token invalid when workspace deleted ( #12290 )
2024-02-26 13:27:00 +00:00
Muhammad Atif Ali
7eed40bd99
chore(dogfood): bump jetbrains-gateway module to 1.0.6 ( #12298 )
2024-02-26 11:57:40 +00:00
Spike Curtis
b0afffbafb
feat: use v2 API for agent metadata updates ( #12281 )
...
Switches the agent to report metadata over the v2 API.
Fixes #10534
2024-02-26 09:50:19 +04:00
Gary Reynolds
7a245e61b1
chore(docs): inline OIDC flow diagram ( #12255 )
...
When viewing the Authentication page, the diagram showing the flow is a useful
resource for understanding the rest of the page.
Rather than linking to a specific version of the SVG, inline it as part of the
documentation.
2024-02-26 04:48:01 +00:00
Michael Brewer
245e280531
docs: add gitlab self-managed example ( #12295 )
2024-02-25 10:11:13 -05:00
Eric Paulsen
fb198ac99c
docs: add steps for postgres server verification ( #12072 )
...
* docs: add steps for postgres server verification
* make: fmt
* refactor to guide
* add manifest
2024-02-25 01:16:56 +00:00
dependabot[bot]
7e797e90ac
chore: bump golang.org/x/tools from 0.17.0 to 0.18.0 ( #12209 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 10:42:50 +05:00
Steven Masley
c33c452663
fix: use default org over index [0] for new scim ( #12284 )
2024-02-23 15:31:36 -06:00
Colin Adler
0dd126e025
chore: upgrade github.com/hashicorp/hc-install to v0.6.3 ( #12288 )
...
Removes a dependency on a vulnerable version of github.com/cloudflare/circl
2024-02-23 13:41:58 -06:00
Bruno Quaresma
79480ca587
feat(site): display build logs on template creation ( #12271 )
2024-02-23 12:23:52 -07:00
Steven Masley
13359aa16f
chore: drop github per user rate limit tracking ( #12286 )
...
* chore: drop github per user rate limit tracking
Rate limits for authenticated requests are per user.
This would be an excessive number of prometheus labels,
so we only track the unauthorized limit.
2024-02-23 11:17:52 -06:00
Marcin Tojek
90db6683c4
fix: refresh entitlements after creating first user ( #12285 )
2024-02-23 16:48:24 +00:00
Cian Johnston
2cb9bfd517
refactor(coderd): move healthcheck report structs to codersdk ( #12279 )
...
Moves healthcheck report-related structs from coderd/healthcheck to codersdk
This prevents an import cycle when adding a codersdk.Client method to hit /api/v2/debug/health.
2024-02-23 13:13:28 +00:00
Spike Curtis
aa7a9f5cc4
feat: use v2 API for agent lifecycle updates ( #12278 )
...
Agent uses the v2 API to post lifecycle updates.
Part of #10534
2024-02-23 15:24:28 +04:00
Dean Sheather
ee7828a166
chore: fix wsproxy test flake ( #12280 )
...
* chore: fix wsproxy test flake
* fixup! chore: fix wsproxy test flake
2024-02-23 21:19:54 +10:00
Spike Curtis
4cc132cea0
feat: switch agent to use v2 API for sending logs ( #12068 )
...
Changes the agent to use the new v2 API for sending logs, via the logSender component.
We keep the PatchLogs function around, but deprecate it so that we can test the v1 endpoint.
2024-02-23 11:27:15 +04:00
Spike Curtis
af3fdc68c3
chore: refactor agent routines that use the v2 API ( #12223 )
...
In anticipation of needing the `LogSender` to run on a context that doesn't get immediately canceled when you `Close()` the agent, I've undertaken a little refactor to manage the goroutines that get run against the Tailnet and Agent API connection.
This handles controlling two contexts, one that gets canceled right away at the start of graceful shutdown, and another that stays up to allow graceful shutdown to complete.
2024-02-23 11:04:23 +04:00
Kayla Washburn-Love
66585f042f
feat: support markdown in update messages ( #12273 )
2024-02-22 16:14:06 -07:00
Kayla Washburn-Love
7e6cb66a50
feat(site): allow creating a workspace without connecting optional external auth providers ( #12251 )
2024-02-22 10:27:36 -07:00
Kayla Washburn-Love
b8a53230c7
chore: revert "refactor(site): verify external auth before display ws form ( #11777 )" ( #12183 )
2024-02-22 09:44:30 -07:00
Cian Johnston
53e8f9c0f9
fix(coderd): only allow untagged provisioners to pick up untagged jobs ( #12269 )
...
Alternative solution to #6442
Modifies the behaviour of AcquireProvisionerJob and adds a special case for 'un-tagged' jobs such that they can only be picked up by 'un-tagged' provisioners.
Also adds comprehensive test coverage for AcquireJob given various combinations of tags.
2024-02-22 15:04:31 +00:00
Marcin Tojek
aa7a12a5ec
docs: document Terraform variables ( #12270 )
2024-02-22 15:26:53 +01:00
Steven Masley
d4d8424ce0
fix: fix GetOrganizationsByUserID error when multiple organizations exist ( #12257 )
...
* test: fetching user orgs fails if multi orgs in pg db
* fix: GetOrganizationsByUserID fixed if multi orgs exist
2024-02-22 08:14:48 -06:00
Spike Curtis
da376549a3
fix: stop waiting for Agent in a goroutine in ssh test ( #12268 )
...
Fixes race seen here: https://github.com/coder/coder/runs/21852483781
What happens is that the agent connects, completes the test, and then disconnects before the Eventually condition runs. The waiter then times out because it's looking for a connected agent.
Then, since it's a `require` in a goroutine, that causes the `tGo` cleanup to hang and the whole test suite to timeout after 10 minutes.
Anyway, `agenttest.New` doesn't block, and we don't actually need to wait for the agent to connect, since a successful SSH session is evidence that it connected.
2024-02-22 17:01:06 +04:00
dependabot[bot]
a31a05e2cb
chore: bump github.com/valyala/fasthttp from 1.51.0 to 1.52.0 ( #12210 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 11:59:29 +05:00
dependabot[bot]
307a206605
chore: bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 ( #12212 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 11:59:17 +05:00
Asher
51d178d538
feat: add OAuth2 user settings page ( #12237 )
2024-02-21 14:16:55 -09:00
dependabot[bot]
3cbe14fdad
chore: bump ip from 2.0.0 to 2.0.1 in /site ( #12238 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 14:06:43 -09:00
Asher
7eb2beccea
fix: redirect from oauth2 authorization page ( #12241 )
...
At the moment it just says "you are not authorized", but we want to
automatically redirect to the login page.
2024-02-21 13:30:33 -09:00
Steven Masley
c3a7b13690
chore: remove organization requirement from convertGroup() ( #12195 )
...
* feat: convertGroups() no longer requires organization info
Removing role information from some users in the api. This info is
excessive and not required. It is costly to always include
2024-02-21 15:58:11 -06:00
Steven Masley
3f65bd14cc
fix: ignore surronding whitespace for cli config ( #12250 )
...
* fix: ignore surronding whitespace for cli config
Cli config files break if you edit them manually with any editor.
Editors drop a newline at the end, and we not break on this.
If a developer manually edits a file, it should still work
2024-02-21 13:03:41 -06:00
Kayla Washburn-Love
475c3650ca
feat: add support for optional external auth providers ( #12021 )
2024-02-21 11:18:38 -07:00
Bruno Quaresma
78c9f82719
fix(site): fix error when typing long number on ttl ( #12249 )
2024-02-21 17:29:29 +00:00
Michael Smith
1d254f4680
fix: add tests and improve accessibility for useClickable ( #12218 )
2024-02-21 10:59:13 -05:00
Bruno Quaresma
a827185b6d
refactor: move auto fill feature into an experiment ( #12230 )
2024-02-21 11:48:34 -03:00
Marcin Tojek
c230bcf5ca
fix: previous parameter value is not a number ( #12246 )
2024-02-21 15:44:45 +01:00
Bruno Quaresma
b4fb754b2d
feat(site): show previous agent scripts logs ( #12233 )
2024-02-21 11:42:34 -03:00
Bruno Quaresma
0398e3c531
chore(site): fix storybook for agent row with port forward button ( #12247 )
2024-02-21 14:32:39 +00:00
Bruno Quaresma
cc4cefbbee
chore(site): fix storybook test ( #12245 )
2024-02-21 14:17:18 +00:00
Bruno Quaresma
ebe05820c9
fix(site): fix web terminal bottom overflow ( #12228 )
2024-02-21 11:02:53 -03:00
dependabot[bot]
91c3df785f
chore: bump github.com/aws/smithy-go from 1.19.0 to 1.20.0 ( #12206 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 13:09:18 +05:00
dependabot[bot]
519cf5935f
chore: bump github.com/prometheus/common from 0.46.0 to 0.47.0 ( #12207 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 11:36:52 +05:00
Asher
3d742f64e6
fix: move oauth2 routes ( #12240 )
...
* fix: move oauth2 routes
From /login/oauth2/* to /oauth2/*.
/login/oauth2 causes /login to no longer get served by the frontend,
even if nothing is actually served on /login itself.
* Add forgotten comment on delete
2024-02-20 17:01:25 -09:00
Asher
4d39da294e
feat: add oauth2 token exchange ( #12196 )
...
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2024-02-20 14:58:43 -09:00
Steven Masley
07cccf9033
feat: disable directory listings for static files ( #12229 )
...
* feat: disable directory listings for static files
Static file server handles serving static asset files (js, css, etc).
The default file server would also list all files in a directory.
This has been changed to only serve files.
2024-02-20 15:50:30 -06:00
Steven Masley
2dac34276a
fix: add postgres triggers to remove deleted users from user_links ( #12117 )
...
* chore: add database test fixture to insert non-unique linked_ids
* chore: create unit test to exercise failed email change bug
* fix: add postgres triggers to keep user_links clear of deleted users
* Add migrations to prevent deleted users with links
* Force soft delete of users, do not allow un-delete
2024-02-20 13:19:38 -06:00
Garrett Delfosse
b342bd7869
feat: add port sharing frontend ( #12119 )
2024-02-20 13:26:34 -05:00
Bruno Quaresma
0021c2f906
fix(site): fix parameters field size ( #12231 )
2024-02-20 13:54:07 -03:00
Marcin Tojek
57bf997369
feat: support custom validation errors for number-typed parameters ( #12224 )
2024-02-20 16:32:03 +01:00
Michael Smith
6414b7aade
chore(site): refactor tests for global hooks ( #12216 )
...
* refactor: clean up tests for debounce
* refactor: clean up tests for useCustomEvent
* refactor: clean up events file
* refactor: clean up tests for hookPolyfills
2024-02-20 09:19:43 -05:00
Michael Smith
d6ae9d8548
revert: remove anti-flicker clipboard styling ( #12227 )
...
- These CSS changes were for making sure there weren't layout shifts
when using the non-secure clipboard fallback, which could cause janky
UI flickers. It seems to be breaking things for some users on HTTP-only
connections, though.
2024-02-20 14:14:25 +00:00
Cian Johnston
643c3ee54b
refactor(provisionerd): move provisionersdk.VersionCurrent -> provisionerdproto.VersionCurrent ( #12225 )
2024-02-20 12:44:19 +00:00
Cian Johnston
c62a8b0bee
fix(helm)!: remove prometheus-http port declaration from coderd service spec ( #12214 )
...
This PR removes the prometheus-http port entirely from the coder service specification (originally added in #10448 ). It also removes the Helm value coder.service.prometheusNodePort.
Rationale: some cloud providers will helpfully expose all ports on a LoadBalancer service for you. The net effect of this is that setting CODER_PROMETHEUS_ENABLE will end up exposing port 2112 on your coderd service to the internet, which is likely undesired behaviour.
2024-02-20 11:36:17 +00:00
Mathias Fredriksson
b1c0b39d88
feat(agent): add script data dir for binaries and files ( #12205 )
...
The agent is extended with a `--script-data-dir` flag, defaulting to the
OS temp dir. This dir is used for storing `coder-script-data/bin` and
`coder-script/[script uuid]`. The former is a place for all scripts to
place executable binaries that will be available by other scripts, SSH
sessions, etc. The latter is a place for the script to store files.
Since we default to OS temp dir, files are ephemeral by default. In the
future, we may consider adding new env vars or changing the default
storage location. Workspace startup speed could potentially benefit from
scripts being able to skip steps that require downloading software. We
may also extend this with more env variables (e.g. persistent storage in
HOME).
Fixes #11131
2024-02-20 13:26:18 +02:00
Spike Curtis
ab4cb66e00
feat: add WaitUntilEmpty to LogSender ( #12159 )
...
We'll need this to be able to tell when all outstanding logs have been sent, as part of graceful shutdown.
2024-02-20 11:11:31 +04:00
Spike Curtis
081e37d7d9
chore: move LogSender to agentsdk ( #12158 )
...
Moves the LogSender to agentsdk and deprecates LogsSender based on the v1 API.
2024-02-20 10:44:20 +04:00
Dean Sheather
9861830e87
fix: never send local endpoints if disabled ( #12138 )
2024-02-20 15:51:25 +10:00
Mathias Fredriksson
c63f569174
refactor(agent/agentssh): move envs to agent and add agentssh config struct ( #12204 )
...
This commit refactors where custom environment variables are set in the
workspace and decouples agent specific configs from the `agentssh.Server`.
To reproduce all functionality, `agentssh.Config` is introduced.
The custom environment variables are now configured in `agent/agent.go`
and the agent retains control of the final state. This will allow for
easier extension in the future and keep other modules decoupled.
2024-02-19 16:30:00 +02:00
Colin Adler
817cc78b94
fix(examples): remove dead code comment ( #12194 )
2024-02-17 17:38:19 +00:00
Mathias Fredriksson
0442ee5fa8
fix(agent/reconnectingpty): fix screen startup speed by disabling messages ( #12190 )
2024-02-16 22:37:02 +02:00
Cian Johnston
a2cbb0f87f
fix(enterprise/coderd): check provisionerd API version on connection ( #12191 )
2024-02-16 18:43:07 +00:00
Steven Masley
f17149c59d
feat: set groupsync to use default org ( #12146 )
...
* fix: assign new oauth users to default org
This is not a final solution, as we eventually want to be able
to map to different orgs. This makes it so multi-org does not break oauth/oidc.
2024-02-16 11:09:19 -06:00
Kayla Washburn-Love
dbaafc863c
chore: update no-restricted-imports lint rule ( #12180 )
...
- prevent importing from the "monolith" lodash module. individual modules are better for tree shaking.
- prevent importing `useTheme` and types from @mui/material/styles. prefer importing from @emotion/react.
2024-02-16 09:54:40 -07:00
Steven Masley
75870c22ab
fix: assign new oauth users to default org ( #12145 )
...
* fix: assign new oauth users to default org
This is not a final solution, as we eventually want to be able
to map to different orgs. This makes it so multi-org does not break oauth/oidc.
2024-02-16 08:47:26 -06:00
Steven Masley
2a8004b1b2
feat: use default org for PostUser ( #12143 )
...
Instead of assuming only 1 org exists, this uses the
is_default org to place a user in if not specified.
2024-02-16 08:28:36 -06:00
Marcin Tojek
0e1bad4f82
docs: fix header font ( #12193 )
2024-02-16 13:32:45 +00:00
Muhammad Atif Ali
799d71f6b2
docs: simplify docker installation docs ( #12187 )
2024-02-16 12:53:03 +00:00
Bruno Quaresma
be1edc3995
fix(site): fix language detection for Dockerfile ( #12188 )
2024-02-16 12:50:36 +00:00
Marcin Tojek
41647ca984
docs: describe resource ordering in UI ( #12185 )
2024-02-16 13:33:57 +01:00
Bruno Quaresma
df297627c2
fix(site): match activity bump text with template settings ( #12170 )
...
Close https://github.com/coder/coder/issues/12130
2024-02-16 09:33:15 -03:00
Muhammad Atif Ali
99dbeb4a85
ci: fix broken dogfood workflow ( #12186 )
2024-02-16 14:14:35 +03:00
Muhammad Atif Ali
8ca2add6dc
chore(dogfood): revert to pre-artifactory state ( #12169 )
2024-02-16 13:47:15 +03:00
Colin Adler
97e4d51953
fix(cli/clibase): don't error on required flags with --help ( #12181 )
2024-02-15 23:41:46 +00:00
Michael Smith
fbd436cc2c
fix: improve clipboard support on HTTP connections and older browsers ( #12178 )
...
* fix: add future-proofing for clipboard copies on http connections
* docs: clean up comment formatting
2024-02-15 16:44:53 -05:00
Colin Adler
8a9f59a4bb
fix(cli): avoid panic when external auth name isn't provided ( #12177 )
...
Fixes https://github.com/coder/coder/issues/10216
2024-02-15 15:17:16 -06:00
Colin Adler
4c3d44658d
fix(codersdk): correctly log coordination error ( #12176 )
2024-02-15 20:47:12 +00:00
Steven Masley
2bf2f88b09
feat: implement 'is_default' org field ( #12142 )
...
The first organization created is now marked as "default". This is
to allow "single org" behavior as we move to a multi org codebase.
It is intentional that the user cannot change the default org at this
stage. Only 1 default org can exist, and it is always the first org.
Closes: https://github.com/coder/coder/issues/11961
2024-02-15 11:01:16 -06:00
dependabot[bot]
a67362fdb1
chore: bump github.com/u-root/u-root from 0.12.0 to 0.13.0 ( #12100 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 19:25:52 +03:00
Marcin Tojek
5aa5ff1bde
chore: deprecate API workspace build resources ( #12167 )
2024-02-15 17:13:44 +01:00
Spike Curtis
2aff014e5d
feat: add logSender for sending logs on agent v2 API ( #12046 )
...
Adds a new subcomponent of the agent for queueing up logs until they can be sent over the Agent API.
Subsequent PR will change the agent to use this instead of the HTTP API for posting logs.
Relates to #10534
2024-02-15 16:57:17 +04:00
Spike Curtis
627232eae9
fix: fix pgcoord to delete coordinator row last ( #12155 )
...
Fixes #12141
Fixes #11750
PGCoord shutdown was uncoordinated, so an update at an inopportune time during shutdown would be rejected because the coordinator row was already deleted.
This PR ensures that the PGCoord subcomponents that write updates are shut down before we take down the heartbeats, which is responsible for deleting the coordinator row.
2024-02-15 16:34:29 +04:00
Marcin Tojek
7a453608c9
feat: support order property of coder_agent ( #12121 )
2024-02-15 13:33:13 +01:00
Sulochan
c66e665864
docs: add kubevirt coder template in list of community templates ( #12113 )
2024-02-15 13:18:10 +03:00
Marcin Tojek
8cc62fb221
fix(site): ignore fileInfo if file is missing ( #12154 )
2024-02-15 09:15:22 +00:00
Muhammad Atif Ali
d9f99da327
chore(docs): update artifactory-integration guide ( #12153 )
2024-02-15 11:20:50 +03:00
Spike Curtis
2d0b9106c0
fix: change servertailnet to register the DERP dialer before setting DERP map ( #12137 )
...
I noticed a possible race where tailnet.Conn can try to dial the embedded region before we've set our custom dialer that send the DERP in-memory. This closes that race and adds a test case for servertailnet with no STUN and an embedded relay
2024-02-15 10:51:12 +04:00
dependabot[bot]
1bb4aecf49
chore: bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 ( #12099 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 13:37:30 -06:00
Cian Johnston
d6b025db14
Revert "feat: add activity status and autostop reason to workspace overview ( #11987 )" ( #12144 )
...
Related to https://github.com/coder/coder/pull/11987
This reverts commit d37b131 .
2024-02-14 17:14:49 +00:00
Spike Curtis
04991f425a
fix: set node callback each time we reinit the coordinator in servertailnet ( #12140 )
...
I think this will resolve #12136 but lets get a proper test at the system level before closing.
Before this change, we only register the node callback at start of day for the server tailnet. If the coordinator changes, like we know happens when we are licensed for the PGCoordinator, we close the connection to the old coord, and open a new one to the new coord.
The callback is designed to direct the updates to the new coordinator, but there is nothing that specifically triggers it to fire after we connect to the new coordinator.
If we have STUN, then period re-STUNs will generally get it to fire eventually, but without STUN it we could go indefinitely without a callback.
This PR changes the servertailnet to re-register the callback each time we reconnect to the coordinator. Registering a callback (even if it's the same callback) triggers an immediate call with our node information, so the new coordinator will have it.
2024-02-14 20:45:31 +04:00
Spike Curtis
5a0d240bc3
feat: expose DERP server debug metrics ( #12135 )
...
Adds some debug endpoints for looking into the DERP server.
The `api/v2/debug/derp/traffic` endpoint requires the `ss` utility to be present in order to function. I have *not* added the `iproute2` package to our base image as it adds 11MB, so this endpoint won't be useful by default. However, in a debugging situation, we could exec into the container and then `apk add iproute2`, or build a special debug image.
The `api/v2/debug/expvar` handler contains DERP metrics as well as commandline and memstats.
Example:
```
{
"alert_failed": 0,
"alert_generated": 0,
"cmdline": ["/Users/spike/repos/coder/build/coder_darwin_arm64","--global-config","/Users/spike/repos/coder/.coderv2","server","--http-address","0.0.0.0:3000","--swagger-enable","--access-url","http://127.0.0.1:3000 ","--dangerous-allow-cors-requests=true"],
"derp": {"accepts": 1, "average_queue_duration_ms": 0, "bytes_received": 0, "bytes_sent": 0, "counter_packets_dropped_reason": {"gone_disconnected": 0, "gone_not_here": 0, "queue_head": 0, "queue_tail": 0, "unknown_dest": 0, "unknown_dest_on_fwd": 0, "write_error": 0}, "counter_packets_dropped_type": {"disco": 0, "other": 0}, "counter_packets_received_kind": {"disco": 0, "other": 0}, "counter_tcp_rtt": {}, "counter_total_dup_client_conns": 0, "gauge_clients_local": 1, "gauge_clients_remote": 0, "gauge_clients_total": 1, "gauge_current_connections": 1, "gauge_current_dup_client_conns": 0, "gauge_current_dup_client_keys": 0, "gauge_current_file_descriptors": 0, "gauge_current_home_connections": 1, "gauge_memstats_sys0": 20874504, "gauge_watchers": 0, "got_ping": 0, "home_moves_in": 0, "home_moves_out": 0, "multiforwarder_created": 0, "multiforwarder_deleted": 0, "packet_forwarder_delete_other_value": 0, "packets_dropped": 0, "packets_forwarded_in": 0, "packets_forwarded_out": 0, "packets_received": 0, "packets_sent": 0, "peer_gone_disconnected_frames": 0, "peer_gone_not_here_frames": 0, "sent_pong": 0, "unknown_frames": 0, "version": "1.47.0-dev20240214-t64db8c604"},
"memstats": {"Alloc":286506256,"TotalAlloc":297594632,"Sys":310621512,"Lookups":0,"Mallocs":304204,"Frees":171570,"HeapAlloc":286506256,"HeapSys":294060032,"HeapIdle":3694592,"HeapInuse":290365440,"HeapReleased":3620864,"HeapObjects":132634,"StackInuse":3735552,"StackSys":3735552,"MSpanInuse":347256,"MSpanSys":358512,"MCacheInuse":9600,"MCacheSys":15600,"BuckHashSys":1469877,"GCSys":9434896,"OtherSys":1547043,"NextGC":551867656,"LastGC":1707892877408883000,"PauseTotalNs":1247000,"PauseNs":[200333,229375,239875,209542,106958,203792,57125,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"PauseEnd":[1707892876217481000,1707892876219726000,1707892876222273000,1707892876226151000,1707892876234815000,1707892877398146000,1707892877408883000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"NumGC":7,"NumForcedGC":0,"GCCPUFraction":0.0022425810335762954,"EnableGC":true,"DebugGC":false,"BySize":[{"Size":0,"Mallocs":0,"Frees":0},{"Size":8,"Mallocs":14396,"Frees":9143},{"Size":16,"Mallocs":89090,"Frees":50507},{"Size":24,"Mallocs":40839,"Frees":24456},{"Size":32,"Mallocs":22404,"Frees":12379},{"Size":48,"Mallocs":51174,"Frees":23718},{"Size":64,"Mallocs":15406,"Frees":3501},{"Size":80,"Mallocs":6688,"Frees":2352},{"Size":96,"Mallocs":2567,"Frees":374},{"Size":112,"Mallocs":19371,"Frees":16883},{"Size":128,"Mallocs":2873,"Frees":1061},{"Size":144,"Mallocs":5600,"Frees":2742},{"Size":160,"Mallocs":2159,"Frees":622},{"Size":176,"Mallocs":454,"Frees":86},{"Size":192,"Mallocs":227,"Frees":128},{"Size":208,"Mallocs":1407,"Frees":732},{"Size":224,"Mallocs":1365,"Frees":1090},{"Size":240,"Mallocs":82,"Frees":48},{"Size":256,"Mallocs":310,"Frees":162},{"Size":288,"Mallocs":1945,"Frees":562},{"Size":320,"Mallocs":1200,"Frees":458},{"Size":352,"Mallocs":133,"Frees":33},{"Size":384,"Mallocs":582,"Frees":51},{"Size":416,"Mallocs":747,"Frees":200},{"Size":448,"Mallocs":113,"Frees":22},{"Size":480,"Mallocs":34,"Frees":21},{"Size":512,"Mallocs":951,"Frees":91},{"Size":576,"Mallocs":364,"Frees":122},{"Size":640,"Mallocs":532,"Frees":270},{"Size":704,"Mallocs":93,"Frees":39},{"Size":768,"Mallocs":83,"Frees":35},{"Size":896,"Mallocs":308,"Frees":175},{"Size":1024,"Mallocs":226,"Frees":122},{"Size":1152,"Mallocs":198,"Frees":100},{"Size":1280,"Mallocs":314,"Frees":171},{"Size":1408,"Mallocs":77,"Frees":47},{"Size":1536,"Mallocs":80,"Frees":54},{"Size":1792,"Mallocs":199,"Frees":107},{"Size":2048,"Mallocs":112,"Frees":48},{"Size":2304,"Mallocs":71,"Frees":32},{"Size":2688,"Mallocs":206,"Frees":81},{"Size":3072,"Mallocs":39,"Frees":15},{"Size":3200,"Mallocs":16,"Frees":7},{"Size":3456,"Mallocs":44,"Frees":29},{"Size":4096,"Mallocs":192,"Frees":83},{"Size":4864,"Mallocs":44,"Frees":25},{"Size":5376,"Mallocs":105,"Frees":43},{"Size":6144,"Mallocs":25,"Frees":5},{"Size":6528,"Mallocs":22,"Frees":7},{"Size":6784,"Mallocs":3,"Frees":0},{"Size":6912,"Mallocs":4,"Frees":2},{"Size":8192,"Mallocs":59,"Frees":10},{"Size":9472,"Mallocs":31,"Frees":12},{"Size":9728,"Mallocs":5,"Frees":2},{"Size":10240,"Mallocs":5,"Frees":0},{"Size":10880,"Mallocs":27,"Frees":11},{"Size":12288,"Mallocs":4,"Frees":1},{"Size":13568,"Mallocs":4,"Frees":2},{"Size":14336,"Mallocs":9,"Frees":2},{"Size":16384,"Mallocs":10,"Frees":2},{"Size":18432,"Mallocs":4,"Frees":2}]},
"warning_failed": 0,
"warning_generated": 0
}
```
If we find the DERP metrics useful we could consider how to include them in Prometheus scrapes based on the tailnet `varz` package. That's for a later PR if at all.
2024-02-14 15:11:45 +04:00
Muhammad Atif Ali
53c55439be
chore (examples/templates/incus): fix a typo ( #12123 )
2024-02-13 19:16:33 +00:00
Steven Masley
5d483a7ea1
fix: do not query user_link for deleted accounts ( #12112 )
2024-02-13 13:02:21 -06:00
Steven Masley
06f3ab1206
chore: add database test fixture to insert non-unique linked_ids ( #12111 )
...
* chore: add database test fixture to insert non-unique linked_ids
2024-02-13 12:06:47 -06:00
Kayla Washburn-Love
d37b131426
feat: add activity status and autostop reason to workspace overview ( #11987 )
2024-02-13 10:50:17 -07:00
Muhammad Atif Ali
e53d8bdb50
docs: update modules docs ( #11911 )
2024-02-13 15:35:09 +00:00
Cian Johnston
68641f9e2f
chore(examples/templates/incus): fix incus group name in README ( #12120 )
2024-02-13 15:31:07 +00:00
dependabot[bot]
e938690b1e
chore: bump golang.org/x/mod from 0.14.0 to 0.15.0 ( #12094 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 18:25:26 +03:00
Muhammad Danish
3c536aa880
ci: use repo secret for syncing winget-pkgs fork ( #12108 )
2024-02-13 18:25:13 +03:00
dependabot[bot]
28bbdee655
chore: bump github.com/go-playground/validator/v10 ( #12096 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.17.0 to 10.18.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.17.0...v10.18.0 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 17:54:13 +03:00
dependabot[bot]
4760e85c15
chore: bump golang.org/x/net from 0.20.0 to 0.21.0 ( #12097 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 17:53:16 +03:00
dependabot[bot]
9560d9a68b
ci: bump the github-actions group with 2 updates ( #12091 )
...
Bumps the github-actions group with 2 updates: [crate-ci/typos](https://github.com/crate-ci/typos ) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `crate-ci/typos` from 1.18.0 to 1.18.2
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.18.0...v1.18.2 )
Updates `aquasecurity/trivy-action` from 0.16.1 to 0.17.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/d43c1f16c00cfd3978dde6c07f4bbcf9eb6993ca...84384bd6e777ef152729993b8145ea352e9dd3ef )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 17:52:12 +03:00
Garrett Delfosse
3ab3a62bef
feat: add port-sharing backend ( #11939 )
2024-02-13 09:31:20 -05:00
Cian Johnston
c939416702
chore(examples): add sample Incus template ( #12114 )
...
Adds sample incus template created for FOSDEM 2024; there's enough intricacy involved to make it worth persisting
2024-02-13 14:30:31 +00:00
Dean Sheather
e1e352d8c1
feat: add template activity_bump property ( #11734 )
...
Allows template admins to configure the activity bump duration. Defaults to 1h.
2024-02-13 07:00:35 +00:00
Dean Sheather
fead57f304
fix: allow access to unhealthy/initializing apps ( #12086 )
2024-02-13 16:30:49 +10:00
Cian Johnston
ec25fb8bbc
fix(docs/networking/stun): convert svg diagrams to png
2024-02-12 17:27:53 +00:00
Cian Johnston
2fabc9499a
fix(docs): remove inline mermaid diagrams ( #12107 )
2024-02-12 15:56:37 +00:00
Cian Johnston
1cc51b009a
chore(examples): remove deprecated startup_script_timeout and shutdown_script_timeout ( #12104 )
...
Removes deprecated startup_script_timeout and shutdown_script_timeout from our example templates.
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-02-12 14:29:41 +00:00
Marcin Tojek
3e68650791
feat: support order property of coder_app resource ( #12077 )
2024-02-12 15:11:31 +01:00
Cian Johnston
1e9a3c952f
chore(docs/networking/stun): fix diagram in section 2 ( #12103 )
2024-02-12 12:33:41 +00:00
Cian Johnston
d1a522a8fc
chore(docs): add requirements re ports and stun server to docs ( #12026 )
...
Adds documentation on port requirements and a short overview of STUN with some example scenarios.
Co-authored-by: Dean Sheather <dean@deansheather.com >
Co-authored-by: Spike Curtis <spike@coder.com >
2024-02-12 11:42:27 +00:00
Dean Sheather
2fc3064653
chore: add tests for app ID copy in app healths ( #12088 )
2024-02-12 05:49:48 +00:00
Colin Adler
06254a167f
chore(docs): add v2.8.2 changelog ( #12089 )
2024-02-12 05:48:34 +00:00
Dean Sheather
429144da22
fix: copy app ID in healthcheck ( #12087 )
2024-02-12 05:01:16 +00:00
Eric Paulsen
bb308851f5
docs: fix jetbrains reconnect faq ( #12073 )
...
* docs: fix jetbrains reconnect faq
* make: fmt
* add asher feedback
2024-02-09 23:44:33 +00:00
Bruno Quaresma
390217b396
feat(site): add create template from scratch ( #12082 )
2024-02-09 14:42:26 +00:00
Cian Johnston
2b307c7c4e
fix(cli/server): do not redirect /healthz ( #12080 )
2024-02-09 13:44:47 +00:00
Spike Curtis
92b2e26a48
feat: send log limit exceeded in response, not error ( #12078 )
...
When we exceed the db-imposed limit of logs, we need to communicate that back to the agent. In v1 we did it with a 4xx-level HTTP status, but with dRPC, the errors are delivered as strings, which feels fragile to me for something we want to gracefully handle.
So, this PR adds the log limit exceeded as a field on the response message, and fixes the API handler to set it as appropriate instead of an error.
2024-02-09 16:17:20 +04:00
Spike Curtis
1f5a6d59ba
chore: consolidate websocketNetConn implementations ( #12065 )
...
Consolidates websocketNetConn from multiple packages in favor of a central one in codersdk
2024-02-09 11:39:08 +04:00
Colin Adler
ec8e41f516
chore: add logging around agent app health reporting ( #12071 )
2024-02-08 23:37:44 -06:00
Marcin Tojek
c0e169ebf9
feat: support custom order of agent metadata ( #12066 )
2024-02-08 17:29:34 +01:00
Mathias Fredriksson
e659957b65
fix(cli/ssh): prevent reads/writes to stdin/stdout in stdio mode ( #12045 )
...
Fixes #11530
2024-02-08 13:09:42 +02:00
Spike Curtis
151aaadc23
fix: allow startup scripts larger than 32k ( #12060 )
...
Fixes #12057 and adds a regression test.
2024-02-07 22:26:42 +04:00
Bruno Quaresma
4d63a473b2
fix(site): fix infinity loading when template has no previous version ( #12059 )
2024-02-07 14:56:09 -03:00
Mathias Fredriksson
040ce40ed8
fix(dogfood): add ability to synchronize with startup script via done file ( #12058 )
2024-02-07 19:16:18 +02:00
Bruno Quaresma
d8a8070986
fix(site): enable submit when auto start and stop are both disabled ( #12055 )
2024-02-07 14:06:48 -03:00
Bruno Quaresma
4b1bac31b6
feat(site): allow any file extension on template editor ( #12000 )
2024-02-07 13:24:28 -03:00
Marcin Tojek
4e7b208068
fix(site): e2e: print API backend calls ( #12051 )
2024-02-07 15:50:07 +01:00
Eric Paulsen
1abe0cfa1a
docs: fix /audit & /insights params ( #12043 )
2024-02-07 08:38:54 -05:00
Spike Curtis
1cf4b62867
feat: change agent to use v2 API for reporting stats ( #12024 )
...
Modifies the agent to use the v2 API to report its statistics, using the `statsReporter` subcomponent.
2024-02-07 15:26:41 +04:00
Muhammad Atif Ali
70ad833b02
ci: fix GH_TOKEN in release.yaml ( #12044 )
2024-02-07 13:37:11 +03:00
Mathias Fredriksson
f2aef0726b
fix(agent/agentssh): allow scp to exit with zero status ( #12028 )
...
Fixes #11786
2024-02-07 10:22:31 +02:00
Josh Vawdrey
d3ccb07361
feat(cli): support header and header-command in config-ssh ( #10413 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-02-07 10:21:26 +02:00
Ben Potter
d6cdaae8b1
docs: add v2.8.0 changelog ( #12042 )
...
* docs: add v2.8.0 changelog
* fmt
2024-02-07 00:14:17 +00:00
Cian Johnston
36808f19dc
feat!: update terraform to version 1.6.x, relax max version constraint ( #12027 )
...
* feat(provisioner): relax max terraform version constraint
* feat!(scripts/Dockerfile.base): update bundled terraform to 1.6.x
* bump terraform version in Dogfood image
* fix over-zealous rename
2024-02-06 17:58:26 -06:00
Kayla Washburn-Love
b8e32a37de
fix: use replace when redirecting from /health ( #12039 )
...
`pushHistory` will break the back button, so we need to use `replaceHistory` instead
2024-02-06 14:27:32 -07:00
Marcin Tojek
3f04e98cfa
feat(cli): pull templates in zip format ( #12032 )
2024-02-06 19:17:29 +01:00
Spike Curtis
213ae69bee
fix: start timer before subscribing to avoid test race ( #12031 )
...
Fixes #12030
This is a good example of the kind of thing I'd like to address with a time-testing lib. The problem is that there is a race between the watchdog starting it's timer and the test incrementing the time. What would make this easier is if the time-testing library could wait for and assert the call to start the timer before incrementing the time.
2024-02-06 20:21:23 +04:00
Marcin Tojek
b6806bca70
fix: nix: google-chrome installed conditionally ( #12029 )
2024-02-06 16:46:58 +01:00
Dean Sheather
98b86f3cd6
chore: add logs to pq notification dialer ( #12020 )
2024-02-06 15:21:48 +00:00
Spike Curtis
e09cd2c6bd
feat: add watchdog to pubsub ( #12011 )
...
adds a watchdog to our pubsub and runs it for Coder server.
If the watchdog times out, it triggers a graceful exit in `coder server` to give any provisioner jobs a chance to shut down.
c.f. #11950
2024-02-06 16:58:45 +04:00
Cian Johnston
f1e5b4fbb8
ci: stop deploying legacy wsproxies ( #12025 )
2024-02-06 11:00:10 +00:00
Cian Johnston
26379877b2
fix(dogfood): stop overriding /etc/apt/sources.list with tsw mirrors ( #11999 )
2024-02-06 09:39:05 +00:00
Colin Adler
c7f52b73bb
feat(coderd): add prometheus metrics to servertailnet ( #11988 )
2024-02-05 23:57:18 -06:00
Spike Curtis
c84a637116
fix: stop logging error on query canceled ( #12017 )
...
Fixes flake seen here: https://github.com/coder/coder/actions/runs/7782340530/job/21218566449
2024-02-06 08:43:34 +04:00
Kayla Washburn-Love
b73e66e9a9
feat: show workspace name suggestions below the name field ( #12001 )
2024-02-05 10:40:15 -07:00
dependabot[bot]
52ec3edd5d
ci: bump the github-actions group with 4 updates ( #12019 )
...
Bumps the github-actions group with 4 updates: [buildjet/cache](https://github.com/buildjet/cache ), [crate-ci/typos](https://github.com/crate-ci/typos ), [codecov/codecov-action](https://github.com/codecov/codecov-action ) and [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action ).
Updates `buildjet/cache` from 3 to 4
- [Changelog](https://github.com/BuildJet/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/buildjet/cache/compare/v3...v4 )
Updates `crate-ci/typos` from 1.17.2 to 1.18.0
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.17.2...v1.18.0 )
Updates `codecov/codecov-action` from 3 to 4
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
Updates `hmarr/auto-approve-action` from 3 to 4
- [Release notes](https://github.com/hmarr/auto-approve-action/releases )
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: buildjet/cache
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: hmarr/auto-approve-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 14:46:05 +00:00
dependabot[bot]
1f0ba745e9
chore: bump github.com/bramvdbogaerde/go-scp ( #12015 )
...
Bumps [github.com/bramvdbogaerde/go-scp](https://github.com/bramvdbogaerde/go-scp ) from 1.2.1-0.20221219230748-977ee74ac37b to 1.3.0.
- [Release notes](https://github.com/bramvdbogaerde/go-scp/releases )
- [Commits](https://github.com/bramvdbogaerde/go-scp/commits/v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/bramvdbogaerde/go-scp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 14:50:02 +02:00
dependabot[bot]
c1e01dfb7b
chore: bump github.com/elastic/go-sysinfo from 1.11.0 to 1.12.0 ( #12013 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 15:37:57 +03:00
Spike Curtis
e5ba586e30
fix: fix graceful disconnect in DialWorkspaceAgent ( #11993 )
...
I noticed in testing that the CLI wasn't correctly sending the disconnect message when it shuts down, and thus agents are seeing this as a "lost" peer, rather than a "disconnected" one.
What was happening is that we just used a single context for everything from the netconn to the RPCs, and when the context was canceled we failed to send the disconnect message due to canceled context.
So, this PR splits things into two contexts, with a graceful one set to last up to 1 second longer than the main one.
2024-02-05 14:01:37 +04:00
Spike Curtis
bb99cb7d2b
chore: move FakeCoordinator to tailnettest ( #11992 )
...
Moves FakeCoordinator to tailnettest since it's reused in testing multiple packages in this stack of PRs.
2024-02-05 13:49:32 +04:00
Spike Curtis
646ac942b2
chore: rename FakeCoordinator for export ( #11991 )
...
Part of a stack that fixes graceful disconnect from the CLI to tailnet. I reuse FakeCoordinator in a test for graceful disconnects.
2024-02-05 13:33:31 +04:00
Eric Paulsen
f57ce97b5a
docs: add faq for gateway reconnects ( #12007 )
...
* docs: add faq for gateway reconnects
* make: fmt
2024-02-04 15:50:53 -06:00
Kayla Washburn-Love
1d14d4e58c
fix: use dark background in terminal, even when a light theme is selected ( #12004 )
2024-02-02 15:05:52 -07:00
Jon Ayers
73c5993bea
fix: only display xray results if vulns > 0 ( #11989 )
2024-02-02 11:02:46 -06:00
Cian Johnston
6593de3c73
fix(dogfood/flake.nix): add google-chrome ( #11974 )
2024-02-02 15:56:06 +00:00
Bruno Quaresma
9b930f8fad
feat(site): show deprecation message on template page ( #11996 )
2024-02-02 14:13:35 +00:00
Bruno Quaresma
2e378b4894
fix(site): fix parameter input icon shrink ( #11995 )
2024-02-02 13:49:49 +00:00
Mathias Fredriksson
aae228ac01
fix(dogfood): resolve module.git-clone.repo_dir containing ~/ ( #11994 )
2024-02-02 14:21:34 +02:00
Mathias Fredriksson
bddea7bcf9
feat(cli/vscodessh): add support for --wait and scripts that block login ( #10473 )
2024-02-02 13:18:26 +02:00
Kayla Washburn-Love
c6c71de353
fix: change build status colors ( #11985 )
2024-02-01 18:02:40 -07:00
dependabot[bot]
efac9ced3e
chore: bump github.com/moby/moby ( #11975 )
...
Bumps [github.com/moby/moby](https://github.com/moby/moby ) from 24.0.1+incompatible to 25.0.2+incompatible.
- [Release notes](https://github.com/moby/moby/releases )
- [Commits](https://github.com/moby/moby/compare/v24.0.1...v25.0.2 )
---
updated-dependencies:
- dependency-name: github.com/moby/moby
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 13:58:13 -06:00
Muhammad Atif Ali
21237d96a5
docs: update remote docker host docs ( #11919 )
...
* docs: update remote docker host docs
Adds a link to external provisioners as a method to use remote docker hosts
* `make fmt`
* Update docker.md
* fmt
2024-02-01 22:43:38 +03:00
Muhammad Atif Ali
9616b92f0e
chore(dogfood): fix nix icon path ( #11984 )
2024-02-01 19:27:41 +00:00
Bruno Quaresma
96346525e0
fix(site): fix text overflow on batch ws deletion ( #11981 )
...
Before:

After:
<img width="674" alt="Screenshot 2024-02-01 at 13 48 56" src="https://github.com/coder/coder/assets/3165839/91c3099e-6a11-4beb-b46b-70a9a6c4abb4 ">
2024-02-01 14:02:08 -03:00
Marcin Tojek
ad8e0db172
feat: add custom error message on signups disabled page ( #11959 )
2024-02-01 18:01:25 +01:00
Kayla Washburn-Love
e070a55142
refactor: stabilize theme.roles ( #11969 )
2024-02-01 09:53:26 -07:00
Bruno Quaresma
6c9f60a9c5
refactor(site): only display quota if it is higher than 0 ( #11979 )
2024-02-01 13:49:48 -03:00
Steven Masley
79d5c238cc
fix: always return a clean http client for promoauth ( #11963 )
...
* fix: add unit test to verify default client is not broken
* always return a clean http client
* No need to clone the tripper
2024-02-01 11:13:34 -05:00
Bruno Quaresma
1a94686928
refactor(site): add table chosmetic changes ( #11977 )
...
- Set default 14px as the default font size for the table content
- Add `xsmall` size for checkboxes
- Remove checkbox wrapper padding on the table heading
Before:
<img width="1512" alt="Screenshot 2024-02-01 at 10 22 10" src="https://github.com/coder/coder/assets/3165839/92b844ae-f2bf-476a-89fe-90b16f19c306 ">
After:
<img width="1512" alt="Screenshot 2024-02-01 at 10 26 00" src="https://github.com/coder/coder/assets/3165839/0f87d098-4b13-4373-96d2-2c18ee2587f6 ">
2024-02-01 10:41:15 -03:00
Spike Curtis
1aa117b9ec
chore: rename client Listen to ConnectRPC ( #11916 )
...
ConnectRPC seems more appropriate for this function
2024-02-01 14:44:11 +04:00
dependabot[bot]
1031ccb3c9
chore: bump github.com/opencontainers/runc from 1.1.5 to 1.1.12 ( #11968 )
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.5 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.5...v1.1.12 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 13:15:01 +03:00
Spike Curtis
d5a98cc6d7
fix: avoid race in TestPGPubsub_Metrics by using Eventually ( #11973 )
...
Annoyingly, prometheus Registry collects metrics async, which is causing our test to be racy. They also don't export enough from the Metric interface for us to replicate a synchronous collect, so we have to use Eventually to test.
2024-02-01 12:10:19 +04:00
Spike Curtis
5a359d50dd
feat: add metrics to PGPubsub ( #11971 )
...
Adds prometheus metrics to PGPubsub for monitoring its health and performance in production.
Related to #11950 --- additional diagnostics to help figure out what's happening
2024-02-01 11:25:03 +04:00
Asher
e748312193
fix(dogfood): fix startup script looping ( #11972 )
...
Seems to be on account of the quotes interpreting a ~ literally. We do
replace it with /home/coder but only if it matches ~/, not ~ alone.
2024-01-31 21:33:02 -09:00
Colin Adler
3ace7982aa
fix: rewrite url to agent ip in single tailnet ( #11810 )
...
This restores previous behavior of being able to cache connections
across agents in single tailnet.
2024-02-01 00:25:52 -06:00
Spike Curtis
073d1f7078
chore: remove pingWebSocket since yamux runs keepalives ( #11914 )
...
Since we run yamux over the websocket, we don't need to ping at the websocket layer because yamux has a 30 second keepalive mechanism enabled in the default config.
2024-02-01 09:48:58 +04:00
Colin Adler
4ed1f5581a
chore(coderd): add logging to agent rpc yamux conn ( #11965 )
2024-01-31 23:17:20 -06:00
Spike Curtis
cc0dc103b6
chore: remove agentsdk client RPC() function ( #11913 )
...
The RPC() function isn't called, since Listen() was modified to do this job.
Listen() has the right signature, since it returns a drpc.Conn, rather than the Agent API. That's because tailnet v2 and agent v2 are separate APIs served over the same connection.
It might be clearer to rename `Listen()` to `RPC()` but I'll save that for a different PR.
2024-02-01 08:22:12 +04:00
Spike Curtis
eb03e4490a
feat: add statsReporter for reporting stats on agent v2 API ( #11920 )
...
Adds a new statsReporter subcomponent of the agent, which in a later PR will be used to report stats over the v2 API.
Refactors the logic a bit so that we can handle starting and stopping stats reporting if the agent API connection drops and reconnects.
2024-02-01 08:21:01 +04:00
Spike Curtis
b79785c86f
feat: move agent v2 API connection monitoring to yamux layer ( #11910 )
...
Moves monitoring of the agent v2 API connection to the yamux layer.
Present behavior monitors this at the websocket layer, and closes the websocket on completion. This can cause yamux to hit unexpected errors since the connection is closed underneath it.
This might be the cause of yamux errors that some customers are seeing

In any case, it's more graceful to close yamux first and let yamux close the underlying websocket. That should limit yamux error logging to truly unexpected/error cases.
The only downside is that the yamux `Close()` doesn't accept a reason, so if the agent becomes outdated and we close the API connection, the agent just sees the connection close without a reason. I'm not sure we log this at the agent anyway, but it would be nice. I think more accurate logging on Coderd are more important.
I've also added some logging when the monitor disconnects for reasons other than the context being canceled (e.g. agent outdated, failed pings).
2024-02-01 08:18:35 +04:00
Spike Curtis
13e214f7f1
feat: add logging to agent yamux session ( #11912 )
...
Log yamux errors and warnings in the agent.
2024-02-01 08:18:13 +04:00
Michael Smith
b0a855caa4
fix: improve click UX and styling for Auth Token page ( #11863 )
...
* wip: commit progress for clipboard update
* wip: push more progress
* chore: finish initial version of useClipboard revamp
* refactor: update API query to use newer RQ patterns
* fix: update importers of useClipboard
* fix: increase clickable area of CodeExample
* fix: update styles for CliAuthPageView
* fix: resolve issue with ref re-routing
* docs: update comments for clarity
* wip: commit progress on clipboard tests
* chore: add extra test case for referential stability
* wip: disable test stub to avoid breaking CI
* wip: add test case for tab-switching
* feat: finish changes
* fix: improve styling for strong text
* fix: make sure period doesn't break onto separate line
* fix: make center styling more friendly to screen readers
* refactor: clean up mocking implementation
* fix: resolve security concern for clipboard text
* fix: update CodeExample to obscure text when appropriate
* fix: apply secret changes to relevant code examples
* refactor: simplify code for obfuscating text
* fix: partially revert clipboard changes
* fix: clean up page styling further
* fix: remove duplicate property identifier
* refactor: rename variables for clarity
* fix: simplify/revert CopyButton component design
* fix: update how dummy input is hidden from page
* fix: remove unused onClick handler prop
* fix: resolve unused import
* fix: opt code examples out of secret behavior
2024-01-31 21:25:30 -05:00
Colin Adler
c7f51a9d70
chore(site): update time until shutdown tooltip language ( #11964 )
2024-01-31 16:21:35 -06:00
Kayla Washburn-Love
d2e6405322
chore: add inactive role to experimental theme ( #11967 )
2024-01-31 15:16:17 -07:00
Bruno Quaresma
4df913372f
feat(site): display xray scan result in the agent ( #11955 )
2024-01-31 19:16:01 -03:00
Steven Masley
ac64155282
fix: strip timezone information from a date in dau response ( #11962 )
...
* fix: strip timezone information from a date in dau response
Timezone information is lost, so do not forward it to the client.
* fix: timezone offset should be flipped
* Make tests deterministic
2024-01-31 16:01:50 -06:00
Kayla Washburn-Love
76e73287a5
refactor: add modules/templates and modules/workspaces ( #11947 )
2024-01-31 12:09:36 -07:00
Muhammad Atif Ali
4604db072a
fix(dogfood): fix startup script on workspace creation ( #11958 )
2024-01-31 18:01:22 +03:00
Muhammad Atif Ali
d2b4d58e96
chore(dogfood): use better names for image options ( #11957 )
2024-01-31 14:36:01 +00:00
Muhammad Atif Ali
215a9d1b30
chore: experiment building dogfood image with nix ( #11680 )
2024-01-31 14:27:11 +00:00
Marcin Tojek
13cbca679e
feat: support template bundles as zip archives ( #11839 )
2024-01-31 14:49:55 +01:00
Mathias Fredriksson
b25deaae20
fix(coderd/database): fix limit in GetUserWorkspaceBuildParameters ( #11954 )
2024-01-31 13:56:36 +02:00
Spike Curtis
a34cada09a
feat: add logging to pgPubsub ( #11953 )
...
Should be helpful for #11950
Adds a logger to pgPubsub and logs various events, most especially connection and disconnection from postgres.
2024-01-31 15:49:16 +04:00
Spike Curtis
1c8b803785
feat: add logging to pgcoord subscribe/unsubscribe ( #11952 )
...
Adds logging to unsubscribing from peer and tunnel updates in pgcoordinator, since #11950 seems to be problem with these subscriptions
2024-01-31 12:15:58 +04:00
Jon Ayers
0c30dde9b5
feat: add customizable upgrade message on client/server version mismatch ( #11587 )
2024-01-30 17:11:37 -06:00
Ammar Bandukwala
adbb025e74
feat: add user-level parameter autofill ( #11731 )
...
This PR solves #10478 by auto-filling previously used template values in create and update workspace flows.
I decided against explicit user values in settings for these reasons:
* Autofill is far easier to implement
* Users benefit from autofill _by default_ — we don't need to teach them new concepts
* If we decide that autofill creates more harm than good, we can remove it without breaking compatibility
2024-01-30 16:02:21 -06:00
Kayla Washburn-Love
aeb4112513
chore: update storybook ( #11936 )
2024-01-30 14:23:40 -07:00
Spike Curtis
520b12e1a2
fix: close MultiAgentConn when coordinator closes ( #11941 )
...
Fixes an issue where a MultiAgentConn isn't closed properly when the coordinator it is connected to is closed.
Since servertailnet checks whether the conn is closed before reinitializing, it is important that we check this, otherwise servertailnet can get stuck if the coordinator closes (e.g. when we switch from AGPL to PGCoordinator after decoding a license).
2024-01-31 00:38:19 +04:00
Colin Adler
2fd1a726aa
fix: only delete expired agents on success ( #11940 )
2024-01-30 14:11:45 -06:00
Colin Adler
27f3b7a814
fix: add timeout to listening ports request ( #11935 )
...
This can potentially hang for 15m if the agent is unreachable.
2024-01-30 13:53:52 -06:00
Bruno Quaresma
7f1c808ff9
feat(site): simplify create template form by removing advanced settings ( #11918 )
2024-01-30 16:40:59 -03:00
Kayla Washburn-Love
619bdd1e7a
refactor: redesign Paywall component ( #11907 )
2024-01-30 10:26:19 -07:00
Kayla Washburn-Love
20dcefa156
add an interaction test to InfoTooltip ( #11905 )
2024-01-30 10:20:11 -07:00
Bruno Quaresma
e26ba1affd
feat(site): do not show popover on update deadline ( #11921 )
2024-01-30 14:11:15 -03:00
Bruno Quaresma
dcab6fa5a4
feat(site): display user avatar ( #11893 )
...
* add owner API to workspace and workspace build responses
* display user avatar in workspace top bar
Co-authored-by: Cian Johnston <cian@coder.com >
2024-01-30 17:07:06 +00:00
Mathias Fredriksson
83eea2d323
feat(scaletest/templates): add support for concurrent scenarios ( #11753 )
2024-01-30 14:54:54 +02:00
Bruno Quaresma
4b27c77969
fix(site): fix parameters' request upon template variables update ( #11898 )
...
Fix https://github.com/coder/coder/issues/11870
2024-01-30 08:03:53 -03:00
Mathias Fredriksson
60653bbacb
fix(cli): allow template name length of 32 in template push and create ( #11915 )
2024-01-30 12:47:10 +02:00
Muhammad Atif Ali
86e33257af
chore(docs): fix a typo ( #11895 )
2024-01-30 12:00:25 +03:00
Spike Curtis
0fc177203e
feat: use agent v2 API to update app health ( #11889 )
...
Use the Agent v2 API to update App Health
2024-01-30 11:35:12 +04:00
Spike Curtis
2599850e54
feat: use agent v2 API to post startup ( #11877 )
...
Uses the v2 Agent API to post startup information.
2024-01-30 11:23:28 +04:00
Spike Curtis
da8bb1c198
feat: use agent v2 API to fetch manifest ( #11832 )
...
Agent uses the v2 API to obtain the manifest, instead of the HTTP API.
2024-01-30 10:11:28 +04:00
Spike Curtis
9cf4e7f15a
fix: prevent agent_test.go from failing on error logs ( #11909 )
...
We're failing tests on error logs like this: https://github.com/coder/coder/actions/runs/7706053882/job/21000984583
Unfortunately, the error we hit, when the underlying connection is closed, is unexported, so we can't specifically ignore it.
Part of the issue is that agent.Close() doesn't wait for these goroutines to complete before returning, so the test harness proceeds to close the connection. This looks to our product code like the network connection failing. It would be possible to fix this, but just doesn't seem worth it for the extra insurance of catching other error logs in these tests.
2024-01-30 10:04:01 +04:00
Spike Curtis
d3983e4dba
feat: add logging to client tailnet yamux ( #11908 )
...
Adds logging to yamux when used for tailnet client connections, e.g. CLI and wsproxy. This could be useful for debugging connection issues with tailnet v2 API.
2024-01-30 09:58:59 +04:00
Spike Curtis
0eff646c31
chore: move proto to sdk conversion to agentsdk ( #11831 )
...
`agentsdk` depends on `agent/proto` because it needs to get the version to dial.
Therefore, the conversion routines need to live in `agentsdk` so that we can convert to and from the Manifest.
I briefly considered refactoring the agent to only reference `proto.Manifest`, but decided against it because we might have multiple protocol versions in the future, its useful to have a protocol-independent data structure.
2024-01-30 09:04:56 +04:00
Spike Curtis
1e8a9c09fe
chore: remove legacy wsconncache ( #11816 )
...
Fixes #8218
Removes `wsconncache` and related "is legacy?" functions and API calls that were used by it.
The only leftover is that Agents still use the legacy IP, so that back level clients or workspace proxies can dial them correctly.
We should eventually remove this: #11819
2024-01-30 07:56:36 +04:00
Spike Curtis
13e24f21e4
feat: use Agent v2 API for Service Banner ( #11806 )
...
Agent uses the v2 API for the service banner, rather than the v1 HTTP API.
One of several for #10534
2024-01-30 07:44:47 +04:00
Jon Ayers
4f5a2f0a9b
feat: add backend for jfrog xray support ( #11829 )
2024-01-29 19:30:02 -06:00
dependabot[bot]
46d92dac57
ci: bump the github-actions group with 5 updates ( #11890 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:38:59 +03:00
dependabot[bot]
5937027c86
chore: bump github.com/gohugoio/hugo from 0.121.2 to 0.122.0 ( #11883 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:36:23 +03:00
dependabot[bot]
4dc6a302f2
chore: bump google.golang.org/grpc from 1.60.1 to 1.61.0 ( #11885 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:36:12 +03:00
dependabot[bot]
3b65a1508c
chore: bump github.com/google/uuid from 1.5.0 to 1.6.0 ( #11886 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:36:01 +03:00
dependabot[bot]
71b79eace4
chore: bump alpine from 3.19.0 to 3.19.1 in /scripts ( #11887 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:35:44 +03:00
Eric Paulsen
d8a3ebef31
docs: fix example template README 404s and semantics ( #11903 )
...
* docs: fix example template README 404s and semantics
* make: gen
2024-01-29 21:34:12 +00:00
Kayla Washburn-Love
f572e18144
fix: fix cliui prompt styling ( #11899 )
2024-01-29 13:56:43 -07:00
Spike Curtis
207328ca50
feat: use appearance.Fetcher in agentapi ( #11770 )
...
This PR updates the Agent API to use the appearance.Fetcher, which is set by entitlement code in Enterprise coderd.
This brings the agentapi into compliance with the Enterprise feature.
2024-01-29 21:22:50 +04:00
Garrett Delfosse
f54278cdfe
fix: respect wait flag on ping ( #11896 )
2024-01-29 11:50:35 -05:00
Colin Adler
bc14e926d8
feat: add option to speedtest to dump a pcap of network traffic ( #11848 )
2024-01-29 09:57:31 -06:00
Spike Curtis
b2bc3fff33
fix: wait for new template version before promoting ( #11874 )
...
Fixes a test flake due to not waiting for the correct template version prior to promoting it.
2024-01-29 19:29:56 +04:00
Steven Masley
04a23261e6
chore: ensure github uids are unique ( #11826 )
2024-01-29 09:13:46 -06:00
Steven Masley
d66e6e78ee
fix: always attempt external auth refresh when fetching ( #11762 ) ( #11830 )
...
* fix: always attempt external auth refresh when fetching
* refactor validate to check expiry when considering "valid"
2024-01-29 08:55:15 -06:00
Cian Johnston
eeef56a655
feat(cli): show workspace favorite status in list output ( #11878 )
2024-01-29 14:14:12 +00:00
Cian Johnston
9abf6ec170
feat(site): show favorite workspaces in ui ( #11875 )
...
* Add Star beside workspace name to indicate favorite status in WorkspacesList
* Add button in workspace top row to toggle workspace favorite status
2024-01-29 13:39:31 +00:00
Bruno Quaresma
acd22b2c65
fix(site): fix capitalized username ( #11891 )
...
Fix #11888
2024-01-29 10:24:19 -03:00
Mathias Fredriksson
3e89ba23e5
test(scaletest): fix websocket error during close ( #11879 )
...
Fixes #11735
2024-01-29 13:42:30 +02:00
Muhammad Atif Ali
8398b4188b
ci: fix winget-release workflow ( #11865 )
2024-01-29 13:49:20 +03:00
Spike Curtis
bc4ae53261
chore: refactor Appearance to an interface callable by AGPL code ( #11769 )
...
The new Agent API needs an interface for ServiceBanners, so this PR creates it and refactors the AGPL and Enterprise code to achieve it.
Before we depended on the fact that the HTTP endpoint was missing to serve an empty ServiceBanner on AGPL deployments, but that won't work with dRPC, so we need a real interface to call.
2024-01-29 12:17:31 +04:00
Marcin Tojek
aacb4a2b4c
feat: use map instead of slice in metrics aggregator ( #11815 )
2024-01-29 09:12:41 +01:00
Spike Curtis
37e9479815
fix: fix TestServiceBanners/Agent ( #11768 )
...
The original test is bugged in that it
1. creates a new AGPL coderd with a new database, so no appearance is set in the DB.
2. overwrites the agentClient so the assertion after removing the license is against the AGPL coderd
2024-01-29 11:56:33 +04:00
Spike Curtis
f9fdd44510
feat: change codersdk to use tailnet v2 for DERPMap updates ( #11736 )
...
fixes #10533
refactors `codersdk` workspace agent dialer to use a single websocket connection to the tailnet v2 API for both coordination and DERPMap updates, rather than separate websockets (and the v1 API for DERPMaps).
2024-01-29 11:26:50 +04:00
Muhammad Atif Ali
699a4b8dd4
chore(dogfood): use built-in VS Code Desktop button over the module ( #11869 )
2024-01-29 00:37:22 +03:00
Eric Paulsen
be4d5221ba
docs: add guide for azure federation ( #11864 )
...
* docs: add guide for azure federation
* make: fmt
* refactor: arm secrets and semantics
2024-01-28 15:51:11 -05:00
Muhammad Atif Ali
2f9bf1ebe1
ci: validate template before pushing ( #11867 )
2024-01-27 10:02:10 +03:00
Spike Curtis
4825b7ccd2
fix: use new context after t.Parallel in TestOAuthAppSecrets
...
c.f. https://coder.com/blog/go-testing-contexts-and-t-parallel
fixes flakes like https://github.com/coder/coder/runs/20856469613
2024-01-27 08:45:43 +04:00
Muhammad Atif Ali
de6d4794dc
chore(dogfood): replace repo_dir with base_repo_dir in git-clone module ( #11835 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-01-27 01:45:07 +00:00
Kayla Washburn-Love
bb8ce7bc02
chore: move components/Resources to modules/resources ( #11852 )
2024-01-26 15:11:07 -07:00
Kayla Washburn-Love
8f46beef72
chore: remove most usage of PropsWithChildren ( #11859 )
2024-01-26 12:04:22 -07:00
Kayla Washburn-Love
c2b6e204f3
fix: type error from theme update ( #11844 )
2024-01-26 10:56:19 -07:00
Kayla Washburn-Love
c85fc3c8fe
refactor: add more fill variants to the experimental theme ( #11827 )
2024-01-26 10:28:59 -07:00
Cian Johnston
42e997d39e
fix(coderd/rbac): do not cache context cancellation errors ( #11840 )
...
#7439 added global caching of RBAC results.
Calls are cached based on hash(subject, object, action).
We often use dbauthz.AsSystemRestricted to handle "internal" authz calls, and these are often repeated with similar arguments and are likely to get cached.
So a transient error doing an authz check on a system function will be cached for up to a minute.
I'm just starting off with excluding context.Canceled but there's likely a whole suite of different errors we want to also exclude from the global cache.
2024-01-26 16:19:55 +00:00
Spike Curtis
d6baa3cab0
fix: stop running tests that exec sh scripts in parallel ( #11834 )
...
Ok, so my last attempt at a fix here failed
https://github.com/coder/coder/actions/runs/7666229961/job/20893608286
I have a new theory: it's not the `terraform` binary that's busy, it's actually `fake_cancel.sh` and it gets marked busy when we `exec` it from the script we write.
Use of `exec` also replaces the executing code in place, rather than starting a new process/shell, so that's why the error we get says `terraform` is busy.
2024-01-26 19:22:35 +04:00
Bruno Quaresma
0ba035a16d
refactor(site): improve parameters field ( #11802 )
2024-01-26 11:31:52 -03:00
Kira Pilot
4c71cccbc3
fix(site): disable autostart and autostop according to template settings ( #11809 )
...
* fix (site): disable autostart and autostop according to template settings
* checking form values again; wrote tests
* fixed closure and label bugs
* fix broken query key
* tweaks
2024-01-26 09:06:01 -05:00
Mathias Fredriksson
52c08a98bb
test(scaletest): fix worksapcebuild retry ( #11836 )
2024-01-26 15:49:19 +02:00
Mathias Fredriksson
02124758fb
feat(cli/exp): extend scaletest create-workspaces with --retry option ( #11825 )
...
Part of #11801
2024-01-26 11:29:48 +00:00
Cian Johnston
fdf9f03097
fix(enterprise/cli): add ID to default columns in licenses list output ( #11823 )
2024-01-26 09:55:16 +00:00
Dean Sheather
29707099d7
chore: add agentapi tests ( #11269 )
2024-01-26 07:04:19 +00:00
Muhammad Atif Ali
541154b74b
docs: simplify JFrog integration docs ( #11787 )
2024-01-25 19:50:06 -05:00
Steven Masley
005c014f13
chore: instrument additional github api calls ( #11824 )
...
* chore: instrument additional githubapi calls
This only affects github as a login source, not external auth.
2024-01-25 18:34:46 -06:00
Bruno Quaresma
e371716b38
refactor(site): add minor workspace improvements ( #11822 )
2024-01-25 21:05:29 -03:00
Kayla Washburn-Love
73a6899f2c
chore: miscellaneous cleanup ( #11785 )
2024-01-25 14:22:52 -07:00
Ammar Bandukwala
79568bf628
Revert "fix: always attempt external auth refresh when fetching ( #11762 )"
...
This reverts commit 0befc0826a .
2024-01-25 14:22:47 -06:00
Steven Masley
0befc0826a
fix: always attempt external auth refresh when fetching ( #11762 )
...
* fix: always attempt external auth refresh when fetching
* refactor validate to check expiry when considering "valid"
2024-01-25 10:54:56 -06:00
Bruno Quaresma
fd7f85bc5e
fix(site): fix proxy settings link ( #11817 )
2024-01-25 12:16:24 +00:00
Cian Johnston
8eae4f83bf
fix(coderd/provisionerdserver): fix test flake in TestHeartbeat ( #11808 )
2024-01-25 12:05:57 +00:00
Muhammad Atif Ali
979a920832
docs: use coder modules in offline deployments ( #11788 )
...
* docs: use coder modules in offline deployments
* fix typos
* Update offline installation instructions with Artifactory support for Coder modules
* Review suggestions
2024-01-25 08:01:56 +03:00
Ben Potter
6b0e1291d2
docs: add v2.7.3 changelog ( #11811 )
...
* docs: add v2.7.1 changelog
* docs: add v2.7.2 changelog
2024-01-24 16:53:08 -06:00
Kayla Washburn-Love
3d76e1b55c
chore: clean up package.json and tsconfig ( #11757 )
2024-01-24 13:53:44 -07:00
Cian Johnston
ecae6f9135
fix(enterprise/tailnet): handle query canceled error in sendBeat() ( #11794 )
2024-01-24 18:42:05 +00:00
Bruno Quaresma
8bc91b489e
refactor(site): increase form fields gap ( #11803 )
2024-01-24 14:16:42 -03:00
Marcin Tojek
560e8cc1ae
fix: check update permission to start workspace ( #11798 )
2024-01-24 17:18:03 +01:00
Cian Johnston
4616ccf462
fix(coderd): alter return signature of convertWorkspace, add check for requesterID ( #11796 )
2024-01-24 14:13:14 +00:00
Cian Johnston
70dc282b7d
feat(cli): add favorite/unfavorite commands ( #11793 )
2024-01-24 14:05:39 +00:00
Cian Johnston
f92336c4d5
feat(coderd): allow workspace owners to mark workspaces as favorite ( #11791 )
...
- Adds column `favorite` to workspaces table
- Adds API endpoints to favorite/unfavorite workspaces
- Modifies sorting order to return owners' favorite workspaces first
2024-01-24 13:39:19 +00:00
Bruno Quaresma
6145da8a9e
refactor(site): verify external auth before display ws form ( #11777 )
2024-01-24 09:45:22 -03:00
Spike Curtis
5cbb76b47a
fix: stop spamming DERP map updates for equivalent maps ( #11792 )
...
Fixes 2 related issues:
1. wsconncache had incorrect logic to test whether to send DERPMap updates, sending if the maps were equivalent, instead of if they were _not equivalent_.
2. configmaps used a bugged check to test equality between DERPMaps, since it contains a map and the map entries are serialized in random order. Instead, we avoid comparing the protobufs and instead depend on the existing function that compares `tailcfg.DERPMap`. This also has the effect of reducing the number of times we convert to and from protobuf.
2024-01-24 16:27:15 +04:00
Spike Curtis
f5dbc718a7
fix: accept agent RPC connection without version query parameter ( #11790 )
...
Fixes an issue where Coder v2.7.1 agents connect to /api/v2/workspaceagents/me/rpc without a version query parameter
2024-01-24 09:10:16 +04:00
Colin Adler
13beb04521
fix: disable keepalives in workspaceapps transport ( #11789 )
...
Connection caching causes requests to hit the wrong workspaces. See
comment.
Fixes https://github.com/coder/coder/issues/11767
2024-01-24 14:46:59 +10:00
Muhammad Atif Ali
1e2634d2d0
chore(dogfood): use versioning for coder modules ( #11774 )
2024-01-24 01:33:25 +00:00
Kayla Washburn-Love
31a6a5dc6d
chore: add stories for DropdownArrow ( #11764 )
2024-01-23 16:02:57 -07:00
Jon Ayers
383eed93f8
fix: use correct logger for lifecycle_executor ( #11763 )
2024-01-23 14:33:55 -06:00
Bruno Quaresma
e828daba6e
refactor(site): simplify create workspace form ( #11771 )
...
This is the first PR of a series of PRs trying to simplify and improve the create workspace flow.
- Use the existent template header and remove the selected template card
- Move the owner field to the general section so we don't have "anemic" sections with single fields
Before:
<img width="1512" alt="Screenshot 2024-01-23 at 10 22 45" src="https://github.com/coder/coder/assets/3165839/6a2ba6b4-9ffb-4576-9282-7901691f45ee ">
Now:
<img width="1512" alt="Screenshot 2024-01-23 at 10 22 56" src="https://github.com/coder/coder/assets/3165839/84301548-4af9-4de0-96ff-2a6363fc8cf7 ">
2024-01-23 15:39:23 -03:00
Steven Masley
d6ba0dfecb
feat: add "updated" search param to workspaces ( #11714 )
...
* feat: add "updated" search param to workspaces
* rego -> sql needs to specify which <table>.organization_id
2024-01-23 11:52:06 -06:00
Steven Masley
081fbef097
fix: code-server path based forwarding, defer to code-server ( #11759 )
...
Do not attempt to construct a path based port forward url.
Always defer to code server, as it has it's own proxy method.
2024-01-23 11:36:44 -06:00
Marcin Tojek
77a4792ecd
fix(cli): ssh: auto-update workspace ( #11773 )
2024-01-23 18:01:44 +01:00
Bruno Quaresma
369821ea19
feat(site): generates unique workspace names by default ( #11772 )
2024-01-23 15:55:29 +00:00
Bruno Quaresma
910f17f4e7
refactor(site): refactor external auth component ( #11758 )
...
Recommended improvements:
- Rename component for clarity
- Simplify interface for contextual relevance
- Handle polling errors based on section, not every button
Before:
<img width="1511" alt="Screenshot 2024-01-22 at 15 24 26" src="https://github.com/coder/coder/assets/3165839/cfb8c0bc-f5a2-4708-bd97-fdfc46bd1eee ">
Now:
<img width="1512" alt="Screenshot 2024-01-22 at 15 24 41" src="https://github.com/coder/coder/assets/3165839/5aaad448-1bb2-45ea-9250-cd374a072be2 ">
2024-01-23 12:26:12 -03:00
Spike Curtis
059e533544
feat: agent uses Tailnet v2 API for DERPMap updates ( #11698 )
...
Switches the Agent to use Tailnet v2 API to get DERPMap updates.
Subsequent PRs will do the same for the CLI (`codersdk`) and `wsproxy`.
2024-01-23 14:42:07 +04:00
Spike Curtis
3e0e7f8739
feat: check agent API version on connection ( #11696 )
...
fixes #10531
Adds a check for `version` on connection to the Agent API websocket endpoint. This is primarily for future-proofing, so that up-level agents get a sensible error if they connect to a back-level Coderd.
It also refactors the location of the `CurrentVersion` variables, to be part of the `proto` packages, since the versions refer to the APIs defined therein.
2024-01-23 14:27:49 +04:00
Spike Curtis
eb12fd7d92
feat: make ServerTailnet set peers lost when it reconnects to the coordinator ( #11682 )
...
Adds support to `ServerTailnet` to set all peers lost before attempting to reconnect to the coordinator. In practice, this only really affects `wsproxy` since coderd has a local connection to the coordinator that only goes down if we're shutting down or change licenses.
2024-01-23 13:17:56 +04:00
dependabot[bot]
f86186eef2
chore: bump github.com/hashicorp/terraform-json from 0.20.0 to 0.21.0 ( #11738 )
...
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/hashicorp/terraform-json/releases )
- [Commits](https://github.com/hashicorp/terraform-json/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-json
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 09:46:11 +03:00
Ben Potter
18d43405c0
chore: change SSH wording on workspace page ( #11702 )
2024-01-23 09:45:44 +03:00
dependabot[bot]
ca38bfd2fc
ci: bump the github-actions group with 2 updates ( #11745 )
...
Bumps the github-actions group with 2 updates: [crate-ci/typos](https://github.com/crate-ci/typos ) and [toshimaru/auto-author-assign](https://github.com/toshimaru/auto-author-assign ).
Updates `crate-ci/typos` from 1.17.1 to 1.17.2
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.17.1...v1.17.2 )
Updates `toshimaru/auto-author-assign` from 2.0.1 to 2.1.0
- [Release notes](https://github.com/toshimaru/auto-author-assign/releases )
- [Changelog](https://github.com/toshimaru/auto-author-assign/blob/main/CHANGELOG.md )
- [Commits](https://github.com/toshimaru/auto-author-assign/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: toshimaru/auto-author-assign
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 09:43:02 +03:00
Stephen Kirby
91a8b1b886
chore: fix broken docs links ( #11760 )
...
* fixed broken install/packages.md link
* fixed broken docs links
* fixed admin/auth link
* fixed example-guide links
* replaced mitchell tweet with nix docs
* make fmt
* replaced private image with imgur
2024-01-22 18:45:34 -06:00
Asher
3014777d2a
feat: add endpoints to oauth2 provider applications ( #11718 )
...
These will show up when configuring the application along with the
client ID and everything else. Should make it easier to configure the
application, otherwise you will have to go look up the URLs in the
docs (which are not yet written).
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2024-01-22 13:25:25 -09:00
Steven Masley
8e0a153725
chore: implement device auth flow for fake idp ( #11707 )
...
* chore: implement device auth flow for fake idp
2024-01-22 20:46:05 +00:00
Asher
16c6cefde8
chore: pass lifetime directly into api key generate ( #11715 )
...
Rather than passing all the deployment values. This is to make it
easier to generate API keys as part of the oauth flow.
I also added and fixed a test for when the lifetime is set and the
default and expiration are unset.
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2024-01-22 11:42:55 -09:00
Bruno Quaresma
a31d19d538
refactor(site): apply cosmetic changes and remove ExternalAuth from settings page ( #11756 )
2024-01-22 16:07:43 -03:00
Asher
7589df325b
fix: display error when fetching OAuth2 provider apps ( #11713 )
2024-01-22 09:56:36 -09:00
Kayla Washburn-Love
69e963b1a2
refactor: move dashboard functionality to modules/dashboard/ ( #11721 )
2024-01-22 11:44:33 -07:00
Bruno Quaresma
14f114b224
chore(site): add test for sensitive value ( #11755 )
2024-01-22 15:03:15 -03:00
Kayla Washburn-Love
f74ef142d0
refactor: reorganize auth components and hooks ( #11717 )
2024-01-22 10:43:32 -07:00
Bruno Quaresma
f02561a599
chore(site): minor refactor to the resource metadata code ( #11746 )
2024-01-22 12:55:46 -03:00
Spike Curtis
5388a1b6d7
fix: use TSMP ping for reachability, not latency ( #11749 )
...
Use TSMP ping for reachability, but leave Disco ping for when we call Ping() since we often use that to determine whether we have a direct connection.
Also adds unit tests to make sure Ping() returns direct connection vs DERP correctly.
2024-01-22 17:37:15 +04:00
Ben Potter
66f119bde8
docs: add v2.7.1 changelog ( #11747 )
2024-01-22 07:09:18 -06:00
Spike Curtis
7ffd99cfe2
fix: use DiscoPing (partially reverts #11306 ) ( #11744 )
2024-01-22 12:40:21 +00:00
Spike Curtis
3d85cdfa11
feat: set peers lost when disconnected from coordinator ( #11681 )
...
Adds support to Coordination to call SetAllPeersLost() when it is closed. This ensure that when we disconnect from a Coordinator, we set all peers lost.
This covers CoderSDK (CLI client) and Agent. Next PR will cover MultiAgent (notably, `wsproxy`).
2024-01-22 15:26:20 +04:00
Danny Kopping
9f6b38ce9c
chore: use correct anchor link on scale.md ( #11728 )
2024-01-22 10:34:38 +00:00
Dean Sheather
15a90f028e
chore: collect more template telemetry to gauge feature usage
...
We don't have visibility into some feature usage, so this adds a lot of fields missing from `database.Template` to `telemetry.Template`. Deprecation message is not collected, just whether it's set or not.
2024-01-22 18:55:27 +10:00
Spike Curtis
b7b936547d
feat: add setAllPeersLost to the configMaps subcomponent ( #11665 )
...
adds setAllPeersLost to the configMaps subcomponent of tailnet.Conn --- we'll call this when we disconnect from a coordinator so we'll eventually clean up peers if they disconnect while we are retrying the coordinator connection (or we don't succeed in reconnecting to the coordinator).
2024-01-22 12:12:15 +04:00
Spike Curtis
f01cab9894
feat: use tailnet v2 API for coordination ( #11638 )
...
This one is huge, and I'm sorry.
The problem is that once I change `tailnet.Conn` to start doing v2 behavior, I kind of have to change it everywhere, including in CoderSDK (CLI), the agent, wsproxy, and ServerTailnet.
There is still a bit more cleanup to do, and I need to add code so that when we lose connection to the Coordinator, we mark all peers as LOST, but that will be in a separate PR since this is big enough!
2024-01-22 11:07:50 +04:00
Muhammad Atif Ali
5a2cf7cd14
chore(docs): remove tabs from appearance settings ( #11726 )
2024-01-20 13:27:28 +00:00
dependabot[bot]
83013792b1
chore: bump vite from 4.5.1 to 4.5.2 in /site ( #11723 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 12:19:26 +00:00
Muhammad Atif Ali
4bed9611a8
fix(docs): fix tabs for support links ( #11724 )
2024-01-20 15:12:07 +03:00
Ben Potter
77de24c94f
docs: add v2.7.0 changelog ( #11719 )
...
* docs: add v2.7.0 changelog
* some modifications
2024-01-19 23:11:35 +00:00
Kayla Washburn-Love
80eac73ed1
chore: remove useLocalStorage hook ( #11712 )
2024-01-19 16:04:19 -07:00
Asher
fa99f6a200
chore: make yarn use the right version of node ( #11716 )
...
Otherwise if for example you try to run `yarn storybook` it complains
that the version of Node is wrong.
`pnpm storybook` works fine and that is probably what we should
actually use, but as long as we are installing Yarn and not restricting
its use we might as well make it use the right version of Node.
2024-01-19 12:59:38 -09:00
Kayla Washburn-Love
76911f1375
chore: fix TemplateVersionEditor story ( #11709 )
2024-01-19 12:13:30 -07:00
Steven Masley
ca48b8783b
fix: update template with noop returned undefined template ( #11688 )
...
* fix: doing a noop patch to templates resulted in 404
The patch response did not include the template. The UI required the
template to be returned to form the new page path
null is more explicit, and harder to make occur by mistake.
2024-01-19 18:54:25 +00:00
Kayla Washburn-Love
75d70a9542
chore: add a story for WorkspaceOutdatedTooltip ( #11695 )
2024-01-19 11:41:18 -07:00
Muhammad Atif Ali
6090007708
docs: update docs to set SupportLinks ( #11699 )
2024-01-19 20:10:10 +03:00
Steven Masley
d67c9d1bb5
fix: set request header before do ( #11706 )
2024-01-19 16:14:08 +00:00
Steven Masley
ccfd1a561b
chore: improve device handling error message ( #11606 )
2024-01-19 09:41:52 -06:00
Mathias Fredriksson
593a1e9f60
feat(cli/exp): add target workspace/users to scaletest commands ( #11701 )
2024-01-19 15:32:46 +00:00
Marcin Tojek
4b059c4c93
fix: make workspace tooltips actionable ( #11700 )
2024-01-19 15:17:02 +01:00
Mathias Fredriksson
200a87e7d4
feat(cli/ssh): allow multiple remote forwards and allow missing local file ( #11648 )
2024-01-19 15:21:10 +02:00
Mathias Fredriksson
73e6bbff7e
feat(cli/exp): add app testing to scaletest workspace-traffic ( #11633 )
2024-01-19 15:20:19 +02:00
Bruno Quaresma
1f63a11396
refactor(site): refactor resource and agents ( #11647 )
2024-01-19 09:06:33 -03:00
Marcin Tojek
89fd29478d
feat: expose support links as env variables ( #11697 )
2024-01-19 11:20:36 +01:00
Garrett Delfosse
bf0a6fcc32
feat: manage provisioner tags in template editor ( #11600 )
2024-01-18 17:35:20 -05:00
Kayla Washburn-Love
9ed3487f67
feat: batch workspace updates ( #11583 )
2024-01-18 15:14:25 -07:00
Bruno Quaresma
156aaba335
feat(site): show version files diff based on active version ( #11686 )
2024-01-18 16:08:17 -03:00
Steven Masley
6bb1a34a37
fix: allow ports in wildcard url configuration ( #11657 )
...
* fix: allow ports in wildcard url configuration
This just forwards the port to the ui that generates urls.
Our existing parsing + regex already supported ports for
subdomain app requests.
2024-01-18 09:44:05 -06:00
Spike Curtis
1f0e6ba6c6
fix: use raw syscalls to write binary we execute ( #11684 )
...
Fixes flake seen here, I think
https://github.com/coder/coder/actions/runs/7565915337/job/20602500818
golang's file processing is complex, and in at least some cases it can return from a file.Close() call without having actually closed the file descriptor.
If we're holding open the file descriptor of an executable we just wrote, and try to execute it, it will fail with "text file busy" which is what we have seen.
So, to be extra sure, I've avoided the standard library and directly called the syscalls to open, write, and close the file we intend to use in the test.
I've also added some more logging so if it's some issue of multiple tests writing to the same location, the we might have a chance to see it.
2024-01-18 16:21:11 +04:00
Marcin Tojek
c5d73b86d6
feat: change owner name using account form ( #11683 )
2024-01-18 12:32:01 +01:00
Muhammad Atif Ali
1ea70ba573
ci: build a multi-arch image on each commit to main ( #11544 )
2024-01-18 10:57:35 +00:00
Spike Curtis
8910ac715c
feat: add tailnet v2 support to wsproxy coordinate endpoint ( #11637 )
...
wsproxy also needs to be updated to use tailnet v2 because the `tailnet.Conn` stores peers by ID, and the peerID was not being carried by the JSON protocol. This adds a query param to the endpoint to conditionally switch to the new protocol.
2024-01-18 10:10:36 +04:00
Spike Curtis
07427e06f7
chore: add setBlockEndpoints to nodeUpdater ( #11636 )
...
nodeUpdater also needs block endpoints, so that it can stop sending nodes with endpoints.
2024-01-18 10:02:15 +04:00
Spike Curtis
5b4de667d6
chore: add setCallback to nodeUpdater ( #11635 )
...
we need to be able to (re-)set the node callback when we lose and regain connection to a coordinator over the network.
2024-01-18 09:51:09 +04:00
Spike Curtis
e725f9d7d4
chore: stop passing addresses on configMaps constructor ( #11634 )
...
moving this out of the constructor so that setting this when creating a new `tailnet.Conn` triggers configuring the engine.
2024-01-18 09:43:28 +04:00
Spike Curtis
a514df71ed
chore: add setDERPMap to configMaps ( #11590 )
...
Add setDERPMap
2024-01-18 09:34:30 +04:00
Spike Curtis
25e289e1f6
chore: add setAddresses to nodeUpdater ( #11571 )
...
Adds setAddresses to nodeUpdater
2024-01-18 09:24:16 +04:00
Spike Curtis
387723a596
fix: close pg PubSub listener to avoid race ( #11640 )
...
Fixes flake as seen here: https://github.com/coder/coder/runs/20528529187
2024-01-18 09:18:59 +04:00
Asher
72d9ec07aa
fix: detect JetBrains running on local ipv6 ( #11676 )
2024-01-17 14:08:15 -09:00
Jon Ayers
552e9fe22f
fix: avoid returning 500 on apps when workspace stopped ( #11656 )
2024-01-17 12:06:59 -06:00
Bruno Quaresma
1be119b08f
fix(site): fix search menu for creating workspace and templates filter ( #11674 )
2024-01-17 17:54:56 +00:00
Steven Masley
b246f08d84
chore: move app URL parsing to its own package ( #11651 )
...
* chore: move app url parsing to it's own package
2024-01-17 10:41:42 -06:00
Bruno Quaresma
1aee8da4b6
fix(site): fix sidebar scroll ( #11671 )
2024-01-17 16:05:05 +00:00
dependabot[bot]
fa6176c2ff
chore: bump github.com/u-root/u-root from 0.11.0 to 0.12.0 ( #11625 )
...
* chore: bump github.com/u-root/u-root from 0.11.0 to 0.12.0
Bumps [github.com/u-root/u-root](https://github.com/u-root/u-root ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/u-root/u-root/releases )
- [Changelog](https://github.com/u-root/u-root/blob/main/RELEASES )
- [Commits](https://github.com/u-root/u-root/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/u-root/u-root
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* `go mod tidy`
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-01-18 01:36:47 +10:00
Marcin Tojek
e83f13d8c5
fix: typo in whitespace ( #11667 )
2024-01-17 12:36:15 +00:00
Marcin Tojek
5eb3e1cdaa
feat: expose owner_name in coder_workspace resource ( #11639 )
2024-01-17 13:20:45 +01:00
Spike Curtis
b173195e0d
Revert "fix: detect JetBrains running on local ipv6 ( #11653 )" ( #11664 )
...
This reverts commit 2d61d5332a .
2024-01-17 15:38:39 +04:00
Spike Curtis
2aa3cbbd03
chore: add logging to nodeUpdater ( #11569 )
...
Add debug logging for nodeUpdater and configMaps
2024-01-17 14:15:45 +04:00
Spike Curtis
bad2ce562e
fix: stop asserting fuzz bytes written in test
...
Fixes a flake seen here: https://github.com/coder/coder/actions/runs/7541558190/job/20528545916
```
=== FAIL: enterprise/provisionerd TestRemoteConnector_Fuzz (0.06s)
t.go:84: 2024-01-16 12:32:27.024 [info] connector: failed provisioner authentication remote_addr=[::1]:45138 ...
error= failed to receive jobID:
github.com/coder/coder/v2/enterprise/provisionerd.(*remoteConnector).authenticate
/home/runner/actions-runner/_work/coder/coder/enterprise/provisionerd/remoteprovisioners.go:438
- bufio.Scanner: token too long
t.go:84: 2024-01-16 12:32:27.024 [debu] connector: closed connection remote_addr=[::1]:45138 error=<nil>
remoteprovisioners_test.go:209:
Error Trace: /home/runner/actions-runner/_work/coder/coder/enterprise/provisionerd/remoteprovisioners_test.go:209
Error: "2992256" is not less than "2097152"
Test: TestRemoteConnector_Fuzz
Messages: should not allow more than 1 MiB
```
This was an attempt to test that malicious actors can't abuse our authentication protocol to make us allocate a bunch of memory.
However, the test asserted on the number of bytes sent by the fuzzer, not the number of bytes read (& allocated) by the service. The former is affected by network queue sizes and is thus flaky without actively managing the socket queues, which I don't think we want to do.
In actual practise, the thing that matters is how much memory the bufio Scanner allocates. By inspection, the scanner will allocate up to 64k, and testing this is true devolves into testing the go standard library, which I don't think is worth doing.
So... let's just drop the assertion because
a) its flaky,
b) it doesn't test what we actually want to test,
c) the behavior we actually care about is part of the standard library.
2024-01-17 12:59:45 +04:00
Spike Curtis
38d9ce5267
chore: add setStatus support to nodeUpdater ( #11568 )
...
Add support for the wgengine Status callback to nodeUpdater
2024-01-17 09:06:34 +04:00
Spike Curtis
f6dc707511
chore: add DERPForcedWebsocket to nodeUpdater ( #11567 )
...
Add support for DERPForcedWebsocket to nodeUpdater
2024-01-17 08:55:45 +04:00
Asher
2d61d5332a
fix: detect JetBrains running on local ipv6 ( #11653 )
2024-01-16 15:53:41 -09:00
Colin Adler
be43d6247d
feat: add additional fields to first time setup trial flow ( #11533 )
...
* feat: add additional fields to first time setup trial flow
* trial generator typo
2024-01-16 18:19:16 -06:00
Jon Ayers
1196f83ebd
feat: automatically activate dormant workspaces when manually started ( #11655 )
2024-01-16 16:42:04 -06:00
Stephen Kirby
d74aae7a4a
removed alpha tags from workspace actions features in template settings ( #11654 )
2024-01-16 16:23:19 -06:00
Muhammad Atif Ali
417270a6d7
chore(docs): remove the template_update_policies experiment from docs ( #11615 )
2024-01-17 00:18:57 +03:00
Jon Ayers
6ebcee3b49
docs: add workspace cleanup docs ( #11146 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: kirby <kirby@coder.com >
2024-01-16 15:12:56 -06:00
Mathias Fredriksson
385d58caf6
fix(agent/agentssh): allow remote forwarding a socket multiple times ( #11631 )
...
* fix(agent/agentssh): allow remote forwarding a socket multiple times
Fixes #11198
Fixes https://github.com/coder/customers/issues/407
2024-01-16 21:26:13 +02:00
Steven Masley
08b4eb3124
fix: refresh all oauth links on external auth page ( #11646 )
...
* fix: refresh all oauth links on external auth page
2024-01-16 11:03:55 -06:00
Cian Johnston
d583acad00
fix(coderd): workspaceapps: update last_used_at when workspace app reports stats ( #11603 )
...
- Adds a new query BatchUpdateLastUsedAt
- Adds calls to BatchUpdateLastUsedAt in app stats handler upon flush
- Passes a stats flush channel to apptest setup scaffolding and updates unit tests to assert modifications to LastUsedAt.
2024-01-16 14:06:39 +00:00
Muhammad Atif Ali
5bfbf9f9e6
chore(docs/install/docker.md): shorten headings length ( #11630 )
2024-01-16 07:19:58 +00:00
Steven Masley
5087f7b5f6
chore: improve fake IDP script ( #11602 )
...
* chore: testIDP using static defaults for easier reuse
2024-01-15 10:01:41 -06:00
Marcin Tojek
f915bdf26c
feat: support links with custom icons ( #11629 )
2024-01-15 16:56:01 +01:00
dependabot[bot]
5c310ec334
chore: bump github.com/prometheus/common from 0.45.0 to 0.46.0 ( #11618 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 18:19:16 +03:00
dependabot[bot]
288f879f72
ci: bump the github-actions group with 1 update ( #11616 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 14:48:19 +00:00
dependabot[bot]
af013fc3a1
chore: bump github.com/go-playground/validator/v10 from 10.16.0 to 10.17.0 ( #11626 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 17:45:49 +03:00
dependabot[bot]
476d72e63d
chore: bump github.com/andybalholm/brotli from 1.0.6 to 1.1.0 ( #11621 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 17:44:48 +03:00
dependabot[bot]
ecefb8c0c1
chore: bump golang.org/x/tools from 0.16.1 to 0.17.0 ( #11622 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 17:44:17 +03:00
Cian Johnston
244ca88645
ci: set CODER_VERBOSE=true for fly.io wsproxies ( #11405 )
2024-01-15 13:14:38 +00:00
dependabot[bot]
054420bb33
chore: bump github.com/go-logr/logr from 1.3.0 to 1.4.1 ( #11475 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 14:08:28 +03:00
sharkymark
f65b2efb95
chore: replace remote with cloud when referencing development environments; add Slack as an enterprise option for community sharing ( #11375 )
2024-01-15 05:31:35 -05:00
Eric Paulsen
c799f0ff43
docs: add steps to configure supportLinks in Helm chart ( #11612 )
2024-01-15 05:29:59 -05:00
Eric Paulsen
e1493b220a
fix: guide naming ( #11613 )
2024-01-15 05:29:43 -05:00
Muhammad Atif Ali
8b10d21a70
chore(docs): fix a minor punctuation error ( #11610 )
2024-01-14 08:03:07 +00:00
Eric Paulsen
e70a97a722
docs: add guide for template ImagePullSecret ( #11608 )
...
* docs: add guide for template imagepullsecret
* add: manifest
* make: fmt
2024-01-12 18:44:26 -06:00
Kayla Washburn-Love
4c3f05b8aa
fix: show error when creating a new group fails ( #11560 )
2024-01-12 16:06:02 -07:00
Steven Masley
905292053a
fix: improve wsproxy error when proxyurl is set to a primary ( #11586 )
...
* coder error first
2024-01-12 20:32:02 +00:00
Steven Masley
03ee63931c
chore: remove duplicate validate calls on same oauth token ( #11598 )
...
* chore: remove duplicate validate calls on same oauth token
2024-01-12 14:27:22 -06:00
Bruno Quaresma
8181c9f349
refactor(site): make cosmetic changes on agent logs ( #11601 )
2024-01-12 17:09:36 -03:00
Bruno Quaresma
68e5a51d90
feat(site): display builds logs by default ( #11597 )
2024-01-12 16:39:23 -03:00
Bruno Quaresma
ec166cf423
fix(site): remove search menu vertical padding ( #11599 )
2024-01-12 19:33:21 +00:00
Bruno Quaresma
f3edc42b76
fix(site): fix workspace resource width on ultra wide screens ( #11596 )
2024-01-12 16:09:12 -03:00
Bruno Quaresma
130d5d68a0
refactor(site): refactor workspace notifications ( #11520 )
2024-01-12 15:55:31 -03:00
Stephen Kirby
bdefd4e2e6
chore: convert faq headers to dropdowns ( #11585 )
...
* changed FAQs from headers to twists
* added dropdowns and mild formatting
* make fmt
2024-01-12 12:49:41 -06:00
Bruno Quaresma
162c91ec2a
fix(site): fix resource selection when workspace has no prev resources ( #11594 )
2024-01-12 15:45:06 -03:00
Marcin Tojek
cb77f04104
feat: load variables from tfvars files ( #11549 )
2024-01-12 15:08:23 +01:00
Bruno Quaresma
aeb1ab8ad8
fix(site): fix resource selection when workspace resources change ( #11581 )
2024-01-12 10:14:31 -03:00
Cian Johnston
0e96115d5d
fix(coderd): correctly show warning when no provisioner daemons are registered ( #11591 )
2024-01-12 11:22:59 +00:00
Steven Masley
f5a9f5ca3d
chore: handle errors in wsproxy server for cli using buildinfo ( #11584 )
...
Cli errors are pretty formatted. This handles nested pretty types. Before it found the first error it could understand and return that. Now it will print the full error stack with more information.
To prevent information loss, a "[Trace=...]" was added to capture some extra error context for debugging.
2024-01-11 16:55:34 -06:00
Jon Ayers
aecdafdcf2
fix: fix template edit overriding with flag defaults ( #11564 )
2024-01-11 16:18:46 -06:00
Kayla Washburn-Love
eb8d85f432
feat: treat deprecation messages as markdown ( #11562 )
2024-01-11 14:15:29 -07:00
Cian Johnston
95fd0bb22b
feat(site): remove experiment deployment_health_page ( #11572 )
2024-01-11 21:03:10 +00:00
Cian Johnston
26f5ce63a8
feat(site): add docs links on health page ( #11582 )
...
* feat(site): add docs links on health page
* apply suggestions
2024-01-11 20:32:25 +00:00
Garrett Delfosse
5b122d108e
fix: publish workspace update on quota failure ( #11559 )
2024-01-11 14:59:40 -05:00
Kayla Washburn-Love
05eac64be4
feat: add a character counter for fields with length limits ( #11558 )
...
- refactors`getFormHelpers` to accept an options object
- adds a `maxLength` option which will display a message and character counter for fields with length limits
- set `maxLength` option for template description fields
2024-01-11 12:15:43 -07:00
Garrett Delfosse
f9f94b5d01
fix: remove cancel button if user cannot cancel job ( #11553 )
2024-01-11 13:48:44 -05:00
Kayla Washburn-Love
8c3a4f2d7f
chore: move some components into pages/ ( #11536 )
2024-01-11 11:30:15 -07:00
Steven Masley
e3ad9580e9
chore: allow running fake idp with coderd dev ( #11555 )
...
* chore: allow running fake idp with coderd dev
2024-01-11 18:10:57 +00:00
sharkymark
c91b885a4a
chore: add optional coder_app to faq ( #11351 )
...
Merging since Mark is out.
* chore: add optional coder_app to faq
* applied Atif's suggestions
* make fmt again
---------
Co-authored-by: kirby <kirby@coder.com >
Co-authored-by: Stephen Kirby <58410745+stirby@users.noreply.github.com >
2024-01-11 12:07:22 -06:00
Steven Masley
fcd299109c
chore: update language about autostop on templates page ( #11552 )
...
* chore: update language about autostop on templates page
2024-01-11 12:01:07 -06:00
Steven Masley
8b61ff3e0e
fix: apply appropriate artifactory defaults for external auth ( #11580 )
2024-01-11 11:58:27 -06:00
Cian Johnston
f3d091fa01
fix(site): improve rendering of provisioner tags ( #11575 )
...
* fix(site): improve rendering of provisioner tags
* fixup! fix(site): improve rendering of provisioner tags
* Update site/src/pages/HealthPage/ProvisionerDaemonsPage.tsx
* fixup! Update site/src/pages/HealthPage/ProvisionerDaemonsPage.tsx
2024-01-11 17:42:21 +00:00
Colin Adler
4a0808259a
fix: ensure wsproxy MultiAgent is closed when websocket dies ( #11414 )
...
The `SingleTailnet` behavior only checked to see if the `MultiAgent` was
closed, but the websocket error was not being propogated into the
`MultiAgent`, causing it to never be swapped for a new working one.
Fixes https://github.com/coder/coder/issues/11401
Before:
```
Coder Workspace Proxy v0.0.0-devel+85ff030 - Your Self-Hosted Remote Development Platform
Started HTTP listener at http://0.0.0.0:3001
View the Web UI: http://127.0.0.1:3001
==> Logs will stream in below (press ctrl+c to gracefully exit):
2024-01-04 20:11:56.376 [warn] net.workspace-proxy.servertailnet: broadcast server node to agents ...
error= write message:
github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*remoteMultiAgentHandler).writeJSON
/home/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:524
- failed to write msg: WebSocket closed: failed to read frame header: EOF
```
After:
```
Coder Workspace Proxy v0.0.0-devel+12f1878 - Your Self-Hosted Remote Development Platform
Started HTTP listener at http://0.0.0.0:3001
View the Web UI: http://127.0.0.1:3001
==> Logs will stream in below (press ctrl+c to gracefully exit):
2024-01-04 20:26:38.545 [warn] net.workspace-proxy.servertailnet: multiagent closed, reinitializing
2024-01-04 20:26:38.546 [erro] net.workspace-proxy.servertailnet: reinit multi agent ...
error= dial coordinate websocket:
github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*Client).DialCoordinator
/home/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:454
- failed to WebSocket dial: failed to send handshake request: Get "http://127.0.0.1:3000/api/v2/workspaceproxies/me/coordinate ": dial tcp 127.0.0.1:3000: connect: connection refused
2024-01-04 20:26:38.587 [erro] net.workspace-proxy.servertailnet: reinit multi agent ...
error= dial coordinate websocket:
github.com/coder/coder/v2/enterprise/wsproxy/wsproxysdk.(*Client).DialCoordinator
/home/coder/coder/enterprise/wsproxy/wsproxysdk/wsproxysdk.go:454
- failed to WebSocket dial: failed to send handshake request: Get "http://127.0.0.1:3000/api/v2/workspaceproxies/me/coordinate ": dial tcp 127.0.0.1:3000: connect: connection refusedhandshake request: Get "http://127.0.0.1:3000/api/v2/workspaceproxies/me/coordinate ": dial tcp 127.0.0.1:3000: connect: connection refused
2024-01-04 20:26:40.446 [info] net.workspace-proxy.servertailnet: successfully reinitialized multiagent agents=0 took=1.900892615s
```
2024-01-11 11:37:09 -06:00
Bruno Quaresma
d708ac7c04
fix(site): remove refetch on windows focus ( #11574 )
...
It causes the sign-in page to reload whenever a user enters a page or changes the window's focus. This is happening because when the "user" fetch is made, the server returns an error, making the react-query mark the data as stale and try to load it whenever possible.
2024-01-11 11:06:36 -03:00
Bruno Quaresma
3695b74ab6
fix(site): fix loading indicator alignment ( #11573 )
2024-01-11 10:53:36 -03:00
Cian Johnston
8a12ee7831
fix(site): show wsproxy errors in context in WorkspaceProxyPage ( #11556 )
...
* Shows the overall report error at the top of the page, if present.
* Shows workspaceproxy errors above warnings inside the corresponding element, if present.
* Improves unregistered proxy status
2024-01-11 10:47:02 +00:00
Spike Curtis
8701dbc874
chore: add nodeUpdater to tailnet ( #11539 )
...
Adds a nodeUpdater component, which serves a similar role to configMaps, but tracks information from tailscale going out to the coordinator as node updates. This first PR just handles netInfo, subsequent PRs will
handle DERP forced websockets, endpoints, and addresses.
2024-01-11 09:29:42 +04:00
Spike Curtis
7005fb1b2f
chore: add support for blockEndpoints to configMaps ( #11512 )
...
Adds support for setting blockEndpoints on the configMaps
2024-01-11 09:18:31 +04:00
Spike Curtis
617ecbfb1f
chore: add support for peer updates to tailnet.configMaps ( #11487 )
...
Adds support to configMaps to handle peer updates including lost and disconnected peers
2024-01-11 09:11:43 +04:00
bamhm182
4e5367c4a4
chore: update Digital Ocean example template ( #11528 ) ( #11535 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-01-11 00:00:25 +00:00
Jon Ayers
9b437032e9
feat: remove workspace_actions experiment ( #11427 )
2024-01-10 16:19:39 -06:00
Steven Masley
04afb88e6f
fix: return a more sophisticated error for device failure on 429 ( #11554 )
...
* fix: return a more sophisticated error for device failure on 429
2024-01-10 11:29:44 -06:00
Mathias Fredriksson
b1d53a68c2
fix(agent/agentssh): fix X11 forwarding by improving Xauthority management ( #11550 )
...
Fixes #11531
2024-01-10 19:04:44 +02:00
Steven Masley
89ab659114
chore: add oauth2 prometheus metrics for to documentation ( #11534 )
2024-01-10 15:46:37 +00:00
Steven Masley
3f9da674c6
chore: instrument github oauth2 limits ( #11532 )
...
* chore: instrument github oauth2 limits
Rate limit information for github oauth2 providers instrumented in prometheus
2024-01-10 15:29:33 +00:00
Steven Masley
50b78e3325
chore: instrument external oauth2 requests ( #11519 )
...
* chore: instrument external oauth2 requests
External requests made by oauth2 configs are now instrumented into prometheus metrics.
2024-01-10 09:13:30 -06:00
Garrett Delfosse
aa7fe075a8
fix: correct flag name ( #11525 )
2024-01-10 09:36:26 -05:00
Garrett Delfosse
0727535342
fix: correct app url format in comment ( #11523 )
2024-01-10 09:36:10 -05:00
Muhammad Atif Ali
6e5c2efca1
chore(docs): remove provider logos from 1-click install ( #11548 )
...
* docs: remove cloud logos from 1-click install
They were looking good and are not adding much value.
* Delete docs/images/install/render.png
* Delete docs/images/install/ec2.svg
* Delete docs/images/install/eks.svg
* Delete docs/images/install/fly.io.svg
* Delete docs/images/install/gce.svg
* Delete docs/images/install/heroku.svg
* Delete docs/images/install/railway.svg
2024-01-10 13:28:40 +00:00
Spike Curtis
cae095fdb6
fix: stop logging errors on canceled cleanup queries ( #11547 )
...
Fixes flake seen here: https://github.com/coder/coder/actions/runs/7474259128/job/20340051975
2024-01-10 16:20:29 +04:00
Muhammad Atif Ali
9682db593e
chore(docs): reorganize installation docs ( #11465 )
2024-01-10 15:00:19 +03:00
Spike Curtis
dfe8efc186
fix: use background context for inmem provisionerd ( #11545 )
...
This test case fails with an error log, showing "context canceled" when trying to send an acquired job to an in-mem provisionerd.
https://github.com/coder/coder/runs/20331469006
In this case, we don't want to supress this error, since it could mean that we acquired a job, locked it in the database, then failed to send it to a provisioner.
(We also don't want to mark the job as failed because we don't know whether the job made it to the provisionerd or not --- in the failed test you can see that the job is actually processed just fine).
The reason we got context canceled is because the API was shutting down --- we don't want provisionerdserver to abruptly stop processing job stuff as the API shuts down as this will leave jobs in a bad state. This PR fixes up the use of contexts with provisionerdserver and the associated drpc service calls.
2024-01-10 15:29:57 +04:00
Muhammad Atif Ali
c125206b24
docs(faqs): add FAQ regarding unsupported base image for VS Code Server ( #11543 )
2024-01-10 12:16:44 +03:00
Cian Johnston
5ecb0db4f2
chore(coderd): fix test flake in TestAgentWebsocketMonitor_SendPings ( #11518 )
2024-01-10 08:45:46 +00:00
Cian Johnston
5ed3c413cd
chore(coderd): fix test flake in TestWorkspaceUpdateAutomaticUpdates_OK ( #11521 )
2024-01-10 08:45:32 +00:00
dependabot[bot]
61cd9f087b
chore: bump follow-redirects from 1.15.2 to 1.15.4 in /site ( #11540 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 10:30:05 +03:00
Spike Curtis
89e3bbe0f5
chore: add configMaps component to tailnet ( #11400 )
...
Work in progress on a subcomponent of the Conn which will handle configuring the wireguard engine on changes. I've implemented setAddresses as the simplest case and added unit tests of the reconfiguration loop.
Besides making the code easier to test and understand, the goal is for this component to handle disconnect and loss updates about peers, and thereby, implement the v2 Tailnet API.
Further PRs will handle peer updates, status updates, and net info updates.
Then, after the subcomponent is implemented and tested, I will refactor Conn to use it instead of the current monolithic architecture.
2024-01-10 10:58:53 +04:00
Asher
d837d66e29
chore: update sqlc to 1.25.0 ( #11538 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-01-10 09:19:41 +03:00
Asher
0912cfc2d6
chore: update flake to include new mockgen ( #11537 )
...
It looks like we updated mockgen to use Uber's fork, but the flake still
pointed to a nixos-unstable commit containing the old mockgen resulting
in an error like:
missing go.sum entry for module providing package github.com/golang/mock/mockgen/model
2024-01-09 15:37:51 -09:00
Kayla Washburn
97bd74b468
chore: add additional stories to storybook ( #11524 )
...
add stories for ActiveUserChart, CopyableValue, and CopyButton
2024-01-09 14:03:40 -07:00
Kayla Washburn
8a48485014
refactor: clean up Welcome component ( #11526 )
2024-01-09 14:03:33 -07:00
Garrett Delfosse
4fa07124cd
feat: display application name over sign in form ( #11500 )
2024-01-09 12:51:16 -05:00
Garrett Delfosse
30d5ac060b
fix: carry tags to new templateversions ( #11502 )
2024-01-09 12:47:44 -05:00
Cian Johnston
952706e905
fix(site): HealthPage/WorkspaceProxyPage: adjust border colour for unhealthy regions ( #11516 )
2024-01-09 17:36:41 +00:00
Kayla Washburn
e77b1a5ffd
chore: miscellaneous cleanup ( #11027 )
2024-01-09 10:14:19 -07:00
Cian Johnston
9f4f953350
fix(coderd/healthcheck): ignore deleted wsproxies in wsproxy healthcheck ( #11515 )
2024-01-09 16:36:26 +00:00
Marcin Tojek
e5b9d63901
docs: escape enum pipe ( #11513 )
2024-01-09 13:39:38 +00:00
Marcin Tojek
525e6e5dc8
docs: remove empty page ( #11511 )
2024-01-09 12:52:45 +01:00
Marcin Tojek
b8373e6fab
fix: nix: force node version v18 ( #11510 )
2024-01-09 12:27:56 +01:00
Spike Curtis
fdd60d316e
fix: fix MetricsAggregator check for metric sameness ( #11508 )
...
Fixes #11451
A refactor of the Agent API passes metrics as protobufs, which include pointers to label name/value pairs. The aggregator tested for sameness by doing a shallow compare of label values, which for different stats reports would compare unequal because the pointers would be different.
This fix does a deep compare.
While testing I also noted that we neglect to compare template names. This is unlikely to have caused any issue in practice, since the combination of username/workspace is unique, but in the context of comparing metric labels we should do the comparison.
If a user creates a workspace, deletes it, then recreates from a different template, we could in principle have reported incorrect stats for the old template.
2024-01-09 15:21:30 +04:00
Spike Curtis
21093c00f0
fix: stop logging error on canceled query ( #11506 )
...
Fixes flake seen here: https://github.com/coder/coder/actions/runs/7447779208/job/20260756050
2024-01-09 14:38:56 +04:00
Cian Johnston
0c953b4b8c
fix(enterprise/coderd): make primary workspace proxy always be updatd now ( #11499 )
2024-01-09 10:03:08 +00:00
Steven Masley
fb29af664b
fix: relax csrf to exclude path based apps ( #11430 )
...
* fix: relax csrf to exclude path based apps
* add unit test to verify path based apps are not CSRF blocked
2024-01-08 22:33:57 +00:00
Kayla Washburn
9f5a59d5c5
feat(site): improve icon compatibility across themes ( #11457 )
2024-01-08 14:12:40 -07:00
Garrett Delfosse
427afe13e0
fix: generate new random username to prevent flake ( #11501 )
2024-01-08 19:09:14 +00:00
Cian Johnston
220e95dd5c
feat(site): add healthcheck page for provisioner daemons ( #11494 )
...
Part of #10676
- Adds a health section for provisioner daemons (mostly cannibalized from the Workspace Proxy section)
- Adds a corresponding storybook entry for provisioner daemons health section
- Fixed an issue where dismissing the provisioner daemons warnings would result in a 500 error
- Adds provisioner daemon error codes to docs
2024-01-08 17:14:09 +00:00
dependabot[bot]
6096af77c8
chore: bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 ( #11495 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 20:10:59 +03:00
Bruno Quaresma
a613a0a4da
refactor(site): improve settings option ( #11489 )
2024-01-08 13:16:16 -03:00
Bruno Quaresma
61450863ff
feat(site): move resources into the sidebar ( #11456 )
2024-01-08 13:14:25 -03:00
dependabot[bot]
359a642e7e
chore: bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 ( #11474 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 17:07:56 +03:00
Cian Johnston
93cf5dcd47
fix(coderd/healthcheck): add daemon-specific warnings to healthcheck output ( #11490 )
...
- Sorts provisioner daemons by name ascending in output
- Adds daemon-specific warnings to healthcheck output
- Reword some messages
2024-01-08 13:55:00 +00:00
dependabot[bot]
f4393d0c3f
chore: bump github.com/hashicorp/terraform-json from 0.18.0 to 0.20.0 ( #11483 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 13:20:14 +00:00
Bruno Quaresma
0186241880
fix(site): display github login config ( #11488 )
2024-01-08 10:17:09 -03:00
dependabot[bot]
efb1ee31c0
chore: bump github.com/unrolled/secure from 1.13.0 to 1.14.0 ( #11476 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 16:15:53 +03:00
dependabot[bot]
4c7a93dd7e
chore: bump github.com/coreos/go-oidc/v3 from 3.7.0 to 3.9.0 ( #11479 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 15:32:05 +03:00
dependabot[bot]
a6c746e4e0
chore: bump github.com/aws/smithy-go from 1.17.0 to 1.19.0 ( #11484 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 15:31:43 +03:00
dependabot[bot]
2c9589d883
chore: bump github.com/google/uuid from 1.4.0 to 1.5.0 ( #11485 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 15:31:23 +03:00
dependabot[bot]
58f5f324b0
chore: bump github.com/gohugoio/hugo from 0.120.3 to 0.121.2 ( #11473 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 15:31:09 +03:00
Muhammad Atif Ali
acec1f7716
chore: increase dependabot PRs limit for go ( #11472 )
2024-01-08 14:54:28 +03:00
dependabot[bot]
5337a70561
chore: bump google.golang.org/protobuf from 1.31.0 to 1.32.0 ( #11468 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 13:43:33 +03:00
Cian Johnston
04fd96a014
feat(coderd): add provisioner_daemons to /debug/health endpoint ( #11393 )
...
Adds a healthcheck for provisioner daemons to /debug/health endpoint.
2024-01-08 09:29:04 +00:00
Michael Smith
31f8fac1b9
fix: make ProxyMenu more accessible to screen readers ( #11312 )
...
* wip: commit progress on latency update
* chore: add stories and clean up tests
* refactor: clean up code
* fix: make sure headers aren't treated as interactive elements
* refactor: clean up tests
* fix: clean up stories
* docs: add clarifying comment
* fix: update stories again
* fix: clean up/extend prop definitions
* refactor: quick cleanup
* fix: apply Kira's feedback
* refactor: clean up abbr markup to account for pronunciation
* fix: more cleanup
* fix: refine screen reader output for VoiceOver
* refactor: clean up and redefine tests
* feature: add finishing touches
2024-01-07 18:37:01 -05:00
dependabot[bot]
8a9fe2bf00
chore: bump golang.org/x/term from 0.15.0 to 0.16.0 ( #11463 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/term/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07 12:28:39 +00:00
dependabot[bot]
64f239c844
chore: bump github.com/go-chi/httprate from 0.7.4 to 0.8.0 ( #11461 )
...
Bumps [github.com/go-chi/httprate](https://github.com/go-chi/httprate ) from 0.7.4 to 0.8.0.
- [Commits](https://github.com/go-chi/httprate/compare/v0.7.4...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07 12:27:29 +00:00
dependabot[bot]
ceb0ec43ad
chore: bump google.golang.org/grpc from 1.59.0 to 1.60.1 ( #11444 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.59.0 to 1.60.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.59.0...v1.60.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07 12:18:00 +00:00
Muhammad Atif Ali
a2f86e5e5e
chore(dogfood): install corepack ( #11459 )
2024-01-06 03:11:16 +03:00
Muhammad Atif Ali
965b1e69e2
ci: add variable to template push in dogfood.yaml ( #11458 )
2024-01-05 21:35:49 +00:00
Garrett Delfosse
b21da38bea
chore: deprecate template create command in favor of template push ( #11390 )
2024-01-05 21:04:14 +00:00
Garrett Delfosse
3d54bc06f6
feat: display current version on coder list ( #11450 )
...
* feat: display current version on coder list
* fix make gen
* update golden
2024-01-05 15:33:08 -05:00
Muhammad Atif Ali
31f7b39513
chore(dogfood): update dogfood template to use artifactory ( #11452 )
...
* chore(dogfood): update to use artifactory
* Update main.tf
2024-01-05 23:25:51 +03:00
Steven Masley
da7859c445
chore: change language on autostop ( #11454 )
...
* chore: change language on autostop
2024-01-05 11:40:25 -06:00
Bruno Quaresma
c428395d71
feat(site): move history into sidebar ( #11413 )
2024-01-05 13:32:05 -03:00
Steven Masley
f0132b543d
fix: fix workspace proxy command app link href ( #11423 )
...
* fix: workspace proxy command app link href
2024-01-05 10:27:06 -06:00
dependabot[bot]
46b90ce898
chore: bump github.com/golang-migrate/migrate/v4 from 4.16.0 to 4.17.0 ( #11446 )
...
Bumps [github.com/golang-migrate/migrate/v4](https://github.com/golang-migrate/migrate ) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/golang-migrate/migrate/releases )
- [Changelog](https://github.com/golang-migrate/migrate/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang-migrate/migrate/compare/v4.16.0...v4.17.0 )
---
updated-dependencies:
- dependency-name: github.com/golang-migrate/migrate/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 09:42:53 -06:00
dependabot[bot]
f3efa0803b
ci: bump the github-actions group with 3 updates ( #11447 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 14:11:09 +00:00
dependabot[bot]
45e989a519
chore: bump golang.org/x/sync from 0.5.0 to 0.6.0 ( #11445 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 17:09:11 +03:00
dependabot[bot]
bf00e61f10
chore: bump github.com/jedib0t/go-pretty/v6 from 6.4.0 to 6.5.0 ( #11442 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 16:51:19 +03:00
Muhammad Atif Ali
118ab7d4de
ci: ungroup go dependencies ( #11441 )
2024-01-05 13:40:10 +00:00
Bruno Quaresma
9389c2b283
refactor(site): only show derp tags if they are true ( #11439 )
2024-01-05 09:45:34 -03:00
Cian Johnston
4d2fe2685a
chore(coderd): extract api version validation to util package ( #11407 )
2024-01-05 10:22:07 +00:00
Spike Curtis
58873fa7e2
chore: remove unused context/cancel in tailnet Conn ( #11399 )
...
Spotted during code read; unused fields
2024-01-05 08:15:42 +04:00
Spike Curtis
64638b381d
feat: promote PG Coordinator out of experimental ( #11398 )
...
Promotes PG Coordinator out of experimental to GA
2024-01-05 08:03:36 +04:00
Eric Paulsen
e816dc0e60
fix: gcp federation guide formatting ( #11432 )
2024-01-05 03:31:05 +00:00
Eric Paulsen
138d31621f
docs: add guide for Google to AWS federation ( #11429 )
...
* feat: add docs for Google to AWS federation
* make: fmt
2024-01-04 20:13:29 -05:00
Steven Masley
dd05a6b13a
chore: mockgen archived, moved to new location ( #11415 )
...
* chore: mockgen archived, moved to new location
2024-01-04 18:35:56 -06:00
dependabot[bot]
bb3510631b
chore: bump the offlinedocs group in /offlinedocs with 1 update ( #11428 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 02:03:26 +03:00
Steven Masley
c6366e5b73
chore: prevent nil derefs in non-critical paths ( #11411 )
...
* chore: prevent nil derefs in non-critical paths
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-01-04 14:51:48 -06:00
Steven Masley
85ff030ab4
chore: update LastConnectedReplicaID in dbmem ( #11412 )
2024-01-04 19:18:54 +00:00
Cian Johnston
4f433e7f3d
ci: broaden scope of needs.changes.db ( #11386 )
...
* Broadens scope of needs.changes.db to include anything under the path coderd/database.
* Removes dependency of test-go-pg on sqlc-vet.
2024-01-04 16:24:54 +00:00
Garrett Delfosse
5981abd689
fix: handle unescaped userinfo in postgres url ( #11396 )
...
* fix: handle unescaped userinfo in postgres url
* add tests
* fix tests
2024-01-04 08:46:00 -05:00
Muhammad Atif Ali
f0db302df2
chore: add lxc logo ( #11404 )
2024-01-04 16:31:16 +03:00
Cian Johnston
4355894b2b
fix(coderd/database): revert addition of v prefix to provisioner_daemons.api_version ( #11403 )
...
"Reverts" #11385 by adding an inverse migration.
2024-01-04 11:47:31 +00:00
Spike Curtis
f9ebe8c719
fix: send end of logs when dbfake completes job ( #11402 )
2024-01-04 15:18:00 +04:00
Spike Curtis
48cd4c3a10
feat: promote single-tailnet out of experimental ( #11366 )
2024-01-04 09:27:36 +04:00
Kayla Washburn
ffa7722c31
feat: select group avatars with the emoji picker ( #11395 )
2024-01-03 15:47:24 -07:00
Ben Potter
ee2daedae0
chore: template update policies are GA ( #11397 )
2024-01-03 15:49:29 -06:00
Dean Sheather
06f519d7f1
docs: add template autostop requirement docs ( #11235 )
...
* chore: template autostop requirement docs
* fixup! chore: template autostop requirement docs
* fixes from feedback.
* fmt
---------
Co-authored-by: Ben <me@bpmct.net >
2024-01-03 14:25:25 -06:00
Kyle Carberry
30afe43f8a
fix: create tempdir prior to cleanup ( #11394 )
...
See https://github.com/coder/coder/actions/runs/7399827933/job/20132407700
Seems like this happened because the test was being cleaned up
while the tempdir was being made.
2024-01-03 19:18:15 +00:00
Bruno Quaresma
4edd21ae9e
fix(site): fix loading spinner on template version status badge ( #11392 )
2024-01-03 16:29:04 +00:00
Bruno Quaresma
f5196c06e1
fix(site): fix insights picker and disable animation ( #11391 )
2024-01-03 16:25:01 +00:00
Cian Johnston
f80a1cf3c8
fix(coderd/database): add missing v prefix to provisioner_daemons.api_version ( #11385 )
2024-01-03 14:11:02 +00:00
Cian Johnston
068e730046
chore(coderd/database/dbfake): fix pq test flake in TestStart_Starting ( #11384 )
2024-01-03 12:27:50 +00:00
Bruno Quaresma
d74e7ca20f
docs: update FE fetching data docs ( #11376 )
2024-01-03 12:27:33 +00:00
Spike Curtis
5d76210b0d
fix: change coder start to be a no-op if workspace is started
...
Fixes #11380
2024-01-03 13:24:37 +04:00
Cian Johnston
1ef96022b0
feat(coderd): add provisioner build version and api_version on serve ( #11369 )
...
* assert provisioner daemon version and api_version in unit tests
* add build info in HTTP header, extract codersdk.BuildVersionHeader
* add api_version to codersdk.ProvisionerDaemon
* testutil.MustString -> testutil.MustRandString
2024-01-03 09:01:57 +00:00
Muhammad Atif Ali
9031b498ea
ci: use depot.dev to build dogfood image ( #11378 )
2024-01-02 23:27:37 +03:00
Garrett Delfosse
227234ded5
fix: correct wording on logo url field ( #11377 )
2024-01-02 14:53:18 -05:00
Bruno Quaresma
ac899be74c
chore(site): move workspace topbar component ( #11374 )
2024-01-02 16:02:11 -03:00
Mathias Fredriksson
df3c310379
feat(cli): add coder open vscode ( #11191 )
...
Fixes #7667
2024-01-02 20:46:18 +02:00
Bruno Quaresma
099be249a7
fix(site): fix external auth button loading state ( #11373 )
2024-01-02 18:30:05 +00:00
Kayla Washburn
6308a78365
chore: clean up light theme code ( #11319 )
2024-01-02 15:19:20 -03:00
Bruno Quaresma
c37c0e7d1b
refactor(site): simplify workspace topbar ( #11370 )
2024-01-02 15:17:42 -03:00
Bruno Quaresma
62a20e86fd
chore(site): ignore deletion date on chromatic ( #11372 )
2024-01-02 18:17:24 +00:00
Bruno Quaresma
a1341ee9ac
fix(site): fix pill spinner size ( #11368 )
2024-01-02 15:05:20 -03:00
Bruno Quaresma
467a1a3e71
fix(site): fix workspace topbar back button ( #11371 )
2024-01-02 18:01:06 +00:00
Kayla Washburn
a24c3b4dc7
chore: cleanup inline prop type definitions ( #11317 )
2024-01-02 10:39:00 -07:00
Bruno Quaresma
cf17fabcc6
feat(site): refactor workspace header to be more slim ( #11327 )
2024-01-02 12:42:51 -03:00
Muhammad Atif Ali
608937c79c
chore(site): update node to version 18.19.0 ( #11344 )
2024-01-02 12:41:24 +00:00
Bruno Quaresma
8717fdfc20
refactor(site): refactor pill component API ( #11329 )
...
Refactor the Pill API to make it easier to extend and reuse.
2024-01-02 09:28:51 -03:00
Spike Curtis
c9b7d61769
chore: refactor agent connection updates ( #11301 )
...
Refactors the code that handles monitoring an agent websocket with pings and updating the connection times in the DB.
Consolidates v1 and v2 agent APIs under the same code for this.
One substantive change (not _just_ a refactor) is that I've made it so that we actually disconnect if the agent fails to respond to our pings, rather than the old behavior where we would update the database, but not actually tear down the websocket.
2024-01-02 16:04:37 +04:00
Spike Curtis
520c3a8ff7
fix: use TSMP for pings and checking reachability ( #11306 )
...
We're seeing some flaky tests related to agent connectivity - https://github.com/coder/coder/actions/runs/7286675441/job/19856270998
I'm pretty sure what happened in this one is that the client opened a connection while the wgengine was in the process of reconfiguring the wireguard device, so the fact that the peer became "active" as a result of traffic being sent was not noticed.
The test calls `AwaitReachable()` but this only tests the disco layer, so it doesn't wait for wireguard to come up.
I think we should be using TSMP for pinging and reachability, since this operates at the IP layer, and therefore requires that wireguard comes up before being successful.
This should also help with the problems we have seen where a TCP connection starts before wireguard is up and the initial round trip has to wait for the 5 second wireguard handshake retry.
fixes : #11294
2024-01-02 15:53:52 +04:00
Muhammad Atif Ali
58e40f6cd6
chore: update nfpm to v2.35.1 ( #11310 )
2024-01-02 10:27:46 +00:00
Spike Curtis
4071f1713b
feat: add logging to agent stats and JetBrains tracking ( #11364 )
...
Adds logging so we can hope to diagnose #11363
2024-01-02 13:34:49 +04:00
dependabot[bot]
893a8ea583
chore: bump golang.org/x/tools from 0.15.0 to 0.16.1 ( #11357 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 12:26:45 +03:00
dependabot[bot]
a439507c6a
ci: bump the github-actions group with 1 update ( #11355 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 12:26:29 +03:00
Steven Masley
8f49f10134
chore: put overrides and renames in pkg context in sqlc.yaml ( #11347 )
...
* chore: Put overrides and renames in pkg context in sqlc.yaml
---------
Co-authored-by: Andrew Benton <andrewmbenton@gmail.com >
2024-01-02 08:56:38 +00:00
Spike Curtis
36636bb6a5
feat: add tailnet to agent RPC service ( #11304 )
...
Adds tailnet.DRPCService to the agent API
Supports #10531 but we still need to add version negotiation to the websocket endpoint
2024-01-02 10:10:20 +04:00
Spike Curtis
25f2abf9ab
chore: remove tailnet from agent API and rename client API to tailnet ( #11303 )
...
Refactors our DRPC service definitions slightly.
In the previous version, I inserted the RPCs from the tailnet proto directly into the Agent service. This makes things hard to deal with because DRPC then generates a new set of methods with new interfaces with the `DRPCAgent_` prefixed. Since you can't have a single method that takes different argument types, we couldn't reuse the implementation of those RFCs without a lot of extra classes and pass-thru methods.
Instead, the "right" way to do it is to integrate at the DRPC layer. So, we have two DRPC services available over the Agent websocket, and register them both on the DRPC `mux`.
Since the tailnet proto RPC service is now for both clients and agents, I renamed some things to clarify and shorten.
This PR also removes the `TailnetAPI` implementation from the `agentapi` package, and the next PR in the stack replaces it with the implementation from the `tailnet` package.
2024-01-02 10:02:45 +04:00
Spike Curtis
65290997c1
chore: disable failing metrics check until it can be fixed ( #11361 )
2024-01-02 05:39:48 +00:00
Spike Curtis
f28f340c7b
fix: test for expiry 3 months on Azure certs ( #11362 )
2024-01-02 09:30:36 +04:00
Spike Curtis
d257f8163d
feat: implement DERP streaming on tailnet Client API ( #11302 )
...
Implements DERPMap streaming from client API.
In a subsequent PR I plan to remove the implementation in coderd/agentapi in favor of the tailnet one
2024-01-02 08:07:57 +04:00
dependabot[bot]
055a160431
chore: bump the offlinedocs group in /offlinedocs with 1 update ( #11358 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 05:49:33 +03:00
sharkymark
3582284977
chore: update images in appearance docs and correct inconsistencies ( #11346 )
...
* chore: update images in appearance docs and correct inconsistencies
* fix: spelling
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
2023-12-28 15:06:54 -06:00
Myne
6fcc49f030
fix(examples/templates/nomad-docker): ignore NOMAD_NAMESPACE and NOMAD_REGION when Coder is running in nomad ( #11341 )
2023-12-28 10:24:18 +03:00
Muhammad Atif Ali
e9437e2662
chore(site): update miscellaneous svg icons ( #11343 )
2023-12-27 23:05:03 +03:00
Muhammad Atif Ali
e3a1bdb60d
chore(dogfood): update nodejs installation method ( #11339 )
2023-12-26 16:53:41 +03:00
Muhammad Atif Ali
0ebd656cd1
refactor: refactor JFrog docs and template ( #11336 )
2023-12-25 07:26:34 +00:00
Muhammad Atif Ali
5a558b69c3
chore(examples/jfrog): always install the latest JFrog extension ( #11335 )
2023-12-24 13:59:04 +03:00
Muhammad Atif Ali
b69ccab390
fix(docs): add missing scoped token resource to JFrog docs ( #11334 )
2023-12-24 13:30:52 +03:00
Muhammad Atif Ali
ed3ecfc923
chore: build dogfood image on PRs and skip pushing to registry ( #11311 )
2023-12-24 11:43:38 +03:00
Muhammad Atif Ali
efe8c67774
ci: fix close reason type for stale issues
...
The action was faking because we were incorrectly using `not planned` instead of `not_planned`.
2023-12-23 18:43:13 +03:00
Mathias Fredriksson
be3889af07
test(site/e2e): catch missing agent defaults in fillResource ( #11105 )
2023-12-23 11:52:27 +00:00
Yonatan Arbel
8271cb01c0
docs: fix broken link to JFrog module ( #11322 )
2023-12-22 14:42:59 +03:00
Cian Johnston
19abde12fb
chore(coderd): fix test flake with auditor ( #11316 )
2023-12-22 09:50:49 +00:00
Michael Smith
167c15238a
fix: prevent UI from jumping around when selecting workspaces ( #11321 )
2023-12-21 22:36:42 +00:00
Ben Potter
b3e3521274
docs: add v2.6.0 changelog ( #11320 )
...
* docs: add v2.6.0 changelog
* fmt
2023-12-21 22:33:13 +00:00
Kayla Washburn
029c92fede
fix: fix name for external auth connections ( #11318 )
2023-12-21 15:27:16 -07:00
Kayla Washburn
db71c0fa54
refactor: remove theme "color palettes" ( #11314 )
2023-12-21 14:45:54 -07:00
Asher
5cfa34b31e
feat: add OAuth2 applications ( #11197 )
...
* Add database tables for OAuth2 applications
These are applications that will be able to use OAuth2 to get an API key
from Coder.
* Add endpoints for managing OAuth2 applications
These let you add, update, and remove OAuth2 applications.
* Add frontend for managing OAuth2 applications
2023-12-21 21:38:42 +00:00
Kayla Washburn
e044d3b752
fix: add additional theme colors ( #11313 )
2023-12-21 12:59:39 -07:00
Jon Ayers
0b7d68dc3f
chore: remove template_update_policies experiment ( #11250 )
2023-12-21 13:39:33 -06:00
Muhammad Atif Ali
5b071f4d94
feat(examples/templates): add GCP VM devcontainer template ( #11246 )
2023-12-21 13:01:10 +00:00
Spike Curtis
52b87a28b0
fix: stop printing warnings on external provisioner daemon command ( #11309 )
...
fixes #11307
2023-12-21 16:55:34 +04:00
Spike Curtis
db9104c02e
fix: avoid panic on nil connection ( #11305 )
...
Related to https://github.com/coder/coder/actions/runs/7286675441/job/19855871305
Fixes a panic if the listener returns an error, which can obfuscate the underlying problem and cause unrelated tests to be marked failed.
2023-12-21 14:26:11 +04:00
Steven Masley
fe867d02e0
fix: correct perms for forbidden error in TemplateScheduleStore.Load ( #11286 )
...
* chore: TemplateScheduleStore.Load() throwing forbidden error
* fix: workspace agent scope to include template
2023-12-20 11:38:49 -06:00
Kira Pilot
20dff2aa5d
added react query dev tools ( #11293 )
2023-12-20 10:08:51 -05:00
Ben Potter
19e4a86711
docs: add guidelines for debugging group sync ( #11296 )
...
* docs: add guidelines for debugging group sync
* fmt
2023-12-20 12:52:07 +00:00
Bruno Quaresma
e2e56d7d4f
refactor(site): move workspace schedule controls to its own component ( #11281 )
2023-12-20 08:46:18 -03:00
Cian Johnston
bfc588955c
ci: make test-go-pg depend on sqlc-vet ( #11288 )
2023-12-20 08:47:47 +00:00
Muhammad Atif Ali
3ffe7f55aa
feat(examples/templates): add aws vm devcontainer template ( #11248 )
...
* feat(examples/templates): add aws vm devcontainer template
* Create README.md
* add code-server
* fix code-server
* `make fmt`
* Add files via upload
* Update README.md
* fix typo and persist workspace
* always land in the repo directory
2023-12-20 08:24:45 +03:00
Kayla Washburn
97f7a35a47
feat: add light theme ( #11266 )
2023-12-19 17:03:00 -07:00
Bruno Quaresma
e0d34ca6f7
fix(site): fix error when loading workspaces with dormant ( #11291 )
2023-12-19 20:42:07 -03:00
Steven Masley
24080b121c
feat: enable csrf token header ( #11283 )
...
* feat: enable csrf token header
* Exempt external auth requets
* ensure dev server bypasses CSRF
* external auth is just get requests
* Add some more routes
* Extra assurance nothing breaks
2023-12-19 15:42:05 -06:00
Steven Masley
fbda21a9f2
feat: move moons experiment to ga (released) ( #11285 )
...
* feat: release moons experiment as ga
2023-12-19 14:40:22 -06:00
Steven Masley
e8be092af0
chore: add sqlc push action on releases ( #11171 )
...
* add sqlc push action on releases
* Make sqlc push optional
2023-12-19 20:31:55 +00:00
Steven Masley
c1451ca4da
chore: implement yaml parsing for external auth configs ( #11268 )
...
* chore: yaml parsing for external auth configs
* Also unmarshal and check the output again
2023-12-19 18:09:45 +00:00
dependabot[bot]
016b3ef5a2
chore: bump golang.org/x/crypto from 0.15.0 to 0.17.0 ( #11274 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 20:52:43 +03:00
Cian Johnston
d2d7628522
fix(enterprise/cli): add CODER_PROVISIONER_DAEMON_LOG_* options ( #11279 )
...
- Extracts cli.BuildLogger to clilog package
- Updates existing usage of cli.BuildLogger and removes it
- Use clilog to initialize provisionerd logger
2023-12-19 16:49:50 +00:00
Bruno Quaresma
7c4fbe5bae
refactor(site): make HelpTooltip easier to reuse and compose ( #11242 )
2023-12-19 10:43:23 -03:00
Spike Curtis
f2606a78dd
fix: avoid converting nil node
...
fixes : #11276
2023-12-19 13:38:15 +04:00
Stephen Kirby
83e1349c2c
moved docker installation warning to install/docker ( #11273 )
2023-12-18 18:19:20 -06:00
MarkE
280d38d4b8
added UI as Dashboard synonym ( #11271 )
2023-12-18 17:13:07 -06:00
Kayla Washburn
3ab4800a18
chore: clean up lint ( #11270 )
2023-12-18 14:59:39 -07:00
Bruno Quaresma
e84d89353f
fix(site): fix template editor filetree navigation ( #11260 )
...
Close https://github.com/coder/coder/issues/11203
2023-12-18 14:21:24 -03:00
Cian Johnston
ff61475239
fix(coderd/provisionerdserver): use s.timeNow ( #11267 )
2023-12-18 17:11:50 +00:00
Steven Masley
c35b560c87
chore: fix flake, use time closer to actual test ( #11240 )
...
* chore: fix flake, use time closer to actual test
The tests were queued, and the autostart time was being set
to the time the table was created, not when the test was actually
being run. This diff was causing failures in CI
2023-12-18 10:55:46 -06:00
Cian Johnston
213b768785
feat(coderd): insert provisioner daemons ( #11207 )
...
* Adds UpdateProvisionerDaemonLastSeenAt
* Adds heartbeat to provisioner daemons
* Inserts provisioner daemons to database upon start
* Ensures TagOwner is an empty string and not nil
* Adds COALESCE() in idx_provisioner_daemons_name_owner_key
2023-12-18 16:44:52 +00:00
Steven Masley
a6901ae2c5
chore: fix race in cron close behavior (TestAgent_WriteVSCodeConfigs) ( #11243 )
...
* chore: add unit test to excercise flake
* Implement a *fix for cron stop() before run()
This fix still has a race condition. I do not see a clean solution
without modifying the cron libary. The cron library uses a boolean
to indicate running, and that boolean needs to be set to "true"
before we call "Close()". Or "Close()" should prevent "Run()"
from doing anything.
In either case, this solves the issue for a niche unit test bug
in which the test finishes, calling Close(), before there was
an oppertunity to start the go routine. It probably isn't worth
a lot of time investment, and this fix will suffice
2023-12-18 09:26:40 -06:00
Jon Ayers
56cbd47082
chore: fix TestWorkspaceAutobuild/DormancyThresholdOK flake ( #11251 )
2023-12-18 09:23:06 -06:00
Muhammad Atif Ali
45e9d93d37
chore: remove unused input from deploy-pr workflow ( #11259 )
2023-12-18 17:32:53 +03:00
Muhammad Atif Ali
5647e87207
ci: drop chocolatey from ci ( #11245 )
2023-12-18 17:31:35 +03:00
Dean Sheather
307186325f
fix: avoid db import in slim builds ( #11258 )
2023-12-19 00:09:22 +10:00
dependabot[bot]
28a0242c27
ci: bump the github-actions group with 4 updates ( #11256 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 13:30:18 +00:00
Dean Sheather
e46431078c
feat: add AgentAPI using DRPC ( #10811 )
...
Co-authored-by: Spike Curtis <spike@coder.com >
2023-12-18 22:53:28 +10:00
Cian Johnston
eb781751b8
ci: update flux to 2.2.1 ( #11253 )
2023-12-18 09:29:46 +00:00
Muhammad Atif Ali
838ab8de7e
docs: fix a broken link ( #11254 )
2023-12-18 09:28:55 +00:00
Ben Potter
2e86b76fb8
docs: improve structure for example templates ( #9842 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
2023-12-17 17:05:13 +03:00
Steven Masley
3f6096b0d7
chore: unit test to enforce authorized queries match args ( #11211 )
...
* chore: unit test to enforce authorized queries match args
* Also check querycontext arguments
2023-12-15 20:31:07 +00:00
Garrett Delfosse
7924bb2a56
feat!: move workspace renames behind flag, disable by default ( #11189 )
2023-12-15 13:38:47 -05:00
Steven Masley
e63de9a259
chore: enforcement of dbauthz tests was broken ( #11218 )
...
* chore: enforcement of dbauthz tests was broken
Implemented missing tests to catch back up
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-12-15 18:30:21 +00:00
Stephen Kirby
0801760956
docs: add guides section ( #11199 )
...
* setup manifest
* added okta guide from steven M
* improved index by adding children
* changed icon to notes.svg
* added meta guide, fixed profile photo fmt
2023-12-15 11:10:41 -06:00
Ravindra Shinde
a495952349
Upgrade code-server version to 4.19.1 ( #11233 )
2023-12-15 14:21:07 +00:00
Marcin Tojek
58c2ce17da
refactor(cli): load template variables ( #11234 )
2023-12-15 14:55:24 +01:00
Cian Johnston
fa91992976
ci: add audit docs gen dependency on db gen ( #11231 )
...
Audit docs gen depends on queries.sql.go so adding an explicit dependency
2023-12-15 11:49:19 +00:00
Marcin Tojek
89d8a293f0
fix: tar: do not archive .tfvars ( #11208 )
2023-12-15 11:15:12 +01:00
Spike Curtis
211e59bf65
feat: add tailnet v2 API support to coordinate endpoint ( #11228 )
...
closes #10532
Adds v2 support to the /coordinate endpoint via a query parameter.
v1 already has test cases, and we haven't implemented v2 at the client yet, so the only new test case is an unsupported version.
2023-12-15 14:10:24 +04:00
Cian Johnston
a41cbb0f03
chore(dogfood): align Terraform version to that of dockerfile.base ( #11227 )
2023-12-15 10:02:59 +00:00
Dean Sheather
1e49190e12
feat: add server flag to disable user custom quiet hours ( #11124 )
2023-12-15 19:33:51 +10:00
Spike Curtis
a58e4febb9
feat: add tailnet v2 Service and Client ( #11225 )
...
Part of #10532
Adds a tailnet ClientService that accepts a net.Conn and serves v1 or v2 of the tailnet API.
Also adds a DRPCService that implements the DRPC interface for the v2 API. This component is within the ClientService, but needs to be reusable and exported so that we can also embed it in the Agent API.
Finally, includes a NewDRPCClient function that takes a net.Conn and runs dRPC in yamux over it on the client side.
2023-12-15 12:48:39 +04:00
Spike Curtis
9a4e1100fa
chore: move drpc transport tools to codersdk/drpc ( #11224 )
...
Part of #10532
DRPC transport over yamux and in-mem pipes was previously only used on the provisioner APIs, but now will also be used in tailnet. Moved to subpackage of codersdk to avoid import loops.
2023-12-15 12:41:39 +04:00
Dean Sheather
b36071c6bb
feat: allow templates to specify max_ttl or autostop_requirement ( #10920 )
2023-12-15 18:27:56 +10:00
Spike Curtis
30f032d282
feat: add tailnet ValidateVersion ( #11223 )
...
Part of #10532
Adds a method to validate a requested version of the tailnet API
2023-12-15 11:49:30 +04:00
Spike Curtis
ad3fed72bc
chore: rename Coordinator to CoordinatorV1 ( #11222 )
...
Renames the tailnet.Coordinator to represent both v1 and v2 APIs, so that we can use this interface for the main atomic pointer.
Part of #10532
2023-12-15 11:38:12 +04:00
Spike Curtis
545cb9a7cc
fix: wait for coordinator in Test_agentIsLegacy ( #11214 )
...
Fixes flake https://github.com/coder/coder/runs/19639217635
AGPL coordinator used to process node updates for single_tailnet synchronously, but it's been refactored to process async, so in this test we need to wait for it to be processed.
2023-12-15 07:21:18 +04:00
Ben Potter
e6e65fdc64
docs: add v2.5.1 changelog ( #11220 )
...
* docs: add v2.5.1 changelog
* fix typo
2023-12-14 17:35:36 -06:00
Colin Adler
4672700ef6
chore: add additional fields to license telemetry ( #11173 )
...
This sends the email the license was issued to, and whether or not it's a trial in the telemetry payload. It's a bit janky since the license parsing is all enterprise licensed.
2023-12-14 15:52:52 -06:00
Jon Ayers
06394a5b8c
Revert "fix: prevent data race when mutating tags ( #11200 )" ( #11216 )
...
This reverts commit 82f7b0cef4 .
2023-12-14 12:37:55 -06:00
Kayla Washburn
81ed112cd3
fix: fix auto theme ( #11215 )
2023-12-14 11:31:42 -07:00
Spike Curtis
fad457420b
fix: copy StringMap on insert and query in dbmem ( #11206 )
...
Addresses the issue in #11185 for the StringMap datatype.
There are other slice data types in our database package that also need to be fixed, but that'll be a different PR
2023-12-14 22:23:29 +04:00
Bruno Quaresma
32c93a887e
fix(site): fix initial body background color
2023-12-14 18:15:25 +00:00
Bruno Quaresma
43411d20ba
fix(site): fix pending color on dark blue theme ( #11212 )
2023-12-14 15:08:53 -03:00
Kayla Washburn
133dc66143
feat: add a theme picker ( #11140 )
2023-12-14 10:38:44 -07:00
Bruno Quaresma
0cd4842d18
fix(site): fix pending indicator color ( #11209 )
2023-12-14 11:30:40 -03:00
Cian Johnston
df7ed18e1b
chore(coderd/autobuild): wait for active template version and inactive template version ( #11210 )
2023-12-14 13:58:57 +00:00
Cian Johnston
5b0e6bfa2a
feat(coderd/database): add api_version to provisioner_daemons table ( #11204 )
...
Adds column api_version to the provisioner_daemons table.
This is distinct from the coderd version, and is used to handle breaking changes in the provisioner daemon API.
2023-12-14 12:52:41 +00:00
Muhammad Atif Ali
b779655f01
ci: fix syntax for ipv6 address in fly.io wsproxies ( #11205 )
2023-12-14 15:26:43 +03:00
Jon Ayers
82f7b0cef4
fix: prevent data race when mutating tags ( #11200 )
2023-12-14 08:56:59 +00:00
Colin Adler
eb81fcf1e1
fix: lower amount of cached timezones for deployment daus ( #11196 )
...
Updates https://github.com/coder/customers/issues/384
This should help alleviate some pressure, but doesn't really fix the
root cause. See above issue for more details.
2023-12-13 16:50:29 -06:00
Stephen Kirby
a3432b4265
docs: add faqs from sharkymark ( #11168 )
...
* added sharkymark FAQs page
* make fmt
* fixed typos for link
* changed FAQs icon to (i)
* satisfied review
* make fmt
* added docs links for coder_app, CODER_ACCESS_URL
* removed mentions of mark
* fixed some minor code formatting issues
* fixed numbered bullets rendering, make fmt
2023-12-13 15:56:11 -06:00
Muhammad Atif Ali
c3eb68a585
Update CODER_WILDCARD_ACCESS_URL in fly-wsproxies configuration files ( #11195 )
2023-12-13 21:43:53 +00:00
Muhammad Atif Ali
d82ed008f2
ci: revert fly proxies to shared cpu type ( #11194 )
2023-12-13 21:15:56 +00:00
Muhammad Atif Ali
3924b294fb
ci: bump memory to 1024 MB for fly.io proxies ( #11193 )
...
* Update paris-coder.toml
* Update sao-paulo-coder.toml
* Update sydney-coder.toml
2023-12-13 20:03:46 +00:00
Muhammad Atif Ali
12f728189c
ci: add wildcard support to fly.io wsproxies ( #11188 )
...
* ci: add wildcard support to fly.io wsproxies
* Update sao-paulo-coder.toml
* Update sydney-coder.toml
* Update paris-coder.toml
* Apply suggestions from code review
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Update .github/fly-wsproxies/sao-paulo-coder.toml
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Update sao-paulo-coder.toml
* Update sydney-coder.toml
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-12-13 22:44:04 +03:00
Steven Masley
b7bdb17460
feat: add metrics to workspace agent scripts ( #11132 )
...
* push startup script metrics to agent
2023-12-13 11:45:43 -06:00
Steven Masley
41ed581460
chore: include build version header on subdomain apps ( #11172 )
...
Idk why this was not the case before, this is very helpful to have
2023-12-13 11:45:27 -06:00
Marcin Tojek
fd43985e94
fix: nix: switch to go1.21.5 ( #11183 )
2023-12-13 14:41:18 +01:00
Muhammad Atif Ali
c60c75c833
ci: do not rebuild but use artifacts from the build job ( #11180 )
2023-12-13 12:46:22 +00:00
Marcin Tojek
f2a91157a9
fix: update nix to include sqlc v1.24.0 ( #11182 )
2023-12-13 13:35:02 +01:00
Cian Johnston
4f7ae6461b
feat(coderd/database): add UpsertProvisionerDaemons query ( #11178 )
...
Co-authored-by: Marcin Tojek <marcin@coder.com >
2023-12-13 12:31:40 +00:00
Marcin Tojek
ef4d1b68e1
test: insights metrics: verify plugin usage ( #11156 )
2023-12-13 10:46:52 +01:00
Dean Sheather
8b8a763ca9
chore: use flux 2.2.0 ( #11174 )
2023-12-13 09:26:48 +00:00
Spike Curtis
bf3b35b1e2
fix: stop logging context Canceled as error ( #11177 )
...
fixes #11166 and a related log that could have the same problem
2023-12-13 13:08:30 +04:00
Spike Curtis
43ba3146a9
feat: add test case for BlockDirect + listening ports ( #11152 )
...
Adds a test case for #10391 with single tailnet out of experimental
2023-12-13 12:28:09 +04:00
Steven Masley
6800fc8477
chore: bump go (->v1.21.5) and sqlc (->v1.24.0) to new versions ( #11170 )
2023-12-12 18:50:23 -06:00
Steven Masley
6b4d908e7e
chore: makefile set sqlc-vet to .Phony ( #11169 )
2023-12-12 22:55:13 +00:00
Steven Masley
e52d848d05
chore: validate queries using sqlc-vet in github actions ( #11163 )
2023-12-12 15:53:26 -06:00
Steven Masley
dba0dfa859
chore: correct 500 -> 404 on workspace agent mw ( #11129 )
...
* chore: correct 500 -> 404
2023-12-12 15:14:32 -06:00
Steven Masley
0181e036f6
chore: remove unused query failing to prepare ( #11167 )
2023-12-12 15:02:15 -06:00
Ammar Bandukwala
19c0cfdabf
chore(provisionersdk): add test for not following symlinks ( #11165 )
2023-12-12 14:44:50 -06:00
Cian Johnston
2471f3b9a8
ci: set flux version to 2.1.2 ( #11164 )
2023-12-12 20:17:01 +00:00
Kayla Washburn
f67c5cf72b
fix: only show orphan option while deleting failed workspaces ( #11161 )
2023-12-12 11:18:04 -07:00
Kayla Washburn
689da5b7c1
feat(site): improve bulk delete flow ( #11093 )
2023-12-12 10:14:28 -07:00
sempie
007b2b8db0
docs: add text to docs mentioning appearance settings for oidc sign-on page ( #11159 )
...
* add text to docs mentioning appearance settings for oidc sign-on page
2023-12-12 11:33:44 -05:00
Ben Potter
cab8ffa54a
docs: add v2.5.0 changelog ( #11139 )
...
* docs: add v2.5.0 changelog
* fix typos
* Apply suggestions from code review
* changes from feedback
* more fixes
* Update docs/changelogs/v2.5.0.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* Update docs/changelogs/v2.5.0.md
* fmt
* updates
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-12-12 09:52:11 -06:00
Mathias Fredriksson
b32a0a9af6
fix(go.mod): switch to sftp fork to fix file upload permissions ( #11157 )
...
Fixes #6685
Upstream https://github.com/pkg/sftp/pull/567
Related https://github.com/mutagen-io/mutagen/issues/459
2023-12-12 17:42:03 +02:00
Jon Ayers
41dbe7de4e
fix: use correct permission when determining orphan deletion privileges ( #11143 )
2023-12-12 08:24:04 -06:00
Cian Johnston
8afbc8f7f5
chore(site): update test entities ( #11155 )
2023-12-12 13:03:37 +00:00
Spike Curtis
edeb9bb42a
fix: appease linter on darwin ( #11154 )
...
Fixing up some linting errors that show up on Darwin, but not in CI.
2023-12-12 17:02:28 +04:00
Cian Johnston
2883cad6ad
fix(coderd/autobuild): wait for template version job in TestExecutorInactiveWorkspace ( #11150 )
2023-12-12 12:43:02 +00:00
Muhammad Atif Ali
dde21cebcc
chore(dogfood): use go 1.20.11 to match CI ( #11153 )
2023-12-12 11:45:28 +00:00
Cian Johnston
b02796655e
fix(coderd/database): remove column updated_at from provisioner_daemons table ( #11108 )
2023-12-12 11:19:28 +00:00
Cian Johnston
197cd935cf
chore(Makefile): use linter version from dogfood Dockerfile ( #11147 )
...
* chore(Makefile): use golangci-lint version from dogfood Dockerfile
* chore(dogfood/Dockerfile): update golangci-lint to latest version
* chore(coderd): address linter complaints
2023-12-12 10:02:32 +00:00
Cian Johnston
d07fa9c62f
ci: offlinedocs: install protoc ( #11148 )
2023-12-12 10:00:16 +00:00
Jon Ayers
45c07317c0
docs: add documentation for template update policies ( #11145 )
2023-12-11 19:05:25 -06:00
Michael Smith
3ce7b2ebe6
fix: remove URL desyncs when trying to search users table ( #11144 )
...
* fix: remove URL search params desync
* refactor: clean up payload definition for clarity
2023-12-12 00:45:03 +00:00
Jon Ayers
ba3b835339
fix: prevent editing build parameters if template requires active version ( #11117 )
...
Co-authored-by: McKayla Washburn <mckayla@hey.com >
2023-12-11 15:54:16 -07:00
Garrett Delfosse
b7ea330aea
fix: ensure we are talking to coder on first user check ( #11130 )
2023-12-11 14:27:32 -05:00
Stephen Kirby
e37bbe6208
fixed small typo in docs/admin/configure ( #11135 )
2023-12-11 12:49:28 -06:00
Kayla Washburn
6775a86785
chore: make "users"."avatar_url" NOT NULL ( #11112 )
2023-12-11 10:09:51 -07:00
Mathias Fredriksson
3e5d292135
feat: add support for coder_env ( #11102 )
...
Fixes #10166
2023-12-11 16:10:18 +02:00
Muhammad Atif Ali
4612c28d99
ci: update tj-actions/branch-names action in dogfood.yaml ( #11120 )
2023-12-11 16:49:53 +03:00
dependabot[bot]
486d1fb697
chore: bump alpine from 3.18.5 to 3.19.0 in /scripts ( #11126 )
...
Bumps alpine from 3.18.5 to 3.19.0.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 23:24:16 +10:00
dependabot[bot]
6823194683
ci: bump the github-actions group with 7 updates ( #11123 )
...
Bumps the github-actions group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [crate-ci/typos](https://github.com/crate-ci/typos ) | `1.16.23` | `1.16.24` |
| [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud ) | `1` | `2` |
| [google-github-actions/get-gke-credentials](https://github.com/google-github-actions/get-gke-credentials ) | `1` | `2` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) | `2` | `3` |
| [docker/build-push-action](https://github.com/docker/build-push-action ) | `4` | `5` |
| [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) | `0.14.0` | `0.16.0` |
| [actions/stale](https://github.com/actions/stale ) | `8.0.0` | `9.0.0` |
Updates `crate-ci/typos` from 1.16.23 to 1.16.24
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.23...v1.16.24 )
Updates `google-github-actions/setup-gcloud` from 1 to 2
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases )
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v1...v2 )
Updates `google-github-actions/get-gke-credentials` from 1 to 2
- [Release notes](https://github.com/google-github-actions/get-gke-credentials/releases )
- [Changelog](https://github.com/google-github-actions/get-gke-credentials/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/get-gke-credentials/compare/v1...v2 )
Updates `docker/setup-buildx-action` from 2 to 3
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
Updates `docker/build-push-action` from 4 to 5
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
Updates `aquasecurity/trivy-action` from 0.14.0 to 0.16.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/2b6a709cf9c4025c5438138008beaddbb02086f0...91713af97dc80187565512baba96e4364e983601 )
Updates `actions/stale` from 8.0.0 to 9.0.0
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v8.0.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: google-github-actions/setup-gcloud
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: google-github-actions/get-gke-credentials
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 23:21:07 +10:00
Muhammad Atif Ali
2c7ad1c094
ci: ungroup Dockerfile dependabot changes ( #11125 )
2023-12-11 16:16:28 +03:00
Spike Curtis
8d9157dc35
fix: use provisionerd context when failing job on canceled acquire ( #11118 )
...
Spotted during code read. We need to use the provisionerd auth context when failing a job due to a lost provisioner daemon.
2023-12-11 14:52:44 +04:00
Spike Curtis
50575e1a9a
fix: use fake local network for port-forward tests ( #11119 )
...
Fixes #10979
Testing code that listens on a specific port has created a long battle with flakes. Previous attempts to deal with this include opening a listener on a port chosen by the OS, then closing the listener, noting the port and starting the test with that port.
This still flakes, notably in macOS which has a proclivity to reuse ports quickly.
Instead of fighting with the chaos that is an OS networking stack, this PR fakes the host networking in tests.
I've taken a small step here, only faking out the Listen() calls that port-forward makes, but I think over time we should be transitioning all networking the CLI does to an abstract interface so we can fake it. This allows us to run in parallel without flakes and
presents an opportunity to test error paths as well.
2023-12-11 14:51:56 +04:00
Jon Ayers
37f6b38d53
fix: return 403 when rebuilding workspace with require_active_version ( #11114 )
2023-12-08 23:03:46 -06:00
Bruno Quaresma
8488afa8df
chore(site): enable react-query cache ( #11113 )
2023-12-08 23:58:29 +00:00
Kayla Washburn
d8e95001e8
chore: add theme_preference column to users table ( #11069 )
2023-12-08 21:59:53 +00:00
Kayla Washburn
ebd6c1b573
feat(site): bring back dark blue ( #11071 )
2023-12-08 14:38:35 -07:00
Garrett Delfosse
716759aacf
fix: provide helpful error when no login url specified ( #11110 )
2023-12-08 14:44:40 -05:00
Eric Paulsen
167c759149
docs: add license and template insights prom metrics ( #11109 )
...
* docs: add license and template insights prom metrics
* add: coderd_insights_applications_usage_seconds
2023-12-08 14:17:14 -05:00
Garrett Delfosse
d8467c11ad
fix: handle no memory limit in coder stat mem ( #11107 )
2023-12-08 12:46:53 -05:00
Spike Curtis
6d66cb246d
feat: display 'Deprecated' warning for agents using old API version ( #11058 )
...
Fixes #10340
2023-12-08 20:20:44 +04:00
Steven Masley
78517cab52
feat: add group allowlist for oidc ( #11070 )
...
* feat: group allow list in OIDC settings
2023-12-08 10:14:19 -06:00
Steven Masley
cb89bc1729
feat: restart stopped workspaces on ssh command ( #11050 )
...
* feat: autostart workspaces on ssh & port forward
This is opt out by default. VScode ssh does not have this behavior
2023-12-08 10:01:13 -06:00
Bruno Quaresma
1f7c63cf1b
fix(site): hide ws proxy on menu when disabled ( #11101 )
2023-12-08 11:47:09 -03:00
Bruno Quaresma
9d8578e0e3
refactor(site): apply minor naming improvements ( #11080 )
...
Minor naming and logic improvements to improve readability
2023-12-08 11:46:18 -03:00
Bruno Quaresma
2c7394bb3d
refactor(site): change a few names related to workspace actions ( #11079 )
2023-12-08 13:41:58 +00:00
Cian Johnston
2b19a2369f
chore(coderd): move provisionerd tags to provisionersdk ( #11100 )
2023-12-08 12:10:25 +00:00
Cian Johnston
4ca4736411
ci: reconcile provisionerd as well ( #11085 )
2023-12-08 09:55:43 +00:00
Marcin Tojek
918a82436e
fix: insights: remove time-dependent tests ( #11099 )
2023-12-08 09:51:18 +00:00
Jon Ayers
02696f2df9
chore: fix flake in TestExecutorAutostopTemplateDisabled ( #11096 )
2023-12-08 09:02:54 +00:00
Spike Curtis
b4ca1d6579
feat: include server agent API version in buildinfo ( #11057 )
...
First part of #10340 -- we need this version to compare with agents to tell if they are on a deprecated Agent API version
2023-12-08 12:50:25 +04:00
Muhammad Atif Ali
f0969f99ad
revert: "chore(dogfood): remove agent_name from jetbrains-ide module" ( #11095 )
2023-12-08 01:14:37 +00:00
Jon Ayers
e73a202aed
feat: show dormant workspaces by default ( #11053 )
2023-12-07 18:09:35 -06:00
Muhammad Atif Ali
be31b2e4d7
chore(dogfood): remove agent_name from jetbrains-ide module
...
This is no more needed.
Depends on https://github.com/coder/modules/pull/99
2023-12-08 02:34:21 +03:00
Jon Ayers
ce49a55f56
chore: update build_reason 'autolock' -> 'dormancy' ( #11074 )
2023-12-07 17:11:57 -06:00
Steven Masley
8221544514
chore: check if process is nil ( #11090 )
...
* chore: check if process is nil
We check if process is nil in the ports_supported file.
Just matching that defensive check, not sure if it can be nil.
2023-12-07 22:23:42 +00:00
Asher
dbbf8acc26
fix: track JetBrains connections ( #10968 )
...
* feat: implement jetbrains agentssh tracking
Based on tcp forwarding instead of ssh connections
* Add JetBrains tracking to bottom bar
2023-12-07 12:15:54 -09:00
Cian Johnston
51687c74c8
fix(coderd/healthcheck): do not return null regions in RegionsResponse ( #11088 )
2023-12-07 21:10:12 +00:00
Garrett Delfosse
228cbec99b
fix: stop updating agent stats from deleted workspaces ( #11026 )
...
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2023-12-07 13:55:29 -05:00
Cian Johnston
1e349f0d50
feat(cli): allow specifying name of provisioner daemon ( #11077 )
...
- Adds a --name argument to provisionerd start
- Plumbs through name to integrated and external provisioners
- Defaults to hostname if not specified for external, hostname-N for integrated
- Adds cliutil.Hostname
2023-12-07 16:59:13 +00:00
Garrett Delfosse
8aea6040c8
fix: use unique workspace owners over unique users ( #11044 )
2023-12-07 10:53:15 -05:00
Kira Pilot
091fdd6761
fix: redirect unauthorized git users to login screen ( #10995 )
...
* fix: redirect to login screen if unauthorized git user
* consolidated language
* fix redirect
2023-12-07 09:19:31 -05:00
Barton Ip
5d2e87f1a7
docs: add warning about Sysbox before installation ( #10619 )
...
* Add warning about Sysbox before installation
* Formatting tings
2023-12-07 16:58:50 +03:00
Spike Curtis
b34ecf1e9e
fix: fix deadlock of mappingQuery on context canceled
...
Fixes #11078
replace bare channel send with SendCtx so that we properly shut down when context is canceled.
2023-12-07 17:19:18 +04:00
Marcin Tojek
941e3873a8
fix: implement fake DeleteOldWorkspaceAgentStats ( #11076 )
2023-12-07 14:08:16 +01:00
Bruno Quaresma
c0d68a4c2c
fix(site): fix clickable props on the workspace table row ( #11072 )
2023-12-06 19:50:39 +00:00
dependabot[bot]
567ecca61b
chore: bump vite from 4.5.0 to 4.5.1 in /site ( #11052 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-06 22:40:24 +03:00
Bruno Quaresma
667ee41165
refactor(site): improve minor queries and visuals on external auth ( #11066 )
2023-12-06 16:17:31 -03:00
Bruno Quaresma
8a6bfc9d28
feat(site): do not show health warning when the warning is dismissed ( #11068 )
2023-12-06 16:06:58 -03:00
Steven Masley
2947b827fb
chore: use httpError to allow better error elevation ( #11065 )
2023-12-06 10:27:40 -06:00
Bruno Quaresma
dd01bde9b6
fix(site): fix template editor route ( #11063 )
2023-12-06 15:59:00 +00:00
Bruno Quaresma
44f9613bf2
feat(site): dismiss health section warnings ( #11059 )
2023-12-06 12:50:35 -03:00
Bruno Quaresma
2bc11d2e63
fix(site): fetch health data only if has permissions ( #11062 )
2023-12-06 15:47:58 +00:00
Bruno Quaresma
43488b44ce
chore(site): refactor pagination text ( #11061 )
2023-12-06 12:19:29 -03:00
Steven Masley
b376b2cd13
feat: add user/settings page for managing external auth ( #10945 )
...
Also add support for unlinking on the coder side to allow reflow.
2023-12-06 08:41:45 -06:00
Marcin Tojek
f6891bc465
fix: implement fake DeleteOldWorkspaceAgentLogs ( #11042 )
2023-12-06 14:31:43 +01:00
Bruno Quaresma
088fd0b904
chore(site): ignore updated at on chromatic ( #11060 )
2023-12-06 10:19:33 -03:00
Spike Curtis
2c86d0bed0
feat: support v2 Tailnet API in AGPL coordinator ( #11010 )
...
Fixes #10529
2023-12-06 15:04:28 +04:00
Cian Johnston
38ed816207
fix(coderd/debug): fix caching issue with dismissed sections ( #11051 )
2023-12-06 08:38:03 +00:00
Kira Pilot
53453c06a1
fix: display app templates correctly in build preview ( #10994 )
...
* fix: appropriately display display_app apps in template build preview
* added display apps to build preview
* added test, consolidated names
* handling empty state
2023-12-05 16:01:40 -05:00
Steven Masley
81a3b36884
feat: add endpoints to list all authed external apps ( #10944 )
...
* feat: add endpoints to list all authed external apps
Listing the apps allows users to auth to external apps without going through the create workspace flow.
2023-12-05 14:03:44 -06:00
Cian Johnston
feaa9894a4
fix(site/src/api/typesGenerated): generate HealthSection enums ( #11049 )
...
Relates to #8971
- Introduces a codersdk.HealthSection enum type
- Refactors existing references using strings to use new HealthSection type
2023-12-05 20:00:27 +00:00
Cian Johnston
f66e802fae
fix(coderd/debug): putDeploymentHealthSettings: use 204 instead of 304 if not modified ( #11048 )
2023-12-05 19:06:56 +00:00
Bruno Quaresma
876d448d69
fix(site): fix padding for loader ( #11046 )
2023-12-05 17:18:31 +00:00
Eric Paulsen
3dcbf63cbe
add: document suspended users not consuming seat ( #11045 )
2023-12-05 12:05:05 -05:00
Bruno Quaresma
0f47b58bfb
feat(site): refactor health pages ( #11025 )
2023-12-05 13:58:51 -03:00
Cian Johnston
2e4e0b2d2c
fix(scripts/apitypings): force health.Message and health.Severity to correct types ( #11043 )
...
* Force typegen types for some fields of derp health report
* Explicitly allocate slices for RegionReport.{Errors,Warnings} to avoid nulls in API response
2023-12-05 16:31:48 +00:00
Cian Johnston
a235644046
fix(codersdk): make codersdk.ProvisionerDaemon.UpdatedAt a codersdk.NullTime ( #11037 )
2023-12-05 15:40:45 +00:00
Michael Smith
fab343a2e9
fix: increase default staleTime for paginated data ( #11041 )
...
* fix: update default staleTime for paginated data
* fix: swap cacheTime for staleTime in app-wide query client
* fix: revert cacheTime change
* fix: update debug limit
* fix: apply staleTime to prefetches
* refactor: cleanup code
2023-12-05 14:41:06 +00:00
Muhammad Atif Ali
f0b4badf74
ci: add arm64 and amd64 portable binaries to winget ( #11030 )
...
* ci: add arm64 and amd64 portable binaries to winget
This PR updates `release.yaml` workflow to automate updates for `arm64` and `x64` zip installers to winget. This has recently been merged into [winget](https://github.com/microsoft/winget-pkgs/pull/129175 ).
Thanks to @mdanish-kh for the upstream PR.
* fixup!
* remove extra `--urls` flags
* remove architecture override.
`wingetcreate` does not need architecture override as it now supports parsing the URL for `amd64` and correctly marking it as x64 architecture.
Reference:
1. https://github.com/microsoft/winget-create/blob/08baf0e61e62dabcb2487397984fc69fad6a7499/src/WingetCreateCore/Common/PackageParser.cs#L594C56-L594C61
2. PR: https://github.com/microsoft/winget-create/pull/445
2. This has been available since version https://github.com/microsoft/winget-create/releases/tag/v1.5.3.0
* fixup!
* Update release.yaml
2023-12-05 17:06:39 +03:00
Cian Johnston
5fad611020
feat(coderd): add last_seen_at and version to provisioner_daemons table ( #11033 )
...
Related to #10676
- Adds columns last_seen_at and version to provisioner_daemons table
- Adds the above to codersdk.ProvisionerDaemons struct
2023-12-05 13:54:38 +00:00
Michael Smith
dd1f8331de
fix: disable prefetches for audits table ( #11040 )
2023-12-05 08:49:11 -05:00
Cian Johnston
1b2ed5bc9b
ci: add missing go tools to offlinedocs build step ( #11034 )
2023-12-05 12:03:29 +00:00
Mathias Fredriksson
e300b036be
feat(scaletest): add greedy agent test to runner ( #10559 )
2023-12-05 12:37:10 +02:00
Spike Curtis
dca8125263
fix: update tailscale to include fix to prevent race ( #11032 )
...
fixes #10876
2023-12-05 14:30:19 +04:00
Dean Sheather
695f57f7ff
fix: use header flags in wsproxy server ( #10985 )
2023-12-05 14:13:42 +04:00
Dean Sheather
b07b40b346
chore: revert nix dogfood image ( #11022 )
...
The nix image isn't used because it doesn't work, and we haven't been
updating our "pre-nix" tag since the changes were made. Reverts back to
being a regular Dockerfile.
2023-12-05 09:02:57 +00:00
Cian Johnston
d70f9ea26c
chore(docs): apply async suggestions from #10915 ( #10976 )
2023-12-05 09:01:03 +00:00
Bruno Quaresma
dff53d0787
fix(site): fix filter font size ( #11028 )
2023-12-04 18:17:43 -03:00
Kayla Washburn
185400db11
refactor: remove usage of <Box> and sx ( #10702 )
2023-12-04 12:09:04 -07:00
Garrett Delfosse
1e6ea6133c
fix: pass in time parameter to prevent flakes ( #11023 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-12-04 12:20:22 -05:00
Marcin Tojek
a42b6c185d
fix(site): e2e: use click instead of check ( #11024 )
2023-12-04 18:02:46 +01:00
dependabot[bot]
b8e9262c51
chore: bump the scripts-docker group in /scripts with 1 update ( #11020 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 10:38:58 -06:00
Garrett Delfosse
ccd5e1a749
fix: use database for user creation to prevent flake ( #10992 )
2023-12-04 11:05:17 -05:00
Steven Masley
2f54f769be
feat: allow IDP to return single string for roles/groups claim ( #10993 )
...
* feat: allow IDP to return single string instead of array for roles/groups claim
This is to support ADFS
2023-12-04 10:01:45 -06:00
dependabot[bot]
3883d7181d
chore: bump the offlinedocs group in /offlinedocs with 6 updates ( #11014 )
...
* chore: bump the offlinedocs group in /offlinedocs with 6 updates
Bumps the offlinedocs group in /offlinedocs with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [fs-extra](https://github.com/jprichardson/node-fs-extra ) | `11.1.1` | `11.2.0` |
| [react-markdown](https://github.com/remarkjs/react-markdown ) | `8.0.3` | `9.0.1` |
| [rehype-raw](https://github.com/rehypejs/rehype-raw ) | `6.1.1` | `7.0.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `18.18.1` | `18.19.2` |
| [eslint](https://github.com/eslint/eslint ) | `8.53.0` | `8.55.0` |
| [typescript](https://github.com/Microsoft/TypeScript ) | `5.1.6` | `5.3.2` |
Updates `fs-extra` from 11.1.1 to 11.2.0
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.1.1...11.2.0 )
Updates `react-markdown` from 8.0.3 to 9.0.1
- [Release notes](https://github.com/remarkjs/react-markdown/releases )
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md )
- [Commits](https://github.com/remarkjs/react-markdown/compare/8.0.3...9.0.1 )
Updates `rehype-raw` from 6.1.1 to 7.0.0
- [Release notes](https://github.com/rehypejs/rehype-raw/releases )
- [Commits](https://github.com/rehypejs/rehype-raw/compare/6.1.1...7.0.0 )
Updates `@types/node` from 18.18.1 to 18.19.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `eslint` from 8.53.0 to 8.55.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.55.0 )
Updates `typescript` from 5.1.6 to 5.3.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.3.2 )
---
updated-dependencies:
- dependency-name: fs-extra
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: offlinedocs
- dependency-name: react-markdown
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: offlinedocs
- dependency-name: rehype-raw
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: offlinedocs
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: offlinedocs
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: offlinedocs
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: offlinedocs
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: install react-gfm v4 and update type signatures
* fix: update link-nesting for a11y/hydration issue
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Parkreiner <michaelsmith@coder.com >
2023-12-04 10:11:01 -05:00
dependabot[bot]
2443a9f861
ci: bump the github-actions group with 2 updates ( #11018 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 16:57:44 +03:00
sharkymark
676e215a91
chore: path app IDEs ( #11007 )
2023-12-04 11:22:22 +00:00
Mathias Fredriksson
70cede8f7a
test(agent): improve TestAgent_Dial tests ( #11013 )
...
Refs #11008
2023-12-04 13:11:30 +02:00
Muhammad Atif Ali
b212bd4ac5
chore: deploy workspace proxies on fly.io ( #10983 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-12-04 12:12:22 +03:00
Spike Curtis
dbadae5a9c
Revert "chore(helm): gitignore and rm helm chart tarballs from vcs ( #10951 )" ( #11009 )
...
This reverts commit 7f62085a02 .
2023-12-04 06:59:06 +00:00
Spike Curtis
0536b58b48
fix: parse username/workspace correctly on coder state push --build ( #10974 )
...
Fixes the same issue as #10884 but for state push
2023-12-04 09:58:35 +04:00
Szabolcs Fruhwald
baf3bf6b9c
feat: add workspace_id, owner_name to agent manifest ( #10199 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
Co-authored-by: Atif Ali <atif@coder.com >
2023-12-04 00:41:54 +03:00
Michael Smith
28eca2e53f
fix: create centralized PaginationContainer component ( #10967 )
...
* chore: add Pagination component, add new test, and update other pagination tests
* fix: add back temp spacing for WorkspacesPageView
* chore: update AuditPage to use Pagination
* chore: update UsersPage to use Pagination
* refactor: move parts of Pagination into WorkspacesPageView
* fix: handle empty states for pagination labels better
* docs: rewrite comment for clarity
* refactor: rename components/properties for clarity
* fix: rename component files for clarity
* chore: add story for PaginationContainer
* chore: rename story for clarity
* fix: handle undefined case better
* fix: update imports for PaginationContainer mocks
* fix: update story values for clarity
* fix: update scroll logic to go to the bottom instead of the top
* fix: update mock setup for test
* fix: update stories
* fix: remove scrolling functionality
* fix: remove deprecated property
* refactor: rename prop
* fix: remove debounce flake
2023-12-02 17:37:59 -05:00
Dean Sheather
d9a169556a
chore: run deploy job on regular runner
2023-12-02 10:08:33 -08:00
Colin Adler
6b3c4c00a2
fix: UpdateWorkspaceDormantDeletingAt interval out of range ( #11000 )
2023-12-02 11:47:08 -06:00
Colin Adler
49ed66c7ad
chore: remove ALTER TYPE .. ADD VALUE from migration 65 ( #10998 )
...
Follow up of Follow up of https://github.com/coder/coder/pull/10966
2023-12-02 11:40:23 -06:00
Colin Adler
cbcf7561e5
chore: remove ALTER TYPE .. ADD VALUE from migration 46 ( #10997 )
...
Follow up of https://github.com/coder/coder/pull/10966
2023-12-02 11:38:12 -06:00
Colin Adler
427572199e
chore: remove ALTER TYPE .. ADD VALUE from migration 18 ( #10996 )
...
Follow up of https://github.com/coder/coder/pull/10966
2023-12-02 11:35:25 -06:00
Dean Sheather
c82e878b50
chore: disable legacy dogfood deploy ( #10999 )
2023-12-03 02:20:19 +10:00
Colin Adler
8e684c8195
feat: run all migrations in a transaction ( #10966 )
...
Updates coder/customers#365
This PR updates our migration framework to run all migrations in a single transaction. This is the same behavior we had in v1 and ensures that failed migrations don't bring the whole deployment down. If a migration fails now, it will automatically be rolled back to the previous version, allowing the deployment to continue functioning.
2023-12-01 16:11:10 -06:00
Garrett Delfosse
60d0aa6930
fix: handle 404 on unknown top level routes ( #10964 )
2023-12-01 12:35:44 -05:00
Bruno Quaresma
2aa79369a2
refactor(site): improve health check page sidebar ( #10960 )
2023-12-01 12:43:51 -03:00
Cian Johnston
432925df31
ci: make offlinedocs required ( #10980 )
2023-12-01 14:37:47 +00:00
Mathias Fredriksson
6fe84025aa
chore(Makefile): exclude .terraform directories ( #10988 )
2023-12-01 15:13:51 +02:00
Marcin Tojek
13b89f79df
feat: purge old provisioner daemons ( #10949 )
2023-12-01 12:43:05 +00:00
Dean Sheather
153abd5003
chore: fix build job pt.3 ( #10986 )
2023-12-01 12:25:06 +00:00
Dean Sheather
122cbaa134
chore: fix build job ( #10984 )
2023-12-01 12:08:10 +00:00
Dean Sheather
15875a76ae
chore: add new deploy job for new dogfood ( #10852 )
2023-12-01 03:16:49 -08:00
Cian Johnston
9ad96288b2
fix(helm/provisioner): run helm dependency update ( #10982 )
2023-12-01 10:30:00 +00:00
Cian Johnston
7f62085a02
chore(helm): gitignore and rm helm chart tarballs from vcs ( #10951 )
2023-12-01 09:52:54 +00:00
Cian Johnston
d49bcc93fe
fix(docs): remove anchor links from headings in admin/healthcheck.md ( #10975 )
...
Relates to #8965
* Fixes offlinedocs that broke from change in feat(coderd/healthcheck): add access URL error codes and healthcheck doc #10915 by removing the offending anchor links from the page subheadings.
* Makes offlinedocs also conditional on changes to docs
2023-12-01 09:49:18 +00:00
Spike Curtis
b267497c6d
fix: parse username/workspace correctly on coder state pull --build ( #10973 )
...
fixes #10884
2023-12-01 13:03:49 +04:00
Spike Curtis
46d95cb0f0
fix: wait for dial goroutine to complete ( #10959 )
...
Fixes flake seen here: https://github.com/coder/coder/runs/19170327767
The goroutine that attempts to dial the socket didn't complete before the test did. Here we add an explicit wait for it to complete in each run of the loop.
2023-12-01 11:37:32 +04:00
Spike Curtis
812fb95273
fix: prevent connIO from panicking in race between Close and Enqueue ( #10948 )
...
Spotted during a code read. ConnIO unlocks the mutex before attempting to write to the response channel, which could allow another goroutine to call Close() and close the channel, causing a panic.
Fix is to hold the mutex. This won't cause a deadlock because the `select{}` has a `default` case, so we won't block even if the receiver isn't keeping up.
2023-12-01 10:23:29 +04:00
Spike Curtis
612e67a53b
feat: add cleanup of lost tailnet peers and tunnels to PGCoordinator ( #10939 )
...
Adds the "lost" peer cleanup queries to PGCoordinator, including tests.
2023-12-01 10:13:29 +04:00
dependabot[bot]
d9ccd97d36
chore: bump @adobe/css-tools from 4.3.1 to 4.3.2 in /site ( #10970 )
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 09:09:33 +03:00
Spike Curtis
571d358e4b
feat: add queries to clean lost connections in PGCoordinator ( #10938 )
...
Adds cleanup queries to clean out "lost" peer and tunnel state after 24 hours. We leave this state in the database so that anything trying to connect to the peer can see that it was lost, but clean it up after 24 hours to ensure our table doesn't grow without bounds.
2023-12-01 10:02:30 +04:00
Spike Curtis
0cab6e7763
feat: support graceful disconnect in PGCoordinator ( #10937 )
...
Adds support for graceful disconnect to PGCoordinator. When peers gracefully disconnect, they send a disconnect message. This triggers the peer to be disconnected from all tunneled peers.
The Multi-Agent Client supports graceful disconnect, since it is in memory and we know that when it is closed, we really mean to disconnect.
The v1 agent and client Websocket connections do not support graceful disconnect, since the v1 protocol doesn't have this feature. That means that if a v1 peer connects to a v2 peer, when the v1 peer's coordinator connection is closed, the v2 peer will
see it as "lost" since we don't know whether the v1 peer meant to disconnect, or it just lost connectivity to the coordinator.
2023-12-01 09:55:25 +04:00
Jon Ayers
967db2801b
chore: refactor ResolveAutostart tests to use dbfake ( #10603 )
2023-11-30 19:33:04 -06:00
Jon Ayers
12a4b114de
fix: fix TestWorkspaceAutobuild/InactiveTTLOK flake ( #10965 )
2023-11-30 18:29:41 -06:00
Michael Smith
d016f93de8
feat: add usePaginatedQuery hook ( #10803 )
...
* wip: commit current progress on usePaginatedQuery
* chore: add cacheTime to users query
* chore: update cache logic for UsersPage usersQuery
* wip: commit progress on Pagination
* chore: add function overloads to prepareQuery
* wip: commit progress on usePaginatedQuery
* docs: add clarifying comment about implementation
* chore: remove optional prefetch property from query options
* chore: redefine queryKey
* refactor: consolidate how queryKey/queryFn are called
* refactor: clean up pagination code more
* fix: remove redundant properties
* refactor: clean up code
* wip: commit progress on usePaginatedQuery
* wip: commit current pagination progress
* docs: clean up comments for clarity
* wip: get type signatures compatible (breaks runtime logic slightly)
* refactor: clean up type definitions
* chore: add support for custom onInvalidPage functions
* refactor: clean up type definitions more for clarity reasons
* chore: delete Pagination component (separate PR)
* chore: remove cacheTime fixes (to be resolved in future PR)
* docs: add clarifying/intellisense comments for DX
* refactor: link users queries to same queryKey implementation
* docs: remove misleading comment
* docs: more comments
* chore: update onInvalidPage params for more flexibility
* fix: remove explicit any
* refactor: clean up type definitions
* refactor: rename query params for consistency
* refactor: clean up input validation for page changes
* refactor/fix: update hook to be aware of async data
* chore: add contravariance to dictionary
* refactor: increase type-safety of usePaginatedQuery
* docs: more comments
* chore: move usePaginatedQuery file
* fix: add back cacheTime
* chore: swap in usePaginatedQuery for users table
* chore: add goToFirstPage to usePaginatedQuery
* fix: make page redirects work properly
* refactor: clean up clamp logic
* chore: swap in usePaginatedQuery for Audits table
* refactor: move dependencies around
* fix: remove deprecated properties from hook
* refactor: clean up code more
* docs: add todo comment
* chore: update testing fixtures
* wip: commit current progress for tests
* fix: update useEffectEvent to sync via layout effects
* wip: commit more progress on tests
* wip: stub out all expected test cases
* wip: more test progress
* wip: more test progress
* wip: commit more test progress
* wip: AHHHHHHHH
* chore: finish two more test cases
* wip: add in all tests (still need to investigate prefetching
* refactor: clean up code slightly
* fix: remove math bugs when calculating pages
* fix: wrap up all testing and clean up cases
* docs: update comments for clarity
* fix: update error-handling for invalid page handling
* fix: apply suggestions
2023-11-30 17:44:03 -05:00
Jon Ayers
329aa45c16
fix: fix TestWorkspaceAutobuild/DormantNoAutostart flake ( #10963 )
2023-11-30 15:45:27 -06:00
Steven Masley
0a16bda786
chore: add external auth providers to oidctest ( #10958 )
...
* implement external auth in oidctest
* Refactor more external tests to new oidctest
2023-11-30 14:05:15 -06:00
Mathias Fredriksson
99151183bc
feat(scaletest): replace bash with dd in ssh/rpty traffic and use pseudorandomness ( #10821 )
...
Fixes #10795
Refs #8556
2023-11-30 19:30:12 +02:00
Cian Johnston
433be7b16d
chore(docs/admin/healthcheck): remove GHFM tips ( #10954 )
2023-11-30 16:33:41 +00:00
Cian Johnston
07895006d9
refactor(coderd/healthcheck): make Warnings an object with { Code, Message } ( #10950 )
...
- Adds health.Message { code string, mesasge string }
- Refactors existing warnings []string to be of type []health.Message instead
2023-11-30 14:49:50 +00:00
Cian Johnston
4f9292859d
feat(coderd/healthcheck): add access URL error codes and healthcheck doc ( #10915 )
...
Relates to #8965
- Added error codes for separate code paths in health checks
- Prefixed errors and warnings with error code prefixes
- Added a docs page with details on each code, cause and solution
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-11-30 12:15:40 +00:00
dependabot[bot]
5b2f43619b
chore: bump the react group in /site with 4 updates ( #10869 )
...
* chore: bump the react group in /site with 3 updates
Bumps the react group in /site with 3 updates: [react-helmet-async](https://github.com/staylor/react-helmet-async ), [react-markdown](https://github.com/remarkjs/react-markdown ) and [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ).
Updates `react-helmet-async` from 1.3.0 to 2.0.1
- [Release notes](https://github.com/staylor/react-helmet-async/releases )
- [Commits](https://github.com/staylor/react-helmet-async/commits )
Updates `react-markdown` from 8.0.7 to 9.0.1
- [Release notes](https://github.com/remarkjs/react-markdown/releases )
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md )
- [Commits](https://github.com/remarkjs/react-markdown/compare/8.0.7...9.0.1 )
Updates `react-router-dom` from 6.16.0 to 6.20.0
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.20.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-helmet-async
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: react
- dependency-name: react-markdown
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: react
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: react
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix lint
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
2023-11-29 23:11:59 +03:00
Garrett Delfosse
d41f9f8b47
fix: do not allow selection of unsuccessful versions ( #10941 )
2023-11-29 13:01:17 -05:00
Bruno Quaresma
2e8ab2aeaf
chore(site): enable react-query cache ( #10943 )
2023-11-29 17:53:11 +00:00
Bruno Quaresma
e4d7b0b664
docs: update FE guide ( #10942 )
2023-11-29 17:27:36 +00:00
Marcin Tojek
2b574e2b2d
feat: add dismissed property to the healthcheck section ( #10940 )
2023-11-29 16:37:40 +00:00
Kira Pilot
d374becdeb
fix: redirect to new url after template name update ( #10926 )
...
* fix: updating template name routes to correct URL
* added e2e test
2023-11-29 10:54:21 -05:00
Kira Pilot
88f4490ad6
fix: clear workspace name validation on field dirty ( #10927 )
2023-11-29 10:53:45 -05:00
Steven Masley
cb6c0f3cbb
chore: refactor oidc group and role sync to methods ( #10918 )
...
The 'userOIDC' method body was getting unwieldy.
I think there is a good way to redesign the flow, but
I do not want to undertake that at this time.
The easy win is just to move some LoC to other methods
and cleanup the main method.
2023-11-29 09:24:00 -06:00
Spike Curtis
2b71e38b31
feat: add status to tailnet mapping query ( #10936 )
...
Adds the `status` column to the mapping query so that we can add graceful disconnect logic around it
2023-11-29 16:53:01 +04:00
Mathias Fredriksson
f431aa53d2
chore(go.mod): update github.com/coder/ssh ( #10934 )
2023-11-29 13:19:49 +02:00
Spike Curtis
2dc565d5de
chore: remove New----Builder from dbfake function names ( #10882 )
...
Drop "New" and "Builder" from the function names, in favor of the top-level resource created. This shortens tests and gives a nice syntax. Since everything is a builder, the prefix and suffix don't add much value and just make things harder to read.
I've also chosen to leave `Do()` as the function to insert into the database. Even though it's a builder pattern, I fear `.Build()` might be confusing with Workspace Builds. One other idea is `Insert()` but if we later add dbfake functions that update, this might be inconsistent.
2023-11-29 11:06:04 +04:00
Jon Ayers
48d69c9e60
fix: update autostart context to include querying users ( #10929 )
2023-11-28 17:56:49 -06:00
Bruno Quaresma
e9c12c30cf
feat(site): refactor template version editor layout ( #10912 )
2023-11-28 16:42:31 -03:00
Garrett Delfosse
afbda2235c
fix: insert replica when removed by cleanup ( #10917 )
2023-11-28 14:15:09 -05:00
Spike Curtis
52901e1219
feat: implement HTMLDebug for PGCoord with v2 API ( #10914 )
...
Implements HTMLDebug for the PGCoordinator with the new v2 API and related DB tables.
2023-11-28 22:37:20 +04:00
Eric Paulsen
18c4a98865
fix: numerical validation grammer ( #10924 )
2023-11-28 10:14:53 -08:00
Marcin Tojek
19b6d194fc
feat: manage health settings using Coder API ( #10861 )
2023-11-28 18:15:17 +01:00
Dean Sheather
452668c893
chore: avoid dbmock test errors in dbgen ( #10923 )
2023-11-28 17:04:25 +00:00
Spike Curtis
14bd489af6
feat: add queries for PGCoord HTMLDebug ( #10913 )
...
Adds queries for implementing HTMLDebug on the new PGCoordinator
2023-11-28 20:19:32 +04:00
Dean Sheather
3416f6dfb5
chore: update port-forwarding documentation ( #10916 )
2023-11-28 23:54:19 +10:00
Bruno Quaresma
6808daef0f
chore(site): use variable font for Inter ( #10903 )
2023-11-27 21:35:29 +00:00
Garrett Delfosse
74c5261013
fix: add spacing for yes/no prompts ( #10907 )
2023-11-27 16:12:07 -05:00
Michael Smith
1f6e39c0b0
fix: hide groups in account page if not enabled ( #10898 )
2023-11-27 14:06:00 -05:00
Bruno Quaresma
a4d74b8b44
chore(site): remove paperLight background value ( #10857 )
...
I noticed we have been overusing colors in the UI, so simplifying is better for the "look and feel" and maintaining the styles over time.

If you want to have a better sense of what it looks like, I recommend you go to the Chromatic snapshot.
2023-11-27 15:52:20 -03:00
dependabot[bot]
c634a38bd7
ci: bump the github-actions group with 1 update ( #10890 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 21:47:26 +03:00
Muhammad Atif Ali
4cb94d1347
chore: update dependabot to use single groups ( #10870 )
...
* chore: update dependabot.yaml to use single groups
This will hopefully reduce @dependabot spamming PRs.
* Update dependabot.yaml
2023-11-27 21:27:58 +03:00
Kira Pilot
54c3fc63d9
fix: docuemnt workspace filter query param correctly ( #10894 )
2023-11-27 12:57:24 -05:00
Steven Masley
20525c8b2e
chore: add script to analyze which releases have migrations ( #10823 )
...
* chore: add script to analyze which releases have migrations
2023-11-27 10:53:32 -06:00
Steven Masley
abb2c7656a
chore: add claims to oauth link in db for debug ( #10827 )
...
* chore: add claims to oauth link in db for debug
2023-11-27 10:47:23 -06:00
Cian Johnston
0534f8f59b
fix(provisionersdk): use mtime instead of atime for session cleanup ( #10893 )
...
See #10892
- Updates provisionersdk session cleanup to use mtime instead of atime.
- Also runs go mod tidy.
2023-11-27 16:21:59 +00:00
Dean Sheather
f28df8e7b8
chore: update wgtunnel to avoid panic ( #10877 )
2023-11-28 02:19:40 +10:00
Cian Johnston
0babc3c555
fix(provisioner/terraform/cleanup): use mtime instead of atime ( #10892 )
...
- Updates plugin staleness check to check mtime instead of atime, as atime has been shown to be unreliable
- Updates existing unit test to use a real filesystem as Afero's in-memory FS doesn't support atimes at all
2023-11-27 15:19:41 +00:00
Bruno Quaresma
707d0e97d9
fix(site): fixsidebar styles ( #10891 )
2023-11-27 09:55:20 -03:00
Mathias Fredriksson
f441ad66e1
fix(codersdk): keep workspace agent connection open after dial context ( #10863 )
2023-11-27 14:29:57 +02:00
Spike Curtis
3a0a4ddfcd
chore: convert dbfake.ProvisionerJobResources to builder ( #10881 )
...
Convert to builder for consistency with rest of the package. This will make it easier to use, and means we can drop "Builder" from function arguments since they are all builders in the package.
2023-11-27 14:46:31 +04:00
Spike Curtis
4548ad7cef
chore: remove dbfake.Workspace ( #10880 )
...
Remove dbfake.Workspace and use builder instead.
2023-11-27 14:39:16 +04:00
Spike Curtis
78283a7fb9
chore: remove dbfake.WorkspaceWithAgent ( #10879 )
...
Replace dbfake.WorkspaceWithAgent() with the builder pattern and remove this function.
2023-11-27 14:30:15 +04:00
Spike Curtis
82d5130b07
chore: convert dbfake.Workspace and .WorkspaceWithAgent to a builder pattern ( #10878 )
...
Converts dbfake Workspace and WorkspaceWithAgent to builder pattern.
2023-11-27 14:16:31 +04:00
Cian Johnston
b73397e08c
fix(site): add workspace proxy section to health page ( #10862 )
...
* Adds workspace proxy section to health page
* Conditionally places workspace proxy warnings in errors or warnings based on calculated severity
* Adds some more stories we were missing for HealthPage
2023-11-27 09:26:02 +00:00
Spike Curtis
6c67add2d9
fix: detect and retry reverse port forward on used port ( #10844 )
...
Fixes #10799
The flake happens when we try to remote forward, but the port we've chosen is not free. In the flaked example, it's actually the SSH listener that occupies the port we try to remote forward, leading to confusing reads (c.f. the linked issue).
This fix simplies the tests considerably by using the Go ssh client, rather than shelling out to OpenSSH. This avoids using a pseudoterminal, avoids the need for starting any local OS listeners to communicate the forwarding (go SSH just returns in-process listeners), and avoids an OS listener to wire OpenSSH up to the agentConn.
With the simplied logic, we can immediately tell if a remote forward on a random port fails, so we can do this in a loop until success or timeout.
I've also simplified and fixed up the other forwarding tests. Since we set up forwarding in-process with Go ssh, we can remove a lot of the `require.Eventually` logic.
2023-11-27 09:42:45 +04:00
Dean Sheather
d5ddcbdda0
chore: fix flake in templates_test.go ( #10875 )
2023-11-27 15:29:10 +10:00
lbi22
7029ccfbdf
feat: add support for custom permissions in Helm chart rbac.yaml file ( #10590 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
Co-authored-by: Atif Ali <atif@coder.com >
2023-11-27 14:12:46 +10:00
Ben Potter
3530d39740
docs: fix typo in additional-clusters.md ( #10868 )
2023-11-26 12:53:33 +00:00
Cian Johnston
dd161b172e
feat: allow auditors to read template insights ( #10860 )
...
- Adds a template_insights pseudo-resource
- Grants auditor and template admin roles read access on template_insights
- Updates existing RBAC checks to check for read template_insights, falling back to template update permissions where necessary
- Updates TemplateLayout to show Insights tab if can read template_insights or can update template
2023-11-24 17:21:32 +00:00
Mathias Fredriksson
e73901cf56
fix(coderd): remove nil ptr deref in watchWorkspace ( #10859 )
...
Fixes #10849
2023-11-24 15:16:21 +00:00
Cian Johnston
411ce46442
feat(coderd/healthcheck): add health check for proxy ( #10846 )
...
Adds a health check for workspace proxies:
- Healthy iff all proxies are healthy and the same version,
- Warning if some proxies are unhealthy,
- Error if all proxies are unhealthy, or do not all have the same version.
2023-11-24 15:06:51 +00:00
Marcin Tojek
b501046cf9
test: increase test coverage around health severity ( #10858 )
2023-11-24 15:42:17 +01:00
Mathias Fredriksson
61be4dfe5a
fix: improve exit codes for agent/agentssh and cli/ssh ( #10850 )
2023-11-24 14:35:56 +02:00
Mathias Fredriksson
dbdcad0d09
test(agent/agentssh): fix flake in signal test ( #10855 )
2023-11-24 13:47:40 +02:00
Marcin Tojek
34841cf2b7
fix: healthcheck warnings should be empty array ( #10856 )
2023-11-24 12:37:07 +01:00
Mathias Fredriksson
2c6e0f7d0a
feat(agent/agentssh): handle session signals ( #10842 )
2023-11-23 19:55:36 +02:00
Marcin Tojek
a7c27cad26
feat: add database support for dismissed healthchecks ( #10845 )
2023-11-23 16:18:12 +00:00
Cian Johnston
f342d10c31
fix(enterprise/coderd/proxyhealth): properly defer healthCheckDuration observe ( #10848 )
2023-11-23 15:23:40 +00:00
Marcin Tojek
78df68348a
feat: include health severity in reports ( #10817 )
2023-11-23 16:08:41 +01:00
sharkymark
e311e9ec24
chore: correct disabling direct and STUN; add vs code remote required URLs ( #10830 )
...
* chore: correct disabling direct and STUN; add vs code remote required URLs
* chore: offline docs
2023-11-22 20:04:56 -06:00
Michael Smith
491e0e3abf
fix: display explicit 'retry' button(s) when a workspace fails ( #10720 )
...
* refactor: remove workspace error enums
* fix: add in retry button for failed workspaces
* fix: make handleBuildRetry auto-detect debug permissions
* chore: consolidate retry messaging
* chore: update renderWorkspacePage to accept parameters
* chore: make workspace test helpers take explicit workspace parameter
* refactor: update how parameters for tests are defined
* fix: update old tests to be correctly parameterized
2023-11-22 16:03:09 -05:00
dependabot[bot]
65c726eb50
chore: bump eslint from 8.52.0 to 8.53.0 in /offlinedocs ( #10686 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 21:35:05 +03:00
Colin Adler
7f39ff854e
fix: skip autostart for suspended/dormant users ( #10771 )
2023-11-22 11:14:32 -06:00
Zubarev Alexander
614c17924c
fix(docs): disable CODER_DERP_SERVER_STUN_ADDRESSES correctly ( #10840 )
2023-11-22 11:14:01 -06:00
Mathias Fredriksson
6ecba0fda7
fix(coderd): prevent logging error for query cancellation in watchWorkspaceAgentMetadata ( #10843 )
2023-11-22 15:32:31 +00:00
Bruno Quaresma
d58239b9ec
chore(site): ignore chromatic changes on syntax highlight ( #10839 )
2023-11-22 09:51:46 -03:00
Bruno Quaresma
ddf5569b10
fix(site): fix tabs ( #10838 )
2023-11-22 09:33:02 -03:00
Mathias Fredriksson
a20ec6659d
fix(site): use correct default insights time for day interval ( #10837 )
2023-11-22 12:30:04 +00:00
Spike Curtis
89c13c2212
fix: enable FeatureHighAvailability if it is licensed ( #10834 )
...
fixes #10810
The tailnet coordinators don't depend on replicasync, so we can still enable HA coordinators even if the relay URL is unset.
The in-memory, non-HA coordinator probably has lower latency than the PG Coordinator, since we have to query the database, so enterprise customers might want to disable it for single-replica deployments, but this PR default-enables the HA coordinator. We could add support later to disable it if anyone complains. Latency setting up connections matters, but I don't believe the coordinator contributes significantly at this point for reasonable postgres round-trip-time.
2023-11-22 14:46:55 +04:00
Marcin Tojek
8dd003ba5e
fix: preserve order of node reports in healthcheck ( #10835 )
2023-11-22 11:15:11 +01:00
dependabot[bot]
60c01555b9
chore: bump react-icons from 4.11.0 to 4.12.0 in /offlinedocs ( #10687 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 13:00:59 +03:00
Dean Sheather
a9c0c01629
chore: fix flake in listening ports test ( #10833 )
2023-11-22 09:30:51 +00:00
Spike Curtis
f20cc66c04
fix: give SSH stdio sessions a chance to close before closing netstack ( #10815 )
...
Man, graceful shutdown is hard. Even after my changes, we were still hitting a graceful shutdown race: https://github.com/coder/coder/runs/18886842123
The problem was that while we attempt a graceful shutdown at the SSH layer by closing the session for writing, we were not giving it a chance to complete before continuing to tear down the stack of closers, including one that closes the netstack, and thus drop the TCP connection before it closes.
2023-11-22 13:11:21 +04:00
Spike Curtis
b25e5dc90b
chore: remove dbfake.WorkspaceBuild in favor of builder pattern ( #10814 )
...
I'd like to convert dbfake into a builder pattern to prevent a proliferation of XXXWithYYY methods. This is one step of the way by removing the Non-builder function.
2023-11-22 13:04:58 +04:00
dependabot[bot]
b73d9d788b
chore: bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 ( #10828 )
...
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/v3/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 08:21:59 +03:00
Jon Ayers
8d1cfbce8f
fix: update workspace cleanup flag names for template cmds ( #10805 )
2023-11-21 18:20:01 -06:00
Jon Ayers
51b58cfc98
fix: only update last_used_at when connection count > 0 ( #10808 )
2023-11-21 18:10:41 -06:00
Jon Ayers
782fe84c7c
feat: disable start/restart if active version required ( #10809 )
2023-11-21 18:06:30 -06:00
Marcin Tojek
214123d476
test: skip flaky HealthyWithNodeDegraded ( #10826 )
2023-11-21 20:46:58 +01:00
Muhammad Atif Ali
1c2f9e3199
chore: refactoring to move the notes at top
2023-11-21 22:03:21 +03:00
Kayla Washburn
8cd8901db5
refactor: avoid @emotion/css when possible ( #10807 )
2023-11-21 11:29:43 -07:00
Kayla Washburn
26b5390f4b
refactor: remove usage of styled and withStyles ( #10806 )
2023-11-21 10:43:01 -07:00
Jon Ayers
ad3eb4bb75
Revert "docs: add documentation for template update policies ( #10804 )" ( #10822 )
...
This reverts commit e6dc9eeffc .
2023-11-21 17:10:08 +00:00
dependabot[bot]
d0ac4cb4b1
chore: bump prettier from 3.0.0 to 3.1.0 in /site ( #10695 )
...
* chore: bump prettier from 3.0.0 to 3.1.0 in /site
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.0...3.1.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* prettier
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com >
2023-11-21 11:48:40 -05:00
Kayla Washburn
e51eeb67ce
refactor: improve settings sidebar components ( #10801 )
2023-11-21 09:38:55 -07:00
dependabot[bot]
7fa70ce159
chore: bump github.com/aws/smithy-go from 1.16.0 to 1.17.0 ( #10788 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 16:33:15 +03:00
dependabot[bot]
4590149810
chore: bump google.golang.org/api from 0.150.0 to 0.151.0 ( #10787 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 16:32:49 +03:00
Spike Curtis
5d5b5aa074
chore: use dbfake for ssh tests rather than provisionerd ( #10812 )
...
Refactors SSH tests to skip provisionerd and instead use dbfake to insert workspaces and builds. This should make tests faster and more reliable.
dbfake.WorkspaceBuild is refactored to use a "builder" pattern with "fluent" options, as the number of options and variants was starting to get out of hand.
2023-11-21 16:22:08 +04:00
Marcin Tojek
048dc0450f
feat: ensure coder remains healthy with single degraded DERP server ( #10813 )
2023-11-21 12:58:25 +01:00
Cian Johnston
abafc0863c
feat(coderd): store workspace proxy version in the database ( #10790 )
...
Stores workspace proxy version in database upon registration.
2023-11-21 11:21:25 +00:00
Steven Masley
7060069034
fix: prevent change in defaults if user unsets in template edit ( #10793 )
...
* fix: template edit not change defaults if user unset
2023-11-20 18:14:30 -06:00
Jon Ayers
e6dc9eeffc
docs: add documentation for template update policies ( #10804 )
...
Co-authored-by: Ben Potter <ben@coder.com >
2023-11-20 16:30:24 -06:00
Kira Pilot
ace188bfc2
fix: clarify language in orphan section of delete modal ( #10764 )
...
* fix: clarify language in orphan section of delete modal
* tinted title
* Update site/src/pages/WorkspacePage/WorkspaceDeleteDialog/WorkspaceDeleteDialog.tsx
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* prettier
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-11-20 15:04:51 -05:00
Steven Masley
5229d7fd3a
feat: implement deprecated flag for templates to prevent new workspaces ( #10745 )
...
* feat: implement deprecated flag for templates to prevent new workspaces
* Add deprecated filter to template fetching
* Add deprecated to template table
* Add deprecated notice to template page
* Add ui to deprecate a template
2023-11-20 19:16:18 +00:00
Marcin Tojek
d8df87d5ae
fix: insights metrics comparison ( #10800 )
...
* fix: insights metrics comparison
* links
2023-11-20 18:37:46 +01:00
Mathias Fredriksson
6b3f599438
fix(site): correctly interpret timezone based on offset in formatOffset ( #10797 )
...
Fixes #10784
2023-11-20 19:30:09 +02:00
Kayla Washburn
9b6433e3a7
chore: remove theme experiment ( #10798 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-11-20 09:53:20 -07:00
Spike Curtis
92ef0baff3
fix: remove pty match for TestSSH/RemoteForward ( #10789 )
...
Fixes #10578
2023-11-20 20:50:09 +04:00
Michael Smith
df4f34ac15
fix: prevent alt text from appearing if OIDC icon fail to load ( #10792 )
...
* fix: update alt text issue
2023-11-20 10:51:25 -05:00
Bruno Quaresma
fbec79f35d
refactor(site): refactor login screen ( #10768 )
2023-11-20 11:19:50 -03:00
Bruno Quaresma
2895c108c2
chore(site): remove Typography component ( #10769 )
...
* Remove Typography from NavbarView
* Remove Typography from EmptyState
* Remove Typography from Paywall
* Fix font size
* Remove Typography from CliAuthPage
* Remove Typography from Single SignOn
* Remove Typography from file dialog
* Remove from not found
* Remove from Section
* Remove from global snackbar
* Remove Typography component
* Add eslint role
2023-11-20 10:15:40 -03:00
Spike Curtis
5173bce5cc
fix: stop redirecting DERP and replicasync http requests ( #10752 )
...
Fixes an issue where setting CODER_REDIRECT_TO_ACCESS_URL breaks use of multiple Coder server replicas for DERP traffic.
2023-11-20 14:46:59 +04:00
Spike Curtis
5c48cb4447
feat: modify PG Coordinator to work with new v2 Tailnet API ( #10573 )
...
re: #10528
Refactors PG Coordinator to work with the Tailnet v2 API, including wrappers for the existing v1 API.
The debug endpoint functions, but doesn't return sensible data, that will be in another stacked PR.
2023-11-20 14:31:04 +04:00
Muhammad Atif Ali
a8c25180db
fix(docs): fix a broken link ( #10783 )
2023-11-20 12:49:07 +03:00
JounQin
148eb90bda
docs: migrate all deprecated CODER_ADDRESS to CODER_HTTP_ADDRESS ( #10780 )
...
Co-authored-by: Muhammad Atif Ali <me@matifali.dev >
2023-11-19 17:54:02 +00:00
JounQin
9b864ed700
docs: align CODER_HTTP_ADDRESS with document ( #10779 )
2023-11-19 15:38:39 +00:00
Ammar Bandukwala
cfe35f54b4
feat(cli/agent): preserve old logs ( #10776 )
...
See https://github.com/coder/coder/pull/7815 for background.
2023-11-18 10:53:56 -06:00
Eric Paulsen
328a383f15
fix: set ignore_changes on EC2 example templates ( #10773 )
2023-11-18 01:07:27 -05:00
Colin Adler
3aef070959
fix: return non-null warning arrays in healthcheck ( #10774 )
2023-11-17 22:25:44 +00:00
Cian Johnston
2c3ebc50cb
fix(site): handle null warnings in health page ( #10775 )
2023-11-17 22:10:13 +00:00
Ben Potter
d19a762589
docs: add v2.4.1 changelog ( #10770 )
2023-11-17 14:46:07 -06:00
Steven Masley
0f17d7c144
chore: return context.Canceled when in Prepare for rbac ( #10763 )
...
Was returning a custom rego canceled error. This conforms with
how Authorize handles this error.
2023-11-17 20:28:59 +00:00
Kayla Washburn
875cae1fc9
chore: lint sink_test.go ( #10765 )
2023-11-17 09:45:24 -07:00
Steven Masley
e448c10122
chore: add uuid's to ssh sessions for logging ( #10721 )
...
* chore: add uuid to ssh connection logs
2023-11-17 16:04:23 +00:00
Cian Johnston
befb42b6fd
feat(site): add refresh button on health page ( #10719 )
...
Adds a button on DeploymentHealth page to immediately re-run the healthcheck.
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-11-17 15:26:25 +00:00
Bruno Quaresma
e6f11a383a
refactor(site): add minor improvements to the schedule controls ( #10756 )
...
Demo:
https://github.com/coder/coder/assets/3165839/d6ea83c0-6390-42d9-bd48-3438fc8685db
2023-11-17 12:03:44 -03:00
Bruno Quaresma
20c2dda13f
refactor(site): replace secondary by primary color ( #10757 )
2023-11-17 12:02:58 -03:00
Bruno Quaresma
b508c325b1
refactor(site): add minor tweaks to the workspace delete dialog ( #10758 )
...
Before:
<img width="483" alt="Screenshot 2023-11-17 at 11 29 25" src="https://github.com/coder/coder/assets/3165839/28e07832-d816-48d3-a3d5-500227f2799e ">
After:
<img width="491" alt="Screenshot 2023-11-17 at 11 29 30" src="https://github.com/coder/coder/assets/3165839/e01bc181-34af-4299-b86a-9081a5efd954 ">
2023-11-17 12:01:57 -03:00
Marcin Tojek
8999d5785a
feat: do not fail DERP healthcheck if WebSocket is used ( #10714 )
2023-11-17 16:00:49 +01:00
Bruno Quaresma
24aa223399
refactor(site): adjust a few colors ( #10750 )
2023-11-17 09:27:07 -03:00
Bruno Quaresma
4121121797
fix(site): prevent overwriting of newest workspace data during optimistic updates ( #10751 )
2023-11-17 09:13:46 -03:00
Spike Curtis
71f87d054f
fix: accept legacy redirect HTTP environment variables ( #10748 )
...
> Can someone help me understand the differences between these env variables:
>
> CODER_REDIRECT_TO_ACCESS_URL
> CODER_TLS_REDIRECT_HTTP_TO_HTTPS
> CODER_TLS_REDIRECT_HTTP
Oh man, what a mess. It looks like `CODER_TLS_REDIRECT_HTTP ` appears in our config docs. Maybe that was the initial name for the environment variable?
At some point, both the flag and the environment variable were `--tls-redirect-http-to-https` and `CODER_TLS_REDIRECT_HTTP_TO_HTTPS`. `CODER_TLS_REDIRECT_HTTP` did nothing.
However, then we introduced `CODER_REDIRECT_TO_ACCESS_URL`, we put in some deprecation code that was maybe fat-fingered such that we accept the environment variable `CODER_TLS_REDIRECT_HTTP` but the flag `--tls-redirect-http-to-https`. Our docs still refer to `CODER_TLS_REDIRECT_HTTP` at https://coder.com/docs/v2/latest/admin/configure#address
So, I think what we gotta do is still accept `CODER_TLS_REDIRECT_HTTP` since it was working and in an example doc, but also fix the deprecation code to accept `CODER_TLS_REDIRECT_HTTP_TO_HTTPS` environment variable.
2023-11-17 15:09:29 +04:00
Marcin Tojek
fc249fab1e
skip TestCollectInsights ( #10749 )
2023-11-17 10:57:53 +01:00
Spike Curtis
3dd35e019b
fix: close ssh sessions gracefully ( #10732 )
...
Re-enables TestSSH/RemoteForward_Unix_Signal and addresses the underlying race: we were not closing the remote forward on context expiry, only the session and connection.
However, there is still a more fundamental issue in that we don't have the ability to ensure that TCP sessions are properly terminated before tearing down the Tailnet conn. This is due to the assumption in the sockets API, that the underlying IP interface is long
lived compared with the TCP socket, and thus closing a socket returns immediately and does not wait for the TCP termination handshake --- that is handled async in the tcpip stack. However, this assumption does not hold for us and tailnet, since on shutdown,
we also tear down the tailnet connection, and this can race with the TCP termination.
Closing the remote forward explicitly should prevent forward state from accumulating, since the Close() function waits for a reply from the remote SSH server.
I've also attempted to workaround the TCP/tailnet issue for `--stdio` by using `CloseWrite()` instead of `Close()`. By closing the write side of the connection, half-close the TCP connection, and the server detects this and closes the other direction, which then
triggers our read loop to exit only after the server has had a chance to process the close.
TODO in a stacked PR is to implement this logic for `vscodessh` as well.
2023-11-17 12:43:20 +04:00
Bruno Quaresma
ba955f44d0
fix(site): fix scroll when having many build options ( #10744 )
2023-11-16 22:13:59 +00:00
Bruno Quaresma
88c1ee6d52
chore(site): increase stop workspace timeout ( #10742 )
2023-11-16 18:27:51 -03:00
Kayla Washburn
111ac3de8a
chore: switch to zinc for our gray palette ( #10740 )
2023-11-16 14:22:40 -07:00
Bruno Quaresma
fefe02c2df
fix(site): fix group name validation ( #10739 )
2023-11-16 18:16:24 -03:00
Kira Pilot
9f3a955ebf
fix: show all experiments in deployments list if opted into ( #10722 )
2023-11-16 10:53:35 -05:00
Marcin Tojek
0e5eecd7da
feat: add more logging around echo tar ( #10731 )
2023-11-16 16:52:04 +01:00
dependabot[bot]
ced6ae01b7
chore: bump prettier from 3.0.0 to 3.1.0 in /offlinedocs ( #10688 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.0...3.1.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 12:31:32 -03:00
Bruno Quaresma
f47ecb54aa
chore: disable trial activation on e2e tests ( #10683 )
2023-11-16 12:19:22 -03:00
Mathias Fredriksson
198b56c137
fix(coderd): fix memory leak in watchWorkspaceAgentMetadata ( #10685 )
...
Fixes #10550
2023-11-16 17:03:53 +02:00
Dean Sheather
c130f8d6d0
chore: disable test on save in vscode ( #10730 )
2023-11-16 22:27:08 +10:00
Dean Sheather
10204ba829
chore: retry healthcheck in proxy region test ( #10729 )
2023-11-16 22:21:16 +10:00
Jon Ayers
9ac44aa74f
fix: disable autoupdate workspace setting when template setting enabled ( #10662 )
2023-11-15 16:58:55 -06:00
Kayla Washburn
8ddc8b3447
site: new dark theme ( #10331 )
2023-11-15 14:39:26 -07:00
Cian Johnston
bd17290ff4
chore(coderd/autobuild): address some logic errors in autostart tests ( #10713 )
2023-11-15 16:26:10 +00:00
Kira Pilot
38163edf2f
feat: allow autostop to be specified in minutes and seconds ( #10707 )
...
* feat: allow autostop to be specified in minutes and seconds
* fix test
2023-11-15 11:01:26 -05:00
Cian Johnston
9d310388e5
feat(coderd): /debug/health: add parameter to force healthcheck ( #10677 )
2023-11-15 15:54:15 +00:00
Steven Masley
290180b104
feat!: bump workspace activity by 1 hour ( #10704 )
...
Marked as a breaking change as the previous activity bump was always the TTL duration of the workspace/template.
This change is more cost conservative, only bumping by 1 hour for workspace activity. To accommodate wrap around, eg bumping a workspace into the next autostart, the deadline is bumped by the TTL if the workspace crosses the autostart threshold.
This is a niche case that is likely caused by an idle terminal making a workspace survive through a night. The next morning, the workspace will get activity bumped the default TTL on the autostart, being similar to as if the workspace was autostarted again.
In practice, a good way to avoid this is to set a max_deadline of <24hrs to avoid wrap around entirely.
2023-11-15 09:42:27 -06:00
Cian Johnston
6085b92fae
feat(site): add annotation to display values of type clibase.Duration correctly ( #10667 )
...
* Adds an annotation format_duration_ns to all deployment values of type clibase.Duration
* Adds a unit test that complains if you forget to add the above annotation to a clibase.Duration
* Modifies optionValue() to check for the presence of format_duration_ns when displaying an option.
2023-11-15 12:29:20 +00:00
Spike Curtis
34c9661f1b
fix: disable flaky test TestSSH/RemoteForward_Unix_Signal ( #10711 )
2023-11-15 11:04:36 +00:00
Spike Curtis
1516c6636b
feat: add SQL queries for v2 PG Coordinator ( #10572 )
...
re #10528
Adds SQL queries to support Tailnet v2 API in the PG Coordinator
2023-11-15 10:13:27 +04:00
dependabot[bot]
a8ce099638
chore: bump @octokit/types from 12.1.1 to 12.3.0 in /site ( #10693 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 01:02:53 +03:00
dependabot[bot]
b568344fe1
chore: bump chromatic from 7.6.0 to 9.0.0 in /site ( #10697 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 01:02:28 +03:00
dependabot[bot]
3ae438b968
chore: bump cronstrue from 2.41.0 to 2.43.0 in /site ( #10698 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 01:01:53 +03:00
dependabot[bot]
acda90236d
chore: bump ts-proto from 1.163.0 to 1.164.0 in /site ( #10699 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 01:01:07 +03:00
dependabot[bot]
f623153438
chore: bump @testing-library/react from 14.0.0 to 14.1.0 in /site ( #10700 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 01:00:46 +03:00
Ben Potter
f3ffcba63b
chore: clarify namespace requirement for kubernetes template ( #10657 )
2023-11-14 21:50:58 +00:00
Ben Potter
3091f8f70c
chore: fix docs for max lifetime ( #10706 )
2023-11-14 21:08:06 +00:00
dependabot[bot]
c14c1cce13
ci: bump the github-actions group with 1 update ( #10694 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 20:15:52 +00:00
Colin Adler
cb22df9bea
chore: tidy go.mod ( #10703 )
2023-11-14 14:12:58 -06:00
Colin Adler
fbfd192370
chore: update openssl in Dockerfile ( #10701 )
...
Includes a security fix for CVE-2023-5363 and CVE-2023-5678.
2023-11-14 13:40:30 -06:00
Spike Curtis
4894eda711
feat: capture cli logs in tests ( #10669 )
...
Adds a Logger to cli Invocation and standardizes CLI commands to use it. clitest creates a test logger by default so that CLI command logs are captured in the test logs.
CLI commands that do their own log configuration are modified to add sinks to the existing logger, rather than create a new one. This ensures we still capture logs in CLI tests.
2023-11-14 22:56:27 +04:00
Bruno Quaresma
90b6e86555
chore(site): remove xstate ( #10659 )
2023-11-14 18:34:38 +00:00
Kira Pilot
ef70165a8a
feat: add orphan option to workspace delete in UI ( #10654 )
...
* added workspace delete dialog
* added stories and tests
* PR review
* fix flake
* fixed stories
2023-11-14 11:32:05 -05:00
dependabot[bot]
4f08330297
chore: bump github.com/coder/retry from 1.4.0 to 1.5.1 ( #10672 )
...
Bumps [github.com/coder/retry](https://github.com/coder/retry ) from 1.4.0 to 1.5.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/coder/retry/commit/f5ccc4d2d45135bf65c7ccc5e78942dd7df19c84 "><code>f5ccc4d</code></a> Fix double-scaling bug</li>
<li><a href="https://github.com/coder/retry/commit/14c7c27e14e40827a36754dd2071b09249d426f8 "><code>14c7c27</code></a> Add support for Jitter (<a href="https://redirect.github.com/coder/retry/issues/28 ">#28</a>)</li>
<li><a href="https://github.com/coder/retry/commit/12627b155ff59e5f62c15d262ba1ba06f17daa90 "><code>12627b1</code></a> Update README to give a goto example</li>
<li><a href="https://github.com/coder/retry/commit/a8710231a1a7a7f884eb894aca0bee24c5caf21c "><code>a871023</code></a> Make minor format improvements to README</li>
<li>See full diff in <a href="https://github.com/coder/retry/compare/v1.4.0...v1.5.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-11-14 10:00:07 -06:00
dependabot[bot]
4965f1853b
chore: bump github.com/fergusstrange/embedded-postgres from 1.24.0 to 1.25.0 ( #10674 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 12:51:00 +00:00
Spike Curtis
dc4b1ef406
fix: lock log sink against concurrent write and close ( #10668 )
...
fixes #10663
2023-11-14 16:38:34 +04:00
dependabot[bot]
530be2f96a
chore: bump github.com/valyala/fasthttp from 1.50.0 to 1.51.0 ( #10671 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 12:35:10 +00:00
dependabot[bot]
1b20b3cfa8
chore: bump google.golang.org/api from 0.148.0 to 0.150.0 ( #10673 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 12:28:21 +00:00
Colin Adler
e0afee1b85
feat: add debug endpoint for single tailnet ( #10485 )
2023-11-13 17:14:12 -06:00
dependabot[bot]
f4de2b64ec
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.56.1 to 1.57.0 ( #10647 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 00:58:27 +03:00
dependabot[bot]
3f4791c9de
ci: bump the github-actions group with 4 updates ( #10649 )
...
Bumps the github-actions group with 4 updates: [crate-ci/typos](https://github.com/crate-ci/typos ), [actions/github-script](https://github.com/actions/github-script ), [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action ) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `crate-ci/typos` from 1.16.22 to 1.16.23
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.22...v1.16.23 )
Updates `actions/github-script` from 5 to 6
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v5...v6 )
Updates `DeterminateSystems/nix-installer-action` from 6 to 7
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases )
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v6...v7 )
Updates `aquasecurity/trivy-action` from 0.13.1 to 0.14.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/f78e9ecf42a1271402d4f484518b9313235990e1...2b6a709cf9c4025c5438138008beaddbb02086f0 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: DeterminateSystems/nix-installer-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 22:53:19 +03:00
dependabot[bot]
4a0ca8aa5b
chore: bump github.com/go-playground/validator/v10 ( #10646 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.15.1 to 10.16.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.15.1...v10.16.0 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 22:49:55 +03:00
dependabot[bot]
1fe5c969c7
chore: bump github.com/hashicorp/terraform-json ( #10648 )
...
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json ) from 0.17.2-0.20230905102422-cd7b46b136bb to 0.18.0.
- [Release notes](https://github.com/hashicorp/terraform-json/releases )
- [Commits](https://github.com/hashicorp/terraform-json/commits/v0.18.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-json
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 22:48:42 +03:00
Jon Ayers
75ab16d19a
fix: prevent db deadlock when workspaces go dormant ( #10618 )
2023-11-13 13:40:20 -06:00
dependabot[bot]
76e7a1d06b
chore: bump the golang-x group with 4 updates ( #10644 )
...
Bumps the golang-x group with 4 updates: [golang.org/x/crypto](https://github.com/golang/crypto ), [golang.org/x/net](https://github.com/golang/net ), [golang.org/x/oauth2](https://github.com/golang/oauth2 ) and [golang.org/x/tools](https://github.com/golang/tools ).
Updates `golang.org/x/crypto` from 0.14.0 to 0.15.0
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.15.0 )
Updates `golang.org/x/net` from 0.17.0 to 0.18.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.18.0 )
Updates `golang.org/x/oauth2` from 0.13.0 to 0.14.0
- [Commits](https://github.com/golang/oauth2/compare/v0.13.0...v0.14.0 )
Updates `golang.org/x/tools` from 0.14.0 to 0.15.0
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 12:31:41 -06:00
Kayla Washburn
33761c9c7d
refactor: add experimental NewTheme ( #10613 )
2023-11-13 10:09:44 -07:00
Kira Pilot
652097ed3a
fix: update HealthcheckDatabaseReport mocks ( #10655 )
2023-11-13 11:28:20 -05:00
Marcin Tojek
fbd34139b5
refactor(site): use generated Healthcheck API entities ( #10650 )
2023-11-13 15:58:57 +01:00
Cian Johnston
b69c237b8a
feat(coderd/healthcheck): allow configuring database hc threshold ( #10623 )
...
* feat(coderd/healthcheck): allow configuring database hc threshold
* feat(coderd): add database hc latency, plumb through
* feat(coderd): allow configuring healthcheck refresh interval
2023-11-13 14:14:43 +00:00
Michael Smith
e4211ccb40
fix: add missing focus state styling to buttons and checkboxes ( #10614 )
...
* fix: add focus styling to checkboxes
* fix: add focus styling to icon buttons
* fix: add focus styling to switches
* fix: swap outlines for box-shadows for more styling control
2023-11-13 08:08:18 -05:00
Spike Curtis
f400d8a0c5
fix: handle SIGHUP from OpenSSH ( #10638 )
...
Fixes an issue where remote forwards are not correctly torn down when using OpenSSH with `coder ssh --stdio`. OpenSSH sends a disconnect signal, but then also sends SIGHUP to `coder`. Previously, we just exited when we got SIGHUP, and this raced against properly disconnecting.
Fixes https://github.com/coder/customers/issues/327
2023-11-13 15:14:42 +04:00
Muhammad Atif Ali
be0436afbe
ci: bump terraform version to 1.5.7 to match embedded terraform version ( #10630 )
2023-11-13 10:06:36 +03:00
Muhammad Atif Ali
715bbd3edd
ci: bump go to version 1.20.11 ( #10631 )
2023-11-13 10:06:26 +03:00
Anunaya Srivastava
5f0417d14e
Fix nix-shell on macos ( #10591 )
...
strace is unavailable on macos. flake.nix is updated to handle this
scenario.
2023-11-11 12:06:26 +03:00
Cian Johnston
a4f1319108
feat(cli): allow showing schedules for multiple workspaces ( #10596 )
...
* coder list: adds information about next start / stop to available columns (not default)
* coder schedule: show now essentially coder list with a different set of columns
* Updates cli schedule unit tests to use new dbfake
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-11-10 13:51:49 +00:00
Jon Ayers
177affbe4b
feat: add frontend warning when autostart disabled due to automatic updates ( #10508 )
2023-11-09 17:01:12 -06:00
Eric Paulsen
9c5b631323
feat: add docs for Bitbucket Server external auth config ( #10617 )
2023-11-09 16:14:22 -05:00
Michael Smith
8290fee3f7
fix: remove accidental scrollbar from deployment banner ( #10616 )
...
* chore: clean up DeploymentBannerView markup
* fix: remove extra scrollbar
* refactor: remove needless calc call
2023-11-09 15:52:23 -05:00
Marcin Tojek
61fac2dcfc
feat(cli): create workspace using parameters from existing workspace ( #10604 )
2023-11-09 19:22:47 +01:00
Muhammad Atif Ali
076db31486
ci: use actions/setup-go builtin cache ( #10608 )
2023-11-09 20:41:31 +03:00
Michael Smith
ad3abe350f
refactor: revamp pagination UI view logic ( #10567 )
...
* chore: revamp Page Utility tests
* refactor: simplify component design for PageButton
* chore: beef up isNonInitialPage and add tests
* docs: clean up comments
* chore: quick refactor for buildPagedList
* refactor: clean up math calculations for buildPagedList
* chore: rename PageButtons file
* chore: revamp how nav buttons are defined
* fix: remove test disabled state
* chore: clean up base nav button
* chore: rename props for clarity
* refactor: clean up logic for isNonInitialPage
* chore: add more tests and catch bugs
* docs: fix confusing typo in comments
* chore: add one more test case for pagination buttons
* refactor: update props definition for PaginationNavButton
* fix: remove possible state sync bugs
2023-11-09 09:10:14 -05:00
Cian Johnston
8a7f0e9eb9
refactor(cli): extract workspace list parameters ( #10605 )
...
Extracts the --search and --all parameters to a separate struct in cliui.
2023-11-09 12:16:43 +00:00
Mathias Fredriksson
473585de6c
fix(scripts): forward all necessary ports for remote playwright ( #10606 )
2023-11-09 12:02:46 +00:00
Mathias Fredriksson
e71c53d4d0
chore(site): add remote playwright support and script ( #10445 )
2023-11-09 13:26:26 +02:00
Marcin Tojek
ed7e43b54c
feat: expose parameter insights as Prometheus metrics ( #10574 )
2023-11-09 10:30:40 +01:00
Jon Ayers
e23873ff8f
feat: add endpoint for resolving autostart status ( #10507 )
2023-11-08 23:24:56 -06:00
Jon Ayers
cf8ee78547
fix: disable autostart for flakey test ( #10598 )
2023-11-08 17:56:36 -06:00
Bruno Quaresma
645c4bd612
fix(site): fix daylight savings date range issue ( #10595 )
...
Close https://github.com/coder/coder/issues/10575
2023-11-08 16:49:09 -03:00
Bruno Quaresma
a328d20bcb
chore(site): remove workspace schedule banner service ( #10588 )
...
Related to https://github.com/coder/coder/issues/9943
2023-11-08 16:48:54 -03:00
Kyle Carberry
2cf2904515
fix: improve language of latest build error ( #10593 )
2023-11-08 18:38:46 +00:00
Steven Masley
63a4f5f4a7
fix: case insensitive magic label ( #10592 )
2023-11-08 11:17:14 -06:00
Steven Masley
aded7b1513
feat: implement bitbucket-server external auth defaults ( #10520 )
...
* feat: implement bitbucket-server external auth defaults
Bitbucket cloud != Bitbucket server
Add reasonable defaults for server
* change "bitbucket" to "bitbucket-cloud"
2023-11-08 11:05:51 -06:00
Bruno Quaresma
71153e2317
chore(site): remove workspace schedule machine ( #10583 )
...
Related to https://github.com/coder/coder/issues/9943
2023-11-08 13:46:29 -03:00
Cian Johnston
26740cf00d
chore(scripts/rules.go): broaden scope of testingWithOwnerUser linter ( #10548 )
...
* Updated testingWithOwnerUser ruleguard rule to detect:
a) Passing client from coderdenttest.New() to clitest.SetupConfig() similar to what already exists for AGPL code
b) Usage of any method of the owner client from coderdenttest.New() - all usages of the owner client must be justified with a `//nolint:gocritic` comment.
* Fixed resulting linter complaints.
* Added new coderdtest helpers CreateGroup and UpdateTemplateMeta.
* Modified check_enterprise_import.sh to ignore scripts/rules.go.
2023-11-08 14:54:48 +00:00
Michael Smith
057b43a935
fix: remove stray 0 when no data is in users table ( #10584 )
2023-11-08 09:06:14 -05:00
Bruno Quaresma
f418983f23
chore(site): make chromatic ignore changes inside of the code editor ( #10586 )
2023-11-08 11:01:28 -03:00
Bruno Quaresma
de196b89b6
chore(site): revert remark-gfm upgrade ( #10580 )
2023-11-08 08:23:09 -05:00
Bruno Quaresma
7f26111c01
feat(site): add stop and start batch actions ( #10565 )
2023-11-08 09:29:22 -03:00
Bruno Quaresma
861ae1a23a
fix(site): fix bottom bar height ( #10579 )
2023-11-08 12:21:20 +00:00
Ammar Bandukwala
4f3925d0b3
ci: close likely-no issues automatically ( #10569 )
2023-11-08 04:54:44 +00:00
Kira Pilot
4316c1c862
fix: display all metadata items alongside daily_cost ( #10554 )
...
* resolves #10411
* Update site/src/components/Resources/ResourceCard.test.tsx
2023-11-07 13:04:10 -05:00
Kayla Washburn
9e4558ae3a
feat: parse resource metadata values as markdown ( #10521 )
2023-11-07 10:34:24 -07:00
Mathias Fredriksson
43a867441a
feat(cli): add template filter support to exp scaletest cleanup and traffic ( #10558 )
2023-11-07 16:41:55 +00:00
Kayla Washburn
1dd3eb603b
fix: hide promote/archive buttons for template versions from users without permission ( #10555 )
2023-11-07 09:33:14 -07:00
Marcin Tojek
0a550815e9
feat: expose app insights as Prometheus metrics ( #10346 )
2023-11-07 17:14:59 +01:00
Cian Johnston
8441c36dfb
fix(site/src/api): getDeploymentDAUs: truncate tz_offset to whole number ( #10563 )
2023-11-07 16:00:00 +00:00
Bruno Quaresma
651d14ea68
fix(site): fix agent log error ( #10557 )
2023-11-07 10:37:09 -05:00
Steven Masley
64398def48
feat: add configurable cipher suites for tls listening ( #10505 )
...
* feat: add configurable cipher suites for tls listening
* tls.VersionName is go 1.21, copy the function
2023-11-07 14:55:39 +00:00
Mathias Fredriksson
e36503afd2
test(codersdk/agentsdk): fix context cancel flush test ( #10560 )
...
This change tests that the patch request is cancelled instead of hoping
that there's no race between context cancellations leading to patch
never being called.
2023-11-07 16:47:23 +02:00
Michael Smith
b0aa91bf27
fix: disable pagination nav buttons correctly ( #10561 )
...
* fix: update button disabling logic
2023-11-07 09:36:26 -05:00
Michael Smith
f5c4826e4c
feat: add list of user's groups to Accounts page ( #10522 )
...
* chore: add query for a user's groups
* chore: integrate user groups into UI
* refactor: split UI card into separate component
* chore: enforce alt text for AvatarCard
* chore: add proper alt text support for Avatar
* fix: update props for Avatar call sites
* finish AccountPage changes
* wip: commit progress on AvatarCard
* fix: add better UI error handling
* fix: update theme setup for AvatarCard
* fix: update styling for AccountPage
* fix: make error message conditional
* chore: update styling for AvatarCard
* chore: finish AvatarCard
* fix: add maxWidth support to AvatarCard
* chore: update how no max width is defined
* chore: add AvatarCard stories
* fix: remove incorrect semantics for AvatarCard
* docs: add comment about flexbox behavior
* docs: add clarifying text about prop
* fix: fix grammar for singular groups
* refactor: split off AccountUserGroups and add story
* fix: differentiate mock groups more
2023-11-07 08:36:53 -05:00
Michael Smith
8c3828b531
fix: stop SSHKeysPage from flaking ( #10553 )
...
* refactor: reorganize SSHKeysPage
* refactor: update render behavior for GlobalSnackbar
* fix: remove redundant error handling
* docs: Clean up wording on docs
* fix: remove temp error handling tests
* fix: remove local error alert
* fix: remove error logging hacks
2023-11-07 08:31:06 -05:00
dependabot[bot]
b83a8ce76d
chore: bump github.com/aws/smithy-go from 1.15.0 to 1.16.0 ( #10543 )
...
Bumps [github.com/aws/smithy-go](https://github.com/aws/smithy-go ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/aws/smithy-go/releases )
- [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/smithy-go/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/smithy-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 11:32:47 +00:00
Cian Johnston
4208c30d32
fix(coderd/rbac): allow user admin all perms on ResourceUserData ( #10556 )
2023-11-07 08:54:12 +00:00
Dean Sheather
f84485d2c4
chore: add timezone to quiet hours display message in UI ( #10538 )
2023-11-07 08:36:11 +00:00
Spike Curtis
c87deb868b
fix: upgrade tailscale to fix STUN probes on dual stack ( #10535 )
...
Fixes STUN probe issues on dual stack systems by incorporating https://github.com/coder/tailscale/pull/43
2023-11-07 08:48:27 +04:00
Bruno Quaresma
14925e71a7
refactor(site): add version back to workspace header ( #10552 )
2023-11-06 13:46:16 -05:00
Bruno Quaresma
a9797fa391
refactor(site): improve templates empty state ( #10518 )
2023-11-06 12:24:45 -05:00
dependabot[bot]
e976f50415
ci: bump the github-actions group with 2 updates ( #10537 )
...
Bumps the github-actions group with 2 updates: [crate-ci/typos](https://github.com/crate-ci/typos ) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `crate-ci/typos` from 1.16.21 to 1.16.22
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.21...v1.16.22 )
Updates `aquasecurity/trivy-action` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/b77b85c0254bba6789e787844f0585cde1e56320...f78e9ecf42a1271402d4f484518b9313235990e1 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 11:20:25 -06:00
dependabot[bot]
ee15adda4b
chore: bump ts-proto from 1.162.2 to 1.163.0 in /site ( #10541 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.162.2 to 1.163.0.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.162.2...v1.163.0 )
---
updated-dependencies:
- dependency-name: ts-proto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 11:20:11 -06:00
dependabot[bot]
a5c409dfee
chore: bump github.com/gohugoio/hugo from 0.119.0 to 0.120.3 ( #10544 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.119.0 to 0.120.3.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.119.0...v0.120.3 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 11:20:00 -06:00
Kyle Carberry
7162dc7e14
fix: use DefaultTransport in exchangeWithClientSecret if nil ( #10551 )
2023-11-06 16:55:00 +00:00
Kayla Washburn
ca6e6213bf
chore: use px values instead of theme.spacing and theme.shape.borderRadius ( #10519 )
2023-11-06 09:43:06 -07:00
dependabot[bot]
0cb875cba5
chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #10540 )
...
Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm ) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases )
- [Commits](https://github.com/remarkjs/remark-gfm/compare/3.0.1...4.0.0 )
---
updated-dependencies:
- dependency-name: remark-gfm
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 11:32:45 -05:00
dependabot[bot]
04dd663680
chore: bump github.com/fatih/color from 1.15.0 to 1.16.0 ( #10546 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 18:06:02 +03:00
Patrick McKee
ddaf913088
feat: expose prometheus port in helm chart ( #10448 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-11-06 14:47:28 +00:00
dependabot[bot]
44bb958114
chore: bump the golang-x group with 4 updates ( #10542 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:41:35 +03:00
Cian Johnston
4277ca02e5
feat(cli): prompt for misspelled parameter names ( #10350 )
...
* feat(cli): add cliutil/levenshtein package
* feat(cli): attempt to catch misspelled parameter names
2023-11-06 13:44:39 +00:00
Dean Sheather
bb5acb0332
fix: allow users to use quiet hours endpoint ( #10547 )
2023-11-06 13:16:50 +00:00
Dean Sheather
95e5419626
chore: fail server startup on invalid DERP map ( #10536 )
2023-11-06 23:04:07 +10:00
Bruno Quaresma
5b9e26a13f
refactor(site): handle edge cases for non-admin users with no workspaces and templates ( #10517 )
2023-11-06 09:34:45 -03:00
Muhammad Atif Ali
55fb6b663a
chore: pin devcontainer.json to pre-nix image ( #10417 )
...
fixes #10416
this is a workaround, and it is tagged to an old version of an image.
While testing, it seems like `--privileged` is no longer required.
2023-11-06 15:01:47 +03:00
dependabot[bot]
06d91bee34
chore: bump @playwright/test from 1.38.0 to 1.39.0 in /site ( #10458 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 13:43:12 +03:00
Cian Johnston
26c3c1226e
chore(coderd): add MockAuditor.Contains test helper ( #10421 )
...
* Adds a Contains() method on MockAuditor to help with asserting the presence of an audit log with specific fields.
* Updates existing usages of verifyAuditWorkspaceCreated to use the new helper
* Updates test referenced in PR#10396.
2023-11-06 09:17:07 +00:00
Bruno Quaresma
e36b606498
fix(site): fix user dropdown width ( #10523 )
2023-11-04 12:05:19 -03:00
Michael Smith
744c73394a
feat: allow users to duplicate workspaces by parameters ( #10362 )
...
* chore: add queries for workspace build info
* refactor: clean up logic for CreateWorkspacePage to support multiple modes
* chore: add custom workspace duplication hook
* chore: integrate mode into CreateWorkspacePageView
* fix: add mode to CreateWorkspacePageView stories
* refactor: extract workspace duplication outside CreateWorkspacePage file
* chore: integrate useWorkspaceDuplication into WorkspaceActions
* chore: delete unnecessary function
* refactor: swap useReducer for useState
* fix: swap warning alert for info alert
* refactor: move info alert message
* refactor: simplify UI logic for mode alerts
* fix: prevent dismissed Alerts from affecting layouts
* fix: remove unnecessary prop binding
* docs: reword comment for clarity
* chore: update msw build params to return multiple params
* chore: rename duplicationReady to isDuplicationReady
* chore: expose root component for testing/re-rendering
* chore: get tests in place (still have act warnings)
* refactor: move stuff around for clarity
* chore: finish tests
* chore: revamp tests
2023-11-03 18:23:09 -04:00
Kyle Carberry
23f02651f9
chore: migrate CLI tests to use dbfake ( #10500 )
2023-11-03 12:22:32 -05:00
dependabot[bot]
6588494abd
chore: bump ts-proto from 1.159.1 to 1.162.2 in /site ( #10462 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.159.1 to 1.162.2.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.159.1...v1.162.2 )
---
updated-dependencies:
- dependency-name: ts-proto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 13:20:36 -04:00
dependabot[bot]
84dc001f7e
chore: bump cronstrue from 2.32.0 to 2.41.0 in /site ( #10463 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.32.0 to 2.41.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.32.0...v2.41.0 )
---
updated-dependencies:
- dependency-name: cronstrue
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 13:20:32 -04:00
dependabot[bot]
311d1dc576
chore: bump @octokit/types from 12.0.0 to 12.1.1 in /site ( #10466 )
...
Bumps [@octokit/types](https://github.com/octokit/types.ts ) from 12.0.0 to 12.1.1.
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v12.0.0...v12.1.1 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 13:20:26 -04:00
dependabot[bot]
b86e2e4cd4
chore: bump monaco-editor from 0.43.0 to 0.44.0 in /site ( #10467 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.43.0 to 0.44.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.43.0...v0.44.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 13:20:18 -04:00
Bruno Quaresma
7d63dc2b02
refactor(site): add minor design improvements on the setup page ( #10511 )
2023-11-03 12:53:11 -04:00
Kyle Carberry
bb4ce87242
fix: add support for custom auth header with client secret ( #10513 )
...
This fixes OAuth2 with JFrog Artifactory.
2023-11-03 16:26:30 +00:00
Kyle Carberry
21dc93c8a3
feat: add log-dir flag to vscodessh for debuggability ( #10514 )
2023-11-03 16:21:31 +00:00
dependabot[bot]
08844d03fb
chore: bump vite from 4.4.2 to 4.5.0 in /site ( #10459 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.4.2 to 4.5.0.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.0/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 10:09:22 -04:00
Bruno Quaresma
ca353cb81c
refactor(site): improve first workspace creation time ( #10510 )
...
One tiny improvement to make the onboarding faster. When a user has no workspace, show the existent templates with direct links to the workspace creation instead of asking them to see all templates, select one, and after, click on "Create workspace".
Before:
<img width="1351" alt="Screenshot 2023-11-03 at 10 11 32" src="https://github.com/coder/coder/assets/3165839/46050f16-0196-477a-90e2-a0f475c8b707 ">
After:
<img width="1360" alt="Screenshot 2023-11-03 at 10 11 43" src="https://github.com/coder/coder/assets/3165839/5bef3d50-b192-49b5-8bdf-dec9654f529f ">
2023-11-03 11:03:21 -03:00
Bruno Quaresma
c9aeea6f64
chore(site): remove template version editor xservice ( #10490 )
...
Close https://github.com/coder/coder/issues/9942
2023-11-02 21:42:33 -03:00
Bruno Quaresma
03045bd47a
fix(site): fix dialog loading buttons displaying text over the spinner ( #10501 )
2023-11-02 21:34:18 -03:00
Bruno Quaresma
01ceb84a22
fix(site): fix health tooltip on deployment bar ( #10502 )
...
Fix https://github.com/coder/coder/issues/10489
2023-11-02 21:32:24 -03:00
Bruno Quaresma
716b86b380
refactor(site): make minor design tweaks and fix issues on more options menus ( #10493 )
...
- Fix menus not closing when clicking and navigating to a lazy loaded page
- Minor design tweaks
- Make all "More options" menus consistent
Before:
<img width="243" alt="Screenshot 2023-11-02 at 10 21 02" src="https://github.com/coder/coder/assets/3165839/4d4eee7f-60d9-4c55-9559-468760715fe7 ">
<img width="246" alt="Screenshot 2023-11-02 at 10 18 03" src="https://github.com/coder/coder/assets/3165839/a834263a-f950-4f02-b3c7-c631928c0421 ">
<img width="251" alt="Screenshot 2023-11-02 at 10 07 40" src="https://github.com/coder/coder/assets/3165839/b2135281-1ffe-422b-a054-0c175f0dc2ad ">
Now:
<img width="279" alt="Screenshot 2023-11-02 at 10 21 07" src="https://github.com/coder/coder/assets/3165839/a36b4025-3df0-4bd1-8071-7f1127caa2e2 ">
<img width="257" alt="Screenshot 2023-11-02 at 10 18 08" src="https://github.com/coder/coder/assets/3165839/57f737d4-fa32-4657-b59d-cf26029f8a69 ">
<img width="236" alt="Screenshot 2023-11-02 at 10 07 48" src="https://github.com/coder/coder/assets/3165839/a45a7f7d-f492-4498-a1f9-d86f7815d119 ">
2023-11-02 21:32:04 -03:00
Jon Ayers
2dce4151ba
feat: add cli support for workspace automatic updates ( #10438 )
2023-11-02 14:41:34 -05:00
Bruno Quaresma
e756baa0c4
refactor(site): simplify proxy menu ( #10496 )
2023-11-02 15:39:46 -04:00
Bruno Quaresma
ae20df4229
refactor(site): remove version and last built from workspace header ( #10495 )
2023-11-02 16:26:41 -03:00
Bruno Quaresma
d2b8a93638
fix(site): fix favicon theme ( #10497 )
2023-11-02 18:51:39 +00:00
Kayla Washburn
921b6eb4ee
chore: use emotion for styling (pt. 9) ( #10474 )
2023-11-02 17:51:23 +00:00
Kyle Carberry
839a16e299
feat: add dbfake for workspace builds and resources ( #10426 )
...
* feat: add dbfakedata for workspace builds and resources
This creates `coderdtest.NewWithDatabase` and adds a series of
helper functions to `dbfake` that insert structured fake data
for resources into the database.
It allows us to remove provisionerd from a significant amount of
tests which should speed them up and reduce flakes.
* Rename dbfakedata to dbfake
* Migrate workspaceagents_test.go to use the new dbfake
* Migrate agent_test.go to use the new fakes
* Fix comments
2023-11-02 17:15:07 +00:00
Colin Adler
ac9c16864c
chore: update audit log api docs ( #10486 )
2023-11-02 16:12:38 +00:00
Bruno Quaresma
e756a95759
refactor(site): minor improvements on users page popovers ( #10492 )
2023-11-02 13:39:52 +00:00
dependabot[bot]
b8449d5894
chore: bump axios from 1.5.0 to 1.6.0 in /site ( #10460 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 08:50:18 -04:00
dependabot[bot]
725cda9463
chore: bump next from 13.5.3 to 14.0.1 in /offlinedocs ( #10469 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
2023-11-02 09:29:56 +00:00
dependabot[bot]
af1c74d62d
chore: bump eslint-config-next from 13.5.3 to 14.0.1 in /offlinedocs ( #10470 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 11:58:50 +03:00
Steven Masley
0c993ea329
feat: add observability configuration values to deployment page ( #10471 )
...
* feat: add observability configuration values to deployment page
- Moved audit logging to this page
- Logging, prometheus, tracing, debug, and pprof settings
2023-11-01 15:56:02 -05:00
dependabot[bot]
5c49ce0194
chore: bump eslint from 8.50.0 to 8.52.0 in /offlinedocs ( #10468 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.50.0 to 8.52.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.52.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:48:52 +03:00
dependabot[bot]
b5405dc424
chore: bump chromatic from 7.2.0 to 7.6.0 in /site ( #10464 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 7.2.0 to 7.6.0.
- [Release notes](https://github.com/chromaui/chromatic-cli/releases )
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v7.2.0...v7.6.0 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 23:13:13 +03:00
Kayla Washburn
7f70a23844
chore: use emotion for styling (pt. 8) ( #10447 )
2023-11-01 12:43:42 -06:00
dependabot[bot]
b3e6a461ed
chore: bump the storybook group in /site with 7 updates ( #10456 )
...
Bumps the storybook group in /site with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions ) | `7.4.0` | `7.5.2` |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) | `7.4.0` | `7.5.2` |
| [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links ) | `7.4.0` | `7.5.2` |
| [@storybook/addon-mdx-gfm](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/gfm ) | `7.4.0` | `7.5.2` |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react ) | `7.4.0` | `7.5.2` |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite ) | `7.4.0` | `7.5.2` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) | `7.4.0` | `7.5.2` |
Updates `@storybook/addon-actions` from 7.4.0 to 7.5.2
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.2/code/addons/actions )
Updates `@storybook/addon-essentials` from 7.4.0 to 7.5.2
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.2/code/addons/essentials )
Updates `@storybook/addon-links` from 7.4.0 to 7.5.2
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.2/code/addons/links )
Updates `@storybook/addon-mdx-gfm` from 7.4.0 to 7.5.2
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.2/code/addons/gfm )
Updates `@storybook/react` from 7.4.0 to 7.5.2
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.2/code/renderers/react )
Updates `@storybook/react-vite` from 7.4.0 to 7.5.2
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.2/code/frameworks/react-vite )
Updates `storybook` from 7.4.0 to 7.5.2
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.5.2/code/lib/cli )
---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-links"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-mdx-gfm"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/react"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/react-vite"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 20:19:19 +03:00
Kayla Washburn
5284d974ef
chore: use emotion for styling (pt. 7) ( #10431 )
2023-11-01 09:28:26 -06:00
dependabot[bot]
ec7d7595ff
chore: bump @monaco-editor/react from 4.5.0 to 4.6.0 in /site ( #10465 )
...
Bumps [@monaco-editor/react](https://github.com/suren-atoyan/monaco-react ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/suren-atoyan/monaco-react/releases )
- [Changelog](https://github.com/suren-atoyan/monaco-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/suren-atoyan/monaco-react/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: "@monaco-editor/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 10:28:04 -04:00
dependabot[bot]
59c7c340a3
chore: bump the eslint group in /site with 7 updates ( #10457 )
...
Bumps the eslint group in /site with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) | `6.0.1` | `6.1.0` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `6.7.0` | `6.9.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `6.7.0` | `6.9.1` |
| [eslint](https://github.com/eslint/eslint ) | `8.50.0` | `8.52.0` |
| [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) | `2.28.0` | `2.29.0` |
| [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) | `27.4.0` | `27.6.0` |
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) | `48.0.0` | `49.0.0` |
Updates `eslint-plugin-testing-library` from 6.0.1 to 6.1.0
- [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases )
- [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json )
- [Commits](https://github.com/testing-library/eslint-plugin-testing-library/compare/v6.0.1...v6.1.0 )
Updates `@typescript-eslint/eslint-plugin` from 6.7.0 to 6.9.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.7.0 to 6.9.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.9.1/packages/parser )
Updates `eslint` from 8.50.0 to 8.52.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.50.0...v8.52.0 )
Updates `eslint-plugin-import` from 2.28.0 to 2.29.0
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.29.0 )
Updates `eslint-plugin-jest` from 27.4.0 to 27.6.0
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v27.4.0...v27.6.0 )
Updates `eslint-plugin-unicorn` from 48.0.0 to 49.0.0
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.0...v49.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 10:26:56 -04:00
Spike Curtis
cac29e0b4d
feat: add tables for PGCoordinator v2 ( #10442 )
...
Adds tables for a simplified PG Coordinator that only considers Peers and Tunnels, rather than agent/client distinctions we have today.
2023-11-01 16:30:09 +04:00
Spike Curtis
95ce697e3a
fix: schedule autobuild directly on TestExecutorAutostopTemplateDisabled ( #10453 )
...
Fixes flake seen here: https://github.com/coder/coder/actions/runs/6716682414/job/18253279654
The test used a cron schedule to compute autobuild ticks, with ticks every hour on the hour. The default TTL was set to an hour. Usually, the next tick is less than one hour in the future, unless the test runs at :00 past the hour, which it did in my flake'd
run. But, given that this is an autostop test, the cron schedule is irrelevant (such schedules are used for auto_start_). So, I've removed it from the test and compute the build ticks directly.
Also, the test originally had the workspace TTL set to longer than the default template TTL, and then tested that no build happened when the tick was prior to both. This seems odd to me, as we want to demonstrate the the executor disregards the workspace TTL.
So, I changed the test to set the workspace TTL shorter, and then send in a tick between the two, verify that we don't autostop, then a tick after the template TTL and verify that we do.
2023-11-01 15:16:20 +04:00
Spike Curtis
94eb9b8db1
fix: disable t.Parallel on TestPortForward ( #10449 )
...
I've said it before, I'll say it again: you can't create a timed context before calling `t.Parallel()` and then use it after.
Fixes flakes like https://github.com/coder/coder/actions/runs/6716682414/job/18253279157
I've chosen just to drop `t.Parallel()` entirely rather than create a second context after the parallel call, since the vast majority of the test time happens before where the parallel call was. It does all the tailnet setup before `t.Parallel()`.
Leaving a call to `t.Parallel()` is a bug risk for future maintainers to come in and use the wrong context in the latter part of the test by accident.
2023-11-01 13:45:13 +04:00
Spike Curtis
6882e8e524
feat: add conversions from tailnet to proto ( #10441 )
...
Adds conversions from existing tailnet types to protobuf
2023-11-01 10:54:00 +04:00
Jon Ayers
f4026edd71
feat: add frontend support for enabling automatic workspace updates ( #10375 )
2023-10-31 17:06:36 -05:00
Spike Curtis
3200b85d87
Revert "chore: bump go.uber.org/goleak from 1.2.1 to 1.3.0 ( #10398 )" ( #10444 )
...
This reverts commit 8fe3dcf18a .
2023-10-31 12:53:29 +00:00
Spike Curtis
8d5a13d768
fix: update tailscale to fixed STUN probe version ( #10439 )
2023-10-31 10:21:19 +00:00
Spike Curtis
a7c671ca07
feat: add workspace agent APIVersion ( #10419 )
...
Fixes #10339
2023-10-31 10:08:43 +04:00
dependabot[bot]
90573a6e99
chore: bump github.com/open-policy-agent/opa from 0.57.0 to 0.58.0 ( #10424 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 21:08:41 +00:00
dependabot[bot]
0bf156cde3
chore: bump github.com/google/uuid from 1.3.1 to 1.4.0 ( #10422 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 20:12:53 +00:00
dependabot[bot]
eaf9176bc5
chore: bump github.com/docker/docker from 23.0.5+incompatible to 24.0.7+incompatible ( #10427 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 15:07:46 -05:00
Ben Potter
e491217a12
docs: add v2.3.3 changelog ( #10435 )
2023-10-30 15:06:11 -05:00
Steven Masley
9d2b805fb7
fix: prevent infinite redirect oauth auth flow ( #10430 )
...
* fix: prevent infinite redirect oauth auth flow
2023-10-30 14:45:06 -05:00
Kyle Carberry
7fc1a65b14
fix: add new aws regions to instance identity ( #10434 )
...
Fixes #10433
2023-10-30 19:44:29 +00:00
Kayla Washburn
fdf035cd06
chore: remove fly template ( #10429 )
2023-10-30 13:16:43 -06:00
dependabot[bot]
fc1d823cae
chore: bump github.com/go-logr/logr from 1.2.4 to 1.3.0 ( #10423 )
...
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr ) from 1.2.4 to 1.3.0.
- [Release notes](https://github.com/go-logr/logr/releases )
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-logr/logr/compare/v1.2.4...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 21:36:01 +03:00
dependabot[bot]
8fe3dcf18a
chore: bump go.uber.org/goleak from 1.2.1 to 1.3.0 ( #10398 )
...
Bumps [go.uber.org/goleak](https://github.com/uber-go/goleak ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/uber-go/goleak/releases )
- [Changelog](https://github.com/uber-go/goleak/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/goleak/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/goleak
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 21:35:40 +03:00
Kyle Carberry
5abfe5afd0
chore: rename dbfake to dbmem ( #10432 )
2023-10-30 17:42:20 +00:00
Spike Curtis
7a8da08124
feat: add api_version column to workspace_agents ( #10418 )
...
Adds api_version to workspace_agents table
Part of #10399
2023-10-30 21:30:49 +04:00
dependabot[bot]
6b7858c516
ci: bump the github-actions group with 2 updates ( #10420 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 11:25:37 +00:00
Mathias Fredriksson
9d3785def8
test(cli/cliui): make agent tests more robust ( #10415 )
...
Fixes #10408
2023-10-30 13:20:10 +02:00
Spike Curtis
2a6fd90140
feat: add tailnet and agent API definitions ( #10324 )
...
Adds API definitions and packages for Tailnet and Agent APIs (API version 2.0)
2023-10-30 12:14:45 +04:00
Spike Curtis
c2e3648484
fix: disable tests broken by daylight savings ( #10414 )
2023-10-30 06:44:30 +00:00
dependabot[bot]
3b50530a63
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.55.0 to 1.56.1 ( #10403 )
...
Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.55.0 to 1.56.1.
---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 22:41:33 +03:00
Mathias Fredriksson
7fecd39e23
fix(agent/agentscripts): display informative error for ErrWaitDelay ( #10407 )
...
Fixes #10400
2023-10-27 19:07:26 +03:00
Muhammad Atif Ali
99fda4a8e2
docs: replace gituth with externalauth ( #10409 )
2023-10-27 10:53:56 -04:00
Muhammad Atif Ali
51aa32cfcf
chore: limit history to the last 30 runs/days for PR deploy and cleanup workflows ( #10406 )
2023-10-27 11:15:21 +00:00
Muhammad Atif Ali
6ae8bfed94
chore(examples): fix a small typo ( #10404 )
2023-10-26 09:42:46 +00:00
dependabot[bot]
35e7d7854a
chore: bump google.golang.org/grpc from 1.58.2 to 1.59.0 ( #10381 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 11:36:50 +03:00
dependabot[bot]
edcbd4f394
chore: bump github.com/coreos/go-oidc/v3 from 3.6.0 to 3.7.0 ( #10397 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 11:36:10 +03:00
dependabot[bot]
ea578ceabb
chore: bump github.com/prometheus/common from 0.44.0 to 0.45.0 ( #10399 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 11:35:47 +03:00
Mathias Fredriksson
0ddd54d34b
fix(coderd/provisionerdserver): avoid error log during shutdown ( #10402 )
2023-10-25 18:31:28 +03:00
Josh Vawdrey
fdc9097d6c
feat(provisioner): expose template version to provisioner ( #10306 )
2023-10-25 14:44:08 +03:00
dependabot[bot]
e7fd2cb1a6
chore: bump github.com/djherbis/times from 1.5.0 to 1.6.0 ( #10380 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 23:03:08 +03:00
dependabot[bot]
670ee4d54f
chore: bump google.golang.org/api from 0.147.0 to 0.148.0 ( #10383 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 22:58:41 +03:00
dependabot[bot]
39fbf74c7d
ci: bump the github-actions group with 1 update ( #10379 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 22:14:48 +03:00
Mathias Fredriksson
eac155aec2
test(cli): fix TestServer flake due to DNS lookup ( #10390 )
2023-10-24 22:12:03 +03:00
Michael Smith
7732ac475a
refactor: update logic for all metadata query factories ( #10356 )
...
* refactor: simplify metadata patterns
* fix: add return type to me factory
* fix: make sure query key for me is always defined at type level
2023-10-24 08:42:38 -04:00
Josh Vawdrey
6b2aee4133
feat(cli): make the dotfiles repository directory configurable ( #10377 )
2023-10-24 12:00:04 +03:00
Devarshi Shimpi
d8592bf09a
fix(README.md): update installation link ( #10275 )
2023-10-24 11:36:38 +03:00
Asher
4af8446f48
fix: initialize terminal with correct size ( #10369 )
...
* Fit once during creation
This does not fix any bugs (that I know of) but we only need to fit once
when the terminal is created, not every time we reconnect. Granted,
currently we do not support reconnecting without refreshing anyway so it
does not really matter, but this just seems more correct.
Plus now we will not have to pass the fit addon around.
* Pass size when connecting web socket URL
I think this will solve an issue where screen does does not correctly
handle an immediate resize. It seems to ignore the resize, but even if
you send it again nothing changes, seemingly thinking it is already at
that size?
* Use new struct for decoding reconnecting pty requests
Decoding a JSON message does not touch omitted (or null) fields so once
a message with a resize comes in, every single message from that point
will cause a resize.
I am not sure if this is an actual problem in practice but at the very
least it seems unintentional.
2023-10-23 23:42:39 -04:00
Mathias Fredriksson
1286904de8
test(agent): improve TestAgent_Session_TTY_MOTD_Update ( #10385 )
2023-10-23 17:32:28 +00:00
Mathias Fredriksson
09f7b8e88c
fix(agent/agentscripts): track cron run and wait for cron stop ( #10388 )
...
Fixes #10289
2023-10-23 17:08:52 +00:00
Mathias Fredriksson
1a2aea3a6b
fix(agent): prevent metadata from being discarded if report is slow ( #10386 )
2023-10-23 17:02:54 +00:00
Mathias Fredriksson
6683ad989a
test(coderd): fix TestWorkspaceBuild flake ( #10387 )
...
Fixes #10335
2023-10-23 19:45:54 +03:00
Mathias Fredriksson
8f1b4fb061
test(agent): fix service banner trim test flake ( #10384 )
2023-10-23 18:06:59 +03:00
Ben Potter
a7243b3f3b
docs: add v2.3.2 changelog ( #10371 )
2023-10-20 21:26:43 +00:00
Jon Ayers
1372bf82f5
chore: revert "chore: remove workspace_actions experiment ( #10030 )" ( #10363 )
2023-10-20 13:21:53 -05:00
Asher
57c9d88703
chore(site): remove terminal xservice ( #10234 )
...
* Remove terminalXService
This is a prelude to the change I actually want to make, which is to
send the size of the terminal on the web socket URL after we do a fit.
I have found xstate so confusing that it was easier to just rewrite it.
* Fix hanging tests
I am not really sure what ws.connected is doing but it seems to somehow
block updates. Something to do with `act()` maybe?
Basically, the useEffect creating the terminal never updates once the
config query finishes, so the web socket is never created, and the test
hangs forever.
It might have been working before only because the web socket was
created using xstate rather than useEffect and once it connected it
would unblock and React could update again but this is just a guess.
* Ignore other config changes
The terminal only cares about the renderer specifically, no need to
recreate the terminal if something else changes.
* Break out port forward URL open to util
Felt like this could be broken out to reduce the component size. Also
trying to figure out why it is causing the terminal to create multiple
times.
* Prevent handleWebLink change from recreating terminal
Depending on the timing, handleWebLink was causing the terminal to get
recreated. We only need to create the terminal once unless the render
type changes.
Recreating the terminal was also recreating the web socket pointlessly.
2023-10-20 10:18:17 -08:00
Muhammad Atif Ali
5ebb702e00
chore: add OIDC provider logos ( #10365 )
...
* chore: add OIDC provider logos
* Add files via upload
* fmt
2023-10-20 19:30:05 +03:00
Eric Paulsen
9dbc913798
fix: additional cluster SA, role names ( #10366 )
2023-10-20 11:44:16 -04:00
Kira Pilot
ed5567ba28
fix: show dormant and suspended users in groups ( #10333 )
...
* fix: show dormant and suspended users in groups
* added status column
2023-10-20 11:36:00 -04:00
Bruno Quaresma
ac322724b0
chore(site): replace custom LoadingButton from the one in MUI ( #10351 )
2023-10-20 09:57:27 -03:00
Bruno Quaresma
3d9bfdd5dc
chore(site): remove update check service ( #10355 )
2023-10-20 09:41:34 -03:00
Bruno Quaresma
1ba5169109
chore(site): remove search users and groups xservice ( #10353 )
2023-10-20 09:33:07 -03:00
Jon Ayers
d33526108f
feat: add frontend support for mandating active template version ( #10338 )
2023-10-19 18:21:52 -05:00
Jon Ayers
f5f150d568
feat: add cli support for --require-active-version ( #10337 )
2023-10-19 17:16:15 -05:00
Ammar Bandukwala
b799014832
docs: rework telemetry doc and add CLI warning ( #10354 )
2023-10-19 15:50:20 -05:00
Kira Pilot
9c9319f81e
fix: resolve User is not unauthenticated error seen on logout ( #10349 )
...
* fix: do not cache getAuthenticatedUser call
* use initialQuery, add back meta tag for initial load of users
* lift initialUserData
2023-10-19 14:50:53 -04:00
Michael Smith
ab2904a676
feat: add user groups column to users table ( #10284 )
...
* refactor: extract UserRoleCell into separate component
* wip: add placeholder Groups column
* fix: remove redundant css styles
* refactor: update EditRolesButton to use Sets to detect selections
* wip: commit progress for updated roles column
* wip: commit current role pill progress
* fix: update state sync logic
* chore: add groupsByUserId query options factory
* fix: update return value of select function
* chore: drill groups data down to cell component
* wip: commit current cell progress
* fix: remove redundant classes
* wip: commit current styling progress
* fix: update line height for CTA
* fix: update spacing
* chore: add tooltip for Groups column header
* fix: remove tsbuild file
* refactor: consolidate tooltip components
* fix: update font size defaults inside theme
* fix: expand hoverable/clickable area of groups cell
* fix: remove possible undefined cases from HelpTooltip
* chore: add popover functionality to groups
* wip: commit progress on groups tooltip
* fix: remove zero-height group name visual bug
* feat: get basic version of user group tooltips done
* perf: move sort order callback outside loop
* fix: update spacing for tooltip
* feat: make popovers entirely hover-based
* fix: disable scroll locking for popover
* docs: add comments explaining some pitfalls with Popover component
* refactor: simplify userRoleCell implementation
* feat: complete main feature
* fix: prevent scroll lock for role tooltips
* fix: change import to type import
* refactor: simplify how groups are clustered
* refactor: update UserRoleCell to use Popover
* refactor: remove unnecessary fragment
* chore: add id/aria support for Popover
* refactor: update UserGroupsCell to use Popover
* chore: redo visual design for UserGroupsCell
* fix: shrink UserGroupsCell text
* fix: update UsersTable test to include groups info
2023-10-19 14:31:48 -04:00
Bruno Quaresma
557adab224
chore(site): remove template ACL XService ( #10332 )
2023-10-19 14:59:08 -03:00
dependabot[bot]
21f87313bd
chore: bump github.com/aws/smithy-go from 1.14.2 to 1.15.0 ( #10282 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 16:08:56 +03:00
Muhammad Atif Ali
42c21d400f
fix(docs): update external-auth docs to use coder_external_auth ( #10347 )
2023-10-19 12:30:48 +00:00
Bruno Quaresma
f677c4470b
chore(site): add custom popover component ( #10319 )
2023-10-19 09:13:21 -03:00
Bruno Quaresma
b8c7b56fda
fix(site): fix tabs in the template layout ( #10334 )
2023-10-19 09:12:41 -03:00
Marcin Tojek
c4f590581e
feat: expose template insights as Prometheus metrics ( #10325 )
2023-10-19 08:45:12 +00:00
Jon Ayers
997493d4ae
feat: add template setting to require active template version ( #10277 )
2023-10-18 17:07:21 -05:00
Colin Adler
1ad998ee3a
fix: add requester IP to workspace build audit logs ( #10242 )
2023-10-18 15:08:02 -05:00
Colin Adler
504cedf15a
feat: add telemetry for external provisioners ( #10322 )
2023-10-18 14:20:30 -05:00
Mathias Fredriksson
9b73020f11
ci(.github): set DataDog upload timeout ( #10328 )
2023-10-18 20:07:52 +03:00
Bruno Quaresma
c93fe8ddbe
chore(site): remove template version machine ( #10315 )
2023-10-18 09:18:03 -03:00
Muhammad Atif Ali
fe05fd1e6e
docs: update vscode web docs ( #10327 )
2023-10-18 12:13:44 +00:00
Kayla Washburn
2b5e02f5b2
refactor: improve e2e test reporting ( #10304 )
2023-10-17 16:11:42 -06:00
Muhammad Atif Ali
ab456276dc
docs: add v2.3.1 changelog ( #10313 )
...
* add v2.3.1 changelog
* fmt
* explain
* simplify
* update
* simplify
* cleanup
* refresh
* update
* cleanup and fmt
* Update v2.3.1.md
cleanup
* add new commits
---------
Co-authored-by: Ben <me@bpmct.net >
2023-10-17 21:45:38 +00:00
Eric Paulsen
09d995c8dc
fix: set K8s deployment strategy to Recreate ( #10321 )
2023-10-17 21:06:35 +00:00
Kayla Washburn
619df23ad1
chore: fix linting issues and generated files ( #10317 )
2023-10-17 14:41:35 -06:00
Muhammad Atif Ali
492da15890
chore: delete filebrowser.db ( #10320 )
2023-10-17 18:59:35 +00:00
Kira Pilot
1656249e07
feat: add all safe experiments to the deployment page ( #10276 )
...
* added new option table type for experiments
* added tests
* fixed go tests
* added go test for new param
* removing query change
* clearing ExperimentsAll
* dont mutate ExperimentsAll
* added new route for safe experiments
* added new route for safe experiments
* added test for new route
* PR feedback
* altered design
* alias children
2023-10-17 14:49:19 -04:00
Bruno Quaresma
35f9e2ef7f
refactor(site): refactor create workspace button ( #10303 )
2023-10-17 13:31:51 -03:00
Michael Smith
0f2d4fdb6d
fix: prevent metadata queries from short-circuiting ( #10312 )
...
* fix: prevent metadata queries from short-circuiting
* fix: use correct type definitions
2023-10-17 10:20:56 -06:00
Mathias Fredriksson
8f39ec5cc3
fix(scaletest/templates): fix bugs and improve debugging ( #10316 )
2023-10-17 15:18:49 +00:00
Kayla Washburn
2f4ca0f566
chore: use emotion for styling (pt. 6) ( #10298 )
2023-10-17 09:14:13 -06:00
Muhammad Atif Ali
a49e6b88f9
docs: reorganize template docs ( #10297 )
...
* docs: rework our "templates" section
* wikistuff
* fix formatting
* add diagram
* reorganize some things
* docs: improve workspaces and templates doc (#9139 )
* Reorg, updated/new screenshots, consistent terminology
* First pass
* Another pass
* Added integration section
* New outline for template pages, small updates
* Revised outline for templates, added tutorial
* First pass at tutorial
* Some feedback from Ben.
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Fixed typos
* Expanded tutorial
I have read the CLA Document and I hereby sign the CLA
* New screenshots, improved tutorial, revised anatomy
* Improved tutorial. Anatomy is now a guided tour.
* First pass at guided tour
* Updated authentication info
* Reorganized the guided tour
* Edited more template pages
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tutorial.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Revised devcontainers and docker-in-workspaces
* Edited and added screenshots
* Prepared first draft, except docs/templates/open-in-coder.md
* Fix typo
* remove legacy parameters and migration guide
* Use coder templates create
* Added screenshot for workspace template variables
* Made it prettier
* Fixed minor typos and markdown problems
* edits to repairing workspaces
* fix broken links in product
* Added troubleshooting, minor corrections.
* fix terminal links
* fmt
---------
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
Co-authored-by: Ben Potter <me@bpmct.net >
Co-authored-by: Atif Ali <atif@coder.com >
* make fmt
* fix merge conflict
* make fmt
* make gen
* update
* lint
* Discard changes to coderd/database/queries.sql.go
* Discard changes to cli/templates.go
* Discard changes to cli/templateversionarchive.go
* Discard changes to cli/templateversions.go
* Update docker-in-workspaces.md
* replace ```sh with ```shell
* open-in-coder
* fmt
* mention coder_metadata in icons.md
* resource_metadata
* use shell
* modules.md
* mention coder registry module
* workspace.md
* resource_metadata
* remove duplication
* address comments
* cleanup
* fmt
* fix broken links
* fix numbering
* mention module registry
* add example
* demote heading
* remove top level entry from manifest
* fmt
---------
Co-authored-by: Ben <me@bpmct.net >
Co-authored-by: Marc Paquette <22124737+marcpaq@users.noreply.github.com >
2023-10-17 14:47:12 +00:00
dependabot[bot]
b5e5b39de2
chore: bump @babel/traverse from 7.22.8 to 7.23.2 in /offlinedocs ( #10294 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 23:39:04 +03:00
dependabot[bot]
2acf195b13
chore: bump @babel/traverse from 7.22.11 to 7.23.2 in /site ( #10295 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 23:38:51 +03:00
Kayla Washburn
eaea918a59
chore: use emotion for styling (pt. 5) ( #10261 )
2023-10-16 12:41:15 -06:00
Bruno Quaresma
4240200b5d
fix(site): fix state used to check if creating was loading ( #10296 )
2023-10-16 15:53:50 +00:00
Mathias Fredriksson
43f26dfec5
feat(scaletest/templates): run all scenarios even on failure ( #10290 )
...
We now also end all failed phases and add the `error` tag in Grafana.
2023-10-16 18:18:05 +03:00
Ben Potter
9a0aac88e0
chore: fix broken links in docs ( #10291 )
...
https://github.com/coder/coder/actions/runs/6531396781/job/17732557812
2023-10-16 14:29:53 +00:00
Steven Masley
6ebe9b0402
feat: add UI for autostart workspace days ( #10263 )
...
* feat: add ui for selecting auto start days
2023-10-16 09:29:42 -05:00
Steven Masley
5a90228c60
feat: fix 404 on the first app loads when unauthenticated ( #10262 )
...
* feat: fix 404 on the first app loads when unauthenticated
* Update site/src/pages/LoginPage/LoginPage.tsx
2023-10-16 09:29:25 -05:00
Mathias Fredriksson
8ffe0e22b6
feat(scaletest/templates): gather pod logs at the end of a scale test ( #10288 )
2023-10-16 13:50:04 +00:00
Bruno Quaresma
8efa1239e7
fix(site): do not return next page if the current size is lower than the limit ( #10287 )
2023-10-16 13:39:48 +00:00
Mathias Fredriksson
3c49290dd7
feat(scaletest/templates): add comment parameter ( #10285 )
2023-10-16 13:28:23 +00:00
Cian Johnston
6875faf238
fix(coderd/provisionerdserver): pass through api ctx to provisionerdserver ( #10259 )
...
Passes through coderd API ctx to provisionerd server so we can cancel workspace updates when API is shutting down.
2023-10-16 13:50:07 +01:00
Bruno Quaresma
01792f064e
fix(site): display empty component when workspace has no parameters ( #10286 )
2023-10-16 09:49:53 -03:00
Bruno Quaresma
f64b9cab90
feat(site): decrease the number of statuses in the workspaces filter ( #10283 )
2023-10-16 12:46:06 +00:00
Mathias Fredriksson
493e2bd2ac
feat(scaletest/templates): add repo branch parameter ( #10279 )
2023-10-16 12:25:32 +00:00
Cian Johnston
dd86100f33
fix(scaletest): fix flake in Test_Runner/Cleanup ( #10252 )
...
* fix(scaletest/createworkspaces): address flake in Test_Runner/CleanupPendingBuild
* fix(scaletest): pass io.Writer to Cleanup()
* add some extra logs to workspacebuild cleanup
* fixup! fix(scaletest): pass io.Writer to Cleanup()
* remove race
* fmt
* address PR comments
2023-10-16 12:37:12 +01:00
Cian Johnston
1be24dcb5c
feat(helm/provisioner): add extraTemplates ( #10256 )
...
Adds support for extraTemplates to the coder-provisioner chart to bring it in line with the coder chart.
2023-10-16 12:17:05 +01:00
Stephen Kirby
2029543eba
chore(site): clarify autostop description ( #10260 )
...
* updated autostop description based on customer request
* edited for specificity
* make fmt
2023-10-13 12:24:37 -05:00
Steven Masley
39c0539d42
feat: add controls to template for determining startup days ( #10226 )
...
* feat: template controls which days can autostart
* Add unit test to test blocking autostart with DaysOfWeek
2023-10-13 11:57:18 -05:00
Ammar Bandukwala
98b6c8bcb0
chore(coderd): report full license in telemetry ( #10258 )
...
Will aid in cross-referencing deployments to sales accounts.
2023-10-13 11:43:06 -05:00
Kayla Washburn
cbc0c39792
fix: display health alert in DeploymentBannerView ( #10193 )
2023-10-13 10:39:20 -06:00
Muhammad Atif Ali
def980b973
chore(docs): fix syntax highlighting ( #10247 )
...
Due to some reason, our docs are not rendering syntax highlighting when the code block type is 'terraform'. Changing the type to `hcl` fixes this.
2023-10-13 18:50:24 +03:00
Mathias Fredriksson
76c65b1e1b
fix(agent): send metadata in batches ( #10225 )
...
Fixes #9782
---
I recommend reviewing with ignore whitespace.
2023-10-13 17:48:25 +03:00
Mathias Fredriksson
4857d4bd55
feat(codersdk/agentsdk): use new agent metadata batch endpoint ( #10224 )
...
Part of #9782
2023-10-13 17:32:28 +03:00
Mathias Fredriksson
7eeba15d16
feat(coderd): add support for sending batched agent metadata ( #10223 )
...
Part of #9782
2023-10-13 16:37:55 +03:00
dependabot[bot]
1b1ab97c24
chore: bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ( #10248 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 13:27:22 +00:00
dependabot[bot]
13036dd088
chore: bump google.golang.org/api from 0.145.0 to 0.147.0 ( #10249 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:17:35 +03:00
dependabot[bot]
ab7dd24d97
ci: bump the github-actions group with 2 updates ( #10250 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:17:21 +03:00
Cian Johnston
d56f49f619
fix(coderd): make activitybump aware of default template ttl ( #10253 )
...
The refactored ActivityBump query did not take into account the
template-level TTL, resulting in potentially incorrect bump
amounts for workspaces that have both a user-defined and template-
defined TTL that differ.
This change is ported over from PR#10035 to reduce the overall
size of that PR.
Also includes a drive-by unit test in autobuild for checking template autostop/TTL.
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-10-13 13:53:02 +01:00
Marcin Tojek
2a4ac2a53c
feat: expose user seat limits as Prometheus metrics ( #10169 )
2023-10-13 08:10:16 +00:00
Eric Paulsen
570f963aea
clarify external auth regex ( #10243 )
...
* docs: clarify external auth regex
* cleanup
2023-10-13 04:27:12 +00:00
Kayla Washburn
5fc9ff29d1
docs: mention /icons in the template documentation ( #10230 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-10-12 15:32:23 -06:00
Steven Masley
88605b9d01
chore: add display name to member role ( #10239 )
...
* chore: add display name to member role
* Do not let member role be assignable
* Ignore org member role for assignability atm
2023-10-12 10:52:32 -05:00
Cian Johnston
e5198a25a6
feat(scaletest): annotate scaletest pod when scaletest is in progress ( #10235 )
...
This PR modifies the scaletest-runner template to add a pod annotation to the scaletest runner pod.
The annotation key is set to com.coder.scaletest.phase and the annotation value is one of preparing, running, or complete.
This will allow checking if a scaletest is in progress, and preventing any operations that would interrupt a running scaletest.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-10-12 14:36:15 +01:00
Mathias Fredriksson
782c22a293
test(coderd/database/dbtestutil): allow access to *sql.DB ( #10238 )
2023-10-12 15:07:16 +03:00
Mathias Fredriksson
7df40b85f2
chore(coderd/coderdtest): use testing.TB for use in benchmarks ( #10237 )
2023-10-12 15:03:16 +03:00
Cian Johnston
1e75762cb4
fix(cli): scaletest: create-worksapces: remove invalid character for kubernetes provider in implicit plan ( #10228 )
2023-10-12 09:21:40 +01:00
Muhammad Atif Ali
3adf86b608
chore(dogfood): use coder_extrenal_auth over deprecated coder_git_auth ( #10208 )
...
@kylecarbs does this need any changes on the Coder server?
For example adopting to the new `CODER_EXTERNAL_AUTH_X` variables?
2023-10-12 10:30:00 +03:00
dependabot[bot]
5f0457f160
chore: bump golang.org/x/net from 0.16.0 to 0.17.0 ( #10232 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 21:43:59 -05:00
Michael Smith
9bf3b35bbf
fix: update create workspace button to recognize template names+display names ( #10233 )
...
* fix: only used 'unnamed' as a last resort for templates
* fix: update filter logic to read from name field
2023-10-12 00:23:45 +00:00
Kayla Washburn
6ef1beec13
chore: recrop some icons for more consistent sizing ( #10229 )
2023-10-11 15:59:47 -06:00
Asher
a9077812e2
fix: use UTF-8 encoding with screen ( #10190 )
...
This will make characters like ❯ and ⇣ work, for example.
2023-10-11 13:25:04 -08:00
Asher
a67a5a8105
Prevent terminal being created twice ( #10200 )
...
I missed this in code review.
2023-10-11 12:47:32 -08:00
Bruno Quaresma
301c045aad
chore(site): remove create workspace xservice ( #10217 )
...
* Move xstate transitions to provider
* Centrlize auth logic in the provider
* Remove actor
* Remove auth xservice
* Add loader while AuthProvider is loading
* Simplify and fix a few computed states
* Add a few replaces
* Fix logout
* Remove unused import
* Fix RequireAuth test
* Fix wait loader
* Fix tests
* Remove unecessary type
* Rename workspace queries module
* Remove auto create from workspace xservice
* Move external auth into its own hook
* Remove permissions fetching from templateByName query
* Remove form load from service
* Remove create workspace service entirely
* refactor: update workspace automation to use useEffectEvent
---------
Co-authored-by: Parkreiner <michaelsmith@coder.com >
Co-authored-by: Michael Smith <throwawayclover@gmail.com >
2023-10-11 20:42:25 +00:00
Bruno Quaresma
5be4b12378
chore(site): refactor AuthProvider to not use authXService ( #10184 )
...
* Move xstate transitions to provider
* Centrlize auth logic in the provider
* Remove actor
* Remove auth xservice
* Add loader while AuthProvider is loading
* Simplify and fix a few computed states
* Add a few replaces
* Fix logout
* Remove unused import
* Fix RequireAuth test
* Fix wait loader
* Fix tests
* Wrap signout with callback
2023-10-11 16:13:32 -04:00
Kira Pilot
7c6687813d
fix(site): ensure empty string error shows default message ( #10196 )
...
* fix(site): ensure empty string error shows default message
* added test
* added logging
* asserting axios message
* cleanup and add test
2023-10-11 13:54:58 -04:00
Cian Johnston
59ae69b7f2
chore(enterprise/cli): fix test flake in TestServerDBCrypt ( #10222 )
...
* increase randomness in names generated by server dbcrypt
* more randomness
* close PTYs when we are done with them
2023-10-11 17:38:20 +01:00
Ben Potter
04e67836a5
docs: add v2.3.0 changelog ( #10221 )
...
* docs: add v2.3.0 changelog
* mention archive version
2023-10-11 11:05:53 -05:00
Cian Johnston
98a076fb46
chore(pty/ptytest): add sync.Once to close ( #10220 )
2023-10-11 16:47:02 +01:00
Steven Masley
ac623b4717
feat: implement basic archive ui to make archiving failed versions easy ( #10182 )
...
* feat: implement basic archive ui to make archiving failed versions easy.
2023-10-11 15:06:10 +00:00
Steven Masley
1e950fa9a8
feat: archive template versions to hide them from the ui ( #10179 )
...
* api + cli implementation
2023-10-11 09:26:22 -05:00
Bruno Quaresma
edbd51955c
chore(site): fix inconsistent fetching results on tests ( #10215 )
2023-10-11 11:17:56 -03:00
Colin Adler
43fa4349d6
chore: move single_tailnet experiment to * ( #10188 )
2023-10-11 08:50:45 -05:00
Mathias Fredriksson
a2cd6640f3
fix(codersdk/agentsdk): improve ctx cancel in agent logs flush, fix test ( #10214 )
...
Fixes #9719
Related #9865
2023-10-11 12:42:30 +00:00
Marcin Tojek
a1ee4d44aa
fix: test: TestSSH_RemoteForward wait for startup script ( #10211 )
2023-10-11 14:17:04 +02:00
Cian Johnston
e829cbf2db
fix(scaletest/dashboard): fix early exit due to validate ( #10212 )
2023-10-11 11:51:06 +00:00
Cian Johnston
ed8092c83d
fix(scaletest/createworkspaces): address race condition between agent closer and cleanup ( #10210 )
2023-10-11 12:10:51 +01:00
Cian Johnston
b3471bd23a
fix(scaletest/dashboard): increase viewport size and handle deadlines ( #10197 )
...
- Set viewport size to avoid responsive mode
- Added way more debug logging
- Added facility to write a screenshot on error in verbose mode.
- Added a deadline for each iteraction of clicking on and waiting for a thing.
2023-10-11 11:10:08 +01:00
Cian Johnston
dc117051e6
chore(docs): update admin/scale.md ( #10168 )
2023-10-11 09:40:43 +01:00
Muhammad Atif Ali
fafecbd9b3
fix(dogfood): fix slackme module source ( #10207 )
...
This was pinned to the branch ref and is no more needed after the branch has been merged.
2023-10-11 08:29:25 +00:00
Spike Curtis
3c43216e99
fix: remove Parallel() call after timeout context ( #10203 )
...
Fixes test flake seen here: https://github.com/coder/coder/runs/17562370632
It's inherently flaky to create a context with a timeout and then later call `t.Parallel()` since it causes the test to wait until all non-parallel tests have completed before resuming execution. By the time execution has resumed, the context may
have expired. The amount of time before resuming is dependent on machine resources and number of test cases, which are inherently variable.
2023-10-11 11:39:15 +04:00
Jon Ayers
4452a1484d
fix: fix log spam related to skipping custom nice scores ( #10206 )
2023-10-11 02:32:50 -05:00
Spike Curtis
7c71053eab
fix: stop leaking User into API handlers unless authorized
...
Fixes an issue where we extracted the `{user}` parameter from the URL and added it to the API Handler context regardless of whether the caller had permission to read the User.
2023-10-11 09:41:14 +04:00
Spike Curtis
fbabb43cbb
fix: ignore spurious node updates while waiting for errors ( #10175 )
...
fixes #9921
2023-10-11 09:22:20 +04:00
Kyle Carberry
b0d2828f9e
fix: append external auth env vars ( #10201 )
2023-10-11 05:17:08 +00:00
Jon Ayers
ec9b480ac0
fix: use is-dormant instead of dormant_at ( #10191 )
2023-10-10 19:00:09 -05:00
Kyle Carberry
652e1a7d43
feat: add slackme module to dogfood ( #10198 )
2023-10-10 22:46:47 +00:00
Dean Sheather
e7d9b8d858
feat: allow prefixes at the beginning of subdomain app hostnames ( #10150 )
2023-10-10 20:02:39 +00:00
Dean Sheather
f48bc33e00
chore: remove cron schedule from quiet hours schedule page ( #10187 )
2023-10-10 19:55:28 +00:00
Jon Ayers
91555c3a85
feat: support configurable web terminal rendering ( #10095 )
...
* feat: support configurable web terminal rendering
- Added a deployment option for configuring web terminal rendering.
Valid values are 'webgl', 'canvas', and 'dom'.
2023-10-10 13:18:02 -05:00
Jon Ayers
05a393cd06
feat: only display license warnings to privileged users ( #10096 )
2023-10-10 12:48:51 -05:00
Colin Adler
7e6b549170
chore: upgrade Terraform to 1.5.7 ( #10186 )
2023-10-10 12:46:59 -05:00
Colin Adler
21e0d540dc
chore: upgrade Go to 1.20.10
...
https://groups.google.com/g/golang-announce/c/iNNxDTCjZvo/m/UDd7VKQuAAAJ?utm_medium=email&utm_source=footer
2023-10-10 12:23:54 -05:00
Kayla Washburn
7ea58eac18
chore: use emotion for styling (pt. 4) ( #10149 )
2023-10-10 10:46:45 -06:00
Colin Adler
00589d6422
chore: fix lint failures
2023-10-10 11:26:53 -05:00
Steven Masley
69d13f1676
chore: add archive column to template versions ( #10178 )
...
* chore: add archive column to template versions
2023-10-10 10:52:42 -05:00
Colin Adler
c11f241622
feat: add --version flag to coder templates pull, default to active version ( #10153 )
...
Fixes https://github.com/coder/coder/issues/9837
2023-10-10 10:20:31 -05:00
Cian Johnston
2506415def
chore(scaletest/templates/scaletest-runner): fix dashboard command invocation, autoscale provisioners ( #10177 )
...
add --retries on kubectl cp
remove --count parameter to scaletest dashboard
scale provisioners up and down
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-10-10 15:33:55 +01:00
Spike Curtis
db8592fa93
chore: refactor workspace conversion to accept ownerName ( #10171 )
...
Refactors workspace conversion to accept the ownerName, rather than a slice of users, since all it does is search the slice for the owner and use the username.
This is in preparation for a fix to `postWorkspacesByOrganization()` that will remove the need to pass the user object.
Also avoids panicing if the required user is not in the slice, since `findUser` could return nil in the old code, which would then get dereferenced for the username.
2023-10-10 16:55:28 +04:00
Bruno Quaresma
19400d6794
fix(site): fix week range for insights ( #10173 )
2023-10-10 09:33:46 -03:00
Spike Curtis
b780bff429
chore: drop unused redirectToLoginOnMe parameter ( #10164 )
...
The parameter seems to be vestigial from an earlier use of the middleware, but is always set to `false` in the code.
2023-10-10 16:13:00 +04:00
Michael Smith
5ae6cda89f
feat: add warning message when trying to delete active template ( #10142 )
...
* refactor: clean up TemplatePageHeader
* chore: add react query configs for workspace lists
* feat: add delete-intercept functionality
* refactor: improve readability
* refactor: rename entities for readability/accuracy
* refactor: clean up variable names again
* refactor: remove redudant function calls
* fix: update logic check for safe deletions
* fix: update workspaces query logic
* fix: update call site for workspaces key
2023-10-10 08:04:54 -04:00
Spike Curtis
78b9201b31
chore: move AsSystemRestricted to caller ( #10163 )
...
Moves escalation to SystemRestricted out of the function that queries the database for the User. This is in prepartion for a refactor such that we don't need SystemRestricted in `ExtractUserParam` middleware.
2023-10-10 15:57:51 +04:00
Spike Curtis
8a47262faf
fix: ignore logged errors in TestWorkspaceAgent/Timeout
...
fixes #10167
Annoyingly, there isn't a good way to stop the publish from being sent on shutdown, and subscribing to them in the test is too fragile because empty messages are sent in a bunch of places, so we can't reliably tell it's regarding timeouts.
2023-10-10 15:45:47 +04:00
Spike Curtis
a0485c00ac
chore: refactor ExtractUserParam to call function
...
Refactors `ExtractUserParam` to separate the part that actually obtains the user from the database and the part that sets it on the middleware context. This is in preparation for further refactor that removes `ExtractUserParam` middleware from
`organizations/{organization}/members/{user}` paths.
2023-10-10 15:00:53 +04:00
Cian Johnston
c83af5e627
chore(cli): add linter to detect potential spurious usage of owner user in cli tests ( #10133 )
...
* Detects the following pattern where the CLI is initialized with a client authenticated as the "first user":
client := coderdtest.New(t, ...)
[...]
user := coderdtest.CreateFirstUser(t, client)
[...]
clitest.SetupConfig(t, client, root)
* Updates documentation regarding role permissions on workspaces.
2023-10-10 11:14:20 +01:00
dependabot[bot]
017d7e9dad
chore: bump github.com/prometheus/client_model to 0.5.0 ( #10129 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 12:33:32 +03:00
Spike Curtis
211718f95a
fix: fix MaliciousTar test case ( #10158 )
...
fixes #9895
Problem was that provisionerd tries to acquire the next job, and races with shutdown, triggering the assert in the handler. Switches this test case to use the more robust handler.
2023-10-10 13:24:43 +04:00
Marcin Tojek
f36fba2486
fix: revert: use CRC32 to shorten app subdomain
...
This reverts commit 0e28397c82 .
2023-10-10 18:12:46 +10:00
Spike Curtis
b039dc6989
fix: correct escaping in test regex ( #10138 )
...
Fixes regex escaping. Spotted during a code read.
2023-10-10 08:42:39 +04:00
Kyle Carberry
9c098b218f
feat: allow external auth providers to expose extra metadata ( #10157 )
2023-10-09 23:02:16 -05:00
Kyle Carberry
3eb9a43190
fix: use query to get external-auth by id ( #10156 )
2023-10-09 22:25:50 -05:00
Kyle Carberry
a61f8ee45c
fix: apply default ExtraTokenKeys to oauth ( #10155 )
2023-10-09 22:11:05 -05:00
Kyle Carberry
863c2e7b64
feat: allow storing extra oauth token properties in the database ( #10152 )
2023-10-09 18:49:30 -05:00
Kyle Carberry
35538e1051
feat: add external-auth cli ( #10052 )
...
* feat: add `external-auth` cli
* Add subcommands
* Improve descriptions
* Add external-auth subcommand
* Fix docs
* Fix gen
* Fix comment
* Fix golden file
2023-10-09 23:04:35 +00:00
Colin Adler
20438ae6c2
chore: run go mod tidy
2023-10-09 15:10:46 -05:00
Kayla Washburn
42fb6cab12
chore: add icons for popular programming languages ( #10141 )
2023-10-09 13:52:06 -06:00
dependabot[bot]
cb3b617ee9
ci: bump the github-actions group with 2 updates ( #10131 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:39:40 +03:00
dependabot[bot]
af63909134
chore: bump google.golang.org/api from 0.143.0 to 0.145.0 ( #10130 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:39:29 +03:00
dependabot[bot]
583d44e60e
chore: bump the golang-x group with 6 updates ( #10128 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:39:13 +03:00
Kayla Washburn
1cdc62b332
chore: reorganize storybook ( #10144 )
2023-10-09 13:26:38 -06:00
Kyle Carberry
54648b90ca
fix: properly trim spaces so multi-line shebang executes ( #10146 )
2023-10-09 19:19:57 +00:00
Colin Adler
3bbfcc593e
feat: add request_id to HTTP trace spans ( #10145 )
2023-10-09 14:05:10 -05:00
Muhammad Atif Ali
2881b8b252
chore: add vault icon ( #10125 )
2023-10-09 18:25:07 +00:00
Spike Curtis
b9c7bc4d3c
fix: check for nil pointer in AwaitWorkspaceAgents
...
CompletedAt is a pointer and can be nil, need to check before calling IsZero() on it
c.f. https://github.com/coder/coder/runs/17534657301
2023-10-09 22:12:28 +04:00
Bruno Quaresma
584a2e87c9
chore(site): remove create template xservice ( #10112 )
2023-10-09 14:10:48 -03:00
Spike Curtis
54fd350913
feat: improve logging for speedtest connections
...
part of #7963
improve connection logging for speedtest connections
2023-10-09 20:48:28 +04:00
Colin Adler
9e622d00a6
feat(cli): add coder users delete command ( #10115 )
2023-10-09 11:47:57 -05:00
Spike Curtis
24c80bf532
fix: remove AwaitWorkspaceAgents in goroutines
...
AwaitWorkspaceAgent calls testify.require which isn't allowed from a goroutine and causes cascading failures in the test suite such as: https://github.com/coder/coder/actions/runs/6458768855/job/17533163316
I don't believe these functions serve a direct purpose since nothing else is "waiting" for the functions to return before doing other things.
2023-10-09 20:37:23 +04:00
Spike Curtis
17e889af16
feat: improve logging for reconnectingPTY connections
...
part of #7963
improves connection logging on reconnectingPTY
2023-10-09 20:35:50 +04:00
Kyle Carberry
b402f2a816
feat: add shebang support to scripts ( #10134 )
...
This enables much greater portability!
2023-10-09 10:57:57 -05:00
Kayla Washburn
17869ecb74
feat: select icons from emoji picker ( #10119 )
2023-10-09 09:50:24 -06:00
Kayla Washburn
bda68b143a
feat: add /icons page ( #10093 )
2023-10-09 09:49:26 -06:00
Spike Curtis
236e84c4d6
feat: add logging for forwarded TCP connections
...
part of #7963
log TCP connections as they are forwarded by gVisor
2023-10-09 19:41:26 +04:00
Kira Pilot
791144ddfd
feat(site): disable rich parameters when using open in coder ( #10114 )
...
* feat(site): disable rich parameters when using open in coder
* updated docs
* chore(site): increase refetch interval for deployment health
* Revert "chore(site): increase refetch interval for deployment health"
This reverts commit 8e642be3fb .
2023-10-09 09:47:22 -04:00
Cian Johnston
5673aca408
feat(cli): add --parameter flag to exp scaletest command ( #10132 )
2023-10-09 14:08:24 +01:00
Marcin Tojek
c6cf719f6c
feat: show user limit on active users chart ( #10101 )
2023-10-09 13:38:41 +02:00
Michael Smith
38bb854c8b
fix: update ErrorDialog logic and tests ( #10111 )
...
* fix: make error text less naggy
* fix: make input colors sync with confirmation text state
* fix: more color sync fixes
* fix: remove flaky warning messages in test
* fix: remove needless braces
* refactor: clean up code
* refactor: clean up code more
2023-10-06 19:40:37 -04:00
Kayla Washburn
ae113179b3
chore: alias react-query ( #10118 )
2023-10-06 17:15:03 -06:00
Kira Pilot
da47ac87db
chore(site): increase refetch interval for deployment health ( #10117 )
2023-10-06 16:26:46 -04:00
Colin Adler
19dbf19177
fix(coder): properly check for missing organization membership
...
Fixes a possible panic introduced in https://github.com/coder/coder/pull/9781 .
2023-10-06 14:57:21 -05:00
Kayla Washburn
71ad5909f2
chore: add icons.json file ( #10085 )
2023-10-06 13:46:37 -06:00
Colin Adler
36f3151b71
fix(enterprise/tailnet): properly detect legacy agents ( #10083 )
2023-10-06 16:49:26 +00:00
Colin Adler
03a7d2f70b
chore: fix servertailnet test flake ( #10110 )
...
https://github.com/coder/coder/actions/runs/6424100765/job/17444018788?pr=10083#step:5:771
2023-10-06 11:31:53 -05:00
Kyle Carberry
2d2bea79a7
fix: convert the new dashboard theme to be an experiment ( #10108 )
2023-10-06 09:46:52 -05:00
Kyle Carberry
69b65693c9
fix: make the dark mode a bit less dark ( #10107 )
...
We got feedback from our Discord that it was a bit too dark,
so this brightens it up a little!
2023-10-06 14:09:21 +00:00
Kyle Carberry
23425d36a1
fix: invert the favicon on dark mode ( #10097 )
2023-10-06 07:55:11 -05:00
Spike Curtis
983e8c3ae8
feat: add API support for workspace automatic updates ( #10099 )
...
* Added automatic_updates to workspaces table
Signed-off-by: Spike Curtis <spike@coder.com >
* Queries and API updates
Signed-off-by: Spike Curtis <spike@coder.com >
* Golden files
Signed-off-by: Spike Curtis <spike@coder.com >
* Enable automatic updates on autostart
Signed-off-by: Spike Curtis <spike@coder.com >
* db migration number
Signed-off-by: Spike Curtis <spike@coder.com >
* fix imports and ts mock
Signed-off-by: Spike Curtis <spike@coder.com >
* code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-10-06 13:27:12 +04:00
Kyle Carberry
d24d2d2c8d
fix: use proper react hook for favicon theme ( #10094 )
...
I was using `useState` before, which didn't re-render on load.
2023-10-05 18:23:56 -05:00
Bruno Quaresma
127f65c98b
fix(site): fix logo width on sign in ( #10091 )
2023-10-05 17:44:53 -05:00
Kyle Carberry
4ad080c3b9
fix: apply the same border for button groups ( #10092 )
2023-10-05 17:44:45 -05:00
Kyle Carberry
14c8824c83
fix: use proper state in system theme ( #10090 )
2023-10-05 17:32:52 -05:00
Kyle Carberry
fa0a597530
fix: add build status favicons based on system theme ( #10089 )
2023-10-05 22:23:11 +00:00
Kyle Carberry
f270d9d351
feat: make the dashboard darker ( #10084 )
...
* feat: make the dashboard darker
Coder is a the internal software development platform. It is not
designed to be opinionated on colors, but it should look great.
Focusing on neutrality for our default dashboard theme is great
for our ICP. Some organizations may lean towards colors more or
less, and that shouldn't influence their decision when exploring
Coder.
* Make it a lil more dark
* Improve button outline
* Lower the red brightness
* Improve the divider contrast
2023-10-05 16:46:38 -05:00
Bruno Quaresma
04e7748a9b
feat(site): load previous builds ( #10076 )
2023-10-05 18:30:11 -03:00
Kyle Carberry
1eb21d247b
feat: adjust favicon based on system color-scheme ( #10087 )
...
This will still default to light-theme, but support showing
a white favicon when the system-theme is dark.
2023-10-05 16:11:15 -05:00
Bruno Quaresma
a5f8300c76
refactor(site): do not block the screen when disconnected ( #10057 )
...
Close https://github.com/coder/coder/issues/9858
Demo:
https://github.com/coder/coder/assets/3165839/d6d4d2d7-487a-4739-86c9-042242d9820f
2023-10-05 18:06:26 -03:00
Michael Smith
2d6c4fe90a
feat(site): add WorkspacesButton component ( #10011 )
...
* chore: Add OverflowY component
* chore: Add PopoverContainer component
* chore: Add SearchBox
* feat: add WorkspacesButton
* chore: Install MUI utils package
* chore: integrate WorkspacesButton
* chore: reorganize files
* fix: resolve hover state visual glitch
* chore: Add story for OverflowY
* fix: remove dynamic name from OverflowY story
* chore: update stories again
* fix: remove all references to icons (for now)
* refactor: move flex shrink to be OverflowY concern
* fix: remove needless render key
* fix: make sure popover closes before navigation
* refactor: clean up WorkspacesButton to use more native MUI
* fix: update integration into rest of view
* fix: remove JS security concern
* refactor: parameterize button language
* revert: undo sql/go file change
* fix: remove permissions dependency
* fix: simplify button prop types
* fix: lift data dependencies to page component
* refactor: clean up props
* fix: update dependencies again for Storybook
2023-10-05 20:46:42 +00:00
Kyle Carberry
ad47ef17e8
feat: allow reading the agent token from a file ( #10080 )
...
Adds `CODER_AGENT_TOKEN_FILE` which will read the agent token from
a file if `CODER_AGENT_TOKEN` is not provided. Using a Kubernetes
Secret with a volume-mounted file is a more secure way to provide
the agent token instead of an environment variable.
2023-10-05 15:41:05 -05:00
Jon Ayers
eb4826a11f
chore: remove workspace_actions experiment ( #10030 )
2023-10-05 14:18:35 -05:00
Kayla Washburn
3c87c4df1b
feat: show descriptions for parameter options ( #10068 )
2023-10-05 13:14:28 -06:00
Jon Ayers
b32d79ef0b
fix: fix failed workspaces continuously auto-deleting ( #10069 )
...
- Fixes an issue where workspaces that are eligible for auto-deletion
are retried every tick (1 minute) even if the previous deletion
transition failed.
The updated logic only attempts to delete workspaces that previously
failed once a day (24 hours since last attempt).
2023-10-05 14:11:39 -05:00
Jon Ayers
91265678ad
chore: add auditing to workspace dormancy ( #10070 )
...
- Adds an audit log for workspaces automatically transitioned to the dormant
state.
- Imposes a mininum of 1 minute on cleanup-related fields. This is to
prevent accidental API misuse from resulting in catastrophe.
2023-10-05 13:41:07 -05:00
Kyle Carberry
888b97fd86
chore: use JobStatus computed from the db ( #10079 )
...
Fixes `main`
2023-10-05 18:25:06 +00:00
Kayla Washburn
246dae0e1a
chore: use emotion for styling (pt. 3) ( #10026 )
2023-10-05 10:49:44 -06:00
Kayla Washburn
f001a57614
fix: only allow promoting successful template versions ( #9998 )
2023-10-05 10:49:25 -06:00
Mathias Fredriksson
48ee80a559
fix(cli): prevent sqlDB leaks in ConnectToPostgres ( #10072 )
2023-10-05 17:57:48 +03:00
Mathias Fredriksson
5d5a7da67f
fix(scaletest): output error and trace instead of {} for json output ( #10075 )
2023-10-05 13:31:54 +00:00
Marcin Tojek
ab9276bd08
feat: modify workspace_agent_stats index ( #10073 )
2023-10-05 14:49:08 +02:00
Colin Adler
30440915bc
chore: add mod replace wireguard-go to fix race condition ( #10071 )
...
Fixes https://github.com/coder/coder/issues/10045
2023-10-04 23:47:01 -05:00
Steven Masley
5021e23105
chore: compute job status as column ( #10024 )
...
* chore: provisioner job status as column
* use provisioner job status for workspace searching
2023-10-04 20:57:46 -05:00
Colin Adler
d5040441aa
fix(site): change utils/delay import path ( #10065 )
2023-10-04 17:15:20 -05:00
Kyle Carberry
df8e10cc4c
chore: increase ForceCancelInterval for test flakes ( #10066 )
...
See https://github.com/coder/coder/actions/runs/6411239320/job/17406394658
2023-10-04 21:16:39 +00:00
Kyle Carberry
bca7416069
fix: add --version flag to the root to support migrating customers ( #10063 )
2023-10-04 15:37:15 -05:00
Jon Ayers
1cd4405caf
fix: change alpha badge color to violet ( #10029 )
...
- Makes it less scary.
2023-10-04 15:20:13 -05:00
Bruno Quaresma
03c377b754
fix(site): fix users page for template admins ( #10060 )
...
Fix https://github.com/coder/coder/issues/10053
2023-10-04 17:05:49 -03:00
Bruno Quaresma
a8ed88b22e
fix(site): fix chart label depending on interval ( #10059 )
...
Close https://github.com/coder/coder/issues/10056
2023-10-04 17:05:29 -03:00
Eric Paulsen
1076d16456
docs: update offline tf provider config ( #10062 )
2023-10-04 15:40:09 -04:00
Kyle Carberry
fd06b7f7a0
fix: allow all environment variables to fallback prefix to HOMEBREW_ ( #10050 )
...
See the customer use-case in the code docs.
2023-10-04 18:57:49 +00:00
Kyle Carberry
252ec14556
fix: update the validation url for github enterprise ( #10061 )
...
This was wrong... not sure why.
2023-10-04 18:49:40 +00:00
Kyle Carberry
7f9b4ad9a8
fix: allow auditors to query deployment stats and insights ( #10058 )
...
This is a customer request.
2023-10-04 18:37:25 +00:00
Bruno Quaresma
516b88dc25
fix(site): disable auto fields when they are disabled in the template settings ( #10022 )
...
- Disable form inputs
- Add disable badge + tooltip with more info
<img width="1679" alt="Screen Shot 2023-10-03 at 14 20 26" src="https://github.com/coder/coder/assets/3165839/7555eb77-19d9-4a13-965e-6d40c3b852dd ">
Fix https://github.com/coder/coder/issues/9820
2023-10-04 15:00:09 -03:00
Ben Potter
46551e619d
docs: add v2.2.1 changelog ( #10055 )
...
* fix external auth link
* chore v2.2.1 changelog
2023-10-04 17:02:14 +00:00
Kyle Carberry
64692f0b69
chore: update docs for external-auth ( #10046 )
2023-10-04 11:38:41 -05:00
Kyle Carberry
defef4671c
fix: silence bash deprecation warning on macOS runners ( #10051 )
...
See https://github.com/coder/coder/actions/runs/6407839577/job/17395535790?pr=10050
2023-10-04 15:36:27 +00:00
Cian Johnston
2c2e98cc39
fix(coderd): fetch workspace agent scripts and log sources using system auth ctx ( #10043 )
...
* add failing unit test
* fetch log sources and agent scripts using system auth ctx
2023-10-04 15:50:51 +01:00
Kyle Carberry
8e44dce5b3
chore: fix external-auth.mp4 docs video ( #10048 )
2023-10-04 14:39:13 +00:00
Bruno Quaresma
6651aff57b
feat(site): add user activity on template insights ( #10013 )
...
Close https://github.com/coder/coder/issues/9497
https://github.com/coder/coder/assets/3165839/941e268c-6c06-47ae-b57d-665e01e804b0
2023-10-04 11:37:47 -03:00
Kyle Carberry
b468415a81
chore: revert docs for git-auth until release ( #10044 )
2023-10-04 14:33:28 +00:00
Bruno Quaresma
5e0cb372b4
fix(site): fix orphan values on insights ( #10036 )
2023-10-04 10:16:59 -03:00
Cian Johnston
2405bbe1b9
fix(coderd/database/dbtestutil): fix typo in pgDump ( #10033 )
2023-10-04 13:21:45 +01:00
Michael Smith
c7218b40c9
docs: update frontend contribution docs ( #10028 )
...
* docs: update frontend contribution docs
* fix: update docs formatting
2023-10-04 08:11:07 -04:00
Colin Adler
4ab52766d2
feat: add --net-admin option to install script ( #9953 )
2023-10-03 23:01:46 +00:00
Colin Adler
39846d69d3
feat: modify agent install script to give CAP_NET_ADMIN if available ( #9908 )
2023-10-03 17:34:29 -05:00
timquinlan
2a19b46ab7
update to gateway offline install docs, 2 typos, 2 command additions ( #10027 )
2023-10-03 17:58:26 -04:00
dependabot[bot]
6322e13046
chore: bump postcss from 8.4.27 to 8.4.31 in /site ( #10019 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 00:28:54 +03:00
Bruno Quaresma
efdbb6f9e6
fix(site): remove 48 week option ( #10025 )
2023-10-03 18:25:03 -03:00
Kayla Washburn
e6aeee2ba2
feat: warn users when renaming workspaces ( #10023 )
2023-10-03 15:04:34 -06:00
dependabot[bot]
4df5c1ddec
chore: bump the alpine image from 3.18.3 to 3.18.4 in Dockerfile.base ( #9993 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 14:09:50 -05:00
Bruno Quaresma
bdb9954f87
feat(site): add support for weekly data on template insights ( #9997 )
...
Close https://github.com/coder/coder/issues/9495
2023-10-03 15:14:11 -03:00
Bruno Quaresma
e7042e601c
fix(site): fix navbar hover ( #10021 )
2023-10-03 14:10:51 -03:00
Kayla Washburn
c194119689
chore: rename AwaitTemplateVersionJobCompleted and AwaitWorkspaceBuildJobCompleted ( #10003 )
2023-10-03 11:02:56 -06:00
Kayla Washburn
4b97ac269b
chore: refactor Pill styles ( #10004 )
2023-10-03 10:47:28 -06:00
Kyle Carberry
5e3bf275da
chore: check for valid regex in git auth configs ( #10020 )
2023-10-03 16:45:07 +00:00
Ammar Bandukwala
70a4e56c01
ci: switch to M1 runners
...
ci: switch to M1 runners
Per
https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/ ,
we should see large performance improvements.
2023-10-03 10:54:20 -05:00
Kyle Carberry
f16eb1331f
chore: update multiple git providers docs ( #10017 )
...
* chore: update multiple git providers docs
* Improve var name
* Fix fmt
2023-10-03 15:27:02 +00:00
Kyle Carberry
eeab33b1c3
fix: do not require client_secret for external auth providers ( #10016 )
...
Device-based auth does not need a client secret.
2023-10-03 14:29:34 +00:00
Cian Johnston
9aac15212b
fix(cli): remove exp scaletest from slim binary ( #9934 )
...
- Removes the `exp scaletest` command from the slim binary
- Updates scaletest-runner template to fetch the full binary from the running Coder instance
2023-10-03 15:13:04 +01:00
Kyle Carberry
45b53c285f
feat: allow external services to be authable ( #9996 )
...
* feat: allow external services to be authable
* Refactor external auth config structure for defaults
* Add support for new config properties
* Change the name of external auth
* Move externalauth -> external-auth
* Run gen
* Fix tests
* Fix MW tests
* Fix git auth redirect
* Fix lint
* Fix name
* Allow any ID
* Fix invalid type test
* Fix e2e tests
* Fix comments
* Fix colors
* Allow accepting any type as string
* Run gen
* Fix href
2023-10-03 14:04:39 +00:00
Marcin Tojek
f62f45a303
feat!: add sections parameter to template insights ( #10010 )
2023-10-03 15:44:50 +02:00
Marcin Tojek
cb60409a8c
feat: add index to workspace_agent_stats ( #10009 )
2023-10-03 11:13:44 +00:00
dependabot[bot]
cc2772c646
chore: bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 ( #9989 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 13:12:06 +03:00
Cian Johnston
e55c25e037
chore: enable exhaustruct linter for database param structs ( #9995 )
2023-10-03 09:23:45 +01:00
Muhammad Atif Ali
352ec7bc4f
chore(dogfood): rename project_directory to folder ( #10008 )
2023-10-03 07:11:58 +00:00
Monika Pawluczuk
4966ef02cf
feat(cli): add reverse tunnelling SSH support for unix sockets ( #9976 )
2023-10-03 16:39:39 +10:00
Muhammad Atif Ali
465546eefd
chore(dogfood): open vscode desktop in coder repo directory ( #9999 )
2023-10-03 08:55:25 +03:00
Eric Paulsen
3980dbd029
docs: add support to enterprise features ( #10005 )
2023-10-02 21:25:05 -05:00
Bruno Quaresma
9e1e365b32
chore(site): remove user search service ( #9939 )
2023-10-02 15:24:28 -03:00
Bruno Quaresma
42e25740eb
chore(site): remove users and pagination services ( #9932 )
2023-10-02 15:10:51 -03:00
Kayla Washburn
885b2502ed
chore: replace <ChooseOne> with alternatives when appropriate ( #9907 )
2023-10-02 10:51:35 -06:00
Kayla Washburn
148fa819ae
chore: use emotion for styling (pt. 2) ( #9951 )
2023-10-02 10:48:11 -06:00
dependabot[bot]
fabcc41a6b
chore: bump @types/node from 18.17.0 to 18.18.1 in /offlinedocs ( #9971 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.17.0 to 18.18.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 10:06:59 -05:00
dependabot[bot]
6452008e32
chore: bump github.com/sqlc-dev/pqtype from 0.2.0 to 0.3.0 ( #9991 )
...
Bumps [github.com/sqlc-dev/pqtype](https://github.com/sqlc-dev/pqtype ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/sqlc-dev/pqtype/releases )
- [Commits](https://github.com/sqlc-dev/pqtype/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/sqlc-dev/pqtype
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 10:06:50 -05:00
dependabot[bot]
f694204773
chore: bump @types/node from 18.17.0 to 18.18.1 in /site ( #9967 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.17.0 to 18.18.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 10:38:26 -04:00
dependabot[bot]
0a54506940
chore: bump the otel group with 3 updates ( #9988 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 14:27:21 +00:00
dependabot[bot]
f802fba89e
chore: bump github.com/open-policy-agent/opa from 0.56.0 to 0.57.0 ( #9992 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 14:15:58 +00:00
dependabot[bot]
89c2938b20
chore: bump google.golang.org/api from 0.142.0 to 0.143.0 ( #9990 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 17:02:51 +03:00
dependabot[bot]
06411b8b17
ci: bump the github-actions group with 2 updates ( #9994 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 17:02:41 +03:00
Marcin Tojek
57909e0c72
site(e2e): wait for empty workspaces ( #9987 )
2023-10-02 11:53:44 +00:00
Mathias Fredriksson
4b0565c895
feat(scaletest): add service banner status for runner ( #9945 )
2023-10-02 14:37:38 +03:00
Mathias Fredriksson
e6d2ddb54b
feat(scaletest): add apps to scaletest template ( #9944 )
2023-10-02 14:37:16 +03:00
Muhammad Atif Ali
1a07ee0b16
chore(site): make name bold in delete dialog
...
This makes the name bold in delete dialog and makes it readable.
<img width="439" alt="Screenshot 2023-09-24 at 03 30 55" src="https://github.com/coder/coder/assets/10648092/b97e634b-c7c8-4300-b78c-8091b3f2c9f0 ">
Edit: Tests are passed. thanks @aslilac
2023-10-02 13:57:21 +03:00
Cian Johnston
1c48610d56
feat(scaletest/dashboard): integrate chromedp ( #9927 )
...
* Adds a set of actions to automatically interact with a Coder instance using chromedp
* Integrates the chromedp actions into the scaletest dashboard command,
* Re-enables the previously disabled unit tests for scaletest/dashboard
* Removes previous dashboard actions based around codersdk
2023-10-02 10:40:17 +01:00
Muhammad Atif Ali
1906cc4806
Revert "chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #9965 )" ( #9981 )
...
This reverts commit 81a046e0a9 .
2023-10-02 09:56:35 +02:00
dependabot[bot]
81a046e0a9
chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #9965 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 10:31:56 +03:00
dependabot[bot]
247eeab3c8
chore: bump next from 13.4.12 to 13.5.3 in /offlinedocs ( #9972 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 09:22:15 +03:00
dependabot[bot]
52b16f0622
chore: bump the eslint group in /site with 1 update
...
Bumps the eslint group in /site with 1 update: [eslint](https://github.com/eslint/eslint ).
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases ">eslint's releases</a>.</em></p>
<blockquote>
<h2>v8.50.0</h2>
<h2>Features</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0 "><code>27d5a9e</code></a> feat: add suggestions to array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17590 ">#17590</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f "><code>f9082ff</code></a> feat: flat-rule-tester make sure default config always matches (<a href="https://redirect.github.com/eslint/eslint/issues/17585 ">#17585</a>) (fnx)</li>
<li><a href="https://github.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc "><code>83914ad</code></a> feat: Implement SourceCode#applyInlineConfig() (<a href="https://redirect.github.com/eslint/eslint/issues/17351 ">#17351</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/22a558228ff98f478fa308c9ecde361acc4caf20 "><code>22a5582</code></a> feat: add rule <code>no-object-constructor</code>, deprecate <code>no-new-object</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17576 ">#17576</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/85a3d9e967b19cb4a0189746499d81ef2f93e14e "><code>85a3d9e</code></a> feat: allowVoid option in array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17564 ">#17564</a>) (Tanuj Kanti)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a "><code>cc4d26b</code></a> fix: Ensure deprecated context.parserServices warns (<a href="https://redirect.github.com/eslint/eslint/issues/17593 ">#17593</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b "><code>1ea4cfb</code></a> fix: Ensure all RuleTester tests all deprecated context methods (<a href="https://redirect.github.com/eslint/eslint/issues/17587 ">#17587</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/aa1b657a9febcd03e9298c03ae2888762795e322 "><code>aa1b657</code></a> fix: wrong suggestion and message in <code>no-misleading-character-class</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17571 ">#17571</a>) (Yosuke Ota)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0 "><code>1800537</code></a> docs: Fix and standardize JSX code examples (<a href="https://redirect.github.com/eslint/eslint/issues/17591 ">#17591</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/48a44a73ac456739bdee348bbaf1840d2b1e4830 "><code>48a44a7</code></a> docs: Add correct/incorrect tags to <code>prefer-arrow-callback</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17589 ">#17589</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/20893d48b9012f2b61bbbfeac8bee70d68d90e5e "><code>20893d4</code></a> docs: fix incorrect tag's place (<a href="https://redirect.github.com/eslint/eslint/issues/17575 ">#17575</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/bd7a71fd6b7efb0445393304e2d48c5c06d46a45 "><code>bd7a71f</code></a> docs: Update README (GitHub Actions Bot)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3 "><code>f8a8a2d</code></a> chore: upgrade <code>@eslint/js</code><a href="https://github.com/8 "><code>@8</code></a>.50.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17599 ">#17599</a>) (Milos Djermanovic)</li>
<li><a href="https://github.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce "><code>38ada6d</code></a> chore: package.json update for <code>@eslint/js</code> release (ESLint Jenkins)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md ">eslint's changelog</a>.</em></p>
<blockquote>
<p>v8.50.0 - September 22, 2023</p>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3 "><code>f8a8a2d</code></a> chore: upgrade <code>@eslint/js</code><a href="https://github.com/8 "><code>@8</code></a>.50.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17599 ">#17599</a>) (Milos Djermanovic)</li>
<li><a href="https://github.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce "><code>38ada6d</code></a> chore: package.json update for <code>@eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="https://github.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0 "><code>27d5a9e</code></a> feat: add suggestions to array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17590 ">#17590</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f "><code>f9082ff</code></a> feat: flat-rule-tester make sure default config always matches (<a href="https://redirect.github.com/eslint/eslint/issues/17585 ">#17585</a>) (fnx)</li>
<li><a href="https://github.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc "><code>83914ad</code></a> feat: Implement SourceCode#applyInlineConfig() (<a href="https://redirect.github.com/eslint/eslint/issues/17351 ">#17351</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a "><code>cc4d26b</code></a> fix: Ensure deprecated context.parserServices warns (<a href="https://redirect.github.com/eslint/eslint/issues/17593 ">#17593</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b "><code>1ea4cfb</code></a> fix: Ensure all RuleTester tests all deprecated context methods (<a href="https://redirect.github.com/eslint/eslint/issues/17587 ">#17587</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0 "><code>1800537</code></a> docs: Fix and standardize JSX code examples (<a href="https://redirect.github.com/eslint/eslint/issues/17591 ">#17591</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/22a558228ff98f478fa308c9ecde361acc4caf20 "><code>22a5582</code></a> feat: add rule <code>no-object-constructor</code>, deprecate <code>no-new-object</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17576 ">#17576</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/48a44a73ac456739bdee348bbaf1840d2b1e4830 "><code>48a44a7</code></a> docs: Add correct/incorrect tags to <code>prefer-arrow-callback</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17589 ">#17589</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/aa1b657a9febcd03e9298c03ae2888762795e322 "><code>aa1b657</code></a> fix: wrong suggestion and message in <code>no-misleading-character-class</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17571 ">#17571</a>) (Yosuke Ota)</li>
<li><a href="https://github.com/eslint/eslint/commit/20893d48b9012f2b61bbbfeac8bee70d68d90e5e "><code>20893d4</code></a> docs: fix incorrect tag's place (<a href="https://redirect.github.com/eslint/eslint/issues/17575 ">#17575</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/85a3d9e967b19cb4a0189746499d81ef2f93e14e "><code>85a3d9e</code></a> feat: allowVoid option in array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17564 ">#17564</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/bd7a71fd6b7efb0445393304e2d48c5c06d46a45 "><code>bd7a71f</code></a> docs: Update README (GitHub Actions Bot)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/299bfae1254f22bd4b3bccd897d6355f63e0d3b6 "><code>299bfae</code></a> 8.50.0</li>
<li><a href="https://github.com/eslint/eslint/commit/212687c36a9e2682b84f5de2b683b025182d9777 "><code>212687c</code></a> Build: changelog update for 8.50.0</li>
<li><a href="https://github.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3 "><code>f8a8a2d</code></a> chore: upgrade <code>@eslint/js</code><a href="https://github.com/8 "><code>@8</code></a>.50.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17599 ">#17599</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce "><code>38ada6d</code></a> chore: package.json update for <code>@eslint/js</code> release</li>
<li><a href="https://github.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0 "><code>27d5a9e</code></a> feat: add suggestions to array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17590 ">#17590</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f "><code>f9082ff</code></a> feat: flat-rule-tester make sure default config always matches (<a href="https://redirect.github.com/eslint/eslint/issues/17585 ">#17585</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc "><code>83914ad</code></a> feat: Implement SourceCode#applyInlineConfig() (<a href="https://redirect.github.com/eslint/eslint/issues/17351 ">#17351</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a "><code>cc4d26b</code></a> fix: Ensure deprecated context.parserServices warns (<a href="https://redirect.github.com/eslint/eslint/issues/17593 ">#17593</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b "><code>1ea4cfb</code></a> fix: Ensure all RuleTester tests all deprecated context methods (<a href="https://redirect.github.com/eslint/eslint/issues/17587 ">#17587</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0 "><code>1800537</code></a> docs: Fix and standardize JSX code examples (<a href="https://redirect.github.com/eslint/eslint/issues/17591 ">#17591</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v8.49.0...v8.50.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-02 08:53:55 +03:00
dependabot[bot]
8af28717a3
chore: bump eslint from 8.49.0 to 8.50.0 in /offlinedocs ( #9970 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 05:46:22 +00:00
dependabot[bot]
d650cf9b8c
chore: bump eslint-config-next from 13.4.10 to 13.5.3 in /offlinedocs ( #9973 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 13.4.10 to 13.5.3.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v13.5.3/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 08:42:11 +03:00
dependabot[bot]
cac677b4ba
chore: bump @octokit/types from 11.1.0 to 12.0.0 in /site ( #9963 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 11:50:36 +00:00
dependabot[bot]
3dc478ad6b
chore: bump ts-proto from 1.158.0 to 1.159.1 in /site ( #9964 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.158.0 to 1.159.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/stephenh/ts-proto/releases ">ts-proto's releases</a>.</em></p>
<blockquote>
<h2>v1.159.1</h2>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.159.0...v1.159.1 ">1.159.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use a Map when map keys are boolean. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/933 ">#933</a>) (<a href="https://github.com/stephenh/ts-proto/commit/c1253a3761405d7a2ffe4d15f4c3ffb364697a02 ">c1253a3</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/926 ">#926</a></li>
</ul>
<h2>v1.159.0</h2>
<h1><a href="https://github.com/stephenh/ts-proto/compare/v1.158.1...v1.159.0 ">1.159.0</a> (2023-09-30)</h1>
<h3>Features</h3>
<ul>
<li>Add globalThisPolyfill, defaults false. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/931 ">#931</a>) (<a href="https://github.com/stephenh/ts-proto/commit/085fa21603a74544af192f404289c2e62ecfd8f6 ">085fa21</a>)</li>
</ul>
<h2>v1.158.1</h2>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.158.0...v1.158.1 ">1.158.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use globalThis for Array/String/Boolean (<a href="https://redirect.github.com/stephenh/ts-proto/issues/930 ">#930</a>) (<a href="https://github.com/stephenh/ts-proto/commit/9a252c3d4cf988496f6de17cc378dbb09a1baf92 ">9a252c3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md ">ts-proto's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.159.0...v1.159.1 ">1.159.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use a Map when map keys are boolean. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/933 ">#933</a>) (<a href="https://github.com/stephenh/ts-proto/commit/c1253a3761405d7a2ffe4d15f4c3ffb364697a02 ">c1253a3</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/926 ">#926</a></li>
</ul>
<h1><a href="https://github.com/stephenh/ts-proto/compare/v1.158.1...v1.159.0 ">1.159.0</a> (2023-09-30)</h1>
<h3>Features</h3>
<ul>
<li>Add globalThisPolyfill, defaults false. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/931 ">#931</a>) (<a href="https://github.com/stephenh/ts-proto/commit/085fa21603a74544af192f404289c2e62ecfd8f6 ">085fa21</a>)</li>
</ul>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.158.0...v1.158.1 ">1.158.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use globalThis for Array/String/Boolean (<a href="https://redirect.github.com/stephenh/ts-proto/issues/930 ">#930</a>) (<a href="https://github.com/stephenh/ts-proto/commit/9a252c3d4cf988496f6de17cc378dbb09a1baf92 ">9a252c3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/stephenh/ts-proto/commit/09e9fa2594431785253a2fc15e66d85e721003e9 "><code>09e9fa2</code></a> chore(release): 1.159.1 [skip ci]</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/c1253a3761405d7a2ffe4d15f4c3ffb364697a02 "><code>c1253a3</code></a> fix: Use a Map when map keys are boolean. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/933 ">#933</a>)</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/ccf54be52d181c341ff310c68665a65fef3ed86d "><code>ccf54be</code></a> chore(release): 1.159.0 [skip ci]</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/085fa21603a74544af192f404289c2e62ecfd8f6 "><code>085fa21</code></a> feat: Add globalThisPolyfill, defaults false. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/931 ">#931</a>)</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/6f856376b103284e2694d3bb7d4471c6b43429f9 "><code>6f85637</code></a> chore(release): 1.158.1 [skip ci]</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/9a252c3d4cf988496f6de17cc378dbb09a1baf92 "><code>9a252c3</code></a> fix: Use globalThis for Array/String/Boolean (<a href="https://redirect.github.com/stephenh/ts-proto/issues/930 ">#930</a>)</li>
<li>See full diff in <a href="https://github.com/stephenh/ts-proto/compare/v1.158.0...v1.159.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:49:04 +03:00
dependabot[bot]
b035c4d88a
chore: bump chromatic from 7.1.0 to 7.2.0 in /site ( #9966 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 7.1.0 to 7.2.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/5366e6b8a73f606cdf48bec69176c090bdaf58c4 "><code>5366e6b</code></a> 7.2.0</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/0749afb68e1da025de47af3204e6ea5062c9c571 "><code>0749afb</code></a> Step package.json back</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/788d8e96f72a95fc69f831fbceab862fd404a6ce "><code>788d8e9</code></a> Merge pull request <a href="https://redirect.github.com/chromaui/chromatic-cli/issues/819 ">#819</a> from chromaui/tom/drop-loggly</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/0967fa81cc4358e3709e4468c5599e1797922c58 "><code>0967fa8</code></a> 7.2.1-canary.0</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/2f9484e733bd09300de76707d24815e08adbaca7 "><code>2f9484e</code></a> No longer log to loggly</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/6f614e64036e02bbb0cec3d9252718de7277acb0 "><code>6f614e6</code></a> 7.2.0-next.1</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/10bc2a32a1db2e5039e117e233f3aba3c6cfe51b "><code>10bc2a3</code></a> 7.2.0-next.0</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/a0b14d8c45f8fc2c50cbb7b944bcddee3a9cf294 "><code>a0b14d8</code></a> Merge pull request <a href="https://redirect.github.com/chromaui/chromatic-cli/issues/814 ">#814</a> from chromaui/tom/ap-3623-add-cli-support-for-a-chrom...</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/a8acc0e8d33180a35846feb8c314d0fe0edfae97 "><code>a8acc0e</code></a> Trying <code>xlarge</code></li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/5af4e277207621d0b379bc272a60972cf1c29eeb "><code>5af4e27</code></a> Try medium resource class</li>
<li>Additional commits viewable in <a href="https://github.com/chromaui/chromatic-cli/compare/v7.1.0...v7.2.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:42:35 +03:00
dependabot[bot]
3d71173e74
chore: bump yup from 1.2.0 to 1.3.2 in /site ( #9968 )
...
Bumps [yup](https://github.com/jquense/yup ) from 1.2.0 to 1.3.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jquense/yup/blob/master/CHANGELOG.md ">yup's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/jquense/yup/compare/v1.3.1...v1.3.2 ">1.3.2</a> (2023-09-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>pick and omit with excluded edges (<a href="https://github.com/jquense/yup/commit/6956ee788369dff00e5ecadb506726af3598a87e ">6956ee7</a>), closes <a href="https://redirect.github.com/jquense/yup/issues/2097 ">#2097</a></li>
</ul>
<h2><a href="https://github.com/jquense/yup/compare/v1.3.0...v1.3.1 ">1.3.1</a> (2023-09-26)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>ValidationError extends Error (<a href="https://github.com/jquense/yup/commit/bc5121b92d8e16baf8fe9b83f0247a4e90e169b8 ">bc5121b</a>)</li>
</ul>
<h1><a href="https://github.com/jquense/yup/compare/v1.2.0...v1.3.0 ">1.3.0</a> (2023-09-23)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>add tuple to locale object (<a href="https://redirect.github.com/jquense/yup/issues/2100 ">#2100</a>) (<a href="https://github.com/jquense/yup/commit/809b55a9c16e0cd567f4eced9b9ab02ad8b0bffa ">809b55a</a>)</li>
<li>performance improvement (<a href="https://redirect.github.com/jquense/yup/issues/2043 ">#2043</a>) (<a href="https://redirect.github.com/jquense/yup/issues/2044 ">#2044</a>) (<a href="https://github.com/jquense/yup/commit/ee1b7317b0a9fc0e16a7d33064c3e5584bd7f2d5 ">ee1b731</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Allow schema metadata to be strongly typed (<a href="https://redirect.github.com/jquense/yup/issues/2021 ">#2021</a>) (<a href="https://github.com/jquense/yup/commit/e593f8f72e7195cf0ac48fa8e1cd82d95c1e6bb5 ">e593f8f</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>Revert "fix: performance improvement (<a href="https://redirect.github.com/jquense/yup/issues/2043 ">#2043</a>) (<a href="https://redirect.github.com/jquense/yup/issues/2044 ">#2044</a>)" (<a href="https://redirect.github.com/jquense/yup/issues/2071 ">#2071</a>) (<a href="https://github.com/jquense/yup/commit/b940eef48eb7456622ae384d0ffa7363d4fbad25 ">b940eef</a>), closes <a href="https://redirect.github.com/jquense/yup/issues/2043 ">#2043</a> <a href="https://redirect.github.com/jquense/yup/issues/2044 ">#2044</a> <a href="https://redirect.github.com/jquense/yup/issues/2071 ">#2071</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jquense/yup/commit/a58f02d2f6164c46a9757a818eebac582f7a441c "><code>a58f02d</code></a> Publish v1.3.2</li>
<li><a href="https://github.com/jquense/yup/commit/2f2c0aa9be6258b763f95e7de076c2dcfbe0cae3 "><code>2f2c0aa</code></a> fix type</li>
<li><a href="https://github.com/jquense/yup/commit/020901fcf3cfb12a38afd90e4fe56e2e37c312a1 "><code>020901f</code></a> Allow parent resolve before describe. (<a href="https://redirect.github.com/jquense/yup/issues/2051 ">#2051</a>)</li>
<li><a href="https://github.com/jquense/yup/commit/6956ee788369dff00e5ecadb506726af3598a87e "><code>6956ee7</code></a> fix: pick and omit with excluded edges</li>
<li><a href="https://github.com/jquense/yup/commit/e15297bb747552e4742bbaa2ecb95aad1c37f918 "><code>e15297b</code></a> Publish v1.3.1</li>
<li><a href="https://github.com/jquense/yup/commit/bc5121b92d8e16baf8fe9b83f0247a4e90e169b8 "><code>bc5121b</code></a> fix: ValidationError extends Error</li>
<li><a href="https://github.com/jquense/yup/commit/9c1208c0685a5a7571ef74c39a08d248100f793f "><code>9c1208c</code></a> Publish v1.3.0</li>
<li><a href="https://github.com/jquense/yup/commit/809b55a9c16e0cd567f4eced9b9ab02ad8b0bffa "><code>809b55a</code></a> fix: add tuple to locale object (<a href="https://redirect.github.com/jquense/yup/issues/2100 ">#2100</a>)</li>
<li><a href="https://github.com/jquense/yup/commit/13ce359c20be195794f22f16a64d633bc28db7f5 "><code>13ce359</code></a> Update README.md (<a href="https://redirect.github.com/jquense/yup/issues/2101 ">#2101</a>)</li>
<li><a href="https://github.com/jquense/yup/commit/1ee9b21c994b4293f3ab338119dc17ab2f4e284c "><code>1ee9b21</code></a> Export Lazy and Reference types (<a href="https://redirect.github.com/jquense/yup/issues/2093 ">#2093</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jquense/yup/compare/v1.2.0...v1.3.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:41:38 +03:00
dependabot[bot]
5b18007311
chore: bump @vitejs/plugin-react from 4.0.1 to 4.1.0 in /site ( #9969 )
...
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) from 4.0.1 to 4.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/releases "><code>@vitejs/plugin-react</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.1.0</h2>
<ul>
<li>Add <code>@types/babel__cores</code> to dependencies (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/211 ">#211</a>)</li>
<li>Improve build perf when not using Babel plugins by lazy loading <code>@babel/core</code> <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/212 ">#212</a></li>
<li>Better invalidation message when an export is added & fix HMR for export of nullish values <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/215 ">#215</a></li>
<li>Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/224 ">#224</a></li>
<li>The build output now contains a <code>index.d.cts</code> file so you don't get types errors when setting <code>moduleResolution</code> to <code>node16</code> or <code>nodenext</code> in your tsconfig (we recommend using <code>bundler</code> which is more close to how Vite works)</li>
</ul>
<h2>v4.0.4</h2>
<ul>
<li>Fix <a href="https://github.com/vitejs/vite-plugin-react/discussions/198 ">#198</a>: Enable Babel if presets list is not empty</li>
</ul>
<h2>v4.0.3</h2>
<ul>
<li>Revert <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/108 ">#108</a>: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.</li>
</ul>
<h2>v4.0.2</h2>
<ul>
<li>Fix fast-refresh for files that are transformed into jsx (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/188 ">#188</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md "><code>@vitejs/plugin-react</code>'s changelog</a>.</em></p>
<blockquote>
<h2>4.1.0 (2023-09-24)</h2>
<ul>
<li>Add <code>@types/babel__cores</code> to dependencies (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/211 ">#211</a>)</li>
<li>Improve build perf when not using Babel plugins by lazy loading <code>@babel/core</code> <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/212 ">#212</a></li>
<li>Better invalidation message when an export is added & fix HMR for export of nullish values <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/215 ">#215</a></li>
<li>Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/224 ">#224</a></li>
<li>The build output now contains a <code>index.d.cts</code> file so you don't get types errors when setting <code>moduleResolution</code> to <code>node16</code> or <code>nodenext</code> in your tsconfig (we recommend using <code>bundler</code> which is more close to how Vite works)</li>
</ul>
<h2>4.0.4 (2023-07-31)</h2>
<ul>
<li>Fix <a href="https://github.com/vitejs/vite-plugin-react/discussions/198 ">#198</a>: Enable Babel if presets list is not empty</li>
</ul>
<h2>4.0.3 (2023-07-10)</h2>
<ul>
<li>Revert <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/108 ">#108</a>: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.</li>
</ul>
<h2>4.0.2 (2023-07-06)</h2>
<ul>
<li>Fix fast-refresh for files that are transformed into jsx (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/188 ">#188</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/bf1453edac2d21f7fc06680aa66d178082b770df "><code>bf1453e</code></a> release: plugin-react@4.1.0</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/25fe88a02d3a718b81a3b1290ff4e46bfab427f9 "><code>25fe88a</code></a> feat: add support for non-dev jsx runtime (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/224 ">#224</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/272c338a7c2927d6e673901bc52f25791d466a98 "><code>272c338</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/206 ">#206</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/286360281992c425bf75cb0a18846f65fcdc5ef3 "><code>2863602</code></a> fix: better invalidation message when an export is added & fix HMR for export...</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/ccd25ddf1fe9d70d9486e8f07da95bcf3fd0b5d6 "><code>ccd25dd</code></a> perf: lazy load <code>@babel/core</code> (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/212 ">#212</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/8413a1835e78a9d923bcc5a5723cb1e903c8fc0f "><code>8413a18</code></a> fix: add <code>@types/babel__cores</code> to dependencies (fix <a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/211 ">#211</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/90328ce92ecfdc9797aa58af67e46f9872b29118 "><code>90328ce</code></a> release: plugin-react@4.0.4</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/9f9e2f66d699c47e8bf7b88175fdd55908a2bf35 "><code>9f9e2f6</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/199 ">#199</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/6e2e0a406e8478002dc0ab4a5104d370d4afc7b3 "><code>6e2e0a4</code></a> fix <a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/198 ">#198</a>: enable Babel if presets list is not empty</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/cbdf19f8f973fe78495336ca14247ddfc276f998 "><code>cbdf19f</code></a> release: plugin-react@4.0.3</li>
<li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react/commits/v4.1.0/packages/plugin-react ">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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:41:02 +03:00
Kyle Carberry
5596fb20b5
chore: move /gitauth to /externalauth on the frontend ( #9954 )
...
* chore: move `/gitauth` to `/externalauth` on the frontend
This actually took a lot more jank than anticipated,
so I wanted to split this up before adding the ability
to embed new providers.
* Rename FE
* Fix em' up
* Fix linting error
* Fix e2e tests
* chore: update helm golden files
2023-09-30 14:30:01 -05:00
Muhammad Atif Ali
16a2d4d733
chore(dogfood): use coder modules in dogfood ( #9890 )
...
updates dogfood to use coder modules
---
<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev ">Graphite</a>)</summary>
> # TL;DR
> This pull request removes the `dotfiles_url` and `jetbrains_ide` parameters, and the related code from the `main.tf` file. It also adds several new modules for `dotfiles`, `git-clone`, `personalize`, `code-server`, `jetbrains_gateway`, `vscode`, and `filebrowser`. The `startup_script` has been updated to remove the installation and launch of `filebrowser` and the `dotfiles` related code.
>
> # What changed
> - Removed `dotfiles_url` and `jetbrains_ide` parameters.
> - Removed related code for `dotfiles_url` and `jetbrains_ide`.
> - Added new modules for `dotfiles`, `git-clone`, `personalize`, `code-server`, `jetbrains_gateway`, `vscode`, and `filebrowser`.
> - Updated `startup_script` to remove the installation and launch of `filebrowser` and the `dotfiles` related code.
>
> # How to test
> 1. Go to https://dev.coder.com/templates/coder/versions/dazzling_hugle0 and create a new workspace or change your dogfood workspace version to `dazzling_hugle0` .
> 2. Verify that the new modules are working as expected.
>
> # Why make this change
> The `dotfiles_url` and `jetbrains_ide` parameters and related code were removed to simplify the configuration and make it easier to manage. The new modules were added to provide additional functionality and improve the overall user experience. The `startup_script` was updated to reflect these changes.
</details>
2023-09-30 22:22:14 +03:00
Kyle Carberry
c1cd93da30
chore: update helm golden files ( #9959 )
2023-09-30 18:36:34 +00:00
Ammar Bandukwala
3d21872230
chore: set sessionAffinity to None in helm chart ( #9918 )
2023-09-30 12:33:20 -05:00
Steven Masley
e9ccb8dc78
chore: change cli error message handling ( #9952 )
...
* chore: add command to easily visualize different errors
* chore: add verbose error printing in cli
2023-09-29 16:50:23 -05:00
Stephen Kirby
fa297e1096
feat(site): add white coder icon ( #9955 )
...
* Added a white coder svg
* renamed svg
* rename icon
2023-09-29 15:25:44 -05:00
Mathias Fredriksson
e6cb2c5a8e
chore(go.mod): update cdr.dev/slog to include additional stackdriver field ( #9938 )
2023-09-29 20:22:37 +00:00
Eric Paulsen
710b170adf
site(fix): add space characters to group display name ( #9950 )
2023-09-29 15:25:59 -04:00
Kyle Carberry
8abca9bea7
chore: rename git_auth to external_auth in our schema ( #9935 )
...
* chore: rename `git_auth` to `external_auth` in our schema
We're changing Git auth to be external auth. It will support
any OAuth2 or OIDC provider.
To split up the larger change I want to contribute the schema
changes first, and I'll add the feature itself in another PR.
* Fix names
* Fix outdated view
* Rename some additional places
* Fix sort order
* Fix template versions auth route
* Fix types
* Fix dbauthz
2023-09-29 19:13:20 +00:00
Kayla Washburn
2b5428e95f
refactor: start using emotion for styling ( #9909 )
2023-09-29 13:08:17 -06:00
Colin Adler
4da1223a80
fix: pass OnSubscribe to HA MultiAgent ( #9947 )
...
Fixes https://github.com/coder/coder/issues/9929
2023-09-29 13:37:17 -05:00
Kayla Washburn
61154a6bb5
chore: update datadog ( #9925 )
2023-09-29 12:06:24 -06:00
Steven Masley
92308bec3b
chore: color value_source for deployment values ( #9922 )
...
* chore: Return populated options vs a blank
* Strip secret values
2023-09-29 12:04:28 -05:00
Marcin Tojek
87ebe6c2c2
test: fix flaky TestPostWorkspacesByOrganization/Create ( #9931 )
2023-09-29 13:06:21 +00:00
Marcin Tojek
c0705ec40e
fix: flaky TestCreateValidateRichParameters/ValidateString ( #9928 )
2023-09-29 12:54:51 +02:00
Marcin Tojek
2dd49cc0a7
fix(site): double input box for logo url ( #9926 )
2023-09-29 07:27:47 +00:00
Steven Masley
beac36027f
chore: generate any interface as Deployment Option in TypeScript ( #9917 )
...
* chore: handle interfaces as "any" in typescript
Use generated Deployment Option
2023-09-28 16:14:28 -05:00
Colin Adler
885041a65b
revert: downgrade alpine to v3.18.3 ( #9916 )
2023-09-28 20:27:47 +00:00
Steven Masley
8cff6237ba
chore: show yaml option in deployment page ( #9912 )
2023-09-28 15:10:06 -05:00
Colin Adler
92c0237899
chore: upgrade alpine to v3.18.4
2023-09-28 19:47:48 +00:00
Colin Adler
ed8ae2f123
chore: upgrade go to 1.20.8
2023-09-28 14:17:15 -05:00
Steven Masley
9e845213f5
chore: include organization id in workspace build audit log ( #9905 )
...
* chore: include organization id in workspace build audit log
* rename 'BuildAudit' to 'WorkspaceBuildAudit'
2023-09-28 11:29:12 -05:00
Marcin Tojek
305556f655
feat(site): use custom application name ( #9902 )
2023-09-28 18:23:27 +02:00
Kayla Washburn
0f946669c1
chore: simplify imports ( #9896 )
2023-09-28 09:21:36 -06:00
Marcin Tojek
dae528f5e7
feat: expose application name and logo url via meta properties ( #9900 )
2023-09-28 10:50:40 +02:00
Steven Masley
2d1b35390e
chore: relax wsproxy version checking ( #9796 )
2023-09-27 19:34:55 +00:00
Michael Smith
dcad8fdc2f
fix: add checks for preventing HSL colors from entering React state ( #9893 )
...
* fix: remove hsl color from initial form state
* chore: add extra color helpers
* chore: add extra runtime validation for colors
* chore: clean up comments for clarity
* chore: add tests for colors
2023-09-27 19:27:11 +00:00
Ben Potter
20a681af8d
chore: add v2.2.0 changelog ( #9889 )
...
* chore: add v2.2.0 changelog
* add actual changelog
2023-09-27 17:38:43 +00:00
Kayla Washburn
066b25f710
chore: remove Maybe ( #9880 )
2023-09-27 10:45:12 -06:00
Cian Johnston
72e8f88af3
feat(scaletest/terraform): add cert-manager, otel, and TLS ( #9894 )
2023-09-27 17:41:07 +01:00
Mathias Fredriksson
0878381d0b
fix(cli/cliui): avoid nil pointer deref when agent disconnects ( #9892 )
...
Fixes #9884
2023-09-27 19:10:15 +03:00
Kyle Carberry
de6d0b9a1a
fix: only specify vscode proxy uri if app subdomains enabled ( #9891 )
...
Otherwise this generates an invalid URI that breaks code-server!
2023-09-27 15:13:47 +00:00
Marcin Tojek
cb5f8df4c2
feat: expose application name via Appearance API ( #9886 )
2023-09-27 17:02:18 +02:00
Mathias Fredriksson
68738771b9
feat(scaletest): create automated pprof dumps during scaletest ( #9887 )
2023-09-27 15:58:43 +03:00
Cian Johnston
fad02081fc
fix: avoid logging env in unit tests ( #9885 )
2023-09-27 13:34:40 +01:00
Mathias Fredriksson
d8515f02af
feat(scaletest): add grafana annotations and slack reporting ( #9852 )
...
Fixes #9575
Fixes #9576
2023-09-27 11:44:11 +00:00
Mathias Fredriksson
4e442040f7
feat(coderd/httpmw): log start timestamp for http requests ( #9776 )
2023-09-27 14:39:22 +03:00
Spike Curtis
c67db6efb0
fix: wait for bash prompt before commands ( #9882 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-27 12:26:24 +04:00
Cian Johnston
399b428149
chore(scaletest): update scaletest terraform to match big.cdr.dev ( #9860 )
...
- Removes usage of null_resources as no longer required
- Updates terraform in both infra/ and k8s/ to match
- Updates provisionerd deployment to use helm chart
2023-09-27 09:02:35 +01:00
Kyle Carberry
726a4dadf2
feat: allow magic string to generate session token for external apps ( #9878 )
...
* fix: make non-http external app links open in the current window
* Allow magic string to be replaced with a session token for external apps
* Improve readibility
2023-09-26 16:04:24 -05:00
Kira Pilot
75366ec6b5
more renames ( #9876 )
2023-09-26 14:45:29 -04:00
Kayla Washburn
6f0e2a7968
refactor: poll for git auth updates when creating a workspace ( #9804 )
2023-09-26 11:39:07 -06:00
Marcin Tojek
4c3b579f58
feat: expose insights into user activity ( #9807 )
2023-09-26 18:42:16 +02:00
Cian Johnston
1f4335733c
fix(coderd/workspaceapps/apptest): bump sleep in testReconnectingPTY to reduce test flakes ( #9875 )
2023-09-26 14:58:18 +01:00
Bruno Quaresma
b0b9d32a2a
chore(site): remove dead code ( #9830 )
2023-09-26 10:05:24 -03:00
Cian Johnston
93ef696b57
refactor(agent): add agenttest.New helper function ( #9812 )
...
* Adds agenttest.New() helper function
* Makes sure agent gets closed on test cleanup
* Makes sure you don't forget to set session token
* Sets the agent and client logger automatically
2023-09-26 12:05:19 +01:00
Cian Johnston
96c5076c69
fix(coderd): remove troublesome test case ( #9874 )
2023-09-26 11:33:21 +01:00
Kyle Carberry
c4718fd747
fix: remove pinned version for dogfood ( #9872 )
2023-09-26 02:23:42 +00:00
Muhammad Atif Ali
04c85c3833
chore: add icons ( #9871 )
2023-09-26 00:46:07 +00:00
Kyle Carberry
f7c89082d2
chore: swap dogfood to use modules ( #9870 )
2023-09-25 19:41:45 -05:00
Kyle Carberry
442fb105c9
chore: add git svg icon ( #9869 )
2023-09-26 00:15:55 +00:00
Kyle Carberry
20bfe6e9e5
fix: allow expansion from log_path for coder_script ( #9868 )
2023-09-25 23:45:55 +00:00
Colin Adler
89292264be
feat(coderd): add simple healthcheck formatting option ( #9864 )
2023-09-25 22:55:50 +00:00
Kyle Carberry
6e6b808143
fix: add case for logs without a source ( #9866 )
...
This is to support legacy logs!
2023-09-25 22:19:51 +00:00
Kyle Carberry
d3220c5db9
fix: resolve flake in log sender by checking context ( #9865 )
...
See: https://github.com/coder/coder/actions/runs/6305051172/job/17117693579
2023-09-25 22:19:27 +00:00
Kyle Carberry
1262eef2c0
feat: add support for coder_script ( #9584 )
...
* Add basic migrations
* Improve schema
* Refactor agent scripts into it's own package
* Support legacy start and stop script format
* Pipe the scripts!
* Finish the piping
* Fix context usage
* It works!
* Fix sql query
* Fix SQL query
* Rename `LogSourceID` -> `SourceID`
* Fix the FE
* fmt
* Rename migrations
* Fix log tests
* Fix lint err
* Fix gen
* Fix story type
* Rename source to script
* Fix schema jank
* Uncomment test
* Rename proto to TimeoutSeconds
* Fix comments
* Fix comments
* Fix legacy endpoint without specified log_source
* Fix non-blocking by default in agent
* Fix resources tests
* Fix dbfake
* Fix resources
* Fix linting I think
* Add fixtures
* fmt
* Fix startup script behavior
* Fix comments
* Fix context
* Fix cancel
* Fix SQL tests
* Fix e2e tests
* Interrupt on Windows
* Fix agent leaking script process
* Fix migrations
* Fix stories
* Fix duplicate logs appearing
* Gen
* Fix log location
* Fix tests
* Fix tests
* Fix log output
* Show display name in output
* Fix print
* Return timeout on start context
* Gen
* Fix fixture
* Fix the agent status
* Fix startup timeout msg
* Fix command using shared context
* Fix timeout draining
* Change signal type
* Add deterministic colors to startup script logs
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-25 16:47:17 -05:00
Kayla Washburn
dac1375880
feat: add … to actions that require confirmation ( #9862 )
2023-09-25 15:25:02 -06:00
Kayla Washburn
ff3fc0971c
feat: create a workspace from any template version ( #9861 )
2023-09-25 14:54:19 -06:00
Ammar Bandukwala
4adbf24a08
docs: fix typo ( #9859 )
2023-09-25 19:52:53 +00:00
Steven Masley
b6c5e94ffa
fix: consider all 'devel' builds as 'dev' builds ( #9794 )
...
* fix: all 'devel' builds should be considered 'dev' builds.
If CI needs to be distinguished from a dev build, we should add
a different pre-release tag for those builds.
* change CI version checking to be more strict
2023-09-25 13:59:49 -05:00
Kayla Washburn
47d3161b0b
fix: give more room to lonely resource metadata items ( #9832 )
2023-09-25 09:40:51 -06:00
Michael Smith
3757005e82
feat: add middle click support for workspace rows ( #9834 )
...
* chore: add generic ref support for useClickable
* chore: update useClickable call sites to use type parameter
* chore: update useClickableTableRow implementation
* chore: update other components using useClickableTableRow
* feat: add middle-click and cmd-click support for rows
* refactor: rename variable for clarity
* docs: add comment for clarity
* chore: add more click logic and comments
* refactor: clean up useClickableTableRow
* docs: rewrite comments for clarity
* fix: update TimelineEntry to accept forwarded ref
* fix: fix keyboard event logic to respond to spaces properly
2023-09-25 11:32:33 -04:00
Marcin Tojek
415818035c
test(site): e2e: use IPv4 address for web server ( #9843 )
2023-09-25 14:44:15 +02:00
Cian Johnston
4622ea2c10
chore: remove filebrowser.db ( #9854 )
...
* rm and gitignore filebrowser.db
2023-09-25 12:41:27 +00:00
Bruno Quaresma
cb545bcc30
chore(site): move a few pages to lazy load ( #9831 )
2023-09-25 09:38:24 -03:00
Muhammad Atif Ali
63ea12e74c
chore: remove terraform provider versions for pr-deployment template ( #9853 )
2023-09-25 12:33:01 +00:00
dependabot[bot]
7da3180036
chore: bump github.com/spf13/afero from 1.9.5 to 1.10.0 ( #9850 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:32:21 +03:00
dependabot[bot]
9d5af5b483
chore: bump github.com/coder/terraform-provider-coder from 0.11.1 to 0.12.0 ( #9849 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:23:19 +03:00
dependabot[bot]
e649b7cefe
chore: bump google.golang.org/api from 0.141.0 to 0.142.0 ( #9848 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:22:54 +03:00
dependabot[bot]
5c1ee6990e
chore: bump github.com/gohugoio/hugo from 0.118.2 to 0.119.0 ( #9847 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:22:43 +03:00
dependabot[bot]
9358b3bd84
ci: bump the github-actions group with 2 updates ( #9846 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:22:19 +03:00
Muhammad Atif Ali
26e0d7580c
chore: avoid pushing .terraform.lock.hcl while creating the template ( #9851 )
2023-09-25 15:13:32 +03:00
Cian Johnston
382843dc5f
chore(docs): add notice re enabling encryption ( #9844 )
2023-09-25 11:07:38 +01:00
Bruno Quaresma
85ab9c2d48
chore(site): replace agent log service ( #9814 )
2023-09-22 16:13:25 -03:00
Bruno Quaresma
7bb0061804
chore(site): remove workspace build machine ( #9813 )
2023-09-22 16:12:25 -03:00
Muhammad Atif Ali
df0c597843
docs: update VS Code Web docs ( #9811 )
...
* docs: update VS Code Web docs
* add back folder
2023-09-22 18:49:20 +00:00
Colin Adler
cc009fe121
ci: increase timeout for template build jobs ( #9829 )
2023-09-22 13:13:50 -05:00
Ammar Bandukwala
733171a93b
revert: "ci: cache datadog-ci ( #9702 )" ( #9828 )
...
Original commit changeset: b104e0ec0c
2023-09-22 17:31:25 +00:00
Michael Smith
c201fc2538
revert: remove localStorage sync for search params ( #9827 )
2023-09-22 12:43:08 -04:00
Bruno Quaresma
f6ee08d100
chore(site): replace create user machine by react-query ( #9810 )
2023-09-22 13:28:56 -03:00
Jon Ayers
9216725698
chore: add alpha badges to workspace cleanup fields ( #9802 )
2023-09-22 10:41:17 -05:00
Cian Johnston
8d8402da00
fix(coderd/database): avoid clobbering workspace build state ( #9826 )
...
Fixes #9823 .
- Decomposes UpdateWorkspaceBuildByID into UpdateWorkspaceBuildProvisionerStateByID and UpdateWorkspaceBuildDeadlineByID.
- Replaces existing invocations of UpdateWorkspaceBuildByID with the newer queries where applicable.
- Modifies GetActiveWorkspaceBuildsByTemplateID to not return incomplete workspace builds.
2023-09-22 16:22:07 +01:00
Cian Johnston
a1f3a6b606
refactor(scaletest/terraform): break up infra creation and k8s resource provisioning ( #9824 )
...
Breaks up scaletest/terraform into {infra, k8s}.
2023-09-22 15:55:47 +01:00
Michael Smith
84999cb33d
feat: add empty state for SSO auth methods ( #9818 )
...
* fix: remove needless undefined checks
* refactor: clean up button markup
* refactor: restrict access to full auth in oidc functions
* feat: add empty SSO state
2023-09-22 09:38:49 -04:00
Spike Curtis
e9077f3bd2
fix: use AlwaysEnable for licenses with all features ( #9808 )
...
* fix: use AlwaysEnable for licenses with all features
Signed-off-by: Spike Curtis <spike@coder.com >
* use dbtime.Now() intead of time.Now()
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-22 05:02:28 +00:00
Dean Sheather
94a0612cd2
chore: update tailscale ( #9817 )
2023-09-22 07:21:38 +10:00
Colin Adler
c900b5f8df
feat: add single tailnet support to pgcoord ( #9351 )
2023-09-21 14:30:48 -05:00
Colin Adler
fbad06f406
chore: bump wgtunnel ( #9805 )
2023-09-21 13:33:13 -05:00
Michael Smith
91a04c0132
chore: enhance tests for TemplateSchedulePage ( #9801 )
...
* chore: Add benchmark logs to test
* chore: Remove benchmark logic
* chore: add hard cutoff for waitFor calls
* refactor: clean up waitFor cut-off logic
* chore: add assertion that submit button is not disabled
* chore: Remove disabled check at the start of the test
* fix: extend cutoff for waitFor config
2023-09-21 14:25:26 -04:00
Muhammad Atif Ali
201a6c0c79
chore: remove extra condition from pr-deploy.yaml ( #9788 )
2023-09-21 17:58:46 +03:00
Bruno Quaresma
801c6c994b
chore(site): replace setup machine by react-query ( #9809 )
2023-09-21 11:21:49 -03:00
Spike Curtis
866ba8ede5
fix: call agent directly in cli tests ( #9789 )
...
* fix: call agent directly in cli tests
Signed-off-by: Spike Curtis <spike@coder.com >
* log verbose in TestDERPHeaders
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-21 13:30:24 +04:00
Muhammad Atif Ali
fa858531a8
feat: add nomad template ( #9786 )
2023-09-21 08:54:56 +00:00
Michael Smith
b742661abd
feat: make workspace search bar remember text ( #9759 )
...
* minor: Add useEffectEvent polyfill
* chore: update filter to have better callback support
* docs: Clean up comments
* fix: add localStorage to useWorkspacesFilter
* refactor: Centralize stable useSearchParams
* refactor: clean up filter to be fully pure on mount
* chore: add tests for useEffectEvent
* wip: commit progress for searchbar fix
* chore: clean up WorkspacesPage
* fix: add logic for syncing queries with search params
* chore: Rename initialValue to fallbackFilter
* chore: Remove todo comment
* refactor: update code to use useEffectEvent
* docs: clean up comments for clarity
* fix: update url check to use regex
2023-09-20 16:44:19 -04:00
Bruno Quaresma
92a90eb9ae
test(site): fix terminal page test flakiness ( #9798 )
2023-09-20 15:19:27 -03:00
Bruno Quaresma
1cd0bea86e
chore: make workspace batch actions enabled by default ( #9797 )
2023-09-20 14:10:01 -03:00
Eric Paulsen
fae8a470df
fix(cli): display pasted session token ( #9710 )
2023-09-20 12:41:59 -04:00
Steven Masley
f89b68056d
chore: add debug information to wsproxy errors ( #9683 )
...
* chore: add debug information to wsproxy errors
* Use codersdk.ReadBodyAsError
2023-09-20 10:05:14 -05:00
Cian Johnston
ae1896f2dc
chore(docs): replace numbering with bullets in admin/encryption.md ( #9792 )
2023-09-20 15:15:39 +01:00
Marcin Tojek
8e012e4e1a
test(site): workaround for reattached xterm-rows ( #9790 )
2023-09-20 14:25:30 +02:00
Steven Masley
a18bf73131
chore: display warnings on app share failure ( #9783 )
...
* chore: add warnings to app share failure
Warnings only appear if the app is misconfigured to the deployment
2023-09-19 21:54:51 +00:00
Kayla Washburn
1fd1c654a9
fix: hide empty update message box ( #9784 )
2023-09-19 13:11:22 -06:00
Dean Sheather
eda32659a8
chore: fix flake in tunnel ( #9746 )
2023-09-19 18:54:56 +00:00
Spike Curtis
70e481e7a5
fix: use terminal emulator that keeps state in ReconnectingPTY tests ( #9765 )
...
* Add more pty diagnostics for terminal parsing
Signed-off-by: Spike Curtis <spike@coder.com >
* print escaped strings
Signed-off-by: Spike Curtis <spike@coder.com >
* Only log on failure - heisenbug?
Signed-off-by: Spike Curtis <spike@coder.com >
* use the terminal across matches to keep cursor & contents state
Signed-off-by: Spike Curtis <spike@coder.com >
* Only log bytes if we're not expecting EOF
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-19 17:57:30 +00:00
Kayla Washburn
269b1c59f1
refactor: get rid of templateVariablesXService ( #9763 )
2023-09-19 11:54:14 -06:00
Mathias Fredriksson
530dd9d247
fix(coderd): subscribe to workspace when streaming agent logs to detect outdated build ( #9729 )
...
Fixes #9721
2023-09-19 20:02:27 +03:00
Bruno Quaresma
87d50f17a2
chore(site): refactor groups to use react-query ( #9701 )
2023-09-19 13:37:17 -03:00
Mathias Fredriksson
161a3cfa26
fix(coderd/batchstats): use debug log on query cancellation in flush ( #9778 )
...
Fixes #9772
2023-09-19 18:16:07 +03:00
Marcin Tojek
ceb52ac24a
fix: user should always belong to an organization ( #9781 )
2023-09-19 16:22:37 +02:00
Mathias Fredriksson
d6089ae0ad
fix(coderd/batchstats): use debug log on context cancellation in flush ( #9777 )
2023-09-19 13:19:39 +00:00
Bruno Quaresma
7bc98c296b
refactor(site): do not display error details as message ( #9755 )
2023-09-19 09:54:59 -03:00
Bruno Quaresma
e26bb2d91b
chore(site): rollback remark-gfm version ( #9774 )
2023-09-19 09:43:11 -03:00
Bruno Quaresma
ffa77ba6ff
feat(site): show CLI flags and env variables for the options ( #9757 )
2023-09-19 09:34:04 -03:00
Dr. Pi3cH
94cccd0a01
fix: make sure fly_app name is lower case ( #9771 )
...
fly_app does not support uppercase. Coder allows uppercase for username/owner.
2023-09-19 12:30:52 +00:00
Eric Paulsen
e9c183d0dc
feat: add envFrom value to Helm chart ( #9587 )
...
* feat: add envFrom value to Helm chart
* add envUseClusterAccessURL
* add tests
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-09-19 16:03:13 +04:00
Marcin Tojek
ceeb9987a5
test(cli): ensure first option selected with is expected ( #9770 )
2023-09-19 13:55:51 +02:00
Marcin Tojek
b0e3daa120
feat(coderd): support weekly aggregated insights ( #9684 )
2023-09-19 13:06:19 +02:00
Muhammad Atif Ali
b358e3d558
chore: fix permission for kubeconfig ( #9768 )
2023-09-19 08:36:00 +00:00
Spike Curtis
375c70d141
feat: integrate Acquirer for provisioner jobs ( #9717 )
...
* chore: add Acquirer to provisionerdserver pkg
Signed-off-by: Spike Curtis <spike@coder.com >
* code review improvements & fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* feat: integrate Acquirer for provisioner jobs
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports, whitespace
Signed-off-by: Spike Curtis <spike@coder.com >
* provisionerdserver always closes; remove poll interval from playwright
Signed-off-by: Spike Curtis <spike@coder.com >
* post jobs outside transactions
Signed-off-by: Spike Curtis <spike@coder.com >
* graceful shutdown in test
Signed-off-by: Spike Curtis <spike@coder.com >
* Mark AcquireJob deprecated
Signed-off-by: Spike Curtis <spike@coder.com >
* Graceful shutdown on all provisionerd tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Deprecate, not remove CLI flags
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-19 10:25:57 +04:00
dependabot[bot]
6cf531bfef
chore: bump typescript from 5.1.6 to 5.2.2 in /site ( #9743 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 08:32:14 +03:00
dependabot[bot]
8fe4401e23
chore: bump github.com/klauspost/compress from 1.16.5 to 1.17.0 ( #9735 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 05:30:04 +00:00
Cian Johnston
aa8652c928
fix(dbtestutil): avoid truncating inserts that span multiple lines ( #9756 )
2023-09-18 19:46:22 +00:00
Kayla Washburn
ed25f1449d
refactor: use a line graph for DAUChart ( #9758 )
2023-09-18 12:28:30 -06:00
Kayla Washburn
f85aa443dd
feat: show version messages in version lists ( #9708 )
2023-09-18 11:17:07 -06:00
Jon Ayers
622442203d
chore: fix test flake in TestProvisionerd ( #9709 )
2023-09-18 11:23:22 -05:00
Cian Johnston
45eadfc136
fix(cli): specify IgnoreErrors in slogtest options for scaletest cli tests ( #9751 )
...
* fix(cli): specify IgnoreErrors in slogtest options for scaletest cli tests
* bump test timeout
2023-09-18 16:39:28 +01:00
Asher
17f9991118
fix: reconnect terminal on non-modified key presses ( #9686 )
...
* Listen to web terminal keydown on capture
Instead of bubbling. I think maybe what happens here is that xterm is
capturing key presses and preventing the event from bubbling? So
setting the listener on the capture phase instead works around this.
Probably would also work to dipsose the terminal.
* Prevent issuing terminal reload when already reloading
I am not sure this actually causes any issues, but might as well.
* Ignore modifier keys for reconnecting terminal
2023-09-18 07:24:01 -08:00
Michael Smith
2caf7a7ceb
fix: remove just-debounce-it ( #9707 )
...
* fix: Switch UserAutocomplete to useDebouncedFunction
* fix: switch UserOrGroupAutocomplete to useDebouncedFunction
* chore: remove just-debounce-it dependency
* docs: Clean up comments
2023-09-18 14:20:11 +00:00
Bruno Quaresma
a2aff1f527
chore(site): replace xstate by react-query on update password ( #9696 )
2023-09-18 11:03:35 -03:00
Bruno Quaresma
e74d8a7b21
chore(site): refactor starter templates to use react-query ( #9697 )
...
* Remove starter templates service
* Remove starter template service
* Remove template x service
2023-09-18 11:02:55 -03:00
dependabot[bot]
e1bd6ddc25
chore: bump the otel group with 3 updates ( #9731 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:55:38 +03:00
dependabot[bot]
a989e8363b
chore: bump google.golang.org/api from 0.140.0 to 0.141.0 ( #9732 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:54:32 +03:00
dependabot[bot]
24bff1098d
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.54.0 to 1.55.0 ( #9734 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:53:40 +03:00
dependabot[bot]
1d8a4ed201
chore: bump jest-location-mock from 1.0.9 to 2.0.0 in /site ( #9727 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 13:46:08 +00:00
Bruno Quaresma
2319486806
chore(site): replace deployment stats service by react-query ( #9698 )
2023-09-18 10:44:52 -03:00
dependabot[bot]
5a22f08f3f
chore: bump @tanstack/react-query from 4.33.0 to 4.35.3 in /site ( #9738 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:34:56 +03:00
dependabot[bot]
d326f1b10c
chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #9726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:32:57 +03:00
dependabot[bot]
972425e3d4
chore: bump @playwright/test from 1.37.1 to 1.38.0 in /site ( #9739 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:32:42 +03:00
dependabot[bot]
b76a430d22
chore: bump github.com/valyala/fasthttp from 1.49.0 to 1.50.0 ( #9736 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:31:54 +03:00
dependabot[bot]
ea93b4bbe4
chore: bump react-icons from 4.10.1 to 4.11.0 in /offlinedocs ( #9740 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:31:48 +03:00
dependabot[bot]
bd3f2f8c10
chore: bump eslint from 8.48.0 to 8.49.0 in /offlinedocs ( #9742 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:31:16 +03:00
dependabot[bot]
010a13c654
chore: bump @testing-library/user-event from 14.4.3 to 14.5.1 in /site ( #9730 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:24:05 +03:00
dependabot[bot]
9c8140270a
chore: bump the react group in /site with 1 update ( #9723 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:23:35 +03:00
dependabot[bot]
c58e5bf09a
chore: bump the eslint group in /site with 1 update ( #9725 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 11:41:20 +00:00
Muhammad Atif Ali
3ed65de82e
chore: increase dependabot open pr limit for site ( #9728 )
2023-09-18 11:24:49 +00:00
dependabot[bot]
eb72866a29
ci: bump the github-actions group with 2 updates ( #9722 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 11:15:56 +00:00
Cian Johnston
1df7589105
feat(coderd/database/dbtestutil): add ability to dump database on failure ( #9704 )
...
Adds dbtestutil.DumpOnFailure() to allow dumping the entire test database contents upon test failure.
This does nothing for dbfake currently.
2023-09-18 11:50:15 +01:00
Muhammad Atif Ali
e6865e0df5
ci: remove example templates readme from docs filter ( #9720 )
2023-09-18 10:38:57 +00:00
Cian Johnston
9bcff30dee
fix(coderd/database): migrate workspaces.last_used_at to timestamptz ( #9699 )
2023-09-18 11:07:54 +01:00
Cian Johnston
1f5eb088b5
fix(examples): fix typo in examples.gen.json ( #9718 )
2023-09-18 09:09:30 +00:00
Cian Johnston
653488e8ee
fix(coderd): emit CollectedAt as UTC in convertWorkspaceAgentMetadata ( #9700 )
2023-09-18 09:17:18 +01:00
Ben Potter
5de5d20808
fix: remove broken fly.io template from starter templates ( #9711 )
...
Co-authored-by: Atif Ali <atif@coder.com >
2023-09-17 20:13:36 +03:00
sharkymark
b2f84668c8
docs: document display_apps feature to hide/show built-in coder_app resources ( #9714 )
...
* docs: display_apps feature to hide/show terminal, vscode desktop, port-forwarding, etc.
* Update docs/templates/index.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* Update docs/templates/index.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-17 15:13:56 +00:00
kpoxo6op
ab08b2c3e4
fix typo in README.md ( #9715 )
...
typo
2023-09-17 07:07:13 -05:00
Michael Smith
fcc8b9ec92
fix: prevent workspace search bar text from getting garbled ( #9703 )
...
* chore: Reorganize hook calls for useWorkspacesFilter
* refactor: Clean up some filter logic
* refactor: Create debounce utility hooks
* docs: Clean up comments for clarity
* fix: Update focus logic to apply for any inner focus
* fix: Add onBlur behavior for state syncs
* chore: Add progress for debounce test
* chore: Finish tests for debounce hooks
* docs: Add file description and warning
2023-09-15 15:55:59 -04:00
Ammar Bandukwala
b104e0ec0c
ci: cache datadog-ci ( #9702 )
2023-09-15 19:22:38 +00:00
Kayla Washburn
9e053ce220
feat: show update messages on workspace page ( #9705 )
2023-09-15 13:09:29 -06:00
Kayla Washburn
efe804498b
feat: add quiet hours settings page ( #9676 )
2023-09-15 11:14:33 -06:00
Cian Johnston
72dff7f188
fix(enterprise/dbcrypt): do not skip deleted users when encrypting or deleting ( #9694 )
...
- Broadens scope of data generation in TestServerDBCrypt over all user login types, statuses, and deletion status.
- Adds support for specifying user status / user deletion status in dbgen
- Adds more comprehensive logging in TestServerDBCrypt upon test failure (to be generalized and expanded upon in a follow-up)
- Adds AllUserIDs query, updates dbcrypt to use this instead of GetUsers.
2023-09-15 15:09:40 +01:00
Mathias Fredriksson
bc97eaa41b
feat(scaletest): add scaletest-runner template ( #9662 )
...
Closes #9571
2023-09-15 13:23:37 +00:00
Marcin Tojek
d0d64bbdca
refactor: define insights interval ( #9693 )
2023-09-15 12:01:00 +00:00
Cian Johnston
65db7a71b7
feat(coderd/database/dbtestutil): set default database timezone to non-UTC in unit tests ( #9672 )
...
- Adds dbtestutil.WithTimezone(tz) to allow setting the timezone for a test database.
- Modifies our test database setup code to pick a consistently weird timezone for the database.
- Adds the facility randtz.Name() to pick a random timezone which is consistent across subtests (via sync.Once).
- Adds a linter rule to warn against setting the test database timezone to UTC.
2023-09-15 09:01:32 +01:00
Ammar Bandukwala
281faf9ccd
ci: upgrade runners ( #9689 )
...
Per DataDog, I've doubled the resources of our slowest jobs.
2023-09-14 20:20:39 -05:00
Ammar Bandukwala
b63dfe7b75
perf(cli): optimize CPU consumption of help pages ( #9607 )
...
This change reduces the CPU consumption of --help by ~50%.
Also, this change removes ANSI escape codes from our golden files. I
don't think those were worth the inability to parallelize golden file tests and
global state fragility.
2023-09-14 19:48:29 -05:00
Jon Ayers
7311ffbd9d
feat: implement agent process management ( #9461 )
...
- An opt-in feature has been added to the agent to allow
deprioritizing non coder-related processes for CPU by setting their
niceness level to 10.
- Opting in to the feature requires setting CODER_PROC_PRIO_MGMT to a non-empty value.
2023-09-14 19:45:05 -05:00
Bruno Quaresma
79d4179123
chore(site): migrate a few services to react-query used in the DashboardProvider ( #9667 )
2023-09-14 19:35:03 -03:00
Bruno Quaresma
3b088a5cb8
chore(site): refactor deployment values service to react-query ( #9669 )
2023-09-14 18:49:23 -03:00
Marcin Tojek
225cf8acec
chore: print page content on failed promise ( #9681 )
2023-09-14 13:30:46 +02:00
Marcin Tojek
dcad0a437c
fix: wait for build job ( #9680 )
2023-09-14 11:20:09 +02:00
Cian Johnston
8b6e2862fd
refactor(coderd): collapse activityBumpWorkspace into a single query ( #9652 )
...
* Adds unit-style tests for activityBumpWorkspace
* Ports logic of activityBumpWorkspace to a SQL query
* Updates activityBumpWorkspace to call above query
2023-09-14 09:09:51 +01:00
Colin Adler
38560dd922
chore: remove coder trace telemetry ( #9677 )
2023-09-14 02:20:28 -04:00
Bruno Quaresma
e7b0181519
feat(site): add support to .sh and .tpl files ( #9674 )
2023-09-13 16:27:02 -03:00
Steven Masley
e0e6d7c9a6
fix: case insensitve agent ssh session env var ( #9675 )
2023-09-13 14:18:00 -05:00
Steven Masley
0e4d6896e3
test: fix cleanup order on provisioner daemon work dir ( #9668 )
...
* test: fix cleanup order on provisioner daemon work dir
* Reduce the test race condition
2023-09-13 13:13:08 -05:00
Kayla Washburn
53a985ff11
refactor: clean up workspace and template settings ( #9654 )
2023-09-13 11:55:27 -06:00
dependabot[bot]
6c409b8872
chore: bump chromatic from 6.24.1 to 7.1.0 in /site ( #9629 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.24.1 to 7.1.0.
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.24.1...v7.1.0 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 14:49:54 -03:00
Jon Ayers
3dc1e22d56
feat: add template_id and template_name to workspace data source ( #9655 )
2023-09-13 11:09:08 -05:00
Marcin Tojek
d171b3611b
fix: flaky: TestDeleteTemplate/NoWorkspaces ( #9666 )
2023-09-13 17:05:08 +02:00
Cian Johnston
3be783b319
fix(scaletest/workspacetraffic): wait for non-zero metrics before cancelling in TestRun ( #9663 )
2023-09-13 15:54:56 +01:00
Muhammad Atif Ali
254f459d69
chore(dogfood): add a coder_app for JetBrains gateway IDEs ( #9644 )
2023-09-13 17:49:36 +03:00
Marcin Tojek
a229855e71
test(site): e2e: improve webTerminal test ( #9659 )
2023-09-13 16:18:10 +02:00
Spike Curtis
4ebf490d97
feat: add Acquirer to provisionerdserver pkg ( #9658 )
...
* chore: add Acquirer to provisionerdserver pkg
Signed-off-by: Spike Curtis <spike@coder.com >
* code review improvements & fixes
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-13 16:36:43 +04:00
Cian Johnston
2ac532982d
feat(coderd/database): generate foreign key constraints and add database.IsForeignKeyViolation ( #9657 )
...
* feat(coderd/database): generate foreign key constraints, add database.IsForeignKeyViolation
* address PR comments
2023-09-13 13:28:46 +01:00
Cian Johnston
a6f7f71808
chore(docs/admin): update encryption.md ( #9660 )
2023-09-13 12:56:20 +01:00
Marcin Tojek
e2579e9440
test: fix flaky TestPatchTemplateMeta/Modified ( #9656 )
2023-09-13 11:34:53 +02:00
Steven Masley
18c34ee456
chore: support external types in typescript codegen ( #9633 )
...
* chore: support external types in typescript codegen
* fix enums on external packages
* Support clibase.struct
* Add regexp
* Make gen with updated generator
2023-09-12 18:21:09 -05:00
Bruno Quaresma
641bf272ed
fix(site): fix renderer error ( #9653 )
2023-09-12 19:59:09 -03:00
Kayla Washburn
0726eb56bb
fix: update autostart/autostop text ( #9650 )
2023-09-12 15:29:39 -06:00
Bruno Quaresma
b3c98395ab
chore(site): use react-query to fetch roles ( #9630 )
2023-09-12 15:07:56 -03:00
Bruno Quaresma
b33cb0ef97
chore(site): refactor workspace quota to use react-query instead of XState ( #9626 )
2023-09-12 14:58:35 -03:00
Julio
64bc317cd4
Doc - Remove sysbox 16 pods max. ( #9646 )
2023-09-12 17:49:51 +00:00
Bruno Quaresma
5ca8c4287f
chore(site): move ssh keys management to react-query ( #9625 )
2023-09-12 14:40:07 -03:00
Bruno Quaresma
6db89b0372
chore(site): move templates fetching to react-query ( #9622 )
2023-09-12 14:09:16 -03:00
Bruno Quaresma
b7550bfda5
chore(site): remove unecessary types and move types to where they are used ( #9621 )
2023-09-12 13:54:05 -03:00
Marcin Tojek
0e28397c82
fix: use CRC32 to shorten app subdomain ( #9645 )
2023-09-12 17:11:45 +02:00
Marcin Tojek
898971b329
refactor: generate application URL on backend side ( #9618 )
2023-09-12 15:25:10 +02:00
dependabot[bot]
228d1cf361
chore: bump the eslint group in /site with 3 updates ( #9639 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:25:04 +00:00
dependabot[bot]
531e1334af
chore: bump monaco-editor from 0.41.0 to 0.43.0 in /site ( #9642 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.41.0 to 0.43.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.41.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 12:56:43 +03:00
dependabot[bot]
7f126758a5
chore: bump jest-websocket-mock from 2.4.0 to 2.5.0 in /site ( #9641 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:24:10 +00:00
dependabot[bot]
d49bc2003b
chore: bump msw from 1.2.2 to 1.3.0 in /site ( #9640 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 12:16:16 +03:00
dependabot[bot]
8b08a78168
chore: bump google.golang.org/api from 0.138.0 to 0.140.0 ( #9636 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 08:45:29 +00:00
Muhammad Atif Ali
f1f522a9a7
revert: "chore: bump the eslint group in /site with 3 updates" ( #9638 )
2023-09-12 11:26:51 +03:00
dependabot[bot]
2c19995712
ci: bump the github-actions group with 2 updates ( #9620 )
...
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
Updates `crate-ci/typos` from 1.16.10 to 1.16.11
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.10...v1.16.11 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:22:22 +03:00
dependabot[bot]
e85981713d
chore: bump the xterm group in /site with 6 updates ( #9627 )
...
Bumps the xterm group in /site with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [xterm](https://github.com/xtermjs/xterm.js ) | `5.2.1` | `5.3.0` |
| [xterm-addon-canvas](https://github.com/xtermjs/xterm.js ) | `0.4.0` | `0.5.0` |
| [xterm-addon-fit](https://github.com/xtermjs/xterm.js ) | `0.7.0` | `0.8.0` |
| [xterm-addon-unicode11](https://github.com/xtermjs/xterm.js ) | `0.5.0` | `0.6.0` |
| [xterm-addon-web-links](https://github.com/xtermjs/xterm.js ) | `0.8.0` | `0.9.0` |
| [xterm-addon-webgl](https://github.com/xtermjs/xterm.js ) | `0.15.0` | `0.16.0` |
Updates `xterm` from 5.2.1 to 5.3.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/5.2.1...5.3.0 )
Updates `xterm-addon-canvas` from 0.4.0 to 0.5.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.4...0.5 )
Updates `xterm-addon-fit` from 0.7.0 to 0.8.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.7...0.8 )
Updates `xterm-addon-unicode11` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.6 )
Updates `xterm-addon-web-links` from 0.8.0 to 0.9.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.8...0.9 )
Updates `xterm-addon-webgl` from 0.15.0 to 0.16.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.15...0.16 )
---
updated-dependencies:
- dependency-name: xterm
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-canvas
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-fit
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-unicode11
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-web-links
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-webgl
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:21:59 +03:00
dependabot[bot]
140a7d2de2
chore: bump the eslint group in /site with 3 updates ( #9628 )
...
Bumps the eslint group in /site with 3 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) and [eslint](https://github.com/eslint/eslint ).
Updates `@typescript-eslint/eslint-plugin` from 6.5.0 to 6.7.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.5.0 to 6.7.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.0/packages/parser )
Updates `eslint` from 8.48.0 to 8.49.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.49.0 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:21:47 +03:00
dependabot[bot]
3e0969004d
chore: bump ts-proto from 1.156.0 to 1.157.0 in /site ( #9631 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.156.0 to 1.157.0.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.156.0...v1.157.0 )
---
updated-dependencies:
- dependency-name: ts-proto
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:21:09 +03:00
dependabot[bot]
abbd780373
chore: bump cronstrue from 2.31.0 to 2.32.0 in /site ( #9632 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.31.0...v2.32.0 )
---
updated-dependencies:
- dependency-name: cronstrue
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:20:54 +03:00
dependabot[bot]
d4bdb96883
chore: bump google.golang.org/grpc from 1.57.0 to 1.58.0 ( #9563 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.57.0 to 1.58.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.58.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:18:21 +03:00
Kayla Washburn
13acf5976c
chore: remove i18next ( #9608 )
2023-09-11 11:17:58 -06:00
Marcin Tojek
1a1c230534
fix(docs): skip >> character ( #9616 )
2023-09-11 12:23:40 +02:00
Marcin Tojek
67fe3ae8d6
feat: clean stale provisioner files ( #9545 )
2023-09-11 07:37:14 +00:00
sharkymark
d055f93706
Docs coder apps web ides ( #9613 )
...
* chore: document external URLs, refresh web IDE images
* chore: coder_app external URL, updated images, file browser
* Update docs/ides/web-ides.md
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-10 20:26:59 +00:00
Muhammad Atif Ali
84ede326e8
docs: add VS Code Web to web-ides ( #9591 )
2023-09-10 02:32:41 +00:00
Ammar Bandukwala
f703a5b34e
chore(cli): lighten flags on help page ( #9606 )
2023-09-08 13:43:56 -05:00
Ammar Bandukwala
e361f1107b
feat(cli): colorize help page ( #9589 )
2023-09-08 18:21:33 +00:00
Bruno Quaresma
11404af9ca
chore(site): update files to use a more standard naming ( #9605 )
2023-09-08 15:14:41 -03:00
Bruno Quaresma
554ddb11cd
chore(site): refactor stories and test from page components ( #9603 )
...
* Refactor AuditPage
* Refactor CliAuthPageView stories
* Refactor CreateTemplateForm stories
* Refactor CreateUserPage test
* Refactor CreateWorkspacePage tests
* Fix stories name
* Refactor AppereancePageView stories
* Refactor GitAuthSettingsPageView stories
* Refactor NetworkSettingsPageView stories
* Refactor SecuritySettingsPageView stories
* Refactor UserAuthSettingsPageView stories
* Refactor GroupsPage stories
* Refactor LoginPage tests
* Refactor SetupPage stories
* Refactor StarterTemplatePageView stories
* Refactor StarterTemplatesPage tests
* Refactor TemplatePage tests
* RefactorTemplateSettingsPage tests
* Refactor TemplatesPage tests
* Flat TemplateVersionEditorPage
* Refactor TemplateVersionPage stories
* Refactor UserSettingsPage stories
* Refactor UsersPage stories
* Simplify IndexPage
* Refactor WorkspaceSettingsPage stories
* Refactor WorkspacePage stories
* Refactor Conditionals stories
* Fix typo
* Fix imports
* Fix ChooseOne story
* Fix UserAuthSettingsPageView stories
2023-09-08 15:14:13 -03:00
David Morcillo
9e5a59e222
Update upgrade.md ( #9569 )
...
Fix wrong docker-compose update instructions.
2023-09-08 10:38:35 -04:00
Marcin Tojek
ad23075e1b
refactor: build application URL ( #9601 )
...
* refactor: build application URL
* fix
2023-09-08 14:01:57 +00:00
Cian Johnston
392b11272b
fixup! fix(scripts): modify logic for determining terraform arch ( #9595 ) ( #9596 )
2023-09-08 11:07:57 +00:00
Cian Johnston
a3a16a1586
fix(scripts): modify logic for determining terraform arch ( #9595 )
...
Commit fb3616c used a build-arg to set the desired terrafomr
architeture to fetch. This is set in build_docker.sh but not
when building using depot.dev. Baking the logic into the
Dockerfile instead.
2023-09-08 10:47:51 +00:00
Spike Curtis
8d7eb1728c
fix: stop inserting provisioner daemons into the database ( #9108 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-08 10:37:36 +00:00
Cian Johnston
fb3616c37e
fix(scripts): wget terraform directly from releases.hashicorp.com ( #9594 )
2023-09-08 10:02:18 +00:00
Spike Curtis
11b6068112
feat: add support for networked provisioners ( #9593 )
...
* Refactor provisionerd to use interface to connect to provisioners
Signed-off-by: Spike Curtis <spike@coder.com >
* feat: add support for networked provisioners
Signed-off-by: Spike Curtis <spike@coder.com >
* fix token length and linting
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-08 09:53:48 +00:00
Kayla Washburn
8b51a2f3c5
docs: mention the need for permission to read email addresses ( #9588 )
2023-09-07 16:40:22 -06:00
Ammar Bandukwala
dd97fe2bce
chore(cli): replace lipgloss with coder/pretty ( #9564 )
...
This change will improve over CLI performance and "snappiness" as well as
substantially reduce our test times. Preliminary benchmarks show
`coder server --help` times cut from 300ms to 120ms on my dogfood
instance.
The inefficiency of lipgloss disproportionately impacts our system, as all help
text for every command is generated whenever any command is invoked.
The `pretty` API could clean up a lot of the code (e.g., by replacing
complex string concatenations with Printf), but this commit is too
expansive as is so that work will be done in a follow up.
2023-09-07 16:28:22 -05:00
Kayla Washburn
8421f56137
refactor: bring back updated install.sh with patches ( #9583 )
2023-09-07 21:17:16 +00:00
Eric Paulsen
ccda1c5c7d
fix: rm tf provider versions in examples/ ( #9586 )
2023-09-07 18:53:23 +00:00
Cian Johnston
0306631518
fix(docs): fix broken link ( #9585 )
2023-09-07 18:36:26 +00:00
Bruno Quaresma
869d040cc6
chore(site): refactor stories and tests from components directory ( #9578 )
...
* Refactor Alert
* Refactor Avatar and its stories
* Refactor AvatarData and its stories
* Refactor CodeExample and its tests
* Refactor ServiceBanner stories
* Refactor Navbar and its tests
* Refactor ServiceBanner stories
* Refactor LicenseBannerView stories
* Refactor DeploymentBannerView stories
* Extract optionValue into a module
* Refactor DeleteDialog stories
* Refactor ConfirmDialog tests
* Refactor EmptyState tests
* Flat ErrorBoundaryState and refactor stories
* Refactor Expander stories
* Refactor FormFooter stories
* Refactor FullPageForm stories
* Refactor EnterpriseSnackbar stories
* Refactor GroupAvatar stories
* Refactor HelpTooltip stories and remove index
* Remove unecessary types module from IconField
* Refactor LoadingButton stories
* Refactor Margins stories
* Refactor Markdown stories
* Refactor PageHeader stories
* Refactor PageButton tests
* Refactor Pill stories
* Refactor Resources stories
* Refactor RichParameterInput stories and flat MultiTextField
* Remove unecessary Stack story
* Refactor TableRowMenu stories
* Refactor TemplateLayout stories
* Refactor Typography props
* Refactor UserAutocomplete
* Refactor WorkspaceBuildLogs components and tests
* Refactor WorkspaceStatusBadge stories
* Fix wrong imports
* Remove Example.args pattern
* Fix wrong import
* Refactor EmptyState stories
* Refactor HelpTooltip stories
* Remove not valid ErrorAlert story
* Fix AvatarData story
* Add border back to CodeExample
* Fix Navbar story
* Fix AgentRow proxy in the stories
2023-09-07 18:38:28 +02:00
Kayla Washburn
4f142fa959
feat: add minimal frontend for creating workspaces from specific template versions ( #9475 )
2023-09-07 10:33:42 -06:00
Mathias Fredriksson
40fcabfa0e
chore(go.mod): update github.com/hashicorp/terraform-json to main ( #9582 )
2023-09-07 16:06:28 +00:00
Cian Johnston
7d7c84bb4d
feat(coderd): connect dbcrypt package implementation ( #9523 )
...
See also: https://github.com/coder/coder/pull/9522
- Adds commands `server dbcrypt {rotate,decrypt,delete}` to re-encrypt, decrypt, or delete encrypted data, respectively.
- Plumbs through dbcrypt in enterprise/coderd (including unit tests).
- Adds documentation in admin/encryption.md.
This enables dbcrypt by default, but the feature is soft-enforced on supplying external token encryption keys. Without specifying any keys, encryption/decryption is a no-op.
2023-09-07 15:49:49 +01:00
Mathias Fredriksson
ed7f682fd1
chore(go.mod): update github.com/hashicorp/terraform-json to v0.17.1 ( #9570 )
2023-09-07 14:55:39 +03:00
dependabot[bot]
5a6f6e5679
chore: bump the golang-x group with 4 updates ( #9562 )
...
Bumps the golang-x group with 4 updates: [golang.org/x/crypto](https://github.com/golang/crypto ), [golang.org/x/net](https://github.com/golang/net ), [golang.org/x/oauth2](https://github.com/golang/oauth2 ) and [golang.org/x/tools](https://github.com/golang/tools ).
Updates `golang.org/x/crypto` from 0.12.0 to 0.13.0
- [Commits](https://github.com/golang/crypto/compare/v0.12.0...v0.13.0 )
Updates `golang.org/x/net` from 0.14.0 to 0.15.0
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.15.0 )
Updates `golang.org/x/oauth2` from 0.11.0 to 0.12.0
- [Commits](https://github.com/golang/oauth2/compare/v0.11.0...v0.12.0 )
Updates `golang.org/x/tools` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 08:26:40 +00:00
Kayla Washburn
fd565e0e0b
chore: enable test-2e ( #9567 )
2023-09-07 05:49:40 +00:00
Kayla Washburn
bfff88d2d3
revert: improve flag interpretation for install.sh ( #9566 )
2023-09-07 05:29:52 +00:00
Muhammad Atif Ali
2dae60038a
fix(docs): fix manifest of gcp docs ( #9559 )
2023-09-06 22:21:00 +03:00
Kayla Washburn
fd8a86808f
chore: add #9555 to .git-blame-ignore-revs ( #9557 )
2023-09-06 13:10:58 -06:00
Kayla Washburn
988c9af015
chore: format code with semicolons when using prettier ( #9555 )
2023-09-06 12:59:26 -06:00
Muhammad Atif Ali
bef38b8413
docs: update google-cloud-platform docs to use our marketplace image ( #9549 )
2023-09-06 21:58:14 +03:00
Kayla Washburn
4ed8dd0d6c
refactor: improve flag interpretation for install.sh ( #9554 )
2023-09-06 12:57:28 -06:00
Bruno Quaresma
b15bfa41c2
chore(site): move components close to where they are used ( #9552 )
...
* Move AppLink
* Move AuditLogRow
* Move UserDropdown
* Move BuildsTable
* Remove CodeBlock
* Move CreateUserForm
* Move DeploymentBanner
* Move ResetPassworDialog
* Move EditRolesButton
* Move EnterpriseSnackbar
* Move GitAuth
* Move LicenseBanner
* Move Logs
* Move MultiTextField
* Move Navbar
* Remove PasswordField
* Move RuntimeErrorState
* Remove Section
* Move SectionAction
* Move ServiceBanner
* Move SettingsAccountForm
* Move LicenseCard
* Move SettingsSecurityForm
* Move SignInForm
* Remove TabPanel and TabSidebar
* Move TemplateStats and TemplateVariableField
* Move TemplateEditor
* Move TerminalLink
* Move SSH Button
* Move many tooltips
* Move UsersTable
* Move VersionsTable
* Move VSCodeDesktopButton
* Remove WarningAlert
* Move Workspace
* Move WorkspaceActions
* Move WorkspaceBuildProgress
* Move WorkspaceDeletedBanner
* Move WorkspaceScheduleForm
* Move WorkspaceSection
* Move WorkspaceStats
* Fix imports
* Flat CreateUserForm
* Flat GitAuth
* Transform WorkspaceSection into ChartSection
* Flat AccountForm
* Flat ConfirmDeleteDialog
* Flat ResetPasswordDialog
* Flat BuildsTable
2023-09-06 18:06:08 +00:00
Kayla Washburn
75139d1d06
refactor(site): update versions table design ( #9540 )
2023-09-06 08:31:07 -06:00
Ben Potter
1bcc4152af
chore: avoid formatting changelogs ( #9548 )
2023-09-06 14:26:50 +00:00
Eric Paulsen
4ec2fea66b
docs: fix psk secret cmd ( #9524 )
2023-09-06 09:04:44 -04:00
Cian Johnston
7918e65510
feat(coderd): add dbcrypt package ( #9522 )
...
- Adds package enterprise/dbcrypt to implement database encryption/decryption
- Adds table dbcrypt_keys and associated queries
- Adds columns oauth_access_token_key_id and oauth_refresh_token_key_id
to tables git_auth_links and user_links
Co-authored-by: Kyle Carberry <kyle@coder.com >
2023-09-06 12:06:26 +01:00
Spike Curtis
3bd0fd396c
feat: add boringcrypto builds for linux ( #9543 )
...
This reverts commit da0ef92f77 .
2023-09-06 12:48:27 +04:00
Kayla Washburn
2849895832
fix: use $coder_version instead of hardcoded version in release script ( #9539 )
2023-09-05 17:30:54 -06:00
Ben Potter
66019ef70a
docs: add v2.1.6 changelog ( #9538 )
2023-09-05 21:44:12 +00:00
Alexis Emerson
d85c354507
docs: add CODER_TLS_ADDRESS to documentation for TLS setup ( #9503 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-05 19:07:56 +00:00
Steven Masley
630d125286
chore: fix typo in OpenID on cli help ( #9535 )
2023-09-05 18:37:21 +00:00
Muhammad Atif Ali
2487e64d25
fix(docs): fix broken markdown links ( #9534 )
2023-09-05 18:12:04 +00:00
Kyle Carberry
82e238b0c6
chore: exclude generated files from vscode search by default ( #9530 )
...
Anyone can feel free to revert some of these, but they were constantly
annoying when searching for symbols in our code.
2023-09-05 15:05:46 +00:00
Steven Masley
58f7071569
fix: make 'NoRefresh' honor unlimited tokens in gitauth ( #9472 )
...
* chore: fix NoRefresh to honor unlimited tokens
* improve testing coverage of gitauth
* refactor rest of gitauth tests
2023-09-05 09:08:04 -05:00
Kyle Carberry
da0ef92f77
Revert "feat: add boringcrypto builds for linux ( #9528 )" ( #9529 )
...
This reverts commit 79cd6047dc .
2023-09-05 08:37:07 -05:00
Spike Curtis
79cd6047dc
feat: add boringcrypto builds for linux ( #9528 )
...
* feat: add boringcrypto builds for linux
Signed-off-by: Spike Curtis <spike@coder.com >
* strip debug symbols, add BoringCryto to buildinfo
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix TestVersion
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-05 13:12:38 +00:00
dependabot[bot]
ce08c47b8a
chore: bump github.com/gohugoio/hugo from 0.117.0 to 0.118.2 ( #9516 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.117.0 to 0.118.2.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.117.0...v0.118.2 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 11:52:26 +03:00
Mathias Fredriksson
76ab22f539
chore(coderd/database): introduce compile-time guard against import in slim build ( #9521 )
...
This change introduces a compile-time error when `coderd/database` is
imported into the slim build. This is to guard against accidentally
growing the binary size via import.
Ref: #9380
2023-09-04 19:01:11 +00:00
Mathias Fredriksson
adba421524
refactor(coderd/telemetry): move CLI telemetry to cli/telemetry ( #9517 )
...
This change removes an indirect import of `coderd/database` from the
slim binary.
No size change (yet).
Ref: #9380
2023-09-04 21:42:45 +03:00
Mathias Fredriksson
b240799f47
refactor(cli): use codersdk for provisioner types ( #9508 )
...
This change removes one use of `coderd/database` from the slim binary
and more correctly uses codersdk instead of database or provisionerd
packages.
No size change (yet).
Ref: #9380
2023-09-04 21:42:15 +03:00
Mathias Fredriksson
39e3b049a5
refactor(coderd/healthcheck): move derp report to derphealth package ( #9506 )
...
This change helps remove one indirect use of coderd/database in the slim
CLI.
No size change (yet).
Ref: #9380
2023-09-04 21:41:50 +03:00
Mathias Fredriksson
a1025f92af
refactor(examples): pre-parse frontmatter via scripts/examplegen ( #9514 )
...
* refactor(examples): pre-parse frontmatter via scripts/examplegen
This removes 2 MB from the slim binary.
Ref: #9380
2023-09-04 20:15:29 +03:00
Mathias Fredriksson
6fc1f5276d
refactor(coderd/httpapi): remove database, dbauthz and rbac imports ( #9481 )
...
Ref: #9380
2023-09-04 19:39:14 +03:00
Mathias Fredriksson
d2115941b7
refactor(cli)!: remove reset-password from slim binary ( #9520 )
...
This is an alternative approach to #9519 and removes 2 MB instead of 1
MB (1.2 MB accounted for by embedded migration SQL files).
Combined with #9481 , #9506 , #9508 , #9517 , a total of 5 MB is removed.
Ref: #9380
2023-09-04 19:38:53 +03:00
Mathias Fredriksson
ad23d33f28
refactor(coderd/schedule): move cron schedule to cron package ( #9507 )
...
This removes an indirect import of `coderd/database` from the CLI and
results in a logical separation between server related and generalized
schedule.
No size change (yet).
Ref: #9380
2023-09-04 16:48:25 +03:00
dependabot[bot]
c31292abe8
ci: bump the github-actions group with 2 updates ( #9509 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 16:29:56 +03:00
Muhammad Atif Ali
29b2eaa217
fix(cli/dotfiles): add an exception for .gitconfig ( #9515 )
...
* fix(cli/dotfiles): Only ignore .git directory
Resolves #8306
* fix fmt
* add exception for .gitconfig
* Update dotfiles.go
2023-09-04 13:17:07 +00:00
Marcin Tojek
aa94d89f97
test: improve E2E framework ( #9469 )
2023-09-04 14:46:48 +02:00
dependabot[bot]
91cb9c65f9
chore: bump github.com/hashicorp/hc-install from 0.5.2 to 0.6.0 ( #9511 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:29:10 +03:00
dependabot[bot]
c2be893b7f
chore: bump github.com/open-policy-agent/opa from 0.55.0 to 0.56.0 ( #9512 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:28:51 +03:00
dependabot[bot]
c5714f2b47
chore: bump github.com/swaggo/swag from 1.8.6 to 1.16.2 ( #9513 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:28:39 +03:00
dependabot[bot]
cb5347bb12
chore: bump the golang-x group with 3 updates ( #9510 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:27:03 +03:00
Bruno Quaresma
b9f604c58d
fix(site): fix workspace parameters update when having immutable parameters ( #9500 )
2023-09-03 21:56:25 -03:00
Ben Potter
f5829d2be6
chore(dogfood): authenticate to coder CLI if unauthenticated ( #9487 )
2023-09-04 02:26:48 +03:00
Kyle Carberry
05439d2c1b
fix: generate username with uuid to prevent collision ( #9496 )
...
See https://github.com/coder/coder/actions/runs/6052801777/job/16426982174
2023-09-03 18:02:28 +00:00
sharkymark
43ebf667f0
docs: explain why coder port-forward is more performant than dashboard and sshd ( #9494 )
2023-09-03 10:10:48 -05:00
Mathias Fredriksson
18c9f33dec
chore: use tailscale extra small buildflags ( #9490 )
...
Ref: #9380
2023-09-01 19:14:56 +00:00
Mathias Fredriksson
27ab0d9a84
refactor(enterprise/cli): remove provisionerd from slim binary ( #9488 )
...
This change saves 8 MB in the slim binary.
Ref: #9380
2023-09-01 18:26:44 +00:00
Mathias Fredriksson
19d7da3d24
refactor(coderd/database): split Time and Now into dbtime package ( #9482 )
...
Ref: #9380
2023-09-01 16:50:12 +00:00
Mathias Fredriksson
702b064cac
refactor: split coderd/gitauth into two, add cli/gitauth ( #9479 )
...
* refactor: split coderd/gitauth into two, add cli/gitauth
Ref: #9380
2023-09-01 15:41:22 +00:00
Mathias Fredriksson
d8718c3818
chore: add ts_omit_aws tag to remove aws dependency pulled in by tailscale ( #9486 )
...
On Linux, this saves us 7 MB.
Ref: #9380
2023-09-01 18:37:49 +03:00
Mathias Fredriksson
f1f9cb030d
refactor(cli): avoid importing coderd in slim server ( #9483 )
...
This small change removes 11 MB from the slim binary size.
Ref: #9380
2023-09-01 13:32:21 +00:00
Marcin Tojek
5d7a77911e
fix: use getProvisionerJobByIDNoLock ( #9484 )
2023-09-01 13:21:18 +00:00
Cian Johnston
bc9fdd15f2
fix(enterprise/cli): correctly set default tags for PSK auth ( #9436 )
...
* provisionerd: unconditionally set tag scope to org for psk auth
* provisionerd: add unit tests for MutateTags
* cli: add some informational logging around provisionerd tags
* cli: respect CODER_VERBOSE when initializing logger
2023-09-01 10:37:09 +01:00
Colin Adler
8ee6178c66
chore(tailnet): fix MultiAgentConn mockgen ( #9476 )
2023-08-31 22:37:05 +00:00
Kayla Washburn
eded7a4b88
feat: create a workspace from any template version ( #9471 )
2023-08-31 15:07:58 -06:00
Colin Adler
796a9754a9
feat(enterprise/audit): add user object to slog exporter ( #9456 )
2023-08-31 13:32:28 -05:00
Marcin Tojek
11d4b6f758
chore: move dormancy to enterprise package ( #9468 )
2023-08-31 17:59:53 +02:00
Marcin Tojek
7c4ce62a58
test(site): print agent logs ( #9464 )
2023-08-31 14:44:44 +02:00
Cian Johnston
22f31e721c
fix(coderd/prometheusmetrics): close batcher to force flush before asserting agent stats ( #9465 )
2023-08-31 11:40:57 +01:00
Cian Johnston
fd17857095
fix(cli): template pull tests: await template version job before exiting ( #9430 )
2023-08-31 11:40:24 +01:00
Spike Curtis
ed50acaabf
fix: don't log error on context cancel ( #9463 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-31 12:08:18 +04:00
Muhammad Atif Ali
73976dd076
fix: fix aws_linux template ( #9349 )
2023-08-31 04:24:10 +03:00
dependabot[bot]
2aa66ad7c3
chore: bump monaco-editor from 0.40.0 to 0.41.0 in /site ( #9458 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 02:23:32 +03:00
dependabot[bot]
723bba98ff
chore: bump jest-canvas-mock from 2.4.0 to 2.5.2 in /site ( #9460 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 02:22:54 +03:00
dependabot[bot]
83cee77de0
chore: bump cronstrue from 2.28.0 to 2.31.0 in /site ( #9459 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 02:22:39 +03:00
dependabot[bot]
f4affda554
chore: bump cron-parser from 4.7.0 to 4.9.0 in /site ( #9455 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 23:13:48 +00:00
dependabot[bot]
03052c2e64
chore: bump @testing-library/jest-dom ( #9375 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
2023-08-30 23:02:01 +00:00
dependabot[bot]
e8047838b3
chore: bump chart.js from 4.3.3 to 4.4.0 in /site ( #9454 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 22:45:59 +00:00
dependabot[bot]
8841e23065
chore: bump the eslint group in /site with 7 updates ( #9450 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
2023-08-31 01:42:48 +03:00
dependabot[bot]
c6f0d5a6e0
chore: bump axios from 1.3.4 to 1.5.0 in /site ( #9452 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.3.4 to 1.5.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.3.4...v1.5.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 19:38:10 -03:00
dependabot[bot]
a67bd2ce3b
chore: bump @tanstack/react-query from 4.32.0 to 4.33.0 in /site ( #9453 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 01:31:00 +03:00
Kayla Washburn
4c91146cb8
fix: hide OIDC and Github auth settings when they are disabled ( #9447 )
2023-08-30 15:56:18 -06:00
Ammar Bandukwala
8f3b4075c7
ci: enable nestif linter ( #9363 )
2023-08-30 21:50:43 +00:00
Bruno Quaresma
d29696296f
refactor(site): refactor rich parameter input and form initial data ( #9440 )
2023-08-30 18:42:36 -03:00
dependabot[bot]
db93f17dab
chore: bump eslint from 8.46.0 to 8.48.0 in /offlinedocs ( #9366 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:31:11 +03:00
dependabot[bot]
6268904421
chore: bump the storybook group in /site with 7 updates ( #9449 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:27:46 +03:00
Steven Masley
e827278db7
feat: failed update refresh should redirect to login ( #9442 )
...
* chore: update refresh oauth token message
* chore: unauthorized -> forbidden for non authentication failures
* redirect to login on all 401 responses
* add unit test to verify 401 on expired refresh
2023-08-30 16:14:24 -05:00
dependabot[bot]
b9fbc541c6
chore: bump framer-motion from 10.15.0 to 10.16.1 in /offlinedocs ( #9369 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:14:02 +03:00
dependabot[bot]
2bc8ba251d
chore: bump archiver from 5.3.1 to 6.0.0 in /offlinedocs ( #9367 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:13:52 +03:00
dependabot[bot]
5b1da77291
chore: bump github.com/valyala/fasthttp from 1.48.0 to 1.49.0 ( #9385 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:13:19 +03:00
dependabot[bot]
e4543e0e14
chore: bump the otel group with 4 updates ( #9413 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:12:42 +03:00
dependabot[bot]
2c1b92b1d2
chore: bump chromatic from 6.20.0 to 6.24.1 in /site ( #9377 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:11:05 +03:00
dependabot[bot]
bb478d4939
chore: bump @playwright/test from 1.36.0 to 1.37.1 in /site ( #9378 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:10:31 +03:00
Dean Sheather
1de61246a3
feat: add experimental template autostop requirement template settings UI ( #9417 )
2023-08-30 20:41:27 +00:00
Kayla Washburn
d2462e5b88
docs: add macOS installation page ( #9443 )
2023-08-30 14:37:51 -06:00
Denbeigh Stevens
53a5f18ba4
fix(examples): remove reference to non-existent local variable ( #9448 )
2023-08-30 20:14:11 +00:00
Jon Ayers
ee24260614
feat: allow configuring display apps from template ( #9100 )
2023-08-30 14:53:42 -05:00
Kayla Washburn
9c9d035354
feat: automate updating homebrew tap formula ( #9412 )
2023-08-30 13:44:38 -06:00
Kayla Washburn
c6f4f0f8ad
feat: install from homebrew in install.sh ( #9414 )
2023-08-30 11:58:53 -06:00
Mathias Fredriksson
21f3282c82
chore(dogfood): fix code-server folder ( #9437 )
2023-08-30 20:08:06 +03:00
Bruno Quaresma
a2516b5fc3
fix(site): remove checkbox from ws table loader ( #9441 )
2023-08-30 14:06:39 -03:00
Marcin Tojek
2377ab6624
test(site): improve E2E framework ( #9438 )
2023-08-30 15:34:45 +00:00
Steven Masley
a910e934a4
chore: improve error message around gitaskpass failures ( #9407 )
2023-08-30 08:58:31 -05:00
Bruno Quaresma
2399063a56
feat(site): make workspace batch deletion GA ( #9313 )
2023-08-30 10:08:42 -03:00
Spike Curtis
90acf998bf
fix: fix null pointer on external provisioner daemons with daily_cost ( #9401 )
...
* fix: fix null pointer on external provisioner daemons with daily_cost
Signed-off-by: Spike Curtis <spike@coder.com >
* Add logging for debounce and job acquire
Signed-off-by: Spike Curtis <spike@coder.com >
* Return error instead of panic
Signed-off-by: Spike Curtis <spike@coder.com >
* remove debounce on external provisioners to fix test flakes
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-30 10:48:35 +00:00
Spike Curtis
a415395e9e
fix: stop dropping error log on context canceled after heartbeat ( #9427 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-30 14:44:00 +04:00
Marcin Tojek
3e67d8fa6a
docs: describe dynamic options and locals ( #9429 )
2023-08-30 12:30:24 +02:00
Ammar Bandukwala
16ef97a061
feat(cli): add DataDog Go tracer ( #9411 )
2023-08-29 22:14:28 +00:00
Eric Paulsen
9ceba20ea4
docs: add jetbrains offline mode config steps ( #9388 )
2023-08-29 17:04:49 -04:00
Colin Adler
64ef867b4f
fix(tailnet): re-add keepalives ( #9410 )
2023-08-29 15:21:30 -05:00
Colin Adler
8443d3e0f8
fix(enterprise): ensure audit log json fields are formatted correctly ( #9397 )
2023-08-29 13:36:54 -05:00
Dean Sheather
a572800d47
chore: rename template restart requirement to autostop requirement ( #9295 )
2023-08-29 18:35:05 +00:00
Bruno Quaresma
fc4683d8b3
chore: support protobuf files in the UI ( #9408 )
2023-08-29 17:26:23 +00:00
Mathias Fredriksson
605d2b20e2
chore(go.mod): update github.com/fergusstrange/embedded-postgres to v1.24.0 ( #9405 )
2023-08-29 19:00:38 +03:00
Marcin Tojek
f5d813c4fb
test(site): e2e: update workspace with parameters ( #9338 )
2023-08-29 15:10:31 +02:00
Mathias Fredriksson
3557497ea4
test(coderd): fix workspace rename test ( #9402 )
...
Fixes #9400
2023-08-29 11:42:42 +00:00
Dean Sheather
5993f85ec9
fix: avoid redirect loop on workspace proxies ( #9389 )
...
* fix: avoid redirect loop on workspace proxies
---------
Co-authored-by: Steven Masley <stevenmasley@coder.com >
2023-08-28 20:34:52 -05:00
Ben Potter
eb68684327
docs: add v2.1.4 changelog ( #9398 )
...
* docs: add v2.1.4 changelog
* fmt
* reorder
* clarify
2023-08-28 22:55:09 +00:00
Mathias Fredriksson
be47cc58ff
fix(enterprise/coderd): use websocketNetConn in workspaceProxyCoordinate to bind context ( #9395 )
2023-08-28 23:12:45 +03:00
Mathias Fredriksson
487bdc2e08
fix(coderd): allow workspaceAgentLogs follow to return on non-latest-build ( #9382 )
2023-08-28 19:46:42 +00:00
Steven Masley
fea8813f13
chore: drop 'template plan' unused command ( #9386 )
2023-08-28 13:33:40 -05:00
Bruno Quaresma
2167fe16d6
chore: remove e2e workaround ( #9393 )
2023-08-28 15:24:01 -03:00
Bruno Quaresma
d138ed7314
fix(coderd): send updated workspace data adter ws connection ( #9392 )
2023-08-28 15:14:17 -03:00
Dean Sheather
a2be2f9838
fix: avoid derp-map updates endpoint leak ( #9390 )
2023-08-28 18:13:19 +00:00
Kayla Washburn
ce9b048f06
feat(site): improve template publishing flow ( #9346 )
2023-08-28 11:27:51 -06:00
Marcin Tojek
80425c32bf
fix(site): workaround: reload page every 3sec ( #9387 )
2023-08-28 16:22:39 +00:00
Muhammad Atif Ali
35d0809830
ci: prefix dependabot github-actions PRs with ci: ( #9376 )
2023-08-28 18:20:52 +03:00
dependabot[bot]
b6e808d116
chore: bump github.com/charmbracelet/lipgloss from 0.7.1 to 0.8.0 ( #9370 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 14:08:32 +03:00
dependabot[bot]
506b81adeb
ci: bump crate-ci/typos@v1.16.6 to crate-ci/typos@v1.16.8 ( #9372 )
...
bumps crate-ci/typos@v1.16 .6 to crate-ci/typos@v1.16 .8
2023-08-28 09:41:05 +00:00
Muhammad Atif Ali
79aba1d5ff
ci: remove redundant groups from dependabot.yaml ( #9365 )
2023-08-28 09:21:54 +00:00
Ammar Bandukwala
594a6aae19
chore: format oidctest ( #9362 )
2023-08-27 19:51:13 +00:00
Ammar Bandukwala
6ba92ef924
ci: enable gocognit ( #9359 )
...
And, bring the server under 300:
* Removed the undocumented "disable" STUN address in favor of the
--disable-direct flag.
2023-08-27 14:46:44 -05:00
Ben Potter
173aac959c
fix(systemd): use more reasonable restart limit ( #9355 )
2023-08-27 14:35:06 -05:00
Ammar Bandukwala
4a140536e1
ci: lint against dupl ( #9357 )
...
This lint rule should help us keep Go code redundancy under control.
2023-08-27 11:42:51 -05:00
Kyle Carberry
61634d482f
fix: truncate websocket close error ( #9360 )
...
Related #9324
2023-08-27 16:26:31 +00:00
Kyle Carberry
c3ac55ff42
feat: add template_active_version_id to workspaces ( #9226 )
...
* feat: add `template_active_version_id` to workspaces
This reduces a fetch in the VS Code extension when getting the
active version update message!
* Fix entities.ts
* Fix golden gen
2023-08-27 16:26:20 +00:00
Muhammad Atif Ali
54032ccfe8
ci: update pr-cleanup.yaml to remove set -x ( #9358 )
2023-08-26 23:02:22 +00:00
Muhammad Atif Ali
f97b497966
chore(dogfood): update docker tf provider and metadata ( #9356 )
2023-08-27 01:22:28 +03:00
Ammar Bandukwala
451ca042ce
feat(site): show entity name in DeleteDialog ( #9347 )
2023-08-25 22:16:30 +00:00
Muhammad Atif Ali
7904d0b92f
docs: list firewall exceptions for restricted internet installations ( #8936 )
...
* docs: add firewall exceptions for restricted internet installtions
closes #7542
* fix link
* fmt
2023-08-25 23:48:35 +03:00
Bruno Quaresma
1de1e3b98a
fix(site): make right panel scrollable on template editor ( #9344 )
2023-08-25 13:52:10 -06:00
Steven Masley
d9d4d74f99
test: add full OIDC fake IDP ( #9317 )
...
* test: implement fake OIDC provider with full functionality
* Refactor existing tests
2023-08-25 14:34:07 -05:00
Bruno Quaresma
0a213a6ac3
refactor(site): improve the overall user table design ( #9342 )
2023-08-25 17:59:41 +00:00
Ammar Bandukwala
14f769d229
fix(site): use WebGL renderer for terminal ( #9320 )
2023-08-25 12:46:14 -05:00
Ammar Bandukwala
e5c64a8ea9
fix(site): render variable width unicode characters in terminal ( #9259 )
...
Previously, characters such as 🟢 were given insufficient space, leading
to mangled output.
2023-08-25 17:45:36 +00:00
Eric Paulsen
91f900ec64
docs: expand on TTL flags ( #9286 )
...
* docs: expand on TTL flags
* make: gen
* Discard changes to site/src/api/api.ts
* Discard changes to site/src/xServices/templateVersion/templateVersionXService.ts
---------
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-08-25 13:39:12 -04:00
Ammar Bandukwala
f149db6ca6
fix(cli): add --max-ttl to template create ( #9319 )
...
It was just in template edit by mistake.
2023-08-25 11:00:38 -05:00
Muhammad Atif Ali
3b1ecd3c2f
chore: update aws_linux template ( #9325 )
2023-08-25 13:50:03 +00:00
Marcin Tojek
d7a788d89d
test(site): e2e: restart workspace with ephemeral parameters ( #9304 )
2023-08-25 14:50:38 +02:00
Spike Curtis
aed891b4ff
fix: fix coder template pull on Windows ( #9327 )
...
* fix: fix coder template pull on Windows
Signed-off-by: Spike Curtis <spike@coder.com >
* appease linter
Signed-off-by: Spike Curtis <spike@coder.com >
* improvements from code review
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-25 10:58:13 +00:00
Spike Curtis
e7a231e44f
fix: fix test flake introduced by #9264 ( #9330 )
...
* Fix test flake introduced by #9264
Signed-off-by: Spike Curtis <spike@coder.com >
* change check to match suffix
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-25 10:48:42 +00:00
Bruno Quaresma
058fb2ecf0
fix(site): fix default ephemeral parameter value on parameters page ( #9314 )
2023-08-25 12:28:18 +02:00
Spike Curtis
60d5002eb6
refactor: change template archive extraction to be on provisioner ( #9264 )
...
* refactor provisionersdk protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor provisioners to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor provisionerd to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor tests & proto renames
* Fixes from self-review
Signed-off-by: Spike Curtis <spike@coder.com >
* appease fmt & link
Signed-off-by: Spike Curtis <spike@coder.com >
* code review fixes & e2e fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* More fmt
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* new gen; use uuid for session workdir
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert nix-based gen CI task until dogfood is on nix
Signed-off-by: Spike Curtis <spike@coder.com >
* revert deleting dogfood Docker stuff
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert "revert deleting dogfood Docker stuff"
This reverts commit 9762158167 .
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-25 06:10:15 +00:00
sharkymark
4bed492012
docs: ui option for adding licenses ( #9322 )
2023-08-24 22:23:59 -05:00
Jon Ayers
7ddb216d87
chore: revert nix-related CI changes ( #9321 )
...
* chore: revert nix-related CI changes
- Reverts using nix to run CI-dependencies.
- Running 'make gen' in a dogfood workspace resulted in inconsistent
results for protobuf-related files making it difficult to pass CI.
This PR imports the minimum changes necessary to make CI compatible
with dogfood.
2023-08-24 21:26:30 -05:00
Ammar Bandukwala
630ec55c48
fix(coderd): remove rate limits from agent metadata ( #9308 )
...
Include the full update message in the PubSub notification so that
we don't have to refresh metadata from the DB and can avoid rate
limiting.
2023-08-24 15:18:42 -05:00
Jon Ayers
7f14b50dbe
chore: rename locked to dormant ( #9290 )
...
* chore: rename locked to dormant
- The following columns have been updated:
- workspace.locked_at -> dormant_at
- template.inactivity_ttl -> time_til_dormant
- template.locked_ttl -> time_til_dormant_autodelete
This change has also been reflected in the SDK.
A route has also been updated from /workspaces/<id>/lock to /workspaces/<id>/dormant
2023-08-24 13:25:54 -05:00
Ben Potter
ebd878b6b5
chore: v2.1.3 changelog ( #9311 )
2023-08-24 17:35:00 +00:00
Dean Sheather
64df076328
feat: add server flag to force DERP to use always websockets ( #9238 )
2023-08-24 17:22:31 +00:00
Mathias Fredriksson
9cb913fb1a
fix(go.mod): upgrade cdr.dev/slog to fix isTTY race ( #9305 )
2023-08-24 18:08:52 +03:00
Mathias Fredriksson
af939d1e94
fix(coderd): optimize template app insights query for speed and decrease intervals ( #9302 )
2023-08-24 14:34:38 +00:00
Bruno Quaresma
67c8635543
fix(site): only show workspace actions if user has permission ( #9303 )
2023-08-24 11:28:59 -03:00
Bruno Quaresma
14aa1af45f
refactor(site): remove as many 100vh units as possible( #9272 )
2023-08-24 09:25:27 -03:00
Mathias Fredriksson
04d5e3f54f
fix(coderd): rewrite template insights query for speed and fix intervals ( #9300 )
2023-08-24 14:38:32 +03:00
Mathias Fredriksson
d00817ea4a
perf(coderd): simplify insights queries to speed them up ( #9299 )
2023-08-24 10:52:20 +00:00
Mathias Fredriksson
6b69abfec7
fix(coderd): use stable sorting for insights and improve test coverage ( #9250 )
...
Fixes #9213
2023-08-24 13:36:40 +03:00
Cian Johnston
970072f61d
chore(docs): add example scenario for parameter updates ( #9298 )
2023-08-24 10:35:20 +01:00
Marcin Tojek
52ea23355a
docs: incompatibility in parameter options for workspace builds ( #9297 )
2023-08-24 11:05:31 +02:00
coryb
113894c045
fix(coderd): prevent oidc refresh being ignored ( #9293 )
2023-08-24 00:42:20 -05:00
Ben Potter
f96622f192
chore: add exempt users to CLAbot allowlist ( #9292 )
2023-08-23 23:17:22 +00:00
Bruno Quaresma
6c93687095
fix(site): fix vertical scroll in the bottom bar ( #9270 )
2023-08-23 17:24:47 -03:00
Cian Johnston
2fa6a50de6
chore(docs): update scaling table ( #9279 )
2023-08-23 20:18:42 +00:00
Ben Potter
e0ba80c872
chore: write v2.1.2 changelog ( #9288 )
2023-08-23 19:51:29 +00:00
Reuben Ellis
868ae06d4e
chore: add a base directory for TurboSnap ( #9258 )
...
* Add base dir for TurboSnap
* updated main workflow as well
* Add vite configuration
* remove the mergeConfig and return config
2023-08-23 15:12:00 -03:00
dependabot[bot]
69b5c9cc27
chore: bump the react group in /site with 1 update ( #9164 )
...
Bumps the react group in /site with 1 update: [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ).
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.15.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: react
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 15:11:02 -03:00
Kyle Carberry
707a0a2d95
fix: resolve deadlock when fetching everyone group for in-memory db ( #9277 )
2023-08-23 16:54:16 +00:00
Marcin Tojek
e845deaa89
fix: prompt when parameter options are incompatible ( #9247 )
2023-08-23 18:18:38 +02:00
Mathias Fredriksson
8bfa312905
fix(coderd): parallelize queries to improve template insights performance ( #9275 )
2023-08-23 15:31:23 +00:00
dependabot[bot]
d180df1fd5
chore: bump google.golang.org/api from 0.137.0 to 0.138.0 ( #9216 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 18:04:20 +03:00
dependabot[bot]
cff33c2326
chore: bump the github-actions group with 1 update ( #9218 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 18:03:59 +03:00
Kayla Washburn
72cb42b8e0
feat(site): add descriptions for each auth method to the selection menu ( #9252 )
2023-08-23 08:58:49 -06:00
Bruno Quaresma
b6aedb9f1d
refactor(site): improve how string values are displayed ( #9273 )
2023-08-23 11:32:55 -03:00
Dean Sheather
f35423c041
fix: update conn derpmap every 5s in single tailnet ( #9176 )
2023-08-23 11:20:31 +00:00
Dean Sheather
53de47d4c8
chore: fix flake in TestDERPHeaders ( #9262 )
2023-08-23 21:03:39 +10:00
Marcin Tojek
a3d31268a3
fix(cli): do not ask for immutables on update ( #9266 )
2023-08-23 12:46:52 +02:00
Marcin Tojek
e6d90bd4fe
fix: rewrite onlyDataResources ( #9263 )
2023-08-23 10:17:16 +00:00
Muhammad Atif Ali
d37f6d80f7
chore(docs): update docs for correct use of shell and console and enforce linewidth ( #9245 )
2023-08-23 12:27:57 +03:00
Mathias Fredriksson
ed2b1236c0
fix(coderd/batchstats): fix init race and close flush ( #9248 )
2023-08-23 11:58:25 +03:00
Kayla Washburn
31ffb566d0
fix: disable setup page once setup has been completed ( #9198 )
2023-08-22 14:57:46 -06:00
Jon Ayers
6e41cd1eda
feat: add activity bumping to template scheduling ( #9040 )
2023-08-22 15:15:13 -05:00
Ammar Bandukwala
6214117d3d
fix: pull agent metadata even when rate is high ( #9251 )
...
This commit fixes a bug where when the rate of metadata updates was
too high, the debounce caused a new update to get indefinitely delayed.
2023-08-22 13:55:00 -05:00
Kayla Washburn
697b0283c5
chore: fix low hanging lint issues ( #9253 )
2023-08-22 12:32:37 -06:00
Ben Potter
306615c674
docs: add v2.1.1 changelog ( #9249 )
...
* add WPL to manifest
* docs: add v2.1.1 changelog
2023-08-22 16:09:33 +00:00
Steven Masley
262d7692b6
feat: add force refresh of license entitlements ( #9155 )
...
* feat: add force refresh of license entitlements
* send "going away" mesasge on licenses pubsub on close
* Add manual refresh to licenses page
2023-08-22 09:26:43 -05:00
Steven Masley
37a3b42c55
feat: add last_used search params to workspaces ( #9230 )
...
* feat: add last_used search params to workspaces
2023-08-22 08:41:58 -05:00
Cian Johnston
e57d635739
feat: add script to run a local keycloak instance ( #9242 )
2023-08-22 14:32:03 +01:00
Marcin Tojek
8a1da743cc
test(site): e2e: create workspace with rich parameters ( #9185 )
2023-08-22 14:21:32 +02:00
Ammar Bandukwala
545a256b57
fix: correctly reject quota-violating builds ( #9233 )
...
Due to a logical error in CommitQuota, all workspace Stop->Start operations
were being accepted, regardless of the Quota limit. This issue only
appeared after #9201 , so this was a minor regression in main for about
3 days. This PR adds a test to make sure this kind of bug doesn't recur.
To make the new test possible, we give the echo provisioner the ability
to simulate responses to specific transitions.
2023-08-22 02:55:39 +00:00
Ammar Bandukwala
69ec8d774b
fix(cli/server): apply log filter to log message as well as name ( #9232 )
2023-08-21 17:53:26 -05:00
Kayla Washburn
2a263b9534
fix: always show add user button ( #9229 )
...
Fixes #9172
There is always at least one authentication method enabled (none), so we should remove the authMethod check to make sure that the button is always shown.
2023-08-21 15:44:20 -06:00
Ammar Bandukwala
4a9c7733d8
chore(dogfood): revert to pre-nix image ( #9231 )
2023-08-21 20:30:09 +00:00
Kyle Carberry
2a04d15c6d
chore: downgrade dogfood image to postgres 13 ( #9228 )
2023-08-21 19:26:31 +00:00
Bruno Quaresma
f6e02068e7
fix(site): fix ports update ( #9221 )
2023-08-21 14:32:59 -03:00
Bruno Quaresma
92445cf52e
fix(site): fix locale dates in timeline component ( #9223 )
2023-08-21 14:24:54 -03:00
Cian Johnston
5c1ecfbd5f
feat(scripts/develop.sh): provide an easy way to specify access url ( #9222 )
...
Allows `develop.sh --access-url="http://host:port "`
2023-08-21 17:23:07 +00:00
Steven Masley
b2ca3ebaa3
fix: add workspace_proxy type to auditlog friendly strings ( #9194 )
...
* fix: add workspace_proxy type to auditlog friendly strings
* add unit test and organization type
2023-08-21 10:53:41 -05:00
Kyle Carberry
07188b123a
chore: add dependencies for js-test to our nix flake ( #9224 )
2023-08-21 15:03:33 +00:00
Cian Johnston
5d4a17717f
refactor(coderd): fetch owner information when authorizing workspace agent ( #9123 )
...
* Refactors the existing httpmw tests to use dbtestutil so that we can test them against a real database if desired,
* Modifies the GetWorkspaceAgentByAuthToken to return the owner and associated roles, removing the need for additional queries
2023-08-21 15:49:26 +01:00
Ammar Bandukwala
6d939b726c
fix: correctly assess quota for stopped resources ( #9201 )
2023-08-21 09:01:16 -05:00
Mathias Fredriksson
509411f87c
chore(flake.nix): add kubectx ( #9219 )
2023-08-21 15:54:22 +03:00
Mathias Fredriksson
03453b1e02
feat(coderd): add template app usage to insights ( #9138 )
...
Fixes #8658
2023-08-21 15:08:58 +03:00
Cian Johnston
4de7de420e
fix(flake.nix): add gcloud auth plugin ( #9215 )
2023-08-21 10:58:34 +00:00
Kyle Carberry
7404ee9b21
chore: add name to top-level package.json to allow importing ( #9209 )
2023-08-20 00:35:38 +00:00
Kyle Carberry
4d85d56327
chore: add version to top-level package.json to allow importing ( #9208 )
2023-08-20 00:10:53 +00:00
Kyle Carberry
2c83bfdfa5
fix: set the location of locale_archive ( #9207 )
...
See https://nixos.wiki/wiki/Locales
2023-08-19 22:37:44 +00:00
Ammar Bandukwala
6b8102cf4c
feat(cli): add daily_cost to coder ls ( #9200 )
2023-08-19 12:56:08 -05:00
Vaibhav Kumar
e95557890a
docs: remove <> and use shell for code blocks in azure docs ( #9078 )
2023-08-19 13:52:24 +00:00
Kyle Carberry
40ef9ff779
fix: add sapling to the nix flake ( #9202 )
2023-08-18 16:41:03 -05:00
Kyle Carberry
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
Cian Johnston
0d40e7fe24
chore(flake.nix): add gcloud and kubectl to flake ( #9197 )
2023-08-18 18:29:24 +00:00
Kyle Carberry
9e9c79dbd3
fix: remove nix bash from the dogfood image ( #9195 )
...
This was unnecessary.
2023-08-18 17:59:25 +00:00
Mathias Fredriksson
bbaa057e15
fix(agent): log correct script timeout for startup script ( #9190 )
2023-08-18 17:35:49 +00:00
Kyle Carberry
4c133e7058
fix: add yarn to the dogfood image ( #9193 )
2023-08-18 17:15:33 +00:00
Ben Potter
36fcee50b6
fix: use proper link to workspace proxies page ( #9183 )
...
we changed the route in #9070
2023-08-18 11:49:14 -05:00
Kyle Carberry
c93782aba6
fix: allow chsh in dev image ( #9191 )
2023-08-18 16:15:05 +00:00
Kyle Carberry
9725ec0713
fix: separate dev shell and dev image nix deps ( #9189 )
...
* fix: separate dev shell and dev image nix deps
* Add less
2023-08-18 15:58:52 +00:00
Kyle Carberry
e94ebea5e9
fix: add gh cli to the dogfood image ( #9184 )
2023-08-18 14:49:54 +00:00
Kyle Carberry
88de63f891
fix: add locale to dogfood image ( #9181 )
...
* fix: add locale to dogfood image
* Update flake.nix
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Add gcc
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-08-18 09:16:16 -05:00
Cian Johnston
95458ac8a5
chore(scripts/develop.sh): restore original access url setting ( #9174 )
2023-08-18 13:24:17 +00:00
Bruno Quaresma
8db3869415
chore: add zsh to dogfood ( #9178 )
2023-08-18 13:05:02 +00:00
Dean Sheather
f4f3132120
docs: add workspace process logging doc ( #9002 )
2023-08-18 23:02:01 +10:00
Bruno Quaresma
531f740070
fix(site): remove mock data from port forward button ( #9177 )
2023-08-18 12:59:20 +00:00
Marcin Tojek
669ae9d4d3
fix(cli): remove prompt for immutable parameters on start and restart ( #9173 )
2023-08-18 14:06:46 +02:00
phorcys420
376352eeb3
fix(ci): add github token to chocolatey workflow ( #9166 )
2023-08-18 13:16:56 +03:00
Marcin Tojek
ea34ec7538
chore(site): regenerate provisioner stub ( #9151 )
2023-08-18 10:50:43 +02:00
Marcin Tojek
04810cb42e
fix: do not install strace on OSX ( #9167 )
2023-08-18 10:07:11 +02:00
Spike Curtis
2f46f2315c
fix: fix race in PGCoord at startup ( #9144 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-18 09:53:03 +04:00
Kyle Carberry
c0a78533bf
chore: reduce build time by converting docker image to build with nix ( #9099 )
...
* Add Docker image
* Try building the container in CI
* Uncomment testing lines
* Trim image step
* Hit 'em with a Docker load
* Oopsie!
* Add a tag and push!
* Fix image name 🤦
* Fix sudo
* Fix target name
* Build and push
* Fix login to docker hub
* Revert to Docker push
* Fix PATH
* Fix SHA
* Fix ca certs
* Fix ca certs
* Fix coping files in
* Fix docker init
* Fix Docker group and init
* Add comments to our Nix
* Fix build stage
* Add some more comments
* Remove old dogfood image files
* Tag and push with branch name
* Fix tag passing
* Fix tag passing
* Remove old pull triggers
* Convert gen to use Nix
* Add protobuf to the flake
* Add prettier to the dev shell
* Swap to the faster Nix cache action
* Add the correct yq
* Fix gen
* Add make to the flake
* Update extensions
2023-08-17 21:19:36 -05:00
Kayla Washburn
5b165d5cb9
fix: make displayName primary in ParameterLabel component ( #9158 )
2023-08-17 19:07:57 -06:00
Ben Potter
71d5882341
chore: 2.1.0 changelog ( #9160 )
2023-08-17 23:02:54 +00:00
Bruno Quaresma
9caa4cfde0
feat(site): display build logs history in the build log page ( #9150 )
2023-08-17 18:59:26 -03:00
Ammar Bandukwala
be40dc85ab
chore: cleanup extraneous logging ( #9156 )
...
* The batchstats warning went out on every Ctrl+C in my development
Rule of silence:
The provisioner and connect messages messages were sent out on every startup
without a corresponding user event, making them annoying and more-so
debug messages.
2023-08-17 21:01:55 +00:00
Kayla Washburn
9710bada06
fix: redirect to login upon authentication error ( #9134 )
2023-08-17 13:54:20 -06:00
Ammar Bandukwala
720ad9a653
fix(site): avoid showing disabled fields in group settings page ( #9154 )
...
Previously we allowed interaction with the icon setter and showed
confusing help text under the disabled "Display Name" field.
2023-08-17 14:21:36 -05:00
Jon Ayers
2f6687a475
feat: expose Everyone group through UI ( #9117 )
...
- Allows setting quota allowances on the 'Everyone' group.
2023-08-17 13:25:16 -05:00
Steven Masley
8910f05172
fix: /workspaces should work even if missing template perms ( #9152 )
...
If a user is missing template perms to a workspace, just block reading
that workspace. This is to keep the api consistent, it is not a rbac
enforcement.
This should ublock users reporting this bug that /workspaces returns
nothing when 1 workspace cannot be fully read. We might want to be
able to return missing or unknown fields in our api to account
for this.
2023-08-17 13:22:03 -05:00
Kayla Washburn
e39402f1c9
fix: don't navigate away from editor after publishing ( #9153 )
2023-08-17 10:49:16 -06:00
Reuben Ellis
94cbc2ae7f
chore: update storybook build script ( #9140 )
2023-08-17 09:58:52 -03:00
Oleg Kovalov
c639674b39
chore: replace chi with chi/v5 ( #9143 )
2023-08-17 07:46:56 -05:00
Spike Curtis
c66befb548
fix(scaletest): change IP range to non-reserved in GCP ( #9146 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-17 13:11:02 +04:00
Spike Curtis
c7a6d626b4
fix: make PGCoordinator close connections when unhealthy ( #9125 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-17 09:36:47 +04:00
Eric Paulsen
c217a0d819
fix!: remove jq from image ( #8979 )
...
* fix: remove jq from base and add jq ext image
* Delete Dockerfile.ext-jq
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-08-16 21:20:33 -04:00
Kayla Washburn
5c7780015b
chore: rename UsersDropdown.tsx component file to UserDropdown.tsx ( #9137 )
2023-08-16 17:36:51 -06:00
Ben Potter
fa8e103b0e
docs: last seen before & after ( #9096 )
2023-08-16 23:20:03 +00:00
Asher
02ee724d9f
fix: do terminal emulation in reconnecting pty tests ( #9114 )
...
It looks like it is possible for screen to use control sequences instead
of literal newlines which fails the tests.
This reuses the existing readUntil function used in other pty tests.
2023-08-16 13:02:03 -08:00
Steven Masley
74999305b6
fix: change oauth convert oidc cookie to SameSite=Lax ( #9129 )
...
The strict mode was blocking the cookie from being sent on the
redirect flow. This worked on localhost because cookies
behave differently on localhost
2023-08-16 12:50:44 -05:00
Bruno Quaresma
b05293572f
refactor(site): remove template parameters insights out of experimental ( #9126 )
2023-08-16 12:29:42 -03:00
Muhammad Atif Ali
8646f7c00d
chore: add JFrog VS Code extension to jfrog template ( #9128 )
2023-08-16 10:03:42 -05:00
Bruno Quaresma
752070baf5
refactor(site): use bar chart for DAUs ( #9127 )
2023-08-16 10:59:15 -03:00
Spike Curtis
ff9252c706
feat: add provisioner chart to release and docs ( #9050 )
...
* Add provisioner chart to release and docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Update docs/admin/provisioners.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* Prettier
Signed-off-by: Spike Curtis <spike@coder.com >
* spell out PSK first time per section
Co-authored-by: Cian Johnston <cian@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Cian Johnston <cian@coder.com >
2023-08-16 16:26:38 +04:00
Mathias Fredriksson
6fd9975aed
feat(coderd): add coder_app usage stats ( #9001 )
...
Updates #8658
2023-08-16 15:22:00 +03:00
phorcys420
f3c707648c
ci: publsh Chocolatey package ( #8921 )
2023-08-16 15:21:28 +03:00
Ammar Bandukwala
95d66ac385
docs: explain using Artifactory as a template store ( #9071 )
2023-08-15 16:46:56 -05:00
sharkymark
7261f0a9d4
docs: add bpmct template repo to community markdown ( #9113 )
2023-08-15 21:13:51 +00:00
Cian Johnston
6cdf1c73c0
chore: update sqlc to version 1.20.0 ( #9111 )
2023-08-15 20:06:03 +00:00
Colin Adler
5b2ea2e94f
fix(tailnet): disable wireguard trimming ( #9098 )
...
Co-authored-by: Spike Curtis <spike@coder.com >
2023-08-15 14:26:56 -05:00
Eric Paulsen
e4c24e05f8
fix: rename group GET request ( #9097 )
...
* fix: group GET req naming
* make: gen
2023-08-15 14:47:08 -04:00
dependabot[bot]
279d9f71f9
chore: bump github.com/gohugoio/hugo from 0.116.0 to 0.117.0 ( #9084 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 13:40:03 -05:00
Ben Potter
ee9deb0a6e
docs: add conditional example to optional vs required parameters ( #9115 )
2023-08-15 18:24:05 +00:00
dependabot[bot]
65d84827cd
chore: Bump the github-actions group with 1 update ( #9086 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.2...v1.16.4 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 19:33:34 +03:00
Bruno Quaresma
c5d4a4d85d
docs: update FE stack ( #9112 )
2023-08-15 16:03:14 +00:00
Spike Curtis
63278ab88f
Reword latency docs for HA ( #8860 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 19:58:04 +04:00
Bruno Quaresma
4058f049af
feat(site): add batch actions to the workspaces page ( #9091 )
2023-08-15 12:57:39 -03:00
dependabot[bot]
c2c9da7db0
chore: bump google.golang.org/api from 0.134.0 to 0.137.0 ( #9093 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 10:50:10 -05:00
Colin Adler
9d9b330b16
chore: add request body to patch groups openapi spec ( #9101 )
2023-08-15 15:29:15 +00:00
Spike Curtis
41433cd1ec
feat: add terminationGracePeriodSeconds to provisioner chart ( #9048 )
...
* feat: add terminationGracePeriodSeconds to provisioner chart
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove hardcoded 1 minute graceful timeout
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 08:38:58 +00:00
Spike Curtis
e893ab232c
chore: enables debug logging on TestTemplateInsights ( #9103 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 12:35:51 +04:00
Muhammad Atif Ali
86fcd4503f
Revert "ci: run tests intelligently based on changes between consecutive commits ( #9017 )" ( #9104 )
2023-08-15 08:22:49 +00:00
Muhammad Atif Ali
9a1f845553
docs: expand jfrog platform and example template ( #9073 )
2023-08-15 07:04:07 +00:00
Spike Curtis
d54b387e34
fix: fix deadlock on tailnet close ( #9079 )
...
* fix: fix deadlock in tailnet close
Signed-off-by: Spike Curtis <spike@coder.com >
* close another tailscale race
Signed-off-by: Spike Curtis <spike@coder.com >
* Close another race
Signed-off-by: Spike Curtis <spike@coder.com >
* HACK - run go tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert "HACK - run go tests"
This reverts commit d2729f36b4 .
* tailscale to tip of coder/tailscale/main
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 06:54:06 +00:00
Colin Adler
344d32b2f1
feat(coderd): expire agents from server tailnet ( #9092 )
2023-08-14 20:38:37 -05:00
Asher
a08f7b8fb9
fix: catch missing output with reconnecting PTY ( #9094 )
...
I forgot that waiting on the cond releases the lock so it was possible
to get pty output after writing the buffer but before adding the pty to
the map. To fix, add the pty to the map while under the same lock where
we read from the buffer.
The rest does not need to be behind the lock so I moved it out of
doAttach, and that also means we no longer need
waitForStateOrContextLocked.
Also, this can hit a logger error saying the attach failed which fails
the tests however it is not that the attach failed, just that the
process already ran and exited, so when the process exits do not
set an error, instead for now assume this is an expected close.
2023-08-14 15:54:23 -08:00
Steven Masley
6ea82c5ae7
chore: add oidc sequence diagram image to docs ( #9089 )
...
* chore: add oidc sequence diagram image to docs
* Change wording
* Direct link to the sequence diagram
2023-08-14 17:35:43 -05:00
Steven Masley
25ce30df36
feat: add azure oidc PKI auth instead of client secret ( #9054 )
...
* feat: add azure oidc PKI auth instead of client secret
* add client cert and key as deployment options
* Custom token refresher to handle pki auth
2023-08-14 17:33:13 -05:00
dependabot[bot]
4e36f91ea2
chore: bump the golang-x group with 1 update ( #9083 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 16:59:28 -05:00
Dean Sheather
47b8bf6585
feat: update workspace deadline when template policy changes ( #8964 )
2023-08-14 21:16:47 +00:00
Asher
37f9d4b783
feat: add --header-command flag ( #9059 )
...
This allows specifying a command to run that can output headers for
cases where users require dynamic headers (like to authenticate to their
VPN).
The primary use case is to add this flag in SSH configs created by the
VS Code plugin, although maybe config-ssh should do the same.
2023-08-14 12:12:17 -08:00
Asher
b993cab49a
fix: use screen for reconnecting terminal sessions on Linux if available ( #8640 )
...
* Add screen backend for reconnecting ptys
The screen portion is a port from wsep. There is an interface that lets
you choose between screen and the previous method. By default it will
choose screen if it is installed but this can be overidden (mostly for
tests).
The tests use a scanner instead of a reader now because the reader will
loop infinitely at the end of a stream.
Replace /bin/bash with bash since bash is not always in /bin.
* Remove connection_id from reconnecting PTY logger
This serves multiple connections so it makes no sense to scope it to a
single connection.
Also lets us use "connection_id" when logging write errors instead of
"other_conn_id".
* Use PATH to test buffered reconnecting pty
2023-08-14 11:19:13 -08:00
Muhammad Atif Ali
878315dcaf
fix: fix CI concurrency ( #9088 )
2023-08-14 18:48:14 +03:00
Cian Johnston
ef9d84c723
fix(scaletest): cleanup: attempt to cancel in-progress jobs ( #9080 )
...
This change modifies the cleanup behaviour to make a best-effort attempt to cancel the in-progress scaletest workspace build jobs before deleting them.
2023-08-14 12:43:45 +01:00
Cian Johnston
72575cc462
chore(docs): fix indentation in install/kubernetes.md ( #8906 )
...
* chore(docs): fix indentation in install/kubernetes.md
* fmt
2023-08-14 09:41:00 +01:00
Kyle Carberry
594b9797dd
fix: change dashboard route /settings/deployment to /deployment ( #9070 )
...
It felt unnecessary to nest this.
2023-08-13 16:58:04 +00:00
Kyle Carberry
0d01d022f7
fix: remove unnecessary newlines from the end of cli output ( #9068 )
...
`Infof` already adds a newline, so we don't need to as well!
2023-08-13 11:48:11 -05:00
Kyle Carberry
9a13814b46
fix: remove duplication from language of query param error ( #9069 )
2023-08-13 11:47:44 -05:00
Muhammad Atif Ali
1629a2a4ee
chore: sort DERP regions by latencies on workspace page ( #9063 )
2023-08-13 18:52:14 +03:00
Kyle Carberry
abe17b1164
chore: update speakeasy to fix stty path bug on nixos ( #9022 )
...
Prompts failed on NixOS due to /bin/stty being hardcoded for turning
off echo in the terminal prompt. See:
https://github.com/bgentry/speakeasy/commit/760eaf8b681647364e7a400b856e0921248728a5
2023-08-13 15:10:58 +00:00
Muhammad Atif Ali
984f7ce045
fix: update BUILD condition in pr-deploy.yaml ( #9064 )
...
This makes the build condition more understandable and fixes an issue where we could not deploy a new PR as the build condition was constantly evaluating false.
2023-08-13 11:18:17 +03:00
Eric Paulsen
6af6e85fe3
docs: add coder login to CI docs ( #9038 )
...
* docs: add coder login to CI docs
* add CODER_URL
* add --url flag to login cmd
2023-08-11 20:55:55 +00:00
Eric Paulsen
d2a9049fd7
docs: add offline docs for JetBrains Gateway ( #9039 )
2023-08-11 14:56:35 -05:00
Steven Masley
320de18be7
fix: correct github oauth2 callback url ( #9052 )
...
* fix: correct github oauth2 callback url
2023-08-11 09:25:05 -05:00
Steven Masley
47ca84be47
chore: return queried user on failure to help debug ( #9051 )
2023-08-11 14:02:19 +00:00
Steven Masley
1c7bd57da8
chore: clarify region selection behavior ( #9021 )
...
* chore: clarify region selection behavior
* Update site/src/components/Navbar/NavbarView.tsx
Co-authored-by: Kyle Carberry <kyle@coder.com >
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2023-08-11 08:26:01 -05:00
Muhammad Atif Ali
59fd4e86c9
ci: remove deleting comments section from pr-cleanup.yaml ( #9047 )
2023-08-11 15:43:37 +03:00
Muhammad Atif Ali
a13c8c88d5
fix: prevent unrequested PR deployments ( #9049 )
2023-08-11 12:32:42 +00:00
Muhammad Atif Ali
7fb9197860
ci: do not run deploy-pr on main ( #9046 )
2023-08-11 10:54:55 +00:00
Muhammad Atif Ali
114ad4624e
ci: upgrade pr deployments workflow ( #8924 )
2023-08-11 13:49:23 +03:00
Muhammad Atif Ali
4d8152d543
ci: run tests intelligently based on changes between consecutive commits ( #9017 )
2023-08-11 13:48:24 +03:00
Steven Masley
40f3fc3a1c
feat: allow creating manual oidc/github based users ( #9000 )
...
* feat: allow creating manual oidc/github based users
* Add unit test for oidc and no login type create
2023-08-10 20:04:35 -05:00
ffais
6fd5344d0a
feat: add support for NodePort service type in Helm chart ( #8993 )
...
* add support for NodePort service type in Helm chart
* fix nodeport values
* formatting & make update-golden-files
* update-golden-files
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
2023-08-10 20:57:59 -04:00
timquinlan
a2d64c08c1
docs: update helm values.yaml code snippet, put quote around boolean value ( #9026 )
...
* updated helm values.yaml code snippet, put quote around boolean values and added comments showing that CODER_OAUTH2_GITHUB_ALLOW_EVERYONE and CODER_OAUTH2_GITHUB_ALLOW_EVERYONE are mutually exclusive
* Update auth.md
spotted and fixed minor typo
2023-08-10 17:06:10 -04:00
Dean Sheather
d2f22b063a
fix: move STUN servers into their own regions ( #9030 )
2023-08-11 05:04:17 +10:00
Dean Sheather
25c6832772
chore: update tailscale ( #9027 )
2023-08-11 04:26:28 +10:00
Bruno Quaresma
175aed1685
feat(site): add tooltip showing the error in the failure badge ( #9029 )
2023-08-10 15:23:31 -03:00
Bruno Quaresma
83061bef7e
refactor(site): add minor improvements to the port button ( #9028 )
2023-08-10 14:47:56 -03:00
Ben Potter
76ad116e12
docs: write 2.0.2 changelog ( #9025 )
...
* mention provisioner authentication
* add changelog for 2.1.0
* rename to 2.0.2
2023-08-10 17:02:02 +00:00
Marcin Tojek
967a4b0c7c
feat: add example template using rich parameters ( #9020 )
2023-08-10 16:36:18 +02:00
Muhammad Atif Ali
091c00bd70
fix: make preferred region the first in list ( #9014 )
2023-08-10 12:59:39 +00:00
Bruno Quaresma
834ce41013
refactor(site): add default background color to html and body ( #9009 )
2023-08-10 09:41:35 -03:00
Marcin Tojek
9d9814c6b0
refactor(cli): adjust parameter resolver ( #9019 )
2023-08-10 12:08:00 +02:00
Spike Curtis
21af020386
feat: add external provisioner daemon helm chart ( #8939 )
...
* Refactor helm to extract common templates to libcoder
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove comment from libcoder Chart.yaml
Signed-off-by: Spike Curtis <spike@coder.com >
* Add provisioner helm chart
* Fix prettier, linting, docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Log at INFO when provisionerd connects to coderd
Signed-off-by: Spike Curtis <spike@coder.com >
* remove unnecessary exports in helm tests
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-10 13:59:43 +04:00
Steven Masley
cdb089049e
chore: add docs for creating missing groups on oidc sync ( #8983 )
2023-08-09 22:43:44 -05:00
Colin Adler
370bdd6a03
fix(cli): only init clistat.Client when calling coder stat ( #9013 )
2023-08-09 19:17:57 -05:00
Bruno Quaresma
c0d1cacc49
fix(site): fix storybook error and inconsistent snapshots ( #9010 )
2023-08-09 21:22:13 +00:00
Eric Paulsen
fb5e0c4bba
docs: add TLS config steps for K8s ( #9011 )
...
* docs: add TLS config steps for K8s
* add note on wildcard cert
2023-08-09 17:00:22 -04:00
Bruno Quaresma
3245e91a32
fix(site): set default color and display error on appearance form ( #9004 )
2023-08-09 16:53:32 -03:00
Colin Adler
bc862fa493
chore: upgrade tailscale to v1.46.1 ( #8913 )
2023-08-09 19:50:26 +00:00
Bruno Quaresma
5b9dc2ee8b
fix(site): add search params to auth redirect ( #9005 )
2023-08-09 16:31:12 -03:00
phorcys420
53f26b313d
fix(scripts): check if PR list is empty ( #8805 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-08-09 19:22:46 +00:00
Colin Adler
612f1c6a55
chore: use echo provisioners in logging tests ( #9008 )
2023-08-09 19:03:02 +00:00
Steven Masley
f334b66178
chore: do not allow resetting password of non password users ( #9003 )
2023-08-09 13:56:13 -05:00
Colin Adler
919f5c6fe9
chore: increase e2e timeout to 60s ( #9007 )
2023-08-09 18:50:27 +00:00
Colin Adler
a9e01bf3f1
chore: fix terraform tests ( #9006 )
2023-08-09 18:11:03 +00:00
Bruno Quaresma
7b35f3b3ad
fix(site): add horizontal scroll when having many tabs ( #8998 )
2023-08-09 14:28:25 +00:00
Bruno Quaresma
7fceb9aaff
fix(site): make stats bar scrollable on smaller viewports ( #8996 )
2023-08-09 11:26:56 -03:00
Bruno Quaresma
d73e3ad3f3
fix(site): show user avatar on group page ( #8997 )
2023-08-09 11:26:43 -03:00
dependabot[bot]
a6716ca829
chore: bump chart.js from 3.9.1 to 4.3.3 in /site ( #8874 )
...
* chore: bump chart.js from 3.9.1 to 4.3.3 in /site
Bumps [chart.js](https://github.com/chartjs/Chart.js ) from 3.9.1 to 4.3.3.
- [Release notes](https://github.com/chartjs/Chart.js/releases )
- [Commits](https://github.com/chartjs/Chart.js/compare/v3.9.1...v4.3.3 )
---
updated-dependencies:
- dependency-name: chart.js
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Remove timescale
* Fix step size
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-08-09 09:54:03 -03:00
Bruno Quaresma
73e518b0fb
refactor(site): remove last 7 days label ( #8986 )
2023-08-09 09:46:14 -03:00
Spike Curtis
e0f644c598
test(coderd): fix TestWorkspaceWatcher hang waiting for update ( #8992 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-09 16:09:25 +04:00
Marcin Tojek
0d382d1e05
feat(cli): provide parameter values via command line ( #8898 )
2023-08-09 13:00:25 +02:00
Ben Potter
1730d35467
Revert "fix: hide experiment CTA from OIDC copy ( #8695 )" ( #8825 )
...
This reverts commit adbabe4e09 .
2023-08-09 10:05:46 +00:00
Dean Sheather
9941f49056
fix: remove stun nodes from workspace proxy regions ( #8990 )
2023-08-09 09:31:25 +00:00
Dean Sheather
00a8221e51
fix: rename duplicate migration ( #8989 )
2023-08-09 05:49:13 +00:00
Dean Sheather
07fd73c4a0
chore: allow multiple agent subsystems, add exectrace ( #8933 )
2023-08-08 22:10:28 -07:00
Bruno Quaresma
70bd23a40a
refactor(site): add default title ( #8985 )
2023-08-08 18:48:53 -03:00
Steven Masley
d4e115d267
chore: show basic experiment set value ( #8984 )
...
This value is pre-parsed, meaning the experiments listed may not
be valid. This is a very basic display for helping debuging purposes.
2023-08-08 15:33:08 -05:00
Dean Sheather
f7a35e0559
chore: add workspace proxies to telemetry ( #8963 )
2023-08-08 18:29:35 +00:00
Dean Sheather
3c52b01850
chore: add tailscale magicsock debug logging controls ( #8982 )
2023-08-08 17:56:08 +00:00
Colin Adler
a5c59b9934
chore: upgrade to alpine 3.18.3 ( #8980 )
2023-08-08 12:21:38 -05:00
Bruno Quaresma
76b1594670
feat(site): add date range picker for the template insights ( #8976 )
2023-08-08 13:43:21 -03:00
Steven Masley
f4122fa9f5
feat: add auto group create from OIDC ( #8884 )
...
* add flag for auto create groups
* fixup! add flag for auto create groups
* sync missing groups
Also added a regex filter to filter out groups that are not
important
2023-08-08 11:37:49 -05:00
Bruno Quaresma
4a987e9917
feat(site): add parameters usage to insights ( #8886 )
2023-08-08 13:09:31 -03:00
Steven Masley
5339a31532
fix: remove refresh oauth logic on OIDC login ( #8950 )
...
* fix: do not do oauth refresh logic on oidc login
2023-08-08 10:05:12 -05:00
Cem
1d4a72f43f
perf(coderd/util/slice): refactor unique method for large lists ( #8925 )
2023-08-08 10:02:52 -05:00
Muhammad Atif Ali
05054c6a0a
ci: make test-e2e a required check ( #8977 )
2023-08-08 14:57:57 +00:00
Kyle Carberry
4d3230c9ad
fix: default to executing e2e ssh without args ( #8975 )
...
This was causing the test to fail consistently!
2023-08-08 14:35:34 +00:00
Muhammad Atif Ali
c20c4faa7c
docs: format CONTRIBUTING.md ( #8973 )
2023-08-08 17:12:51 +03:00
Dean Sheather
b2a84462ab
chore: fix ruleguard xerrors rules ( #8967 )
2023-08-08 12:32:41 +00:00
Muhammad Atif Ali
31b7de6a3e
chore: upgrade go to 1.20.7 ( #8923 )
...
* chore: upgrade go to 1.20.7
* remove unused env
2023-08-08 09:20:36 +03:00
Kyle Carberry
bac3a588b3
chore: add e2e test for backwards client ssh compatibility ( #8958 )
...
* chore: add e2e test for backwards client ssh compatibility
This was discussed as part of our regression review for outdated
agents, so here is the reverse with an extremely old client.
* fmt
2023-08-08 05:36:46 +00:00
Kyle Carberry
73b136e3f0
fix: add exp backoff to validate fresh git auth tokens ( #8956 )
...
A customer using GitHub in Australia reported that validating immediately
after refreshing the token would intermittently fail with a 401. Waiting
a few milliseconds with the exact same token on the exact same request
would resolve the issue. It seems likely that the write is not propagating
to the read replica in time.
2023-08-08 04:29:35 +00:00
Colin Adler
694729b4f7
chore: disable goleak in windows cli tests ( #8955 )
2023-08-07 22:23:00 -05:00
Colin Adler
7e3ff5b66e
chore: fix TestBatchStats flake ( #8952 )
2023-08-07 21:55:31 -05:00
Colin Adler
758c368222
chore: fix TestTailnet/ForcesWebSockets flake ( #8953 )
2023-08-07 21:17:39 -05:00
dependabot[bot]
827de08007
chore: bump the golang-x group with 3 updates ( #8940 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:30:14 -05:00
dependabot[bot]
b2dc8897ff
chore: bump github.com/go-playground/validator/v10 from 10.14.0 to 10.15.0 ( #8941 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:16:03 -05:00
Ben Potter
3b16e7112d
fix: improve formatting in Gateway docs ( #8949 )
...
* fix: image formatting for gateway docs
* chore: fix some more spots
* more
* fmt
* space things out more
2023-08-07 17:34:41 +00:00
Ben Potter
b67ece1cbc
fix: image formatting for gateway docs ( #8947 )
2023-08-07 11:45:15 -05:00
sharkymark
9f76381fc1
chore: add install more providers step in jetbrains docs; update images ( #8943 )
2023-08-07 16:31:43 +00:00
Marcin Tojek
e8627195a2
feat(coderd): expose parameter description and type ( #8944 )
2023-08-07 16:11:44 +00:00
dependabot[bot]
00be8ab875
chore: bump the github-actions group with 1 update ( #8942 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 18:54:20 +03:00
Dean Sheather
67ff2077a6
feat: add derp only text to proxies list in dashboard ( #8932 )
2023-08-08 01:52:06 +10:00
Cian Johnston
82e0e2e43c
fix(cli): clistat: accept positional arg for stat disk cmd ( #8911 )
2023-08-07 16:26:16 +01:00
Muhammad Atif Ali
6ded748989
fix: update tag name for coder-preview image in ci.yaml ( #8945 )
2023-08-07 14:35:28 +00:00
Steven Masley
71ea5ace07
feat: add login type to users page ( #8912 )
2023-08-07 09:34:39 -05:00
Muhammad Atif Ali
90c1647fcf
ci: change ghcr.io/coder/coder-preview:main tag to use version names ( #8938 )
2023-08-07 16:41:20 +03:00
Muhammad Atif Ali
e7047726d8
docs: fix a broken link in docs.changelogs/README.md ( #8937 )
2023-08-07 13:00:05 +03:00
Ammar Bandukwala
81752d1b84
fix(cli/delete): prompt for confirmation after workspace is found ( #8579 )
2023-08-05 11:25:37 -05:00
Colin Adler
eddaa7781d
fix: don't close cached tailnet on pty close ( #8917 )
2023-08-04 22:54:27 +00:00
Colin Adler
0c7ff4fb8a
fix(enterprise): ensure SCIM create user can unsuspend ( #8916 )
2023-08-04 22:03:21 +00:00
Bruno Quaresma
8f7b6a2936
fix(site): fix date range on template insights ( #8914 )
2023-08-04 18:00:13 +00:00
Cian Johnston
7224ff2af8
fix(enterprise/replicasync): fix data race in Manager.Regional ( #8910 )
2023-08-04 17:33:05 +01:00
Muhammad Atif Ali
9f5ac4d15d
ci: publish main commit tag to ghcr.io/coder/coder-preview ( #8897 )
...
* wip
* push new tag and delete old tag
* prune by filtering
* fix permission
* fix filter
* keep last 2 versions
* use first 7 characters of sha for tag
* do not use gh cli
* test
* typo
* use gh cli again
* reduce days to 3
* fixup
* typo
* keep-last 5
* ready to merge
* retain tags from last 7 days
* test
* ready
2023-08-04 19:27:12 +03:00
Cian Johnston
9fb18f3ae5
feat(coderd): batch agent stats inserts ( #8875 )
...
This PR adds support for batching inserts to the workspace_agents_stats table.
Up to 1024 stats are batched, and flushed every second in a batch.
2023-08-04 17:00:42 +01:00
Cian Johnston
ae88b79fd7
fix(cli): stat: set --host arg in TestStatCPUCmd to avoid test flakes in containers ( #8806 )
2023-08-04 15:15:33 +00:00
Cian Johnston
607cd11724
fix(cli): address race condition in scaletest_test output ( #8902 )
2023-08-04 15:06:28 +00:00
Bruno Quaresma
5106dfde52
refactor(site): refactor the ports button design ( #8879 )
...
* Refactor button
* Move component to where it is used
* Add base state of port forward component
* Add stories and empty state
* Add listening ports to handlers
* Add review suggestions
* Fix minor thing
2023-08-04 09:55:33 -05:00
Eric Paulsen
1c3ec8743c
docs: clean up k8s install steps and order ( #8869 )
2023-08-04 08:40:48 -04:00
Ammar Bandukwala
eae15c0789
chore(examples): bump envbuilder version ( #8893 )
2023-08-04 06:47:15 -05:00
Cian Johnston
aff025e78c
chore(docs): fix link to helm values highlighting affinity ( #8901 )
2023-08-04 10:25:24 +00:00
Spike Curtis
cb4989cd8d
feat: add PSK for external provisionerd auth ( #8877 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-04 12:32:28 +04:00
Muhammad Atif Ali
b77d6b2c84
ci: delete comments by github-action[bot] ( #8896 )
2023-08-04 06:55:38 +00:00
Eric Paulsen
2e45a0ffd7
fix(helm): set correct prom port in helm notes ( #8888 )
2023-08-04 07:52:59 +03:00
Jon Ayers
e43608395c
feat: add frontend for locked workspaces ( #8655 )
...
- Fix workspaces query for locked workspaces.
2023-08-03 19:46:02 -05:00
Colin Adler
502c7680a2
chore: fix release and security pipelines ( #8891 )
2023-08-03 18:40:47 -05:00
Ben Potter
7ad944da5f
chore: v2 changelog ( #8890 )
2023-08-03 21:45:32 +00:00
Colin Adler
8ee500c59d
fix: generate typescript types for healthcheck pkg ( #8846 )
2023-08-03 16:20:46 -05:00
Cian Johnston
72780c8031
chore(docs): update scaling.md ( #8883 )
...
* chore(docs): update scaling docs
* fixup! chore(docs): update scaling docs
* Update docs/admin/scale.md
* update with compute resources provided to coder
* address PR comments
2023-08-03 21:59:07 +01:00
Ben Potter
1314cd8fcb
chore: support manual changelog and version 2.0 for releases ( #8880 )
...
* chore(release): add manual changelog + 2.0 support
* add comment
* fix typo
* fmt
2023-08-03 12:41:54 -05:00
Muhammad Atif Ali
10da570916
fix: prevent PR deployment without manual trigger ( #8882 )
...
* fix: do not deploy without a manual trigger
This will fix automatic first deployment
* fix typo
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* build at least once
* wait for certificate
* Update pr-deploy.yaml
2023-08-03 19:32:20 +03:00
Muhammad Atif Ali
b47bd7ccb5
ci: implement automatic upgrade of PR deployment ( #8876 )
2023-08-03 18:11:07 +03:00
Mathias Fredriksson
d3991fac26
feat(coderd): add parameter insights to template insights ( #8656 )
2023-08-03 14:43:23 +00:00
Bruno Quaresma
2ed453035e
fix: fix develop script and pnpm command ( #8878 )
2023-08-03 14:15:45 +00:00
dependabot[bot]
7493b28155
chore: bump the storybook group in /site with 1 update ( #8872 )
...
Bumps the storybook group in /site with 1 update: [storybook-addon-react-router-v6](https://github.com/JesusTheHun/storybook-addon-react-router-v6 ).
- [Release notes](https://github.com/JesusTheHun/storybook-addon-react-router-v6/releases )
- [Changelog](https://github.com/JesusTheHun/storybook-addon-react-router-v6/blob/main/CHANGELOG.md )
- [Commits](https://github.com/JesusTheHun/storybook-addon-react-router-v6/compare/v1.0.2...v2.0.0 )
---
updated-dependencies:
- dependency-name: storybook-addon-react-router-v6
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 08:19:22 +03:00
Colin Adler
e68d508469
chore: bump openssl in base image ( #8811 )
2023-08-02 16:16:34 -05:00
Bruno Quaresma
b6018198b7
chore: remove insights from experimental ( #8868 )
2023-08-02 20:24:00 +00:00
Muhammad Atif Ali
f7327dd2c6
fix: avoid using comment body directly ( #8851 )
2023-08-02 22:19:17 +03:00
Colin Adler
4b81cfaa0d
chore: switch from yarn to pnpm ( #8822 )
2023-08-02 13:28:16 -05:00
Bruno Quaresma
cf35c0dfc5
feat(site): add health warning and a health monitor page ( #8844 )
2023-08-02 14:49:24 -03:00
Bruno Quaresma
44f9b0228a
fix(site): fix initial value for update parameters ( #8863 )
2023-08-02 14:37:02 -03:00
Bruno Quaresma
00cbb211b4
fix(site): show error when user exists ( #8864 )
2023-08-02 14:36:35 -03:00
Colin Adler
eddd4f8888
chore: fix dupliate migration round 2 ( #8867 )
2023-08-02 16:28:30 +00:00
Steven Masley
4c1e63aae8
feat: add display_name field to groups ( #8740 )
...
* feat: add display_name field to groups
This is a non-unique human friendly group name for display
purposes. This means a display name can be used instead of
using an environment var to remap groups with OIDC names to
Coder names. Now groups can retain the OIDC name for mapping,
and use a display name for display purposes.
2023-08-02 10:53:06 -05:00
Dean Sheather
6ea32e4e80
fix: show current DERP name correctly in vscode ( #8856 )
2023-08-03 01:30:43 +10:00
Colin Adler
aa7b267170
chore: add pnpm to dogfood image ( #8865 )
2023-08-02 10:26:47 -05:00
Colin Adler
e482d39052
chore: fix duplicate migration ( #8866 )
2023-08-02 15:09:10 +00:00
Dean Sheather
cd1e088f7c
feat: add --derp-only flag to wsproxy ( #8850 )
2023-08-03 00:35:06 +10:00
Marcin Tojek
d6e9870209
feat: add "dormant" user state ( #8644 )
2023-08-02 16:31:25 +02:00
Muhammad Atif Ali
d2c7c8e1d8
fix: allow ci to publish a package ( #8862 )
2023-08-02 17:22:11 +03:00
Muhammad Atif Ali
57c7d7d4d2
ci: build and push ghcr.io/coder/coder-preview:main ( #8832 )
2023-08-02 15:45:14 +03:00
Dean Sheather
496ec6cfc5
fix: add read call to derp-map endpoint to avoid ws ping timeout ( #8859 )
2023-08-02 08:31:51 +00:00
Muhammad Atif Ali
75fcc24b60
fix: copy secret for the first deployment too ( #8857 )
2023-08-02 10:44:38 +03:00
Dean Sheather
b955c5fefc
fix: avoid agent runLoop exiting due to ws ping ( #8852 )
2023-08-02 07:25:07 +00:00
Muhammad Atif Ali
f48e8dcf88
chore: update concurrency to use PR number ( #8853 )
2023-08-02 10:04:39 +03:00
Colin Adler
1472cce6c3
chore: increment GOCACHE key ( #8849 )
2023-08-02 03:33:52 +00:00
Dean Sheather
6b69970d7c
fix: avoid infinite loop in agent derp-map ( #8848 )
2023-08-02 13:18:46 +10:00
Colin Adler
805eaca4b7
chore: use fetch-depth: 1 for most ci jobs ( #8847 )
2023-08-02 02:48:35 +00:00
dependabot[bot]
9b6750a4db
chore: bump github.com/open-policy-agent/opa from 0.51.0 to 0.55.0 ( #8808 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 21:48:02 -05:00
Ben Potter
4456d0bfea
docs: sync roles (enterprise) ( #8696 )
...
* docs: role sync (enterprise)
* edits from code review
* fix typo
2023-08-01 13:47:55 -05:00
Eric Paulsen
924bccbfcf
docs: rm microsoft vs code server docs ( #8845 )
2023-08-01 12:46:17 -05:00
Steven Masley
66649f97a8
chore: use system permission to prevent fetching all workspaces ( #8843 )
...
* chore: use system permission to prevent fetching all workspaces
2023-08-01 12:26:22 -05:00
Dean Sheather
c575292ba6
fix: fix tailnet netcheck issues ( #8802 )
2023-08-02 01:50:43 +10:00
Steven Masley
929f2d585a
fix: intiator user fields are included in the workspace build ( #8836 )
2023-08-01 10:35:43 -05:00
dependabot[bot]
b7eafe1635
chore: bump github.com/gohugoio/hugo from 0.115.0 to 0.116.0 ( #8807 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 10:27:23 -05:00
Colin Adler
437256d352
chore: upgrade slog ( #8815 )
2023-08-01 10:26:52 -05:00
Muhammad Atif Ali
e23e5262b4
chore: wait 30 seconds before checking winget PR in release.yaml ( #8835 )
2023-08-01 14:57:25 +00:00
Muhammad Atif Ali
b104bb7005
docs: update CONTRIBUTING.md with PR deployments instructions ( #8831 )
...
* docs: Update CONTRIBUTING.md with PR deployments instructions
* update
2023-08-01 16:48:32 +03:00
dependabot[bot]
dcc63aec90
chore: bump the storybook group in /site with 6 updates ( #8828 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 16:14:20 +03:00
dependabot[bot]
27c2fb8a56
chore: bump the eslint group in /site with 5 updates ( #8829 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 15:19:07 +03:00
Muhammad Atif Ali
6a12912d6e
ci: use a wildcard subdomain for PR deployments ( #8801 )
2023-08-01 12:02:42 +01:00
Marcin Tojek
336e663180
fix: parse insights start and end time ( #8826 )
2023-08-01 10:43:49 +02:00
dependabot[bot]
a96c4a3f29
chore: bump framer-motion from 6.5.1 to 10.15.0 in /offlinedocs ( #8817 )
...
Bumps [framer-motion](https://github.com/framer/motion ) from 6.5.1 to 10.15.0.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/framer/motion/compare/v6.5.1...v10.15.0 )
---
updated-dependencies:
- dependency-name: framer-motion
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 07:28:06 +03:00
dependabot[bot]
8d0e8f45e0
chore: bump eslint from 8.45.0 to 8.46.0 in /offlinedocs ( #8816 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.45.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.46.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 07:27:19 +03:00
dependabot[bot]
280fc9d5ef
chore: bump typescript from 4.7.3 to 5.1.6 in /offlinedocs ( #8819 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.7.3 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v5.1.6 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 07:27:04 +03:00
Colin Adler
b84bba8fd1
chore: increase fmt timeout ( #8820 )
2023-07-31 16:36:53 -05:00
Steven Masley
cb36783e8c
feat: convert to oidc out of experimental ( #8742 )
2023-07-31 10:30:34 -05:00
Colin Adler
ed82b864d0
chore: reenable prisma image scan ( #8810 )
2023-07-31 10:12:24 -05:00
Muhammad Atif Ali
af036b440b
docs: allow multiple Coder deployments to use single GitHub OAuth app ( #8786 )
...
* docs: Add instructions for using the same GitHub OAuth app for multiple Coder deployments
* fmt
* typo
* Update auth.md
2023-07-31 10:00:48 -04:00
Marcin Tojek
ddabe9cc7f
feat: improve RBAC preconditions for Insights endpoint ( #8794 )
2023-07-31 13:44:32 +00:00
Colin Adler
4cc270b12b
revert(enterprise): make pgcoord experimental again ( #8797 )
2023-07-28 18:38:32 -05:00
Colin Adler
98d9a65cf5
chore: mark site/src/api/typesGenerated.ts as generated ( #8798 )
2023-07-28 18:22:37 -05:00
Colin Adler
0b4f333a6f
chore: add http debug support to pgcoord ( #8795 )
2023-07-28 17:59:31 -05:00
Bruno Quaresma
a75346dd32
refactor(site): simplify workspaces page component structure ( #8793 )
2023-07-28 13:07:50 -03:00
Kyle Carberry
bd944e0d21
chore: rename startup logs to agent logs ( #8649 )
...
* chore: rename startup logs to agent logs
This also adds a `source` property to every agent log. It
should allow us to group logs and display them nicer in
the UI as they stream in.
* Fix migration order
* Fix naming
* Rename the frontend
* Fix tests
* Fix down migration
* Match enums for workspace agent logs
* Fix inserting log source
* Fix migration order
* Fix logs tests
* Fix psql insert
2023-07-28 15:57:23 +00:00
Bruno Quaresma
78b06397a6
fix(site): fix metadata value changing width all the time ( #8780 )
2023-07-28 09:59:49 -03:00
Muhammad Atif Ali
ea2ae10bc3
ci: update terraform to ~1.5 ( #8766 )
...
* ci: update terraform to 1.5.3
* Update action.yaml
2023-07-28 10:12:06 +00:00
Muhammad Atif Ali
e029df61ff
ci: update secret name in pr-cleanup.yaml ( #8790 )
2023-07-28 08:26:11 +00:00
Bruno Quaresma
e8f82538e8
refactor(site): sort proxies in navbar by latency ( #8781 )
2023-07-27 21:50:11 -03:00
Kyle Carberry
91a0c7abe0
fix: improve the language of the template insights page ( #8777 )
2023-07-27 21:04:28 +00:00
Bruno Quaresma
471dc6126c
chore: upgrade nodejs version to 18.x ( #8768 )
2023-07-27 17:54:38 -03:00
Bruno Quaresma
3114a60e5c
ci: optimize chromatic ( #8776 )
...
* Update ci.yaml
Modified the Chromatic job configuration to reduce snapshot usage and only run Chromatic on necessary UI changes.
Signed-off-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
* fix fmt
---------
Signed-off-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
Co-authored-by: Reuben Ellis <ethriel3695@gmail.com >
2023-07-27 15:51:26 -03:00
dependabot[bot]
c236a29307
chore: bump google.golang.org/grpc from 1.56.2 to 1.57.0 ( #8757 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 12:49:13 -05:00
Bruno Quaresma
4d36b859d2
refactor(site): make few ui changes on template insights ( #8774 )
2023-07-27 14:37:04 -03:00
Cian Johnston
5c9167df36
chore(helm): update sample resource requests/limits ( #8773 )
...
The sample resource requests/limits are undersized.
2023-07-27 13:28:06 -04:00
dependabot[bot]
ca710e52b6
chore: bump google.golang.org/api from 0.133.0 to 0.134.0 ( #8756 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 16:50:18 +00:00
Yinon Avraham
de60bff88e
chore(docs): small fixes in JFrog integration docs ( #8736 )
2023-07-27 11:46:06 -05:00
Ammar Bandukwala
edd9628aa6
fix(cli): correctly print deprecated warnings ( #8771 )
...
In the previous implementation, it was possible for default-set values
to trigger the deprecation warning.
2023-07-27 16:42:18 +00:00
Kyle Carberry
ff794e4b23
chore: add e2e test for backwards ssh compatibility ( #8761 )
...
* chore: add e2e test for backwards ssh compatibility
* Use the SSH client directly
* fmt
2023-07-27 10:42:11 -05:00
Ben Potter
34dfbfa9d3
ci: add DB to PR deploys ( #8770 )
...
* ci: add DB to PR deploys
* add bitnami remo
* fix namespace
* change ingress host
* remove wildcard host
2023-07-27 14:50:53 +00:00
dependabot[bot]
975424b3a2
chore: bump the eslint group in /site with 5 updates ( #8636 )
...
* chore: bump the eslint group in /site with 5 updates
Bumps the eslint group in /site with 5 updates:
| Package | Update |
| --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | 5.62.0 to 6.1.0 |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | 5.62.0 to 6.1.0 |
| [eslint](https://github.com/eslint/eslint ) | 8.44.0 to 8.45.0 |
| [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) | 7.31.1 to 7.33.0 |
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) | 47.0.0 to 48.0.0 |
Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 6.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.1.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 5.62.0 to 6.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.1.0/packages/parser )
Updates `eslint` from 8.44.0 to 8.45.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0 )
Updates `eslint-plugin-react` from 7.31.1 to 7.33.0
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.1...v7.33.0 )
Updates `eslint-plugin-unicorn` from 47.0.0 to 48.0.0
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v48.0.0 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
* ignore no-redundant-type-constituents
* Fix minor lint errors
* Discard changes to site/.eslintrc.yaml
* Fix redudant types
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-07-27 10:51:18 -03:00
Muhammad Atif Ali
92798e957f
chore: bump typescript from 4.8.2 to 5.1.6 in /site ( #8688 )
2023-07-27 10:21:38 -03:00
Muhammad Atif Ali
f6c36d903e
ci: prevent running deploy on all comments ( #8767 )
2023-07-27 13:00:00 +00:00
Muhammad Atif Ali
3761205bae
ci: further improve pr deployments ( #8764 )
2023-07-27 12:40:59 +00:00
Bruno Quaresma
e85b88ca90
feat(site): add restart button when workspace is unhealthy ( #8765 )
2023-07-27 09:20:24 -03:00
Bruno Quaresma
f54d385266
feat(site): add auto mode on create workspace form ( #8651 )
2023-07-27 08:47:58 -03:00
Muhammad Atif Ali
bc55ffdf0d
ci: improve deploy-pr workflow ( #8735 )
2023-07-27 13:07:53 +03:00
Cian Johnston
32829080ac
feat(cli): add dashboard load test command ( #8723 )
2023-07-27 09:40:13 +01:00
Jon Ayers
c3aface285
fix: fix coder stat mem ( #8762 )
...
- For cgroups v1 the wrong cgroup file was being read
to determine max memory. This commit updates the file
from '/sys/fs/cgroup/memory/memory.max_usage_in_bytes' to
'/sys/fs/cgroup/memory/memory.limit_in_bytes'
2023-07-27 09:33:43 +01:00
Colin Adler
74c4553a3f
fix(codersdk): always dial agents with WorkspaceAgentIP ( #8760 )
2023-07-27 03:44:44 +00:00
dependabot[bot]
7b08be8000
chore: bump google.golang.org/api from 0.132.0 to 0.133.0 ( #8746 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 18:53:06 -05:00
Colin Adler
2811ab62d0
chore: fix workspace proxy flake ( #8755 )
2023-07-26 23:50:25 +00:00
Colin Adler
5cfa7082d1
chore: attempt to fix windows goleak failures ( #8753 )
2023-07-26 18:50:13 -05:00
Colin Adler
6af1f6a9d9
chore: fix Test_parseInsightsStartAndEndTime test ( #8754 )
2023-07-26 23:27:30 +00:00
Colin Adler
dd2f79995b
chore(tailnet): rewrite coordinator debug using html/template ( #8752 )
2023-07-26 22:54:21 +00:00
Ammar Bandukwala
02550a9062
fix(cli): apply log-filter to debug logs only ( #8751 )
2023-07-26 22:31:41 +00:00
Kyle Carberry
131babfb00
fix: request trial after password is validated ( #8750 )
2023-07-26 22:04:15 +00:00
Ammar Bandukwala
25e30c6f41
feat(cli): support fine-grained server log filtering ( #8748 )
2023-07-26 16:46:22 -05:00
Bruno Quaresma
4e9e480cc6
fix(site): fix latency values ( #8749 )
2023-07-26 17:14:45 -03:00
Ammar Bandukwala
f28bac1b05
chore(scripts): use fake semver when using sapling ( #8747 )
...
The fact that the Sapling commit didn't conform to semver
broke the agent handshake with coderd.
2023-07-26 20:00:21 +00:00
Colin Adler
6b92abebb9
fix(tailnet): track agent names for http debug ( #8744 )
2023-07-26 18:44:10 +00:00
Bruno Quaresma
b5dec61cd5
feat(site): show metadata stale data ( #8745 )
2023-07-26 15:41:07 -03:00
Dean Sheather
9ffbdc6696
hotfix: fix failed 32-bit builds ( #8741 )
2023-07-26 17:30:47 +00:00
Dean Sheather
2f0a9996e7
chore: add derpserver to wsproxy, add proxies to derpmap ( #7311 )
2023-07-27 02:21:04 +10:00
Marcin Tojek
70692c2e4e
fix: unify parameter validation errors ( #8738 )
2023-07-26 17:44:50 +02:00
Steven Masley
2089006fbc
feat!: drop reading other 'user' permission ( #8650 )
...
* feat: drop reading other 'user' permission
Members of the platform can no longer read or list other users.
Resources that have "created_by" or "initiated_by" still retain
user context, but only include username and avatar url.
Attempting to read a user found via those means will result in
a 404.
* Hide /users page for regular users
* make groups a privledged endpoint
* Permissions page for template perms
* Admin for a given template enables an endpoint for listing users/groups.
2023-07-26 10:33:48 -04:00
Bruno Quaresma
8649a10441
feat(site): add template insights page ( #8722 )
2023-07-26 13:13:56 +00:00
Muhammad Atif Ali
da7e1eb75d
ci: add a missing end quote ( #8734 )
2023-07-26 00:39:00 +00:00
Muhammad Atif Ali
0b5a01aa1b
test: fix comments in deploy-pr.yaml ( #8733 )
2023-07-26 00:06:59 +00:00
Muhammad Atif Ali
26264bd3ef
test: remove erroneous quotes from deploy-pr.yaml ( #8732 )
2023-07-25 23:16:57 +00:00
Muhammad Atif Ali
2c7d8ee06a
fix: remove the usage of -u flag ( #8731 )
2023-07-25 22:54:42 +00:00
Colin Adler
f07d2ff68d
fix(enterprise): ensure creating a SCIM user is idempotent ( #8730 )
2023-07-25 17:49:52 -05:00
Muhammad Atif Ali
0feb855b8f
fix: revert back to curl in deply-pr.yaml ( #8729 )
2023-07-25 22:40:26 +00:00
Muhammad Atif Ali
733ae5038a
fix: a small issue with pr_deploy.yaml ( #8728 )
2023-07-25 22:15:44 +00:00
Muhammad Atif Ali
86d4c4ff0e
test: improve pr deployments ( #8720 )
2023-07-26 00:56:38 +03:00
Muhammad Atif Ali
844ef76d39
fix: handle issue_comment event ( #8726 )
2023-07-25 19:52:44 +00:00
Muhammad Atif Ali
67f1123808
use gh cli ( #8725 )
2023-07-25 19:35:28 +00:00
Ammar Bandukwala
ee652d525d
docs: explain how to install the JFrog VS Code extension ( #8724 )
2023-07-25 18:06:30 +00:00
Muhammad Atif Ali
7447bfa320
fix: checkout correct branch for PR deployment ( #8721 )
2023-07-25 16:08:44 +00:00
Bruno Quaresma
dfb1a1df3a
feat(site): add terminal icon ( #8719 )
2023-07-25 11:41:29 -03:00
Ammar Bandukwala
2a01747804
feat(cli): add --var shorthand for --variable ( #8710 )
...
`--variable` is used frequently enough to deserve a shorthand. Unfortunately,
`-v` is taken by verbose, and `-V` is too easily confused with version or
verbose, so we're left with "--var".
2023-07-25 14:36:02 +00:00
Bruno Quaresma
30e16052d6
fix(coderd): update icon url to the right one ( #8718 )
2023-07-25 14:06:58 +00:00
Steven Masley
de1a7a9210
chore: join user information to workspace_build and template_version ( #8625 )
...
* include minimial user on template version and build
* Add unit test to ensure join is superset
2023-07-25 09:14:38 -04:00
Bruno Quaresma
fbb2a6a434
refactor(coderd): add avatar URL to the users' latency endpoint ( #8701 )
2023-07-25 12:15:46 +02:00
Marcin Tojek
7004013537
chore: update nix flake to include sqlc v1.19.1 ( #8715 )
2023-07-25 09:09:16 +00:00
Ammar Bandukwala
f6f61dfa26
docs: fix duplicate sentence ( #8712 )
...
Resolves #8664
2023-07-25 02:22:41 +00:00
Ammar Bandukwala
b8e792bf8a
chore: make update-golden-files ( #8711 )
...
One of the recent helm changes snuck in CI breakage.
2023-07-25 01:18:53 +00:00
Ammar Bandukwala
5eb825155e
docs: slightly improve wording in jfrog.md ( #8709 )
2023-07-24 20:05:54 -05:00
Ammar Bandukwala
a0f478c02f
docs: cleanup jfrog ( #8708 )
...
* Add a missing requirement
* Improve English
2023-07-24 19:29:30 -05:00
Ammar Bandukwala
8686b7a499
docs: explain JFrog integration 🐸 ( #8682 )
2023-07-24 23:16:09 +00:00
Eric Paulsen
29963433ee
feat(helm)!: set enableDeployments default to true ( #8704 )
2023-07-24 17:13:28 -05:00
Eric Paulsen
353bfb618c
fix: missing manifest for deployment logs doc ( #8703 )
2023-07-24 17:12:48 -05:00
Ben Potter
adbabe4e09
fix: hide experiment CTA from OIDC copy ( #8695 )
2023-07-24 14:51:28 -05:00
Steven Masley
ac559f101e
fix: handle omitted role sync claim ( #8697 )
...
* fix: handle omitted role sync claim
2023-07-24 15:50:23 -04:00
Bruno Quaresma
ac973a4b2c
fix(site): fix error 'Reduce of empty array with no initial value' ( #8700 )
2023-07-24 14:17:27 -03:00
Ammar Bandukwala
c32085ca10
chore(scripts): handle Sapling in version.sh ( #8687 )
2023-07-24 11:11:46 -05:00
Muhammad Atif Ali
6929792a58
docs: add coder-logstream-kube docs and update k8s example template ( #8675 )
...
* docs: add kubestream docs and update example template
* make fmt
* add to template's README
* add the seperate page
* make fmt
* make fmt
* add namespace to deployment resource
* fmt
* add screenshots
* link docs in template
* Add remaining examples
* enable deployments requirement
* Update deployment-logs.md
* rewording
* fix spelling
* how?
* cleanup
* Update docs/platforms/kubernetes/deployment-logs.md
Co-authored-by: Ben Potter <ben@coder.com >
* suggestions
* use online link
* refine
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
2023-07-24 11:51:25 -04:00
Marcin Tojek
b7ced94f0f
fix: prevent repetition of template IDs in template_usage_by_day ( #8693 )
2023-07-24 15:07:01 +02:00
Steven Masley
f827829afe
feat: synchronize oidc user roles ( #8595 )
...
* feat: oidc user role sync
User roles come from oidc claims. Prevent manual user role changes
if set.
* allow mapping 1:many
2023-07-24 08:34:24 -04:00
dependabot[bot]
94541d201f
chore: bump react-chartjs-2 in /site from 4.3.1 to 5.2.0 ( #8632 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-07-24 14:44:14 +03:00
dependabot[bot]
75265ecf68
chore: bump fs-extra from 10.1.0 to 11.1.1 in /offlinedocs ( #8630 )
...
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra ) from 10.1.0 to 11.1.1.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/10.1.0...11.1.1 )
---
updated-dependencies:
- dependency-name: fs-extra
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 14:25:55 +03:00
dependabot[bot]
0f915e1e75
chore: bump @types/react-dom from 18.0.5 to 18.2.7 in /offlinedocs ( #8671 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.0.5 to 18.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 11:21:33 +00:00
dependabot[bot]
625eef93c5
chore: bump next from 12.1.6 to 13.4.12 in /offlinedocs ( #8669 )
...
Bumps [next](https://github.com/vercel/next.js ) from 12.1.6 to 13.4.12.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v12.1.6...v13.4.12 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 14:17:08 +03:00
dependabot[bot]
c136fa9e52
chore: bump @types/react from 18.0.14 to 18.2.15 in /offlinedocs ( #8672 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.0.14 to 18.2.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 14:16:57 +03:00
dependabot[bot]
d54bc60842
chore: bump react-icons from 4.4.0 to 4.10.1 in /offlinedocs ( #8673 )
...
Bumps [react-icons](https://github.com/react-icons/react-icons ) from 4.4.0 to 4.10.1.
- [Release notes](https://github.com/react-icons/react-icons/releases )
- [Commits](https://github.com/react-icons/react-icons/compare/v4.4.0...v4.10.1 )
---
updated-dependencies:
- dependency-name: react-icons
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 14:16:44 +03:00
Muhammad Atif Ali
757ea68d4a
ci: fmt, lint and build offlinedocs ( #8642 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-07-24 10:54:08 +00:00
Muhammad Atif Ali
87f07b9f2f
ci: reduce duplication ( #8692 )
...
* ci: reduce duplication
* typo
2023-07-24 10:51:43 +00:00
Muhammad Atif Ali
196b29983b
docs: fix a broken link ( #8691 )
2023-07-24 09:13:59 +00:00
Ammar Bandukwala
c3b8898f0a
fix(coderd/unhanger): de-duplicate logs ( #8686 )
...
The final warning just repeated previous lines.
2023-07-24 14:28:09 +10:00
Ammar Bandukwala
c9ade6f6c5
chore: enforce that site icons are .svg ( #8684 )
2023-07-23 16:27:11 -05:00
Ammar Bandukwala
d56bf52141
chore(scripts): support Sapling in project_root ( #8685 )
2023-07-23 15:59:49 -05:00
Ammar Bandukwala
9833cd32b3
Revert "chore(scripts): support sappling in project_root"
...
This reverts commit 6855735085 .
This was pushed accidentally.
2023-07-23 19:40:28 +00:00
Ammar Bandukwala
6855735085
chore(scripts): support sappling in project_root
2023-07-23 19:34:44 +00:00
Muhammad Atif Ali
43cc5449a1
fix: fix a typo in deploy-pr.yaml ( #8678 )
2023-07-23 16:21:29 +00:00
Muhammad Atif Ali
30e86e0058
chore: do not deploy a PR on deleted comment ( #8677 )
...
* chore: improve deploy-pr.yaml
* Update pr-deploy.yaml
* make fmt
2023-07-23 19:06:24 +03:00
Muhammad Atif Ali
e7330436c9
chore: insatll coder-logstream-kube for PR deployments ( #8676 )
2023-07-23 15:35:53 +00:00
Muhammad Atif Ali
ec880f26b4
chore: enable deployments for PR deplyments ( #8674 )
2023-07-23 17:32:17 +03:00
Sebastiaan ten Pas
a28883d9f0
fix: do not wait for devcontainer template volume claim bound ( #8539 )
2023-07-23 06:06:23 +00:00
dependabot[bot]
1cadfa4e4f
chore: bump the storybook group in /site with 6 updates ( #8635 )
...
Bumps the storybook group in /site with 6 updates:
| Package | Update |
| --- | --- |
| [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions ) | 7.0.26 to 7.1.0 |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) | 7.0.26 to 7.1.0 |
| [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links ) | 7.0.26 to 7.1.0 |
| [@storybook/addon-mdx-gfm](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/gfm ) | 7.0.26 to 7.1.0 |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite ) | 7.0.26 to 7.1.0 |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) | 7.0.26 to 7.1.0 |
Updates `@storybook/addon-actions` from 7.0.26 to 7.1.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.1.0/code/addons/actions )
Updates `@storybook/addon-essentials` from 7.0.26 to 7.1.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.1.0/code/addons/essentials )
Updates `@storybook/addon-links` from 7.0.26 to 7.1.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.1.0/code/addons/links )
Updates `@storybook/addon-mdx-gfm` from 7.0.26 to 7.1.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.1.0/code/addons/gfm )
Updates `@storybook/react-vite` from 7.0.26 to 7.1.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.1.0/code/frameworks/react-vite )
Updates `storybook` from 7.0.26 to 7.1.0
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.1.0/code/lib/cli )
---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-links"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-mdx-gfm"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/react-vite"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 01:00:42 +03:00
dependabot[bot]
9a7729d60f
chore: bump @testing-library/jest-dom from 5.16.5 to 5.17.0 in /site ( #8670 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.5 to 5.17.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.5...v5.17.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 21:46:39 +00:00
dependabot[bot]
82310896ad
chore: bump eslint from 8.17.0 to 8.45.0 in /offlinedocs ( #8631 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.17.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.45.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 21:39:59 +00:00
dependabot[bot]
aae7175a83
chore: bump @chakra-ui/react from 2.7.1 to 2.8.0 in /offlinedocs ( #8633 )
...
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/components/react ) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases )
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/react/CHANGELOG.md )
- [Commits](https://github.com/chakra-ui/chakra-ui/commits/@chakra-ui/react@2.8.0/packages/components/react )
---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 00:34:23 +03:00
dependabot[bot]
e056d0243a
chore: bump @tanstack/react-query from 4.29.19 to 4.32.0 in /site ( #8668 )
...
Bumps [@tanstack/react-query](https://github.com/tanstack/query ) from 4.29.19 to 4.32.0.
- [Release notes](https://github.com/tanstack/query/releases )
- [Commits](https://github.com/tanstack/query/compare/v4.29.19...v4.32.0 )
---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 21:33:18 +00:00
dependabot[bot]
a9036ed02b
chore: bump chromatic from 6.19.9 to 6.20.0 in /site ( #8667 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.19.9 to 6.20.0.
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.19.9...v6.20.0 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 21:31:50 +00:00
dependabot[bot]
b7db4ee69f
chore: bump eslint-config-next from 12.1.6 to 13.4.10 in /offlinedocs ( #8629 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 12.1.6 to 13.4.10.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v13.4.10/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 00:28:56 +03:00
Mathias Fredriksson
e0c1aacac1
fix(coderd): fix template insight intervals ( #8662 )
2023-07-21 20:51:35 +00:00
Jyotirmoy Bandyopadhyaya
65583eca47
feat(cli): check if dotfiles install script is executable ( #8588 )
...
* feat(cli): check if dotfiles install script is executable
* feat(docs): add section for dotfiles setup and document executable fix
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-07-21 18:39:50 +00:00
Bruno Quaresma
7f67000b90
fix(site): send build parameters over the confirmation dialog on restart ( #8660 )
2023-07-21 12:35:28 -06:00
Mathias Fredriksson
30fe153296
feat(coderd): add user latency and template insights endpoints ( #8519 )
...
Part of #8514
Refs #8109
2023-07-21 18:00:19 +00:00
Cian Johnston
539fcf9e6b
chore(coderd/util/tz): skip flaky test ( #8652 )
2023-07-21 16:31:52 +00:00
Eric Paulsen
001670cc13
docs: add steps for postgres SSL cert config ( #8648 )
...
* docs: add steps for postgres SSL cert config
* make fmt
* Update docs/install/kubernetes.md
Co-authored-by: Cian Johnston <cian@coder.com >
* fixup! Update docs/install/kubernetes.md
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-07-21 10:36:11 -04:00
Ben Potter
1a915f5b30
chore: improve workspace proxy copy ( #8427 )
...
* chore: workspace proxy copy
* fmt
2023-07-21 13:34:29 +00:00
Ben Potter
12b51ca804
ci: fix release notes compare link ( #8581 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-21 15:22:54 +03:00
Marcin Tojek
c8772fba82
chore: update nix flake to include sqlc v1.19.0 ( #8645 )
2023-07-21 14:21:44 +02:00
Cian Johnston
fd372f6735
fix(cli/clistat): improve detection of container environment ( #8643 )
...
Use the presence of /var/run/secrets/kubernetes.io/serviceaccount/token to determine if we are in a container in addition to sniffing /proc/1/cgroup
2023-07-21 10:18:56 +00:00
dependabot[bot]
87d5cdaf58
chore: bump ts-proto from 1.153.2 to 1.156.0 in /site ( #8637 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 10:49:25 +03:00
Colin Adler
2901147ae3
test: fix race in templateedit_test.go ( #8641 )
2023-07-21 03:26:55 +00:00
Jon Ayers
b47d076756
feat: add deleting_at column to workspaces ( #8333 )
2023-07-20 22:01:11 -05:00
Muhammad Atif Ali
0c73164f15
chore: add offlinedocs to ts filter in ci.yaml ( #8616 )
2023-07-20 20:33:50 +00:00
dependabot[bot]
2d3d78b5b1
chore: bump google.golang.org/api from 0.131.0 to 0.132.0 ( #8596 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.131.0 to 0.132.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.131.0...v0.132.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 23:13:07 +03:00
Muhammad Atif Ali
cc659163ef
chore: add offlinedocs to depemdabot.yaml ( #8617 )
...
Add offlinedocs to depemdabot.yaml
2023-07-20 23:12:08 +03:00
Colin Adler
830020df15
fix(site): don't mark metadata with interval: 0 as stale ( #8627 )
2023-07-20 15:05:32 -05:00
Colin Adler
1cb39fc65d
test: ignore more spurious pgcoord errors ( #8628 )
2023-07-20 19:55:25 +00:00
Colin Adler
71d4e4e6e8
fix(agent): check agent metadata every second instead of minute ( #8614 )
2023-07-20 14:02:58 -05:00
Colin Adler
c8d65de4b7
test(agent): fix TestAgent_Metadata/Once flake ( #8613 )
2023-07-20 18:49:44 +00:00
Muhammad Atif Ali
deb9261232
ci: allow running other jobs in the matrix if one of them fails ( #8624 )
2023-07-20 15:56:47 +00:00
Muhammad Atif Ali
fd5d26d385
chore: prevent running chromatic on all merged PRs ( #8623 )
2023-07-20 15:18:02 +00:00
Bruno Quaresma
6de95f4f32
chore(site): remove build logs from experimental ( #8619 )
2023-07-20 15:02:19 +00:00
Dean Sheather
dc8b73168e
feat: add user quiet hours schedule and restart requirement feature flag ( #8115 )
2023-07-20 23:35:41 +10:00
Ben Potter
4821e2e6d8
chore: add jq to base image ( #8563 )
...
* chore: add jq to base image
* fix formatting
2023-07-20 07:04:56 -05:00
Cian Johnston
68a46198d3
fix(scaletest): deploy external provisionerd ( #8618 )
...
* scaletest: stop kubernetes_secret from being constantly recreated
* scaletest: ensure we do not get auto-upgraded
* scaletest: add external provisionerd deployment, the lazy way
2023-07-20 11:38:46 +01:00
Marcin Tojek
9689bca5d2
feat(cli): implement ssh remote forward ( #8515 )
2023-07-20 12:05:39 +02:00
dependabot[bot]
c68e80970d
chore: bump semver from 6.3.0 to 6.3.1 in /offlinedocs ( #8600 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 10:14:09 +03:00
dependabot[bot]
bd5eb9dc1b
chore: bump word-wrap from 1.2.3 to 1.2.4 in /offlinedocs ( #8598 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 10:14:00 +03:00
dependabot[bot]
b16901485e
chore: bump json5 from 1.0.1 to 1.0.2 in /offlinedocs ( #8599 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 10:13:27 +03:00
Colin Adler
39889179ea
test(coderd): fix TestWorkspaceWatcher flake ( #8612 )
2023-07-19 18:03:56 -05:00
Jon Ayers
80b940c556
feat: support localhost apps running https ( #8585 )
2023-07-19 17:33:07 -05:00
Colin Adler
00b9a3ce58
fix: prevent error log when pgcoord query is canceled ( #8609 )
2023-07-19 16:40:57 -05:00
Steven Masley
aceedefce3
chore: add template_with_user view to include user contextual data ( #8568 )
...
* chore: Refactor template sql queries to use new view
* TemplateWithUser -> Template
* Add unit test to enforce good view
2023-07-19 16:07:33 -04:00
Ben Potter
cdbae29a83
fix: agent health copy ( #8608 )
...
* fix: agent health copy
* remove restart in place of upcoming button
2023-07-19 19:56:23 +00:00
Bruno Quaresma
d96a6575af
docs: add link to CODER_DOCS_URL ( #8606 )
2023-07-19 19:47:38 +00:00
Bruno Quaresma
16cd1a675c
docs: add documentation about the offline docs ( #8603 )
2023-07-19 13:51:44 -05:00
Bruno Quaresma
0e52461624
feat(site): add support for custom docs url ( #8601 )
2023-07-19 15:27:38 -03:00
Colin Adler
f8a2bd0f4d
chore: remove duplicate logger name in wsproxy ServerTailnet ( #8604 )
2023-07-19 18:06:26 +00:00
Ben Potter
b4bb77f2f3
hotfix: change permissions for /deploy-pr comment ( #8597 )
2023-07-19 17:02:51 +00:00
Bruno Quaresma
acc12d3426
feat: add offline docs ( #8527 )
2023-07-19 13:57:57 -03:00
Marcin Tojek
164672e5d3
feat: expose docs URL via static meta ( #8594 )
2023-07-19 13:57:43 -03:00
Colin Adler
517fb19474
feat: add single tailnet support to moons ( #8587 )
2023-07-19 11:11:11 -05:00
Colin Adler
cc8d0af027
fix(enterprise): avoid initial license reconfig if feature isn't enabled ( #8586 )
2023-07-19 10:32:29 -05:00
Cian Johnston
0965a2de70
fix(cli/clistat): read from alternate cgroup path ( #8591 )
...
* Attempts reading cgroupv1 quota, period, usage from /sys/fs/cgroup/cpu,cpuacct by default
* Fall back to /sys/fs/cgroup/cpu for v1 quota and period
* Fall back to /sys/fs/cgroup/cpuacct for v1 usage
Fixes https://github.com/coder/coder/issues/8468
2023-07-19 16:25:26 +01:00
Josh Vawdrey
6318c4c09f
feat(site): increase TTL and max TTL validation to 30 days ( #8258 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-07-19 23:43:10 +10:00
Marcin Tojek
4232a2eb96
feat: add custom docs URL to deployment config ( #8590 )
2023-07-19 08:31:17 -03:00
Eric Paulsen
164b816679
feat(helm): add commandArgs for custom entrypoint ( #8567 )
2023-07-19 00:50:52 +00:00
Mathias Fredriksson
611fbd8215
test(coderd): fix TestWorkspaceWatcher skipped pending state ( #8584 )
2023-07-18 21:58:50 +03:00
Bruno Quaresma
d12221c782
feat(site): add build parameters option when starting or restarting a workspace ( #8524 )
2023-07-18 14:53:26 -03:00
Mathias Fredriksson
2fae9b0a69
chore(scripts/dbgen): only add arg validation for dbfake ( #8578 )
2023-07-18 17:26:03 +00:00
Kyle Carberry
98164f687e
fix!: remove startup logs eof for streaming ( #8528 )
...
* fix: remove startup logs eof for streaming
We have external utilities like logstream-kube that may send
logs after an agent shuts down unexpectedly to report additional
information. In a recent change we stopped accepting these logs,
which broke these utilities.
In the future we'll rename startup logs to agent logs or something
more generalized so this is less confusing in the future.
* fix(cli/cliui): handle never ending startup log stream in Agent
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-18 09:57:29 -06:00
Mathias Fredriksson
58265881af
test(testutil): increase wait times to reduce flakes ( #8576 )
2023-07-18 17:25:54 +03:00
Muhammad Atif Ali
9e170a7332
chore: add filebrowser to dogfood ( #8535 )
2023-07-18 17:04:00 +03:00
Cian Johnston
278527cff4
feat(scaletest): add option to send traffic over SSH ( #8521 )
...
- Refactors the metrics logic to avoid needing to pass in a whole prometheus registry
- Adds an --ssh option to the workspace-traffic command to send SSH traffic
Fixes #8242
2023-07-18 12:17:11 +01:00
Marcin Tojek
ab54008c94
feat: make ephemeral parameters optional ( #8571 )
2023-07-18 11:56:41 +02:00
Muhammad Atif Ali
7d92537af5
chore: fix a typo dogfood.yaml ( #8572 )
2023-07-18 09:51:46 +00:00
Muhammad Atif Ali
b012b4a810
chore: use commit title as template message in dogfood ( #8570 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-18 09:08:58 +00:00
Mathias Fredriksson
d467160581
feat(cli): show workspace health in show ( #8548 )
2023-07-18 11:28:47 +03:00
dependabot[bot]
6b978bef71
chore: bump the github-actions group with 1 update ( #8544 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 19:58:03 +00:00
Colin Adler
fd7c019fff
chore(coderd): require api key to access derpmap ( #8569 )
2023-07-17 19:40:12 +00:00
Bruno Quaresma
a823ce7337
refactor(site): add sticky option to the build logs ( #8565 )
2023-07-17 14:58:25 -03:00
Bruno Quaresma
0bf1b01a9d
fix(site): remove extra spacing on template variables page
2023-07-17 14:58:06 -03:00
Cian Johnston
56889d6cd4
fix(cli): unskip TestStatCPUCmd/JSON and explicitly set --host in test cmd invocation ( #8558 )
...
- Un-skips TestStatCPUCmd/JSON
- Explicitly sets --host flag when running the cli tests for the stat command as when these are invoked inside a container without a CPU or memory limit set, these tests may fail.
2023-07-17 17:24:46 +01:00
Mathias Fredriksson
854643236a
chore(go.mod): update gvisor via github.com/coder/gvisor fork ( #8561 )
...
Fixes #7388
2023-07-17 16:09:26 +00:00
Muhammad Atif Ali
bf5e0675fe
chore: allow running multiple preview deployments in parallel ( #8562 )
2023-07-17 16:06:29 +00:00
Muhammad Atif Ali
0a56ea6916
chore: do not cancel in progress runs in pr-deploy.yaml ( #8559 )
2023-07-17 18:40:25 +03:00
Muhammad Atif Ali
db8ba6cb68
chore: remove buggy comment reaction from deploy-pr.yaml ( #8555 )
2023-07-17 18:29:40 +03:00
Bruno Quaresma
c83975cee0
fix(site): fix bottom border on build logs ( #8554 )
2023-07-17 11:57:24 -03:00
Bruno Quaresma
2218160e35
refactor(site): redirect the user to the workspace page after update parameters ( #8553 )
2023-07-17 11:26:24 -03:00
Steven Masley
67494a3012
chore: push GetUsers authorization filter to SQL ( #8497 )
...
* feat: push GetUsers filter to SQL
* Remove GetAuthorizedUserFilter
* Remove GetFilteredUserCount
* remove GetUsersWithCount
2023-07-17 09:44:58 -04:00
Mathias Fredriksson
dfac0745f3
feat(cli): show workspace health in list ( #8541 )
...
Ref #6461
2023-07-17 15:04:06 +03:00
Alexander Hansen
616e1d7e9a
Remove unmaintained 8Bitz0/coder-rust-template template ( #8534 )
2023-07-16 09:03:48 +00:00
sharkymark
3ea9699908
docs: added kubernetes option to workspace proxies ( #8533 )
2023-07-15 14:54:52 -05:00
Sebastiaan ten Pas
dbc422f29e
fix: devcontainer template workspace directory ( #8530 )
2023-07-15 09:04:51 +00:00
Muhammad Atif Ali
ce114a7f9f
chore: upgrade sqlc to 1.19.1 ( #8511 )
2023-07-15 09:07:19 +03:00
Dean Sheather
7a62534359
fix: allow unhanger to unhang canceling jobs ( #8529 )
2023-07-15 01:54:57 +00:00
Asher
7ed17b2605
fix: add some missing workspace updates ( #7790 )
...
* Standardize on function to get workspace channel name
There were two, now there is one.
* Add some missing workspace updates
There are some failure cases where we do not set the type as a workspace
build which causes the workspace update to never be published.
* Make build failures warnings
Otherwise the associated test fails due to the logger fataling on
error messages.
2023-07-14 15:07:48 -08:00
Ammar Bandukwala
970a829939
ci: relax stalebot ( #8522 )
...
\#6243 and others suggest the stalebot is too aggressive.
2023-07-14 16:38:04 +00:00
Cian Johnston
52b4563106
fix(scripts/develop.sh): use correct variables-file arg for template create ( #8520 )
2023-07-14 16:31:29 +00:00
Steven Masley
4c4d966c7b
feat: add ability to make workspace for other user from cli ( #8481 )
...
* feat: add ability to make workspace for other user from cli
* Add example to show functionality
2023-07-14 09:48:02 -04:00
Mathias Fredriksson
5fd77ad7cf
test(agent): fix service banner and metadata intervals ( #8516 )
2023-07-14 16:10:26 +03:00
Marcin Tojek
b7806fd216
fix(site): paginate audit logs ( #8513 )
2023-07-14 12:24:30 +02:00
dependabot[bot]
9aae983821
chore: bump @fontsource/ibm-plex-mono from 4.5.10 to 5.0.5 in /site ( #8512 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-14 01:38:45 +03:00
Muhammad Atif Ali
be1013899f
chore: use names for all GitHub actions steps and use sqlc setup action ( #8495 )
2023-07-13 22:46:18 +03:00
Colin Adler
132f1d0eb5
chore: fuzzy match alpine terraform version ( #8506 )
2023-07-13 14:36:45 -05:00
Bruno Quaresma
dc52df940b
chore: update coder tf provider on dogfood ( #8503 )
2023-07-13 14:50:23 -03:00
Dean Sheather
ecee3ceeec
chore: improve listener algorithm in apptest ( #8502 )
2023-07-13 17:34:14 +00:00
Steven Masley
c2acc35d45
feat: add custom coder bin path for ProxyCommand ( #8425 )
...
* feat: add custom coder bin path for ProxyCommand
* force cli path to be absolute (on non-windows)
2023-07-13 13:17:39 -04:00
dependabot[bot]
47d5806e2c
chore: bump monaco-editor from 0.39.0 to 0.40.0 in /site ( #8475 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.39.0 to 0.40.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 11:13:26 -06:00
Steven Masley
3b433181be
chore: add custom querier functions to dbgen ( #8496 )
...
* chore: add custom querier functions to dbgen
* chore: parse package was missing some imports, so force them
2023-07-13 13:12:29 -04:00
dependabot[bot]
b650ab40f0
chore: bump @tanstack/react-query from 4.22.4 to 4.29.19 in /site ( #8488 )
...
Bumps [@tanstack/react-query](https://github.com/tanstack/query ) from 4.22.4 to 4.29.19.
- [Release notes](https://github.com/tanstack/query/releases )
- [Commits](https://github.com/tanstack/query/compare/v4.22.4...v4.29.19 )
---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 10:58:36 -06:00
Muhammad Atif Ali
9249309d8e
docs: add docs to use remote Docker host ( #8479 )
...
Co-authored-by: Ben Potter <ben@coder.com >
2023-07-13 14:41:15 +00:00
Bruno Quaresma
b833861960
feat(site): display version message ( #8435 )
2023-07-13 10:36:10 -03:00
Ben Potter
44e25185ff
docs: add custom API use cases ( #8445 )
2023-07-13 13:24:09 +00:00
Marcin Tojek
ebdc510f12
fix(site): delete workspace action in audit log ( #8494 )
2023-07-13 14:43:10 +02:00
dependabot[bot]
24ec05b5c5
chore: bump prettier from 2.8.1 to 3.0.0 in /site ( #8477 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cian Johnston <cian@coder.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-07-13 14:44:12 +03:00
Marcin Tojek
3727e02bbf
feat(cli): add --create flag to templates push ( #8454 )
2023-07-13 12:58:34 +02:00
Marcin Tojek
5432c3f5ea
feat(cli): support ephemeral parameters ( #8415 )
2023-07-13 12:56:02 +02:00
Cian Johnston
cdf9b9045f
fix(scaletest/terraform): fix prometheus namespace deps, disable auto-upgrade ( #8490 )
...
* hotfix(scaletest/terraform): fix prometheus namespace deps, disable auto-upgrade
* fixup! hotfix(scaletest/terraform): fix prometheus namespace deps, disable auto-upgrade
2023-07-13 10:54:57 +01:00
Mathias Fredriksson
70047ffd15
chore(scripts): use slim and always run make in coder-dev.sh ( #8418 )
2023-07-13 11:51:53 +03:00
Muhammad Atif Ali
f21541c0e4
chore: update gh cli in dogfood Dockerfile ( #8489 )
2023-07-13 11:49:43 +03:00
dependabot[bot]
837f88d38e
chore: bump ts-proto from 1.152.0 to 1.153.2 in /site ( #8486 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 09:07:48 +03:00
Colin Adler
d7cbdbd9c6
chore: replace wsconncache with a single tailnet ( #8176 )
2023-07-12 17:38:25 -05:00
Colin Adler
c47b78c44b
chore: replace wsconncache with a single tailnet ( #8176 )
2023-07-12 17:37:31 -05:00
dependabot[bot]
0a37dd20d6
chore: bump google.golang.org/api from 0.130.0 to 0.131.0 ( #8482 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 00:15:04 +03:00
dependabot[bot]
ecda87060a
chore: bump @octokit/types from 10.0.0 to 11.1.0 in /site ( #8483 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 23:26:34 +03:00
dependabot[bot]
1bd188db66
chore: bump @emoji-mart/data from 1.0.5 to 1.1.2 in /site ( #8484 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 23:22:56 +03:00
dependabot[bot]
79772f2f3f
chore: bump @playwright/test from 1.35.1 to 1.36.0 in /site ( #8476 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 22:45:24 +03:00
dependabot[bot]
7fc5cce356
chore: bump cronstrue from 2.27.0 to 2.28.0 in /site ( #8478 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 22:44:35 +03:00
Colin Adler
b5c17048c6
chore: upgrade github.com/codeclysm/extract to v3.1.1 ( #8480 )
2023-07-12 14:33:46 -05:00
Muhammad Atif Ali
a0fedebd62
chore: rename dependabot groups ( #8473 )
2023-07-12 17:01:57 +00:00
ElioDiNino
d502de8ca8
docs: fix git credentials file name ( #8406 )
2023-07-12 20:00:15 +03:00
Bruno Quaresma
f8f4ae8e2c
refactor(site): update build log to be displayed only on active statuses ( #8459 )
2023-07-12 13:34:07 -03:00
Mathias Fredriksson
29e4205abf
ci(scripts): add support for --force in release.sh ( #8469 )
2023-07-12 16:31:13 +00:00
dependabot[bot]
ffc28e6b93
chore: bump xterm in /site from 5.1.0 to 5.2.1 ( #8465 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 18:35:32 +03:00
Colin Adler
1c3bfacca3
fix(cli): ensure cliui.Agent doesn't fetch infinitely ( #8446 )
2023-07-12 10:21:54 -05:00
dependabot[bot]
14caa9b7c1
chore: bump the npm-eslint group in /site with 3 updates ( #8464 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 18:21:02 +03:00
dependabot[bot]
b62798303c
chore: bump just-debounce-it from 3.1.1 to 3.2.0 in /site ( #8466 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 18:11:36 +03:00
dependabot[bot]
d7eeb4118e
chore: bump the npm-mui group in /site with 3 updates ( #8460 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 15:04:08 +00:00
dependabot[bot]
49081e0383
chore: bump @emotion/react from 11.10.8 to 11.11.1 in /site ( #8380 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 17:58:24 +03:00
dependabot[bot]
861efe7b50
chore: bump the npm-xstate group in /site with 3 updates ( #8461 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 17:56:52 +03:00
Muhammad Atif Ali
765fd29336
chore: upgrade go version to 1.20.6 ( #8457 )
2023-07-12 17:27:17 +03:00
Ben Potter
280112a366
docs: add devcontainer templates ( #8256 )
...
* start
* start a template
* basic structure
* Update docs/templates/devcontainers.md
Co-authored-by: Sebastiaan ten Pas <sebastiaan@diggimedia.nl >
* Update examples/templates/devcontainer-docker/main.tf
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* add kubernetes template
* mention parameters
* fixups
* fixes from feedback
---------
Co-authored-by: Sebastiaan ten Pas <sebastiaan@diggimedia.nl >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-07-12 10:22:39 -04:00
Muhammad Atif Ali
19f58350f2
chore: group various npm dependencies ( #8453 )
2023-07-12 16:45:50 +03:00
Bruno Quaresma
bff73ade6a
feat(site): add warning for unhealthy workspace ( #8422 )
2023-07-12 10:27:25 -03:00
dependabot[bot]
86f89892c8
chore: bump msw from 1.1.0 to 1.2.2 in /site ( #8440 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v1.1.0...v1.2.2 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 10:26:51 -03:00
Mathias Fredriksson
f6a8a5f7be
fix(site): prevent ExtractAPIKey from dirtying the HTML output ( #8450 )
...
If `httpmw.ExtractAPIKey` fails when we are rendering an HTML page, the
HTML output will be dirtied with the error repsonse and the HTTP status
will also be wrong.
The use of this function in the `renderHTMLWithState` is additive, and
failure means we simply can't embed static data. To fix this, we can
simply pass a `http.ResponseWriter` that is no-op.
Fixes #8351
2023-07-12 15:38:30 +03:00
Steven Masley
e9d7a230fa
chore: server header specifies if wsproxy ( #8432 )
2023-07-12 12:07:36 +00:00
Steven Masley
928091aa05
feat!: add table format to 'coder license ls', 'license_expires' --> 'license_expires_human' ( #8421 )
...
* feat: add table format to 'coder license ls'
* feat: license expires_at to table view
* change: `license_expires` to `license_expires_human` and `license_expires` is unix timestamp
2023-07-12 08:06:18 -04:00
dependabot[bot]
2c2dd0eb83
chore: bump crate-ci/typos from v1.14.12 to v1.16.0 and fix typos ( #8455 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-12 12:01:30 +00:00
Muhammad Atif Ali
7a210d941e
chore: remove invalid dependabot config for example templates ( #8452 )
2023-07-12 14:33:57 +03:00
Spike Curtis
b4057bd74a
feat: make pgCoordinator generally available ( #8419 )
...
* pgCoord to GA, fix tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix generation and coordinator delete RBAC
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix fakeQuerier -> FakeQuerier
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-07-12 13:35:29 +04:00
dependabot[bot]
2e9f3e0a6b
chore: bump the go-otel group with 4 updates ( #8437 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-07-11 17:12:59 -05:00
dependabot[bot]
13b9ed3240
chore: bump google.golang.org/api from 0.129.0 to 0.130.0 ( #8438 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 20:50:23 +00:00
Colin Adler
2c0f653aa8
chore(dogfood): give Asher more ram ( #8442 )
2023-07-11 15:24:29 -05:00
Marcin Tojek
bc835dbf69
fix: use numeric comparison to check monotonicity ( #8436 )
2023-07-11 22:08:41 +02:00
Eric Paulsen
d8d8eb2c8d
docs: add note on recommended Azure LB ( #8431 )
2023-07-11 18:19:45 +00:00
Colin Adler
21597e2d69
chore: upgrade Go to 1.20.6 ( #8433 )
2023-07-11 13:06:34 -05:00
goodspark
dd4aafb350
feat: add template info tags to coderd_agents_up metric ( #7942 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-07-11 12:39:14 -05:00
Mathias Fredriksson
398e8fdf89
fix(coderd/httpmw): handle oauth config removed for existing auth ( #8420 )
...
This commit fixes an edge case tied to unexpired oauth logins where the
oauth provider is removed, the server restarted, and the users auth
expiring after the fact.
Refs #8351 , #8352 , #8390
2023-07-11 20:29:29 +03:00
Mathias Fredriksson
e508d9aa6e
fix(agent/usershell): check shell on darwin via dscl ( #8366 )
2023-07-11 20:27:50 +03:00
Mathias Fredriksson
de1d04d7bb
fix(dogfood): use gcr.io/coder-dev-1/alpine mirror to fix rate limit ( #8424 )
2023-07-11 20:27:07 +03:00
Steven Masley
704212e271
feat: expand wsproxy settings page by default ( #8428 )
...
* feat: wsproxy settings page expanded by default
* chore: warnings & defaults on proxy setting page start open
* always expanded
2023-07-11 13:15:11 -04:00
Steven Masley
0a911d58f9
chore: change workspace proxy badge names ( #8429 )
...
* chore: "Not Reachable" --> "Not Dialable"
* chore: "Not registered" --> "Never seen"
2023-07-11 13:05:42 -04:00
Steven Masley
f67ccc9bc0
feat: add resource_target to audit log search ( #8423 )
...
* feat: add resource_target to audit log search
2023-07-11 13:05:21 -04:00
Muhammad Atif Ali
700ec966e3
chore: use dogfood-oss image in .devcontainer ( #8231 )
...
* use dogfood-oss image in devcontainer
* fix image name
* use Dockerfile
* Discard changes to dogfood/Dockerfile
* Use features to get docker in docker
* use previleged container
* use codercom/oss-dogfood image
* add `--priviliged` to fix GitHub Codespaces builds
* remove default options
2023-07-11 10:48:34 -04:00
Steven Masley
bc102d6bd7
feat: add cli first class validation ( #8374 )
...
* feat: add cli first class validation
* feat: add required flag to cli options
* Add unit test to catch invalid and missing flag
2023-07-11 09:59:55 -04:00
Cian Johnston
3f6a158016
chore: enable exhaustruct linter ( #8403 )
...
* chore: enable exhaustruct linter
* add exlusion rules
* move to allowlist instead
* exhaustruct httpmw package
* fixup! exhaustruct httpmw package
* make lint
* address PR comments
2023-07-11 14:30:33 +01:00
Mathias Fredriksson
75f62dc39d
feat: add support for template version messages in api and cli ( #8336 )
2023-07-11 13:11:08 +03:00
Kyle Carberry
b4a7fe3221
fix: use expires_in field for git device refresh ( #8411 )
...
This was causing git auth to never refresh after the token
became expired after 8hrs.
2023-07-11 09:28:52 +00:00
Colin Adler
9df80530d7
chore(cli): unhide netcheck command ( #8412 )
2023-07-10 21:38:02 -05:00
Bruno Quaresma
d896b74fa2
feat(site): display build logs on workspace transitioning statuses ( #8397 )
2023-07-10 17:47:39 -03:00
dependabot[bot]
b7641b219e
chore: bump the golang-x group with 4 updates ( #8400 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:33:17 -05:00
dependabot[bot]
ff62f70f55
chore: bump ts-proto from 1.150.0 to 1.152.0 in /site ( #8402 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.150.0 to 1.152.0.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.150.0...v1.152.0 )
---
updated-dependencies:
- dependency-name: ts-proto
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 17:28:52 -03:00
dependabot[bot]
000d538ace
chore: bump react-router-dom from 6.13.0 to 6.14.1 in /site ( #8398 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.13.0 to 6.14.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.14.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 17:28:40 -03:00
Bruno Quaresma
ecb99717ef
refactor(site) re-design proxies table ( #8410 )
2023-07-10 17:01:59 -03:00
Bruno Quaresma
3c2ce4f52a
refactor(site): adjust the proxy menu design ( #8409 )
2023-07-10 17:01:09 -03:00
Colin Adler
ef836de330
fix: document workspace filter query param correctly ( #8408 )
2023-07-10 18:57:09 +00:00
dependabot[bot]
cee8fde93d
chore: bump tough-cookie from 4.1.2 to 4.1.3 in /site ( #8384 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 13:36:48 -05:00
Muhammad Atif Ali
bf8af90d5a
chore: group golang.org/x/* dependencies ( #8392 )
2023-07-10 18:07:14 +03:00
Steven Masley
2ee406d7b6
feat: log out and redirect user when converting to oidc ( #8347 )
...
* feat: log out user on conver to oidc
Log out user and redirect to login page and log out user when
they convert to oidc.
2023-07-10 10:25:41 -04:00
Mathias Fredriksson
90a3debe3f
fix(coderd): pass oauth configs to site ( #8390 )
2023-07-10 17:23:41 +03:00
dependabot[bot]
9a3d9053a0
chore: bump @types/uuid from 8.3.4 to 9.0.2 in /site ( #8377 )
...
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) from 8.3.4 to 9.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
---
updated-dependencies:
- dependency-name: "@types/uuid"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 11:11:54 -03:00
dependabot[bot]
19ec5789a4
chore: bump vite from 4.3.9 to 4.4.2 in /site ( #8381 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.9 to 4.4.2.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.4.2/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 11:11:10 -03:00
Mathias Fredriksson
9a72ddf7d4
fix(enterprise/coderd): add missing fields to extract api key config ( #8393 )
2023-07-10 16:51:50 +03:00
Marcin Tojek
9f2a931eb8
feat(coderd): support ephemeral parameters ( #8367 )
2023-07-10 13:44:03 +02:00
Marcin Tojek
8f4157c28d
chore: go mod tidy ( #8389 )
2023-07-10 11:27:24 +00:00
Mathias Fredriksson
b73f9d8e86
feat: add computed workspace and agent health fields to the api ( #8280 )
2023-07-10 12:40:11 +03:00
dependabot[bot]
eabf929676
chore: bump actions/checkout from 2 to 3 ( #8382 )
2023-07-09 01:43:44 +03:00
Ammar Bandukwala
0115adf9d7
chore(.golangci.yaml): make gocyclo slightly more sensitive ( #8383 )
2023-07-08 22:43:34 +00:00
Muhammad Atif Ali
d19e679c20
chore: use dependabot groups ( #8372 )
2023-07-08 17:29:47 +03:00
Steven Masley
a297a014d6
chore: improve error message for incorrect login type ( #8349 )
...
* chore: add better error in wrong login type
2023-07-07 11:33:31 -04:00
Cian Johnston
c1ab5cf0ba
fix(cli/clistat): better handle cgroups with no limits ( #8373 )
2023-07-07 15:49:36 +01:00
Steven Masley
f75d497c41
chore: touch ups to wsproxy UX ( #8350 )
...
* chore: update wording on wsproxy help
* chore: show help if no fields specified in wsproxy edit
* chore: Add run command example to wsproxy create
* chore: remove localhost warning
* chore: navbar match page title
* chore: Add helper text to latency picker
* chore: add confirm delete to workspace proxy delete cli
* chore: add errors + warnings to workspace proxy table
2023-07-07 10:06:11 -04:00
Cian Johnston
396e5e9a60
chore(database): fix test flake in TestUserLastSeenFilter ( #8369 )
2023-07-07 14:28:45 +01:00
Bruno Quaresma
2baa34364a
fix(site): resize terminal when alert is dismissed ( #8368 )
2023-07-07 10:19:39 -03:00
Marcin Tojek
e088303382
feat!: drop LegacyVariableName from coder parameter ( #8360 )
2023-07-07 14:14:29 +02:00
Cian Johnston
4e42c33769
chore(Makefile): specify count=1 instead of cleaning test cache ( #8359 )
...
* chore(Makefile): specify count=1 instead of cleaning test cache
* Update Makefile
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* add comment to test-clean target
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-07 12:16:16 +01:00
Mathias Fredriksson
34c3f919dc
fix(agent/agentssh): check for hushlogin via afero fs ( #8358 )
2023-07-07 13:30:23 +03:00
Cian Johnston
259453007e
chore(Makefile): add test-race target ( #8357 )
...
* chore(Makefile): add test-race target
* fixup! chore(Makefile): add test-race target
2023-07-07 10:15:50 +00:00
Marcin Tojek
64687631aa
feat: enable Terraform template-wide variables by default ( #8334 )
2023-07-07 11:49:02 +02:00
Cian Johnston
435c67ab75
refactor(cli)!: move scaletest to exp/scaletest ( #8339 )
...
* refactor(cli): mv scaletest exp/scaletest
* make gen
2023-07-07 09:10:14 +01:00
Colin Adler
ccea595b39
chore: temporarily skip prisma scan ( #8355 )
2023-07-07 00:48:29 +00:00
Colin Adler
6079cda851
chore(dogfood): add docker compose ( #8354 )
2023-07-06 19:46:40 -05:00
Colin Adler
9a0ba1bdc3
fix(coderd): remove CREATE INDEX CONCURRENTLY from migrations ( #8353 )
2023-07-06 16:44:29 -05:00
Steven Masley
2ebd0ec6c5
fix: resolve nil pointer dereference on missing oauth config ( #8352 )
2023-07-06 16:46:22 -04:00
Steven Masley
9f5bc7c10b
feat: add --branch option to clone or checkout different dotfiles branch ( #8331 )
...
* feat: --branch option to clone different dotfiles branch
* chore: checkout specified branch if dotfiles already exist
2023-07-06 20:24:04 +00:00
Muhammad Atif Ali
5bb6bc5571
chore: update fly.io example to remove deprecated parameters ( #8194 )
...
* chore: update fly.io example to remove deprecated parameters
* `make fmt`
* update provider version
2023-07-06 10:20:23 -04:00
Bruno Quaresma
a33a255885
chore: upgrade node version on CI to match workspace version ( #8340 )
2023-07-06 14:04:29 +00:00
Colin Adler
33bdc23e1d
chore(site): fix node vulnerabilities ( #8330 )
...
* chore: fix node vulnerabilities
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
https://github.com/advisories/GHSA-j8xg-fqg3-53r7
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
2023-07-06 10:26:55 -03:00
Mathias Fredriksson
4a13c58077
test(pty/ptytest): fix error message on deadline exceeded ( #8337 )
2023-07-06 16:18:03 +03:00
Mathias Fredriksson
814534d6b7
fix(enterprise/audit): improve error message for missing action ( #8335 )
2023-07-06 15:43:32 +03:00
Cian Johnston
7fcf319e01
fix(cli)!: protect client Logger and refactor cli scaletest tests ( #8317 )
...
- (breaking) Protects Logger and LogBodies fields of codersdk.Client with its mutex. This addresses a data race in cli/scaletest.
- Fillets the existing cli/createworkspaces unit test and moves the testing logic there into the tests under scaletest/createworkspaces.
- Adds testutil.RaceEnabled bool const and conditionaly skips previously-skipped tests under scaletest/ if the race detector is enabled. This is unfortunate and sad, but I would prefer to have these tests at least running without the race detector than not running at all.
- Adds IgnoreErrors option to fake in-memory agent loggers; having the agents fail the test immediately when they encounter any sort of error isn't really helpful.
2023-07-06 09:43:39 +01:00
Mathias Fredriksson
1d746b901b
fix(Makefile): add dbmock to swagger deps and improve performance ( #8332 )
2023-07-06 10:59:08 +03:00
Mathias Fredriksson
3f058f28e7
test(agent): use afero for motd tests to allow parallel execution ( #8329 )
2023-07-06 10:57:51 +03:00
Marcin Tojek
c6fcd7ee93
fix: report failed CompletedJob ( #8318 )
2023-07-06 07:26:33 +00:00
Marcin Tojek
45eca671fe
feat: delay pending-in-queue banner ( #8309 )
2023-07-06 09:13:25 +02:00
Ben Potter
d843735c02
docs: explain Template inheritance with Terraform modules ( #8328 )
...
* docs: explain Template inheritance with Terraform modules
* make fmt & title renaming
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
2023-07-05 15:06:16 -04:00
Colin Adler
c0835c443d
chore: pin terraform to 1.5.2 ( #8322 )
...
The Alpine ARM builders are no longer behind on releases.
2023-07-05 12:59:58 -05:00
Steven Masley
418c9b8743
docs: update template acl example params ( #8320 )
...
Param examples were unhelpful
2023-07-05 17:24:21 +00:00
Steven Masley
4a008a8f34
chore: prevent nil dereferences on cmd handlers ( #8319 )
...
* chore: detect nil cmd handlers
Prevent nil panic dereferences on cmd handlers. Add a unit test
to prevent future mistakes
2023-07-05 17:20:12 +00:00
Steven Masley
d70e2d97de
chore: use correct prettier version in ci ( #8321 )
...
Install prettier in package.json + yarn.lock. Global install was using incorrect version
2023-07-05 13:11:08 -04:00
Steven Masley
0f5a1ad480
feat: add spinner to latencies when refetching ( #8278 )
...
* feat: add spinner to latencies when refetching
2023-07-05 13:06:09 -04:00
Steven Masley
9a7705c656
feat: generate a new session with coder login --token ( #8275 )
...
* feat: coder login --token generates a new session
Makes sure /logout does not delete the inputted token
* flag to enable previous behavior if needed
2023-07-05 08:59:38 -04:00
Mathias Fredriksson
88c35d3f04
fix(pty): close output writer before reader on Windows to unblock close ( #8299 )
2023-07-05 15:25:07 +03:00
Colin Adler
59246e054f
chore(dogfood): add libssl-dev to image ( #8312 )
2023-07-05 00:24:32 -05:00
sharkymark
65112ecc04
docs: update examples of IDEs: remove JetBrains Projector and add VS Code Server ( #8310 )
...
* docs: remove mention of jetbrains projector; add vs code server web IDE example
* fmt
---------
Co-authored-by: Ben <me@bpmct.net >
2023-07-04 13:27:49 +00:00
dependabot[bot]
647fd7699b
chore: bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 ( #8300 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 13:00:37 -05:00
dependabot[bot]
865f49af35
chore: bump github.com/gohugoio/hugo from 0.114.1 to 0.115.0 ( #8301 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.114.1 to 0.115.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.114.1...v0.115.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 13:00:31 -05:00
dependabot[bot]
2fc8a275fe
chore: bump google.golang.org/api from 0.128.0 to 0.129.0 ( #8303 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.128.0 to 0.129.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.128.0...v0.129.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 13:00:15 -05:00
dependabot[bot]
82a6405bfa
chore: bump golang.org/x/tools from 0.9.3 to 0.10.0 ( #8304 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.9.3...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 13:00:05 -05:00
Jon Ayers
4a9c8f407a
feat: add auto-locking/deleting workspace based on template config ( #8240 )
2023-07-02 21:29:52 -05:00
dependabot[bot]
818c4a7f23
chore: bump yup from 0.32.11 to 1.2.0 in /site ( #8287 )
...
Bumps [yup](https://github.com/jquense/yup ) from 0.32.11 to 1.2.0.
- [Release notes](https://github.com/jquense/yup/releases )
- [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jquense/yup/compare/v0.32.11...v1.2.0 )
---
updated-dependencies:
- dependency-name: yup
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:43 -05:00
dependabot[bot]
2af41a439b
chore: bump @vitejs/plugin-react from 2.1.0 to 4.0.1 in /site ( #8288 )
...
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) from 2.1.0 to 4.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.1/packages/plugin-react )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:36 -05:00
dependabot[bot]
2899b9431d
chore: bump monaco-editor from 0.38.0 to 0.39.0 in /site ( #8289 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.38.0 to 0.39.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:30 -05:00
dependabot[bot]
c19541e28f
chore: bump eslint-plugin-unicorn from 44.0.0 to 47.0.0 in /site ( #8291 )
...
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 44.0.0 to 47.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.0...v47.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:19 -05:00
Jon Ayers
681e2db9ec
Revert "fix: add front-end fixes for minor workspace action bugs ( #8252 )" ( #8286 )
...
This reverts commit c569528fb7 .
2023-06-30 20:26:38 -05:00
Muhammad Atif Ali
83bee35c36
chore: prevent running ci when other workflows are updated ( #8285 )
2023-06-30 22:38:50 +00:00
Muhammad Atif Ali
dad4876e90
chore: react to deploy-pr comment ( #8284 )
2023-06-30 22:25:23 +00:00
Asher
6015319e9d
feat: show service banner in SSH/TTY sessions ( #8186 )
...
* Allow workspace agents to get appearance
* Poll for service banner every two minutes
* Show service banner before MOTD if not quiet
2023-06-30 10:41:29 -08:00
Steven Masley
eb0497ff82
feat: fetch proxy latencies at most once per 30s ( #8277 )
...
* feat: fetch proxy latencies at most once per 30s
2023-06-30 12:45:02 -04:00
Steven Masley
f0bd258ff1
feat: move proxy settings page to deployment options ( #8246 )
...
* feat: Move workspace proxy page to deployment options
Workspace proxy settings page is now an admin feature
* WorkspaceProxy response extends region
2023-06-30 11:32:35 -04:00
Cian Johnston
1e8cc2ca8d
feat: scaletest: scale down nodegroups by default ( #8276 )
...
* feat: allow scaling down scaletest environments
* fix bugged namespace deletion
* misc fixes to scaletest.sh
* destroy namespaces is a no-op as the cluster will be gone anyway
2023-06-30 16:07:47 +01:00
Cian Johnston
a6bd85df38
feat: scaletest: add Grafana dashboard for scale testing ( #8274 )
...
* feat: scaletest: add Grafana dashboard for scale testing
Fixes #7600 .
* make fmt
2023-06-30 14:04:46 +00:00
Kira Pilot
c569528fb7
fix: add front-end fixes for minor workspace action bugs ( #8252 )
...
* fix: incorrect copy on inactivity_ttl field
* disabling locked fields unless inactivity TTL is set
* scoping inactivity dialog message to template
* fixed pluralization for inactivity dialog
* amending logic gate to show inactivity dialog
* fixed pagination bug
2023-06-30 09:45:44 -04:00
Steven Masley
9f76dab348
chore: Bump migration to remove conflict ( #8273 )
2023-06-30 13:12:40 +00:00
Cian Johnston
8b2d4b87fc
fix: examples/lima: use new parameter name when creating template ( #8272 )
2023-06-30 12:45:47 +00:00
Steven Masley
b5f26d9bdf
feat: add ability for users to convert their password login type to oauth/github login ( #8105 )
...
* Currently toggled by experiment flag
---------
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2023-06-30 08:38:48 -04:00
Cian Johnston
357f3b38f7
fix: scaletest: mount CODER_CACHE volume under /tmp ( #8271 )
...
Mounting the CODER_CACHE volume under /tmp/coder causes
template creation to fail due to read-only tmp dir.
2023-06-30 12:48:34 +01:00
Marcin Tojek
6639c69fad
feat: add "display_order" column to coder_parameter to keep parameters sorted in UI ( #8227 )
2023-06-30 12:41:55 +02:00
Colin Adler
72a48bee52
fix: pin datadog-ci version ( #8270 )
2023-06-30 03:42:13 +00:00
Kyle Carberry
34467a3289
feat: add github device flow for authentication ( #8232 )
...
* feat: add github device flow for authentication
This will allow us to add a GitHub OAuth provider out-of-the-box
to reduce setup requirements.
* Improve askpass view
* Add routes to improve clarity of git auth
* Redesign the git auth page
* Refactor to add a page view
* Fix sideways layout
* Remove legacy notify
* Fix git auth redirects
* Add E2E tests
* Fix route documentation
* Fix imports
* Remove unused imports
* Fix E2E web test
* Fix friendly message appearance
* Fix layout shifting for full-screen sign-in
* Fix height going to 100%
* Fix comments
2023-06-29 18:58:01 +00:00
Eric Paulsen
7f82eca64a
docs: note SSH key location in workspaces ( #8264 )
2023-06-29 12:01:07 -04:00
Cian Johnston
7072b8eff5
chore: update scaletest terraform with latest findings ( #8249 )
...
Updates scaletest terraform with learnings from #8213 :
- Increase max pods per node to 256
- Decrease CPU requests for test workspace to allow maxing out workspaces per node
- Explicitly set CODER_ACCESS_URL for ssh to work
- Explicitly disable rate limits in coderd
- Increase DB size for medium and large scenarios
- Mount cache volume directly under /tmp/coder instead of /tmp.
- Plumb through requests and limits for workspaces
- Plumb through requests for coderd
2023-06-29 14:03:11 +00:00
Marcin Tojek
83fee4b192
feat: enable Terraform debug mode via deployment configuration ( #8260 )
2023-06-29 15:22:21 +02:00
Kira Pilot
7ca624eceb
fix: removing prettier path in vscode config ( #8255 )
2023-06-29 09:00:51 -04:00
Jon Ayers
749307ef08
feat: provide endpoint to lock/unlock workspace ( #8239 )
2023-06-28 16:12:49 -05:00
Steven Masley
72e83df578
hotfix: fix broken link in the group sync docs ( #8251 )
2023-06-28 13:55:50 -04:00
Marcin Tojek
3dbc96d597
feat: show queue position of pending workspace build ( #8244 )
2023-06-28 14:48:58 +02:00
Mathias Fredriksson
d3c39b60c9
feat: add agent log streaming and follow provisioner format ( #8170 )
2023-06-28 10:54:13 +02:00
Spike Curtis
c0a01ec81c
fix: fix TestPGCoordinatorDual_Mainline flake ( #8228 )
...
* fix TestPGCoordinatorDual_Mainline flake
Signed-off-by: Spike Curtis <spike@coder.com >
* use slices.Contains instead of local function
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-28 11:37:45 +04:00
Eric Paulsen
df95cf7ab2
feat: helm rbac perms for deployments ( #8233 )
2023-06-27 15:14:39 -04:00
Colin Adler
b8a143566b
fix: use *string instead of error in healthcheck response ( #8234 )
2023-06-27 19:13:54 +00:00
Asher
e2e07b01e9
fix: revert to canvas renderer for xterm ( #8138 )
...
The default changed from canvas to DOM in the last update. The canvas
renderer resolves line spacing issues and has better performance, as
well as bringing us back to the previous status quo.
In the new version the canvas is enabled via an addon.
2023-06-27 09:57:16 -08:00
Mathias Fredriksson
b4751c72d8
fix(cli/agent): wrap lumberjack logger to prevent re-open ( #8229 )
2023-06-27 12:49:44 +00:00
Mathias Fredriksson
6d176aee5d
test(agent): fix lifecycle test flakeyness ( #8230 )
2023-06-27 12:44:16 +00:00
Muhammad Atif Ali
25decc152a
chore: fix broken docs links ( #8198 )
...
* chore: add examples templates to docs filter
* chore: fix broken docs links
* Discard changes to .github/workflows/ci.yaml
2023-06-27 08:20:57 -04:00
Ben Potter
70cd87140d
docs: mark agent metadata as GA ( #8111 )
...
* docs: agent metadata is now GA
* fmt
2023-06-27 07:35:01 -04:00
Muhammad Atif Ali
9cefd46bcf
chore: delete skipped workflow runs of pr-deploy.yaml ( #8225 )
2023-06-27 14:26:21 +03:00
Marcin Tojek
b83cdfe428
chore: update nix flake to include sqlc v1.18.0 ( #8226 )
2023-06-27 12:50:04 +02:00
Spike Curtis
7943a5b85e
fix PG coordinator context and RBAC subject ( #8223 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-27 10:14:31 +00:00
Spike Curtis
5d26637686
feat(scaletest): add license and experiment to scaletest ( #8222 )
...
* add license and experiment to scaletest
Signed-off-by: Spike Curtis <spike@coder.com >
* appease lint & fmt
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-27 10:13:36 +00:00
Muhammad Atif Ali
96435ee2ce
chore: fix condition in pr-deploy.yaml ( #8224 )
2023-06-27 09:59:15 +00:00
dependabot[bot]
c969da469d
chore: bump semver from 7.3.7 to 7.5.2 in /site ( #8162 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 12:54:19 +03:00
Muhammad Atif Ali
b4ca285582
chore: ignore sub directories in examples for go files check ( #8197 )
...
There are no go files in any of the subdirectories in examples directory.
2023-06-27 00:35:09 +03:00
Steven Masley
140683813d
chore: reword wsproxy help ( #8168 )
2023-06-26 12:32:47 -05:00
Mathias Fredriksson
31076ad665
fix(enterprise/coderd): prevent deadlock during entitlements update ( #8215 )
2023-06-26 20:22:28 +03:00
Steven Masley
56395410bd
chore: disable auto proxy selection based on latency ( #8137 )
...
* chore: disable auto pick proxy based on latency
* Remove latency pulled from storage
2023-06-26 13:08:32 -04:00
Steven Masley
82415a6541
chore: add documentation to address common group sync errors ( #8212 )
...
* chore: Add documentation to address common group sync errors
2023-06-26 13:08:20 -04:00
Cian Johnston
80ef147060
fix(cli): stat: explicitly specify resource SI prefix ( #8206 )
...
* fix(cli): move to explicitly specifying units
* make gen
2023-06-26 18:06:38 +01:00
dependabot[bot]
1558ef52f1
chore: bump github.com/gohugoio/hugo from 0.113.0 to 0.114.1 ( #8201 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 10:48:39 -05:00
dependabot[bot]
98457e993b
chore: bump github.com/valyala/fasthttp from 1.47.0 to 1.48.0 ( #8204 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 15:40:21 +00:00
Kyle Carberry
f40865bc2f
chore: use mutex around blockEndpoints ( #8209 )
...
https://github.com/coder/coder/actions/runs/5378950122/jobs/9759972142
2023-06-26 10:01:50 -05:00
dependabot[bot]
4539ce7db6
chore: bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 ( #8203 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 10:01:10 -05:00
Cian Johnston
b8437ce453
fix(scaletest): adjust sessionAffinity and scenario resources ( #8205 )
...
* scaletest: adjust scenario resources
* scaletest: set sessionAffinity=None for coder service
2023-06-26 15:54:05 +01:00
Muhammad Atif Ali
cfbe96a379
chore: return success if pr-cleanup.yaml faisl to find a PR image tag ( #8208 )
2023-06-26 14:47:10 +00:00
Marcin Tojek
b4f14cc6a9
feat: include coder_parameters from external modules ( #8195 )
2023-06-26 13:46:30 +00:00
Muhammad Atif Ali
0a6e6442b8
chore: add examples templates to docs filter ( #8196 )
2023-06-26 09:48:23 +00:00
野漫横江
bdecf53413
Update additional-clusters.md ( #8190 )
...
Domain name should not be localhost
2023-06-25 15:41:17 +00:00
野漫横江
e27cfe6e6a
docs: fix incorrect command in project documentation ( #8191 )
2023-06-25 15:12:10 +00:00
Dean Sheather
98a5ae7f48
feat: add provisioner job hang detector ( #7927 )
2023-06-25 13:17:00 +00:00
Eric Paulsen
3671846b1b
docs: add default dir for VS Code Desktop ( #8184 )
2023-06-23 17:52:01 -05:00
Eric Paulsen
46df6c58bc
docs: add max lifetime docs and refactor UI helper text ( #8185 )
2023-06-23 17:51:42 -05:00
Spike Curtis
5d48122f12
fix: fix PG Coordinator to update when heartbeats (re)start ( #8178 )
...
* fix: fix PG Coordinator to update when heartbeats (re)start
Signed-off-by: Spike Curtis <spike@coder.com >
* rename resetExpiryTimer(WithLock)
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-23 10:38:58 +00:00
Spike Curtis
ba9d038d42
feat: add periodic cleanup of PG Coordinator state ( #8142 )
...
* PG Coordinator cleans orphaned state
Signed-off-by: Spike Curtis <spike@coder.com >
* Don't need pubsub
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-23 13:23:28 +04:00
Rodrigo Maia
c594f02948
fix(site): display correct user_limit on license ui ( #8118 )
2023-06-23 08:38:36 +02:00
Steven Masley
797e91d4c6
feat: add flag for Windows to create unix compatible filepaths ( #8164 )
...
* feat: add flag for Windows to create unix compatible filepaths
2023-06-22 17:08:12 -05:00
Marcin Tojek
5d45218a5d
docs: application logs ( #8166 )
2023-06-22 23:25:17 +02:00
Mathias Fredriksson
3b9b06fe5a
feat(codersdk/agentsdk): add StartupLogsSender and StartupLogsWriter ( #8129 )
...
This commit adds two new `agentsdk` functions, `StartupLogsSender` and
`StartupLogsWriter` that can be used by any client looking to send
startup logs to coderd.
We also refactor the `agent` to use these new functions.
As a bonus, agent startup logs are separated into "info" and "error"
levels to separate stdout and stderr.
---------
Co-authored-by: Marcin Tojek <mtojek@users.noreply.github.com >
2023-06-22 23:28:59 +03:00
Steven Masley
f56db1b41b
feat: add user search query param on last_seen ( #8139 )
...
* feat: add sql filter for before/after on last_seen column
2023-06-22 15:24:48 -05:00
Colin Adler
97945ae272
fix(scripts): properly shift for --build-base option ( #8167 )
2023-06-22 15:24:03 -05:00
Colin Adler
41e7216df7
chore: upgrade terraform to 1.5.1 ( #8160 )
2023-06-22 19:08:40 +00:00
Marcin Tojek
8e2422d42c
feat: use named loggers in coderd ( #8148 )
2023-06-22 20:09:33 +02:00
Muhammad Atif Ali
1417c12229
ci: get PR number correctly from pull_request event ( #8158 )
2023-06-22 17:19:14 +00:00
Muhammad Atif Ali
2c046ef475
ci: use single quotes when we have backticks in title ( #8159 )
2023-06-22 16:57:44 +00:00
Muhammad Atif Ali
f4a712b271
ci: delete old workflow runs for pr-cleanup.yaml( #8146 )
2023-06-22 19:16:06 +03:00
Muhammad Atif Ali
ea4b9a4354
ci: fix syntax issue in pr-deploy.yaml ( #8154 )
2023-06-22 16:06:15 +00:00
Muhammad Atif Ali
eee4f835ec
ci: fix wrong trigger pr-deploy.yaml ( #8151 )
2023-06-22 18:29:27 +03:00
Muhammad Atif Ali
1ffc8058c2
ci: deploy automatic PR deployments on request ( #8121 )
2023-06-22 14:35:58 +00:00
Spike Curtis
e856491476
feat: enable PG Coordinator as experiment ( #8144 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-22 13:12:29 +04:00
Spike Curtis
e738123a9c
chore: log ssh connection disconnects with errors ( #8143 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-22 11:37:50 +04:00
Jon Ayers
1b0124ecdb
feat: automatically stop workspaces based on failure_ttl ( #7989 )
2023-06-22 00:33:22 -04:00
Kyle Carberry
d434181941
feat: add cohesive e2e tests for the web terminal, apps, and workspaces ( #8140 )
...
* feat: add cohesive e2e tests for the web terminal, apps, and workspaces
* Fix web terminal flake
2023-06-22 00:21:40 +00:00
Kyle Carberry
2a492b7008
chore: improve the setup experience with various fixes ( #8130 )
...
* Move updatecheck logs to debug mode
This was causing logs to be emitted immediately after
initial setup, which seemed odd for the user.
* Fix setup page text to say "Create" instead of "Setup" account
* Improve copy on the empty workspaces page
- This view can be seen after the user creates their first workspace, so saying first is bad.
- It should describe what a workspace is, so I modified the description.
- The create from template button wasn't helpful!
* Improve the copy for the empty templates view
- This didn't describe what a template actually is.
- The title had the same problem as workspaces, where first makes no sense.
* Improve text consistency on the Create Template page
* Fix "View activity" displaying for non-Enterprise users
This was causing an exception to be thrown.
* Improve messaging of empty groups view
* Appropriately capitalize Workspace and Template
* Improve Docker template taglines
* Fix types
2023-06-21 18:23:59 -05:00
Dean Sheather
a28d422c35
feat: add flag to disable all direct connections ( #7936 )
2023-06-21 22:02:05 +00:00
Asher
96f9e61ca1
Strip CORS headers from applications ( #8057 )
...
The problem is that the headers get doubled up (not overwritten) and
browsers do not like multiple values for the allowed origin even though
it appears the spec allows for it.
We could prefer the application's headers instead of ours but since we
control OPTIONS I think preferring ours will by the more consistent
experience and also aligns with the original RFC.
2023-06-21 13:41:27 -08:00
Dean Sheather
24b95e16c4
feat: add --disable-direct flag to CLI ( #8131 )
2023-06-21 20:22:43 +00:00
Colin Adler
bc739bdfce
feat(cli): add hidden netcheck command ( #8136 )
2023-06-21 14:33:19 -05:00
Colin Adler
7703bb77a7
ci: update sqlc version in security scan ( #8135 )
2023-06-21 13:53:41 -05:00
Eric Paulsen
a0d0e0e72d
docs: add coder ping example for troubleshooting ( #8133 )
2023-06-21 18:07:24 +00:00
Bruno Quaresma
1faed639c4
fix(site): show error when parameter is invalid ( #8125 )
2023-06-21 11:39:28 -03:00
Bruno Quaresma
bce8a983fe
chore(site): remove new filter from experimental ( #8112 )
2023-06-21 10:20:37 -03:00
Spike Curtis
cc17d2feea
refactor: add postgres tailnet coordinator ( #8044 )
...
* postgres tailnet coordinator
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix db migration; tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Add fixture, regenerate
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix fixtures
Signed-off-by: Spike Curtis <spike@coder.com >
* review comments, run clean gen
Signed-off-by: Spike Curtis <spike@coder.com >
* Rename waitForConn -> cleanupConn
Signed-off-by: Spike Curtis <spike@coder.com >
* code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
* db migration order
Signed-off-by: Spike Curtis <spike@coder.com >
* fix log field name last_heartbeat
Signed-off-by: Spike Curtis <spike@coder.com >
* fix heartbeat_from log field
Signed-off-by: Spike Curtis <spike@coder.com >
* fix slog fields for linting
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-21 16:20:58 +04:00
Marcin Tojek
4fb4c9b270
chore: add more rules to ensure logs consistency ( #8104 )
2023-06-21 12:00:38 +02:00
Spike Curtis
1c8f564fdb
feat: add logging of ssh connections to agent ( #8096 )
...
* feat: adds logging of ssh connections to agent
Signed-off-by: Spike Curtis <spike@coder.com >
* code review improvements
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-21 13:49:58 +04:00
Colin Adler
4a431b6eb8
feat(helm): add coder.command to control pod command ( #8116 )
2023-06-20 22:59:01 +00:00
Colin Adler
15cba05dfc
ci: scan images with sysdig ( #8037 )
2023-06-20 22:58:17 +00:00
Eric Paulsen
b398814ab0
docs: add prometheus scrape_config example ( #8113 )
...
* docs: add prometheus scrape_config example
* make: fmt
* add: label
* fix: spelling
* scheme: http
2023-06-20 21:09:35 +00:00
Colin Adler
7d43f4ceee
chore: update dogfood image ( #8114 )
2023-06-20 15:08:15 -05:00
Kyle Carberry
69f911dfd5
feat: add queue_position and queue_size to provisioner jobs ( #8074 )
2023-06-20 15:07:18 -05:00
Kyle Carberry
bbb0fab1de
chore: merge database gen scripts ( #8073 )
...
* chore: merge database gen scripts
* Fix type params gen
* Merge enum into dbgen
2023-06-20 16:24:33 +00:00
Kyle Carberry
f3b2009499
chore: reorder helm chart to improve ux ( #8108 )
...
It makes no sense that the primary option `env` was so far
below infrequently used options.
2023-06-20 16:23:56 +00:00
Kyle Carberry
467b0a1004
chore: restyle provisioner job output format ( #8106 )
...
Reduce colors and formatting to reduce bugs and increase UNIX-feel.
2023-06-20 16:16:27 +00:00
Colin Adler
823127e761
feat: add healthcheck database section ( #8060 )
2023-06-20 15:13:22 +00:00
Bruno Quaresma
2db4488337
fix(site): fix filters errors display ( #8103 )
2023-06-20 12:08:05 -03:00
Mathias Fredriksson
ea4b7d60d7
fix(agent): refactor trackScriptLogs to avoid deadlock ( #8084 )
...
During agent close it was possible for the startup script logs consumer
to enter a deadlock state where by agent close was waiting via
`a.trackConnGoroutine` and the log reader for a flush event.
This refactor removes the mutex in favor of channel communication and
relies on two goroutines without shared state.
2023-06-20 18:05:11 +03:00
Colin Adler
adf14f1917
chore(cli): warn on template push or create when no lockfile present ( #8059 )
2023-06-20 15:02:44 +00:00
Bruno Quaresma
a47a9b1cfe
fix(site): prevent filter input update when focused ( #8102 )
2023-06-20 13:46:04 +00:00
Mathias Fredriksson
b8ba287128
fix: disable websocket compression for startup logs in Safari ( #8087 )
2023-06-20 16:29:32 +03:00
Bruno Quaresma
c3781d95b4
fix(site): fix build logs route ( #8100 )
2023-06-20 13:24:48 +00:00
Cian Johnston
eb0783ff24
chore(cli): do not assert non-zero host cpu usage ( #8097 )
2023-06-20 13:03:56 +00:00
Cian Johnston
0f754f0bb9
fix(clistat): do not include buffers/cache for host memory used ( #8095 )
2023-06-20 13:29:27 +01:00
Marcin Tojek
06a5e24f5b
skip: TestStatCPUCmd/JSON ( #8093 )
2023-06-20 12:08:11 +00:00
Mathias Fredriksson
8dac0356ed
refactor: replace startup script logs EOF with starting/ready time ( #8082 )
...
This commit reverts some of the changes in #8029 and implements an
alternative method of keeping track of when the startup script has ended
and there will be no more logs.
This is achieved by adding new agent fields for tracking when the agent
enters the "starting" and "ready"/"start_error" lifecycle states. The
timestamps simplify logic since we don't need understand if the current
state is before or after the state we're interested in. They can also be
used to show data like how long the startup script took to execute. This
also allowed us to remove the EOF field from the logs as the
implementation was problematic when we returned the EOF log entry in the
response since requesting _after_ that ID would give no logs and the API
would thus lose track of EOF.
2023-06-20 14:41:55 +03:00
Marcin Tojek
b1d1b63113
chore: ensure logs consistency across Coder ( #8083 )
2023-06-20 12:30:45 +02:00
Cian Johnston
d6f8bd7847
feat(cli): add coder stat command ( #8005 )
2023-06-20 11:16:57 +02:00
Jon Ayers
c3aef9363b
feat: add locked TTL field to template meta ( #8020 )
2023-06-19 22:37:55 -04:00
dependabot[bot]
1ecc371ade
chore: bump google.golang.org/grpc from 1.55.0 to 1.56.0 ( #8079 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.55.0 to 1.56.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.56.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 20:48:05 -05:00
Mathias Fredriksson
af45e64b1d
chore(coderd/database/gen): improve generated fake stub ( #8088 )
...
* chore(coderd/database/gen): generate arg validation where applicable
* fix(coderd/database/gen): support pointers and slices as return types
2023-06-20 00:05:26 +03:00
Kyle Carberry
f444100aa6
feat: add region querying to pre-fetched html ( #8077 )
2023-06-19 11:23:26 -05:00
dependabot[bot]
e083cbca6a
chore: bump golang.org/x/mod from 0.10.0 to 0.11.0 ( #8078 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/mod/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 10:00:37 -05:00
dependabot[bot]
020c6fb71e
chore: bump google.golang.org/api from 0.127.0 to 0.128.0 ( #8080 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.127.0 to 0.128.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.127.0...v0.128.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 10:00:21 -05:00
dependabot[bot]
456ad85ce3
chore: bump golang.org/x/crypto from 0.9.0 to 0.10.0 ( #8081 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 10:00:13 -05:00
Kyle Carberry
5b9c3784bc
docs: add steps for registering a github app with coder ( #7976 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-18 14:01:37 -05:00
Kyle Carberry
9df9ad4503
feat: embed common client requests into the template html ( #8076 )
...
This should reduce the number of API requests a client makes
when loading the dashboard dramatically!
2023-06-18 13:57:27 -05:00
Kyle Carberry
2a10c9127f
fix: show git provider id instead of type ( #8075 )
...
Fixes #6343 .
2023-06-18 17:01:44 +00:00
Ammar Bandukwala
ca6b9e9368
chore: use robust RNG in cryptorand ( #8040 )
2023-06-17 17:33:40 -05:00
Montasser abd majid ZEHRI
c8e67833f5
docs: add oidc keycloak docs ( #8042 )
...
* adding docs for keycloak to solve the problem with the refraish token
* fmt
2023-06-16 10:18:26 -05:00
Mathias Fredriksson
0c5077464b
fix: avoid missed logs when streaming startup logs ( #8029 )
...
* feat(coderd,agent): send startup log eof at the end
* fix(coderd): fix edge case in startup log pubsub
* fix(coderd): ensure startup logs are closed on lifecycle state change (fallback)
* fix(codersdk): fix startup log channel shared memory bug
* fix(site): remove the EOF log line
2023-06-16 17:14:22 +03:00
Marcin Tojek
247f8a973f
feat: replace ssh maxTimeout with keep-alive mechanism ( #8062 )
...
* Bump up coder/ssh
* feat: Set default agent timeout to ~72h
* Address PR comments
* Fix
2023-06-16 15:22:18 +02:00
Cian Johnston
751c0505bf
chore: add benchmark for prometheusmetrics.MetricsAggregator ( #8066 )
...
* add benchmark for prom metrics aggregator
* fixup! add benchmark for prom metrics aggregator
* make fmt
2023-06-16 14:04:28 +01:00
Colin Adler
3ec2e96ff4
chore: tidy up grafana example dashboard ( #8056 )
2023-06-15 14:22:31 -05:00
dependabot[bot]
137b51e2c7
chore: bump cronstrue from 2.21.0 to 2.27.0 in /site ( #7851 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.21.0 to 2.27.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.21.0...v2.27.0 )
---
updated-dependencies:
- dependency-name: cronstrue
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-15 14:34:00 -03:00
Bruno Quaresma
e4d23ff5fe
fix(site): add test and fix username params in terminal ( #8052 )
2023-06-15 13:18:19 -03:00
Bruno Quaresma
f61001d049
chore(docs): optimize images ( #8047 )
2023-06-15 10:49:47 -03:00
dependabot[bot]
33c0674d76
chore: bump react-router-dom from 6.4.1 to 6.12.1 in /site ( #7950 )
...
* chore: bump react-router-dom from 6.4.1 to 6.12.1 in /site
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.4.1 to 6.12.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.12.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix what needs to be fixed
* fix storybook
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-06-15 10:34:49 -03:00
Cian Johnston
6e598234b6
fix: only collect prometheus database metrics when explicitly enabled ( #8045 )
...
* fix: only collect prometheus database metrics when explicitly enabled
* add missing test
* de-duplicate wrapping
2023-06-15 12:34:16 +01:00
Mathias Fredriksson
3f81f38fcc
ci: fix commit type prefix regexp in release script ( #8046 )
...
Previously we were incorrectly categorizing `fix(a/b): ...` as other
because the regexp only expected letters, not `/`. Now we accept any
input within the parenthesis.
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-06-15 10:57:18 +00:00
Cian Johnston
b1588fa596
fix(helm): use /healthz for liveness and readiness probes instead of /api/v2/buildinfo ( #8035 )
2023-06-15 10:08:48 +01:00
Eric Paulsen
977e9ef505
docs: add steps for configuring trusted headers & origins in Helm chart ( #8031 )
2023-06-14 16:20:40 -04:00
Kyle Carberry
8ac68c95a4
chore: lazily initialize find commands in makefile ( #8030 )
...
Improves make performance for small targets!
2023-06-14 13:17:16 -05:00
Bruno Quaresma
af06e80949
fix(site): fix footer year ( #8036 )
2023-06-14 14:59:33 -03:00
Steven Masley
6c4c3d6ce5
feat: add login type 'none' to prevent password login ( #8009 )
...
* feat: add login type 'none' to prevent login
Users with this login type must use tokens to authenticate.
Tokens must come from some other source, not a /login with password
authentication
2023-06-14 12:48:43 -05:00
Bruno Quaresma
cbd49abfcd
fix(site): resize terminal when dismissing warning ( #8028 )
2023-06-14 14:40:55 -03:00
Steven Masley
3619a3a6dd
feat: add disabling of default 'everyone' group access to template ( #7982 )
...
* feat: add disabling of default 'everyone' group access to template
* add FE to disable everyone group
* require entitlement to uncheck box
2023-06-14 11:08:58 -05:00
Kyle Carberry
e4b6f5695b
chore: separate pubsub into a new package ( #8017 )
...
* chore: rename store to dbmock for consistency
* chore: remove redundant dbtype package
This wasn't necessary and forked how we do DB types.
* chore: separate pubsub into a new package
This didn't need to be in database and was bloating it.
2023-06-14 15:34:54 +00:00
Dean Sheather
2c843f4011
fix: fix --header flag in CLI ( #8023 )
2023-06-14 21:52:01 +10:00
Cian Johnston
df842b31e8
chore: fix miscellaneous issues in scaletest scripts ( #8006 )
...
* chore: scaletest: plumb through more options
* bump terraform version
* scaletest.sh: pprof during traffic gen
* cli/scaletest: actually wait for prometheus metrics to be scraped
* increase prometheus wait
2023-06-14 09:38:04 +01:00
Rodrigo Maia
1da2570e14
feat(site): add documentation links to webterminal notifications ( #8019 )
...
* feat(site): add documentation links to webterminal notifications
* change button variant
2023-06-14 00:27:40 +00:00
dependabot[bot]
7a7ee63225
chore: bump github.com/hashicorp/terraform-json from 0.16.0 to 0.17.0 ( #7972 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 22:19:01 +00:00
dependabot[bot]
af50ef76f9
chore: bump google.golang.org/api from 0.125.0 to 0.127.0 ( #8018 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 01:15:08 +03:00
dependabot[bot]
299260361a
chore: bump github.com/gohugoio/hugo from 0.111.3 to 0.113.0 ( #7969 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 16:50:45 -05:00
Kyle Carberry
8c4b7c01e2
chore: remove redundant dbtype package ( #8014 )
...
* chore: rename store to dbmock for consistency
* chore: remove redundant dbtype package
This wasn't necessary and forked how we do DB types.
2023-06-13 19:14:55 +00:00
Mathias Fredriksson
4f512fb230
chore: use gcr.io for postgres image in OpenContainerized ( #8015 )
...
Refs #7935
2023-06-13 22:03:33 +03:00
Kyle Carberry
7d54fd5e0d
chore: rename store to dbmock for consistency ( #8013 )
2023-06-13 13:57:43 -05:00
Kyle Carberry
a658c94a67
chore: automatically generate dbauthz when new queries are added ( #8007 )
...
* chore: automatically generate dbauthz when new queries are added
* Merge system functions
2023-06-13 13:40:46 -05:00
Mathias Fredriksson
c12c9f1f4e
chore(go.mod): update cdr.dev/slog ( #7994 )
...
* chore(mod): update cdr.dev/slog
* fix: change uses of []slog.Field to []any to match new API
2023-06-13 18:17:04 +00:00
Mathias Fredriksson
74fdcb1ace
fix(agent/agentssh): wait for sessions to exit ( #8008 )
2023-06-13 17:52:31 +00:00
Kyle Carberry
794a551176
chore: generate dbmetrics automatically when adding new queries ( #7999 )
...
* chore: rename dbgen package files and remove small file
* chore: automatically generate dbmetrics when new queries are added
2023-06-13 12:35:12 -05:00
Colin Adler
f2758fcb33
feat: add example grafana dashboard ( #7987 )
...
* feat: add example grafana dashboard
* fixup! feat: add example grafana dashboard
* fixup! feat: add example grafana dashboard
* fixup! feat: add example grafana dashboard
2023-06-13 12:26:42 -05:00
Mathias Fredriksson
51226c55ab
test(coderd): close metricscache and avoid background context ( #7996 )
2023-06-13 20:18:31 +03:00
Kyle Carberry
2e7e99b135
fix: scope errors to subtests for flake ( #8004 )
...
See: https://github.com/coder/coder/actions/runs/5257676837/jobs/9500882394
2023-06-13 11:52:17 -05:00
Kyle Carberry
24953869a6
chore: remove key comparison check to fix gitsshkey flake ( #8002 )
...
In tests we use weak randomness and the same key was generated which
caused a test flake here.
2023-06-13 15:51:45 +00:00
Kyle Carberry
75078fafa2
chore: try removing cache from fmt and lint ( #8001 )
2023-06-13 10:48:53 -05:00
Steven Masley
9cf3c582cb
test: add unit test that deletes abandoned workspace ( #7990 )
...
* test: add unit test that deletes abandoned workspace
This is to ensure we do not break this functionality in future.
This is important incase this edge case happens, an admin can
clean up the abandoned resources.
2023-06-13 10:42:18 -05:00
Mathias Fredriksson
c916a9e67f
fix(agent): guard against multiple rpty race for same id ( #7998 )
...
* fix(agent): guard against multiple rpty race for same id
* fix(agent): ensure pty is closed on error
2023-06-13 15:14:07 +00:00
Kyle Carberry
9440b3da66
chore: rename dbgen package files and remove small file ( #7997 )
2023-06-13 09:21:12 -05:00
Mathias Fredriksson
1d0fae83a2
fix(coderd): prevent lost messages in watchWorkspaceAgentMetadata ( #7934 )
...
* fix(codersdk): wait for subscription in WatchWorkspaceAgentMetadata
* fix(coderd): subscribe before sending initial metadata event
* test(coderd): add retries to TestWorkspaceAgent_Metadata to avoid flake
2023-06-13 12:21:06 +00:00
Mathias Fredriksson
518300a26c
fix(coderd/database): improve pubsub closure and context cancellation ( #7993 )
2023-06-13 15:19:56 +03:00
Ben Potter
aba5cb8377
fix(docs): capture and export audit logs ( #7991 )
...
* hotfix(docs): Capturing/exporting audit logs
We frequntly get questions about this!
* fmt
2023-06-12 23:06:58 -05:00
Jon Ayers
31bd2b0bdc
chore: update legacy parameters in envbox template ( #7898 )
2023-06-12 20:53:12 -05:00
Colin Adler
ac605bad3d
ci: scan images with prisma ( #7988 )
2023-06-12 23:11:45 +00:00
Kyle Carberry
28f35393e7
chore: generate and order dbfake funcs automatically ( #7986 )
...
* chore: rename `databasefake` to `dbfake`
* Remove unused method
* chore: add generation to dbfake
* Auto gen on make gen
* Fix preserving imports
* gen dbfake
* Add goimports
* Fix the makefile
* Make it panic instead of a comment
2023-06-12 17:40:58 -05:00
Kyle Carberry
685abfc6d7
chore: rename databasefake to dbfake ( #7979 )
...
* chore: rename `databasefake` to `dbfake`
* Remove unused method
2023-06-12 16:05:37 -05:00
Asher
4a0ac13bb7
docs: document CORS behavior between forwarded apps ( #7944 )
...
* docs: document CORS behavior
* docs: move CORS documentation under dashboard section
None of this applies to ports forwarded in other ways.
2023-06-12 20:59:47 +00:00
Kyle Carberry
6ac7d86c93
chore: prevent gen from rerunning every time ( #7985 )
2023-06-12 14:45:17 -05:00
Steven Masley
b70d2b1767
fix: correct the correct cli output for 'template version list --output=json' ( #7984 )
...
* fix: correct 'template version list --output=json' cli cmd
2023-06-12 14:35:51 -05:00
Kira Pilot
f13632cea8
feat: add impending deletion filter to workspaces page ( #7860 )
...
* add workspace deletion dialog
* add deleting_by query param
* added test
* filtering on workspaces to be deleted
* cleaned up form
* added story
* added banner filter
* PR feedback
* fix lint and stories
* PR feedback
* added enterprise test
* added unit tests in search_test.go
* remove unused fn
* unstaged changes
2023-06-12 11:55:51 -07:00
Mathias Fredriksson
4068f70d2b
fix(coderd): avoid deadlock in (*logFollower).follow ( #7983 )
2023-06-12 18:38:46 +00:00
Ammar Bandukwala
aa9dbf2eb3
ci: reduce Windows parallelism ( #7981 )
...
We have seen an uptick in Windows failures.
2023-06-12 18:24:54 +00:00
dependabot[bot]
0d71314ae1
chore: Bump aquasecurity/trivy-action from 0.10.0 to 0.11.2 ( #7967 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.10.0 to 0.11.2.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/e5f43133f6e8736992c9f3c1b3296e24b37e17f2...41f05d9ecffa2ed3f1580af306000f734b733e54 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 21:22:10 +03:00
Ammar Bandukwala
a540e629e5
ci: improve caching ( #7954 )
2023-06-12 12:09:54 -05:00
Mathias Fredriksson
4bc4e63637
fix(cli/ssh): fix lint error ( #7974 )
2023-06-12 16:17:41 +00:00
Muhammad Atif Ali
68ebf93fdb
ci: add fmt and lint to required tests ( #7975 )
2023-06-12 10:43:45 -05:00
Ammar Bandukwala
5de1084639
feat(cli/ssh): simplify log file flags ( #7863 )
...
And, fix a race condition.
2023-06-12 09:18:33 +04:00
Dean Sheather
ec7b117878
chore: add gen and test-go-race to required check ( #7952 )
2023-06-10 04:07:17 +00:00
dependabot[bot]
1ec463d74d
chore: bump i18next from 21.9.1 to 22.5.0 in /site ( #7812 )
...
* chore: Bump i18next from 21.9.1 to 22.5.0 in /site
Bumps [i18next](https://github.com/i18next/i18next ) from 21.9.1 to 22.5.0.
- [Release notes](https://github.com/i18next/i18next/releases )
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next/compare/v21.9.1...v22.5.0 )
---
updated-dependencies:
- dependency-name: i18next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix i18n types
* prettier
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Maia <rodrigo.maia.pereira@gmail.com >
2023-06-09 18:54:17 -05:00
Dean Sheather
634e146032
ci: skip ts or go tests based on changed files ( #7134 )
...
* chore: skip ts or go tests based on files changed
* comments
* chore: add 'required' job
* fixup! chore: add 'required' job
* fake go modification
* merge main into dean/skip-tests-fe-be
* fix typo
* remove x_test.go
* remove duplicate setup-node action
* condition test-go-race too
* skip ete on docs changes
* allows tests to run if changes are made .github directory
---------
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-10 02:53:16 +03:00
Ammar Bandukwala
71c908974c
ci: improve caching ( #7943 )
2023-06-09 16:46:44 -05:00
Cian Johnston
2bbe650eb0
chore: scaletest: collect database metrics using prometheus-postgres-exporter ( #7945 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-06-09 21:21:08 +00:00
Muhammad Atif Ali
175561bf36
docs: update CONTRIBUTING.md ( #7937 )
2023-06-09 19:38:16 +03:00
Steven Masley
065206345e
test: add golden files to enterprise cli ( #7924 )
...
* test: Add golden files to enterprise cli
2023-06-09 11:35:20 -05:00
Dean Sheather
4f9d3155c9
ci: use macos-latest-xl runners ( #7938 )
2023-06-09 11:22:29 -05:00
Muhammad Atif Ali
16ebe10ff2
docs(admin/workspace-proxies): add instructions to run using the Docker image ( #7915 )
...
* docs(admin/workspace-proxies): add instructions to run using the Docker image.
* make fmt
2023-06-09 10:53:04 -05:00
Eric Paulsen
53969415ec
docs: add multi git providers to enterprise chart ( #7941 )
...
* docs: add multi git providers to enterprise chart
* make: fmt
2023-06-09 14:52:51 +00:00
Dean Sheather
c60ea38691
chore: use gcr.io for postgres image in CI ( #7935 )
2023-06-09 13:39:55 +00:00
Mathias Fredriksson
e4744686ec
fix(codersdk): handle API older than client for startup script behavior ( #7933 )
2023-06-09 13:01:56 +00:00
Colin Adler
30a635aa5f
fix(enterprise): ensure scim usernames are validated ( #7925 )
2023-06-08 17:59:49 -05:00
Steven Masley
a4cc883be1
chore: add proxy health interval flag/env config ( #7919 )
...
* chore: plumbing for proxy health interval from flag/env
2023-06-08 12:58:24 -05:00
Steven Masley
fa8153a0fd
chore: make default workspace proxy editable ( #7903 )
...
* chore: add editing the default workspace proxy
2023-06-08 10:30:15 -05:00
Steven Masley
5e647ba07a
chore: improve workspace proxy create cli flow ( #7907 )
...
* chore: improve workspace proxy create cli flow
2023-06-08 10:02:35 -05:00
Muhammad Atif Ali
26f575e284
ci: prevent running nightly-gauntlet.yaml on PRs ( #7920 )
2023-06-08 14:57:39 +00:00
Mathias Fredriksson
976d23e3dc
docs(templates): fix docs for updated --wait flag ( #7918 )
2023-06-08 14:31:22 +00:00
Mathias Fredriksson
03034dc508
chore(cli/configssh): add comment about wait and skip proxy ( #7917 )
2023-06-08 14:23:03 +00:00
Mathias Fredriksson
fa91e11105
fix(cli/help): show deprecation notice properly for flags ( #7904 )
2023-06-08 14:14:42 +00:00
Mathias Fredriksson
a1c32954d9
feat(cli/configssh): add support for wait yes/no/auto ( #7893 )
...
Refs #7768
2023-06-08 14:06:50 +00:00
Mathias Fredriksson
94aa9be33a
feat(cli/ssh): implement wait options and deprecate no-wait ( #7894 )
...
Fixes #7768
Refs #7893
2023-06-08 16:52:44 +03:00
Steven Masley
b2324325fa
chore: add warning log if misconfigured groups oidc ( #7874 )
...
* chore: add warning log if misconfigured groups oidc
This is not perfect, but if we find a 'groups' claim and it is not
configured, put out a warning log to give some information
2023-06-08 08:51:59 -05:00
Montasser abd majid ZEHRI
479467473e
docs: add RStudio community template without requiring a subdomain ( #7909 )
...
* adding a comunity template
* make fmt
* fixing typo in url
---------
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-08 13:07:20 +00:00
Cian Johnston
efbb55803b
chore: add scaletest convenience script ( #7819 )
...
- Adds a convenience script `scaletest.sh` to automate process of running scale tests
- Enables pprof endpoint by default, and captures pprof traces before tearing down infra.
- Improves idempotency of coder_init.sh
- Removes the promtest.Float64 invocations in workspacetraffic runner, these metrics will be in prometheus.
- Increases default workspace traffic output to 40KB/s/workspace.
2023-06-08 09:30:02 +01:00
Ammar Bandukwala
9ec1fcf1a7
ci: move timing tests to nightly gauntlet ( #7910 )
...
Test_Runner_Timing was one of our flakiest tests before.
2023-06-08 04:03:03 +00:00
Ammar Bandukwala
fcca639d38
test(agent/agentssh): close SSH servers in all tests ( #7911 )
...
Potentially solves the flake seen here:
https://github.com/coder/coder/actions/runs/5167029213/jobs/9307647816 .
2023-06-07 23:43:38 +00:00
Ammar Bandukwala
f6db95e71c
test(coderd/database/migrations): increase fixture test timeout
2023-06-07 23:17:29 +00:00
Technofab
52ead3d933
feat(provisioner): add support for .tf.json templates ( #7835 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-06-08 08:06:50 +10:00
Asher
f0c5201617
feat: allow cross-origin requests between users' own apps ( #7688 )
2023-06-07 11:08:14 -08:00
Asher
125e9ef00e
fix: validate that parameter names are unique ( #7882 )
2023-06-07 09:44:50 -08:00
Bruno Quaresma
fbdbc8a6c5
fix(site): return correct useer when using me on filter menu ( #7906 )
2023-06-07 14:32:52 -03:00
Bruno Quaresma
5be2b77830
fix(site): format numbers in pagination text ( #7900 )
2023-06-07 15:25:03 +00:00
Bruno Quaresma
df82f29945
fix(site): improve filter on smaller screens ( #7899 )
2023-06-07 15:01:49 +00:00
Bruno Quaresma
2a5025c84c
feat(site): add view activity on user context menu ( #7897 )
2023-06-07 11:58:40 -03:00
Mathias Fredriksson
eb11b50bd1
docs(templates): improve workspace incomplete and session docs ( #7896 )
2023-06-07 17:34:49 +03:00
Bruno Quaresma
d793564937
feat(site): add new filter to audit logs ( #7878 )
2023-06-07 14:10:58 +00:00
Mathias Fredriksson
ab3a649520
docs(templates): improve startup_script_behavior docs ( #7892 )
...
Refs #7857
2023-06-07 13:39:44 +00:00
Steven Masley
1376ba3724
chore: use a cache to select best latency ( #7879 )
...
* chore: Testing using a cache to choose the best latency
* Allow storing more latencies if needed
This PR enables a feature to record and save latencies to local storage for later analysis
2023-06-07 08:29:18 -05:00
Kira Pilot
74ffd2756a
fix: respect uppercase letters in username filter for audit ( #7880 )
...
* fix: respect uppercase letters in username filter for audit
* updated documentation
2023-06-07 05:48:08 -07:00
Bruno Quaresma
91dd3fbfab
feat(site): add presets back to the filters ( #7876 )
2023-06-07 09:46:16 -03:00
Mathias Fredriksson
a77b48a5e3
docs(templates): document startup_script_behavior in-depth ( #7857 )
...
Fixes #7759
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-06-07 12:29:19 +03:00
Cian Johnston
4f29f9abe3
fixup! fix(cli): speed up CLI over SSH ( #7885 ) ( #7888 )
2023-06-07 09:13:22 +00:00
Muhammad Atif Ali
8c4b6b02e7
ci: rename cron-weekly.yaml to weekly-docs.yaml ( #7886 )
...
Renames `cron-weekly.yaml` to `weekly-docs.yaml`
2023-06-07 07:56:19 +00:00
Ammar Bandukwala
5eaf809851
fix(cli): speed up CLI over SSH ( #7885 )
...
By caching the terminal's color profile, we avoid myriad round trips during command execution.
2023-06-07 05:22:58 +00:00
Colin Adler
1288a83e42
chore: upgrade openssl ( #7883 )
2023-06-06 16:59:56 -05:00
goodspark
0665a6c2f2
feat: add metric for provisioner daemons ( #7858 )
2023-06-06 16:50:11 -05:00
Muhammad Atif Ali
4954052ff6
ci: use builder runners to build dogfood image ( #7881 )
2023-06-06 16:11:25 -05:00
Colin Adler
003120882f
chore: update Go to 1.20.5 ( #7877 )
2023-06-06 14:05:09 -05:00
Steven Masley
72f59950f2
chore: add prometheus timing to latency endpoint ( #7742 )
...
* chore: Prometheus timing to latency endpoint
2023-06-06 10:26:13 -05:00
Bruno Quaresma
944c42dcb6
docs: add docs for the available query filter for workspaces and users ( #7875 )
...
* Add docs for user filtering
* Add filter for workspace
* Apply suggestions from code review
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-06 15:12:10 +00:00
Bruno Quaresma
3121ccc7ff
fix(site): Update the template form when a value is changed ( #7873 )
2023-06-06 11:25:25 -03:00
Bruno Quaresma
6d3dc30207
refactor(site): Remove terminal padding and add border to bottom bar ( #7871 )
2023-06-06 11:08:07 -03:00
Bruno Quaresma
baa9922a82
feat(site): add new filter to the users page ( #7818 )
2023-06-06 09:59:15 -03:00
Marcin Tojek
ee45b3df77
fix: ignore case while sorting usernames ( #7870 )
2023-06-06 12:37:41 +02:00
Mathias Fredriksson
660bbb8d38
refactor: deprecate login_before_ready in favor of startup_script_behavior ( #7837 )
...
Fixes #7758
2023-06-06 11:58:07 +03:00
Marcin Tojek
93378daeb3
feat: sort users by username ( #7838 )
2023-06-06 08:47:59 +02:00
Muhammad Atif Ali
2ad1308450
ci: run dogfood.yaml action when the action is updated ( #7866 )
2023-06-06 06:34:20 +00:00
Muhammad Atif Ali
2be7ef88e8
ci: use coder binary from the server ( #7865 )
2023-06-06 09:13:25 +03:00
dependabot[bot]
7332acc935
chore: bump vite from 4.3.0 to 4.3.9 in /site ( #7864 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.0 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 21:57:53 -05:00
sharkymark
8e655b42b1
chore(docs): Added macOS self-signed cert add step and moved plugin docs to top ( #7859 )
2023-06-05 19:59:01 -04:00
Steven Masley
fa8f50a169
fix: fix workspace status filter returning more statuses that requested ( #7732 )
2023-06-05 18:12:10 -05:00
Bruno Quaresma
b9e3226612
refactor(site): give default error message when description is missing ( #7846 )
2023-06-05 17:43:24 -03:00
Bruno Quaresma
7ec16cf779
feat(site): add latency to the terminal ( #7801 )
2023-06-05 18:32:49 +00:00
dependabot[bot]
0413ed0178
chore: update xterm, xterm-addon-fit, and xterm-addon-web-links in /site ( #7765 )
...
* chore: bump xterm, xterm-addon-fit and xterm-addon-web-links in /site
Bumps [xterm](https://github.com/xtermjs/xterm.js ), [xterm-addon-fit](https://github.com/xtermjs/xterm.js ) and [xterm-addon-web-links](https://github.com/xtermjs/xterm.js ). These dependencies needed to be updated together.
Updates `xterm` from 4.19.0 to 5.1.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.19.0...5.1.0 )
Updates `xterm-addon-fit` from 0.5.0 to 0.7.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.7 )
Updates `xterm-addon-web-links` from 0.6.0 to 0.8.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.6...0.8 )
---
updated-dependencies:
- dependency-name: xterm
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: xterm-addon-fit
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: xterm-addon-web-links
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Remove rendererType
This option no longer exists. Renderers other than the DOM renderer
have been split into addons.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher <ash@coder.com >
2023-06-05 13:53:27 -03:00
dependabot[bot]
a2e129083e
chore: bump github.com/hashicorp/hcl/v2 from 2.14.0 to 2.17.0 ( #7853 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 11:30:20 -05:00
dependabot[bot]
3a7c92a56f
chore: bump go.uber.org/atomic from 1.10.0 to 1.11.0 ( #7854 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 11:27:57 -05:00
dependabot[bot]
b79bfb2874
chore: bump alpine from 3.16 to 3.18 in /dogfood ( #7847 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 11:26:58 -05:00
Colin Adler
1ab2450250
fix(provisioner/terraform): ensure ordering rich parameters produces no nil values ( #7824 )
2023-06-05 11:26:04 -05:00
dependabot[bot]
5a3d6b589a
chore: bump eslint-plugin-jsx-a11y from 6.6.1 to 6.7.1 in /site ( #7850 )
...
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y ) from 6.6.1 to 6.7.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.6.1...v6.7.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 08:33:38 -07:00
Muhammad Atif Ali
466c530525
ci: add dogfood to dependabot ( #7844 )
2023-06-05 18:12:15 +03:00
dependabot[bot]
3fa7ee969d
chore: bump github.com/elastic/go-sysinfo from 1.9.0 to 1.11.0 ( #7841 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 09:56:41 -05:00
dependabot[bot]
82c709b1ba
chore: bump google.golang.org/api from 0.122.0 to 0.125.0 ( #7843 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 09:54:44 -05:00
dependabot[bot]
cb42396596
chore: bump github.com/ory/dockertest/v3 from 3.9.1 to 3.10.0 ( #7840 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 09:52:26 -05:00
sharkymark
88dc66ae47
chore(docs): Add clarifying language that resetting a user password must run on the coderd host ( #7845 )
2023-06-05 13:37:12 +00:00
Bruno Quaresma
6fde86d1ac
fix(site): remove tar file type limitation ( #7817 )
2023-06-05 10:34:36 -03:00
dependabot[bot]
cdba0744a2
chore: Bump jest-runner-eslint from 2.0.0 to 2.1.0 in /site ( #7810 )
...
Bumps [jest-runner-eslint](https://github.com/jest-community/jest-runner-eslint ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/jest-community/jest-runner-eslint/releases )
- [Changelog](https://github.com/jest-community/jest-runner-eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/jest-runner-eslint/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: jest-runner-eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 06:08:25 -07:00
Steven Masley
bbecff28ae
feat: return better error if file size is too big to upload ( #7775 )
...
* feat: return better error if file size is too big to upload
* Use a limit writer to capture actual tar size
2023-06-05 11:19:25 +00:00
Spike Curtis
e016c307ae
Fix postgres ephemeral ports; don't use for TestPubsub_Disconnect ( #7798 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-05 09:24:44 +04:00
dependabot[bot]
f14f011abf
chore: Bump github.com/hashicorp/yamux ( #7808 )
2023-06-04 07:30:36 +03:00
dependabot[bot]
53e5625292
chore: Bump @typescript-eslint/parser from 5.45.1 to 5.59.8 in /site ( #7807 )
2023-06-04 07:29:30 +03:00
dependabot[bot]
4d5f723740
chore: Bump golangci/golangci-lint-action from 3.3.1 to 3.5.0 ( #7805 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.1 to 3.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.5.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 03:37:18 +00:00
dependabot[bot]
2bf3cae3cb
chore: Bump crate-ci/typos from 1.14.11 to 1.14.12 ( #7804 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.14.11 to 1.14.12.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.14.11...v1.14.12 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 03:31:41 +00:00
dependabot[bot]
e10644f86a
chore: Bump monaco-editor from 0.37.1 to 0.38.0 in /site ( #7814 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.37.1 to 0.38.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.37.1...v0.38.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 22:40:59 +00:00
goodspark
e2613c91a7
feat(cli): support non-active template version pushes ( #7488 )
...
So that we can push template updates for testing without impacting
normal users of the template.
---------
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-03 22:39:00 +00:00
Muhammad Atif Ali
1f8e817da7
ci: delete CODEOWNERS ( #7830 )
2023-06-03 17:08:55 -05:00
Ammar Bandukwala
38d0f6fb74
perf(provisioner/terraform): upgrade hc-install ( #7832 )
...
By upgrading hc-install, we benefit from increased performance
in checksum verification introduced here:
- https://github.com/hashicorp/hc-install/commit/858962c71d47df1ea505b9031bccd5fdf7c8e07f
Also:
- Made minor improvements to tests
- Excluded TestInstall from the race detector
2023-06-03 22:03:41 +00:00
Ammar Bandukwala
b62e22766f
ci: skip DataDog upload for dependabot ( #7831 )
2023-06-03 20:47:09 +00:00
Marcin Tojek
b26dd4b802
docs: remove unsupported legacy parameters ( #7799 )
...
* docs: unsupported legacy parameters
* Update docs/templates/parameters.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-03 06:05:06 +02:00
Colin Adler
14a63d7b4a
revert(provisionersdk): remove support for .tf.json files ( #7829 )
2023-06-02 23:13:41 +00:00
Colin Adler
c6cd042e80
fix(clitest): use slogtest for logging stdin and stdout ( #7828 )
2023-06-02 22:38:31 +00:00
Ammar Bandukwala
a4424205c7
ci: truly fix repo name detection
2023-06-02 22:03:21 +00:00
Muhammad Atif Ali
887bbea72a
hotfix(docs): fix broken link reported by ci ( #7825 )
...
Resolves
https://github.com/coder/coder/actions/runs/5159895963/jobs/9295371489#step:4:188
2023-06-03 00:53:06 +03:00
Ammar Bandukwala
f37e007b8e
ci: fix repo name detection
2023-06-02 21:40:18 +00:00
dependabot[bot]
ea03c7276b
chore: Bump github.com/golang-migrate/migrate/v4 from 4.15.2 to 4.16.0 ( #7811 )
...
Bumps [github.com/golang-migrate/migrate/v4](https://github.com/golang-migrate/migrate ) from 4.15.2 to 4.16.0.
- [Release notes](https://github.com/golang-migrate/migrate/releases )
- [Changelog](https://github.com/golang-migrate/migrate/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang-migrate/migrate/compare/v4.15.2...v4.16.0 )
---
updated-dependencies:
- dependency-name: github.com/golang-migrate/migrate/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 00:12:20 +03:00
Eric Paulsen
6715cb6a95
docs: resolve README 404s ( #7822 )
2023-06-02 20:56:06 +00:00
Colin Adler
edccd2de73
fix(agent): configure logger for both reaper and agent ( #7823 )
2023-06-02 15:51:10 -05:00
Ammar Bandukwala
97fb5020cf
hotfix(ci): correctly detect repo name ( #7820 )
2023-06-02 20:18:09 +00:00
Eric Paulsen
d082ab59b4
docs: add note on log truncation ( #7821 )
2023-06-02 19:36:43 +00:00
Ammar Bandukwala
2631a8436c
hotfix: disable nightly-flake on all pushes
2023-06-02 18:11:04 +00:00
Ammar Bandukwala
6d8caf6f14
ci: add nightly flake workflow ( #7803 )
2023-06-02 12:48:51 -05:00
Ammar Bandukwala
902265bdd7
hotfix(ci): skip DataDog upload on forks ( #7802 )
...
* hotfix(ci): skip DataDog upload on forks
* fixup! hotfix(ci): skip DataDog upload on forks
2023-06-02 17:47:14 +00:00
Colin Adler
6fdebd8a07
hotfix(agent): only retain 1 logfile at a time ( #7815 )
2023-06-02 12:28:38 -05:00
Colin Adler
8f736fe5f5
fix(prometheusmetrics): ensure periodic metrics tick on startup ( #7585 )
2023-06-02 11:56:37 -05:00
Muhammad Atif Ali
9f810b1964
chore(dependabot): assign frontend team to review dependabot PRs automatically ( #7800 )
...
* chore(dependabot): assign frontend tam to review dependabot PRs automatically
* fix team name
2023-06-02 16:34:40 +00:00
Spike Curtis
078926f612
fix: select on context to avoid leak in logFollower ( #7792 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-02 11:25:46 -05:00
dependabot[bot]
004ad1755f
chore: bump formik from 2.2.9 to 2.4.1 in /site ( #7763 )
...
* chore: bump formik from 2.2.9 to 2.4.1 in /site
Bumps [formik](https://github.com/formium/formik ) from 2.2.9 to 2.4.1.
- [Release notes](https://github.com/formium/formik/releases )
- [Commits](https://github.com/formium/formik/compare/formik@2.2.9...formik@2.4.1 )
---
updated-dependencies:
- dependency-name: formik
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix ESLINT
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-06-02 09:58:59 -03:00
Marcin Tojek
10036ab5fb
fix: use minDisabled, maxDisabled for parameter validation ( #7755 )
2023-06-02 11:43:48 +02:00
Marcin Tojek
a7366a8b76
feat!: drop support for legacy parameters ( #7663 )
2023-06-02 11:16:46 +02:00
Colin Adler
2b63492649
feat(healthcheck): add failing sections to report ( #7789 )
2023-06-01 19:21:24 -05:00
Colin Adler
9b8e5c2d8a
feat(provisionersdk): add support for .tf.json templates ( #7744 )
2023-06-02 00:03:59 +00:00
Bruno Quaresma
9dbbe82cf8
fix(site): proxy menu not showing latency ( #7785 )
2023-06-01 20:03:27 -03:00
Asher
9704945428
fix: standardize on CODER_PG_CONNECTION_URL ( #7781 )
...
Fixes #7513 .
2023-06-01 15:02:29 -08:00
Ammar Bandukwala
613f90cf2b
ci: send test statistics to DataDog ( #7786 )
2023-06-01 16:25:52 -05:00
dependabot[bot]
083449c438
chore: bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 ( #7787 )
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 16:25:09 -05:00
sharkymark
49ae49095c
docs: make template git auth example in sync with git auth setup example ( #7784 )
2023-06-01 19:34:52 +00:00
Eric Paulsen
4acf36b84a
docs: describe gateway and internal certs ( #7747 )
...
* docs: gateway & self-signed certs
* docs: update trust store locations
* toolbox paths
* fix: windows cacerts location
---------
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
2023-06-01 14:49:30 -04:00
Bruno Quaresma
62b2560bd0
chore(site): add type check on lint ( #7778 )
2023-06-01 15:45:15 -03:00
Bruno Quaresma
1a615778e6
chore(site): add workspace filter experiments into all ( #7779 )
2023-06-01 15:45:04 -03:00
dependabot[bot]
0bed8b57bc
chore: bump eslint from 8.35.0 to 8.41.0 in /site ( #7761 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.35.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.35.0...v8.41.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 15:44:33 -03:00
dependabot[bot]
33f1e468cb
chore: bump @fontsource/inter from 4.5.11 to 5.0.2 in /site ( #7762 )
...
Bumps [@fontsource/inter](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/inter ) from 4.5.11 to 5.0.2.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/inter/CHANGELOG.md )
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/inter )
---
updated-dependencies:
- dependency-name: "@fontsource/inter"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 15:44:22 -03:00
dependabot[bot]
93f4a5008e
chore: bump @types/jest from 29.4.0 to 29.5.2 in /site ( #7764 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.4.0 to 29.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 15:43:26 -03:00
Bruno Quaresma
0f439d5374
hotfix: initial options as empty array ( #7782 )
2023-06-01 18:25:54 +00:00
Ammar Bandukwala
ba3e6cea51
hotfix: remove cryptorand.Bool ( #7780 )
...
It caused a CI flake and we we weren't using it anywhere.
`cryptorand.Float64() < 0.5` can be used in the future too.
2023-06-01 17:59:08 +00:00
Bruno Quaresma
332362cf4b
chore(site): simplify the logic to load workspace initial data ( #7772 )
2023-06-01 14:20:17 -03:00
Bruno Quaresma
4de4e8ee21
feat(site): Show total of items in the workspaces table ( #7774 )
2023-06-01 13:21:16 -03:00
Bruno Quaresma
80b60e158d
refactor(site): make vscode dropdown button thiner ( #7773 )
2023-06-01 16:17:56 +00:00
Bruno Quaresma
e80e88e019
refactor(site): add default owner:me filter to workspaces ( #7738 )
2023-06-01 12:04:10 -03:00
Bruno Quaresma
1952c042e1
fix(site): Fix navbar alignment on small screens ( #7739 )
...
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
2023-06-01 13:49:20 +00:00
Steven Masley
b32ed2d97e
chore: add function to refetch latencies to ProxyContext ( #7769 )
...
* Allow refetching of proxy latencies
* Pass refetch funtion up the context stack
* Add to menu bar
2023-06-01 13:37:20 +00:00
Steven Masley
cf8d2bc096
feat: use tz_offset when doing deployment dau query ( #7736 )
...
* Have FE query correct tz_offset data
2023-06-01 09:23:50 -04:00
Ammar Bandukwala
555ea64669
ci: deduplicate language setup ( #7753 )
...
* Deduplicate actions
* Split up go-race and go-pg
2023-06-01 08:20:49 +00:00
Muhammad Atif Ali
80269ba1b9
hotfix(.github): fix dependency in contrib.yaml ( #7754 )
...
`title` job was removed in #7743 , so this job was falling.
2023-06-01 10:29:07 +03:00
Spike Curtis
a46e8f2e49
fix: concurrent writes to executor stats ( #7731 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-01 05:23:51 +00:00
Ammar Bandukwala
9810339fd6
ci: use Buildjet and faster Windows runners ( #7751 )
2023-06-01 00:06:37 -05:00
Ben Potter
36f4e0dc35
hotfix(docs): minor updates to workspace proxies ( #7735 )
2023-05-31 21:32:26 +00:00
Colin Adler
f1d27ba42d
hotfix(healthcheck): properly calculate healthy status ( #7746 )
2023-05-31 20:17:33 +00:00
Ammar Bandukwala
828f33ac7b
hotfix(.github): remove legacy title validator ( #7743 )
...
* hotfix(.github): remove legacy title validator
`cdr-bot` centralizes the behavior and can enforce stricter
standards.
* Increase jest timeout
2023-05-31 19:39:41 +00:00
Muhammad Atif Ali
b80756e4f5
feat(site): Add support for insiders channel to "VS Code Desktop" button ( #7730 )
2023-05-31 16:28:27 +00:00
Cian Johnston
784696dfa5
feat: add prometheus metrics to database.Store ( #7713 )
...
* Adds dbmetrics package and wraps database.Store with a Prometheus HistogramVec of timings.
* Adds Wrappers method to database.Store to avoid double-wrapping interfaces
* Fixes test flake in TestLicensesListFake
2023-05-31 14:55:57 +01:00
Bruno Quaresma
00a30775bc
refactor(site): Improve and fix loading buttons ( #7719 )
2023-05-31 10:00:30 -03:00
Bruno Quaresma
b34894977d
fix(site): Confirm delete on press Enter in delete dialog ( #7720 )
2023-05-31 09:59:36 -03:00
Bruno Quaresma
be2067bb0d
fix(site): Make current user first in the list and fix search ( #7722 )
2023-05-31 09:59:25 -03:00
Muhammad Atif Ali
ce6b698048
hotfix(ci): fix a syntax issue in contrib.yaml ( #7727 )
2023-05-31 07:21:25 +00:00
Spike Curtis
7c3dbbbe93
fix: stream provisioner logs ( #7712 )
...
* stream provisioner logs
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports
Signed-off-by: Spike Curtis <spike@coder.com >
* Better logging, naming, arg order
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-31 06:15:58 +00:00
Spike Curtis
583b777251
fix: wildcard dns docs ( #7709 )
...
* Fix wildcard dns docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Clarify
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-31 10:10:30 +04:00
dependabot[bot]
ec3ef167d2
chore: bump eslint-config-prettier from 8.5.0 to 8.8.0 in /site ( #7556 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.5.0 to 8.8.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.8.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 23:30:13 -05:00
dependabot[bot]
ae82a5985d
chore: bump xstate from 4.33.5 to 4.37.2 in /site ( #7560 )
...
Bumps [xstate](https://github.com/statelyai/xstate ) from 4.33.5 to 4.37.2.
- [Release notes](https://github.com/statelyai/xstate/releases )
- [Commits](https://github.com/statelyai/xstate/compare/xstate@4.33.5...xstate@4.37.2 )
---
updated-dependencies:
- dependency-name: xstate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 23:29:23 -05:00
Ammar Bandukwala
43eee35ae8
chore(cli): correctly report telemetry even when transport replaced ( #7670 )
...
By introducing the "ExtraHeaders" map, we can apply headers even when
handlers replace the transport, as in the case of our scaletests.
Also, only send telemetry header when it's small.
2023-05-31 00:11:56 +00:00
Ammar Bandukwala
867996aa18
chore(.github): specify PR types
2023-05-30 23:57:45 +00:00
Colin Adler
43e0968dac
feat: format healthcheck responses ( #7723 )
2023-05-30 16:59:39 -05:00
Steven Masley
73d795f426
chore: Revert to only using 1 timezone support for template DAUs ( #7721 )
...
* chore: Revert to only using 1 timezone support for template DAUs
Keeping the logic to support more in case we optimize later
2023-05-30 15:37:07 -04:00
Colin Adler
022372dd73
feat(healthcheck): add websocket report ( #7689 )
2023-05-30 14:22:32 -05:00
Bruno Quaresma
77b0ca0b53
refactor(site): Improve workspaces filtering ( #7681 )
2023-05-30 14:52:13 -03:00
Steven Masley
c795a0e500
feat: Fix Deployment DAUs to work with local timezones ( #7647 )
...
* chore: Add timezone param to DAU SQL query
* Merge DAUs response
* Pass time offsets to metricscache
2023-05-30 13:18:27 -04:00
dependabot[bot]
68658b5197
chore: bump github.com/valyala/fasthttp from 1.44.0 to 1.47.0 ( #7703 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-05-30 11:48:56 -05:00
dependabot[bot]
2aa48d4143
chore: bump crate-ci/typos from 1.14.10 to 1.14.11 ( #7701 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 11:38:33 -05:00
dependabot[bot]
115f80737a
chore: bump github.com/coder/retry ( #7705 )
...
Bumps [github.com/coder/retry](https://github.com/coder/retry ) from 1.3.1-0.20230210155434-e90a2e1e091d to 1.4.0.
- [Commits](https://github.com/coder/retry/commits/v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/coder/retry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 11:09:12 -05:00
Bruno Quaresma
c2d2751897
feat(site): Add proxy menu into navbar ( #7715 )
2023-05-30 11:41:23 -03:00
Ammar Bandukwala
e8eb28adb4
chore(.github): remove stalebot messages
2023-05-30 14:10:39 +00:00
Marcin Tojek
702c9081e0
fix: do not skip parameter validation if min or max = 0 ( #7707 )
2023-05-30 14:57:06 +02:00
Marcin Tojek
4eb0baa849
chore: update protoc-gen-go ( #7708 )
2023-05-30 10:24:34 +02:00
Rodrigo Maia
61dc875454
feat(cli): show license_expires as rfc3339 date instead of unix time ( #7687 )
...
* feat(licenses): show license_expires time as rfc3339 date
* fix review comments
2023-05-26 14:36:26 +00:00
Mathias Fredriksson
66f5d39ff5
test(agent): Improve use of inv.Context() ( #7696 )
...
This will ensure tests timeout instead of hang indefinitely since
`inv.Context()` is assigned a timeout by default.
2023-05-26 13:48:39 +00:00
Mathias Fredriksson
05efd64320
test: Skip tests that send os.Interrupt to test pid ( #7695 )
...
This can cause test flakes due to clitest commands running in memory and
listening to interrupt signals.
2023-05-26 16:17:09 +03:00
Cian Johnston
795050bba3
chore: add prometheus monitoring of workspace traffic generation ( #7583 )
...
- Exposes reads/writes from scaletest traffic generation (default: 0.0.0.0:21112)
- Adds self-hosted prometheus with remote_write to loadtest terraform
- Adds convenience script to run a traffic generation test
2023-05-26 13:53:35 +01:00
Mathias Fredriksson
0fd2ea4044
test(coderd/rbac): Increase TestFilter timeout ( #7694 )
2023-05-26 15:44:05 +03:00
Muhammad Atif Ali
e5add7292f
chore: Only run deploy_template after deploy_image has been completed ( #7693 )
2023-05-26 12:20:14 +00:00
Bruno Quaresma
79ab72fbb1
fix(site): Fix retry on debug mode alert ( #7686 )
2023-05-25 17:22:57 -03:00
Kira Pilot
4d4ffa2d99
feat: add expiration indicators to license card ( #7684 )
...
* sorting licenses; add expiration badge
* updated story
2023-05-25 11:37:51 -07:00
Kira Pilot
0c665235ff
feat: add impending deletion banner to workspace page ( #7634 )
...
* add banner to workspace page
* fix prettier and lint
* color-code banner
* using warning instead
* improve prop name for clarity
2023-05-25 10:55:41 -07:00
Marcin Tojek
5d2b2c577b
fix: add mockgen to nix env ( #7682 )
2023-05-25 12:44:32 -04:00
Rodrigo Maia
d9299caa12
feat: order workspaces by running first ( #7656 )
...
* wip
* use updated sql
* wip
* Implement sorting in databasefake.go
* More fixes
* sql fmt
---------
Co-authored-by: Marcin Tojek <marcin@coder.com >
2023-05-25 13:35:47 -03:00
Spike Curtis
96a2e63809
chore: upgrade to golangci-lint 1.52.2 ( #7674 )
...
* Disable ioutilDeprecated lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Upgrade to golangci-lint 1.52.2
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 14:56:31 +04:00
Marcin Tojek
14efdadd3c
feat: Collect agent SSH metrics ( #7584 )
2023-05-25 12:52:36 +02:00
Spike Curtis
05da1e94a2
Fix pubsub goroutines in tests ( #7677 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 14:46:32 +04:00
Spike Curtis
67cc196c92
feat: pubsub reports dropped messages ( #7660 )
...
* Implementation; need linux tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Pubsub with errors tests and fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* Deal with test goroutines
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 06:22:30 +00:00
Spike Curtis
6a1e7ee1d0
feat: add file logger to coder ssh ( #7646 )
...
* coder ssh can log to file
Signed-off-by: Spike Curtis <spike@coder.com >
* Update golden file
Signed-off-by: Spike Curtis <spike@coder.com >
* generate CLI docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports, typo
Signed-off-by: Spike Curtis <spike@coder.com >
* log more things!
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 05:07:39 +00:00
Colin Adler
a903d7c249
fix(ci): use env for Go version in release workflow ( #7673 )
2023-05-24 22:52:18 +00:00
Colin Adler
dd69cc9148
fix: use different terraform cache dir ( #7672 )
2023-05-24 22:35:00 +00:00
Colin Adler
5eb41e8794
feat(cli): allow specifying the listen address in coder port-forward ( #7635 )
2023-05-24 15:38:40 -04:00
Ammar Bandukwala
d413b261d8
chore: deduplicate CLI telemetry reports ( #7669 )
2023-05-24 12:45:41 -05:00
Ammar Bandukwala
ec117e841a
chore: add CLI invokation telemetry ( #7589 )
2023-05-24 11:08:03 -05:00
sharkymark
b6604e8845
chore(docs): AWS EKS load balancer setup steps ( #7665 )
2023-05-24 10:19:45 -05:00
goodspark
71c52ea93c
feat: Add logging options for coder agent ( #7474 )
...
Similar to logging options in the coderd server, but for the agent
running in workspaces. Meant to make hollistic log collection and
querying simpler.
2023-05-24 14:32:40 +00:00
Mathias Fredriksson
b6c8e5be48
fix(cli/ssh): Fetch up-to-date build info to avoid ws has no agents ( #7650 )
...
Fixes #5836
2023-05-24 12:37:22 +03:00
Cian Johnston
f47ecc29f0
chore(dogfood): Update sqlc version in dogfood image to match CI ( #7661 )
2023-05-24 09:30:56 +00:00
Colin Adler
0c074742a5
fix(ci): manually select Go version ( #7654 )
2023-05-24 07:47:44 +00:00
Colin Adler
f72d8e95a4
fix(ci): add mockgen to trivy scan ( #7655 )
2023-05-23 17:09:16 -04:00
Colin Adler
02cc325047
chore(mod): symbolically bump tailscale ( #7653 )
2023-05-23 15:20:22 -04:00
dependabot[bot]
8f13c145c4
chore: bump github.com/moby/moby from 20.10.23+incompatible to 24.0.1+incompatible ( #7622 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 19:04:00 +00:00
Colin Adler
c8ea76c7fa
fix(cli): correctly use cache dir for provisionerd work dir ( #7651 )
2023-05-23 13:37:27 -04:00
Bruno Quaresma
ba02dc8f3a
chore(site): Force exact deps ( #7649 )
2023-05-23 07:43:46 -08:00
Steven Masley
d203f5259d
fix: Port forward should ignore coder ports ( #7645 )
...
Ports opened by coder agent should be ignored in the listening ports
map.
2023-05-23 17:14:05 +02:00
Spike Curtis
cd416c86dd
refactor: workspace builds ( #7541 )
...
* refactor workspace builds
Signed-off-by: Spike Curtis <spike@coder.com >
* make gen
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove ParameterResolver from typescript
Signed-off-by: Spike Curtis <spike@coder.com >
* rename conversion -> database/db2sdk
Signed-off-by: Spike Curtis <spike@coder.com >
* tests for db2sdk
Signed-off-by: Spike Curtis <spike@coder.com >
* Tests for ParameterResolver
Signed-off-by: Spike Curtis <spike@coder.com >
* wsbuilder tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Move parameter validation tests to richparameters_test.go
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix CI generation; rename mock->dbmock
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix test imports
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-23 12:06:33 +04:00
Spike Curtis
622456faf8
docs: Add autoscale recommendations docs ( #7617 )
...
* Add autoscale recommendations
Signed-off-by: Spike Curtis <spike@coder.com >
* review updates
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-23 09:22:29 +04:00
Rodrigo Maia
4a320617b4
feat(workspaces): change sorting order of the workspace list ( #7594 )
...
* feat(workspaces): implement sorting order on workspace list
* split slice into its own function and test it
* use require instead of assert
* Update coderd/workspaces_internal_test.go
Co-authored-by: Cian Johnston <cian@coder.com >
* refactor tests into table tests
* fix test
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-05-22 20:51:29 +00:00
Steven Masley
5d711fc95a
chore: CORs option for yarn dev server ( #7630 )
...
* chore: Yarn dev servers require CORs headers for external proxies
Adds a flag to set CORs headers to `*` for yarn dev servers
2023-05-22 20:02:39 +02:00
dependabot[bot]
1f4f0efed6
chore: bump github.com/prometheus/client_golang from 1.14.0 to 1.15.1 ( #7620 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:18:44 -04:00
dependabot[bot]
808e83f87d
chore: bump golang.org/x/tools from 0.6.0 to 0.9.1 ( #7619 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:16:27 -04:00
dependabot[bot]
7d1ca7c12f
chore: bump crate-ci/typos from 1.14.9 to 1.14.10 ( #7618 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:13:03 -04:00
dependabot[bot]
9c923d71ca
chore: bump github.com/hashicorp/terraform-json from 0.14.0 to 0.16.0 ( #7621 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:10:11 -04:00
Steven Masley
b8c07ff014
feat: Auto select workspace proxy based on lowest latency ( #7515 )
...
* feat: Proxy auto select and user selection state
* chore: Auto select based on latency
* Add extra test for unknown latencies
* Mock latencies for unit tests
2023-05-22 16:56:41 +02:00
Marcin Tojek
f9a97c25dc
fix: disable TCP SACK ( #7624 )
2023-05-22 13:37:05 +00:00
dependabot[bot]
b38fb90e06
chore: bump @emotion/styled from 11.10.8 to 11.11.0 in /site ( #7561 )
...
Bumps [@emotion/styled](https://github.com/emotion-js/emotion ) from 11.10.8 to 11.11.0.
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/styled@11.10.8...@emotion/styled@11.11.0 )
---
updated-dependencies:
- dependency-name: "@emotion/styled"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 09:23:33 -03:00
dependabot[bot]
1bd3ed9ecd
chore: bump chromatic from 6.15.0 to 6.17.4 in /site ( #7554 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.15.0 to 6.17.4.
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.15.0...v6.17.4 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-21 13:12:03 -05:00
Muhammad Atif Ali
51130540af
docs: Add steps to migrate from the built-in database to an external database ( #7614 )
2023-05-21 10:31:06 -05:00
Colin Adler
ef2411ef17
fix(provisionersdk): allow .terraform.lock.hcl files to be archived ( #7604 )
2023-05-19 13:22:59 -04:00
Cian Johnston
a29c4c543d
chore(dogfood): fix dogfood image ( #7603 )
...
* chore(dogfood): update keys, add script to do so
* chore(dogfood): fix urls in Dockerfile
* fmt
2023-05-19 15:09:34 +01:00
Muhammad Atif Ali
e375169ac0
chore: remove CPU usage calculation for hosts on cgroup v1 ( #7602 )
2023-05-19 14:08:20 +00:00
Muhammad Atif Ali
ef635f12ea
chore(dogfood): update the dogfood template to add workspace CPU and RAM usage from cgroup ( #7529 )
...
Co-authored-by: Cian Johnston <cian@coder.com >
2023-05-19 15:15:48 +03:00
Colin Adler
dd5b0b2721
fix(scim): ensure scim users aren't created with their own org ( #7595 )
2023-05-18 20:54:45 -04:00
Kira Pilot
0b15b1bcd1
feat: add impending deletion indicators to the workspace page ( #7588 )
...
* created WorkspaceDeletion directory
* remove commented code
* attempting to fix workspace stories
* fix lint
* fix the rest of the stories
* fix right stories
* PR comments
* fix lint
2023-05-18 11:08:55 -07:00
Bruno Quaresma
8e31ed4072
refactor(site): Refactor alerts ( #7587 )
2023-05-18 13:17:16 -03:00
Muhammad Atif Ali
63a9e34381
fix: correct free disk space reported by agent metadata in fly.io example ( #7592 )
2023-05-18 11:42:04 +03:00
Jon Ayers
ec5ef51b49
feat: add session token injection to provisioner ( #7461 )
2023-05-17 23:29:22 -05:00
Jon Ayers
00a2413c03
feat: add telemetry support for workspace agent subsystem ( #7579 )
2023-05-17 22:49:25 -05:00
dependabot[bot]
52bb84a26f
chore: bump google.golang.org/api from 0.108.0 to 0.122.0 ( #7558 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 14:06:17 -04:00
Bruno Quaresma
12f87cb98d
refactor(site): Show update notification as snackbar ( #7546 )
2023-05-17 13:56:26 -03:00
Bruno Quaresma
a7f14f89e3
fix(site): Fix loading buttons ( #7549 )
2023-05-17 13:56:15 -03:00
dependabot[bot]
119098a1eb
chore: bump github.com/coreos/go-oidc/v3 from 3.4.0 to 3.6.0 ( #7553 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 16:29:42 +00:00
Kyle Carberry
6e7175b589
chore: fix lengthy tests in psql ( #7545 )
...
* chore: fix lengthy tests in psql
This was adding at a minimum 3mins to our psql tests!
* fix: automatically cancel tests on cleanup
2023-05-17 11:26:53 -05:00
dependabot[bot]
d1b1122690
chore: bump github.com/gohugoio/hugo from 0.110.0 to 0.111.3 ( #7562 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:14:38 -04:00
dependabot[bot]
bfa136276c
chore: bump crate-ci/typos from 1.14.8 to 1.14.9 ( #7552 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:11:56 -04:00
dependabot[bot]
ce91009d6b
chore: bump beatlabs/delete-old-branches-action from 0.0.9 to 0.0.10 ( #7551 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:11:43 -04:00
Ben Potter
e951778147
fix: indentation in rootless podman docs ( #7577 )
...
* fix: indentation in rootless podman docs
* fmt
2023-05-17 01:26:13 +00:00
Colin Adler
75b0643623
chore: enable dependabot for coder base image ( #7550 )
2023-05-16 19:09:45 +00:00
Colin Adler
e3b324a1a1
chore(dogfood): update dependency versions ( #7548 )
2023-05-16 18:26:06 +00:00
Steve Coder
04f68e8f15
doc:fixed enterprise feature 404s. ( #7547 )
2023-05-16 12:32:54 -05:00
Pfau, Sascha
ad9a29dfa6
feat(site): added URL param name to allow setting workspace name ( #7528 )
...
* feat: added URL param name to allow setting workspace name
* fix: format
---------
Co-authored-by: SaschaPfau <Sascha.Pfau@ilabnordlb.onmicrosoft.com >
2023-05-16 13:26:13 -03:00
Kira Pilot
dca77ba487
feat: add workspaces banner for impending deletion ( #7538 )
...
* feat: add workspaces banner for impending deletion
* added storybook
* remove storybook - cannot add because of hook used in badge component
2023-05-16 07:01:22 -07:00
Marcin Tojek
97b4743a47
Revert "fix: set default sshMaxTimeout to 60s ( #7532 )" ( #7544 )
...
This reverts commit 049e557675 .
2023-05-16 15:28:15 +02:00
Kyle Carberry
c6055c64be
chore: improve input hover color ( #7534 )
2023-05-16 09:00:20 -03:00
dependabot[bot]
a1853f2fa2
chore: bump date-fns from 2.29.3 to 2.30.0 in /site ( #7335 )
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.29.3 to 2.30.0.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/v2.30.0/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.3...v2.30.0 )
---
updated-dependencies:
- dependency-name: date-fns
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 16:05:52 -03:00
dependabot[bot]
4997b86548
chore: bump eslint-plugin-compat from 4.0.2 to 4.1.4 in /site ( #7339 )
...
Bumps [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat ) from 4.0.2 to 4.1.4.
- [Release notes](https://github.com/amilajack/eslint-plugin-compat/releases )
- [Changelog](https://github.com/amilajack/eslint-plugin-compat/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amilajack/eslint-plugin-compat/compare/v4.0.2...v4.1.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-compat
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 15:45:54 -03:00
Ben Potter
78f862eedc
chore: rename "external workspace proxies" and "external provisioners" ( #7454 )
2023-05-15 21:38:49 +03:00
Bruno Quaresma
11b7732720
feat(site): Show confirmation dialog on restart ( #7531 )
2023-05-15 14:43:51 -03:00
Bruno Quaresma
d9fc94f9a9
fix(site): Fix focus state on buttons ( #7526 )
2023-05-15 14:43:16 -03:00
Spike Curtis
0b156420de
Make coder dotfiles symlinking idempotent ( #7525 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-15 21:00:50 +04:00
Kyle Carberry
424f954b91
fix: use password style for session token auth ( #7533 )
2023-05-15 11:27:39 -05:00
Ben Potter
2aea5b76aa
docs: parameters are not alpha ( #7487 )
2023-05-15 16:14:59 +00:00
Bruno Quaresma
6f62204d38
feat(site): Add template embed page ( #7501 )
2023-05-15 13:07:39 -03:00
Marcin Tojek
049e557675
fix: set default sshMaxTimeout to 60s ( #7532 )
...
* fix: set default sshMaxTimeout to 60s
* fix
2023-05-15 10:40:19 -05:00
Kira Pilot
224d25d4e1
feat: add 'impending deletion' badges to workspaces page ( #7530 )
...
* update deleting logic
* added status badge on workspaces page
* licensing and feature flagging
* preset filter for failed workspaces
* remove comment
* PR feedback
* Revert "PR feedback"
This reverts commit 2dfbb50acd .
* PR feedback 2
2023-05-15 07:59:17 -07:00
Cian Johnston
854e974bb4
chore: add terraform for spinning up load test cluster ( #7504 )
...
Adds terraform configs for spinning up loadtest environments
2023-05-15 15:56:47 +01:00
Bruno Quaresma
dab1d1fe20
fix(site): Fix terminal elements size ( #7527 )
2023-05-15 10:48:41 -03:00
Marcin Tojek
87784493e8
fix: use mtojek/gvisor to tweak RTO ( #7500 )
...
* fix: use mtojek/gvisor to tweak RTO
* fix
2023-05-15 09:12:45 +02:00
Kyle Carberry
a08e8a16ab
chore: switch make test to use the standard go format ( #7519 )
...
I find it easier to read.
2023-05-14 21:20:19 -05:00
Kyle Carberry
70d2203b9e
chore: reduce the log output of skipped tests ( #7520 )
...
With the introduction of the workspace proxy tests there was a lot
of output if a test was eventually skipped.
2023-05-14 19:37:00 -05:00
Ammar Bandukwala
9bb0253290
chore: update various dependencies ( #7503 )
...
This will help us pass the security scanners.
2023-05-14 20:37:50 +00:00
Kyle Carberry
26490aecca
chore: improve postgres test time by removing cleanup ( #7522 )
...
We don't need to delete databases on cleanup... and we don't need to
always run without a cache either!
2023-05-14 15:32:44 -05:00
Kyle Carberry
778cb7494a
chore: adjust the style and wording of the license page ( #7396 )
...
- Reduce the size of the card to improve the use of space
- Adjust the language of the add page to remove word redundancy
- Change from using background colors to text colors
2023-05-14 15:31:54 -05:00
Kyle Carberry
8e1da5e628
chore: run yarn-deduplicate to speed up yarn install ( #7523 )
2023-05-14 15:28:07 -05:00
Ammar Bandukwala
f05f12231d
feat: update slog to use logfmt ( #7477 )
2023-05-14 20:23:13 +00:00
Ammar Bandukwala
0f4717e471
hotfix(.github): only push dogfood template when /dogfood changes
2023-05-14 20:13:37 +00:00
Kyle Carberry
50f2d0c7e9
fix: add a mutex around reading logs from scaletests ( #7521 )
2023-05-14 12:16:00 -05:00
Ammar Bandukwala
fcde77b35f
chore(.github): only deploy dogfood on main ( #7518 )
2023-05-14 11:32:22 -05:00
Ben Potter
6bb4a4c3c5
chore: add latest dogfood template ( #7321 )
...
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-05-13 15:42:10 +03:00
Muhammad Atif Ali
8d4a8fde66
docs: add instructions for connecting via RDP ( #7510 )
2023-05-12 11:41:10 -05:00
Marcin Tojek
cd38cb8290
feat: Add template version warnings ( #7483 )
2023-05-12 09:21:49 +00:00
Steven Masley
8f768f8276
feat: Workspace Proxy picker show latency to each proxy ( #7486 )
...
* chore: Add cors to workspace proxies to allow for latency checks
* Add latency check to wsproxy
Use performance API timings.
- Fix cors and timing headers
- Accept custom headers
2023-05-11 15:42:30 -05:00
Ammar Bandukwala
640fcf450c
chore: improve terraform install performance ( #7478 )
2023-05-11 19:30:51 +00:00
Eric Paulsen
0e6361383c
fix(helm): change proxy to wsproxy ( #7499 )
2023-05-11 17:55:04 +00:00
Kira Pilot
ae3473dc1b
feat: add deleted_at field to workspace model ( #7475 )
...
* added impending_deletion workspace field
* gen docs
* update golden files
* added test
* PR comments
2023-05-11 08:47:53 -07:00
Eric Paulsen
fe0e94ece9
docs: add docs for disabling email/pass auth ( #7494 )
2023-05-11 10:09:14 -05:00
Ben Potter
892bddfb7b
fix: scroll to reveal template create errors ( #7464 )
...
Co-authored-by: Kira Pilot <kira@coder.com >
2023-05-11 14:47:51 +03:00
Steven Masley
b7f4f3a771
chore: Implement workspace proxy going away (graceful shutdown) ( #7459 )
...
* chore: Implement workspace proxy going away
When a workspace proxy shuts down, the health status of that
proxy should immediately be updated. This is purely a courtesy
and technically not required
2023-05-10 19:23:16 -05:00
Kira Pilot
a42a36a474
feat: add workspace actions cleanup configuration flags to CLI template create and edit ( #7453 )
...
* added cleanup flags on template create
* added cleanup flags on template edit
* fixed tests
* added to tests
2023-05-10 12:57:11 -07:00
Bruno Quaresma
816c37dd0d
chore(site): Upgrade to MUI v5 ( #7437 )
2023-05-10 19:42:40 +00:00
Steven Masley
fb86ac2608
chore: If selecting an unhealthy proxy, default to primary ( #7472 )
...
* chore: If selecting an unhealthy proxy, default to primary
2023-05-10 13:10:06 -05:00
Steven Masley
3f9af6f5e7
chore: Allow cors requests to workspace proxies for latency checks ( #7484 )
...
* CSP addition for web requests
* chore: Add cors to workspace proxies to allow for latency checks
2023-05-10 17:19:55 +00:00
Muhammad Atif Ali
d17ea84b4a
docs: change --ttl to --default-ttl ( #7479 )
2023-05-10 07:03:50 -05:00
Spike Curtis
d35a458767
feat: Windows on Azure example template ( #7469 )
...
* WIP Azure template for windows machine
Signed-off-by: Spike Curtis <spike@coder.com >
* WIP windows uses data disk
Signed-off-by: Spike Curtis <spike@coder.com >
* Data drive working
Signed-off-by: Spike Curtis <spike@coder.com >
* Add az cli commands to start & stop
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove commented line
Signed-off-by: Spike Curtis <spike@coder.com >
* Prettierify
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-10 05:56:19 +00:00
Steven Masley
b5ad628460
chore: Allow editing proxy fields via api. ( #7435 )
...
* chore: Add ability to update workspace proxy fields
2023-05-09 13:46:50 -05:00
Steven Masley
fc1bc374cb
chore: Drop application host call, default to regions for info ( #7457 )
...
* chore: Drop application host call, default to regions for info
2023-05-09 09:28:25 -05:00
Ben Potter
2d62cbc83a
chore: minor change to workspace actions copy ( #7458 )
2023-05-09 08:31:07 -05:00
Eric Paulsen
503e94a5c2
docs: fix proxy cmd ref ( #7460 )
2023-05-08 19:22:35 -04:00