Merging since Mark is out.
* chore: add optional coder_app to faq
* applied Atif's suggestions
* make fmt again
---------
Co-authored-by: kirby <kirby@coder.com>
Co-authored-by: Stephen Kirby <58410745+stirby@users.noreply.github.com>
* docs: remove cloud logos from 1-click install
They were looking good and are not adding much value.
* Delete docs/images/install/render.png
* Delete docs/images/install/ec2.svg
* Delete docs/images/install/eks.svg
* Delete docs/images/install/fly.io.svg
* Delete docs/images/install/gce.svg
* Delete docs/images/install/heroku.svg
* Delete docs/images/install/railway.svg
Part of #10676
- Adds a health section for provisioner daemons (mostly cannibalized from the Workspace Proxy section)
- Adds a corresponding storybook entry for provisioner daemons health section
- Fixed an issue where dismissing the provisioner daemons warnings would result in a 500 error
- Adds provisioner daemon error codes to docs
* assert provisioner daemon version and api_version in unit tests
* add build info in HTTP header, extract codersdk.BuildVersionHeader
* add api_version to codersdk.ProvisionerDaemon
* testutil.MustString -> testutil.MustRandString
* Add database tables for OAuth2 applications
These are applications that will be able to use OAuth2 to get an API key
from Coder.
* Add endpoints for managing OAuth2 applications
These let you add, update, and remove OAuth2 applications.
* Add frontend for managing OAuth2 applications
Co-authored-by: Kyle Carberry <kyle@carberry.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
Co-authored-by: Muhammad Atif Ali <me@matifali.dev>
* setup manifest
* added okta guide from steven M
* improved index by adding children
* changed icon to notes.svg
* added meta guide, fixed profile photo fmt
* added sharkymark FAQs page
* make fmt
* fixed typos for link
* changed FAQs icon to (i)
* satisfied review
* make fmt
* added docs links for coder_app, CODER_ACCESS_URL
* removed mentions of mark
* fixed some minor code formatting issues
* fixed numbered bullets rendering, make fmt
- 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
* 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.
Relates to #8965
* Fixes offlinedocs that broke from change in feat(coderd/healthcheck): add access URL error codes and healthcheck doc #10915 by removing the offending anchor links from the page subheadings.
* Makes offlinedocs also conditional on changes to docs
Relates to #8965
- Added error codes for separate code paths in health checks
- Prefixed errors and warnings with error code prefixes
- Added a docs page with details on each code, cause and solution
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
- 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
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.
* 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
> Can someone help me understand the differences between these env variables:
>
> CODER_REDIRECT_TO_ACCESS_URL
> CODER_TLS_REDIRECT_HTTP_TO_HTTPS
> CODER_TLS_REDIRECT_HTTP
Oh man, what a mess. It looks like `CODER_TLS_REDIRECT_HTTP ` appears in our config docs. Maybe that was the initial name for the environment variable?
At some point, both the flag and the environment variable were `--tls-redirect-http-to-https` and `CODER_TLS_REDIRECT_HTTP_TO_HTTPS`. `CODER_TLS_REDIRECT_HTTP` did nothing.
However, then we introduced `CODER_REDIRECT_TO_ACCESS_URL`, we put in some deprecation code that was maybe fat-fingered such that we accept the environment variable `CODER_TLS_REDIRECT_HTTP` but the flag `--tls-redirect-http-to-https`. Our docs still refer to `CODER_TLS_REDIRECT_HTTP` at https://coder.com/docs/v2/latest/admin/configure#address
So, I think what we gotta do is still accept `CODER_TLS_REDIRECT_HTTP` since it was working and in an example doc, but also fix the deprecation code to accept `CODER_TLS_REDIRECT_HTTP_TO_HTTPS` environment variable.
* coder list: adds information about next start / stop to available columns (not default)
* coder schedule: show now essentially coder list with a different set of columns
* Updates cli schedule unit tests to use new dbfake
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
* 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
* docs: rework our "templates" section
* wikistuff
* fix formatting
* add diagram
* reorganize some things
* docs: improve workspaces and templates doc (#9139)
* Reorg, updated/new screenshots, consistent terminology
* First pass
* Another pass
* Added integration section
* New outline for template pages, small updates
* Revised outline for templates, added tutorial
* First pass at tutorial
* Some feedback from Ben.
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Fixed typos
* Expanded tutorial
I have read the CLA Document and I hereby sign the CLA
* New screenshots, improved tutorial, revised anatomy
* Improved tutorial. Anatomy is now a guided tour.
* First pass at guided tour
* Updated authentication info
* Reorganized the guided tour
* Edited more template pages
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tutorial.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
* Revised devcontainers and docker-in-workspaces
* Edited and added screenshots
* Prepared first draft, except docs/templates/open-in-coder.md
* Fix typo
* remove legacy parameters and migration guide
* Use coder templates create
* Added screenshot for workspace template variables
* Made it prettier
* Fixed minor typos and markdown problems
* edits to repairing workspaces
* fix broken links in product
* Added troubleshooting, minor corrections.
* fix terminal links
* fmt
---------
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
Co-authored-by: Ben Potter <me@bpmct.net>
Co-authored-by: Atif Ali <atif@coder.com>
* make fmt
* fix merge conflict
* make fmt
* make gen
* update
* lint
* Discard changes to coderd/database/queries.sql.go
* Discard changes to cli/templates.go
* Discard changes to cli/templateversionarchive.go
* Discard changes to cli/templateversions.go
* Update docker-in-workspaces.md
* replace ```sh with ```shell
* open-in-coder
* fmt
* mention coder_metadata in icons.md
* resource_metadata
* use shell
* modules.md
* mention coder registry module
* workspace.md
* resource_metadata
* remove duplication
* address comments
* cleanup
* fmt
* fix broken links
* fix numbering
* mention module registry
* add example
* demote heading
* remove top level entry from manifest
* fmt
---------
Co-authored-by: Ben <me@bpmct.net>
Co-authored-by: Marc Paquette <22124737+marcpaq@users.noreply.github.com>
* feat: support configurable web terminal rendering
- Added a deployment option for configuring web terminal rendering.
Valid values are 'webgl', 'canvas', and 'dom'.
* Detects the following pattern where the CLI is initialized with a client authenticated as the "first user":
client := coderdtest.New(t, ...)
[...]
user := coderdtest.CreateFirstUser(t, client)
[...]
clitest.SetupConfig(t, client, root)
* Updates documentation regarding role permissions on workspaces.
* feat(site): disable rich parameters when using open in coder
* updated docs
* chore(site): increase refetch interval for deployment health
* Revert "chore(site): increase refetch interval for deployment health"
This reverts commit 8e642be3fb.
* 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
* 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
* 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
* docs: display_apps feature to hide/show terminal, vscode desktop, port-forwarding, etc.
* Update docs/templates/index.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
* Update docs/templates/index.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com>