Cian Johnston
435c67ab75
refactor(cli)!: move scaletest to exp/scaletest ( #8339 )
...
* refactor(cli): mv scaletest exp/scaletest
* make gen
2023-07-07 09:10:14 +01:00
Colin Adler
ccea595b39
chore: temporarily skip prisma scan ( #8355 )
2023-07-07 00:48:29 +00:00
Colin Adler
6079cda851
chore(dogfood): add docker compose ( #8354 )
2023-07-06 19:46:40 -05:00
Colin Adler
9a0ba1bdc3
fix(coderd): remove CREATE INDEX CONCURRENTLY from migrations ( #8353 )
2023-07-06 16:44:29 -05:00
Steven Masley
2ebd0ec6c5
fix: resolve nil pointer dereference on missing oauth config ( #8352 )
2023-07-06 16:46:22 -04:00
Steven Masley
9f5bc7c10b
feat: add --branch option to clone or checkout different dotfiles branch ( #8331 )
...
* feat: --branch option to clone different dotfiles branch
* chore: checkout specified branch if dotfiles already exist
2023-07-06 20:24:04 +00:00
Muhammad Atif Ali
5bb6bc5571
chore: update fly.io example to remove deprecated parameters ( #8194 )
...
* chore: update fly.io example to remove deprecated parameters
* `make fmt`
* update provider version
2023-07-06 10:20:23 -04:00
Bruno Quaresma
a33a255885
chore: upgrade node version on CI to match workspace version ( #8340 )
2023-07-06 14:04:29 +00:00
Colin Adler
33bdc23e1d
chore(site): fix node vulnerabilities ( #8330 )
...
* chore: fix node vulnerabilities
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
https://github.com/advisories/GHSA-j8xg-fqg3-53r7
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
2023-07-06 10:26:55 -03:00
Mathias Fredriksson
4a13c58077
test(pty/ptytest): fix error message on deadline exceeded ( #8337 )
2023-07-06 16:18:03 +03:00
Mathias Fredriksson
814534d6b7
fix(enterprise/audit): improve error message for missing action ( #8335 )
2023-07-06 15:43:32 +03:00
Cian Johnston
7fcf319e01
fix(cli)!: protect client Logger and refactor cli scaletest tests ( #8317 )
...
- (breaking) Protects Logger and LogBodies fields of codersdk.Client with its mutex. This addresses a data race in cli/scaletest.
- Fillets the existing cli/createworkspaces unit test and moves the testing logic there into the tests under scaletest/createworkspaces.
- Adds testutil.RaceEnabled bool const and conditionaly skips previously-skipped tests under scaletest/ if the race detector is enabled. This is unfortunate and sad, but I would prefer to have these tests at least running without the race detector than not running at all.
- Adds IgnoreErrors option to fake in-memory agent loggers; having the agents fail the test immediately when they encounter any sort of error isn't really helpful.
2023-07-06 09:43:39 +01:00
Mathias Fredriksson
1d746b901b
fix(Makefile): add dbmock to swagger deps and improve performance ( #8332 )
2023-07-06 10:59:08 +03:00
Mathias Fredriksson
3f058f28e7
test(agent): use afero for motd tests to allow parallel execution ( #8329 )
2023-07-06 10:57:51 +03:00
Marcin Tojek
c6fcd7ee93
fix: report failed CompletedJob ( #8318 )
2023-07-06 07:26:33 +00:00
Marcin Tojek
45eca671fe
feat: delay pending-in-queue banner ( #8309 )
2023-07-06 09:13:25 +02:00
Ben Potter and Eric
d843735c02
docs: explain Template inheritance with Terraform modules ( #8328 )
...
* docs: explain Template inheritance with Terraform modules
* make fmt & title renaming
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
v0.25.0
2023-07-05 15:06:16 -04:00
Colin Adler
c0835c443d
chore: pin terraform to 1.5.2 ( #8322 )
...
The Alpine ARM builders are no longer behind on releases.
2023-07-05 12:59:58 -05:00
Steven Masley
418c9b8743
docs: update template acl example params ( #8320 )
...
Param examples were unhelpful
2023-07-05 17:24:21 +00:00
Steven Masley
4a008a8f34
chore: prevent nil dereferences on cmd handlers ( #8319 )
...
* chore: detect nil cmd handlers
Prevent nil panic dereferences on cmd handlers. Add a unit test
to prevent future mistakes
2023-07-05 17:20:12 +00:00
Steven Masley
d70e2d97de
chore: use correct prettier version in ci ( #8321 )
...
Install prettier in package.json + yarn.lock. Global install was using incorrect version
2023-07-05 13:11:08 -04:00
Steven Masley
0f5a1ad480
feat: add spinner to latencies when refetching ( #8278 )
...
* feat: add spinner to latencies when refetching
2023-07-05 13:06:09 -04:00
Steven Masley
9a7705c656
feat: generate a new session with coder login --token ( #8275 )
...
* feat: coder login --token generates a new session
Makes sure /logout does not delete the inputted token
* flag to enable previous behavior if needed
2023-07-05 08:59:38 -04:00
Mathias Fredriksson
88c35d3f04
fix(pty): close output writer before reader on Windows to unblock close ( #8299 )
2023-07-05 15:25:07 +03:00
Colin Adler
59246e054f
chore(dogfood): add libssl-dev to image ( #8312 )
2023-07-05 00:24:32 -05:00
sharkymark and Ben
65112ecc04
docs: update examples of IDEs: remove JetBrains Projector and add VS Code Server ( #8310 )
...
* docs: remove mention of jetbrains projector; add vs code server web IDE example
* fmt
---------
Co-authored-by: Ben <me@bpmct.net >
2023-07-04 13:27:49 +00:00
dependabot[bot]
647fd7699b
chore: bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 ( #8300 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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-07-03 13:00:37 -05:00
dependabot[bot]
865f49af35
chore: bump github.com/gohugoio/hugo from 0.114.1 to 0.115.0 ( #8301 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.114.1 to 0.115.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.114.1...v0.115.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-07-03 13:00:31 -05:00
dependabot[bot]
2fc8a275fe
chore: bump google.golang.org/api from 0.128.0 to 0.129.0 ( #8303 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.128.0 to 0.129.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.128.0...v0.129.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-07-03 13:00:15 -05:00
dependabot[bot]
82a6405bfa
chore: bump golang.org/x/tools from 0.9.3 to 0.10.0 ( #8304 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.9.3...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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-07-03 13:00:05 -05:00
Jon Ayers
4a9c8f407a
feat: add auto-locking/deleting workspace based on template config ( #8240 )
2023-07-02 21:29:52 -05:00
dependabot[bot]
818c4a7f23
chore: bump yup from 0.32.11 to 1.2.0 in /site ( #8287 )
...
Bumps [yup](https://github.com/jquense/yup ) from 0.32.11 to 1.2.0.
- [Release notes](https://github.com/jquense/yup/releases )
- [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jquense/yup/compare/v0.32.11...v1.2.0 )
---
updated-dependencies:
- dependency-name: yup
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:43 -05:00
dependabot[bot]
2af41a439b
chore: bump @vitejs/plugin-react from 2.1.0 to 4.0.1 in /site ( #8288 )
...
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) from 2.1.0 to 4.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.1/packages/plugin-react )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:36 -05:00
dependabot[bot]
2899b9431d
chore: bump monaco-editor from 0.38.0 to 0.39.0 in /site ( #8289 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.38.0 to 0.39.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
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-07-02 10:32:30 -05:00
dependabot[bot]
c19541e28f
chore: bump eslint-plugin-unicorn from 44.0.0 to 47.0.0 in /site ( #8291 )
...
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 44.0.0 to 47.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.0...v47.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:19 -05:00
Jon Ayers
681e2db9ec
Revert "fix: add front-end fixes for minor workspace action bugs ( #8252 )" ( #8286 )
...
This reverts commit c569528fb7 .
2023-06-30 20:26:38 -05:00
Muhammad Atif Ali
83bee35c36
chore: prevent running ci when other workflows are updated ( #8285 )
2023-06-30 22:38:50 +00:00
Muhammad Atif Ali
dad4876e90
chore: react to deploy-pr comment ( #8284 )
2023-06-30 22:25:23 +00:00
Asher
6015319e9d
feat: show service banner in SSH/TTY sessions ( #8186 )
...
* Allow workspace agents to get appearance
* Poll for service banner every two minutes
* Show service banner before MOTD if not quiet
2023-06-30 10:41:29 -08:00
Steven Masley
eb0497ff82
feat: fetch proxy latencies at most once per 30s ( #8277 )
...
* feat: fetch proxy latencies at most once per 30s
2023-06-30 12:45:02 -04:00
Steven Masley
f0bd258ff1
feat: move proxy settings page to deployment options ( #8246 )
...
* feat: Move workspace proxy page to deployment options
Workspace proxy settings page is now an admin feature
* WorkspaceProxy response extends region
2023-06-30 11:32:35 -04:00
Cian Johnston
1e8cc2ca8d
feat: scaletest: scale down nodegroups by default ( #8276 )
...
* feat: allow scaling down scaletest environments
* fix bugged namespace deletion
* misc fixes to scaletest.sh
* destroy namespaces is a no-op as the cluster will be gone anyway
2023-06-30 16:07:47 +01:00
Cian Johnston
a6bd85df38
feat: scaletest: add Grafana dashboard for scale testing ( #8274 )
...
* feat: scaletest: add Grafana dashboard for scale testing
Fixes #7600 .
* make fmt
2023-06-30 14:04:46 +00:00
Kira Pilot
c569528fb7
fix: add front-end fixes for minor workspace action bugs ( #8252 )
...
* fix: incorrect copy on inactivity_ttl field
* disabling locked fields unless inactivity TTL is set
* scoping inactivity dialog message to template
* fixed pluralization for inactivity dialog
* amending logic gate to show inactivity dialog
* fixed pagination bug
2023-06-30 09:45:44 -04:00
Steven Masley
9f76dab348
chore: Bump migration to remove conflict ( #8273 )
2023-06-30 13:12:40 +00:00
Cian Johnston
8b2d4b87fc
fix: examples/lima: use new parameter name when creating template ( #8272 )
2023-06-30 12:45:47 +00:00
Steven Masley and Bruno Quaresma
b5f26d9bdf
feat: add ability for users to convert their password login type to oauth/github login ( #8105 )
...
* Currently toggled by experiment flag
---------
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2023-06-30 08:38:48 -04:00
Cian Johnston
357f3b38f7
fix: scaletest: mount CODER_CACHE volume under /tmp ( #8271 )
...
Mounting the CODER_CACHE volume under /tmp/coder causes
template creation to fail due to read-only tmp dir.
2023-06-30 12:48:34 +01:00
Marcin Tojek
6639c69fad
feat: add "display_order" column to coder_parameter to keep parameters sorted in UI ( #8227 )
2023-06-30 12:41:55 +02:00
Colin Adler
72a48bee52
fix: pin datadog-ci version ( #8270 )
2023-06-30 03:42:13 +00:00