Cian Johnston
571f5d0e02
chore: add log_statement=all for test-postgres-docker ( #6025 )
2023-02-03 18:58:31 +00:00
Kyle Carberry
2c2bbcc019
chore: update tests to support fish ( #6023 )
...
* fix: update tests to add fish support
* Track connections for SSH sessions to prevent leaks
* Revert SSH conn handling
2023-02-03 12:25:11 -06:00
Dean Sheather
cf9abe3a6c
feat: add session expiry control flags ( #5976 )
...
Adds --session-duration which lets admins customize the default session
expiration for browser sessions.
Adds --disable-session-expiry-refresh which allows admins to prevent
session expiry from being automatically bumped upon the API key being
used.
2023-02-03 17:38:36 +00:00
mh013370
2285a5e8a0
feat: add ability to deploy extra k8s yamls with helm chart ( #5942 )
2023-02-03 17:32:02 +00:00
Steven Masley
a750b1948b
test: Use database.Now() for UTC in all tests ( #6022 )
...
Fixes a lot of comparison issues with timezones
2023-02-03 17:13:54 +00:00
Mathias Fredriksson
95ff29c2be
test: Fix golden gen for long wd paths ( #6021 )
2023-02-03 18:43:33 +02:00
Bruno Quaresma
dffd7953bc
fix(site): Minor UI fixes related to avatar components ( #6019 )
2023-02-03 13:09:16 -03:00
Kira Pilot
6c90701a73
chore: ignore trend line in storybook ( #6003 )
2023-02-03 09:05:38 -05:00
Steven Masley
aab9e3a0f7
chore: Add more objects to dbgen ( #6013 )
...
* chore: Add WorkspaceApps to dbgen
* GitSSHKey, UserLink, GitAuthLink
2023-02-03 09:34:35 +00:00
Steven Masley
fd2f9dc176
test: Fix unit test to use dbfake over databasefake ( #6014 )
2023-02-03 03:55:26 +00:00
Kyle Carberry
381d6674ca
chore: add install_source to telemetry ( #6008 )
...
This will help determine the number of installs from marketplaces!
2023-02-03 01:30:54 +00:00
Steven Masley
8b424f03c2
chore: Rename databasefake --> dbfake ( #6011 )
2023-02-02 19:28:55 -06:00
Bruno Quaresma and Kyle Carberry
f60f06e2c6
fix(site): Only display fields with redisplay enabled during workspace creation ( #6004 )
...
* fix(site): Only display fields with redisplay_value during workspace creation
* Fix test
---------
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-02-03 01:28:47 +00:00
Steven Masley
2384e9c565
fix: Do not try and write to malformed ssh configs ( #6000 )
...
Abort writing the ssh config if it has:
- Out of order coder headers
- More than 1 of each coder header
- Missing 1 or the other coder header
2023-02-02 19:23:42 -06:00
Ben Potter
c16b93847a
feat: build Packer images every release ( #6009 )
2023-02-03 01:01:06 +00:00
Steven Masley
2478012827
chore: Add organizationmember and parameter gen functions ( #6007 )
2023-02-02 18:24:59 -06:00
Steven Masley
41e52310bf
chore: Add more dbgen functions ( #6005 )
2023-02-02 17:21:29 -06:00
Steven Masley
5fe4819669
chore: Pass through AllowUserCancelWorkspaceJobs value to fake db insert ( #6006 )
2023-02-02 23:08:57 +00:00
Kyle Carberry
a5e8911d67
fix: index template versions by template and name ( #5993 )
...
* fix: index template versions by template and name
We were incorrectly returning template versions by name relative
to organizations. This could result in an incorrect version being
returned if multiple templates had versions with the same name.
* Fix auth referencing
* Fix route location
* Fix authorize route name
* Fix previous call
* Fix authorize route name
2023-02-02 15:47:53 -06:00
Bruno Quaresma
ea7e55fcf9
refactor(site): Adjust icon sizes and show password btn in login page ( #5992 )
2023-02-02 18:28:30 -03:00
Bruno Quaresma
9ff313a260
refactor(site): Remove version and add template link in workspaces page ( #5990 )
2023-02-02 18:27:56 -03:00
Kira Pilot
a70e722e7f
fix: hide IP on workspace build logs ( #5997 )
2023-02-02 20:22:36 +00:00
Kyle Carberry
2fab310ca4
fix: match ubuntu tags on dogfood ( #5996 )
...
* fix: match ubuntu tags on dogfood
golangci-lint needs GLIBC>=2.32 which made me notice
that we're building binaries on a difference Ubuntu
version than we dev on.
* Fix sources
2023-02-02 13:58:53 -06:00
Colin Adler
496138b086
feat: assign users to groups returned by OIDC provider ( #5965 )
2023-02-02 19:53:48 +00:00
Kyle Carberry and Colin Adler
026b1cd2a4
chore: update to go 1.20 ( #5968 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-02-02 12:36:27 -06:00
Bruno Quaresma
4df1031f8b
refactor(site): Add press any key option to reconnect on terminal screen ( #5969 )
2023-02-02 15:19:18 -03:00
Bruno Quaresma
7b49517c18
refactor(site): Add more info on agent outdated tooltip and update action ( #5967 )
2023-02-02 15:18:59 -03:00
dependabot[bot]
5f089cb5eb
chore: bump aquasecurity/trivy-action from 0.5.0 to 0.8.0 ( #5944 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.5.0 to 0.8.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/7b7aa264d83dc58691451798b4d117d53d21edfe...9ab158e8597f3b310480b9a69402b419bc03dbd5 )
---
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-02-02 12:11:09 -06:00
dependabot[bot]
5d9263f050
chore: bump chromatic from 6.11.4 to 6.15.0 in /site ( #5954 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.11.4 to 6.15.0.
- [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/compare/v6.11.4...v6.15.0 )
---
updated-dependencies:
- dependency-name: chromatic
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-02-02 12:06:51 -06:00
dependabot[bot]
e6426d477f
chore: bump google.golang.org/grpc from 1.51.0 to 1.52.3 ( #5949 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.51.0 to 1.52.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.51.0...v1.52.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
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-02-02 12:05:41 -06:00
dependabot[bot]
f5242be0d1
chore: bump github.com/valyala/fasthttp from 1.43.0 to 1.44.0 ( #5951 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.43.0...v1.44.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
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-02-02 12:05:30 -06:00
Kyle Carberry
944c9f6307
chore: downgrade linux runner size to 8 cores ( #5984 )
...
I doubt the difference in speed is worth the 2x cost.
2023-02-02 12:00:19 -06:00
Kyle Carberry
be00e2541c
chore: remove unused workspace_owner_count field ( #5958 )
...
This added unnecessary database load, because it's not used!
2023-02-02 17:59:43 +00:00
dependabot[bot]
92c5be971c
chore: bump @typescript-eslint/eslint-plugin in /site ( #5955 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.38.1 to 5.50.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.50.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>
2023-02-02 11:45:48 -06:00
dependabot[bot]
c4b70f3ae1
chore: bump eslint from 8.29.0 to 8.33.0 in /site ( #5956 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.29.0 to 8.33.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.29.0...v8.33.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-02-02 11:45:29 -06:00
dependabot[bot]
57ad53c850
chore: bump github.com/moby/moby ( #5947 )
...
Bumps [github.com/moby/moby](https://github.com/moby/moby ) from 20.10.21+incompatible to 20.10.23+incompatible.
- [Release notes](https://github.com/moby/moby/releases )
- [Commits](https://github.com/moby/moby/compare/v20.10.21...v20.10.23 )
---
updated-dependencies:
- dependency-name: github.com/moby/moby
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-02-02 11:44:55 -06:00
dependabot[bot]
f545586320
chore: bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0 ( #5945 )
...
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck ) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases )
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/1.1.0...2.0.0 )
---
updated-dependencies:
- dependency-name: ludeeus/action-shellcheck
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-02-02 11:44:43 -06:00
dependabot[bot]
e8e61250a6
chore: bump docker/build-push-action from 3 to 4 ( #5946 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
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-02-02 11:44:27 -06:00
dependabot[bot]
445811b0e0
chore: bump golang.org/x/crypto from 0.3.0 to 0.5.0 ( #5950 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.3.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
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-02-02 11:44:14 -06:00
Kyle Carberry
b9b402cd0c
feat!: generate a self-signed certificate if no certificates are specified ( #5973 )
...
* feat: generate a self-signed certificate if no certificates are specified
Clouds like AWS automatically navigate to https://<ip-here>. This
allows us to bind to that immediately, serve a self-signed certificate,
then reroute to the access URL.
* Add new flag and deprecate old one
* Fix redirect if not using tunnel
* Add deprecation notice
* Fix TLS redirect
* Run `make gen`
* Fix bad test
* Fix gen
v0.16.0
2023-02-02 17:08:35 +00:00
Marcin Tojek
e27f7accd7
feat: Group immutable and mutable rich parameters ( #5975 )
2023-02-02 18:01:18 +01:00
Steven Masley
ab1f6ce090
fix: Deleting a user from a group should only delete from a single group ( #5977 )
2023-02-02 09:46:42 -06:00
Marcin Tojek
271d68c862
feat: Disallow using legacy params with rich params ( #5974 )
...
* feat: Disallow using legacy params with rich params
* Fix
* nolint
2023-02-02 16:44:57 +01:00
Bruno Quaresma
01ebfdc9dd
fiix(site): Fix custom logo size in Safari ( #5966 )
2023-02-02 10:42:05 -03:00
Bruno Quaresma
c9f3acabd3
fix(site): Don't hide/show errors during requests ( #5962 )
2023-02-02 10:38:05 -03:00
Bruno Quaresma
8ef0306c08
Revert "docs: Change console to shell and remove unused elements ( #5960 )" ( #5964 )
...
This reverts commit 61dcf643e8 .
2023-02-01 17:05:45 -03:00
Ben Potter
936bd5b231
chore: fix broken link in offline docs
2023-02-01 13:16:46 -06:00
Ben Potter
bca6244c4e
chore: change docs links to latest release
2023-02-01 13:14:49 -06:00
Bruno Quaresma
61dcf643e8
docs: Change console to shell and remove unused elements ( #5960 )
2023-02-01 18:27:11 +00:00
Mathias Fredriksson
e6f5623627
chore: Rename agent statistics server to http api server ( #5961 )
2023-02-01 20:05:57 +02:00