738a38d71f
chore: remove resources calls ( #4344 )
2022-10-03 21:01:13 +00:00
0a95ba62b1
chore: Deprecate old cookie value ( #4336 )
...
Older clis will need to be updated.
Modern clis cannot communicate with <8.15 coderd
2022-10-03 13:04:22 -04:00
df2649ed2a
fix: Test flake in TestWorkspaceStatus
( #4333 )
...
This also changes the status to be on the workspace build, since
that's where the true value is calculated. This exposed a bug where
jobs could never enter the canceled state unless fetched by a
provisioner daemon, which was nice to fix!
See: https://github.com/coder/coder/actions/runs/3175304200/jobs/5173479506
2022-10-03 11:43:11 -05:00
88d49dbcab
fix: Add isFirst check before err check ( #4326 )
...
This was causing TestBlockNonBrowser to hang and fail.
2022-10-03 09:51:20 -05:00
00d0620679
fix: Fix err check in DialWorkspaceAgentTailnet ( #4320 )
2022-10-03 16:53:11 +03:00
139bc6f58b
chore: derive workspace status on backend ( #4284 )
2022-09-30 17:36:21 -04:00
69c73b2d28
feat: workspace quotas ( #4184 )
2022-09-30 14:01:20 -04:00
39cf329404
fix: Replace access URL for built-in DERP servers ( #4197 )
...
Fixes #4195 .
2022-09-26 12:56:04 -05:00
ee4b934601
Add Users Last Seen At ( #4192 )
2022-09-26 15:31:03 +00:00
b8ec5c786d
fix: Ensure tailnet coordinations are sent orderly ( #4198 )
2022-09-26 10:16:04 -05:00
28428d1294
feat: Add custom version names ( #4186 )
...
Fixes #4137 .
2022-09-23 20:17:36 -05:00
3c215a83b6
feat: Allow admins to create workspaces ( #4183 )
...
Fixes #3263 .
This is now possible via the API, but still isn't possible via the UI.
2022-09-23 20:17:10 -05:00
4c8be34d81
feat: add health check monitoring to workspace apps ( #4114 )
2022-09-23 15:51:04 -04:00
6deef06ad2
feat: secure and cross-domain subdomain-based proxying ( #4136 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2022-09-22 22:30:32 +00:00
a7ee8b31e0
fix: Don't use StatusAbnormalClosure ( #4155 )
2022-09-22 18:26:05 +00:00
7ad4276224
feat: Add browser-only connections to Enterprise ( #4135 )
...
* feat: Add browser-only connections to Enterprise
Fixes #4131 .
* Fix formatting
2022-09-22 15:14:22 +00:00
d30945c5c5
feat: bump workspace deadline on user activity ( #4119 )
...
Resolves #2995
2022-09-20 21:17:24 +00:00
5e2efb68f1
feat: add SCIM provisioning via Okta ( #4132 )
...
Co-authored-by: Ben Potter <ben@coder.com >
2022-09-20 15:16:26 -05:00
bc47d7ce69
feat: Add extra fields to the audit filter ( #4123 )
2022-09-20 13:07:21 -03:00
714c366d16
chore: Remove WebRTC networking ( #3881 )
...
* chore: Remove WebRTC networking
* Fix race condition
* Fix WebSocket not closing
2022-09-19 19:46:29 -05:00
adad347902
refactor: Refactor audit logs count to support filtering ( #4113 )
2022-09-19 17:08:25 +00:00
bf8d823ae3
feat: Add audit log filters in the API ( #4078 )
2022-09-19 10:37:33 -03:00
63fd4945a2
chore: watch workspace endpoint ( #4060 )
2022-09-16 18:54:23 +00:00
9b5ee8f267
feat: Implement (but not enforce) CSRF for FE requests ( #3786 )
...
Future work is to enforce CSRF
Co-authored-by: Presley Pizzo <presley@coder.com >
2022-09-13 15:26:46 -04:00
214e59452f
feat: Show custom resource icons in the UI ( #4020 )
2022-09-13 11:32:59 -03: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
29bac36816
feat: add workspace auditing ( #3966 )
2022-09-10 11:07:45 -05:00
8a94b72c7d
feat: Allow hide resources ( #3977 )
2022-09-09 16:38:00 -03:00
f6aa025a01
feat: use active users instead of total users in Template views ( #3900 )
2022-09-09 19:30:31 +00:00
7dc73ed6c6
feat: add description to audit log responses ( #3949 )
2022-09-08 09:36:34 -05:00
720c9dadcf
fix: Remove name from workspace builds ( #3937 )
...
Fixes #1561 .
2022-09-07 19:49:57 +00:00
3d6d51fbd0
feat: audit log api ( #3898 )
2022-09-07 16:38:19 +00:00
4f0105ef7e
feat: add orphan support ( #3849 )
...
* feat: add resource orphanage
* feat: deny custom state in build for regular users
* Minor protoc improvements
2022-09-06 17:07:00 +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
ac50070713
fix: Add omitempty for proper latency type ( #3850 )
...
This was causing an error on the frontend, because this value can be nil!
2022-09-02 22:05:27 +00:00
04b03792cb
feat: add last used to Workspaces page ( #3816 )
2022-09-02 00:08:51 +00:00
30f8fd9b95
Daily Active User Metrics ( #3735 )
...
* agent: add StatsReporter
* Stabilize protoc
2022-09-01 14:58:23 -05:00
9bd83e5ec7
feat: Add Tailscale networking ( #3505 )
...
* fix: Add coder user to docker group on installation
This makes for a simpler setup, and reduces the likelihood
a user runs into a strange issue.
* Add wgnet
* Add ping
* Add listening
* Finish refactor to make this work
* Add interface for swapping
* Fix conncache with interface
* chore: update gvisor
* fix tailscale types
* linting
* more linting
* Add coordinator
* Add coordinator tests
* Fix coordination
* It compiles!
* Move all connection negotiation in-memory
* Migrate coordinator to use net.conn
* Add closed func
* Fix close listener func
* Make reconnecting PTY work
* Fix reconnecting PTY
* Update CI to Go 1.19
* Add CLI flags for DERP mapping
* Fix Tailnet test
* Rename ConnCoordinator to TailnetCoordinator
* Remove print statement from workspace agent test
* Refactor wsconncache to use tailnet
* Remove STUN from unit tests
* Add migrate back to dump
* chore: Upgrade to Go 1.19
This is required as part of #3505 .
* Fix reconnecting PTY tests
* fix: update wireguard-go to fix devtunnel
* fix migration numbers
* linting
* Return early for status if endpoints are empty
* Update cli/server.go
Co-authored-by: Colin Adler <colin1adler@gmail.com >
* Update cli/server.go
Co-authored-by: Colin Adler <colin1adler@gmail.com >
* Fix frontend entites
* Fix agent bicopy
* Fix race condition for the last node
* Fix down migration
* Fix connection RBAC
* Fix migration numbers
* Fix forwarding TCP to a local port
* Implement ping for tailnet
* Rename to ForceHTTP
* Add external derpmapping
* Expose DERP region names to the API
* Add global option to enable Tailscale networking for web
* Mark DERP flags hidden while testing
* Update DERP map on reconnect
* Add close func to workspace agents
* Fix race condition in upstream dependency
* Fix feature columns race condition
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2022-08-31 20:09:44 -05:00
00da01fdf7
chore: rearrange audit logging code into enterprise folder ( #3741 )
2022-08-31 21:12:54 +00:00
5362f4636e
feat: show agent version in UI and CLI ( #3709 )
...
This commit adds the ability for agents to set their version upon start.
This is then reported in the UI and CLI.
2022-08-31 16:33:50 +01: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
611ca55458
fix: Use "data" scheme when creating parameters from the site ( #3732 )
...
Fixes #3691 .
2022-08-29 16:32:57 +00:00
c8f8c95f6a
feat: Add support for renaming workspaces ( #3409 )
...
* feat: Implement workspace renaming
* feat: Add hidden rename command (and data loss warning)
* feat: Implement database.IsUniqueViolation
2022-08-26 12:28:38 +03:00
ca3811499e
DELETE license API endpoint ( #3697 )
...
* DELETE license API endpoint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix new lint stuff
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-25 14:04:31 -07:00
78a24941fe
feat: Add codersdk.NullTime
, change workspace build deadline ( #3552 )
...
Fixes #2015
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-08-25 19:10:42 +03:00
0b53b06fc6
chore: Make member role struct match site roles ( #3671 )
2022-08-24 15:58:57 -04:00
c9bce19d88
GET license endpoint ( #3651 )
...
* GET license endpoint
Signed-off-by: Spike Curtis <spike@coder.com >
* SDK GetLicenses -> Licenses
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-24 18:44:22 +00:00
b101a6f3f4
POST license API endpoint ( #3570 )
...
* POST license API
Signed-off-by: Spike Curtis <spike@coder.com >
* Support interface{} types in generated Typescript
Signed-off-by: Spike Curtis <spike@coder.com >
* Disable linting on empty interface any
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
* Enforce unique licenses
Signed-off-by: Spike Curtis <spike@coder.com >
* Renames from code review
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review renames and comments
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-22 15:02:50 -07:00
58d29264aa
feat: Add template icon to the workspaces page ( #3612 )
...
This removes the last built by column from the page. It seemed
cluttered to have both on the page, and is simple enough to
click on the workspace to see additional info.
2022-08-22 09:42:11 -05:00
80f042f01b
feat: Add icon to templates ( #3561 )
2022-08-19 13:17:35 +00:00