Skip to content

feat: add custom error message on signups disabled page #11959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Feb 1, 2024
Prev Previous commit
Next Next commit
Fix?
  • Loading branch information
mtojek committed Jan 31, 2024
commit f2ccc2b51a5d6318d972197cea3ec09dc92db807
38 changes: 19 additions & 19 deletions cli/testdata/coder_server_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ OPTIONS:
Periodically check for new releases of Coder and inform the owner. The
check is performed once per day.

CLIENT OPTIONS:
CLIENT OPTIONS:
These options change the behavior of how clients interact with the Coder.
Clients include the coder cli, vs code extension, and the web UI.

Expand All @@ -83,17 +83,17 @@ Clients include the coder cli, vs code extension, and the web UI.
The renderer to use when opening a web terminal. Valid values are
'canvas', 'webgl', or 'dom'.

CONFIG OPTIONS:
CONFIG OPTIONS:
Use a YAML configuration file when your server launch become unwieldy.

-c, --config yaml-config-path, $CODER_CONFIG_PATH
Specify a YAML file to load configuration from.

--write-config bool

Write out the current server config as YAML to stdout.

INTROSPECTION / HEALTH CHECK OPTIONS:
INTROSPECTION / HEALTH CHECK OPTIONS:
--health-check-refresh duration, $CODER_HEALTH_CHECK_REFRESH (default: 10m0s)
Refresh interval for healthchecks.

Expand All @@ -102,7 +102,7 @@ INTROSPECTION / HEALTH CHECK OPTIONS:
the database exceeds this threshold over 5 attempts, the database is
considered unhealthy. The default value is 15ms.

INTROSPECTION / LOGGING OPTIONS:
INTROSPECTION / LOGGING OPTIONS:
--enable-terraform-debug-mode bool, $CODER_ENABLE_TERRAFORM_DEBUG_MODE (default: false)
Allow administrators to enable Terraform debug output.

Expand All @@ -119,7 +119,7 @@ INTROSPECTION / LOGGING OPTIONS:
--log-stackdriver string, $CODER_LOGGING_STACKDRIVER
Output Stackdriver compatible logs to a given file.

INTROSPECTION / PROMETHEUS OPTIONS:
INTROSPECTION / PROMETHEUS OPTIONS:
--prometheus-address host:port, $CODER_PROMETHEUS_ADDRESS (default: 127.0.0.1:2112)
The bind address to serve prometheus metrics.

Expand All @@ -132,7 +132,7 @@ INTROSPECTION / PROMETHEUS OPTIONS:
--prometheus-enable bool, $CODER_PROMETHEUS_ENABLE
Serve prometheus metrics on the address defined by prometheus address.

INTROSPECTION / TRACING OPTIONS:
INTROSPECTION / TRACING OPTIONS:
--trace-logs bool, $CODER_TRACE_LOGS
Enables capturing of logs as events in traces. This is useful for
debugging, but may result in a very large amount of events being sent
Expand All @@ -146,14 +146,14 @@ INTROSPECTION / TRACING OPTIONS:
--trace-honeycomb-api-key string, $CODER_TRACE_HONEYCOMB_API_KEY
Enables trace exporting to Honeycomb.io using the provided API Key.

INTROSPECTION / PPROF OPTIONS:
INTROSPECTION / PPROF OPTIONS:
--pprof-address host:port, $CODER_PPROF_ADDRESS (default: 127.0.0.1:6060)
The bind address to serve pprof.

--pprof-enable bool, $CODER_PPROF_ENABLE
Serve pprof metrics on the address defined by pprof address.

NETWORKING OPTIONS:
NETWORKING OPTIONS:
--access-url url, $CODER_ACCESS_URL
The URL that users will use to access the Coder deployment.

Expand All @@ -179,7 +179,7 @@ NETWORKING OPTIONS:
Specifies the wildcard hostname to use for workspace applications in
the form "*.example.com".

NETWORKING / DERP OPTIONS:
NETWORKING / DERP OPTIONS:
Most Coder deployments never have to think about DERP because all connections
between workspaces and users are peer-to-peer. However, when Coder cannot
establish a peer to peer connection, Coder uses a distributed relay network
Expand Down Expand Up @@ -221,7 +221,7 @@ backed by Tailscale and WireGuard.
own DERP region, with region IDs starting at `--derp-server-region-id
+ 1`. Use special value 'disable' to turn off STUN completely.

NETWORKING / HTTP OPTIONS:
NETWORKING / HTTP OPTIONS:
--disable-password-auth bool, $CODER_DISABLE_PASSWORD_AUTH
Disable password authentication. This is recommended for security
purposes in production deployments that rely on an identity provider.
Expand Down Expand Up @@ -252,7 +252,7 @@ NETWORKING / HTTP OPTIONS:
longer if they are actively making requests, but this functionality
can be disabled via --disable-session-expiry-refresh.

NETWORKING / TLS OPTIONS:
NETWORKING / TLS OPTIONS:
Configure TLS / HTTPS for your Coder deployment. If you're running Coder behind
a TLS-terminating reverse proxy or are accessing Coder over a secure link, you
can safely ignore these settings.
Expand Down Expand Up @@ -314,7 +314,7 @@ can safely ignore these settings.
Minimum supported version of TLS. Accepted values are "tls10",
"tls11", "tls12" or "tls13".

OAUTH2 / GITHUB OPTIONS:
OAUTH2 / GITHUB OPTIONS:
--oauth2-github-allow-everyone bool, $CODER_OAUTH2_GITHUB_ALLOW_EVERYONE
Allow all logins, setting this option means allowed orgs and teams
must be empty.
Expand All @@ -339,7 +339,7 @@ OAUTH2 / GITHUB OPTIONS:
Base URL of a GitHub Enterprise deployment to use for Login with
GitHub.

OIDC OPTIONS:
OIDC OPTIONS:
--oidc-group-auto-create bool, $CODER_OIDC_GROUP_AUTO_CREATE (default: false)
Automatically creates missing groups from a user's groups claim.

Expand Down Expand Up @@ -430,7 +430,7 @@ OIDC OPTIONS:
The custom text to show on the error page informing about disabled
OIDC signups.

PROVISIONING OPTIONS:
PROVISIONING OPTIONS:
Tune the behavior of the provisioner, which is responsible for creating,
updating, and deleting workspace resources.

Expand All @@ -451,7 +451,7 @@ updating, and deleting workspace resources.
Number of provisioner daemons to create on start. If builds are stuck
in queued state for a long time, consider increasing this.

TELEMETRY OPTIONS:
TELEMETRY OPTIONS:
Telemetry is critical to our ability to improve Coder. We strip all
personalinformation before sending data to our servers. Please only disable
telemetrywhen required by your organization's security policy.
Expand All @@ -460,7 +460,7 @@ telemetrywhen required by your organization's security policy.
Whether telemetry is enabled or not. Coder collects anonymized usage
data to help improve our product.

USER QUIET HOURS SCHEDULE OPTIONS:
USER QUIET HOURS SCHEDULE OPTIONS:
Allow users to set quiet hours schedules each day for workspaces to avoid
workspaces stopping during the day due to template max TTL.

Expand All @@ -480,7 +480,7 @@ workspaces stopping during the day due to template max TTL.
must be *. Only one hour and minute can be specified (ranges or comma
separated values are not supported).

⚠️ DANGEROUS OPTIONS:
⚠️ DANGEROUS OPTIONS:
--dangerous-allow-path-app-sharing bool, $CODER_DANGEROUS_ALLOW_PATH_APP_SHARING
Allow workspace apps that are not served from subdomains to be shared.
Path-based app sharing is DISABLED by default for security purposes.
Expand All @@ -497,7 +497,7 @@ workspaces stopping during the day due to template max TTL.
can be disabled entirely with --disable-path-apps for further
security.

ENTERPRISE OPTIONS:
ENTERPRISE OPTIONS:
These options are only available in the Enterprise Edition.

--browser-only bool, $CODER_BROWSER_ONLY
Expand Down