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
dependabot[bot]
8e69f02695
chore: bump axios from 0.26.1 to 1.3.4 in /site ( #6954 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.26.1 to 1.3.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.26.1...v1.3.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 10:30:39 -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
Mathias Fredriksson
d9d44c1188
ci: Print go test stats ( #6855 )
...
Fixes #6676
2023-04-03 11:07:25 +00:00
dependabot[bot]
31690c4b3d
chore: bump @xstate/react from 3.0.1 to 3.2.1 in /site ( #6955 )
...
Bumps [@xstate/react](https://github.com/statelyai/xstate ) from 3.0.1 to 3.2.1.
- [Release notes](https://github.com/statelyai/xstate/releases )
- [Commits](https://github.com/statelyai/xstate/compare/@xstate/react@3.0.1...@xstate/react@3.2.1 )
---
updated-dependencies:
- dependency-name: "@xstate/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 16:37:57 -05: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
Ben Potter
5953a46785
docs: Open in Coder ( #6859 )
...
* docs: git auth via template
* add page
* docs: Open in Coder
* fmt
2023-03-30 16:12:47 +00: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
Bruno Quaresma
e3a965bcc9
fix(site): Add page header into permissions page ( #6760 )
2023-03-27 11:32:20 +00:00
Marcin Tojek
c9cbc63cd4
feat: Fine-tune logs presentation ( #6771 )
...
* Process debug mode logs
* Debug logs are grey
* Fix
2023-03-24 13:29:18 +01:00
Ammar Bandukwala
2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
Bruno Quaresma
b71b8daa21
fix(site): Add helper text and prevent undefined when deleting empty value ( #6757 )
2023-03-23 20:44:40 +00:00
Bruno Quaresma
88e24db643
refactor(site): Group template permissions, settings and variables under a settings layout ( #6737 )
2023-03-23 16:43:12 -03:00
Kyle Carberry and Asher
cb7375450b
feat: add startup script logs to the ui ( #6558 )
...
* Add startup script logs to the database
* Add coderd endpoints for startup script logs
* Push startup script logs from agent
* Pull startup script logs on frontend
* Rename queries
* Add constraint
* Start creating log sending loop
* Add log sending to the agent
* Add tests for streaming logs
* Shorten notify channel name
* Add FE
* Improve bulk log performance
* Finish UI display
* Fix startup log visibility
* Add warning for overflow
* Fix agent queue logs overflow
* Display staartup logs in a virtual DOM for performance
* Fix agent queue with loads of logs
* Fix authorize test
* Remove faulty test
* Fix startup and shutdown reporting error
* Fix gen
* Fix comments
* Periodically purge old database entries
* Add test fixture for migration
* Add Storybook
* Check if there are logs when displaying features
* Fix startup component overflow gap
* Fix startup log wrapping
---------
Co-authored-by: Asher <ash@coder.com >
2023-03-23 14:09:13 -05:00
Steven Masley
a6fa8cac58
chore: add typescript api for ssh config ( #6741 )
...
* chore: add typescript api for ssh config
2023-03-23 17:46:39 +00:00