* chore: Update sqlc to v1.16.0
* chore: Fix cases where types became Null-types
* chore: Set parameter_schemas default_destination_scheme and default_source_scheme to NOT NULL
* chore: Add enum validation to database fake
* chore: Fix all tests that skipping enum values
* fix: Use correct err in providionerdserver audit log failure log
* chore: Improve project-wide prettier formatting and ignored files
* chore: `Run make fmt/prettier`
* Fix gitignore for `.vscode` folder so that ! works
* Add comment in `.prettierrc.yaml` to explain `.editorconfig`
* Remove scripts/apidocgen/markdown-template/README.md
* Use `yq` for processing prettierrc, update lib.sh dependency check
* Add `yq` to Dockerfile and Nix
* feat: add dotfiles_uri var to dogfood template
* refactor: use dotfiles if dotfiles var exists
This ensures the `coder dotfiles` command only runs if the dotfiles var
in the template is not empty.
* Update dogfood/main.tf
* refactor: assign variable to shell variable
* Update dogfood/main.tf
* fixup!: add default value
* fix: pin code-server to 4.8.3
We're having some terminal issues on macOS clients (i.e. iPad) with 4.9.0 so downgrading to 4.8.3 in the meantime.
* Update dogfood/main.tf
Changes to terraform templates:
* Remove DNS (this can interfere with users running their own DNS
servers)
* Remove `lower()` restriction from hostnames so that it will show the
name set by the user, as-is (there is no restriction on upper case
letters in hostnames)
* Remove superfluous `trap` in entrypoints, this is already handled by
the init script
* Switch from `command` to `entrypoint` as the latter can support more
Docker images out-of-the-box
* feat: use app wildcards for apps if configured
* feat: relative_path -> subdomain
- rename relative_path -> subdomain when referring to apps
- migrate workspace_apps.relative_path to workspace_apps.subdomain
- upgrade coder/coder terraform module to 0.5.0
* docs: add open in coder
This adds new documentation for the "Open in Coder" button that admins
can use to get their developers up and running faster.
* fix: display error if template not found
Previously, we weren't handling a case where we tried to get a template
that returned a 404 from the backend.
Now we handle that case in our state machine and display the error
message from the API on the frontend.
* feat: support template query param in index
This adds support to navigate directly to a template from the index by
using the `?template=<name>` query param.
* Revert "feat: support template query param in index"
This reverts commit bad7ffb677.
We decided to use the `/template/path` route instead.
* fixup!: docs: add open in coder
* docs: add open in coder to dogfood readme
* Update docs/admin/open-in-coder.md
Co-authored-by: Ben Potter <ben@coder.com>
* Update docs/admin/open-in-coder.md
Co-authored-by: Ben Potter <ben@coder.com>
* Update docs/admin/open-in-coder.md
Co-authored-by: Ben Potter <ben@coder.com>
* fix: update agent ID in example templates
* fix: update agent ID in dogfood template
* chore: update default agent ID in documentation
* fix: develop.sh: start FE after template is created; leave template dir around if template creation fails