Dean Sheather
1386465631
feat: add endpoint to get listening ports in agent ( #4260 )
2022-10-06 22:38:22 +10:00
Dean Sheather
2a66395fb7
feat: use app wildcards for apps if configured ( #4263 )
...
* feat: use app wildcards for apps if configured
* feat: relative_path -> subdomain
- rename relative_path -> subdomain when referring to apps
- migrate workspace_apps.relative_path to workspace_apps.subdomain
- upgrade coder/coder terraform module to 0.5.0
2022-10-05 19:23:01 +00:00
Kyle Carberry
504cd462a7
fix: Check for a response body when dialing the Tailnet WebSocket ( #4327 )
...
There was a panic in this code that caused it to fail on error!
2022-10-04 19:46:59 -05:00
Garrett Delfosse
ffbaa93722
feat: add experimental flag ( #4364 )
2022-10-04 19:45:00 +00:00
Garrett Delfosse
738a38d71f
chore: remove resources calls ( #4344 )
2022-10-03 21:01:13 +00:00
Steven Masley
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
Kyle Carberry
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
Kyle Carberry
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
Mathias Fredriksson
00d0620679
fix: Fix err check in DialWorkspaceAgentTailnet ( #4320 )
2022-10-03 16:53:11 +03:00
Garrett Delfosse
139bc6f58b
chore: derive workspace status on backend ( #4284 )
2022-09-30 17:36:21 -04:00
Garrett Delfosse
69c73b2d28
feat: workspace quotas ( #4184 )
2022-09-30 14:01:20 -04:00
Kyle Carberry
39cf329404
fix: Replace access URL for built-in DERP servers ( #4197 )
...
Fixes #4195 .
2022-09-26 12:56:04 -05:00
Ammar Bandukwala
ee4b934601
Add Users Last Seen At ( #4192 )
2022-09-26 15:31:03 +00:00
Kyle Carberry
b8ec5c786d
fix: Ensure tailnet coordinations are sent orderly ( #4198 )
2022-09-26 10:16:04 -05:00
Kyle Carberry
28428d1294
feat: Add custom version names ( #4186 )
...
Fixes #4137 .
2022-09-23 20:17:36 -05:00
Kyle Carberry
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
Garrett Delfosse
4c8be34d81
feat: add health check monitoring to workspace apps ( #4114 )
2022-09-23 15:51:04 -04:00
Dean Sheather and Kyle Carberry
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
Kyle Carberry
a7ee8b31e0
fix: Don't use StatusAbnormalClosure ( #4155 )
2022-09-22 18:26:05 +00:00
Kyle Carberry
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
Ammar Bandukwala
d30945c5c5
feat: bump workspace deadline on user activity ( #4119 )
...
Resolves #2995
2022-09-20 21:17:24 +00:00
Colin Adler and Ben Potter
5e2efb68f1
feat: add SCIM provisioning via Okta ( #4132 )
...
Co-authored-by: Ben Potter <ben@coder.com >
2022-09-20 15:16:26 -05:00
Bruno Quaresma
bc47d7ce69
feat: Add extra fields to the audit filter ( #4123 )
2022-09-20 13:07:21 -03:00
Kyle Carberry
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
Bruno Quaresma
adad347902
refactor: Refactor audit logs count to support filtering ( #4113 )
2022-09-19 17:08:25 +00:00
Bruno Quaresma
bf8d823ae3
feat: Add audit log filters in the API ( #4078 )
2022-09-19 10:37:33 -03:00
Garrett Delfosse
63fd4945a2
chore: watch workspace endpoint ( #4060 )
2022-09-16 18:54:23 +00:00
Steven Masley and Presley Pizzo
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
Bruno Quaresma
214e59452f
feat: Show custom resource icons in the UI ( #4020 )
2022-09-13 11:32:59 -03:00
Kyle Carberry
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
Colin Adler
29bac36816
feat: add workspace auditing ( #3966 )
2022-09-10 11:07:45 -05:00
Bruno Quaresma
8a94b72c7d
feat: Allow hide resources ( #3977 )
2022-09-09 16:38:00 -03:00
Ammar Bandukwala
f6aa025a01
feat: use active users instead of total users in Template views ( #3900 )
2022-09-09 19:30:31 +00:00
Colin Adler
7dc73ed6c6
feat: add description to audit log responses ( #3949 )
2022-09-08 09:36:34 -05:00
Kyle Carberry
720c9dadcf
fix: Remove name from workspace builds ( #3937 )
...
Fixes #1561 .
2022-09-07 19:49:57 +00:00
Colin Adler
3d6d51fbd0
feat: audit log api ( #3898 )
2022-09-07 16:38:19 +00:00
Ammar Bandukwala
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
Kyle Carberry
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
Kyle Carberry
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
Ammar Bandukwala
04b03792cb
feat: add last used to Workspaces page ( #3816 )
2022-09-02 00:08:51 +00:00
Ammar Bandukwala
30f8fd9b95
Daily Active User Metrics ( #3735 )
...
* agent: add StatsReporter
* Stabilize protoc
2022-09-01 14:58:23 -05:00
Kyle Carberry and Colin Adler
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
Colin Adler
00da01fdf7
chore: rearrange audit logging code into enterprise folder ( #3741 )
2022-08-31 21:12:54 +00:00
Cian Johnston
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
Spike Curtis
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
Kyle Carberry
611ca55458
fix: Use "data" scheme when creating parameters from the site ( #3732 )
...
Fixes #3691 .
2022-08-29 16:32:57 +00:00
Mathias Fredriksson
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
Spike Curtis
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
Mathias Fredriksson and Joe Previte
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
Steven Masley
0b53b06fc6
chore: Make member role struct match site roles ( #3671 )
2022-08-24 15:58:57 -04:00