Abhineet Jain
74c87664c1
fix: handle more auth API errors ( #3241 )
2022-07-28 17:14:05 -04:00
Presley Pizzo
6b82fdd0c0
Surface backend error when extending schedule ( #3275 )
2022-07-28 17:13:46 -04:00
Spike Curtis
d6faf8f524
remove character limit on instance ids ( #3274 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2022-07-28 13:52:03 -07:00
dependabot[bot]
6d14dcb1ee
chore: bump eslint-plugin-jest from 26.5.3 to 26.6.0 in /site ( #3204 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.5.3 to 26.6.0.
- [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/v26.5.3...v26.6.0 )
---
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>
2022-07-28 15:24:59 -04:00
dependabot[bot]
7ba69739f6
chore: bump ts-node from 10.8.2 to 10.9.1 in /site ( #3213 )
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 10.8.2 to 10.9.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.8.2...v10.9.1 )
---
updated-dependencies:
- dependency-name: ts-node
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>
2022-07-28 15:11:44 -04:00
dependabot[bot]
736084ca5d
chore: bump @typescript-eslint/eslint-plugin in /site ( #3214 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.30.6 to 5.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.31.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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>
2022-07-28 15:09:51 -04:00
Mathias Fredriksson
29d44b6283
fix: Guard pty window resize after close ( #3270 )
...
Could help alleviate #3236 .
2022-07-28 19:07:11 +00:00
Denbeigh Stevens
43b8cf04f0
fix: remove pipefail from standard shell options ( #3269 )
...
This isn't well-supported by every POSIX shell anyways.
2022-07-28 18:50:04 +00:00
Presley Pizzo
73f145e45f
fix: error messages from workspaceScheduleXService ( #3255 )
...
* Update color palette
* Edit dialog error colors
* Format
* Lighten links
* Lighten link just in ErrorSummary
* Format
* Fix errors in schedule xservice
* Add error summary to form for generic message
* Format
* Extend getFormHelpers to remap field name
* Add mock error and use in storybook
* Format
2022-07-28 13:18:51 -04:00
Bruno Quaresma
1a8cce27ae
fix: Workspace schedule button on responsive ( #3264 )
2022-07-28 16:17:50 +00:00
Bruno Quaresma
2805d86ba9
chore: Replace stop icon to use pause icon ( #3261 )
2022-07-28 11:02:14 -03:00
dependabot[bot]
663d0475b9
chore: bump @typescript-eslint/parser from 5.30.6 to 5.31.0 in /site ( #3212 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.30.6 to 5.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.31.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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>
2022-07-28 09:48:58 -04:00
Spike Curtis
043768076f
Explain pty Process abstraction ( #3254 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2022-07-27 17:03:55 -07:00
Steven Masley
6230d5512e
chore: Remove line numbers from auto-gen typescript ( #3258 )
...
* chore: Remove line numbers from auto-gen typescript
The line numbers are just extra noise that change when things shift
around. They are not required and usually make CI fail when you
forget to run 'make gen'.
2022-07-27 21:36:15 +00:00
Cian Johnston
27ea415b6c
fix: remove string TTL from workspace error responses ( #3257 )
...
- Rewrites some error messages to better integrate with the frontend (ttl_ms -> time until shutdown)
- Makes codersdk.ValidationError implement the error interface
- Only return validations if the error was a validation error, return detail otherwise (e.g. database error)
2022-07-27 21:20:02 +00:00
Spike Curtis
36ffdce065
Return proper exit code on ssh with TTY ( #3192 )
...
* Return proper exit code on ssh with TTY
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix revive lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix Windows exit code for missing command
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix close error handling on agent TTY
Signed-off-by: Spike Curtis <spike@coder.com >
2022-07-27 14:23:28 -05:00
Presley Pizzo
a37e61a099
fix: make text colors legible ( #3250 )
...
* Update color palette
* Edit dialog error colors
* Format
* Lighten links
* Lighten link just in ErrorSummary
* Format
2022-07-27 13:49:03 -04:00
Mathias Fredriksson
46564fb470
fix: Fix goleak in cli TestSSH tests ( #3253 )
...
Commands are now also run with contexts that time out.
Work towards #3221 .
2022-07-27 17:33:00 +00:00
Mathias Fredriksson
a0320f455a
fix: Close notifier Poll goroutine on stop ( #3252 )
...
Fix towards #3221 .
2022-07-27 20:26:13 +03:00
Cian Johnston
6377f17fda
chore: update terraform to 1.2.1 ( #3243 )
...
* chore: update terraform to 1.2.1
* allow terraform version equal to max
2022-07-27 17:11:38 +01:00
Mathias Fredriksson
d27076cac7
fix: Improve coder server shutdown procedure ( #3246 )
...
* fix: Improve `coder server` shutdown procedure
This commit improves the `coder server` shutdown procedure so that all
triggers for shutdown do so in a graceful way without skipping any
steps.
We also improve cancellation and shutdown of services by ensuring
resources are cleaned up at the end.
Notable changes:
- We wrap `cmd.Context()` to allow us to control cancellation better
- We attempt graceful shutdown of the http server (`server.Shutdown`)
because it's less abrupt (compared to `shutdownConns`)
- All exit paths share the same shutdown procedure (except for early
exit)
- `provisionerd`s are now shutdown concurrently instead of one at a
time, the also now get a new context for shutdown because
`cmd.Context()` may be cancelled
- Resources created by `newProvisionerDaemon` are cleaned up
- Lifecycle `Executor` exits its goroutine on context cancellation
Fixes #3245
2022-07-27 18:21:21 +03:00
Mathias Fredriksson
bb05b1f749
fix: Use slog for devtunnel logging ( #3248 )
...
Ensures standardized logging for server.
2022-07-27 18:05:47 +03:00
Mathias Fredriksson
cef622d77c
fix: Order database queries for templates ( #3249 )
...
* fix: Order database queries for templates
Fixes a race in a test where the order of templates varies.
* fix: Add sorting to databasefake as well
2022-07-27 15:04:29 +00:00
Ammar Bandukwala
5802c29c38
docs: add versions ( #3147 )
...
Resolves #3111
2022-07-27 10:52:18 -04:00
Spike Curtis
f310aeb4cb
Disable skipping job acquire log ( #3240 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2022-07-26 16:36:45 -07:00
Abhineet Jain
b1e0d69789
Implement basic templates versions CLI ( #3145 )
2022-07-26 18:31:17 -04:00
Dean Sheather
df20dd7374
feat: improve coder users show output, add json format ( #3176 )
2022-07-26 15:47:12 -05:00
Bruno Quaresma
aaf0da27ef
chore: Update viewport to support responsive ( #3233 )
2022-07-26 17:33:46 -03:00
Abhineet Jain
6f93acd964
feat: make template pages responsive ( #3232 )
2022-07-26 16:31:58 -04:00
Bruno Quaresma
991b4f7480
feat: Make settings page responsive ( #3228 )
2022-07-26 19:48:41 +00:00
Bruno Quaresma
509a601efe
feat: Make users page responsive ( #3229 )
2022-07-26 16:46:43 -03:00
Abhineet Jain
0128ca6bd1
fix: manage backend authXService errors ( #3190 )
2022-07-26 15:39:45 -04:00
Dean Sheather
b19cf701c5
feat: change docker to use "coder" user and add basic Helm chart ( #2746 )
2022-07-26 13:19:29 -05:00
Bruno Quaresma
d2aa75dd0d
fix: Responsive for workspaces and workspace page ( #3189 )
2022-07-26 15:05:00 -03:00
David Wahler
fbd1a272fe
fix: Fix dangling references in provisioner/terraform/testdata ( #3193 )
2022-07-26 12:04:21 -05:00
dependabot[bot]
8115a11e58
chore: bump webpack from 5.73.0 to 5.74.0 in /site ( #3208 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.73.0 to 5.74.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.74.0 )
---
updated-dependencies:
- dependency-name: webpack
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>
2022-07-26 10:53:45 -04:00
dependabot[bot]
c8d2254028
chore: bump chromatic from 6.7.0 to 6.7.1 in /site ( #3206 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.7.0 to 6.7.1.
- [Release notes](https://github.com/chromaui/chromatic-cli/releases )
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/commits )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
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>
2022-07-26 10:53:21 -04:00
dependabot[bot]
f49b015fc7
chore: bump cronstrue from 2.5.0 to 2.11.0 in /site ( #2943 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.5.0 to 2.11.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.5.0...v2.11.0 )
---
updated-dependencies:
- dependency-name: cronstrue
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>
2022-07-26 14:52:17 +00:00
Kira Pilot
ef260faf27
fix: remove flaking test ( #3207 )
2022-07-26 10:35:13 -04:00
Mathias Fredriksson
159137dc10
fix: Use stdin/out defined in command ( #3199 )
2022-07-26 17:23:32 +03:00
dependabot[bot]
9fe260d5ea
chore: bump eslint from 8.15.0 to 8.20.0 in /site ( #3205 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.15.0 to 8.20.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.15.0...v8.20.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>
2022-07-26 10:22:52 -04:00
dependabot[bot]
8d6949a0b1
chore: bump @fontsource/ibm-plex-mono from 4.5.9 to 4.5.10 in /site ( #2944 )
...
Bumps [@fontsource/ibm-plex-mono](https://github.com/fontsource/fontsource/tree/HEAD/fonts/google/ibm-plex-mono ) from 4.5.9 to 4.5.10.
- [Release notes](https://github.com/fontsource/fontsource/releases )
- [Changelog](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fontsource/fontsource/commits/HEAD/fonts/google/ibm-plex-mono )
---
updated-dependencies:
- dependency-name: "@fontsource/ibm-plex-mono"
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>
2022-07-26 10:12:18 -04:00
dependabot[bot]
3f2cbc9b85
chore: bump @playwright/test from 1.23.2 to 1.24.1 in /site ( #3203 )
...
Bumps [@playwright/test](https://github.com/Microsoft/playwright ) from 1.23.2 to 1.24.1.
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.23.2...v1.24.1 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
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>
2022-07-26 10:11:04 -04:00
dependabot[bot]
9a3baffe43
chore: bump @pmmmwh/react-refresh-webpack-plugin in /site ( #3184 )
...
Bumps [@pmmmwh/react-refresh-webpack-plugin](https://github.com/pmmmwh/react-refresh-webpack-plugin ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/pmmmwh/react-refresh-webpack-plugin/releases )
- [Changelog](https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pmmmwh/react-refresh-webpack-plugin/compare/v0.5.6...v0.5.7 )
---
updated-dependencies:
- dependency-name: "@pmmmwh/react-refresh-webpack-plugin"
dependency-type: direct:development
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>
2022-07-26 09:54:28 -04:00
dependabot[bot]
100584d95c
chore: bump github.com/klauspost/compress from 1.15.8 to 1.15.9 ( #3162 )
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.15.8 to 1.15.9.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.15.8...v1.15.9 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
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>
2022-07-26 16:46:30 +03:00
Mathias Fredriksson
d1d89210b8
fix: Disable telemetry by default in tests ( #3200 )
...
I also noticed we don't have `goleak` enabled for CLI tests, this commit
adds it, but commented out. The reason being that we're nowhere near
being able to enable it yet.
Co-authored-by: Cian Johnston <cian@coder.com >
2022-07-26 16:27:48 +03:00
dependabot[bot]
122c6f06d8
chore: bump github.com/unrolled/secure from 1.11.0 to 1.12.0 ( #3017 )
...
Bumps [github.com/unrolled/secure](https://github.com/unrolled/secure ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/unrolled/secure/releases )
- [Commits](https://github.com/unrolled/secure/compare/v1.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: github.com/unrolled/secure
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>
2022-07-26 16:26:07 +03:00
Cian Johnston
2c0d57e8c0
fix: update reference to agent.dev in examples and docs ( #3198 )
...
* 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
2022-07-26 14:09:09 +01:00
Mathias Fredriksson
9a9912c8ce
fix: Add go.mod to prcontext and use build vs go run ( #3197 )
2022-07-26 16:04:00 +03:00
Mathias Fredriksson
0b86c8047c
fix: Close connections in agent tests ( #3196 )
2022-07-26 13:24:54 +03:00