Kyle Carberry
26cfc18b74
fix: use proper deployment access setting name ( #7162 )
2023-04-17 10:01:51 -05:00
Bruno Quaresma
53f521aaf9
chore(site): Make requests when offline ( #7161 )
2023-04-17 14:44:38 +00:00
Bruno Quaresma
d639e6b898
feat(site): Ask for missing template variables in the template editor ( #7108 )
2023-04-17 09:12:28 -03:00
Kira Pilot and BrunoQuaresma
9ec16d4454
feat(UI): add workspace restart button ( #7137 )
...
* Refactor primary buttons
* refactor(site): Always show the main actions
* Remove tests that are testes on Storybook
* Fix tests
* Fix keys
* added restart btn
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-04-14 08:48:05 -07:00
Bruno Quaresma
7bbbb91df5
refactor(site): Refactor workspace actions ( #7124 )
2023-04-14 15:28:52 +00:00
Marcin Tojek
942aba3a66
feat: expose agent stats via Prometheus endpoint ( #7115 )
...
* WIP
* WIP
* WIP
* Agents
* fix
* 1min
* fix
* WIP
* Test
* docs
* fmt
* Add timer to measure the metrics collection
* Use CachedGaugeVec
* Unit tests
* WIP
* WIP
* db: GetWorkspaceAgentStatsAndLabels
* fmt
* WIP
* gauges
* feat: collect
* fix
* fmt
* minor fixes
* Prometheus flag
* fix
* WIP
* fix tests
* WIP
* fix json
* Rx Tx bytes
* CloseFunc
* fix
* fix
* Fixes
* fix
* fix: IgnoreErrors
* Fix: Windows
* fix
* reflect.DeepEquals
2023-04-14 16:14:52 +02:00
Bruno Quaresma
dafb7663c5
fix(site): Fix button text overflow ( #7132 )
2023-04-14 15:13:55 +02:00
Bruno Quaresma
ad665cef91
fix(site): Load monaco locally ( #7092 )
2023-04-14 13:11:28 +00:00
Bruno Quaresma
17bb1a1ff1
chore(site): Upgrade storybook to 7.0.4 ( #7127 )
2023-04-13 21:36:20 +00:00
Kira Pilot and Colin Adler
f6c89a2615
feat: differentiate new user registration from user login in the audit log ( #7096 )
...
* auditing register events
* fix tests
* update docs
* update comments
* Update coderd/audit/request.go
Co-authored-by: Colin Adler <colin1adler@gmail.com >
---------
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-04-12 11:46:16 -07:00
Rodrigo Maia and Dean Sheather
d1d459cb79
feat(site): add advanced schedule settings to UI ( #7061 )
...
* feat: add advanced schedule settings
* Update site/src/pages/CreateTemplatePage/CreateTemplateForm.tsx
Co-authored-by: Dean Sheather <dean@deansheather.com >
* rename variable
* fix optionText css
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-04-12 17:47:48 +00:00
Bruno Quaresma
b86ed11bc0
refactor(site): Refactor the schedule controls in the workspace page ( #7083 )
2023-04-11 13:33:24 -03:00
Bruno Quaresma
b92e7d4fab
refactor(site): Refactor workspace schedule page ( #7069 )
2023-04-11 16:27:52 +00:00
Steven Masley
9d39371ee0
feat: Option to remove WorkspaceExec from owner role ( #7050 )
...
* chore: Add AllResources option for listing all RBAC objects
* Owners cannot do workspace exec site wide
* Fix FE authchecks to valid RBAC resources
2023-04-11 08:57:23 -05:00
Kyle Carberry
81e2b2500a
feat: add level support for startup logs ( #7067 )
...
This allows external services like our devcontainer support to display
errors and warnings with custom styles to indicate failures to users.
2023-04-10 14:29:59 -05:00
Bruno Quaresma
aa2468b16e
fix(site): Handle rename a folder to a file ( #7063 )
2023-04-10 13:30:21 -03:00
Ammar Bandukwala
4b99e2d07e
feat: add YAML support to server ( #6934 )
2023-04-07 22:58:21 +00:00
Ammar Bandukwala
dd85ea8977
feat: tolerate disconnects in agent metadata frontend ( #6939 )
2023-04-06 19:51:52 -05:00
Kyle Carberry
e1149992d8
feat: support ansi colors in startup script logs ( #7037 )
...
This will help with beautiful output for devcontainers!
2023-04-06 12:39:09 -05:00
Dean Sheather and Steven Masley
eb66cc9f35
chore: move app proxying code to workspaceapps pkg ( #6998 )
...
* chore: move app proxying code to workspaceapps pkg
Moves path-app, subdomain-app and reconnecting PTY proxying to the new
workspaceapps.WorkspaceAppServer struct. This is in preparation for
external workspace proxies.
Updates app logout flow to avoid redirecting to coder-logout.${app_host}
on logout. Instead, all subdomain app tokens owned by the logging-out
user will be deleted every time you logout for simplicity sake.
Tests will remain in their original package, pending being moved to an
apptest package (or similar).
Co-authored-by: Steven Masley <stevenmasley@coder.com >
2023-04-05 13:41:55 -05:00
Cian Johnston
9c4ccd76a0
fix(coderd)!: add CODER_OIDC_IGNORE_USERINFO configuration option ( #6922 )
...
* add CODER_OIDC_IGNORE_USERINFO option
* chore: update docs for CODER_OIDC_IGNORE_USERINFO w.r.t ADFS
* fix!: codersdk: fix incorrectly named OIDC_GROUP_MAPPING -> CODER_OIDC_GROUP_MAPPING
2023-04-05 09:07:43 +01:00
Steven Masley
b4afbe7720
feat: Implement experiment gated CRUD for workspace proxies ( #6928 )
...
* feat: Implement basic moon crud
* chore: Implement enterprise endpoints for moons
2023-04-04 15:07:29 -05:00
Kyle Carberry and Colin Adler
385a4262e2
fix: remove audit-logging flag from the server ( #6991 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-04-04 12:11:10 -05:00
Bruno Quaresma
29e9b9e663
feat(site): Add change version for template admins ( #6988 )
2023-04-04 10:25:49 -03:00
Bruno Quaresma
46f42ea9ac
fix(site): Prompting user for missing variables ( #7002 )
2023-04-04 13:15:35 +00:00
Dean Sheather
e33941b7c2
feat: allow disabling autostart and custom autostop for template ( #6933 )
...
API only, frontend in upcoming PR.
2023-04-04 12:48:35 +00:00
Rodrigo Maia
a1371dbd60
feat(site): move template's readme to its own tab ( #6863 )
...
* feat(site): display template's readme first on template page
* chore: prettier
* move readme to a new docs tab
* test
* prettier
* fix tests
* prettier
2023-04-03 18:18:28 +00:00
Kyle Carberry
55c0b26977
fix: update status text for the workspace progress bar ( #6977 )
...
Fixes #4691 .
2023-04-03 11:00:56 -05:00
Bruno Quaresma
aa43f998d4
feat(site): Promote template version ( #6929 )
2023-04-03 14:27:17 +00:00
Marcin Tojek and Kira Pilot
633dfbdb2e
feat: rich parameters: introduce display_name ( #6919 )
...
* model
* DB
* fix: DisplayName
* proto
* Proto
* Update go dep
* fixme
* fix format
* config
* fmt
* fix
* Fix
* fix
* chore(UI): redirecting from workspace page if 404 (#6880 )
* model
* CLI: Display parameter
* fix
* update dep
* fix
* fix
* fix
* UI changes
* fmt
---------
Co-authored-by: Kira Pilot <kira@coder.com >
2023-04-03 14:37:47 +02:00
Kyle Carberry
84956c16cc
fix: reduce spacing when agent metadata doesn't exist ( #6937 )
2023-03-31 22:08:42 +00:00
Ammar Bandukwala
ca4fa81570
feat: add agent metadata ( #6614 )
2023-03-31 15:26:19 -05:00
Bruno Quaresma
90e2bab078
feat(site): Display workspace build error + option to retry in debug mode ( #6903 )
2023-03-31 14:01:12 +00:00
Steven Masley
901045a95f
fix: FE show correct config-ssh prefix ( #6904 )
...
* fix: Push correct ssh prefix to FE
2023-03-31 08:48:44 -05:00
Kira Pilot
a364318462
chore(UI): redirecting from workspace page if 404 ( #6880 )
2023-03-31 06:31:48 -07:00
Kira Pilot
3b52d4f336
chore(UI): remove template link from workspaces page row ( #6882 )
...
* chore(UI): remove template link from workspaces page row
* remove stack and span as per PR comment
2023-03-30 10:32:23 -07:00
Bruno Quaresma
b26f30688f
feat(site): Duplicate template ( #6853 )
2023-03-30 11:42:29 -03:00
Marcin Tojek
0ba200c2a1
feat: Enable workspace debug logging ( #6838 )
...
* feat: Enable workspace debug logging
* Fix
* Fix
* Fix
* fix
* fix
* Enable RBAC
* unit tests
* Fix
* fix
* fix
* fix
* more tests
* fix: workspacebuild_test use roles
* fix: swagger comment
* fix: ctx.Done
* fix: address PR comments
* break loop
2023-03-30 16:00:33 +02:00
Bruno Quaresma
7d7aa789b3
fix(site): Only patch version name if name is changed ( #6878 )
2023-03-30 12:22:55 +00:00
Bruno Quaresma
d8762c676f
feat(site): Show main.tf file first on template files page ( #6854 )
2023-03-30 11:33:42 +00:00
Cian Johnston
563c3ade06
feat: allow configuring OIDC email claim and OIDC auth url parameters ( #6867 )
...
This commit:
- Allows configuring the OIDC claim Coder uses for email addresses (by default, this is still email)
- Allows customising the parameters sent to the upstream identity provider when requesting a token. This is still access_type=offline by default.
- Updates documentation related to the above.
2023-03-30 09:36:57 +01:00
Rodrigo Maia
3d91fe8895
fix(site): fix redirection to login after logout/change password ( #6870 )
...
* fix(site): fix redirection to login after logout/change password
* chore: add login verification assert
* prettier
2023-03-29 21:39:56 +00:00
Steven Masley
90da09bc2c
chore: Make deployment admin page show better durations ( #6856 )
...
* chore: Make deployment admin page show better durations
Also fix group mappings
2023-03-29 16:26:20 -05:00
Bruno Quaresma
175dde1c52
chore(site): Try to fix flake test ( #6848 )
2023-03-29 16:10:04 -03:00
Cian Johnston
b38d1ed4a5
Revert "fix(UI): redirect if user is not permissioned to see workspace ( #6786 )" ( #6836 )
...
This reverts commit fc21e159b8 .
2023-03-28 09:38:39 +00:00
Bruno Quaresma
dd4e1f74ff
feat(site): Ask for version name and if it is active when publishing a new version on editor ( #6756 )
2023-03-27 17:26:57 +00:00
Steven Masley and Bruno Quaresma
7fa5afa268
fix: Users that can update a template can also read the file ( #6776 )
...
* fix: Users that can update a template can also read the file
This currently has a strange RBAC story. An issue will be filed
to streamline this.
This is a hotfix to resolve current functionality
* Only showsource code tab if the user has permission to edit the template
---------
Co-authored-by: Bruno Quaresma <bruno_nonato_quaresma@hotmail.com >
2023-03-27 09:21:41 -05:00
Kira Pilot
fc21e159b8
fix(UI): redirect if user is not permissioned to see workspace ( #6786 )
...
* fix(UI): redirect if user is not permissioned to see workspace
* fix tests
2023-03-27 06:25:31 -07:00
Kira Pilot
08afe3cfad
chore(UI): remove private icon from apps in dashboard ( #6801 )
...
* chore(UI): remove private icon from apps in dashboard
* clean up redudant snapshots
2023-03-27 06:24:42 -07:00
Ammar Bandukwala
e0cc4ee7f8
fix: correct english in CreateWorkspacePage ( #6797 )
2023-03-27 08:49:18 -03:00