ef2e86f309
increase default max-token-duration ( #6467 )
2023-03-07 06:35:48 -08:00
87ed7a7dba
chore: use nil map on agent stats to check if report interval should be returned ( #6479 )
...
See https://github.com/coder/coder/actions/runs/4350638262/jobs/7601537088
2023-03-07 14:25:04 +00:00
66a6b590a1
feat: add template max_ttl ( #6114 )
...
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2023-03-07 14:14:58 +00:00
248c53d68d
fix: install terraform in base Docker image ( #6263 )
...
Updates the base Docker image to install Terraform version 1.3.4 (max supported version) by default.
Also updates documentation to reflect this change.
2023-03-07 13:52:45 +00:00
0c2b432c1b
feat: Add migration fixer script (for branches) ( #6466 )
2023-03-07 14:47:33 +02:00
fd02f73708
chore: ensure pubsub messages are delivered in order for in-memory variant ( #6474 )
...
PostgreSQL provides this guarantee, which led to some flakes in tests.
See: https://github.com/coder/coder/actions/runs/4350034299/jobs/7600478096
2023-03-07 04:36:25 +00:00
74632e460c
fix: adjust build state permission to require template update ( #6472 )
2023-03-07 04:24:32 +00:00
29ced72cda
chore: fix stats leaking in tests ( #6478 )
...
See https://github.com/coder/coder/actions/runs/4350254306/jobs/7601134509
2023-03-07 04:09:02 +00:00
034641dc77
chore: migrate security checks to run on a cron ( #6477 )
...
They were taking a long time and seemed to be reducing concurrency
for our other CI actions.
2023-03-06 21:46:40 -06:00
7a8ccda40e
chore: copy forced derp websockets to fix flake ( #6475 )
...
See: https://github.com/coder/coder/actions/runs/4350034299/jobs/7600478389
2023-03-06 21:29:41 -06:00
964032d783
chore: ignore query cancel error in activitybump ( #6476 )
...
See https://github.com/coder/coder/actions/runs/4350254306/jobs/7600782432
It's fine to ignore this, because workspace agent stats happen async
and might occur when shutting down.
2023-03-06 21:27:21 -06:00
09f87d1df1
chore: remove empty case for metricscache ( #6473 )
...
This wasn't necessary to test and just caused flakes.
See: https://github.com/coder/coder/actions/runs/4350034299/jobs/7600340648
2023-03-06 21:13:08 -06:00
cf75d7e1fb
fix: clean up idle http conns on wsconncache close ( #6471 )
...
See https://github.com/coder/coder/actions/runs/4346769070/jobs/7593243836
2023-03-06 20:45:49 -06:00
e0137bcff1
fix: ensure tailnet websockets are closed ( #6470 )
...
See: https://github.com/coder/tailscale/pull/10
2023-03-06 20:45:24 -06:00
d8abe37cd7
docs: AWS EKS sessionAffinity for LB external IP to be issued ( #6425 )
2023-03-06 23:40:05 +00:00
8a6635bf5f
chore: Never run v2 migrations on v1 database ( #6438 )
2023-03-06 13:49:03 -06:00
22e3ff96be
feat(agent): Add shutdown lifecycle states and shutdown_script support ( #6139 )
...
* feat(api): Add agent shutdown lifecycle states
* feat(agent): Add shutdown_script support
* feat(agent): Add shutdown_script timeout
* feat(site): Support new agent lifecycle states
---
Co-authored-by: Marcin Tojek <marcin@coder.com >
2023-03-06 21:34:00 +02:00
02100c64b5
fix: docs auto-approval ( #6450 )
...
* fix: docs auto-approval
* empty commit
2023-03-06 13:31:07 -06:00
136f23fb4c
refactor(site): Suport template version variables on template creation ( #6434 )
2023-03-06 18:36:19 +00:00
84dd59ecc2
fix: 'coder update' should always start a workspace ( #6437 )
...
* fix: 'coder update' should always start a workspace
2023-03-06 08:37:11 -06:00
260b2b2333
fix: 404 template shows error page ( #6441 )
2023-03-06 13:58:36 +00:00
a3201bd658
fix(site): Fix template version editor rename ( #6251 )
2023-03-06 13:53:24 +00:00
1483b42259
fix(provisionerd): emit workspace build transition in lower case ( #6455 )
2023-03-06 11:14:19 +00:00
e78c272a72
chore: System context to oidc login ( #6427 )
2023-03-04 14:32:07 -06:00
02f0968b33
chore: automatically approve Ben's docs PRs ( #6444 )
2023-03-04 08:07:45 -06:00
573a8d5717
docs: external provisioners ( #6443 )
...
* docs: external provisioners
* better wording
* fix wording
* fix wording in various places
* keep fixing wording
* add another note about template management
2023-03-03 23:49:03 +00:00
973df199b0
test: Check created_at for prepareData to ensure user order ( #6436 )
...
* test: Check created_at for prepareData to ensure user order
* test: Consistent user ordering in dbfake
* import order
* Linting
2023-03-03 13:09:04 -06:00
3cb9b3de24
docs: clarify how to set max token life in ci/cd docs ( #6416 )
...
* docs: clarify max token life in ci/cd docs
* Update docs/templates/change-management.md
---------
Co-authored-by: Ben Potter <me@bpmct.net >
2023-03-02 22:22:53 +00:00
175a41567e
docs: clarify requirements for offline deployments ( #6418 )
...
* docs: clarify requirements for offline deployments
* fix punctuation
* fix typo and add postgres
* mention update check
* disable update checks
2023-03-02 14:59:31 -06:00
25b05ed8a4
fix: minimal AWS policy for templates ( #6419 )
2023-03-02 12:21:02 -06:00
71d1e63af0
feat: add ability to name tokens ( #6365 )
...
* add tokens switch
* reorged TokensPage
* using Trans component for description
* using Trans component on DeleteDialog
* add owner col
* simplify hook return
* lint
* type for response
* added flag for name
* fixed auth
* lint, prettier, tests
* added unique index for login type token
* remove tokens by name
* better check for unique constraint
* docs
* test: Fix dbfake to insert token name
* fix doc tests
* Update cli/tokens.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* Update coderd/database/migrations/000102_add_apikey_name.down.sql
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* add more specificity to IsUniqueViolation check
* fix tests
* Fix AutorizeAllEndpoints
* rename migration
---------
Co-authored-by: Steven Masley <stevenmasley@coder.com >
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2023-03-02 09:39:38 -08:00
e3a4861e93
docs: update example coder.conf file ( #6319 )
...
Updated example configuration file to match the configuration in tutorial.
v0.18.1
2023-03-02 09:55:50 -06:00
ea7a80c5ff
docs: clearer postgres sizing recommendations ( #6302 )
2023-03-02 15:53:55 +00:00
2ff1c6d613
feat: add agent stats for different connection types ( #6412 )
...
This allows us to track when our extensions are used, when the
web terminal is used, and average connection latency to the agent.
2023-03-02 08:06:00 -06:00
537547fcc3
fix: outdated message in latency tooltip ( #6043 )
2023-03-02 13:24:44 +00:00
67db36bf81
feat: Add form to modify managed Template variables ( #6257 )
2023-03-02 14:11:16 +01:00
8cf292f50a
feat: Guard search queries against common mistakes ( #6404 )
...
* feat: Error on excessive invalid search keys
* feat: Guard search queries against common mistakes
* Raise errors in FE on workspaces table
* All errors should be on newlines
2023-03-01 23:28:56 -06:00
1724cbf872
feat: automatically use websockets if DERP upgrade is unavailable ( #6381 )
...
* feat: automatically use websockets if DERP upgrade is unavailable
This might be our biggest hangup for deployments at the moment...
Load balancers by default do not support the DERP protocol, so many
of our prospects and customers run into failing workspace connections.
This automatically swaps to use WebSockets, and reports the reason to
coderd.
In a future contribution, a warning will appear by the agent if it was
forced to use WebSockets instead of DERP.
* Fix nil pointer type in Tailscale dep
* Fix requested changes
2023-03-01 22:18:14 +00:00
ce11400b56
chore: bump eslint-plugin-import from 2.26.0 to 2.27.5 in /site ( #6391 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.26.0 to 2.27.5.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.5 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 21:55:27 +00:00
28e002e8bb
chore: bump eslint-plugin-jest from 27.0.1 to 27.2.1 in /site ( #6396 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 27.0.1 to 27.2.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v27.0.1...v27.2.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 15:21:30 -06:00
454da9e0ef
chore: bump eslint from 8.33.0 to 8.35.0 in /site ( #6395 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.33.0 to 8.35.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.33.0...v8.35.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 15:21:23 -06:00
32ecb853ed
chore: bump github.com/gohugoio/hugo from 0.109.0 to 0.110.0 ( #6394 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.109.0 to 0.110.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.109.0...v0.110.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 15:21:13 -06:00
570b7f95d2
chore: bump aquasecurity/trivy-action from 0.8.0 to 0.9.1 ( #6385 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](9ab158e859...8bd2f9fbda
)
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 15:19:13 -06:00
b2671639a7
chore: bump crate-ci/typos from 1.13.9 to 1.13.14 ( #6386 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.13.9 to 1.13.14.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.13.9...v1.13.14 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 15:18:59 -06:00
991c720c09
chore: bump github.com/cenkalti/backoff/v4 from 4.1.3 to 4.2.0 ( #6390 )
...
Bumps [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff ) from 4.1.3 to 4.2.0.
- [Release notes](https://github.com/cenkalti/backoff/releases )
- [Commits](https://github.com/cenkalti/backoff/compare/v4.1.3...v4.2.0 )
---
updated-dependencies:
- dependency-name: github.com/cenkalti/backoff/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 15:18:48 -06:00
31a37025c4
fix: build for all platforms in depot release pt. 2 ( #6407 )
v0.18.0
2023-03-01 19:48:22 +00:00
9af03d6180
fix: build for all platforms in depot release ( #6406 )
2023-03-01 18:29:02 +00:00
4dd95c5e01
fix(site): Fix long template descriptions ( #6403 )
2023-03-01 17:53:59 +00:00
9ea21bf8ee
fix: hardcode azure instance identity intermediate certificates ( #6402 )
...
This was broken for an airgapped customer!
2023-03-01 17:39:24 +00:00
6304bfb5c0
feat: add 'Show all tokens' toggle for owners ( #6325 )
...
* add tokens switch
* reorged TokensPage
* using Trans component for description
* using Trans component on DeleteDialog
* add owner col
* simplify hook return
* lint
* type for response
* PR feedback
* fix lint
2023-03-01 08:35:55 -08:00