2c13797350
chore: implement deleting custom roles ( #14101 )
...
* chore: implement deleting custom roles
* add trigger to delete role from organization members on delete
* chore: add comments to explain populated field
2024-08-07 12:37:55 -05:00
ff785588fe
chore: don't require an organization to read starter templates ( #14190 )
2024-08-06 11:26:26 -06:00
70a694ed4c
fix: document files API needs ustar format ( #14152 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2024-08-06 11:00:49 +04:00
173dc0e35f
chore: refactor patch custom organization route to live in enterprise ( #14099 )
...
* chore: refactor patch custom organization route to live in enterprise
2024-08-05 13:42:11 -05:00
b80d99550a
chore: revert status code change for delete users endpoint ( #14168 )
...
Revert from https://github.com/coder/coder/pull/13870
2024-08-05 13:10:56 -05:00
e164b1e71c
feat: add notification preferences database & audit support ( #14100 )
2024-08-05 16:18:45 +02:00
6e36082b0f
chore: add github.com user id association ( #14045 )
...
* chore: add github.com user id association
This will eventually be used to show an indicator in the UI
to star the repository if you've been using Coder for a while
and have not starred the repo.
If you have, we'll never show a thing!
* gen
* Fix model query
* Fix linting
* Ignore auditing github.com user id
* Add test
* Fix gh url var name
* Update migration
* Update coderd/database/dbauthz/dbauthz.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* Fix updating to when the token changes
* Fix migration
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2024-08-02 12:49:36 -04:00
bf4b7abf14
chore(coderd): allow creating workspaces without specifying an organization ( #14048 )
2024-07-30 10:44:02 -06:00
3209c863b8
chore: authz 'any_org' to return if at least 1 org has perms ( #14009 )
...
* chore: authz 'any_org' to return if at least 1 org has perms
Allows checking if a user can do an action in any organization,
rather than a specific one. Allows asking general questions on the
UI to determine which elements to show.
* more strict, add comments to policy
* add unit tests and extend to /authcheck api
* make field optional
2024-07-29 19:58:48 -05:00
6161d173d3
feat: add tags to provisioner keys api ( #13989 )
2024-07-25 15:20:45 +00:00
4f01372179
feat: implement disabling oidc issuer checks ( #13991 )
...
* use DANGEROUS prefix and drop a warning log
2024-07-24 16:45:47 -05:00
38b573857b
feat(site): edit organization member roles ( #13977 )
2024-07-24 11:36:45 -06:00
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
943ea7c52a
feat: add SMTP auth & TLS support ( #13902 )
2024-07-19 09:22:15 +02:00
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
44924cd8d8
chore: add updated_at to codersdk users ( #13928 )
...
* chore: add updated_at to codersdk users
2024-07-17 17:59:42 -05:00
a3f40d5ef8
feat: add members settings page for organizations ( #13817 )
2024-07-16 12:25:36 -06:00
b697c6939a
chore: add provisioner key crud apis ( #13857 )
2024-07-16 13:27:12 -04:00
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
de2585b0b6
chore: use rw.WriteHeader
to write responses without bodies ( #13870 )
2024-07-11 13:38:33 -06:00
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
bf392ffea4
feat: add killswitch for notifications ( #13794 )
2024-07-10 16:15:06 +02:00
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
bde9fd58ea
chore: add organization name to workspaces ( #13755 )
...
* chore: add organization name to workspaces
2024-07-02 09:25:05 -05:00
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
30c4b4db5c
chore: implement fetch all authorized templates api ( #13678 )
2024-06-26 11:50:32 -06:00
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
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
54e8f30002
chore: remove failing_sections
from healthcheck ( #13426 )
...
Closes #10854 .
2024-06-21 14:49:02 -04:00
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
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
8e06ad46d0
chore: add organization member api + cli ( #13577 )
2024-06-20 09:19:24 -05:00
e987ad1d89
fix: don't allow "new" or "create" as url-friendly names ( #13596 )
2024-06-18 15:36:13 -06:00
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
44d69139d5
chore: accept payload on workspace usage route ( #13544 )
2024-06-14 10:08:45 -04:00
bbe23edc7d
chore: implement api layer for listing organization members ( #13546 )
2024-06-12 09:52:18 -10:00
28228f1bcb
feat: allow editing org icon ( #13547 )
2024-06-12 12:28:13 -06:00
dd243686e4
chore!: remove deprecated agent v1 routes ( #13486 )
2024-06-11 12:22:59 +10: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
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
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
9d00a26a90
fix: add missing route for codersdk.PostLogSource
( #13421 )
2024-06-03 12:29:50 -05:00
bf98b0dfe4
fix: correct swagger description for Insights API ( #13442 )
2024-06-03 15:48:31 +02:00
b248f125e1
chore: rename notification banners to announcement banners ( #13419 )
2024-05-31 10:59:28 -06:00
afd9d3b35f
feat: add api for patching custom org roles ( #13357 )
...
* chore: implement patching custom organization roles
2024-05-29 09:49:43 -05:00
1b4ca00428
chore: include custom roles in list org roles ( #13336 )
...
* chore: include custom roles in list org roles
* move cli show roles to org scope
2024-05-23 07:54:59 -10:00
b43344b672
feat: use latest gVisor and go 1.22.3 ( #13338 )
2024-05-23 08:22:44 -04:00
3f1e9c038a
feat(coderd): add endpoints for editing and deleting organizations ( #13287 )
2024-05-21 12:46:31 -06:00
c61b64be61
feat: add hidden enterprise cmd command to list roles ( #13303 )
...
* feat: add hidden enterprise cmd command to list roles
This includes custom roles, and has a json ouput option for
more granular permissions
2024-05-21 13:14:00 -05:00