Steven Masley
b96ac677f1
chore: add organization search query to workspaces ( #14474 )
...
* chore: add organization search query to workspaces
2024-08-28 15:18:45 -05:00
Steven Masley
54fe082551
chore: implement filters for the organizations query ( #14468 )
...
Required for organization sync. Allows fetching a filtered set of orgs.
2024-08-28 13:24:28 -05:00
dependabot[bot] and BrunoQuaresma
7667d64686
chore: bump the mui group across 1 directory with 6 updates ( #14400 )
...
* chore: bump the mui group across 1 directory with 6 updates
Bumps the mui group with 6 updates in the /site directory:
| Package | From | To |
| --- | --- | --- |
| [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material ) | `5.16.0` | `5.16.7` |
| [@mui/lab](https://github.com/mui/material-ui/tree/HEAD/packages/mui-lab ) | `5.0.0-alpha.129` | `5.0.0-alpha.173` |
| [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material ) | `5.16.0` | `5.16.7` |
| [@mui/system](https://github.com/mui/material-ui/tree/HEAD/packages/mui-system ) | `5.16.0` | `5.16.7` |
| [@mui/utils](https://github.com/mui/material-ui/tree/HEAD/packages/mui-utils ) | `5.16.0` | `5.16.6` |
| [@mui/x-tree-view](https://github.com/mui/mui-x/tree/HEAD/packages/x-tree-view ) | `7.9.0` | `7.13.0` |
Updates `@mui/icons-material` from 5.16.0 to 5.16.7
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.7/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.7/packages/mui-icons-material )
Updates `@mui/lab` from 5.0.0-alpha.129 to 5.0.0-alpha.173
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/next/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/HEAD/packages/mui-lab )
Updates `@mui/material` from 5.16.0 to 5.16.7
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.7/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.7/packages/mui-material )
Updates `@mui/system` from 5.16.0 to 5.16.7
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.7/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.7/packages/mui-system )
Updates `@mui/utils` from 5.16.0 to 5.16.6
- [Release notes](https://github.com/mui/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.6/CHANGELOG.md )
- [Commits](https://github.com/mui/material-ui/commits/v5.16.6/packages/mui-utils )
Updates `@mui/x-tree-view` from 7.9.0 to 7.13.0
- [Release notes](https://github.com/mui/mui-x/releases )
- [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mui/mui-x/commits/v7.13.0/packages/x-tree-view )
---
updated-dependencies:
- dependency-name: "@mui/icons-material"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/lab"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/material"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/system"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/utils"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mui
- dependency-name: "@mui/x-tree-view"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mui
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix breaking changes
* Fix fmt
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-08-28 15:19:05 -03:00
Danny Kopping
f24cb5cc96
fix: prevent test flakiness ( #14467 )
...
Signed-off-by: Danny Kopping <danny@coder.com >
2024-08-28 16:33:27 +02:00
Ethan
c597c9260d
fix: wait for provisioner daemon jobs to finish after sigterm ( #14466 )
2024-08-28 20:16:15 +10:00
Danielle Maywood
839918c5e7
chore(docs): document agent api debug endpoints ( #14454 )
...
* chore(docs): add agent api debug docs
* chore(docs): add sections to agent api readme
* chore(docs): link debug manifest to agentsdk.Manifest schema
* chore(docs): add high level overview of agent api debug docs
* chore(docs): link to agent api docs from reference
* chore(docs): fix invalid paths
* chore(docs): use env variable for coder agent debug address
2024-08-28 09:47:14 +01:00
Ethan
8c15192433
feat(cli): add p2p diagnostics to ping ( #14426 )
...
First PR to address #14244 .
Adds common potential reasons as to why a direct connection to the workspace agent couldn't be established to `coder ping`:
- If the Coder deployment administrator has blocked direction connections (`CODER_BLOCK_DIRECT`).
- If the client has no STUN servers within it's DERP map.
- If the client or agent appears to be behind a hard NAT, as per Tailscale `netInfo.MappingVariesByDestIP`
Also adds a warning if the client or agent has a network interface below the 'safe' MTU for tailnet. This warning is always displayed at the end of a `coder ping`.
2024-08-28 15:39:01 +10:00
Kayla Washburn-Love
b36d979a60
chore: add provisioner api version to /buildinfo ( #14446 )
2024-08-27 13:40:51 -06:00
dependabot[bot]
f3c76ce244
chore: bump eslint-config-next from 14.0.1 to 14.2.6 in /offlinedocs ( #14402 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 14.0.1 to 14.2.6.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v14.2.6/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
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>
2024-08-27 13:39:25 -06:00
Ethan
63fe2305f8
fix: detect nested dotfiles scripts ( #14455 )
2024-08-28 02:14:23 +10:00
Marcin Tojek
47f2c7d683
feat: notify about manual failed builds ( #14419 )
2024-08-27 14:35:28 +00:00
Ethan
0afff43f9d
chore: remove dogfood import block ( #14449 )
2024-08-27 06:28:25 +00:00
Asher
499769187b
fix: increase group name limit to 36 from 32 ( #14443 )
2024-08-26 11:38:31 -08:00
Asher
88d7181a47
fix: filter "add group member" by organization ( #14404 )
...
This is accomplished by using the members endpoint instead of the users
endpoint, and to that end the UserAutocomplete component has been
reworked to support either endpoint as separate components with a shared
base.
* Add Storybook for groups page
This ensures it is using the right endpoint for the add member dropdown.
* Add ability to mock react-query errors
2024-08-26 11:13:34 -08:00
Asher
83f9ea17b4
chore: update organizations doc link ( #14361 )
2024-08-26 10:40:18 -08:00
Steven Masley
93eef7b542
chore: keep entitlements in the options only, simplify fields ( #14434 )
...
* chore: refactor entitlements to keep it in just the options
Duplicating the reference did not feel valuable, just confusing
2024-08-26 13:05:03 -05:00
Jaayden Halko
fb6b954222
chore: update secondary and disabled text colors ( #14355 )
2024-08-26 12:22:32 -04:00
Garrett Delfosse
ded612d3ec
fix: use authenticated urls for pubsub ( #14261 )
2024-08-26 15:04:04 +00:00
Cian Johnston
6914862903
fix(cli): add check for DisableOwnerWorkspaceExec in scaletest ( #14417 )
...
- Adds `--use-host-login` to `coder exp scaletest workspace-traffic`
- Modifies getScaletestWorkspaces to conditionally filter workspaces if `CODER_DISABLE_OWNER_WORKSPACE_ACCESS` is set
- Adds a warning if `CODER_DISABLE_OWNER_WORKSPACE_ACCESS` is set and scaletest workspaces are filtered out due to ownership mismatch.
- Modifies `coderdtest.New` to detect cross-test bleed of `CODER_DISABLE_OWNER_WORKSPACE_ACCESS` and fast-fail.
2024-08-26 12:02:54 +01:00
Steven Masley
c8eacc6df7
chore!: allow CreateUser to accept multiple organizations ( #14383 )
...
* chore: allow CreateUser to accept multiple organizations
In a multi-org deployment, it makes more sense to allow for multiple
org memberships to be assigned at create. The legacy param will still
be honored.
* Handle sdk deprecation better by maintaining cli functions
2024-08-23 21:23:51 +00:00
Steven Masley
af125c3795
chore: refactor entitlements to be a safe object to use ( #14406 )
...
* chore: refactor entitlements to be passable as an argument
Previously, all usage of entitlements requires mutex usage on the
api struct directly. This prevents passing the entitlements to
a sub package. It also creates the possibility for misuse.
2024-08-23 16:21:58 -05:00
Steven Masley
cb6a47227f
chore: implement generalized symmetric difference for set comparison ( #14407 )
...
* chore: implement generalized symmetric difference for set comparison
Going to be used in Organization Sync + maybe group sync. Felt
better to reuse, rather than copy
2024-08-23 14:52:35 -05:00
Cian Johnston
4bd7fe8506
fix(examples/templates/gcp-devcontainer): fix location of env file ( #14422 )
2024-08-23 17:46:02 +01:00
53e5746636
feat(examples/templates/gcp-devcontainer): add envbuilder provider ( #14405 )
...
This PR modifies the gcp-devcontainer example template to include
support for devcontainer caching using the envbuilder provider.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-08-23 17:36:24 +01:00
Danny Kopping
a4d785dec5
chore: use idiomatic test setup in notification tests ( #14416 )
2024-08-23 16:29:27 +02:00
Cian Johnston
d4adfa3902
fix(coderd/database/dbmem): include a technical summary row on over-pagination ( #14415 )
2024-08-23 13:16:55 +01:00
Cian Johnston
99e103e790
feat(coderd/coderdtest): allow mutating deployment values ( #14414 )
2024-08-23 12:15:22 +01:00
Ethan
4cc26be5ec
fix: set network telemetry client version on server ( #14376 )
2024-08-23 06:17:28 +00:00
Kayla Washburn-Love
5710a98714
chore: update @types/node and fix vite warning ( #14403 )
2024-08-22 16:44:14 -06:00
dependabot[bot]
b0084e2229
chore: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.1 ( #14379 )
...
* chore: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.1
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.19.1 to 1.20.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.1/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.1 )
---
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 >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 01:40:07 +03:00
Spike Curtis
d52bc91e48
chore: add dbauthz to unhanger tests ( #14394 )
2024-08-22 22:23:52 +04:00
dependabot[bot]
337ee3544b
chore: bump eslint from 8.56.0 to 8.57.0 in /offlinedocs ( #14294 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.56.0 to 8.57.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.56.0...v8.57.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>
2024-08-22 19:59:12 +03:00
dependabot[bot] and BrunoQuaresma
aeb4040958
chore: bump the emotion group across 1 directory with 3 updates ( #14396 )
...
* chore: bump the emotion group across 1 directory with 3 updates
Bumps the emotion group with 3 updates in the /site directory: [@emotion/css](https://github.com/emotion-js/emotion ), [@emotion/react](https://github.com/emotion-js/emotion ) and [@emotion/styled](https://github.com/emotion-js/emotion ).
Updates `@emotion/css` from 11.11.2 to 11.13.0
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/css@11.11.2...@emotion/css@11.13.0 )
Updates `@emotion/react` from 11.11.4 to 11.13.3
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/react@11.11.4...@emotion/react@11.13.3 )
Updates `@emotion/styled` from 11.11.5 to 11.13.0
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/styled@11.11.5...@emotion/styled@11.13.0 )
---
updated-dependencies:
- dependency-name: "@emotion/css"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: emotion
- dependency-name: "@emotion/react"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: emotion
- dependency-name: "@emotion/styled"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: emotion
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix lint
* Fix type
* Fix fmt
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-08-22 13:46:59 -03:00
Marcin Tojek
c818b4ddd4
feat: add notification for suspended/activated account ( #14367 )
...
* migrations
* notify
* fix
* TestNotifyUserSuspended
* TestNotifyUserReactivate
* post merge
* fix escape
* TestNotificationTemplatesCanRender
* links and events
* notifyEnq
* findUserAdmins
* notifyUserStatusChanged
* go build
* your and admin
* tests
* refactor
* 247
* Danny's review
2024-08-22 13:52:25 +02:00
dependabot[bot]
046c1c4228
chore: bump the vite group across 1 directory with 3 updates ( #14281 )
...
Bumps the vite group with 3 updates in the /site directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ), [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker ) and [vite-plugin-turbosnap](https://github.com/IanVS/vite-plugin-turbosnap ).
Updates `vite` from 5.3.3 to 5.4.1
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.1/packages/vite )
Updates `vite-plugin-checker` from 0.7.1 to 0.7.2
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases )
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.7.1...vite-plugin-checker@0.7.2 )
Updates `vite-plugin-turbosnap` from 1.0.2 to 1.0.3
- [Release notes](https://github.com/IanVS/vite-plugin-turbosnap/releases )
- [Commits](https://github.com/IanVS/vite-plugin-turbosnap/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: vite
- dependency-name: vite-plugin-checker
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: vite
- dependency-name: vite-plugin-turbosnap
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: vite
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 14:18:35 +03:00
dependabot[bot]
3e5cfa9e45
chore: bump msw from 2.2.3 to 2.3.5 in /site ( #14138 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 2.2.3 to 2.3.5.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v2.2.3...v2.3.5 )
---
updated-dependencies:
- dependency-name: msw
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>
2024-08-22 14:17:49 +03:00
dependabot[bot]
fbec45b807
chore: bump pretty-bytes from 6.1.0 to 6.1.1 in /site ( #14301 )
...
Bumps [pretty-bytes](https://github.com/sindresorhus/pretty-bytes ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/sindresorhus/pretty-bytes/releases )
- [Commits](https://github.com/sindresorhus/pretty-bytes/compare/v6.1.0...v6.1.1 )
---
updated-dependencies:
- dependency-name: pretty-bytes
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>
2024-08-22 14:17:13 +03:00
Danny Kopping
cc944209ae
fix: include provisioner timing action in hash func ( #14388 )
2024-08-22 12:31:50 +02:00
Cian Johnston and Danny Kopping
82e6070c7a
fix(cli): ensure that the support bundle command does not panic on zero values ( #14392 )
...
We try to write a cute little summary at the end of the bundle, but that could panic if some of the fields of the bundle were nil. Adds a test that essentially ensures nil values in a bundle, and ensures that it can be handled without losing our towels.
Co-authored-by: Danny Kopping <danny@coder.com >
2024-08-22 11:15:02 +01:00
Ethan
3514ca3476
chore: skip completion install prompts in non-interactive shells ( #14391 )
2024-08-22 15:40:53 +10:00
Dean Sheather
e8c59a1d9d
chore: avoid flake in resume token test ( #14378 )
2024-08-22 13:27:43 +10:00
Ethan
d7800a43e9
docs: add coderd terraform provider ( #14374 )
2024-08-22 13:03:33 +10:00
Stephen Kirby
9f4f88f38c
version-flags ( #14386 )
2024-08-21 13:24:35 -05:00
Steven Masley
a359879af5
chore: scope workspace quotas to organizations ( #14352 )
...
* chore: scope workspace quotas to organizations
Quotas are now a function of (user_id, organization_id). They are
still sourced from groups. Deprecate the old api endpoint.
2024-08-21 09:25:20 -05:00
Danny Kopping
fa733318e0
Add missing content ( #14380 )
2024-08-21 12:46:11 +00:00
Danny Kopping
6960d194ae
feat: add provisioning timings to understand slow build times ( #14274 )
2024-08-21 14:18:58 +02:00
Danny Kopping
9c8c6a952d
feat: add notification deduplication trigger ( #14172 )
2024-08-21 11:18:03 +02:00
Ethan
d9f419308a
chore(dogfood): use remote tf state ( #14363 )
2024-08-21 12:46:28 +10:00
Jon Ayers
b6d35edebd
chore: remove meticulous from CI ( #14369 )
2024-08-20 14:13:13 -04:00
Kayla Washburn-Love
03f05e25f6
chore(site): make info gray ( #14356 )
2024-08-20 11:59:23 -06:00