eea9729704
fix: Update buildinfo package location in ldflags ( #1208 )
...
This was causing the version to not be injected!
2022-04-28 10:46:18 -05:00
816441eff7
feat: add organization_ids in the user(s) response ( #1184 )
2022-04-28 09:10:17 -05:00
a7fb018414
chore: update github.com/golang-migrate/migrate/v4 to v4.5.2 ( #1201 )
...
Should fix the security warning for https://github.com/advisories/GHSA-crp2-qrr5-8pq7
2022-04-27 22:04:51 +00:00
8661f92a10
feat: Output username and password for code server --dev
( #1193 )
...
Fixes #825
2022-04-27 17:59:37 +03:00
0b1ee3303d
chore: Add Contributors section to readme ( #1144 )
...
Co-authored-by: Cian Johnston <public@cianjohnston.ie >
2022-04-27 11:48:45 +00:00
a769e8623d
chore: bump @types/node from 14.18.15 to 14.18.16 in /site ( #1189 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.18.15 to 14.18.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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-04-27 06:04:44 +00:00
26f3ceda93
chore: bump @typescript-eslint/parser from 5.19.0 to 5.21.0 in /site ( #1160 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.19.0 to 5.21.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/v5.21.0/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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: G r e y <grey@coder.com >
2022-04-27 05:52:53 +00:00
d85e36ce9e
chore: bump @xstate/cli from 0.1.6 to 0.1.7 in /site ( #1139 )
...
Bumps @xstate/cli from 0.1.6 to 0.1.7.
---
updated-dependencies:
- dependency-name: "@xstate/cli"
dependency-type: direct:development
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-04-27 01:44:19 -04:00
7f423951bf
chore: bump jest-junit from 13.1.0 to 13.2.0 in /site ( #1137 )
...
Bumps [jest-junit](https://github.com/jest-community/jest-junit ) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases )
- [Commits](https://github.com/jest-community/jest-junit/compare/v13.1.0...v13.2.0 )
---
updated-dependencies:
- dependency-name: jest-junit
dependency-type: direct:development
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-04-27 01:43:34 -04:00
65d5975592
chore: bump cronstrue from 2.2.0 to 2.4.0 in /site ( #1165 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.2.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: cronstrue
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-04-27 05:38:17 +00:00
23a1a4dc40
refactor: Add components for styling forms ( #1169 )
...
* Add FormFooter
* Add FullPageForm
* Lint
* Make detail optional
* Use Language
2022-04-26 19:45:48 -04:00
454ccf7547
refactor: remove the user name ( #1185 )
2022-04-26 19:04:57 +00:00
22668c388c
feat: initial docs pages ( #1107 )
...
* docs structure and edits to getting started
* draft for about page
* skeleton for concepts page
* attempt at explaining templates
* left-align tables
* add best practices and variables
* update structrure
* update structure
* templates are shared
* workspaces docs
* remove coming soon
* fix typos
* docs structure and edits to getting started
* draft for about page
* skeleton for concepts page
* attempt at explaining templates
* left-align tables
* add best practices and variables
* update structrure
* update structure
* templates are shared
* workspaces docs
* remove coming soon
* fix typos
* fix typos
* Update docs/about.md
Co-authored-by: Joe Previte <jjprevite@gmail.com >
* remove line breaks between bullets
* rename variables to parameters
* reduce limits
* chore: edit text
* revert some changes, fix footnotes
Co-authored-by: Katie Horne <katie@coder.com >
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-04-26 12:10:50 -05:00
603b7da413
test: Wrap provisionerd channel closes in sync.Once ( #1181 )
...
This caused a few flakes, so figured I'd tackle all of them:
https://github.com/coder/coder/runs/6167856950?check_suite_focus=true#step:9:246
2022-04-26 09:44:16 -05:00
441ffd6a0b
feat: add PUT /api/v2/users/:user-id/suspend endpoint ( #1154 )
2022-04-26 09:00:07 -05:00
f9ce54a51e
fix: Increase default provisioner daemons to 3 ( #1180 )
...
It's odd to only build one workspace at a time as a default.
2022-04-26 07:19:17 -05:00
8d85d80a55
fix: Use proper shutdown signal for systemd ( #1179 )
...
Coder was being killed instantly, which caused builds
to randomly fail!
2022-04-25 21:09:11 -05:00
744a00a55d
feat: Add GIT_COMMITTER information to agent env vars ( #1171 )
...
This makes setting up git a bit simpler, and users
can always override these values!
We'll probably add a way to disable our Git integration
anyways, so these could be part of that.
2022-04-25 20:03:54 -05:00
877854a2f3
fix: Display proper access URL on server start ( #1172 )
...
Fixes #1170 .
2022-04-25 23:30:22 +00:00
29d55887f9
fix: Update initial window size on SSH TTY ( #1174 )
...
It required a window resize before to trigger
a size update. This fixes it!
2022-04-25 23:02:54 +00:00
947e8f9d2e
fix: Manually format external URL ( #1168 )
...
path.Join escaped the double slash!
v0.5.0
2022-04-25 22:22:31 +00:00
159024a196
fix: Add redirect for OAuth from /login ( #1163 )
...
This allows for a complete sign-up flow:
1. coder login https://dev.coder.com
2. Navigates to /cli-auth
3. Redirects to /login?redirect=%2Fcli-auth
4. User signs in with GitHub
5. User is redirected back to /cli-auth
2022-04-25 17:07:10 -05:00
4f7ceebe65
fix: Use target="_blank" to redirect for footer version ( #1166 )
2022-04-25 16:27:14 -05:00
88669fd578
feat: Move workspaces under organizations ( #1109 )
...
This removes split ownership for workspaces. They are now
a resource of organizations and have a designated owner,
which is a user.
This enables simple administration for commands like:
- `coder stop ben/dev`
- `coder build logs colin/arch`
or if we decide to allow administrators to access workspaces,
they could even SSH using this syntax: `coder ssh colin/dev`.
2022-04-25 16:11:03 -05:00
759fa5f626
fix: Use Lax mode for OAuth redirect cookies ( #1162 )
...
OAuthing was resulting in an error, because Strict
cookies are not sent on redirects.
2022-04-25 20:42:18 +00:00
a201610761
chore: bump eslint-plugin-jest from 26.1.4 to 26.1.5 in /site ( #1136 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.1.4 to 26.1.5.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.1.4...v26.1.5 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
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-04-25 20:38:52 +00:00
587cbac498
fix: Swap height and width for TTY size ( #1161 )
...
This was causing the TTY to be real wonky on Windows.
It didn't seem to have an effect on Linux, but I suspect
that's because of escape codes.
2022-04-25 15:30:02 -05:00
0c9f27c63b
fix: ensure frontend is built in make install
( #1157 )
2022-04-25 15:24:23 -05:00
8f464ce8c7
chore: bump @types/react-dom from 17.0.15 to 17.0.16 in /site ( #1159 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 17.0.15 to 17.0.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
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-04-25 20:13:04 +00:00
9fb660a6a3
chore: bump @typescript-eslint/eslint-plugin in /site ( #1153 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.19.0 to 5.21.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/v5.21.0/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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 16:03:50 -04:00
bb3420d006
chore: bump @types/node from 14.18.13 to 14.18.15 in /site ( #1155 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.18.13 to 14.18.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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-04-25 16:01:15 -04:00
bdc17f49e4
refactor: curry GetFormHelpers ( #1156 )
2022-04-25 15:45:33 -04:00
33b58a0363
fix: Use forward slashes on Windows for gitssh ( #1146 )
2022-04-25 19:41:52 +00:00
fccd4fab96
fix: Windows resize syscall using incorrect pointer ( #1152 )
...
Resizing of PTYs weren't working on Windows before,
but they are now!
2022-04-25 14:30:57 -05:00
82552a9315
chore: bump eslint from 8.13.0 to 8.14.0 in /site ( #1135 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.13.0 to 8.14.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.13.0...v8.14.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
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-04-25 15:04:48 -04:00
64348882a0
test: Loop if content length is zero for Windows ( #1151 )
...
On Windows it seems the file can be created before the
content has been written, which results in comparing
an empty string.
2022-04-25 19:01:49 +00:00
9056c53054
fix: Disable known hosts checking for config-ssh ( #1150 )
...
This was causing the remote identity changed message.
We don't need to verify remote hosts because we
already auth via our API.
2022-04-25 18:59:18 +00:00
2a57ea757a
feat: add audit package ( #1046 )
2022-04-25 18:57:59 +00:00
a2dd618849
feat: Use environment variables and startup script in agent ( #1147 )
...
These values were ignored. Environment variables are applied to
new sessions, and are refreshed on reconnect. This is cool because
a workspace could be updated with new environment variables without
requiring a complete start/stop.
The startup script is only ran once regardless of changes, which
feels like the expected behavior.
2022-04-25 18:30:39 +00:00
09405ddc40
test: Wait for WorkspaceResources to complete before exiting ( #1149 )
...
This caused a flake seen in:
https://github.com/coder/coder/runs/6162655678?check_suite_focus=true#step:9:87
2022-04-25 18:11:35 +00:00
1e6f2cf750
chore: bump hashicorp/setup-terraform from 1 to 2 ( #1130 )
...
Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform ) from 1 to 2.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases )
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/setup-terraform/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: hashicorp/setup-terraform
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-04-25 12:59:47 -05:00
5e6e626ace
test: Disable TestAgent/SessionTTY on Windows ( #1148 )
...
Either our ConPTY implementation is unstable, or something is
flakey with how it sends output. I'm not sure how our
implementation would sometimes work, so it's best to disable
this for CI stability for now.
2022-04-25 17:53:45 +00:00
fdb27eaaf8
chore: bump github.com/hashicorp/hcl/v2 from 2.11.1 to 2.12.0 ( #1142 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.11.1...v2.12.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
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-04-25 17:38:59 +00:00
185d97a65b
fix: Increase ptytest buffer to resolve flake ( #1141 )
...
From investigating the following run:
https://github.com/coder/coder/runs/6156348454?check_suite_focus=true
It's believed that the cause is data being discarded due to the buffer
filling up. This _might_ fix it, but not entirely sure.
2022-04-25 12:14:16 -05:00
66d45f391e
test: Check if provisionerd is closed before setting run chan ( #1145 )
...
This race can be seen here:
https://github.com/coder/coder/runs/6159662393?check_suite_focus=true
2022-04-25 12:00:54 -05:00
8c27b4e23d
chore: bump jaxxstorm/action-install-gh-release from 1.4.0 to 1.5.0 ( #1131 )
...
Bumps [jaxxstorm/action-install-gh-release](https://github.com/jaxxstorm/action-install-gh-release ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/jaxxstorm/action-install-gh-release/releases )
- [Commits](https://github.com/jaxxstorm/action-install-gh-release/compare/v1.4.0...v1.5.0 )
---
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-04-25 11:17:15 -05:00
1acc454035
chore: bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 ( #1133 )
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
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-04-25 11:16:32 -05:00
8b54ea8562
test: Fix user pagination sort order ( #1143 )
...
Sort by uuid in expected output to cover when times are equal
for 2 users. The database (fake & pg) use id as as second ordering
to cover this edge case. Should realistically never happen in
production.
2022-04-25 10:27:08 -05:00
c08fdc0c8c
chore: bump github.com/gohugoio/hugo from 0.97.2 to 0.97.3 ( #1132 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.97.2 to 0.97.3.
- [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.97.2...v0.97.3 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
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-04-25 09:43:57 -05:00
2959137f0d
chore: bump github.com/pion/webrtc/v3 from 3.1.29 to 3.1.34 ( #1134 )
...
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc ) from 3.1.29 to 3.1.34.
- [Release notes](https://github.com/pion/webrtc/releases )
- [Commits](https://github.com/pion/webrtc/compare/v3.1.29...v3.1.34 )
---
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-04-25 09:43:40 -05:00