dependabot[bot]
84cdcac8ad
chore: bump ws from 8.14.2 to 8.17.1 in /site ( #13595 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:51:25 +03:00
Kayla Washburn-Love
e987ad1d89
fix: don't allow "new" or "create" as url-friendly names ( #13596 )
2024-06-18 15:36:13 -06:00
Kyle Carberry
3a1fa04590
fix: write server config to telemetry ( #13590 )
...
* fix: add external auth configs to telemetry
* Refactor telemetry to send the entire config
* gen
* Fix linting
2024-06-18 16:20:21 -04:00
Spike Curtis
d0b2f6196c
fix: allow mock clock Timers to accept negative duration ( #13592 )
...
The standard library `NewTimer`, `AfterFunc` and `Reset` allow negative durations, so our mock clock library should as well.
2024-06-18 15:40:56 +04:00
Spike Curtis
1de023a121
chore: add README to clock testing ( #13583 )
...
Adds README with some draft content explaining why the library exists. Will be most relevant when we spin out into a standalone library.
2024-06-18 10:16:49 +04:00
Steven Masley
1d3642d0be
chore: fix link in v2.0.0 changelog to scale tests ( #13591 )
2024-06-17 14:24:07 -05:00
Kayla Washburn-Love
8c1bd32c33
feat(site): add basic organization management ui ( #13288 )
2024-06-17 11:02:39 -06:00
Kayla Washburn-Love
07cd9acb2c
fix: fix workspace actions options ( #13572 )
2024-06-17 10:24:30 -06:00
dependabot[bot]
eed9794516
ci: bump crate-ci/typos in the github-actions group ( #13584 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `crate-ci/typos` from 1.22.3 to 1.22.7
- [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.22.3...v1.22.7 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
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-17 09:03:26 -04:00
Ben Potter
808e1c0d89
docs: add screenshots page ( #13582 )
...
* docs: add screenshots page
* fmt
2024-06-15 15:34:18 -05:00
Garrett Delfosse
44d69139d5
chore: accept payload on workspace usage route ( #13544 )
2024-06-14 10:08:45 -04:00
Eric Paulsen
87820a29d7
docs: reorganize scaling docs ( #13574 )
...
* refactor scaling docs
* manifest
* make fmt
* fix 404s
* fix 404s pt 2
* fix manifest
2024-06-14 09:30:04 -04:00
Spike Curtis
c01d6fdf46
chore: refactor apphealth and tests to use clock testing library ( #13576 )
...
Refactors the apphealth subsystem and unit tests to use `clock.Clock`.
Also slightly simplifies the implementation, which wrapped a function that never returned an error in a `retry.Retry`. The retry is entirely superfluous in that case, so removed.
UTs used to take a few seconds to run, and now run in milliseconds or better. No sleeps, `Eventually`, or polling.
Dropped the "no spamming" test since we can directly assert the number of handler calls on the mainline test case.
2024-06-14 15:06:33 +04:00
Cian Johnston
fe240add86
fix(coderd): userOIDC: ignore leading @ of EmailDomain ( #13568 )
2024-06-14 09:29:07 +01:00
Steven Masley
d04959cea8
chore: implement custom role assignment for organization admins ( #13570 )
...
* chore: static role assignment mapping
Until a dynamic approach is created in the database, only org-admins
can assign custom organization roles.
2024-06-13 15:59:06 -05:00
Steven Masley
3d30c8dc68
chore: protect reserved builtin rolenames ( #13571 )
...
Conflicting built-in and database role names makes it hard to
disambiguate
2024-06-13 15:12:37 -05:00
Steven Masley
7d51515f9d
chore: implement assign organization roles from the cli ( #13558 )
...
Basic functionality to assign roles to an organization member via cli.
2024-06-13 14:49:32 -05:00
Eric Paulsen
87a172fb14
docs: add validated architecture ( #13561 )
...
* docs: add validated architecture
* make: fmt
* formatting
* fix 404s
* fix 404s pt 2
* fix 404s pt 3
2024-06-13 13:00:26 -04:00
Cian Johnston
c587af7c0e
fix(dogfood/Dockerfile): add explicit --chown to COPY directive ( #13569 )
2024-06-13 15:16:34 +01:00
Cian Johnston
5d3f3c08cd
chore(dogfood): add devcontainer for use with envbuilder ( #13567 )
2024-06-13 14:31:49 +01:00
Spike Curtis
0268c7a659
chore: refactor autobuild/notify to use clock test ( #13566 )
...
Refactor autobuild/notify and tests to use the clock testing library.
I also rewrote some of the comments because I didn't understand them when I was looking at the package.
2024-06-13 16:01:17 +04:00
Spike Curtis
4b0b9b08d5
feat: add interfaces report to support bundle ( #13563 )
2024-06-13 13:09:54 +04:00
Spike Curtis
88eb6ce378
fix: fix flake in TestDERPEndToEnd ( #13564 )
2024-06-13 11:38:51 +04:00
Spike Curtis
fc09077b7b
feat!: add interface report to coder netcheck ( #13562 )
...
re: #13327
Adds local interfaces to `coder netcheck` and checks their MTUs for potential problems.
This is mostly relevant for end-user systems where VPNs are common. We _could_ also add it to coderd healthcheck, but until I see coderd connecting to workspaces over a VPN in the wild, I don't think its worth the UX effort.
Netcheck results get the following:
```
"interfaces": {
"error": null,
"severity": "ok",
"warnings": null,
"dismissed": false,
"interfaces": [
{
"name": "lo0",
"mtu": 16384,
"addresses": [
"127.0.0.1/8",
"::1/128",
"fe80::1/64"
]
},
{
"name": "en8",
"mtu": 1500,
"addresses": [
"192.168.50.217/24",
"fe80::c13:1a92:3fa5:dd7e/64"
]
}
]
}
```
_Technically_ not back compatible if anyone is parsing `coder netcheck` output as JSON, since the original output is now under `"derp"` in the output.
2024-06-13 10:19:36 +04:00
Steven Masley
d0fc81a51c
chore: implement cli list organization members ( #13555 )
...
example cli command:
`coder organization members`
2024-06-12 10:07:12 -10:00
Steven Masley
bbe23edc7d
chore: implement api layer for listing organization members ( #13546 )
2024-06-12 09:52:18 -10:00
Steven Masley
de9e6889bb
chore: merge organization member db queries ( #13542 )
...
Merge members queries into 1 that also joins in the user table for username.
Required to list organization members on UI/cli
2024-06-12 09:23:48 -10:00
Kyle Carberry and Dean Sheather
1ca5dc0328
chore: always use the latest released version tag when building ( #13556 )
...
* chore: always use the latest released version tag when building
* Update version.sh
Co-authored-by: Dean Sheather <dean@deansheather.com >
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-06-12 14:52:35 -04:00
Kayla Washburn-Love
28228f1bcb
feat: allow editing org icon ( #13547 )
2024-06-12 12:28:13 -06:00
Ethan
58bf0ec1c6
chore: add additional tailnet topology integration tests ( #13549 )
2024-06-12 16:02:34 +00:00
Spike Curtis
ba7d1835e5
fix: fix flake in TestWorkspaceAgent_Metadata_CatchMemoryLeak ( #13553 )
...
Fixes flake seen here: https://github.com/coder/coder/actions/runs/9461246505/job/26061605278
#13486 subtly changes the test so that `post` uses the new v2 Agent API, and when canceling context, there is a race condition where the yamux session underpinning the API can get torn down before the RPC processes the canceled context, yielding a different error response than the test was previously expecting.
I've refactored the test to just stop posting when the test finishes, rather than depend on a context cancel to end the posting goroutine.
2024-06-12 18:33:22 +04:00
Bruno Quaresma
0c627a4cb9
refactor(site): refactor filter search field ( #13545 )
2024-06-12 10:22:20 -03:00
Ethan
a11f8b003b
chore: write speedtest connection updates to stderr ( #13550 )
2024-06-12 07:10:28 +00:00
Kira Pilot
dd99897bb2
chore: updating Ashby link to be position agnostic ( #13543 )
2024-06-11 12:59:33 -04:00
Steven Masley
5ccf5084e8
chore: create type for unique role names ( #13506 )
...
* chore: create type for unique role names
Using `string` was confusing when something should be combined with
org context, and when not to. Naming this new name, "RoleIdentifier"
2024-06-11 08:55:28 -05:00
Kyle Carberry
c9cca9d56e
fix: transform underscores to hyphens for github login ( #13384 )
...
Fixes #13339 .
2024-06-11 13:34:05 +00:00
Marcin Tojek
7958c52918
docs: faq: restrict file transfers from workspaces ( #13534 )
2024-06-11 09:29:29 +00:00
Spike Curtis
1f9bdc36bf
fix: ignore yamux.ErrSessionShutdown on TestTailnetAPIConnector_Disconnects ( #13532 )
2024-06-11 11:16:49 +04:00
Ethan
dd243686e4
chore!: remove deprecated agent v1 routes ( #13486 )
2024-06-11 12:22:59 +10:00
dependabot[bot]
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
dependabot[bot]
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](https://github.com/aquasecurity/trivy-action/compare/fd25fed6972e341ff0007ddb61f77e88103953c2...595be6a0f6560a0a8fc419ddf630567fc623531d )
---
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
Garrett Delfosse
5b9a65e5c1
chore: move Batcher and Tracker to workspacestats ( #13418 )
2024-06-10 15:35:23 -04:00
Colin Adler
c7e7312cb0
fix(site): don't show start button while starting ( #13495 )
2024-06-10 13:28:21 -05:00
Marcin Tojek
e96652ebbc
feat: block file transfers for security ( #13501 )
2024-06-10 12:12:23 +00:00
Spike Curtis
8326a3a675
chore: change mock clock to allow Advance() within timer/tick functions ( #13500 )
2024-06-10 15:27:24 +04:00
Kyle Carberry and Spike Curtis
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
Steven Masley
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
Bruno Quaresma
056a697eff
feat(site): add download logs option ( #13466 )
2024-06-07 10:03:05 -03:00
Cian Johnston
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
Steven Masley
7c3b8b6224
chore: duplicate migration file fix, 000216 ( #13498 )
2024-06-06 16:13:00 -05:00