Kyle Carberry
23295f7f07
fix: Check for job status on another incoming ( #1117 )
...
If a job silently failed, it wasn't possible for another one
to execute. This fixes it by using the API status to return
active state.
2022-04-25 02:22:36 +00:00
Kyle Carberry
db7ed4d019
fix: Add resiliency to daemon connections ( #1116 )
...
Connections could fail when massive payloads were transmitted.
This fixes an upstream bug in dRPC where the connection would
end with a context canceled if a message was too large.
This adds retransmission of completion and failures too. If
Coder somehow loses connection with a provisioner daemon,
upon the next connection the state will be properly reported.
2022-04-24 20:33:19 -05:00
Kyle Carberry
be974cf280
feat: Add users create and list commands ( #1111 )
...
This allows for *extremely basic* user management.
2022-04-24 20:08:26 -05:00
Kyle Carberry
7496c3da81
feat: Add GitHub OAuth ( #1050 )
...
* Initial oauth
* Add Github authentication
* Add AuthMethods endpoint
* Add frontend
* Rename basic authentication to password
* Add flags for configuring GitHub auth
* Remove name from API keys
* Fix authmethods in test
* Add stories and display auth methods error
2022-04-23 22:58:57 +00:00
Kyle Carberry
3976994781
chore: Rename "start" to "server" ( #1110 )
...
Workspace commands will be aliased at the top-level, so
"start" would easily be confused with starting a workspace.
Server seems like a more appropriate name too.
2022-04-23 12:19:20 -05:00
Steven Masley
da3681246e
chore: Bump protoc to 3.20.0 ( #1104 )
...
* chore: Bump protoc to 3.20.0
* Make gen with 3.20.0 protoc
2022-04-23 01:53:22 +00:00
Garrett Delfosse
e181007de1
fix: Add more golang types -> number ts type ( #1108 )
2022-04-22 21:01:43 +00:00
Colin Adler
95a24cb43a
chore: update github.com/fatedier/frp ( #1106 )
...
Fixes https://github.com/advisories/GHSA-xcf7-q56x-78gh
2022-04-22 15:49:43 -05:00
Colin Adler
d6c1c49868
fix: make install references incorrect folders ( #1105 )
2022-04-22 15:41:45 -05:00
Steven Masley
548de7d6f3
feat: User pagination using offsets ( #1062 )
...
Offset pagination and cursor pagination supported
2022-04-22 15:27:55 -05:00
Kyle Carberry
2a95917557
fix: Add site to release build ( #1094 )
...
This was accidentally removed when adding MacOS signing.
2022-04-20 14:06:07 -04:00
Kyle Carberry
65d77383d0
fix: Allow nested Terraform resources ( #1093 )
...
This fixes the dependency tree by adding recursion. It
now finds indirect connections and associates it with
an agent.
An example is attached which surfaced this issue.
2022-04-20 12:28:48 -05:00
Kyle Carberry
e35a4fdcf0
fix: Disable Windows Defender on agent binary ( #1095 )
...
Windows (reasonably) detected our CLI as a virus due to the name
being "sshd" for VS Code support. See:
https://github.com/microsoft/vscode-remote-release/issues/5699
This disables monitoring for our binary prior to run, which
fixes our Windows example.
2022-04-20 15:01:35 +00:00
Joe Previte
44f68b5942
chore(develop): fix processes not killing ( #1083 )
2022-04-20 07:34:05 -07:00
Asher
3151befb38
chore: un-nest components ( #1090 )
...
Closes #936 .
2022-04-19 14:16:11 -05:00
Joe Previte
98e46cdd2a
chore: use PascalCase for pages files ( #1089 )
...
* chore: use PascalCase for pages files
* fixup
* fixup
* fixup
* fixup
* fixup
* fixup
2022-04-19 18:45:03 +00:00
Joe Previte
db1127def1
chore: assign site/ to frontend ( #1091 )
2022-04-19 11:30:55 -07:00
Bruno Quaresma
301451be40
refactor: remove index files from components ( #1086 )
2022-04-19 13:20:28 -05:00
Presley Pizzo
6c9c1298e4
Reorganize Storybook ( #1087 )
2022-04-19 13:52:52 -04:00
G r e y
5141d6f970
feat: coder logo html source ( #1088 )
2022-04-19 13:14:32 -04:00
G r e y
c35be02a7e
feat: web console logo ( #1085 )
2022-04-19 12:48:50 -04:00
Garrett Delfosse
8165a6ef75
feat: Add spooky hidden flag ( #1065 )
2022-04-19 16:40:01 +00:00
Presley Pizzo
a68b076b96
refactor: Rename Icons and add stories ( #1080 )
...
* Rename CloseIcon
* Rename FileCopyIcon, take out of index
* Rename LogoutIcon and remove from index
* Delete icons index files
* Add icon stories
* Lint
2022-04-19 12:38:43 -04:00
Bruno Quaresma
b9933d493a
refactor: camel case files ( #1081 )
2022-04-19 11:18:12 -05:00
G r e y
5ce06769cd
chore: replace todos with issues ( #1066 )
2022-04-19 12:16:57 -04:00
Kyle Carberry
04985a1754
fix: Close TURN connections to resolve flake ( #1079 )
2022-04-19 11:14:55 -05:00
Garrett Delfosse
89aa39b5c8
fix: sort enum decls ( #1075 )
2022-04-19 16:02:32 +00:00
Joe Previte
97e07a49e9
chore(webpack): allow process.env.PORT ( #1071 )
2022-04-19 08:58:03 -07:00
Joe Previte
73b8a5a929
chore: use /usr/bin/env bash ( #1070 )
2022-04-19 08:45:13 -07:00
Kyle Carberry
c8246e3e8a
feat: Add Azure instance identitity authentication ( #1064 )
...
This enables zero-trust authentication for Azure instances. Now
we support the three major clouds: AWS, Azure, and GCP 😎 .
2022-04-19 13:48:13 +00:00
G r e y
118a47e4e1
fix: types-generated.ts ( #1063 )
2022-04-18 22:03:37 -04:00
Garrett Delfosse
f46b4cf3da
feat: generate typescript types from codersdk structs ( #1047 )
2022-04-19 00:45:22 +00:00
Kyle Carberry
1df943e010
fix: Disable TURN logs ( #1061 )
...
This was accidentally merged as part of the TURN PR. In the future
we can wrap this to provide useful output, but right now it's too
verbose.
v0.4.3
2022-04-18 18:01:49 -05:00
Kyle Carberry
d202f20fdb
feat: Add TURN proxying to enable offline deployments ( #1000 )
...
* Add turnconn
* Add option for passing ICE servers
* Log TURN remote address
* Add TURN server to coder start
2022-04-18 22:40:25 +00:00
Kyle Carberry
e5a1c305d3
fix: Remove quotes on GitSSH ( #1043 )
2022-04-18 15:12:39 -05:00
Kyle Carberry
6d948ffba2
fix: Panic if Terraform fails installation ( #1056 )
2022-04-18 15:11:59 -05:00
Kyle Carberry
866205c145
feat: Sign MacOS binaries ( #1060 )
...
This fixes virus warnings when launching Coder on darwin.
2022-04-18 14:57:41 -05:00
dependabot[bot]
a5f36ad4e2
chore: bump @storybook/addon-links from 6.4.21 to 6.4.22 in /site ( #1022 )
...
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links ) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/addons/links )
---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
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-18 19:55:50 +00:00
dependabot[bot]
50751a2d6f
chore: bump @storybook/addon-essentials from 6.4.21 to 6.4.22 in /site ( #1020 )
...
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials ) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/addons/essentials )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
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-18 15:34:39 -04:00
dependabot[bot]
18819e37ee
chore: bump @storybook/react from 6.4.21 to 6.4.22 in /site ( #1054 )
...
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react ) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/app/react )
---
updated-dependencies:
- dependency-name: "@storybook/react"
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-18 14:16:14 -04:00
Kyle Carberry
d98b7ec469
fix: Test flake for DataDog agent logs ( #1026 )
...
Sometimes the DataDog agent would fail to connect and
angrily log using the standard lib logger. This would
fail tests. See:
https://github.com/coder/coder/runs/6038192436?check_suite_focus=true
2022-04-18 12:37:01 -05:00
Bruno Quaresma
1df750bf1a
feat: add GET /api/v2/users ( #1028 )
2022-04-18 17:19:47 +00:00
Cian Johnston
af672803a2
autostart/autostop: move to traditional 5-valued cron string for compatibility ( #1049 )
...
This PR modfies the original 3-valued cron strings used in package schedule to be traditional 5-valued cron strings.
- schedule.Weekly will validate that the month and dom fields are equal to *
- cli autostart/autostop will attempt to detect local timezone using TZ env var, defaulting to UTC
- cli autostart/autostop no longer accepts a raw schedule -- instead use the --minute, --hour, --dow, and --tz arguments.
- Default schedules are provided that should suffice for most users.
Fixes #993
2022-04-18 11:04:48 -05:00
Bruno Quaresma
3311c2f65d
refactor: replace Code by Detail in the http API error ( #1011 )
2022-04-18 11:02:54 -05:00
Timo
9faa39aa23
example: added docker local workspace ( #1025 )
2022-04-18 10:20:45 -05:00
dependabot[bot]
48a6cd9cee
chore: bump @testing-library/user-event from 14.1.0 to 14.1.1 in /site ( #1055 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.1.0 to 14.1.1.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.1...v14.1.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
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-18 10:11:32 -05:00
dependabot[bot]
37c1c6840c
chore: bump @playwright/test from 1.20.2 to 1.21.0 in /site ( #1053 )
...
Bumps [@playwright/test](https://github.com/Microsoft/playwright ) from 1.20.2 to 1.21.0.
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.20.2...v1.21.0 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
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-18 14:04:47 +00:00
dependabot[bot]
f5eb8a98ff
chore: bump @storybook/addon-actions from 6.4.21 to 6.4.22 in /site ( #1021 )
...
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions ) from 6.4.21 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/addons/actions )
---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
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-18 08:55:25 -05:00
dependabot[bot]
5e2b519b36
chore: bump @testing-library/react from 12.1.4 to 12.1.5 in /site ( #1019 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 12.1.4 to 12.1.5.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.4...v12.1.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
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-18 08:54:55 -05:00
dependabot[bot]
65e0533d11
chore: bump @types/node from 14.18.12 to 14.18.13 in /site ( #1023 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.18.12 to 14.18.13.
- [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-18 08:53:22 -05:00