Kyle Carberry
d170d27e80
feat: add external property to coder_app ( #5425 )
...
* Add schema
* feat: add `external` property to `coder_app`
This allows exposing applications that open an external URL.
v0.13.3
2022-12-14 15:54:18 -06:00
Kyle Carberry
8bc247d0c9
fix: use proper validate url for gitauth ( #5426 )
...
This was preventing custom validation URLs from being
used to verify git tokens.
2022-12-14 21:02:35 +00:00
Kyle Carberry
84995b7320
fix: preserve workspace resource metadata order ( #5421 )
...
Fixes #4511 .
2022-12-14 19:08:22 +00:00
Kyle Carberry
c0b251ac52
fix: improve error messages when the agent token is invalid ( #5423 )
...
I'm not sure why this issue is common, but it seems to be
based on: https://github.com/coder/coder/issues/4551 .
This improves the error messages to be unique,
and also fixes a small edge-case bug a user ran into.
2022-12-14 12:24:22 -06:00
Mathias Fredriksson
b39ba02bf0
ci: Increase Go mock db test timeout to 5m ( #5413 )
...
Our Windows test-runner often takes close to 3m to complete the test,
this was producing a few false failures due to us adding tests over time
and test times increasing.
2022-12-14 19:37:01 +02:00
Steven Masley
27386d49d0
fix: No org admins until organizations are in the UI ( #5414 )
...
* fix: No org admins until organizations are in the UI
Until organizations have management UI, we should not set any org
admins. This goes around the site wide perms transparently and
is confusing to users.
Default user is no longer an org admin, so the demotion test makes
no sense
2022-12-14 11:05:42 -06:00
Mathias Fredriksson
012a9e759e
fix: Avoid deadlock in AgentReportStats Close during agent Close ( #5415 )
...
Since AgentReportStats takes a stats function which was doing mutex
locking on agent shutdown, it was possible for there to be a deadlock
depending on how the AgentReportsStats Close function is implemented.
This mostly seems to happen on Windows test runners as it's pretty hard
to hit this edge case. The bug currently only exists in the test
implementation of AgentReportStats, however, this was refactored to be
more robust in case of future changes.
2022-12-14 18:45:46 +02:00
Kyle Carberry and Mathias Fredriksson
8e702d89bb
fix: improve the warning mismatch to display the release assets on windows ( #5418 )
...
* fix: improve the warning mismatch to display the release assets on windows
Fixes #4226 .
* Update cli/root.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Update cli/root.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2022-12-14 16:36:28 +00:00
Marcin Tojek
b103685170
chore: Collect gotests.xml files ( #5398 )
...
* chore: Use datadog-ci to collect gotests.xml
* WIP
* Fix: github ref
* fix
* just store gotests.xml
2022-12-14 16:23:31 +01:00
Arthur Normand
ad0dd1be5d
fix: Add client certs to OAuth HTTPClient context ( #5126 )
2022-12-14 16:44:29 +02:00
Mathias Fredriksson
663f7a3f12
ci: Output tail of gotestsum.json if test timed out ( #5411 )
...
This is to eternalize the log in case "re-run failed" is used, which
erases artifacts from previous run.
2022-12-14 15:04:39 +02:00
Mathias Fredriksson
2a4ef38a4f
fix(site): Use correct UUID for web terminal when first opened ( #5404 )
2022-12-14 15:03:47 +02:00
Geoffrey Huntley
90b0adabc1
docs(readme): uppercase H in Self-Hosted ( #5412 )
2022-12-14 13:01:51 +00:00
Geoffrey Huntley
ec2293a4e4
docs(readme): update comparison table ( #5405 )
2022-12-14 10:35:20 +01:00
Mathias Fredriksson
1a018c571b
chore: Add PR Lint workflow ( #5387 )
...
Fixes #5381
2022-12-14 16:34:08 +10:00
Ricky Grassmuck
f7baf45ae3
feat: support partial parameter files ( #5392 )
...
Fixes https://github.com/coder/coder/issues/5390
2022-12-13 19:58:57 -06:00
Joe Previte
5a568d8a9b
refactor: conditionally use dotfiles in dogfood template ( #5332 )
...
* feat: add dotfiles_uri var to dogfood template
* refactor: use dotfiles if dotfiles var exists
This ensures the `coder dotfiles` command only runs if the dotfiles var
in the template is not empty.
* Update dogfood/main.tf
* refactor: assign variable to shell variable
* Update dogfood/main.tf
* fixup!: add default value
2022-12-13 21:15:25 +00:00
sharkymark
8df02f42c0
docs: make it clear the CLI must be downloaded to use templates ( #5373 )
2022-12-13 19:31:09 +00:00
Mathias Fredriksson
4fc4c01cea
fix: Enable reconnectingpty loadtest and fix/improve logging ( #5403 )
...
* fix: Enable reconnectingpty loadtest and fix/improve logging
This commit re-enabled reconnectingpty loadtests after a logging
refactor of `(*agent).handleReconnectingPTY`. The reasons the tests were
flaking was that `logger.Error` was being called and `slogtest` failing
the test.
We could have set the option for `slogtest` to disable failing, but that
could hide real issues. The current approach improves reconnectingpty
logging overall and provides more insight into what's happening. It's
expected that reconnectingpty sessions fail after the agent is closed,
so calling `logger.Error` at that point is not wanted.
Ref: #5322
2022-12-13 21:28:07 +02:00
Garrett Delfosse
560c8ce0f6
fix: allow example files to be reused and not error ( #5402 )
2022-12-13 16:27:37 +00:00
Marcin Tojek
50d1c7191a
fix: double quote in fake_cancel.sh ( #5399 )
2022-12-13 11:03:34 +01:00
Colin Adler
1c42a20865
chore: add debugging to agent stats report ( #5395 )
2022-12-13 01:03:03 -06:00
Geoffrey Huntley
d72d312e1f
docs(readme): update comparison table ( #5394 )
2022-12-13 00:55:23 +00:00
Kira Pilot
a071bfa8aa
fix: Store dismissedBanner key in localStorage ( #5388 )
...
* fix: Store dismissedBanner key in localStorage
* cleanup
* removed comment
* spelling
* fixed eslint
* wote test
2022-12-12 16:17:29 -05:00
Garrett Delfosse
40a5c0476f
feat: add flag for token lifetime ( #5385 )
2022-12-12 15:39:31 -05:00
Mathias Fredriksson
760419a965
chore: Refactor agent tests to avoid t.Run when not needed ( #5376 )
...
It turns out that writing tests that contain subtests should probably be
limited to table-based tests and tests that share a common setup shared
between tests.
Writing tests with a subtest like this:
```
func TestSomething(t *testing.T) {
t.Run("Subtest", func(t *testing.t) {})
}
```
Has the following disadvantages:
- It can lead to multiple tests failing with `(unknown)` status when
only one of the subtests hang (never exit)
- In Go 1.20rc1, using `t.Setenv` is no longer allowed if the parent
test is parallel
2022-12-12 22:20:46 +02:00
Geoffrey Huntley
08a6a18226
docs(comparisons): update comparison table ( #5371 )
2022-12-12 19:14:15 +00:00
Bruno Quaresma
e7fc21e285
chore: Add react-syntax-highlight back ( #5369 )
2022-12-12 15:46:33 -03:00
Kyle Carberry
2b864cee9e
fix: Remove @main tag from pkg.go.dev in docs links ( #5384 )
...
This seems to have broken, but removing the `main` tag makes
it resolve to the latest version.
See: https://github.com/coder/coder/actions/runs/3675316304/jobs/6215503383
2022-12-12 18:06:58 +00:00
Mathias Fredriksson
88bb901283
fix: Close tailnet if agent is closed during creation ( #5375 )
v0.13.2
2022-12-12 11:26:49 +00:00
Mathias Fredriksson
1907f13c5f
fix(site): Use relative date in Timeline test ( #5377 )
2022-12-12 13:15:28 +02:00
Garrett Delfosse and Dean Sheather
ca0374b94f
feat: add examples to api ( #5331 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-09 14:29:50 -05:00
Bruno Quaresma
6cc864c048
chore: Add icons to templates ( #5368 )
2022-12-09 18:47:09 +00:00
Kira Pilot
c6ae151f49
feat: amending audit string to show workspace owner ( #5364 )
...
* resolves #5269
* clean up
* fixed audit link
2022-12-09 12:19:30 -05:00
Joe Previte
66ec98f647
fix: pin code-server to 4.8.3 ( #5363 )
...
* fix: pin code-server to 4.8.3
We're having some terminal issues on macOS clients (i.e. iPad) with 4.9.0 so downgrading to 4.8.3 in the meantime.
* Update dogfood/main.tf
2022-12-09 17:07:27 +00:00
Marcin Tojek
971e36781b
chore: improve logging in provisionerd_test ( #5353 )
2022-12-09 13:11:54 +01:00
Marcin Tojek
cd04330ca6
fix: replace fireEvent with userEvent ( #5361 )
...
* fix: replace fireEvent with userEvent
* fmt
2022-12-09 13:11:36 +01:00
Marcin Tojek
935d2eb582
fix: fmt should check for unstaged files ( #5362 )
2022-12-09 12:00:39 +01:00
Mathias Fredriksson
05130db571
fix: Improve closing of services in agent tests ( #5355 )
2022-12-09 12:22:27 +02:00
Bruno Quaresma
92c5e97f85
fix: Fix CSP style directive for Monaco editor ( #5360 )
2022-12-08 16:53:50 -03:00
Bruno Quaresma
3c9dab34bf
fix: Fix CSP for monaco editor ( #5358 )
2022-12-08 18:32:41 +00:00
Bruno Quaresma
ce76d9d5a3
feat: Add diff and Dockerfile support for template version page ( #5339 )
2022-12-08 10:24:15 -05:00
Ben Potter and Dean Sheather
f68a65697d
fix: winget package releases ( #5352 )
...
* chore: fix winget package releases
* Update .github/workflows/packages.yaml
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-08 09:13:13 -06:00
dependabot[bot]
7eb3ab0498
chore: bump decode-uri-component from 0.2.0 to 0.2.2 in /site ( #5251 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 09:52:30 -05:00
Mathias Fredriksson
687261c827
fix: Close coordinator in wsconncache test ( #5348 )
...
Possibly related to #5302
2022-12-08 11:44:03 +00:00
Marcin Tojek
c063ac24a3
fix: use doWithRetries when making HTTP calls ( #5344 )
2022-12-08 10:24:50 +01:00
Eric Paulsen
59af8349c6
docs: add offical kubernetes provider runtime_class_name ( #5157 )
...
* add: offical kubernetes provider runtime_class_name
* fix: typos
* add: coder data source & vars
2022-12-07 23:30:57 -06:00
Eric Paulsen and Dean Sheather
fd54512858
helm: add certs secret mount ( #4641 )
...
* helm: add certs secret mount
* fix: values ref
* fix: conditional brackets
* rm: comment
* refactor: cert secrets list
* fix: undefined var
* chore: remove deprecated value coder.tls.secretName
* chore: improve helm volumes logic
* feat: add support for multiple CA bundles to helm
* fix: grammar
* resolve: conflict
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-07 17:27:36 -06:00
Kyle Carberry
3d95c9256d
chore: Add DatoCMS token to dogfood template ( #5254 )
...
* chore: Add DatoCMS token to dogfood template
This is used for developing coder.com!
2022-12-07 15:59:32 -06:00
dependabot[bot]
1ac1af7db8
chore: bump emoji-mart from 5.2.1 to 5.3.3 in /site ( #5226 )
...
Bumps [emoji-mart](https://github.com/missive/emoji-mart/tree/HEAD/packages/emoji-mart ) from 5.2.1 to 5.3.3.
- [Release notes](https://github.com/missive/emoji-mart/releases )
- [Commits](https://github.com/missive/emoji-mart/commits/v5.3.3/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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 02:55:38 +10:00