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
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