Asher
a8e6e89f65
feat: add organization details to audit log response ( #13961 )
...
* Allow creating test audits with nil org
Not all audit entries have organization IDs, so this will allow us to
test those cases.
* Add organization details to audit log queries
* Add organization to audit log response
This replaces the old ID. This is a breaking change but organizations
were not being used before.
2024-07-22 13:28:44 -08:00
Steven Masley
49d6d0f41b
chore: add built in organization roles to match site ( #13938 )
...
* chore: add built in organization roles to match site
Added org user admin, org template admin, and org auditor
2024-07-19 15:44:18 -05:00
Jaayden Halko
554c4ab1eb
feat: implement multi-org template gallery ( #13784 )
...
* feat: initial changes for multi-org templates page
* feat: add TemplateCard component
* feat: add component stories
* chore: update template query naming
* fix: fix formatting
* feat: template card interaction and navigation
* fix: copy updates
* chore: update TemplateFilter type to include FilterQuery
* chore: update typesGenerated.ts
* feat: update template filter api logic
* fix: fix format
* fix: get activeOrg
* fix: add format annotation
* chore: use organization display name
* feat: client side org filtering
* fix: use org display name
* fix: add ExactName
* feat: show orgs filter only if more than 1 org
* chore: updates for PR review
* fix: fix format
* chore: add story for multi org
* fix: aggregate templates by organization id
* fix: fix format
* fix: check org count
* fix: update ExactName type
2024-07-19 10:33:08 -04:00
Danny Kopping
943ea7c52a
feat: add SMTP auth & TLS support ( #13902 )
2024-07-19 09:22:15 +02:00
Steven Masley
aa6e6e3d58
chore: implement fetch all organizations endpoint ( #13941 )
...
* chore: implement fetch all organizations endpoint
* update ui to use list all orgs
2024-07-18 17:28:36 -05:00
Garrett Delfosse
6f20a64f9d
chore: add multi-org flag to develop.sh ( #13923 )
2024-07-18 14:43:07 -05:00
Garrett Delfosse
f975701b34
feat: add provisioner key cli commands ( #13875 )
2024-07-18 14:44:20 -04:00
Steven Masley
44924cd8d8
chore: add updated_at to codersdk users ( #13928 )
...
* chore: add updated_at to codersdk users
2024-07-17 17:59:42 -05:00
Kayla Washburn-Love
a3f40d5ef8
feat: add members settings page for organizations ( #13817 )
2024-07-16 12:25:36 -06:00
Garrett Delfosse
b697c6939a
chore: add provisioner key crud apis ( #13857 )
2024-07-16 13:27:12 -04:00
Steven Masley
9cbe2b27e7
chore: create workspaces and templates for multiple orgs ( #13866 )
...
* chore: creating workspaces and templates to work with orgs
* handle wrong org selected
* create org member in coderdtest helper
2024-07-12 15:47:28 -05:00
Steven Masley
c6b7588933
chore: add organization id to provisioner sdk type ( #13883 )
...
* chore: add organization id to provisioner sdk type
2024-07-12 10:56:34 -05:00
Kayla Washburn-Love
de2585b0b6
chore: use rw.WriteHeader to write responses without bodies ( #13870 )
2024-07-11 13:38:33 -06:00
Muhammad Atif Ali
0787de88a9
chore: update documentation links to the new format ( #13797 )
2024-07-10 21:31:37 +03:00
Steven Masley
7bb3e0db4a
chore: return organization's display name and icon in templates ( #13858 )
...
* chore: templates return organization display name and icon
* templates api response includes organization display name and icon
2024-07-10 10:06:49 -05:00
Marcin Tojek
bf392ffea4
feat: add killswitch for notifications ( #13794 )
2024-07-10 16:15:06 +02:00
Ethan
e8db21c89e
chore: add additional network telemetry stats & events ( #13800 )
2024-07-10 14:14:35 +10:00
Danny Kopping
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
Cian Johnston
c2d44d16a3
feat(codersdk/agentsdk): export LogDest interface ( #13792 )
...
Signed-off-by: Cian Johnston <cian@coder.com >
2024-07-04 14:04:43 +01:00
Steven Masley
ccf34901bc
chore: add templates search query to a filter ( #13772 )
...
* chore: add templates search query to a filter
2024-07-03 13:42:23 -05:00
Spike Curtis
f6639b788f
feat: add ConnectRPC variants for older Agent API versions ( #13778 )
2024-07-03 16:11:05 +04:00
Ethan
a110d18275
chore: add DRPC tailnet & cli network telemetry ( #13687 )
2024-07-03 15:23:46 +10:00
Steven Masley
bde9fd58ea
chore: add organization name to workspaces ( #13755 )
...
* chore: add organization name to workspaces
2024-07-02 09:25:05 -05:00
Steven Masley
128674918b
chore: include organization name when fetching templates ( #13751 )
...
* chore: include organization name when fetching templates
* chore: rename template_with_user to template_with_names
2024-07-02 09:08:30 -05:00
Dean Sheather
6c94dd4f23
chore: add DRPC server implementation for network telemetry ( #13675 )
2024-07-02 01:50:52 +10:00
Spike Curtis
c94b5188bd
fix: modify workspacesdk to ask for tailnet API 2.0 ( #13684 )
...
#13617 bumped the Agent/Tailnet API minor version because it adds telemetry features. However, we don't actually use the protocol features yet, so it's a bit obnoxious for our CLI client to ask for the newest API version.
This is particularly true of the CLI client, since that's distributed separately, so if an end user installs the latest CLI client and their organization hasn't fully upgraded, then it will fail to connect.
Since we have a release coming up and the telemetry stuff won't make it, I think we should roll back to version 2.0 until we actually implement the telemetry stuff. That way the newest release (2.13) will work with Coder servers all the way back to 2.9.
2024-06-27 15:38:21 +04:00
Spike Curtis
5b59f2880f
fix: fix workspacesdk to return error on API mismatch ( #13683 )
2024-06-27 15:02:43 +04:00
Steven Masley
30c4b4db5c
chore: implement fetch all authorized templates api ( #13678 )
2024-06-26 11:50:32 -06:00
Steven Masley
08e728bcb2
chore: implement organization scoped audit log requests ( #13663 )
...
* chore: add organization_id filter to audit logs
* chore: implement organization scoped audit log requests
2024-06-26 12:38:46 -05:00
Cian Johnston
8a3592582b
feat: add "Full Name" field to user creation ( #13659 )
...
Adds the ability to specify "Full Name" (a.k.a. Name) when
creating users either via CLI or UI.
2024-06-26 09:00:42 +01:00
Steven Masley
65b9f9bfd6
chore: audit organization member add/delete/edit ( #13620 )
...
* chore: audit organization member add/removals
2024-06-24 14:19:32 -05:00
Kyle Carberry
54e8f30002
chore: remove failing_sections from healthcheck ( #13426 )
...
Closes #10854 .
2024-06-21 14:49:02 -04:00
Steven Masley
75e7213ac2
feat: add cli command to remove organization member ( #13619 )
2024-06-21 10:35:59 -05:00
Kyle Carberry
0793a4b35b
feat: add cross-origin reporting for telemetry in the dashboard ( #13612 )
...
* feat: add cross-origin reporting for telemetry in the dashboard
* Respect the telemetry flag
* Fix embedded metadata
* Fix compilation error
* Fix linting
2024-06-20 15:19:45 -04:00
Steven Masley
a1db6d809e
chore: implement delete organization member ( #13589 )
...
Side effects of removing an organization member will orphan their
user resources. These side effects are not addressed here
2024-06-20 10:06:37 -05:00
Steven Masley
8e06ad46d0
chore: add organization member api + cli ( #13577 )
2024-06-20 09:19:24 -05: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
Kayla Washburn-Love
8c1bd32c33
feat(site): add basic organization management ui ( #13288 )
2024-06-17 11:02:39 -06:00
Garrett Delfosse
44d69139d5
chore: accept payload on workspace usage route ( #13544 )
2024-06-14 10:08:45 -04: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
Spike Curtis
4b0b9b08d5
feat: add interfaces report to support bundle ( #13563 )
2024-06-13 13:09:54 +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
Kayla Washburn-Love
28228f1bcb
feat: allow editing org icon ( #13547 )
2024-06-12 12:28:13 -06: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
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
Kyle Carberry
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