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 and McKayla Washburn
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 and Steven Masley
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