Kyle Carberry
b675aec4dd
feat: Add endpoint to get all workspaces a user can access ( #1354 )
...
This iterates through user organizations to get permitted
workspaces. This will allow admins to manage user workspaces!
2022-05-10 02:38:20 +00:00
Colin Adler
20caee1502
feat: add audit exporting and filtering ( #1314 )
2022-05-09 22:05:01 +00:00
Bruno Quaresma
57bb108465
feat: Add update user password endpoint ( #1310 )
2022-05-06 09:20:08 -05:00
Steven Masley
d0293e4d33
feat: Implement list roles & enforce authorize examples ( #1273 )
2022-05-03 16:10:19 -05:00
Colin Adler
81bef1c83e
feat: add audit logging database schema ( #1225 )
2022-05-02 19:30:46 +00:00
Kyle Carberry
8701e0084c
feat: Update Terraform provider to support "dir" in "coder_agent" ( #1219 )
...
This allows users to specify a starting directory for shell sessions.
2022-05-02 10:27:34 -05:00
Steven Masley
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
Bruno Quaresma
ba4c3ce3b9
feat: add filter by status on GET /users ( #1206 )
2022-04-29 08:29:53 -05:00
Bruno Quaresma
816441eff7
feat: add organization_ids in the user(s) response ( #1184 )
2022-04-28 09:10:17 -05:00
Bruno Quaresma
441ffd6a0b
feat: add PUT /api/v2/users/:user-id/suspend endpoint ( #1154 )
2022-04-26 09:00:07 -05:00
Kyle Carberry
88669fd578
feat: Move workspaces under organizations ( #1109 )
...
This removes split ownership for workspaces. They are now
a resource of organizations and have a designated owner,
which is a user.
This enables simple administration for commands like:
- `coder stop ben/dev`
- `coder build logs colin/arch`
or if we decide to allow administrators to access workspaces,
they could even SSH using this syntax: `coder ssh colin/dev`.
2022-04-25 16:11:03 -05:00
Kyle Carberry
be974cf280
feat: Add users create and list commands ( #1111 )
...
This allows for *extremely basic* user management.
2022-04-24 20:08:26 -05:00
Kyle Carberry
7496c3da81
feat: Add GitHub OAuth ( #1050 )
...
* Initial oauth
* Add Github authentication
* Add AuthMethods endpoint
* Add frontend
* Rename basic authentication to password
* Add flags for configuring GitHub auth
* Remove name from API keys
* Fix authmethods in test
* Add stories and display auth methods error
2022-04-23 22:58:57 +00:00
Steven Masley
548de7d6f3
feat: User pagination using offsets ( #1062 )
...
Offset pagination and cursor pagination supported
2022-04-22 15:27:55 -05:00
Bruno Quaresma
1df750bf1a
feat: add GET /api/v2/users ( #1028 )
2022-04-18 17:19:47 +00:00
Kyle Carberry
e8b310166f
fix: Remove resource addresses ( #982 )
...
These were added under the impression that there was significant
user-experience impact if multiple resources share the same name.
This hasn't proven to be true yet, so figured we'd take this out
until it becomes necessary.
2022-04-12 14:38:02 -05:00
Bruno Quaresma
63d1465019
feat: Add update profile endpoint ( #916 )
2022-04-12 14:05:21 +00:00
Kyle Carberry
19b4323512
feat: Allow workspace resources to attach multiple agents ( #942 )
...
This enables a "kubernetes_pod" to attach multiple agents that
could be for multiple services. Each agent is required to have
a unique name, so SSH syntax is:
`coder ssh <workspace>.<agent>`
A resource can have zero agents too, they aren't required.
2022-04-11 16:06:15 -05:00
Cian Johnston
23f989127d
coderd: autostart: codersdk, http api, database plumbing ( #879 )
...
* feat: add columns autostart_schedule, autostop_schedule to database schema
* feat: database: add UpdateWorkspaceAutostart and UpdateWorkspaceAutostop methods
* feat: add AutostartSchedule/AutostopSchedule to api workspace struct
* feat: codersdk: implement update workspace autostart and autostop methods
* chore: add unit tests for workspace autostarat and autostop methods
2022-04-07 10:03:35 +01:00
Kyle Carberry
02ad3f14f5
chore: Rename Projects to Templates ( #880 )
...
Customer feedback indicated projects was a confusing name.
After querying the team internally, it seemed unanimous
that it is indeed a confusing name.
Here's for a lil less confusion @ashmeer7 🥂
2022-04-06 12:42:40 -05:00
Garrett Delfosse
9da17be61e
feat: Add user scoped git ssh keys ( #834 )
2022-04-06 00:18:26 +00:00
Colin Adler
fd523100bf
chore: split queries.sql into files by table ( #762 )
2022-04-01 15:45:23 -05:00