Steven Masley
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
Bruno Quaresma
1adc19b41f
fix(site): allow user to update their name ( #13493 )
2024-06-06 15:32:51 -03:00
Bruno Quaresma
4dfa901990
refactor(site): hide select helper when only one proxy exists ( #13496 )
2024-06-06 15:17:43 -03:00
Bruno Quaresma
a8a81a61cd
fix(site): fix tooltip in start button group ( #13497 )
2024-06-06 14:51:52 -03:00
Kayla Washburn-Love
44a70a5bc2
feat: edit org display names and descriptions ( #13474 )
2024-06-06 10:59:59 -06:00
Cian Johnston
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
Colin Adler
e743588843
docs: bump k8s install version ( #13487 )
2024-06-06 03:31:32 +00:00
Colin Adler
37676c46d5
chore(scripts): remove remaining gh_auth calls from release scripts ( #13485 )
2024-06-05 22:24:26 -05:00
Jon Ayers
7995d7c3d6
fix: only render tooltip when require_active_version enabled ( #13484 )
2024-06-06 02:52:49 +00:00
Colin Adler
f1b42a15fa
fix(site): show workspace start button when require active version is enabled ( #13482 )
2024-06-05 16:50:52 -05:00
Steven Masley
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
Spike Curtis
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
Spike Curtis
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
Spike Curtis
ffcfbb6c55
chore: add example test case for clock package ( #13465 )
2024-06-05 15:49:31 +04:00
Spike Curtis
9c3fd5dd26
chore: add explicit Wait() to clock.Advance() ( #13464 )
2024-06-05 15:37:16 +04:00
Spike Curtis
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
Ethan
a4bba520a2
feat(cli): add json output to coder speedtest ( #13475 )
2024-06-05 08:31:44 +00:00
Mathias Fredriksson
9a757f8e74
chore(scripts): fix release promote stable to set latest tag ( #13471 )
2024-06-04 23:01:26 +00:00
dependabot[bot]
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
Kayla Washburn-Love
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
Ben Potter
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
Mathias Fredriksson
3b7f9534fb
chore(scripts): fix dry run for autoversion in release.sh ( #13470 )
2024-06-04 20:10:15 +03:00
Steven Masley
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
Cian Johnston
168d2d6ba0
chore(coderd): add update user profile test for members ( #13463 )
2024-06-04 14:17:17 +01:00
Marcin Tojek
cd32c42699
fix(cli): inherit provisioner tags from last template version ( #13462 )
2024-06-04 11:59:54 +00:00
Muhammad Atif Ali
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
Mathias Fredriksson
a51076a4cd
chore(scripts): fix unbound variable in tag_version.sh ( #13428 )
2024-06-03 21:29:24 +00:00
Kayla Washburn-Love
78b8264a90
feat(site): add deployment menu to navbar ( #13401 )
2024-06-03 15:05:49 -06:00
Muhammad Atif Ali
c7233eccec
chore(dogfood): bump module versions ( #13455 )
2024-06-04 00:03:34 +03:00
Colin Adler
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
Kayla Washburn-Love
2806752c7d
chore: add light mode snapshot to chromatic for WorkspaceBuildPageView ( #13449 )
2024-06-03 13:50:59 -06:00
Colin Adler
e4ac691468
chore: fix (*coderdtest.WorkspaceAgentWaiter).Wait() flake ( #13451 )
2024-06-03 14:46:56 -05:00
Colin Adler
43ef00401c
chore: linting fixes ( #13450 )
2024-06-03 14:33:37 -05:00
Steven Masley
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
dependabot[bot]
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
Colin Adler
9d00a26a90
fix: add missing route for codersdk.PostLogSource ( #13421 )
2024-06-03 12:29:50 -05:00
dependabot[bot]
8cdd468107
chore: bump github.com/coder/terraform-provider-coder from 0.22.0 to 0.23.0 ( #13440 )
...
Bumps [github.com/coder/terraform-provider-coder](https://github.com/coder/terraform-provider-coder ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/coder/terraform-provider-coder/releases )
- [Changelog](https://github.com/coder/terraform-provider-coder/blob/main/.goreleaser.yml )
- [Commits](https://github.com/coder/terraform-provider-coder/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: github.com/coder/terraform-provider-coder
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:29:29 -05:00
Kayla Washburn-Love
cb94dfb1f6
fix: fix build error background color ( #13445 )
2024-06-03 11:18:44 -06:00
Kayla Washburn-Love
79fd736387
chore(site): enable React's StrictMode ( #13399 )
2024-06-03 10:03:46 -06:00
Steven Masley
973cc2b875
chore: add edit organization role to cli ( #13365 )
...
Editing custom org roles from hidden org cli command.
2024-06-03 09:34:10 -05:00
Steven Masley
24ba81930b
chore: return failed refresh errors on external auth as string (was boolean) ( #13402 )
...
* chore: return failed refresh errors on external auth
Failed refreshes should return errors. These errors are captured
as validate errors.
2024-06-03 09:33:49 -05:00
Marcin Tojek
bf98b0dfe4
fix: correct swagger description for Insights API ( #13442 )
2024-06-03 15:48:31 +02:00
Colin Adler
b723da9e91
chore: upgrade terraform to v1.8.5 ( #13429 )
2024-06-02 13:10:28 -04:00
Kayla Washburn-Love
b248f125e1
chore: rename notification banners to announcement banners ( #13419 )
2024-05-31 10:59:28 -06:00
Garrett Delfosse
de8149fbfd
chore: move template meta last_used_at update to workspacestats ( #13415 )
2024-05-31 12:26:19 -04:00
Michael Smith
19530c6b44
fix: update DeleteWorkspaceOptions to pick properties correctly ( #13423 )
...
* fix: update typo
* fix: update typo in call site
* fix: update type for deleteWorkspace mock
* fix: update one more type mismatch
2024-05-31 10:23:59 -04:00
Mathias Fredriksson
4758952ebc
chore(scripts): fix expression interpreted as exit code on some Bash versions ( #13417 )
2024-05-30 17:24:41 +00:00
Kira Pilot and Kyle Carberry
bee4ece1b9
fix: update install.sh to remove dead doc link ( #13308 )
...
* chore(docs): update install.sh to remove dead doc link
* Update install.sh
Co-authored-by: Kyle Carberry <kyle@coder.com >
* escaping script properly
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2024-05-30 10:39:17 -04:00
Danny Kopping
7569cccc51
chore: remove git pinning ( #13414 )
...
Alpine 3.20 includes 2.45.1 by default: https://git.alpinelinux.org/aports/tree/main/git/APKBUILD?h=3.20-stable#n56
Follow-up from https://github.com/coder/coder/pull/13411#issuecomment-2139028721
Signed-off-by: Danny Kopping <danny@coder.com >
2024-05-30 15:58:32 +02:00