Colin Adler
9d2e788fea
feat: allow verbose logging in coder server ( #1280 )
2022-05-03 16:13:30 -05:00
Colin Adler
0f9e30e54f
fix: use correct enable bool for pprof ( #1279 )
2022-05-03 19:54:10 +00:00
Colin Adler
55ad97bbd7
feat: add pprof and prometheus metrics to coder server ( #1266 )
2022-05-03 12:48:02 +00:00
Kyle Carberry
a79aa6418a
fix: Use cliui.WorkspaceBuild to prevent cancel of builds jobs ( #1255 )
...
Build jobs cannot gracefully terminate because Terraform generally
cannot gracefully terminate.
2022-05-02 10:20:47 -05:00
Kyle Carberry
9b37a0de31
fix: Disable ErrorLog in http.Server ( #1244 )
...
Vault does similarly: https://github.com/hashicorp/vault/blob/e2490059d0711635e529a4efcbaa1b26998d6e1c/command/server.go#L2714
These messages have primarily been noise.
2022-05-01 20:31:12 -05:00
Mathias Fredriksson
afc43fe95f
feat: Generate random admin user password in dev mode ( #1207 )
...
* feat: Generate random admin user password in dev mode
* Add dev mode test with email/pass from env
* Set email/pass for playwright e2e test via cli flags
2022-04-28 19:13:44 +03:00
Mathias Fredriksson
8661f92a10
feat: Output username and password for code server --dev ( #1193 )
...
Fixes #825
2022-04-27 17:59:37 +03:00
Kyle Carberry
f9ce54a51e
fix: Increase default provisioner daemons to 3 ( #1180 )
...
It's odd to only build one workspace at a time as a default.
2022-04-26 07:19:17 -05:00
Kyle Carberry
877854a2f3
fix: Display proper access URL on server start ( #1172 )
...
Fixes #1170 .
2022-04-25 23:30:22 +00:00
Kyle Carberry
88669fd578
feat: Move workspaces under organizations ( #1109 )
...
This removes split ownership for workspaces. They are now
a resource of organizations and have a designated owner,
which is a user.
This enables simple administration for commands like:
- `coder stop ben/dev`
- `coder build logs colin/arch`
or if we decide to allow administrators to access workspaces,
they could even SSH using this syntax: `coder ssh colin/dev`.
2022-04-25 16:11:03 -05:00
Kyle Carberry
4417dd5951
feat: Add STUN servers to enable P2P ( #1126 )
...
This exposes a `--stun-server` option for listing
STUN servers. By default it uses the Google STUN
server, but this is not required.
2022-04-25 04:52:07 +00:00
Kyle Carberry
7496c3da81
feat: Add GitHub OAuth ( #1050 )
...
* Initial oauth
* Add Github authentication
* Add AuthMethods endpoint
* Add frontend
* Rename basic authentication to password
* Add flags for configuring GitHub auth
* Remove name from API keys
* Fix authmethods in test
* Add stories and display auth methods error
2022-04-23 22:58:57 +00:00
Kyle Carberry
3976994781
chore: Rename "start" to "server" ( #1110 )
...
Workspace commands will be aliased at the top-level, so
"start" would easily be confused with starting a workspace.
Server seems like a more appropriate name too.
2022-04-23 12:19:20 -05:00