Bruno Quaresma
5106dfde52
refactor(site): refactor the ports button design ( #8879 )
...
* Refactor button
* Move component to where it is used
* Add base state of port forward component
* Add stories and empty state
* Add listening ports to handlers
* Add review suggestions
* Fix minor thing
2023-08-04 09:55:33 -05:00
Jon Ayers
e43608395c
feat: add frontend for locked workspaces ( #8655 )
...
- Fix workspaces query for locked workspaces.
2023-08-03 19:46:02 -05:00
Bruno Quaresma
b6018198b7
chore: remove insights from experimental ( #8868 )
2023-08-02 20:24:00 +00:00
Colin Adler
4b81cfaa0d
chore: switch from yarn to pnpm ( #8822 )
2023-08-02 13:28:16 -05:00
Bruno Quaresma
cf35c0dfc5
feat(site): add health warning and a health monitor page ( #8844 )
2023-08-02 14:49:24 -03:00
Bruno Quaresma
00cbb211b4
fix(site): show error when user exists ( #8864 )
2023-08-02 14:36:35 -03:00
Steven Masley
4c1e63aae8
feat: add display_name field to groups ( #8740 )
...
* feat: add display_name field to groups
This is a non-unique human friendly group name for display
purposes. This means a display name can be used instead of
using an environment var to remap groups with OIDC names to
Coder names. Now groups can retain the OIDC name for mapping,
and use a display name for display purposes.
2023-08-02 10:53:06 -05:00
Marcin Tojek
d6e9870209
feat: add "dormant" user state ( #8644 )
2023-08-02 16:31:25 +02:00
Steven Masley
cb36783e8c
feat: convert to oidc out of experimental ( #8742 )
2023-07-31 10:30:34 -05:00
Bruno Quaresma
a75346dd32
refactor(site): simplify workspaces page component structure ( #8793 )
2023-07-28 13:07:50 -03:00
Kyle Carberry
bd944e0d21
chore: rename startup logs to agent logs ( #8649 )
...
* chore: rename startup logs to agent logs
This also adds a `source` property to every agent log. It
should allow us to group logs and display them nicer in
the UI as they stream in.
* Fix migration order
* Fix naming
* Rename the frontend
* Fix tests
* Fix down migration
* Match enums for workspace agent logs
* Fix inserting log source
* Fix migration order
* Fix logs tests
* Fix psql insert
2023-07-28 15:57:23 +00:00
Bruno Quaresma
78b06397a6
fix(site): fix metadata value changing width all the time ( #8780 )
2023-07-28 09:59:49 -03:00
Bruno Quaresma
e8f82538e8
refactor(site): sort proxies in navbar by latency ( #8781 )
2023-07-27 21:50:11 -03:00
Kyle Carberry
91a0c7abe0
fix: improve the language of the template insights page ( #8777 )
2023-07-27 21:04:28 +00:00
Bruno Quaresma
471dc6126c
chore: upgrade nodejs version to 18.x ( #8768 )
2023-07-27 17:54:38 -03:00
975424b3a2
chore: bump the eslint group in /site with 5 updates ( #8636 )
...
* chore: bump the eslint group in /site with 5 updates
Bumps the eslint group in /site with 5 updates:
| Package | Update |
| --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | 5.62.0 to 6.1.0 |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | 5.62.0 to 6.1.0 |
| [eslint](https://github.com/eslint/eslint ) | 8.44.0 to 8.45.0 |
| [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) | 7.31.1 to 7.33.0 |
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) | 47.0.0 to 48.0.0 |
Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 6.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.1.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 5.62.0 to 6.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.1.0/packages/parser )
Updates `eslint` from 8.44.0 to 8.45.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0 )
Updates `eslint-plugin-react` from 7.31.1 to 7.33.0
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.1...v7.33.0 )
Updates `eslint-plugin-unicorn` from 47.0.0 to 48.0.0
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v48.0.0 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
* ignore no-redundant-type-constituents
* Fix minor lint errors
* Discard changes to site/.eslintrc.yaml
* Fix redudant types
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-07-27 10:51:18 -03:00
Bruno Quaresma
e85b88ca90
feat(site): add restart button when workspace is unhealthy ( #8765 )
2023-07-27 09:20:24 -03:00
Bruno Quaresma
b5dec61cd5
feat(site): show metadata stale data ( #8745 )
2023-07-26 15:41:07 -03:00
Steven Masley
2089006fbc
feat!: drop reading other 'user' permission ( #8650 )
...
* feat: drop reading other 'user' permission
Members of the platform can no longer read or list other users.
Resources that have "created_by" or "initiated_by" still retain
user context, but only include username and avatar url.
Attempting to read a user found via those means will result in
a 404.
* Hide /users page for regular users
* make groups a privledged endpoint
* Permissions page for template perms
* Admin for a given template enables an endpoint for listing users/groups.
2023-07-26 10:33:48 -04:00
Bruno Quaresma
8649a10441
feat(site): add template insights page ( #8722 )
2023-07-26 13:13:56 +00:00
Steven Masley
f827829afe
feat: synchronize oidc user roles ( #8595 )
...
* feat: oidc user role sync
User roles come from oidc claims. Prevent manual user role changes
if set.
* allow mapping 1:many
2023-07-24 08:34:24 -04:00
Bruno Quaresma
7f67000b90
fix(site): send build parameters over the confirmation dialog on restart ( #8660 )
2023-07-21 12:35:28 -06:00
Ben Potter
1a915f5b30
chore: improve workspace proxy copy ( #8427 )
...
* chore: workspace proxy copy
* fmt
2023-07-21 13:34:29 +00:00
Colin Adler
830020df15
fix(site): don't mark metadata with interval: 0 as stale ( #8627 )
2023-07-20 15:05:32 -05:00
Ben Potter
cdbae29a83
fix: agent health copy ( #8608 )
...
* fix: agent health copy
* remove restart in place of upcoming button
2023-07-19 19:56:23 +00:00
Bruno Quaresma
0e52461624
feat(site): add support for custom docs url ( #8601 )
2023-07-19 15:27:38 -03:00
Josh Vawdrey and Dean Sheather
6318c4c09f
feat(site): increase TTL and max TTL validation to 30 days ( #8258 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-07-19 23:43:10 +10:00
Bruno Quaresma
d12221c782
feat(site): add build parameters option when starting or restarting a workspace ( #8524 )
2023-07-18 14:53:26 -03:00
Bruno Quaresma
a823ce7337
refactor(site): add sticky option to the build logs ( #8565 )
2023-07-17 14:58:25 -03:00
Bruno Quaresma
c83975cee0
fix(site): fix bottom border on build logs ( #8554 )
2023-07-17 11:57:24 -03:00
Bruno Quaresma
b833861960
feat(site): display version message ( #8435 )
2023-07-13 10:36:10 -03:00
Marcin Tojek
ebdc510f12
fix(site): delete workspace action in audit log ( #8494 )
2023-07-13 14:43:10 +02:00
24ec05b5c5
chore: bump prettier from 2.8.1 to 3.0.0 in /site ( #8477 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cian Johnston <cian@coder.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-07-13 14:44:12 +03:00
Bruno Quaresma
f8f4ae8e2c
refactor(site): update build log to be displayed only on active statuses ( #8459 )
2023-07-12 13:34:07 -03:00
Bruno Quaresma
bff73ade6a
feat(site): add warning for unhealthy workspace ( #8422 )
2023-07-12 10:27:25 -03:00
Steven Masley
0a911d58f9
chore: change workspace proxy badge names ( #8429 )
...
* chore: "Not Reachable" --> "Not Dialable"
* chore: "Not registered" --> "Never seen"
2023-07-11 13:05:42 -04:00
Bruno Quaresma
d896b74fa2
feat(site): display build logs on workspace transitioning statuses ( #8397 )
2023-07-10 17:47:39 -03:00
Bruno Quaresma
3c2ce4f52a
refactor(site): adjust the proxy menu design ( #8409 )
2023-07-10 17:01:09 -03:00
Steven Masley
2ee406d7b6
feat: log out and redirect user when converting to oidc ( #8347 )
...
* feat: log out user on conver to oidc
Log out user and redirect to login page and log out user when
they convert to oidc.
2023-07-10 10:25:41 -04:00
Marcin Tojek
9f2a931eb8
feat(coderd): support ephemeral parameters ( #8367 )
2023-07-10 13:44:03 +02:00
Steven Masley
f75d497c41
chore: touch ups to wsproxy UX ( #8350 )
...
* chore: update wording on wsproxy help
* chore: show help if no fields specified in wsproxy edit
* chore: Add run command example to wsproxy create
* chore: remove localhost warning
* chore: navbar match page title
* chore: Add helper text to latency picker
* chore: add confirm delete to workspace proxy delete cli
* chore: add errors + warnings to workspace proxy table
2023-07-07 10:06:11 -04:00
Marcin Tojek
45eca671fe
feat: delay pending-in-queue banner ( #8309 )
2023-07-06 09:13:25 +02:00
Steven Masley
0f5a1ad480
feat: add spinner to latencies when refetching ( #8278 )
...
* feat: add spinner to latencies when refetching
2023-07-05 13:06:09 -04:00
Jon Ayers
681e2db9ec
Revert "fix: add front-end fixes for minor workspace action bugs ( #8252 )" ( #8286 )
...
This reverts commit c569528fb7 .
2023-06-30 20:26:38 -05:00
Steven Masley
f0bd258ff1
feat: move proxy settings page to deployment options ( #8246 )
...
* feat: Move workspace proxy page to deployment options
Workspace proxy settings page is now an admin feature
* WorkspaceProxy response extends region
2023-06-30 11:32:35 -04:00
Kira Pilot
c569528fb7
fix: add front-end fixes for minor workspace action bugs ( #8252 )
...
* fix: incorrect copy on inactivity_ttl field
* disabling locked fields unless inactivity TTL is set
* scoping inactivity dialog message to template
* fixed pluralization for inactivity dialog
* amending logic gate to show inactivity dialog
* fixed pagination bug
2023-06-30 09:45:44 -04:00
Steven Masley and Bruno Quaresma
b5f26d9bdf
feat: add ability for users to convert their password login type to oauth/github login ( #8105 )
...
* Currently toggled by experiment flag
---------
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2023-06-30 08:38:48 -04:00
Kyle Carberry
34467a3289
feat: add github device flow for authentication ( #8232 )
...
* feat: add github device flow for authentication
This will allow us to add a GitHub OAuth provider out-of-the-box
to reduce setup requirements.
* Improve askpass view
* Add routes to improve clarity of git auth
* Redesign the git auth page
* Refactor to add a page view
* Fix sideways layout
* Remove legacy notify
* Fix git auth redirects
* Add E2E tests
* Fix route documentation
* Fix imports
* Remove unused imports
* Fix E2E web test
* Fix friendly message appearance
* Fix layout shifting for full-screen sign-in
* Fix height going to 100%
* Fix comments
2023-06-29 18:58:01 +00:00
Marcin Tojek
83fee4b192
feat: enable Terraform debug mode via deployment configuration ( #8260 )
2023-06-29 15:22:21 +02:00
Marcin Tojek
3dbc96d597
feat: show queue position of pending workspace build ( #8244 )
2023-06-28 14:48:58 +02:00