6b6eac2518
feat: remove loadtest cmd, add new scaletest cmd ( #5310 )
2022-12-15 15:04:24 +00:00
88f3691dcc
feat: add count to get users endpoint ( #5016 )
2022-11-14 17:22:57 -05:00
f496b149df
feat: add count endpoint for users, enabling better pagination ( #4848 )
...
* Start on backend
* Hook up frontend
* Add to frontend test
* Add go test, wip
* Fix some test bugs
* Fix test
* Format
* Add to authorize.go
* copy user array into local variable
* Authorize route
* Log count error
* Authorize better
* Tweaks to authorization
* More authorization tweaks
* Make gen
* Fix test
Co-authored-by: Garrett <garrett@coder.com >
2022-11-08 10:58:44 -05:00
65ffa20ba2
fix: use correct empty uuids ( #4917 )
2022-11-06 16:49:43 -06:00
3f6c4486f7
Allow changing db schema from public ( #4873 )
...
* Remove public schema from enum defs
* Update queries
* Fix
2022-11-04 09:15:17 +01:00
3120c94c22
feat: add template RBAC/groups ( #4235 )
2022-10-10 15:37:06 -05:00
daa34cf7b8
fix: Return deleted users when fetching workspace builds ( #4441 )
...
Fixes #4359 .
2022-10-10 18:03:54 +00:00
47a53ce6c5
coderd: treat email case insensitively ( #4215 )
2022-09-27 03:51:58 +00:00
ee4b934601
Add Users Last Seen At ( #4192 )
2022-09-26 15:31:03 +00:00
850a83097c
feat: Allow deleting users ( #4028 )
...
* Add deleted column to the users table
* Fix user indexes
* Add frontend
* Add test
2022-09-12 23:24:20 +00:00
05e2806ff3
feat: Add profile pictures to OAuth users ( #3855 )
...
This supports GitHub and OIDC login for profile pictures!
2022-09-04 11:44:27 -05:00
cc346afce6
Use licenses to populate the Entitlements API ( #3715 )
...
* Use licenses for entitlements API
Signed-off-by: Spike Curtis <spike@coder.com >
* Tests for entitlements API
Signed-off-by: Spike Curtis <spike@coder.com >
* Add commentary about FeatureService
Signed-off-by: Spike Curtis <spike@coder.com >
* Lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Quiet down the logs
Signed-off-by: Spike Curtis <spike@coder.com >
* Tell revive it's ok
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-29 16:45:40 -07:00
c3eea98db0
fix: use unique ID for linked accounts ( #3441 )
...
- move OAuth-related fields off of api_keys into a new user_links table
- restrict users to single form of login
- process updates to user email/usernames for OIDC
- added a login_type column to users
2022-08-17 18:00:53 -05:00
01c31b47a3
fix: Adjust pagination limit to be zero-based ( #2663 )
...
There isn't a use-case for querying a limit of zero. Using
-1 led to issues when using default parameters for querying.
2022-06-26 20:23:25 +00:00
90815e5119
feat: improve Users filter API ( #2645 )
2022-06-24 23:55:28 +00:00
d21ab2115d
feat: Backend api for filtering users using filter query string ( #2553 )
...
* User search query string
2022-06-24 10:02:23 -05:00
cc87a0cf6b
feat: Implied 'member' roles for site and organization ( #1917 )
...
* feat: Member roles are implied and never exlpicitly added
* Rename "GetAllUserRoles" to "GetAuthorizationRoles"
* feat: Add migration to remove implied roles
* rename user auth role middleware
2022-06-01 09:07:50 -05:00
26a2a169df
fix: Suspended users cannot authenticate ( #1849 )
...
* fix: Suspended users cannot authenticate
- Merge roles and apikey extract httpmw
- Add member account to make dev
- feat: UI Shows suspended error logging into suspended account
- change 'active' route to 'activate'
2022-05-31 08:06:42 -05:00
dbd5b4a47b
feat: Add workspace owner name to response ( #1448 )
...
This will be rendered in the workspace page!
2022-05-13 20:41:21 -05:00
2d3dc436a8
feat: Implement unified pagination and add template versions support ( #1308 )
...
* feat: Implement pagination for template versions
* feat: Use unified pagination between users and template versions
* Sync codepaths between users and template versions
* Create requestOption type in codersdk and add test
* Fix created_at edge case for pagination cursor in queries
* feat: Add support for json omitempty and embedded structs in apitypings (#1318 )
* Add scripts/apitypings/main.go to Makefile
2022-05-10 07:44:09 +00:00
57bb108465
feat: Add update user password endpoint ( #1310 )
2022-05-06 09:20:08 -05:00
d0293e4d33
feat: Implement list roles & enforce authorize examples ( #1273 )
2022-05-03 16:10:19 -05:00
35211e2190
feat: Add user roles, but do not yet enforce them ( #1200 )
...
* chore: Rework roles to be expandable by name alone
2022-04-29 09:04:19 -05:00
ba4c3ce3b9
feat: add filter by status on GET /users ( #1206 )
2022-04-29 08:29:53 -05:00
441ffd6a0b
feat: add PUT /api/v2/users/:user-id/suspend endpoint ( #1154 )
2022-04-26 09:00:07 -05:00
be974cf280
feat: Add users create and list commands ( #1111 )
...
This allows for *extremely basic* user management.
2022-04-24 20:08:26 -05:00
548de7d6f3
feat: User pagination using offsets ( #1062 )
...
Offset pagination and cursor pagination supported
2022-04-22 15:27:55 -05:00
1df750bf1a
feat: add GET /api/v2/users ( #1028 )
2022-04-18 17:19:47 +00:00
63d1465019
feat: Add update profile endpoint ( #916 )
2022-04-12 14:05:21 +00:00
fd523100bf
chore: split queries.sql into files by table ( #762 )
2022-04-01 15:45:23 -05:00