Colin Adler
8a9f59a4bb
fix(cli): avoid panic when external auth name isn't provided ( #12177 )
...
Fixes https://github.com/coder/coder/issues/10216
2024-02-15 15:17:16 -06:00
Dean Sheather
e1e352d8c1
feat: add template activity_bump property ( #11734 )
...
Allows template admins to configure the activity bump duration. Defaults to 1h.
2024-02-13 07:00:35 +00:00
Bruno Quaresma
390217b396
feat(site): add create template from scratch ( #12082 )
2024-02-09 14:42:26 +00:00
Cian Johnston
2b307c7c4e
fix(cli/server): do not redirect /healthz ( #12080 )
2024-02-09 13:44:47 +00:00
Mathias Fredriksson
e659957b65
fix(cli/ssh): prevent reads/writes to stdin/stdout in stdio mode ( #12045 )
...
Fixes #11530
2024-02-08 13:09:42 +02:00
Josh Vawdrey
d3ccb07361
feat(cli): support header and header-command in config-ssh ( #10413 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-02-07 10:21:26 +02:00
Marcin Tojek
3f04e98cfa
feat(cli): pull templates in zip format ( #12032 )
2024-02-06 19:17:29 +01:00
Spike Curtis
e09cd2c6bd
feat: add watchdog to pubsub ( #12011 )
...
adds a watchdog to our pubsub and runs it for Coder server.
If the watchdog times out, it triggers a graceful exit in `coder server` to give any provisioner jobs a chance to shut down.
c.f. #11950
2024-02-06 16:58:45 +04:00
Mathias Fredriksson
bddea7bcf9
feat(cli/vscodessh): add support for --wait and scripts that block login ( #10473 )
2024-02-02 13:18:26 +02:00
Marcin Tojek
ad8e0db172
feat: add custom error message on signups disabled page ( #11959 )
2024-02-01 18:01:25 +01:00
Spike Curtis
5a359d50dd
feat: add metrics to PGPubsub ( #11971 )
...
Adds prometheus metrics to PGPubsub for monitoring its health and performance in production.
Related to #11950 --- additional diagnostics to help figure out what's happening
2024-02-01 11:25:03 +04:00
Spike Curtis
a34cada09a
feat: add logging to pgPubsub ( #11953 )
...
Should be helpful for #11950
Adds a logger to pgPubsub and logs various events, most especially connection and disconnection from postgres.
2024-01-31 15:49:16 +04:00
Jon Ayers
0c30dde9b5
feat: add customizable upgrade message on client/server version mismatch ( #11587 )
2024-01-30 17:11:37 -06:00
Bruno Quaresma
dcab6fa5a4
feat(site): display user avatar ( #11893 )
...
* add owner API to workspace and workspace build responses
* display user avatar in workspace top bar
Co-authored-by: Cian Johnston <cian@coder.com >
2024-01-30 17:07:06 +00:00
Mathias Fredriksson
60653bbacb
fix(cli): allow template name length of 32 in template push and create ( #11915 )
2024-01-30 12:47:10 +02:00
Spike Curtis
13e24f21e4
feat: use Agent v2 API for Service Banner ( #11806 )
...
Agent uses the v2 API for the service banner, rather than the v1 HTTP API.
One of several for #10534
2024-01-30 07:44:47 +04:00
Kayla Washburn-Love
f572e18144
fix: fix cliui prompt styling ( #11899 )
2024-01-29 13:56:43 -07:00
Garrett Delfosse
f54278cdfe
fix: respect wait flag on ping ( #11896 )
2024-01-29 11:50:35 -05:00
Colin Adler
bc14e926d8
feat: add option to speedtest to dump a pcap of network traffic ( #11848 )
2024-01-29 09:57:31 -06:00
Cian Johnston
eeef56a655
feat(cli): show workspace favorite status in list output ( #11878 )
2024-01-29 14:14:12 +00:00
Mathias Fredriksson
02124758fb
feat(cli/exp): extend scaletest create-workspaces with --retry option ( #11825 )
...
Part of #11801
2024-01-26 11:29:48 +00:00
Steven Masley
005c014f13
chore: instrument additional github api calls ( #11824 )
...
* chore: instrument additional githubapi calls
This only affects github as a login source, not external auth.
2024-01-25 18:34:46 -06:00
Cian Johnston
70dc282b7d
feat(cli): add favorite/unfavorite commands ( #11793 )
2024-01-24 14:05:39 +00:00
Cian Johnston
f92336c4d5
feat(coderd): allow workspace owners to mark workspaces as favorite ( #11791 )
...
- Adds column `favorite` to workspaces table
- Adds API endpoints to favorite/unfavorite workspaces
- Modifies sorting order to return owners' favorite workspaces first
2024-01-24 13:39:19 +00:00
Marcin Tojek
77a4792ecd
fix(cli): ssh: auto-update workspace ( #11773 )
2024-01-23 18:01:44 +01:00
Mathias Fredriksson
593a1e9f60
feat(cli/exp): add target workspace/users to scaletest commands ( #11701 )
2024-01-19 15:32:46 +00:00
Mathias Fredriksson
200a87e7d4
feat(cli/ssh): allow multiple remote forwards and allow missing local file ( #11648 )
2024-01-19 15:21:10 +02:00
Mathias Fredriksson
73e6bbff7e
feat(cli/exp): add app testing to scaletest workspace-traffic ( #11633 )
2024-01-19 15:20:19 +02:00
Marcin Tojek
89fd29478d
feat: expose support links as env variables ( #11697 )
2024-01-19 11:20:36 +01:00
Steven Masley
b246f08d84
chore: move app URL parsing to its own package ( #11651 )
...
* chore: move app url parsing to it's own package
2024-01-17 10:41:42 -06:00
Marcin Tojek
5eb3e1cdaa
feat: expose owner_name in coder_workspace resource ( #11639 )
2024-01-17 13:20:45 +01:00
Jon Ayers
1196f83ebd
feat: automatically activate dormant workspaces when manually started ( #11655 )
2024-01-16 16:42:04 -06:00
Mathias Fredriksson
385d58caf6
fix(agent/agentssh): allow remote forwarding a socket multiple times ( #11631 )
...
* fix(agent/agentssh): allow remote forwarding a socket multiple times
Fixes #11198
Fixes https://github.com/coder/customers/issues/407
2024-01-16 21:26:13 +02:00
Marcin Tojek
cb77f04104
feat: load variables from tfvars files ( #11549 )
2024-01-12 15:08:23 +01:00
Steven Masley
f5a9f5ca3d
chore: handle errors in wsproxy server for cli using buildinfo ( #11584 )
...
Cli errors are pretty formatted. This handles nested pretty types. Before it found the first error it could understand and return that. Now it will print the full error stack with more information.
To prevent information loss, a "[Trace=...]" was added to capture some extra error context for debugging.
2024-01-11 16:55:34 -06:00
Jon Ayers
aecdafdcf2
fix: fix template edit overriding with flag defaults ( #11564 )
2024-01-11 16:18:46 -06:00
Jon Ayers
9b437032e9
feat: remove workspace_actions experiment ( #11427 )
2024-01-10 16:19:39 -06:00
Steven Masley
3f9da674c6
chore: instrument github oauth2 limits ( #11532 )
...
* chore: instrument github oauth2 limits
Rate limit information for github oauth2 providers instrumented in prometheus
2024-01-10 15:29:33 +00:00
Steven Masley
50b78e3325
chore: instrument external oauth2 requests ( #11519 )
...
* chore: instrument external oauth2 requests
External requests made by oauth2 configs are now instrumented into prometheus metrics.
2024-01-10 09:13:30 -06:00
Garrett Delfosse
aa7fe075a8
fix: correct flag name ( #11525 )
2024-01-10 09:36:26 -05:00
Spike Curtis
dfe8efc186
fix: use background context for inmem provisionerd ( #11545 )
...
This test case fails with an error log, showing "context canceled" when trying to send an acquired job to an in-mem provisionerd.
https://github.com/coder/coder/runs/20331469006
In this case, we don't want to supress this error, since it could mean that we acquired a job, locked it in the database, then failed to send it to a provisioner.
(We also don't want to mark the job as failed because we don't know whether the job made it to the provisionerd or not --- in the failed test you can see that the job is actually processed just fine).
The reason we got context canceled is because the API was shutting down --- we don't want provisionerdserver to abruptly stop processing job stuff as the API shuts down as this will leave jobs in a bad state. This PR fixes up the use of contexts with provisionerdserver and the associated drpc service calls.
2024-01-10 15:29:57 +04:00
Marcin Tojek
e5b9d63901
docs: escape enum pipe ( #11513 )
2024-01-09 13:39:38 +00:00
Garrett Delfosse
427afe13e0
fix: generate new random username to prevent flake ( #11501 )
2024-01-08 19:09:14 +00:00
Garrett Delfosse
b21da38bea
chore: deprecate template create command in favor of template push ( #11390 )
2024-01-05 21:04:14 +00:00
Garrett Delfosse
3d54bc06f6
feat: display current version on coder list ( #11450 )
...
* feat: display current version on coder list
* fix make gen
* update golden
2024-01-05 15:33:08 -05:00
Steven Masley
c6366e5b73
chore: prevent nil derefs in non-critical paths ( #11411 )
...
* chore: prevent nil derefs in non-critical paths
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-01-04 14:51:48 -06:00
Garrett Delfosse
5981abd689
fix: handle unescaped userinfo in postgres url ( #11396 )
...
* fix: handle unescaped userinfo in postgres url
* add tests
* fix tests
2024-01-04 08:46:00 -05:00
Spike Curtis
f9ebe8c719
fix: send end of logs when dbfake completes job ( #11402 )
2024-01-04 15:18:00 +04:00
Spike Curtis
5d76210b0d
fix: change coder start to be a no-op if workspace is started
...
Fixes #11380
2024-01-03 13:24:37 +04:00
Cian Johnston
1ef96022b0
feat(coderd): add provisioner build version and api_version on serve ( #11369 )
...
* assert provisioner daemon version and api_version in unit tests
* add build info in HTTP header, extract codersdk.BuildVersionHeader
* add api_version to codersdk.ProvisionerDaemon
* testutil.MustString -> testutil.MustRandString
2024-01-03 09:01:57 +00:00