Dean Sheather and Bruno Quaresma
abf14d976a
chore: rename feature rbac to template_rbac ( #4486 )
...
* chore: rename feature rbac to template_rbac
* Fix feature visibility on FE
* fixup! Fix feature visibility on FE
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2022-10-11 13:51:41 -05:00
c13e68248b
docs: Add initial docs to groups and rbac ( #4455 )
...
* docs: Add initial docs to groups and rbac
* Update manifest
* Apply suggestions from code review
Co-authored-by: Joe Previte <jjprevite@gmail.com >
* use single user icon
* chore: add labels and standardize enterprise messaging
* clarify template role
* add groups role
* fix typo
* rename access to use
Co-authored-by: Joe Previte <jjprevite@gmail.com >
Co-authored-by: Ben <me@bpmct.net >
2022-10-11 13:34:41 -05:00
Ben Potter
cc1602ad78
fix: enterprise link for groups ( #4491 )
2022-10-11 18:19:19 +00:00
Bruno Quaresma
c619138ece
fix: Display Everyone group in the autocomplete ( #4488 )
2022-10-11 13:17:19 -05:00
Presley Pizzo and Colin Adler
62357084ba
feat: filter for running workspaces ( #4157 )
...
* Refactor workspaces xservice
* Remove layout comment
* Format
* Add comments
* Add running workspaces filter to frontend
* Start on backend - add status to filter
* Update sql and add test - wip
* Attempt to unconvert status for easier querying
* Fix syntax
* Join jobs table, untested
* sql
* Add Status to GetAuthorizedWorkspaces
* Update job tests to have canceled time
* fmt
* add status filter to database fake
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2022-10-11 13:50:41 -04:00
Bruno Quaresma
aefb477e21
refactor: Add description to the roles options ( #4480 )
2022-10-11 14:08:13 -03:00
Garrett Delfosse
a70278e0e1
feat: make flags in one place ( #4452 )
2022-10-11 15:16:19 +00:00
Dean Sheather and Bruno Quaresma
b1a095e486
feat: show listening ports in port forward popup ( #4389 )
...
* feat: show listening ports in port forward popup
* Move fetch logic to a machine
* feat: don't show app ports and common non-HTTP ports
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2022-10-12 01:10:02 +10:00
Bruno Quaresma
a64731eea5
refactor: Add group badge to diff groups from users ( #4478 )
2022-10-11 14:39:03 +00:00
Bruno Quaresma
934777d9ca
refactor: Add enterprise badge to paywalls ( #4477 )
2022-10-11 11:27:33 -03:00
Joe Previte
8047a3ea61
refactor(site): remove eslint-disable in ResourceAvatar ( #4463 )
2022-10-10 18:23:23 -07:00
Jon Ayers
3120c94c22
feat: add template RBAC/groups ( #4235 )
2022-10-10 15:37:06 -05:00
Garrett Delfosse
b1faaef482
feat: deployment flags ( #4426 )
2022-10-10 15:04:15 -04:00
Ammar Bandukwala
85c679597c
site: reduce printWidth to 80 ( #4437 )
...
Resolves #4435
2022-10-10 10:33:35 -07:00
Bruno Quaresma
5e594adfba
refactor: Display tooltip on cancel action ( #4421 )
2022-10-10 12:34:09 -03:00
Ammar Bandukwala
eefc26c108
Hide build logs older than 30 days ( #4436 )
2022-10-09 20:01:18 +00:00
Bruno Quaresma
50966c4cf7
fix: Fix keyboard focus styles on buttons ( #4418 )
2022-10-07 14:39:39 -03:00
Bruno Quaresma
34f799257c
refactor: Remove user roles from dropdown ( #4419 )
2022-10-07 14:17:56 -03:00
Kira Pilot
257df81667
chore: replace old ErrorSummary component ( #4417 )
...
* replaced error summary
* fixed tests
* positioning caret
2022-10-07 13:14:32 -04:00
Joe Previte
2b6586d542
chore: add ignoreRestSiblings to no-unused-vars ESLint rule ( #4404 )
...
* chore: add ignoreRestSiblings to eslint config
* fix(site): remove eslint warning in <Markdown />
2022-10-07 09:55:27 -07:00
Kira Pilot
e8e095e2f8
feat: redesign error alert ( #4403 )
...
* added a warning summary component
* added warning to workspace page
* consolidated warnings
* prettier
* updated design
* added color scheme
* updated expander component
* cleanup
* fixed tests
* fixed height issue
* prettier
* use theme constants
* increased icon margin
2022-10-07 10:39:27 -04:00
Kyle Carberry and Ben Potter
3cc77d96eb
feat: Add tunnel by default ( #4399 )
...
* feat: Add tunnel by default
If an access URL is not specified, we will always tunnel.
This is from community-member feedback who exclaimed that
it's confusing having the default for `coder server` display
a warning message, and I agree.
There is very little (maybe none) in running `coder server`
without tunnel and without an access URL, so this seems like
overall a much better UX.
* Update install.sh
Co-authored-by: Ben Potter <ben@coder.com >
* Update docs/install/packages.md
Co-authored-by: Ben Potter <ben@coder.com >
* Fix reset pass test
* Fix e2e test
Co-authored-by: Ben Potter <ben@coder.com >
2022-10-07 08:05:56 -05:00
Kyle Carberry
915bb41ea2
feat: Add trial property to licenses ( #4372 )
...
* feat: Add trial property to licenses
This allows the frontend to display whether the user is on
a trial license of Coder. This is useful for advertising
Enterprise functionality.
* Improve tests for license enablement code
* Add all features property
2022-10-06 19:28:22 -05:00
Garrett Delfosse
f5df54831a
feat: tokens ( #4380 )
2022-10-06 19:02:27 +00:00
Dean Sheather
1386465631
feat: add endpoint to get listening ports in agent ( #4260 )
2022-10-06 22:38:22 +10:00
Kira Pilot
3ad5e11d22
feat: add warning if workspace page becomes stale ( #4375 )
...
* added a warning summary component
* added warning to workspace page
* consolidated warnings
* prettier
* updated design
2022-10-05 18:46:46 -04:00
Presley Pizzo
9a670b90df
chore: refactor frontend to use workspace status directly ( #4361 )
...
* Add/update copy
* Update mocks
* Handle disabled button labels separately
* Use workspace status directly, use i18n
* Update stories and tests
* Fix optimistic update in xservice to use status, pending
* Rename started to running in story
* Fix deletion banner conditional
* Send label to disabled button
* Refactor workspace actions
2022-10-05 16:20:29 -04: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
Garrett Delfosse
8d14076a23
fix: move quotas above inputs ( #4376 )
2022-10-05 13:44:15 -04:00
Garrett Delfosse
ffbaa93722
feat: add experimental flag ( #4364 )
2022-10-04 19:45:00 +00:00
Joe Previte
78283cf236
fix: add keys to createCtas elements ( #4362 )
2022-10-04 16:50:15 +00:00
Dean Sheather
d165d76338
feat: static error page in applications handlers ( #4299 )
2022-10-05 02:30:55 +10:00
Joe Previte
ce953441fb
refactor: clean up types in jest.setup.ts ( #4285 )
2022-10-04 09:04:23 -07:00
Garrett Delfosse
738a38d71f
chore: remove resources calls ( #4344 )
2022-10-03 21:01:13 +00:00
dependabot[bot]
cb62e16b41
chore: bump react-router-dom from 6.3.0 to 6.4.1 in /site ( #4300 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.4.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 12:30:28 -05:00
Kyle Carberry
4f6355506c
fix: Remove "Starts at Manual" label ( #4179 )
...
Fixes #2798 .
2022-10-03 17:03:11 +00: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
dependabot[bot]
bbebc1a86a
chore: bump @typescript-eslint/parser from 5.36.2 to 5.38.1 in /site ( #4325 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.36.2 to 5.38.1.
- [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/v5.38.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 10:58:42 -04:00
Bruno Quaresma
c7aea2fc42
feat: Add static error page ( #4276 )
2022-10-03 14:42:11 +00:00
dependabot[bot]
087a7defde
chore: bump eslint-plugin-unicorn from 43.0.2 to 44.0.0 in /site ( #4324 )
...
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 43.0.2 to 44.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.2...v44.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 14:40:23 +00:00
dependabot[bot]
132a788c54
chore: bump @typescript-eslint/eslint-plugin in /site ( #4298 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.36.1 to 5.38.1.
- [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/v5.38.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:13:38 -05:00
dependabot[bot]
f2051218ee
chore: bump @playwright/test from 1.25.1 to 1.26.1 in /site ( #4297 )
...
Bumps [@playwright/test](https://github.com/Microsoft/playwright ) from 1.25.1 to 1.26.1.
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.25.1...v1.26.1 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:13:31 -05:00
dependabot[bot]
6c0552a5d4
chore: bump chart.js from 3.5.0 to 3.9.1 in /site ( #4294 )
...
Bumps [chart.js](https://github.com/chartjs/Chart.js ) from 3.5.0 to 3.9.1.
- [Release notes](https://github.com/chartjs/Chart.js/releases )
- [Commits](https://github.com/chartjs/Chart.js/compare/v3.5.0...v3.9.1 )
---
updated-dependencies:
- dependency-name: chart.js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:12:11 -05:00
dependabot[bot]
9104a067d6
chore: bump eslint from 8.23.0 to 8.24.0 in /site ( #4295 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.23.0 to 8.24.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.23.0...v8.24.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 09:12:04 -05:00
Ammar Bandukwala
78a39a809d
examples: support both localhost and 127.0.0.1 in Docker examples ( #4306 )
...
And some minor fixes
2022-10-03 08:31:12 -05:00
dependabot[bot]
3ab8d57630
chore: bump chromatic from 6.9.0 to 6.10.1 in /site ( #4296 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.9.0 to 6.10.1.
- [Release notes](https://github.com/chromaui/chromatic-cli/releases )
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.9.0...v6.10.1 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-01 11:49:19 -03:00
Presley Pizzo
d931b2c10d
chore: refactor schedule banner ( #4274 )
...
* Start refactor
* Fix color of auto stop switch
* Format
* Use helper functions for min/max check
* Fix type
* Put new component in own file
* Fix decrease deadline bug
* Simplify functions
* Use ChooseOne
* Remove commented code
2022-09-30 17:39:14 -04: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
Kira Pilot
c9bedc5e58
Feat: add showAvatar option to User Autocomplete ( #4269 )
...
* added avatar
* remove commented code
2022-09-30 09:50:36 -04:00