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
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
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
a235644046
fix(codersdk): make codersdk.ProvisionerDaemon.UpdatedAt a codersdk.NullTime ( #11037 )
2023-12-05 15:40:45 +00:00
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
baf3bf6b9c
feat: add workspace_id, owner_name to agent manifest ( #10199 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
Co-authored-by: Atif Ali <atif@coder.com >
2023-12-04 00:41:54 +03:00
07895006d9
refactor(coderd/healthcheck): make Warnings an object with { Code, Message } ( #10950 )
...
- Adds health.Message { code string, mesasge string }
- Refactors existing warnings []string to be of type []health.Message instead
2023-11-30 14:49:50 +00:00
2b574e2b2d
feat: add dismissed
property to the healthcheck section ( #10940 )
2023-11-29 16:37:40 +00:00
19b6d194fc
feat: manage health settings using Coder API ( #10861 )
2023-11-28 18:15:17 +01:00
54c3fc63d9
fix: docuemnt workspace filter query param correctly ( #10894 )
2023-11-27 12:57:24 -05:00
abb2c7656a
chore: add claims to oauth link in db for debug ( #10827 )
...
* chore: add claims to oauth link in db for debug
2023-11-27 10:47:23 -06:00
dd161b172e
feat: allow auditors to read template insights ( #10860 )
...
- Adds a template_insights pseudo-resource
- Grants auditor and template admin roles read access on template_insights
- Updates existing RBAC checks to check for read template_insights, falling back to template update permissions where necessary
- Updates TemplateLayout to show Insights tab if can read template_insights or can update template
2023-11-24 17:21:32 +00:00
411ce46442
feat(coderd/healthcheck): add health check for proxy ( #10846 )
...
Adds a health check for workspace proxies:
- Healthy iff all proxies are healthy and the same version,
- Warning if some proxies are unhealthy,
- Error if all proxies are unhealthy, or do not all have the same version.
2023-11-24 15:06:51 +00:00
78df68348a
feat: include health severity in reports ( #10817 )
2023-11-23 16:08:41 +01:00
abafc0863c
feat(coderd): store workspace proxy version in the database ( #10790 )
...
Stores workspace proxy version in database upon registration.
2023-11-21 11:21:25 +00:00
5229d7fd3a
feat: implement deprecated flag for templates to prevent new workspaces ( #10745 )
...
* feat: implement deprecated flag for templates to prevent new workspaces
* Add deprecated filter to template fetching
* Add deprecated to template table
* Add deprecated notice to template page
* Add ui to deprecate a template
2023-11-20 19:16:18 +00:00
9b6433e3a7
chore: remove theme experiment ( #10798 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-11-20 09:53:20 -07:00
8999d5785a
feat: do not fail DERP healthcheck if WebSocket is used ( #10714 )
2023-11-17 16:00:49 +01:00
9d310388e5
feat(coderd): /debug/health: add parameter to force healthcheck ( #10677 )
2023-11-15 15:54:15 +00:00
e0afee1b85
feat: add debug endpoint for single tailnet ( #10485 )
2023-11-13 17:14:12 -06:00
b69c237b8a
feat(coderd/healthcheck): allow configuring database hc threshold ( #10623 )
...
* feat(coderd/healthcheck): allow configuring database hc threshold
* feat(coderd): add database hc latency, plumb through
* feat(coderd): allow configuring healthcheck refresh interval
2023-11-13 14:14:43 +00:00
e23873ff8f
feat: add endpoint for resolving autostart status ( #10507 )
2023-11-08 23:24:56 -06:00
64398def48
feat: add configurable cipher suites for tls listening ( #10505 )
...
* feat: add configurable cipher suites for tls listening
* tls.VersionName is go 1.21, copy the function
2023-11-07 14:55:39 +00:00
ac9c16864c
chore: update audit log api docs ( #10486 )
2023-11-02 16:12:38 +00:00
a7c671ca07
feat: add workspace agent APIVersion ( #10419 )
...
Fixes #10339
2023-10-31 10:08:43 +04:00
1372bf82f5
chore: revert "chore: remove workspace_actions experiment ( #10030 )" ( #10363 )
2023-10-20 13:21:53 -05:00
d33526108f
feat: add frontend support for mandating active template version ( #10338 )
2023-10-19 18:21:52 -05:00
f5f150d568
feat: add cli support for --require-active-version ( #10337 )
2023-10-19 17:16:15 -05:00
997493d4ae
feat: add template setting to require active template version ( #10277 )
2023-10-18 17:07:21 -05:00
1656249e07
feat: add all safe experiments to the deployment page ( #10276 )
...
* added new option table type for experiments
* added tests
* fixed go tests
* added go test for new param
* removing query change
* clearing ExperimentsAll
* dont mutate ExperimentsAll
* added new route for safe experiments
* added new route for safe experiments
* added test for new route
* PR feedback
* altered design
* alias children
2023-10-17 14:49:19 -04:00
39c0539d42
feat: add controls to template for determining startup days ( #10226 )
...
* feat: template controls which days can autostart
* Add unit test to test blocking autostart with DaysOfWeek
2023-10-13 11:57:18 -05:00
7eeba15d16
feat(coderd): add support for sending batched agent metadata ( #10223 )
...
Part of #9782
2023-10-13 16:37:55 +03:00
ac623b4717
feat: implement basic archive ui to make archiving failed versions easy ( #10182 )
...
* feat: implement basic archive ui to make archiving failed versions easy.
2023-10-11 15:06:10 +00:00
1e950fa9a8
feat: archive template versions to hide them from the ui ( #10179 )
...
* api + cli implementation
2023-10-11 09:26:22 -05:00
e7d9b8d858
feat: allow prefixes at the beginning of subdomain app hostnames ( #10150 )
2023-10-10 20:02:39 +00:00
91555c3a85
feat: support configurable web terminal rendering ( #10095 )
...
* feat: support configurable web terminal rendering
- Added a deployment option for configuring web terminal rendering.
Valid values are 'webgl', 'canvas', and 'dom'.
2023-10-10 13:18:02 -05:00
9c098b218f
feat: allow external auth providers to expose extra metadata ( #10157 )
2023-10-09 23:02:16 -05:00
863c2e7b64
feat: allow storing extra oauth token properties in the database ( #10152 )
2023-10-09 18:49:30 -05:00
35538e1051
feat: add external-auth
cli ( #10052 )
...
* feat: add `external-auth` cli
* Add subcommands
* Improve descriptions
* Add external-auth subcommand
* Fix docs
* Fix gen
* Fix comment
* Fix golden file
2023-10-09 23:04:35 +00:00
9e622d00a6
feat(cli): add coder users delete
command ( #10115 )
2023-10-09 11:47:57 -05:00
2d2bea79a7
fix: convert the new dashboard theme to be an experiment ( #10108 )
2023-10-06 09:46:52 -05:00
983e8c3ae8
feat: add API support for workspace automatic updates ( #10099 )
...
* Added automatic_updates to workspaces table
Signed-off-by: Spike Curtis <spike@coder.com >
* Queries and API updates
Signed-off-by: Spike Curtis <spike@coder.com >
* Golden files
Signed-off-by: Spike Curtis <spike@coder.com >
* Enable automatic updates on autostart
Signed-off-by: Spike Curtis <spike@coder.com >
* db migration number
Signed-off-by: Spike Curtis <spike@coder.com >
* fix imports and ts mock
Signed-off-by: Spike Curtis <spike@coder.com >
* code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-10-06 13:27:12 +04:00
eb4826a11f
chore: remove workspace_actions experiment ( #10030 )
2023-10-05 14:18:35 -05:00
5021e23105
chore: compute job status as column ( #10024 )
...
* chore: provisioner job status as column
* use provisioner job status for workspace searching
2023-10-04 20:57:46 -05:00
45b53c285f
feat: allow external services to be authable ( #9996 )
...
* feat: allow external services to be authable
* Refactor external auth config structure for defaults
* Add support for new config properties
* Change the name of external auth
* Move externalauth -> external-auth
* Run gen
* Fix tests
* Fix MW tests
* Fix git auth redirect
* Fix lint
* Fix name
* Allow any ID
* Fix invalid type test
* Fix e2e tests
* Fix comments
* Fix colors
* Allow accepting any type as string
* Run gen
* Fix href
2023-10-03 14:04:39 +00:00
5596fb20b5
chore: move /gitauth
to /externalauth
on the frontend ( #9954 )
...
* chore: move `/gitauth` to `/externalauth` on the frontend
This actually took a lot more jank than anticipated,
so I wanted to split this up before adding the ability
to embed new providers.
* Rename FE
* Fix em' up
* Fix linting error
* Fix e2e tests
* chore: update helm golden files
2023-09-30 14:30:01 -05:00
8abca9bea7
chore: rename git_auth
to external_auth
in our schema ( #9935 )
...
* chore: rename `git_auth` to `external_auth` in our schema
We're changing Git auth to be external auth. It will support
any OAuth2 or OIDC provider.
To split up the larger change I want to contribute the schema
changes first, and I'll add the feature itself in another PR.
* Fix names
* Fix outdated view
* Rename some additional places
* Fix sort order
* Fix template versions auth route
* Fix types
* Fix dbauthz
2023-09-29 19:13:20 +00:00
cb5f8df4c2
feat: expose application name via Appearance API ( #9886 )
2023-09-27 17:02:18 +02:00
4c3b579f58
feat: expose insights into user activity ( #9807 )
2023-09-26 18:42:16 +02:00
1262eef2c0
feat: add support for coder_script
( #9584 )
...
* Add basic migrations
* Improve schema
* Refactor agent scripts into it's own package
* Support legacy start and stop script format
* Pipe the scripts!
* Finish the piping
* Fix context usage
* It works!
* Fix sql query
* Fix SQL query
* Rename `LogSourceID` -> `SourceID`
* Fix the FE
* fmt
* Rename migrations
* Fix log tests
* Fix lint err
* Fix gen
* Fix story type
* Rename source to script
* Fix schema jank
* Uncomment test
* Rename proto to TimeoutSeconds
* Fix comments
* Fix comments
* Fix legacy endpoint without specified log_source
* Fix non-blocking by default in agent
* Fix resources tests
* Fix dbfake
* Fix resources
* Fix linting I think
* Add fixtures
* fmt
* Fix startup script behavior
* Fix comments
* Fix context
* Fix cancel
* Fix SQL tests
* Fix e2e tests
* Interrupt on Windows
* Fix agent leaking script process
* Fix migrations
* Fix stories
* Fix duplicate logs appearing
* Gen
* Fix log location
* Fix tests
* Fix tests
* Fix log output
* Show display name in output
* Fix print
* Return timeout on start context
* Gen
* Fix fixture
* Fix the agent status
* Fix startup timeout msg
* Fix command using shared context
* Fix timeout draining
* Change signal type
* Add deterministic colors to startup script logs
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-25 16:47:17 -05:00