Steven Masley
5b7fa78676
chore: add deployment config option to append custom csp directives ( #15596 )
...
Allows adding custom static CSP directives to Coder. Niche use case but
makes this easier then creating a reverse proxy that has to replace the
header. We want to preserve our directives, so having an append option
is preferred to a "replace" option via a reverse proxy.
Closes https://github.com/coder/coder/issues/15118
2024-11-21 11:53:53 -06:00
Danielle Maywood
576e1f48fe
feat!: allow disabling notifications ( #15509 )
...
Resolves https://github.com/coder/coder/issues/15513
Disables notifications when both `$CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT` and `$CODER_EMAIL_SMARTHOST` are unset.
Breaking change: `$CODER_EMAIL_SMARTHOST` is no longer set by default as `localhost:587`, meaning any deployments that make use of this default value will need to add it back.
---------
Co-authored-by: Danny Kopping <danny@coder.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2024-11-19 15:05:12 +00:00
Steven Masley
782214bcd8
chore: move organizatinon sync to runtime configuration ( #15431 )
...
Moves the configuration from environment to database backed, to allow
configuring organization sync at runtime.
2024-11-08 08:44:14 -06:00
Danielle Maywood
823a2ea22e
chore(cli): drop 'notification' prefix for configuring email auth ( #15270 )
...
Closes https://github.com/coder/coder/issues/14644
2024-10-30 10:06:10 +00:00
Steven Masley
ccfffc6911
chore: add tx metrics and logs for serialization errors ( #15215 )
...
Before db_metrics were all or nothing. Now `InTx` metrics are always recorded, and query metrics are opt in.
Adds instrumentation & logging around serialization failures in the database.
2024-10-25 12:14:15 -04:00
Garrett Delfosse
5cc5bbea04
fix: improve provisioner key cli usability ( #14834 )
...
What this changes:
- Unhides the `--key` flag on provisioner start
- Deprecates and hides `provisionerd` command group in favor of
`provisioner(s)`
- Removes org id from `coder provisioner keys list`
2024-09-27 10:34:41 -05:00
Garrett Delfosse
50124fefdc
feat: remove org flag requirement for provisioners ( #14722 )
2024-09-20 12:45:31 -04:00
Ethan
37885e2e82
fix: make cli respect deployment --docs-url ( #14568 )
2024-09-18 21:47:53 +10:00
Ethan
fccf6f1e0e
feat!: add --default-token-lifetime ( #14631 )
2024-09-18 21:23:42 +10:00
Steven Masley
be516f9686
chore: unhide multi-organization cli commands ( #14693 )
...
* chore: unhide multi-organization cli commands
Multi-org is going into GA, unhide cli commands
2024-09-17 10:22:20 -05:00
Steven Masley
10c958bba1
chore: implement organization sync and create idpsync package ( #14432 )
...
* chore: implement filters for the organizations query
* chore: implement organization sync and create idpsync package
Organization sync can now be configured to assign users to an org based on oidc claims.
2024-08-30 11:19:36 -05:00
Ethan
0b2ba96065
feat(cli): add shell completions ( #14341 )
2024-08-20 14:47:46 +10:00
Danny Kopping
d79a7adf99
docs: advise against shared CODER_CACHE_DIRECTORY dir usage in note ( #14216 )
2024-08-08 12:42:47 +00:00
Steven Masley
4f01372179
feat: implement disabling oidc issuer checks ( #13991 )
...
* use DANGEROUS prefix and drop a warning log
2024-07-24 16:45:47 -05:00
Danny Kopping
943ea7c52a
feat: add SMTP auth & TLS support ( #13902 )
2024-07-19 09:22:15 +02:00
Garrett Delfosse
6f20a64f9d
chore: add multi-org flag to develop.sh ( #13923 )
2024-07-18 14:43:07 -05:00
Garrett Delfosse
f975701b34
feat: add provisioner key cli commands ( #13875 )
2024-07-18 14:44:20 -04:00
Danny Kopping
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
Ethan
a110d18275
chore: add DRPC tailnet & cli network telemetry ( #13687 )
2024-07-03 15:23:46 +10:00
Steven Masley
5bf46f360a
chore: remove org context switcher in the cli ( #13674 )
...
* chore: remove org context switcher in the cli
2024-07-01 16:04:45 -05:00
Cian Johnston
1131772e79
feat(coderd): set full name from IDP name claim ( #13468 )
...
* Updates OIDC and GitHub OAuth login to fetch set name from relevant claim fields
* Adds CODER_OIDC_NAME_FIELD as configurable source of user name claim
* Adds httpapi function to normalize a username such that it will pass validation
* Adds firstName / lastName fields to dev OIDC setup
2024-06-06 13:37:08 +01:00
Kayla Washburn-Love
74f27719b8
feat: specify a custom "terms of service" link ( #13068 )
2024-04-25 16:36:51 -06:00
Garrett Delfosse
4d9fe05f5a
feat: add awsiamrds db auth driver ( #12566 )
2024-03-20 13:14:43 -04:00
Steven Masley
d789a60d47
chore: remove max_ttl from templates ( #12644 )
...
* chore: remove max_ttl from templates
Completely removing max_ttl as a feature on template scheduling. Must use other template scheduling features to achieve autostop.
2024-03-20 10:37:57 -05:00
Ammar Bandukwala
e5cc17af92
chore(cli): hide --organization ( #12626 )
...
It's potentially confusing to users since we aren't fleshing out organizations right now.
2024-03-18 09:09:26 -05:00
Danny Kopping
7a7105ad66
feat: make agent stats' cardinality configurable ( #12535 )
2024-03-13 12:03:36 +02:00
Cian Johnston
8f40ee3465
Revert "feat: make agent stats' cardinality configurable ( #12468 )" ( #12533 )
...
This reverts commit 21d1873d97 .
2024-03-11 14:33:36 +00:00
Danny Kopping
21d1873d97
feat: make agent stats' cardinality configurable ( #12468 )
...
Closes #12221
2024-03-11 16:04:08 +02:00
Marcin Tojek
30d9d84758
fix: use flag to enable Prometheus ( #12345 )
2024-02-28 17:58:03 +01:00
Marcin Tojek
eb4a1e2568
feat: enable Prometheus endpoint for external provisioner ( #12320 )
2024-02-28 09:21:56 +01:00
Steven Masley
748cf4b2c4
feat: implement global flag for org selection ( #12276 )
...
* feat: implement global flag for org selection
Any command can use '-z' to override org context
2024-02-26 11:38:49 -06:00
Marcin Tojek
ad8e0db172
feat: add custom error message on signups disabled page ( #11959 )
2024-02-01 18:01:25 +01:00
Jon Ayers
0c30dde9b5
feat: add customizable upgrade message on client/server version mismatch ( #11587 )
2024-01-30 17:11:37 -06:00
Cian Johnston
fdf9f03097
fix(enterprise/cli): add ID to default columns in licenses list output ( #11823 )
2024-01-26 09:55:16 +00: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
Cian Johnston
d2d7628522
fix(enterprise/cli): add CODER_PROVISIONER_DAEMON_LOG_* options ( #11279 )
...
- Extracts cli.BuildLogger to clilog package
- Updates existing usage of cli.BuildLogger and removes it
- Use clilog to initialize provisionerd logger
2023-12-19 16:49:50 +00:00
Garrett Delfosse
7924bb2a56
feat!: move workspace renames behind flag, disable by default ( #11189 )
2023-12-15 13:38:47 -05:00
Dean Sheather
1e49190e12
feat: add server flag to disable user custom quiet hours ( #11124 )
2023-12-15 19:33:51 +10:00
Dean Sheather
b36071c6bb
feat: allow templates to specify max_ttl or autostop_requirement ( #10920 )
2023-12-15 18:27:56 +10:00
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
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
Cian Johnston
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
Steven Masley
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
Jon Ayers
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
Spike Curtis
375c70d141
feat: integrate Acquirer for provisioner jobs ( #9717 )
...
* chore: add Acquirer to provisionerdserver pkg
Signed-off-by: Spike Curtis <spike@coder.com >
* code review improvements & fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* feat: integrate Acquirer for provisioner jobs
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports, whitespace
Signed-off-by: Spike Curtis <spike@coder.com >
* provisionerdserver always closes; remove poll interval from playwright
Signed-off-by: Spike Curtis <spike@coder.com >
* post jobs outside transactions
Signed-off-by: Spike Curtis <spike@coder.com >
* graceful shutdown in test
Signed-off-by: Spike Curtis <spike@coder.com >
* Mark AcquireJob deprecated
Signed-off-by: Spike Curtis <spike@coder.com >
* Graceful shutdown on all provisionerd tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Deprecate, not remove CLI flags
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-19 10:25:57 +04:00
Ammar Bandukwala
b63dfe7b75
perf(cli): optimize CPU consumption of help pages ( #9607 )
...
This change reduces the CPU consumption of --help by ~50%.
Also, this change removes ANSI escape codes from our golden files. I
don't think those were worth the inability to parallelize golden file tests and
global state fragility.
2023-09-14 19:48:29 -05:00
Colin Adler
38560dd922
chore: remove coder trace telemetry ( #9677 )
2023-09-14 02:20:28 -04:00
Ammar Bandukwala
f703a5b34e
chore(cli): lighten flags on help page ( #9606 )
2023-09-08 13:43:56 -05:00
Ammar Bandukwala
e361f1107b
feat(cli): colorize help page ( #9589 )
2023-09-08 18:21:33 +00:00