86f89892c8
chore: bump msw from 1.1.0 to 1.2.2 in /site ( #8440 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 1.1.0 to 1.2.2.
- [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/v1.1.0...v1.2.2 )
---
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>
2023-07-12 10:26:51 -03:00
f6a8a5f7be
fix(site): prevent ExtractAPIKey from dirtying the HTML output ( #8450 )
...
If `httpmw.ExtractAPIKey` fails when we are rendering an HTML page, the
HTML output will be dirtied with the error repsonse and the HTTP status
will also be wrong.
The use of this function in the `renderHTMLWithState` is additive, and
failure means we simply can't embed static data. To fix this, we can
simply pass a `http.ResponseWriter` that is no-op.
Fixes #8351
2023-07-12 15:38:30 +03:00
e9d7a230fa
chore: server header specifies if wsproxy ( #8432 )
2023-07-12 12:07:36 +00:00
928091aa05
feat!: add table format to 'coder license ls', 'license_expires' --> 'license_expires_human' ( #8421 )
...
* feat: add table format to 'coder license ls'
* feat: license expires_at to table view
* change: `license_expires` to `license_expires_human` and `license_expires` is unix timestamp
2023-07-12 08:06:18 -04:00
2c2dd0eb83
chore: bump crate-ci/typos from v1.14.12 to v1.16.0 and fix typos ( #8455 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-12 12:01:30 +00:00
7a210d941e
chore: remove invalid dependabot config for example templates ( #8452 )
2023-07-12 14:33:57 +03:00
b4057bd74a
feat: make pgCoordinator generally available ( #8419 )
...
* pgCoord to GA, fix tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix generation and coordinator delete RBAC
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix fakeQuerier -> FakeQuerier
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-07-12 13:35:29 +04:00
2e9f3e0a6b
chore: bump the go-otel group with 4 updates ( #8437 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-07-11 17:12:59 -05:00
13b9ed3240
chore: bump google.golang.org/api from 0.129.0 to 0.130.0 ( #8438 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 20:50:23 +00:00
2c0f653aa8
chore(dogfood): give Asher more ram ( #8442 )
2023-07-11 15:24:29 -05:00
bc835dbf69
fix: use numeric comparison to check monotonicity ( #8436 )
2023-07-11 22:08:41 +02:00
d8d8eb2c8d
docs: add note on recommended Azure LB ( #8431 )
2023-07-11 18:19:45 +00:00
21597e2d69
chore: upgrade Go to 1.20.6 ( #8433 )
2023-07-11 13:06:34 -05:00
dd4aafb350
feat: add template info tags to coderd_agents_up
metric ( #7942 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-07-11 12:39:14 -05:00
398e8fdf89
fix(coderd/httpmw): handle oauth config removed for existing auth ( #8420 )
...
This commit fixes an edge case tied to unexpired oauth logins where the
oauth provider is removed, the server restarted, and the users auth
expiring after the fact.
Refs #8351 , #8352 , #8390
2023-07-11 20:29:29 +03:00
e508d9aa6e
fix(agent/usershell): check shell on darwin via dscl ( #8366 )
2023-07-11 20:27:50 +03:00
de1d04d7bb
fix(dogfood): use gcr.io/coder-dev-1/alpine mirror to fix rate limit ( #8424 )
2023-07-11 20:27:07 +03:00
704212e271
feat: expand wsproxy settings page by default ( #8428 )
...
* feat: wsproxy settings page expanded by default
* chore: warnings & defaults on proxy setting page start open
* always expanded
2023-07-11 13:15:11 -04:00
0a911d58f9
chore: change workspace proxy badge names ( #8429 )
...
* chore: "Not Reachable" --> "Not Dialable"
* chore: "Not registered" --> "Never seen"
2023-07-11 13:05:42 -04:00
f67ccc9bc0
feat: add resource_target to audit log search ( #8423 )
...
* feat: add resource_target to audit log search
2023-07-11 13:05:21 -04:00
700ec966e3
chore: use dogfood-oss image in .devcontainer ( #8231 )
...
* use dogfood-oss image in devcontainer
* fix image name
* use Dockerfile
* Discard changes to dogfood/Dockerfile
* Use features to get docker in docker
* use previleged container
* use codercom/oss-dogfood image
* add `--priviliged` to fix GitHub Codespaces builds
* remove default options
2023-07-11 10:48:34 -04:00
bc102d6bd7
feat: add cli first class validation ( #8374 )
...
* feat: add cli first class validation
* feat: add required flag to cli options
* Add unit test to catch invalid and missing flag
2023-07-11 09:59:55 -04:00
3f6a158016
chore: enable exhaustruct linter ( #8403 )
...
* chore: enable exhaustruct linter
* add exlusion rules
* move to allowlist instead
* exhaustruct httpmw package
* fixup! exhaustruct httpmw package
* make lint
* address PR comments
2023-07-11 14:30:33 +01:00
75f62dc39d
feat: add support for template version messages in api and cli ( #8336 )
2023-07-11 13:11:08 +03:00
b4a7fe3221
fix: use expires_in
field for git device refresh ( #8411 )
...
This was causing git auth to never refresh after the token
became expired after 8hrs.
2023-07-11 09:28:52 +00:00
9df80530d7
chore(cli): unhide netcheck
command ( #8412 )
2023-07-10 21:38:02 -05:00
d896b74fa2
feat(site): display build logs on workspace transitioning statuses ( #8397 )
2023-07-10 17:47:39 -03:00
b7641b219e
chore: bump the golang-x group with 4 updates ( #8400 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:33:17 -05:00
ff62f70f55
chore: bump ts-proto from 1.150.0 to 1.152.0 in /site ( #8402 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.150.0 to 1.152.0.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.150.0...v1.152.0 )
---
updated-dependencies:
- dependency-name: ts-proto
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-10 17:28:52 -03:00
000d538ace
chore: bump react-router-dom from 6.13.0 to 6.14.1 in /site ( #8398 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.13.0 to 6.14.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.14.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
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-10 17:28:40 -03:00
ecb99717ef
refactor(site) re-design proxies table ( #8410 )
2023-07-10 17:01:59 -03:00
3c2ce4f52a
refactor(site): adjust the proxy menu design ( #8409 )
2023-07-10 17:01:09 -03:00
ef836de330
fix: document workspace filter query param correctly ( #8408 )
2023-07-10 18:57:09 +00:00
cee8fde93d
chore: bump tough-cookie from 4.1.2 to 4.1.3 in /site ( #8384 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 13:36:48 -05:00
bf8af90d5a
chore: group golang.org/x/*
dependencies ( #8392 )
v0.26.0
2023-07-10 18:07:14 +03:00
2ee406d7b6
feat: log out and redirect user when converting to oidc ( #8347 )
...
* feat: log out user on conver to oidc
Log out user and redirect to login page and log out user when
they convert to oidc.
2023-07-10 10:25:41 -04:00
90a3debe3f
fix(coderd): pass oauth configs to site ( #8390 )
2023-07-10 17:23:41 +03:00
9a3d9053a0
chore: bump @types/uuid from 8.3.4 to 9.0.2 in /site ( #8377 )
...
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) from 8.3.4 to 9.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
---
updated-dependencies:
- dependency-name: "@types/uuid"
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-10 11:11:54 -03:00
19ec5789a4
chore: bump vite from 4.3.9 to 4.4.2 in /site ( #8381 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.9 to 4.4.2.
- [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/v4.4.2/packages/vite )
---
updated-dependencies:
- dependency-name: vite
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-10 11:11:10 -03:00
9a72ddf7d4
fix(enterprise/coderd): add missing fields to extract api key config ( #8393 )
2023-07-10 16:51:50 +03:00
9f2a931eb8
feat(coderd): support ephemeral parameters ( #8367 )
2023-07-10 13:44:03 +02:00
8f4157c28d
chore: go mod tidy ( #8389 )
2023-07-10 11:27:24 +00:00
b73f9d8e86
feat: add computed workspace and agent health fields to the api ( #8280 )
2023-07-10 12:40:11 +03:00
eabf929676
chore: bump actions/checkout from 2 to 3 ( #8382 )
2023-07-09 01:43:44 +03:00
0115adf9d7
chore(.golangci.yaml): make gocyclo slightly more sensitive ( #8383 )
2023-07-08 22:43:34 +00:00
d19e679c20
chore: use dependabot groups ( #8372 )
2023-07-08 17:29:47 +03:00
a297a014d6
chore: improve error message for incorrect login type ( #8349 )
...
* chore: add better error in wrong login type
2023-07-07 11:33:31 -04:00
c1ab5cf0ba
fix(cli/clistat): better handle cgroups with no limits ( #8373 )
2023-07-07 15:49:36 +01:00
f75d497c41
chore: touch ups to wsproxy UX ( #8350 )
...
* chore: update wording on wsproxy help
* chore: show help if no fields specified in wsproxy edit
* chore: Add run command example to wsproxy create
* chore: remove localhost warning
* chore: navbar match page title
* chore: Add helper text to latency picker
* chore: add confirm delete to workspace proxy delete cli
* chore: add errors + warnings to workspace proxy table
2023-07-07 10:06:11 -04:00
396e5e9a60
chore(database): fix test flake in TestUserLastSeenFilter ( #8369 )
2023-07-07 14:28:45 +01:00