Steven Masley
418a8a77dc
chore: Skip authz on various functions used for api data building ( #6366 )
...
* chore: Skip authz on various functions used for api data building
API already fetches the parent object and does the rbac check. Until
these functions are optimized, skipping authz is better.
It leaves us no worse off than the status quo
2023-02-28 11:04:39 -06:00
Ammar Bandukwala
d30da81f42
ci: make fmt
2023-02-27 21:43:14 +00:00
Ammar Bandukwala
dc6639bf69
ci: automatically assign new PRs
2023-02-27 16:52:00 +00:00
Kyle Carberry
7f226d4f90
feat: add support for coder_git_auth data source ( #6334 )
...
* Add git auth providers schema
* Pipe git auth providers to the schema
* Add git auth providers to the API
* Add gitauth endpoint to query authenticated state
* Add endpoint to query git state
* Use BroadcastChannel to automatically authenticate with Git
* Add error validation for submitting the create workspace form
* Fix panic on template dry-run
* Add tests for the template version Git auth endpoint
* Show error if no gitauth is configured
* Add gitauth to cliui
* Fix unused method receiver
* Fix linting errors
* Fix dbauthz querier test
* Fix make gen
* Add JavaScript test for git auth
* Fix bad error message
* Fix provisionerd test race
See https://github.com/coder/coder/actions/runs/4277960646/jobs/7447232814
* Fix requested changes
* Add comment to CreateWorkspacePageView
2023-02-27 10:18:19 -06:00
Kyle Carberry
3d8b77d6f1
chore: improve clarity of the agent logs ( #6345 )
...
I looked through these logs when debugging and there was a bit of spam!
2023-02-27 09:20:24 -06:00
Marcin Tojek
ec6f78d09e
docs: Describe support links ( #6353 )
...
* docs: Describe support links
* Fix: size
* Address PR comments
2023-02-27 15:33:34 +01:00
Marcin Tojek
2e53fb55da
feat: Enable custom support links ( #6313 )
...
* backend: support links
* frontend: Support links
* fmt
* test: CODER_SUPPORT_LINKS_0_NAME
* Go tests
* Use UpdateAppearanceConfig
* ui: UpdateAppearanceConfig
* fix: fmt
* Fix: site
* Fix: site tests
* fix: fmt
* fix
* test: check default support links
2023-02-27 09:25:04 +01:00
Eric Paulsen
16364db483
add: resource reqs/limits on K8s template ( #6308 )
2023-02-26 19:23:45 -05:00
Kyle Carberry
7c46f76c82
chore: fetch templates by id without lock in dbfake ( #6351 )
...
See https://github.com/coder/coder/actions/runs/4276632002/jobs/7444857508
2023-02-26 15:29:43 -06:00
Kyle Carberry
acbe968f41
chore: increase activitybump deadline duration to fix flake ( #6350 )
...
This is a bad fix because the test is still dependant on time, but it's
still an improvement.
2023-02-26 13:42:01 -06:00
Kyle Carberry
1fb7365cb1
fix: use -U when installing with rpm ( #6349 )
...
Fixes #6275 .
2023-02-26 18:11:23 +00:00
Kyle Carberry
17adfd1134
chore: improve times of ratelimit tests ( #6346 )
...
From 5s to 130ms!
2023-02-25 22:01:01 +00:00
Muhammad Atif Ali
acf000aaa5
add common ml logos ( #6318 )
2023-02-25 11:22:07 -06:00
Kyle Carberry
d613ba9987
security: add X-Content-Type-Options: nosniff to block MIME-sniffing ( #6344 )
...
coder/security#12
2023-02-25 11:18:45 -06:00
Mathias Fredriksson
cae8b88f60
fix(tailnet): Avoid logging netmap ( #6342 )
2023-02-25 08:06:38 +00:00
Mathias Fredriksson
5876dc1f97
test(cli): Improve speedtest debugging ( #6341 )
2023-02-24 20:09:16 +02:00
Ben Potter
29dbfe067c
docs: parameters ( #6332 )
...
* docs: parameters
* mention legacy parameters
2023-02-24 11:04:07 -07:00
Mathias Fredriksson
677721e4a1
fix(tailnet): Skip nodes without DERP, avoid use of RemoveAllPeers ( #6320 )
...
* fix(tailnet): Skip nodes without DERP, avoid use of RemoveAllPeers
2023-02-24 18:16:29 +02:00
Mathias Fredriksson
a414de9e81
fix(tailnet): Improve tailnet setup and agentconn stability ( #6292 )
...
* fix(tailnet): Improve start and close to detect connection races
* fix: Prevent agentConn use before ready via AwaitReachable
* fix(tailnet): Ensure connstats are closed on conn close
* fix(codersdk): Use AwaitReachable in DialWorkspaceAgent
* fix(tailnet): Improve logging via slog.Helper()
2023-02-24 13:11:28 +02:00
Cian Johnston
473ab208af
fix: replace owner_email with workspace_owner, change action to workspace_transition ( #6337 )
2023-02-24 04:38:58 +00:00
Marcin Tojek
16363fd1ff
chore: update terraform-provider-coder ( #6333 )
2023-02-23 17:32:52 -07:00
Cian Johnston
282507f0fb
fix(provisionerd): add more detailed workspace build logging ( #6331 )
2023-02-24 00:03:12 +00:00
Marcin Tojek
50db90c33d
fix: rephrase rich parameters error ( #6327 )
2023-02-23 21:49:40 +00:00
Dean Sheather
8abe48c155
chore: update docs to recommend MFA via iDP ( #6324 )
2023-02-23 18:07:21 +00:00
Kyle Carberry
8a4a179565
fix: use proper generated cli.md for deploy ( #6323 )
2023-02-23 11:07:57 -06:00
Muhammad Atif Ali and Ben Potter
7f65a837b1
docs: Update the troubleshooting section ( #6287 )
...
* docs: Update the troubleshooting section
Update the troubleshooting section to link web-server docs
* make fmt
* Update docs/templates.md
Co-authored-by: Ben Potter <me@bpmct.net >
---------
Co-authored-by: Ben Potter <me@bpmct.net >
2023-02-23 09:35:02 -07:00
Bruno Quaresma
0bf6229edb
fix(site): Fix cancel button borders ( #6315 )
2023-02-23 15:47:09 +00:00
Cian Johnston
1ba6fab0e0
chore: skip flaky TestSpeedtest ( #6322 )
2023-02-23 15:29:57 +00:00
Bruno Quaresma
8298a924f6
fix(site): Fix login flow ( #6294 )
2023-02-23 15:25:12 +00:00
Kira Pilot
a32169ccb5
feat: add flag to see all tokens if owner ( #6227 )
...
* added query for tokens by user id
* updated query args
* adding owner col
* fix request params
* update-golden-files
* added owners col to ls table output
* added ttoken translations
* prettier
* format table according to arg
* using slice.Contains
* refactored token state
* cleanup
2023-02-23 07:00:27 -08:00
Ammar Bandukwala
7a52a9cfc8
fix: flake in template pull ( #6317 )
2023-02-23 04:59:07 +00:00
Ammar Bandukwala
f6a8c360e5
feat(docs): rework CLI docs ( #6312 )
2023-02-23 01:53:21 +00:00
Cian Johnston
43e8ba0811
feat(api): add prometheus metric coderd_workspace_builds_total ( #6314 )
...
This PR adds the prometheus metric coderd_workspace_builds_total.
It measures the total number of workspace builds, along with a number of labels intended to be useful for an operator debugging a failed workspace build trying to discover the scope of the issue.
2023-02-23 01:28:10 +00:00
Kyle Carberry
2a8a147e7d
fix: don't log disconnect error when the database is shutting down ( #6309 )
...
* fix: don't log disconnect error when the database is shutting down
Seen in: https://github.com/coder/coder/actions/runs/4244980490/jobs/7379867681
* Generalize the query close error
2023-02-22 16:07:26 -06:00
Colin Adler
bbdf24686d
chore(examples): update provider versions ( #6311 )
2023-02-22 14:43:32 -07:00
Muhammad Atif Ali
457ad74d83
fix(docs): update Apache docs to correctly forward WebSockets ( #6296 )
...
This revolves #6295
2023-02-22 12:51:51 -07:00
Ammar Bandukwala
f7c10adb04
feat(cli): extract tar in template pull ( #6289 )
2023-02-22 19:29:51 +00:00
Ammar Bandukwala
8231de94ca
feat(cli): make minor improvements to speedtest ( #6266 )
...
- Remove mostly redundant "Transferred" column
- Rename "Bandwidth" to "Throughput"
- Replace "--reverse" (which has an ambiguous starting state) with "--direction=(up|down)"
- Tolerate AgentStartErrors which may be caused by failing startup
script
2023-02-22 19:09:37 +00:00
Cian Johnston
6149905a83
fix: disallow deleting self ( #6306 )
...
* fix: api: disallow user self-deletion
* feat(site): TableRowMenu: allow disabling individual menu items
* fix(site): UsersTable: disallow deleting self
2023-02-22 16:48:16 +00:00
Bruno Quaresma
b412ef0dbb
chore(site): Fix chromatic errors ( #6301 )
2023-02-22 16:11:25 +00:00
Bruno Quaresma
d993a97fee
refactor(site): Minor design refactoring on template version editor ( #6265 )
2023-02-22 07:42:37 -07:00
Ammar Bandukwala
3f75f6b8cc
chore: update potentially insecure deps ( #6290 )
v0.17.4
2023-02-21 06:15:25 +00:00
Mathias Fredriksson
2bb9b4ac80
test: Fix azureidentity verification test ( #6284 )
2023-02-20 15:50:39 +00:00
Ammar Bandukwala
f05609b4da
chore: format Go more aggressively
2023-02-18 18:32:09 -06:00
Colin Adler
19ae411f05
fix: actually test httpapi.WebsocketCloseSprintf ( #6261 )
2023-02-17 17:50:21 +00:00
Kyle Carberry
a79f4a095d
fix: allow mapped resources in our terraform provider ( #6255 )
2023-02-17 16:05:38 +00:00
Bruno Quaresma
7a864bdb28
refactor(site): Refactor template settings ( #6239 )
2023-02-17 13:27:35 +00:00
Marcin Tojek
e161c45b47
Revert "fix: allow mapped resources in our terraform provider ( #6242 )" ( #6248 )
...
This reverts commit d5af536ea2 .
2023-02-17 12:55:54 +01:00
Marcin Tojek
a69137b1f7
feat: Update CLI to handle managed variables ( #6220 )
...
* WIP
* hcl
* useManagedVariables
* fix
* Fix
* Fix
* fix
* go:build
* Fix
* fix: bool flag
* Insert template variables
* API
* fix
* Expose via API
* More wiring
* CLI for testing purposes
* WIP
* Delete FIXME
* planVars
* WIP
* WIP
* UserVariableValues
* no dry run
* Dry run
* Done FIXME
* Fix
* Fix: CLI
* Fix: migration
* API tests
* Test info
* Tests
* More tests
* fix: lint
* Fix: authz
* Address PR comments
* Fix
* fix
* fix
* CLI: create
* unit tests: create templates with variables
* Use last variables
* Fix
* Fix
* Fix
* Push tests
* fix: variable is required if Default is nil
* WIP
* Redact sensitive values
* Fixes
* Fixes
* Fix: arg description
* Fix
* Variable param
* Fix: gen
* Fix
* Fix: goldens
2023-02-17 09:07:45 +01:00
Kyle Carberry
d5af536ea2
fix: allow mapped resources in our terraform provider ( #6242 )
...
Fixes #6234 .
2023-02-16 13:04:40 -06:00