Steven Masley
a359879af5
chore: scope workspace quotas to organizations ( #14352 )
...
* chore: scope workspace quotas to organizations
Quotas are now a function of (user_id, organization_id). They are
still sourced from groups. Deprecate the old api endpoint.
2024-08-21 09:25:20 -05:00
Ethan
cca4519420
feat: enable setting max port share level during template creation ( #14366 )
2024-08-20 22:48:39 +10:00
Dean Sheather
cf8be4eac5
feat: add resume support to coordinator connections ( #14234 )
2024-08-20 17:16:49 +10:00
Ethan
0b2ba96065
feat(cli): add shell completions ( #14341 )
2024-08-20 14:47:46 +10:00
Asher
f8f3d8967e
fix: label premium features in middleware error ( #14360 )
...
Previously, all features were called enterprise in the license check middleware.
2024-08-19 15:58:41 -08:00
Steven Masley
7b09d98238
chore: add /groups endpoint to filter by organization and/or member ( #14260 )
...
* chore: merge get groups sql queries into 1
* Add endpoint for fetching groups with filters
* remove 2 ways to customizing a fake authorizer
2024-08-15 13:40:15 -05:00
Steven Masley and Jaayden Halko
84fdfd2a18
chore: remove UpsertCustomRole in favor of Insert + Update ( #14217 )
...
* chore: remove UpsertCustomRole in favor of Insert + Update
---------
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com >
2024-08-13 12:53:47 -05:00
Hugo Dutka
6f9b1a39f4
fix: allow group members to read group information ( #14200 )
...
* - allow group members to read basic Group info
- allow group members to see they are part of the group, but not see that information about other members
- add a GetGroupMembersCountByGroupID SQL query, which allows group members to see members count without revealing other information about the members
- add the group_members_expanded db view
- rewrite group member queries to use the group_members_expanded view
- add the RBAC ResourceGroupMember and add it to relevant roles
- rewrite GetGroupMembersByGroupID permission checks
- make the GroupMember type contain all user fields
- fix type issues coming from replacing User with GroupMember in group member queries
- add the MemberTotalCount field to codersdk.Group
- display `group.total_member_count` instead of `group.members.length` on the account page
2024-08-13 09:20:24 -05:00
Steven Masley
aaa5174bef
chore: move custom-roles feature to permium license ( #14201 )
...
Currently an unsafe experiment, so it can be moved safely
2024-08-09 10:21:39 -05:00
Steven Masley
591385f2ca
chore: implement fuzzy name matching for templates ( #14211 )
...
* chore: add fuzzy name search for templates
* chore: implement fuzzy name matching for templates
Templates search query defaults to a fuzzy name match
2024-08-09 10:21:26 -05:00
Danny Kopping
d79a7adf99
docs: advise against shared CODER_CACHE_DIRECTORY dir usage in note ( #14216 )
2024-08-08 12:42:47 +00:00
Steven Masley
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
Steven Masley and Kayla Washburn-Love
b55a7a8b78
chore: delete user codersdk to support status code regression ( #14173 )
...
* chore: delete user codersdk to support status code regression
* Update codersdk/users.go
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-08-07 11:19:31 -05:00
Kayla Washburn-Love
ff785588fe
chore: don't require an organization to read starter templates ( #14190 )
2024-08-06 11:26:26 -06:00
Steven Masley
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
Danny Kopping
e164b1e71c
feat: add notification preferences database & audit support ( #14100 )
2024-08-05 16:18:45 +02:00
Kayla Washburn-Love
166467caf0
fix: don't require organization_id in body when updating a custom role ( #14102 )
2024-08-02 11:25:00 -06:00
Kyle Carberry
e2cec454bc
fix: check for io.EOF error in derpmap to resolve flake ( #14125 )
...
See: https://github.com/coder/coder/actions/runs/10218717887/job/28275465405?pr=14045
2024-08-02 17:08:47 +00:00
Kyle Carberry and Steven Masley
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
Kayla Washburn-Love
bf4b7abf14
chore(coderd): allow creating workspaces without specifying an organization ( #14048 )
2024-07-30 10:44:02 -06:00
Steven Masley
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
Kira Pilot
4eb67ad98a
Revert "feat: implement multi-org template gallery ( #13784 )" ( #14013 )
...
This reverts commit 554c4ab1eb .
2024-07-25 13:09:04 -04:00
Garrett Delfosse
6161d173d3
feat: add tags to provisioner keys api ( #13989 )
2024-07-25 15:20:45 +00:00
Garrett Delfosse
ca83017dc1
feat: accept provisioner keys for provisioner auth ( #13972 )
2024-07-25 10:22:55 -04:00
Steven Masley
4f01372179
feat: implement disabling oidc issuer checks ( #13991 )
...
* use DANGEROUS prefix and drop a warning log
2024-07-24 16:45:47 -05:00
Kayla Washburn-Love
38b573857b
feat(site): edit organization member roles ( #13977 )
2024-07-24 11:36:45 -06:00
Steven Masley
15fda232b7
feat: implement premium vs enterprise licenses ( #13907 )
...
* feat: implement premium vs enterprise licenses
Implement different sets of licensed features.
2024-07-24 12:07:59 -05:00
Ethan
7028ff79c3
feat(codersdk): export template variable parser ( #13984 )
2024-07-24 14:11:29 +10:00
Danny Kopping
b817c863ef
fix: webhook endpoint YAML attribute ( #13983 )
...
Signed-off-by: Danny Kopping <danny@coder.com >
2024-07-23 14:59:27 +00:00
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