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 and EdwardAngert
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 and Danielle Maywood
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 and EdwardAngert
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
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 and EdwardAngert
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 and EdwardAngert
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 and Edward Angert
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