Ammar Bandukwala
4b99e2d07e
feat: add YAML support to server ( #6934 )
2023-04-07 22:58:21 +00:00
Colin Adler
a3c6cb1768
fix: don't query workspace in UpdateWorkspaceAgentConnectionByID ( #7042 )
2023-04-07 15:21:52 -05:00
Muhammad Atif Ali
592b84984f
chore: Update code-server in example templates ( #6806 )
...
Update code-server from `4.8.3` to `4.11.0`
2023-04-07 12:09:46 -05:00
Muhammad Atif Ali
7e530b0652
chore: check for invalid markdown links in docs weekly ( #6795 )
...
* chore(ci): add an automatic check to verify markdown links.
As per #6793 , there are multiple broken links in our docs. This action will check if all markdown links are valid.
cc: @ammario @bpmct
* Revert "chore(ci): add an automatic check to verify markdown links. "
This reverts commit 294767e056 .
* Create cron-weekly.yaml
* add workflow dispatch for testing
* fmt
* Update cron-weekly.yaml
* remove slack notification for now
* Add slack notification
* Update cron-weekly.yaml
* Add logs URL
* fmt
2023-04-07 16:50:08 +00:00
Marcin Tojek
3e250c6609
chore: clidocgen: generate consistent docs ( #7047 )
...
* chore: clidocgen: ensure same generated docs
* fix
2023-04-07 18:32:06 +02:00
Marcin Tojek
0347231bb8
feat: expose agent metrics via Prometheus endpoint ( #7011 )
...
* WIP
* WIP
* WIP
* Agents
* fix
* 1min
* fix
* WIP
* Test
* docs
* fmt
* Add timer to measure the metrics collection
* Use CachedGaugeVec
* Unit tests
* Address PR comments
2023-04-07 17:48:52 +02:00
Ammar Bandukwala
dd85ea8977
feat: tolerate disconnects in agent metadata frontend ( #6939 )
2023-04-06 19:51:52 -05:00
Dean Sheather
5398150c25
chore: move workspace apps tests to new package ( #7025 )
...
* chore: move workspace apps tests to new package
* chore: move reconnecting pty to apptest package
2023-04-06 16:35:27 -05:00
Steven Masley
b2892c3d17
test: Increase test coverage on auditable resources ( #7038 )
...
* test: Increase test coverage on auditable resources
When adding a new audit resource, we also need to add it to the
function switch statements. This is a likely mistake, now a unit
test will check this for you
2023-04-06 16:16:53 -05:00
Ammar Bandukwala
24d8644c0b
chore: de-flake TestWorkspaceAgent_Metadata (round 2) ( #7039 )
...
This time, we keep the timing / "racey" tests, but avoid running
them in the harsher CI conditions.
2023-04-06 21:10:13 +00:00
Kyle Carberry
e1149992d8
feat: support ansi colors in startup script logs ( #7037 )
...
This will help with beautiful output for devcontainers!
2023-04-06 12:39:09 -05:00
Ammar Bandukwala
2637f5501b
chore: de-flake TestWorkspaceAgent_Metadata ( #7036 )
2023-04-06 17:20:16 +00:00
Kyle Carberry
c68ab7d9a8
fix: support X-Forwarded-Host with CODER_REDIRECT_TO_ACCESS_URL ( #7035 )
...
Fixes #7026 .
2023-04-06 12:07:24 -05:00
Mathias Fredriksson
aa660e0631
feat(agentssh): Gracefully close SSH sessions on Close ( #7027 )
...
By tracking and closing sessions manually before closing the underlying
connections, we ensure that the termination is propagated to SSH/SFTP
clients and they're not left waiting for a connection timeout.
Refs: #6177
2023-04-06 19:57:30 +03:00
Colin Adler
f4f40d0ed2
fix: increase workspace name randomess in tests ( #7018 )
2023-04-06 11:53:02 -05:00
Mathias Fredriksson
0224426e5b
refactor(agent): Move SSH server into agentssh package ( #7004 )
...
Refs: #6177
2023-04-06 19:39:22 +03:00
Kyle Carberry
3ff2ae1b1a
fix: output askpass to stderr ( #7034 )
...
This fixes askpass not outputting a prompt.
v0.22.0
2023-04-06 11:32:43 -05:00
Marcin Tojek
5bd02917ec
docs: Update description for mutable parameters ( #7003 )
2023-04-06 18:23:47 +02:00
Mathias Fredriksson
121c2bcde8
test(agent): Fix tests without cmd.Wait() ( #7029 )
2023-04-06 16:45:53 +03:00
Eric Paulsen and Dean Sheather
2da0702009
fix(helm): missing templating for deployment labels ( #6869 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-04-06 17:03:21 +10:00
Colin Adler
a32951c46a
fix: reduce idle workspace queries ( #7022 )
2023-04-06 01:58:54 +00:00
Dean Sheather
63f9ef2480
chore: fix minor int coercion codeql vulnerability ( #7024 )
2023-04-05 21:43:24 +00:00
Dean Sheather
c18ed6197c
chore: fix trivy ci workflow ( #7023 )
2023-04-05 21:36:04 +00:00
Eric Paulsen
0167d76a7c
docs: add helm example for OIDC_GROUP_MAPPING var ( #7007 )
...
* docs: add helm example for OIDC_GROU_MAPPING var
* fix: fmt
2023-04-05 21:05:48 +00:00
Colin Adler
e0f7cf5ec6
chore: fix postGroupByOrganization swagger tag ( #7021 )
2023-04-05 20:17:36 +00:00
Colin Adler
391738cc25
chore: remove documented groups endpoint that doesn't exist ( #7020 )
2023-04-05 14:26:21 -05:00
Ben Potter
865c8b7c09
docs: additional kubernetes clusters ( #7019 )
...
* docs: additional kubernetes clusters
* fmt and change wording
* fmt
2023-04-05 14:03:36 -05:00
Dean Sheather and Steven Masley
eb66cc9f35
chore: move app proxying code to workspaceapps pkg ( #6998 )
...
* chore: move app proxying code to workspaceapps pkg
Moves path-app, subdomain-app and reconnecting PTY proxying to the new
workspaceapps.WorkspaceAppServer struct. This is in preparation for
external workspace proxies.
Updates app logout flow to avoid redirecting to coder-logout.${app_host}
on logout. Instead, all subdomain app tokens owned by the logging-out
user will be deleted every time you logout for simplicity sake.
Tests will remain in their original package, pending being moved to an
apptest package (or similar).
Co-authored-by: Steven Masley <stevenmasley@coder.com >
2023-04-05 13:41:55 -05:00
ElliotG and Colin Adler
0069831e8d
fix: use error log when failing provisioner job ( #6812 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-04-05 13:30:53 -05:00
dependabot[bot]
bf1a0791f7
chore: bump github.com/docker/docker from 20.10.17+incompatible to 20.10.24+incompatible ( #7009 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 18:29:27 +00:00
Colin Adler
72c84c5b0a
fix(loadtest): use cryptorand.String to generate user password ( #7006 )
2023-04-05 12:52:47 -05:00
Colin Adler
407f80a1ef
fix(dbpurge): use dbauthz.AsSystemRestricted ( #7017 )
2023-04-05 17:48:39 +00:00
Steven Masley
a361673ad8
fix: Include 'CODER' env var prefix on group mappings ( #7015 )
...
* fix: Include 'CODER' env var prefix on group mappings
* Unit test to force CODER prefix
2023-04-05 17:47:40 +00:00
Cian Johnston
00d468b964
feat(cli): add --output={text,json} to version cmd ( #7010 )
...
* feat(cliui): add TextFormat
* feat(cli): add --format={text,json} to version cmd
2023-04-05 13:16:05 +01:00
Cian Johnston
9c4ccd76a0
fix(coderd)!: add CODER_OIDC_IGNORE_USERINFO configuration option ( #6922 )
...
* add CODER_OIDC_IGNORE_USERINFO option
* chore: update docs for CODER_OIDC_IGNORE_USERINFO w.r.t ADFS
* fix!: codersdk: fix incorrectly named OIDC_GROUP_MAPPING -> CODER_OIDC_GROUP_MAPPING
2023-04-05 09:07:43 +01:00
sharkymark
929589ddfa
docs: fixed incorrect agent metadata docs ( #7005 )
...
* docs: fixed incorrect agent metadata docs
* docs: prettier; fixed incorrect agent metadata docs
2023-04-04 15:50:27 -05:00
Steven Masley
b4afbe7720
feat: Implement experiment gated CRUD for workspace proxies ( #6928 )
...
* feat: Implement basic moon crud
* chore: Implement enterprise endpoints for moons
2023-04-04 15:07:29 -05:00
Kyle Carberry and Colin Adler
385a4262e2
fix: remove audit-logging flag from the server ( #6991 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-04-04 12:11:10 -05:00
Bruno Quaresma
29e9b9e663
feat(site): Add change version for template admins ( #6988 )
2023-04-04 10:25:49 -03:00
Kyle Carberry
c12bc39821
fix: always show a newly created workspace at the top of the list ( #6984 )
...
Fixes #5795 .
2023-04-04 08:24:04 -05:00
Bruno Quaresma
46f42ea9ac
fix(site): Prompting user for missing variables ( #7002 )
2023-04-04 13:15:35 +00:00
Dean Sheather
e33941b7c2
feat: allow disabling autostart and custom autostop for template ( #6933 )
...
API only, frontend in upcoming PR.
2023-04-04 12:48:35 +00:00
Marcin Tojek
083fc89f93
feat: accept immutable parameters when used first time ( #7000 )
...
* Backend fixes
* CLI: adjust update flow
2023-04-04 14:22:46 +02:00
Josh Vawdrey
e84061e2be
feat(provisioner): bump the maximum terraform version ( #6995 )
2023-04-04 06:19:48 +00:00
Steven Masley
a96376e02e
chore: Add "required" to allow requring url params ( #6994 )
2023-04-03 20:59:59 -05:00
Dean Sheather
3cca30c770
chore: make version.sh work in forks ( #6993 )
2023-04-04 01:13:32 +00:00
Dean Sheather
34593e3944
chore: ticket provider interface ( #6915 )
2023-04-04 00:59:41 +00:00
Colin Adler
e0f7f011d8
fix(healthcheck): ensure STUNOnly nodes aren't marked as unhealthy ( #6990 )
2023-04-03 16:14:48 -05:00
Rodrigo Maia
a1371dbd60
feat(site): move template's readme to its own tab ( #6863 )
...
* feat(site): display template's readme first on template page
* chore: prettier
* move readme to a new docs tab
* test
* prettier
* fix tests
* prettier
2023-04-03 18:18:28 +00:00
Colin Adler
95e578ba10
fix: derp healthcheck test flake ( #6982 )
v0.21.3
2023-04-03 11:36:26 -05:00