Presley Pizzo
841d9f277c
feat: UI for canceling workspace builds ( #1735 )
...
* Start hooking up cancel
* Update xservice
* Render cancel
Changes behavior of other buttons too
* Make outdated workspace story show max buttons
* Remove retry code
* Remove loading button state
* Fix type, extend tests
* Update story
v0.6.0
2022-05-25 17:58:00 -04:00
Garrett Delfosse
35ccb88f60
feat: add dotfiles command ( #1723 )
2022-05-25 16:43:20 -05:00
Ben Potter
47ef03fea4
example: fix: properly tag aws-windows workspaces ( #1744 )
2022-05-25 22:11:29 +01:00
Colin Adler
b5d615367e
chore: update cdr.dev/slog ( #1759 )
...
Fixes #1626
2022-05-25 20:22:38 +00:00
Mathias Fredriksson and Cian Johnston
527f1f3bc3
feat: Add SSH agent forwarding support to coder agent ( #1548 )
...
* feat: Add SSH agent forwarding support to coder agent
* feat: Add forward agent flag to `coder ssh`
* refactor: Share setup between SSH tests, sync goroutines
* feat: Add test for `coder ssh --forward-agent`
* fix: Fix test flakes and implement Deans suggestion for helpers
* fix: Add example to config-ssh
* fix: Allow forwarding agent via -A
Co-authored-by: Cian Johnston <cian@coder.com >
2022-05-25 21:28:10 +03:00
dependabot[bot] and Colin Adler
22ef456164
chore: bump github.com/gohugoio/hugo from 0.98.0 to 0.99.1 ( #1699 )
...
* chore: bump github.com/gohugoio/hugo from 0.98.0 to 0.99.1
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.98.0 to 0.99.1.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/goreleaser.yml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.98.0...v0.99.1 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fixup! chore: bump github.com/gohugoio/hugo from 0.98.0 to 0.99.1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2022-05-25 12:44:23 -05:00
dependabot[bot]
088f842e17
chore: bump github.com/hashicorp/terraform-json from 0.13.0 to 0.14.0 ( #1736 )
...
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/hashicorp/terraform-json/releases )
- [Commits](https://github.com/hashicorp/terraform-json/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-json
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-25 12:20:28 -05:00
dependabot[bot]
29175d3158
chore: bump github.com/ory/dockertest/v3 from 3.8.1 to 3.9.0 ( #1738 )
...
Bumps [github.com/ory/dockertest/v3](https://github.com/ory/dockertest ) from 3.8.1 to 3.9.0.
- [Release notes](https://github.com/ory/dockertest/releases )
- [Commits](https://github.com/ory/dockertest/compare/v3.8.1...v3.9.0 )
---
updated-dependencies:
- dependency-name: github.com/ory/dockertest/v3
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-25 12:20:11 -05:00
dependabot[bot]
cd6fdc7832
chore: bump google.golang.org/api from 0.79.0 to 0.81.0 ( #1737 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.79.0 to 0.81.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.79.0...v0.81.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-25 11:51:21 -05:00
dependabot[bot]
3c21b070d7
chore: bump github.com/pion/webrtc/v3 from 3.1.39 to 3.1.41 ( #1697 )
...
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc ) from 3.1.39 to 3.1.41.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Commits](https://github.com/pion/webrtc/compare/v3.1.39...v3.1.41 )
---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v3
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-25 16:35:02 +00:00
Steven Masley
eea8dc6c16
feat: Add rbac to templateversion+orgmember endpoints ( #1713 )
2022-05-25 11:00:59 -05:00
David Wahler
f8410dee3a
fix: include subdirectories in example templates ( #1715 )
2022-05-25 10:34:28 -05:00
Bruno Quaresma
5492ab75c2
feat: Add resource type and restyle terminal link ( #1722 )
2022-05-25 13:32:01 +00:00
Ammar Bandukwala
c5f4d80eda
Shorten README before Install docs
2022-05-24 20:20:08 -05:00
Kyle Carberry
74329f479f
fix: Use Terraform address to index resource + agent association ( #1727 )
...
Closes #1705 .
There was an issue in the implementation brought by #1577 by not trimming
the array value when resources use counts. This should fix it, and adds
a test to be sure!
2022-05-24 20:00:34 -05:00
Ammar Bandukwala
95d7e39c80
Rewrite README for launch ( #1731 )
2022-05-25 00:40:57 +00:00
Kyle Carberry
4d9168c076
fix: Increase release timeout ( #1729 )
...
This is unfortunate, but with the containers it can take a while.
We should spend some time making these parallel in the future,
but for now this is fine!
2022-05-24 16:54:27 -05:00
Colin Adler
4543a3b277
fix: log after test exit in TestAgent/StartupScript ( #1726 )
...
```
$ go test ./agent/ -v -run TestAgent/StartupScript -count 1
=== RUN TestAgent
=== PAUSE TestAgent
=== CONT TestAgent
=== RUN TestAgent/StartupScript
=== PAUSE TestAgent/StartupScript
=== CONT TestAgent/StartupScript
t.go:56: 2022-05-24 20:22:39.648 [INFO] <agent.go:112> connected
--- PASS: TestAgent (0.00s)
--- PASS: TestAgent/StartupScript (0.17s)
PASS
panic: Log in goroutine after TestAgent/StartupScript has completed: 2022-05-24 20:22:39.651 [WARN] <agent.go:130> agent script failed ...
"error": run:
github.com/coder/coder/agent.(*agent).runStartupScript
/home/colin/Projects/coder/coder/agent/agent.go:183
- signal: killed
```
2022-05-24 16:03:42 -05:00
Oxylibrium
99c79c79db
docs(README): fix links to subpages ( #1724 )
2022-05-24 19:26:25 +00:00
G r e y
104c76b8bc
ci: limit chromatic to site ( #1700 )
2022-05-24 14:30:15 -04:00
Joe Previte
0ade49b758
docs: rephrase value statement in README ( #1711 )
2022-05-24 10:59:20 -07:00
Abhineet Jain
7ba6449054
Improve CLI logout flow ( #1692 )
...
* Improve CLI logout flow
* Fix lint error
* Make notLoggedInMessage a const
* successful logout with a msg when cfg files are absent
* use require, os.remove, show only one message, add prompt
2022-05-24 13:11:01 -04:00
Ammar Bandukwala
33e2e40942
Expand stalebot to issues ( #1672 )
...
Removing old, stale issues is essential to keeping a workable tracker.
2022-05-24 10:03:43 -07:00
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 and Ben Potter
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