1f9bdc36bf
fix: ignore yamux.ErrSessionShutdown on TestTailnetAPIConnector_Disconnects ( #13532 )
2024-06-11 11:16:49 +04:00
dd243686e4
chore!: remove deprecated agent v1 routes ( #13486 )
2024-06-11 12:22:59 +10:00
e7bea17e70
chore: bump braces from 3.0.2 to 3.0.3 in /site ( #13526 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 03:54:42 +03:00
363dbad3a3
ci: bump the github-actions group with 2 updates ( #13521 )
...
Bumps the github-actions group with 2 updates: [crate-ci/typos](https://github.com/crate-ci/typos ) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `crate-ci/typos` from 1.21.0 to 1.22.3
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.21.0...v1.22.3 )
Updates `aquasecurity/trivy-action` from 0.21.0 to 0.22.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](fd25fed697...595be6a0f6
)
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 01:06:40 +03:00
5b9a65e5c1
chore: move Batcher and Tracker to workspacestats ( #13418 )
2024-06-10 15:35:23 -04:00
c7e7312cb0
fix(site): don't show start button while starting ( #13495 )
2024-06-10 13:28:21 -05:00
e96652ebbc
feat: block file transfers for security ( #13501 )
2024-06-10 12:12:23 +00:00
8326a3a675
chore: change mock clock to allow Advance() within timer/tick functions ( #13500 )
2024-06-10 15:27:24 +04:00
7c081dcd6f
fix: replace invalid utf-8 sequences in agent logs ( #13436 )
...
* fix: replace invalid utf-8 sequences in agent logs
Fixes #13433 .
* fix: replace invalid UTF-8 with ❌ , add regression
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
Co-authored-by: Spike Curtis <spike@coder.com >
2024-06-10 15:27:11 +04:00
0d65143301
chore: implement audit log for custom role edits ( #13494 )
...
* chore: implement audit log for custom role edits
2024-06-07 14:11:57 -05:00
056a697eff
feat(site): add download logs option ( #13466 )
2024-06-07 10:03:05 -03:00
48ecee1025
chore(cli): address cli netcheck test flake ( #13492 )
...
* netcheck: removes check for healthy node report in test
* coderd/healthcheck/derphealth: do not override parent context deadline
2024-06-07 10:01:54 +01:00
7c3b8b6224
chore: duplicate migration file fix, 000216 ( #13498 )
2024-06-06 16:13:00 -05:00
e2b330fcba
chore: change sql parameter for custom roles to be a (name,org_id)
tuple ( #13480 )
...
* chore: sql parameter to custom roles to be a (name,org) tuple
CustomRole lookup takes (name,org_id) tuples as the search criteria.
2024-06-06 15:36:37 -05:00
1adc19b41f
fix(site): allow user to update their name ( #13493 )
2024-06-06 15:32:51 -03:00
4dfa901990
refactor(site): hide select helper when only one proxy exists ( #13496 )
2024-06-06 15:17:43 -03:00
a8a81a61cd
fix(site): fix tooltip in start button group ( #13497 )
2024-06-06 14:51:52 -03:00
44a70a5bc2
feat: edit org display names and descriptions ( #13474 )
2024-06-06 10:59:59 -06:00
1131772e79
feat(coderd): set full name from IDP name claim ( #13468 )
...
* Updates OIDC and GitHub OAuth login to fetch set name from relevant claim fields
* Adds CODER_OIDC_NAME_FIELD as configurable source of user name claim
* Adds httpapi function to normalize a username such that it will pass validation
* Adds firstName / lastName fields to dev OIDC setup
2024-06-06 13:37:08 +01:00
e743588843
docs: bump k8s install version ( #13487 )
2024-06-06 03:31:32 +00:00
37676c46d5
chore(scripts): remove remaining gh_auth
calls from release scripts ( #13485 )
2024-06-05 22:24:26 -05:00
7995d7c3d6
fix: only render tooltip when require_active_version enabled ( #13484 )
2024-06-06 02:52:49 +00:00
f1b42a15fa
fix(site): show workspace start button when require active version is enabled ( #13482 )
2024-06-05 16:50:52 -05:00
8f62311f00
chore: remove organization_id suffix from org_member roles in database ( #13473 )
...
Organization member's table is already scoped to an organization.
Rolename should avoid having the org_id appended.
Wipes all existing organization role assignments, which should not be used anyway.
2024-06-05 11:25:02 -05:00
fade8ba759
fix: fix MeasureLatencyRecvTimeout to accept send=0 ( #13477 )
...
Fixes the flake seen here: https://github.com/coder/coder/runs/25832852690
Linux is not a real time operating system, and so there is no guarantee that subsequent `time.Now()` `time.Since()` calls will return a non-zero time. This assert is mainly there to ensure we don't return `-1`.
2024-06-05 18:27:56 +04:00
775fc3f5e9
chore: add Now, Since, AfterFunc to clock; use clock for configmaps test ( #13476 )
...
* chore: add Now, Since, AfterFunc to clock; use clock for configmaps test
* chore: update flake.nix vendor hash
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2024-06-05 16:00:02 +04:00
ffcfbb6c55
chore: add example test case for clock package ( #13465 )
2024-06-05 15:49:31 +04:00
9c3fd5dd26
chore: add explicit Wait() to clock.Advance() ( #13464 )
2024-06-05 15:37:16 +04:00
42324b386a
chore: add clock pkg for testing time ( #13461 )
...
Adds a package for testing time/timer/ticker functions. Implementation is limited to `NewTimer` and `NewContextTicker`, but will eventually be expanded to all `time` functions from the standard library as well as `context.WithTimeout()`, `context.WithDeadline()`.
Replaces `benbjohnson/clock` for the pubsub watchdog, as a proof of concept.
Eventually, as we expand functionality, we will replace most time-related functions with this library for testing.
2024-06-05 13:55:45 +04:00
a4bba520a2
feat(cli): add json output to coder speedtest ( #13475 )
2024-06-05 08:31:44 +00:00
9a757f8e74
chore(scripts): fix release promote stable to set latest tag ( #13471 )
2024-06-04 23:01:26 +00:00
83ac386533
chore: bump ejs from 3.1.9 to 3.1.10 in /site ( #13447 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 23:52:59 +03:00
0ea89a3d41
chore: add cleanup callbacks to some useEffect
calls ( #13444 )
2024-06-04 12:18:03 -06:00
213848e2e3
chore(docs): rename banners and show usage of multiple ( #13435 )
...
* renamed banners in docs
* fmt
* Update appearance.md
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
* fmt
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
Co-authored-by: Ben <me@bpmct.net >
2024-06-04 17:49:13 +00:00
8435b70bea
chore: update docs for v2.12 mainline and v2.11 stable ( #13469 )
...
* chore: update docs for v2.12 mainline and v2.11 stable
* remove broken link
2024-06-04 12:22:13 -05:00
3b7f9534fb
chore(scripts): fix dry run for autoversion in release.sh ( #13470 )
2024-06-04 20:10:15 +03:00
e3206612e1
chore: implement typed database for custom permissions (breaks existing custom roles) ( #13457 )
...
* chore: typed database custom permissions
* add migration to fix any custom roles out there
2024-06-04 09:27:44 -05:00
168d2d6ba0
chore(coderd): add update user profile test for members ( #13463 )
2024-06-04 14:17:17 +01:00
cd32c42699
fix(cli): inherit provisioner tags from last template version ( #13462 )
2024-06-04 11:59:54 +00:00
e527bc6242
chore(dogfood): replace deprecated coder_workspace.owner_oidc_access_token
and add order
to agent metadata
( #13456 )
2024-06-04 09:21:01 +01:00
a51076a4cd
chore(scripts): fix unbound variable in tag_version.sh ( #13428 )
2024-06-03 21:29:24 +00:00
78b8264a90
feat(site): add deployment menu to navbar ( #13401 )
2024-06-03 15:05:49 -06:00
c7233eccec
chore(dogfood): bump module versions ( #13455 )
2024-06-04 00:03:34 +03:00
40390ecc30
chore: fix TestServer/Prometheus/DBMetricsDisabled
test flake ( #13453 )
...
See: https://github.com/coder/coder/actions/runs/9352137263/job/25739550487#step:5:368
2024-06-03 15:38:59 -05:00
2806752c7d
chore: add light mode snapshot to chromatic for WorkspaceBuildPageView
( #13449 )
2024-06-03 13:50:59 -06:00
e4ac691468
chore: fix (*coderdtest.WorkspaceAgentWaiter).Wait()
flake ( #13451 )
2024-06-03 14:46:56 -05:00
43ef00401c
chore: linting fixes ( #13450 )
2024-06-03 14:33:37 -05:00
27f26910b6
chore: external auth validate response "Forbidden" should return invalid, not an error ( #13446 )
...
* chore: add unit test to delete workspace from suspended user
* chore: account for forbidden as well as unauthorized response codes
2024-06-03 13:16:51 -05:00
0b019cad77
chore: bump google.golang.org/api from 0.181.0 to 0.182.0 ( #13439 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.181.0 to 0.182.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.181.0...v0.182.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>
2024-06-03 12:30:12 -05:00
9d00a26a90
fix: add missing route for codersdk.PostLogSource
( #13421 )
2024-06-03 12:29:50 -05:00