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
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 and Cian Johnston
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