Steven Masley
d3a0578fe1
feat: Allow regen-ssh and fetching a single user from the cli ( #1619 )
...
* feat: Allow regen-ssh and fetching a single user from the cli
2022-05-24 16:53:04 +00:00
Steven Masley
363b16af38
fix: Add template read permission node to members ( #1712 )
2022-05-24 16:35:34 +00:00
Joe Previte
61ffd03aaf
docs: update contribution guidelines ( #1691 )
...
* docs(contributing): add subheading backend under styling
* docs: add styling for frontend
2022-05-24 15:30:15 +00:00
G r e y
b0d52039f9
refactor: resource strings in WorkspaceSchedule ( #1702 )
2022-05-24 09:55:30 -04:00
Steven Masley
c7ca86d374
feat: Implement RBAC checks on /templates endpoints ( #1678 )
...
* feat: Generic Filter method for rbac objects
2022-05-24 08:43:34 -05:00
Bruno Quaresma
fcd610ee7b
refactor: Update create workspace flow to allow creation from the workspaces page ( #1684 )
2022-05-24 08:37:44 -05:00
Steven Masley
5f8d0e5dad
feat: Add RBAC to /files endpoints ( #1664 )
...
* feat: Add RBAC to /files endpoints
2022-05-24 08:25:02 -05:00
Bruno Quaresma
f763472609
fix: Fix template label ( #1685 )
2022-05-24 12:38:31 +00:00
Mathias Fredriksson
34b1e19338
fix: Try to fix cli portforward test flakes ( #1650 )
...
* fix: Try to fix cli portforward test flakes
* fix: Guard against agent exit outside test func
* fix: Improve test teardown in setupTestListener, cleanup
2022-05-24 11:15:06 +03:00
Cian Johnston
c2f74f3cc2
chore: avoid concurrent usage of t.FailNow ( #1683 )
...
* chore: golangci: add linter rule to report usage of t.FailNow inside goroutines
* chore: avoid t.FailNow in goroutines to appease the race detector
2022-05-24 08:58:39 +01:00
Presley Pizzo
9b70a9b2eb
Fix: fix Workspace storybook and remove unnecessary fetching from xService ( #1682 )
...
* Make workspace machine ephemeral to limit polling
* Fix Workspace storybook
* Lint
* Remove breadcrumb from workspaceXService
2022-05-23 20:04:38 -04:00
dependabot[bot]
4ba3eedb70
chore: bump github.com/lib/pq from 1.10.5 to 1.10.6 ( #1653 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.5...v1.10.6 )
---
updated-dependencies:
- dependency-name: github.com/lib/pq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 18:02:12 -05:00
dependabot[bot]
62acfc9a07
chore: bump goreleaser/goreleaser-action from 2 to 3 ( #1652 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
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>
2022-05-23 22:55:40 +00:00
dependabot[bot]
98345e3d24
chore: bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 ( #1654 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
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>
2022-05-23 17:49:21 -05:00
dependabot[bot]
e9818d79da
chore: bump jaxxstorm/action-install-gh-release from 1.6.0 to 1.7.1 ( #1651 )
...
Bumps [jaxxstorm/action-install-gh-release](https://github.com/jaxxstorm/action-install-gh-release ) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/jaxxstorm/action-install-gh-release/releases )
- [Commits](https://github.com/jaxxstorm/action-install-gh-release/compare/v1.6.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: jaxxstorm/action-install-gh-release
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>
2022-05-23 17:47:38 -05:00
dependabot[bot]
2de47ef9f0
chore: bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 ( #1655 )
...
Bumps [github.com/quasilyte/go-ruleguard/dsl](https://github.com/quasilyte/go-ruleguard ) from 0.3.19 to 0.3.21.
- [Release notes](https://github.com/quasilyte/go-ruleguard/releases )
- [Commits](https://github.com/quasilyte/go-ruleguard/compare/dsl/v0.3.19...dsl/v0.3.21 )
---
updated-dependencies:
- dependency-name: github.com/quasilyte/go-ruleguard/dsl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 22:45:40 +00:00
Cian Johnston
b2020761d9
feat: add default autostart and ttl for new workspaces ( #1632 )
...
* database: add autostart_schedule and ttl to InsertWorkspace; make gen
* coderd: workspaces: consume additional fields of CreateWorkspaceRequest
* cli: update: add support for TTL and autostart_schedule
* cli: create: add unit tests
* coder: import `time/tzdata` for embedded timezone database
* autobuild: fix unit test that only runs with a real db
2022-05-23 23:31:41 +01:00
G r e y
c465f8a8a3
feat: add retry to ErrorSummary ( #1690 )
...
Summary:
The ErrorSummary accepts a retry callback and received improvements to
style and product copy
Impact:
This allows xstate-controlled pages to send re-fetch events
2022-05-23 21:07:52 +00:00
Asher
dd4bb07193
feat: add terminal links ( #1636 )
2022-05-23 15:49:02 -05:00
Oxylibrium
80f8f605fd
chore: Add self to CONTRIBUTORS.md ( #1680 )
2022-05-23 16:46:03 -04:00
Bruno Quaresma
57c6d887a1
chore: Ignore last built value on Chromatic ( #1687 )
2022-05-23 20:42:05 +00:00
Katie Horne
98c89f80b0
chore: add instructions for installation w/ Docker Compose ( #1599 )
...
Co-authored-by: Ben Potter <ben@coder.com >
2022-05-23 19:42:45 +00:00
ketang
ba66052181
fix incorrect retention field on artifacts in coder.yaml
2022-05-23 14:13:05 -05:00
Abhineet Jain
fc46818e31
chore: move contributor list to contributors.md ( #1496 )
2022-05-23 19:09:45 +00:00
ketang
7de4cd6231
replace .deb artifact with Windows .zip
2022-05-23 13:54:13 -05:00
Abhineet Jain
4a78bade6d
bug: Cleaner error message for non logged-in users ( #1670 )
...
* add helper text to unauthorized error messages
* fix lint error, add unit tests
* fix test name
* fix test name
* fix lint errors in test
* add unauthorized test for templates create
* remove unnecessary variable
* remove Error struct, change error message
* change [url] to <url>
2022-05-23 14:51:49 -04:00
ketang
c543fca92f
add tar.gz to artifacts and a 7 day retention period to .deb
2022-05-23 13:35:25 -05:00
Katie Horne
b0298a3157
chore: fix in-product copy casing ( #1671 )
2022-05-23 13:30:38 -05:00
Presley Pizzo
7ac3cbe772
Make workspace machine ephemeral to limit polling ( #1674 )
2022-05-23 13:25:46 -04:00
Steven Masley
873ae90f39
feat: cli configs should not be space sensitive ( #1668 )
2022-05-23 12:19:33 -05:00
Mathias Fredriksson
c8ed213347
fix: Guard against CLI cmd running after test exit ( #1658 )
...
* fix: Guard against CLI cmd running after test exit
* fix: cli: avoid calling t.FailNow in non-test-main goroutine
* fix: cli: server_test: avoid calling t.FailNow outside main goroutine
* fix: cli: clitest_test: avoid calling t.FailNow outside main goroutine
* fix: cli: list_test: avoid calling t.FailNow outside main goroutine
* fix: TestGitSSH use-of-t-after-exit
* fix: TestGitSSH "too many authentication failures"
Due to local SSH keys being given
* chore: clitest: fix TestCli
* chore: Simplify TestTemplateInit
Co-authored-by: Cian Johnston <cian@coder.com >
2022-05-23 20:09:58 +03:00
Kira Pilot
fa957d6d65
fix: omit url params on login ( #1666 )
...
resolves #1282
2022-05-23 11:01:32 -04:00
Bruno Quaresma
9f3a6d631c
refactor: Move schedule info to the sidebar ( #1665 )
2022-05-23 09:41:04 -05:00
Bruno Quaresma
1f03277f1c
refactor: Increase navbar height ( #1662 )
2022-05-23 10:22:48 -04:00
Cian Johnston
a8a8f9dbf3
chore: skip some flaky tests ( #1643 )
...
* chore: skip some flaky tests
* Update peer/conn_test.go
* add makefile targets, reduce parallelism in go test
2022-05-21 00:39:51 +01:00
G r e y
4f75291446
feat: form for editing ws schedule ( #1634 )
...
* feat: ui for editing ws schedule
Summary:
This presents a form component and storybook. The UI will be a routed
page and added into the dashboard in a separate PR. It is likely a
XService will be used at the page level to supply errors and actions to
this form.
Impact of Change:
Further progress on #1455
Squashed Commits:
* refactor: add className prop to Stack
combine classes with internal classes and an optional external className
to better control the Stack.
* fix: getFormHelpers helperText
the helperText logic was incorrect, the helperText would only show if not touched.
2022-05-20 20:26:43 +00:00
Bruno Quaresma
b29a2dfdde
refactor: Minor design adjustments ( #1637 )
2022-05-20 19:37:03 +00:00
Joe Previte
3653fcf256
fix: remove outdated doc paths in goreleaser ( #1633 )
...
It appears we were manually moving the `README.md`. This should have been updated in https://github.com/coder/coder/pull/1630 but slipped through CI
2022-05-20 19:02:38 +00:00
Presley Pizzo
e40c68399d
feat: resources card ( #1627 )
...
* Set up table
* Format
* Hook up api and test - bug assigning resources
* Remove debugging code
* Format
* Remove unnecessary cards
* Fix test
* Fix assignment
* Fix tests
* Lint
2022-05-20 18:29:42 +00:00
Steven Masley
c189fc52c1
fix: using a trailing slash on login url ( #1622 )
2022-05-20 12:42:01 -05:00
Bruno Quaresma
ce7bf0b847
feat: Redesign the workspace page ( #1620 )
2022-05-20 17:05:00 +00:00
Joe Previte
0622603220
docs: move README to root ( #1630 )
...
We noticed that when you download the repo as a ZIP from GitHub, it
places the `README.md` in the root, which causes the relative links to
break.
By moving it to the root, this will fix that issue.
2022-05-20 09:56:50 -07:00
Steven Masley
ad946c3902
feat: Add confirm prompts to some cli actions ( #1591 )
...
* feat: Add confirm prompts to some cli actions
- Add optional -y skip. Standardize -y flag across commands
2022-05-20 15:59:04 +00:00
G r e y
4f70f84635
feat: WorkspaceSection action, styles ( #1623 )
...
This PR is a squash of refactors and improvements in our Workspace and
WorkspaceSection components. An action prop is added to WorkspaceSection
and along the way, I refactored things that were not meeting conventions
or were hard to read. With this addition, I am further unblocked in
making auto-start/off editable in the UI, as I intend to use the Action
prop to trigger a modal (or routed page view) with the form.
Squashed commits:
* refactor: spaces for readability
It's hard to read HTMl markup without spaces on adjacent nodes
* refactor: props
Our components had unused props and arbitrary ordering.
2022-05-20 11:55:39 -04:00
Garrett Delfosse
0effb71f43
feat: add tracing for sql ( #1610 )
2022-05-20 10:51:06 -05:00
Abhineet Jain
7c3e1a5d97
feat: Read params from file for template/workspace creation ( #1541 )
...
* Read params from file for template/workspace creation
* Use os.ReadFile
* Refactor reading params into a separate module
* Add comments and unit tests
* Rename variable
* Uncomment and fix unit test
* Fix comment
* Refactor tests
* Fix unit tests for windows
* Fix unit tests for Windows
* Add comments for the hotfix
2022-05-20 11:29:10 -04:00
Kira Pilot
d0fd0d7040
feat: added error boundary ( #1602 )
...
* added error boundary and error ui components
* add body txt and standardize btn size
* added story
* feat: added error boundary
closes #1013
* committing lockfile
* added email body to help link
2022-05-20 10:48:39 -04:00
Cian Johnston
52230fab56
feat: make default autobuild poll intervals configurable ( #1618 )
...
* feat: make default poll intervals for autobuild and ssh ttl polling configurable
2022-05-20 10:57:02 +00:00
Mathias Fredriksson
992b58389b
fix: Use the cobra CommandPath for usage to avoid duplication ( #1617 )
2022-05-20 12:42:56 +03:00
Dean Sheather
adb7d20c16
feat: skip terraform destroy if there is no state when deleting ( #1594 )
2022-05-20 14:07:23 +10:00