dependabot[bot]
94eb503aac
chore: bump chromatic from 6.7.1 to 6.9.0 in /site ( #3837 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.7.1 to 6.9.0.
- [Release notes](https://github.com/chromaui/chromatic-cli/releases )
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.7.1...v6.9.0 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 14:05:13 -04:00
Dean Sheather
419d701927
chore: parallel builds with Makefile ( #3854 )
...
* Revert "revert: Makefile buff-ification (#3700 ) (#3848 )"
This reverts commit e490bdd531 .
* fix: fix slim targets in makefile
* fix: don't clobber slim binaries, make sure they're in the correct location
2022-09-06 17:27:06 +00:00
Ammar Bandukwala
4f0105ef7e
feat: add orphan support ( #3849 )
...
* feat: add resource orphanage
* feat: deny custom state in build for regular users
* Minor protoc improvements
2022-09-06 17:07:00 +00:00
Bruno Quaresma
209e011404
fix: Escape # character on appName ( #3895 )
2022-09-06 15:16:03 +00:00
Presley Pizzo
1f55135765
Make color usage more consistent ( #3842 )
...
* Tweak overrides - should not cause visual change
* Use closest color for avatar
* Change hover color of contained buttons
* Change nav item color (matches avatar now)
* Format
* Use lighter border for contained button hover
This looks more clickable than lightening the background
* Delete unused component
* Make dropdown arrow consistent
Same up as down. Contrast text everywhere except nav, where it matches links and avatar.
* No need to fade right arrows
* Add hover color
* Consistent box shadows
* Format
* Delete unused DialogSearch
* Deleting unused button types to avoid confusion
* Use disabled arrow on disabled action buttons
2022-09-06 10:58:12 -04:00
dependabot[bot] and Bruno Quaresma
8e1dfc2763
chore: bump typescript from 4.7.4 to 4.8.2 in /site ( #3836 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.7.4 to 4.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.4...v4.8.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2022-09-06 14:15:29 +00:00
Kyle Carberry
05e2806ff3
feat: Add profile pictures to OAuth users ( #3855 )
...
This supports GitHub and OIDC login for profile pictures!
2022-09-04 11:44:27 -05:00
Geoffrey Huntley
0372586382
housekeeping(discord): use /chat instead of the discord.gg link ( #3826 )
2022-09-03 06:16:57 +00:00
Kyle Carberry
ac50070713
fix: Add omitempty for proper latency type ( #3850 )
...
This was causing an error on the frontend, because this value can be nil!
2022-09-02 22:05:27 +00:00
Kyle Carberry
2e1db6cc63
feat: Add latency indicator to the UI ( #3846 )
...
With Tailscale, we now get latency of all regions.
2022-09-02 20:09:05 +00:00
Bruno Quaresma
d350d9033c
refactor: Remove extra line from table bottom ( #3831 )
2022-09-02 19:32:28 +00:00
dependabot[bot]
3be7bb58b4
chore: bump @storybook/addon-essentials from 6.4.22 to 6.5.10 in /site ( #3827 )
...
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials ) from 6.4.22 to 6.5.10.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.10/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.10/addons/essentials )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 16:58:04 +00:00
Bruno Quaresma
6fe63ed358
refactor: Keep focused style when input is hovered ( #3832 )
2022-09-02 09:53:46 -07:00
Bruno Quaresma
5618640227
refactor: Remove duplicated title ( #3829 )
2022-09-02 16:49:41 +00:00
Bruno Quaresma
8c70b6c360
refactor: Update table cell colors to match the ones in the Workspace ( #3830 )
...
page
2022-09-02 13:04:08 -03:00
Bruno Quaresma
21ae411237
refactor: Fix README spacing ( #3833 )
2022-09-02 13:03:59 -03:00
Bruno Quaresma
b9e5cc97a1
refactor: Make user columns consistent ( #3834 )
2022-09-02 13:03:36 -03:00
dependabot[bot]
f1976a086f
chore: bump webpack-bundle-analyzer from 4.5.0 to 4.6.1 in /site ( #3818 )
...
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer ) from 4.5.0 to 4.6.1.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases )
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v4.5.0...v4.6.1 )
---
updated-dependencies:
- dependency-name: webpack-bundle-analyzer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 10:25:26 -05:00
dependabot[bot]
e20ff62c9f
chore: bump xstate from 4.32.1 to 4.33.5 in /site ( #3817 )
...
Bumps [xstate](https://github.com/statelyai/xstate ) from 4.32.1 to 4.33.5.
- [Release notes](https://github.com/statelyai/xstate/releases )
- [Commits](https://github.com/statelyai/xstate/compare/xstate@4.32.1...xstate@4.33.5 )
---
updated-dependencies:
- dependency-name: xstate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 13:11:20 +00:00
dependabot[bot]
afd6834ff7
chore: bump @typescript-eslint/eslint-plugin in /site ( #3804 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.31.0 to 5.36.1.
- [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.36.1/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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 10:08:26 -03:00
Ammar Bandukwala
3f73243b37
feat: improve formatting of last used ( #3824 )
2022-09-01 23:03:02 -05:00
Ammar Bandukwala and Presley Pizzo
2d347657dc
site: correct documentation on gitsshkey ( #3690 )
...
* site: correct documentation on gitsshkey
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com >
2022-09-02 02:29:57 +00:00
Joe Previte
3c91b92930
docs: add comment to ResourceAvatar ( #3822 )
2022-09-01 18:16:20 -07:00
Ammar Bandukwala
04b03792cb
feat: add last used to Workspaces page ( #3816 )
2022-09-02 00:08:51 +00:00
Garrett Delfosse
80e9f24ac7
feat: add loaders to ssh and terminal buttons ( #3820 )
2022-09-01 19:58:43 -04:00
dependabot[bot]
081259314b
chore: bump cron-parser from 4.5.0 to 4.6.0 in /site ( #3809 )
...
Bumps [cron-parser](https://github.com/harrisiirak/cron-parser ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/harrisiirak/cron-parser/releases )
- [Commits](https://github.com/harrisiirak/cron-parser/compare/4.5.0...4.6.0 )
---
updated-dependencies:
- dependency-name: cron-parser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 21:25:53 +00:00
dependabot[bot]
ff026d4890
chore: bump eslint-plugin-react from 7.30.1 to 7.31.1 in /site ( #3806 )
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.30.1 to 7.31.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.30.1...v7.31.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 14:20:08 -07:00
Ammar Bandukwala
30f8fd9b95
Daily Active User Metrics ( #3735 )
...
* agent: add StatsReporter
* Stabilize protoc
2022-09-01 14:58:23 -05:00
Presley Pizzo
5f0b13795a
feat: make scrollbars match color scheme ( #3807 )
2022-09-01 14:28:18 -04:00
dependabot[bot]
1efcd33d63
chore: bump jest-runner-eslint from 1.0.0 to 1.1.0 in /site ( #3799 )
...
Bumps [jest-runner-eslint](https://github.com/jest-community/jest-runner-eslint ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/jest-community/jest-runner-eslint/releases )
- [Changelog](https://github.com/jest-community/jest-runner-eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/jest-runner-eslint/compare/v1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: jest-runner-eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 14:26:45 -04:00
Presley Pizzo
6d95145d3b
Feat: delete template button ( #3781 )
...
* Add api call
* Extract DropDownButton
* Start adding DropdownButton to Template page
* Move stories to dropdown button
* Format
* Update xservice to delete
* Deletion flow
* Format
* Move ErrorSummary for consistency
* RBAC (unfinished) and style tweak
* Format
* Test rbac
* Format
* Move ErrorSummary under PageHeader in workspace and template
* Format
* Replace hook with onBlur
* Make style arg optional
* Format
2022-09-01 14:24:14 -04:00
dependabot[bot]
f4c8bfdc18
chore: bump webpack-dev-server from 4.9.3 to 4.10.1 in /site ( #3801 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.9.3 to 4.10.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.9.3...v4.10.1 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 16:26:50 +00:00
dependabot[bot]
5b9573d7c1
chore: bump just-debounce-it from 3.0.1 to 3.1.1 in /site ( #3800 )
...
Bumps [just-debounce-it](https://github.com/angus-c/just ) from 3.0.1 to 3.1.1.
- [Release notes](https://github.com/angus-c/just/releases )
- [Commits](https://github.com/angus-c/just/compare/just-debounce-it@3.0.1...just-pick@3.1.1 )
---
updated-dependencies:
- dependency-name: just-debounce-it
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 09:15:42 -07:00
dependabot[bot]
b57b8b887d
chore: bump jest-websocket-mock from 2.3.0 to 2.4.0 in /site ( #3797 )
...
Bumps [jest-websocket-mock](https://github.com/romgain/jest-websocket-mock ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/romgain/jest-websocket-mock/releases )
- [Commits](https://github.com/romgain/jest-websocket-mock/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: jest-websocket-mock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 09:14:57 -07:00
Kyle Carberry and Colin Adler
9bd83e5ec7
feat: Add Tailscale networking ( #3505 )
...
* fix: Add coder user to docker group on installation
This makes for a simpler setup, and reduces the likelihood
a user runs into a strange issue.
* Add wgnet
* Add ping
* Add listening
* Finish refactor to make this work
* Add interface for swapping
* Fix conncache with interface
* chore: update gvisor
* fix tailscale types
* linting
* more linting
* Add coordinator
* Add coordinator tests
* Fix coordination
* It compiles!
* Move all connection negotiation in-memory
* Migrate coordinator to use net.conn
* Add closed func
* Fix close listener func
* Make reconnecting PTY work
* Fix reconnecting PTY
* Update CI to Go 1.19
* Add CLI flags for DERP mapping
* Fix Tailnet test
* Rename ConnCoordinator to TailnetCoordinator
* Remove print statement from workspace agent test
* Refactor wsconncache to use tailnet
* Remove STUN from unit tests
* Add migrate back to dump
* chore: Upgrade to Go 1.19
This is required as part of #3505 .
* Fix reconnecting PTY tests
* fix: update wireguard-go to fix devtunnel
* fix migration numbers
* linting
* Return early for status if endpoints are empty
* Update cli/server.go
Co-authored-by: Colin Adler <colin1adler@gmail.com >
* Update cli/server.go
Co-authored-by: Colin Adler <colin1adler@gmail.com >
* Fix frontend entites
* Fix agent bicopy
* Fix race condition for the last node
* Fix down migration
* Fix connection RBAC
* Fix migration numbers
* Fix forwarding TCP to a local port
* Implement ping for tailnet
* Rename to ForceHTTP
* Add external derpmapping
* Expose DERP region names to the API
* Add global option to enable Tailscale networking for web
* Mark DERP flags hidden while testing
* Update DERP map on reconnect
* Add close func to workspace agents
* Fix race condition in upstream dependency
* Fix feature columns race condition
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2022-08-31 20:09:44 -05:00
Colin Adler
00da01fdf7
chore: rearrange audit logging code into enterprise folder ( #3741 )
2022-08-31 21:12:54 +00:00
Cian Johnston
5362f4636e
feat: show agent version in UI and CLI ( #3709 )
...
This commit adds the ability for agents to set their version upon start.
This is then reported in the UI and CLI.
2022-08-31 16:33:50 +01:00
Joe Previte
e6802f0a56
refactor: use WidgetsIcon for null resources ( #3754 )
...
* refactor: replace HelpIcon w/WidgetsIcon
Based on user feedback, we believe the `WidgetsIcon` will cause less
confusion.
* fixup
* refactor: clean up types in ResourceAvatar.tsx
Before, we were using `string` for `type` in `ResourceAvatar`. This
meant it wasn't tied to the types generated from the backend.
Now it imports `WorkspaceResource` so that there is a single source of
truth and they always stay in sync.
2022-08-31 07:44:20 -07:00
Bruno Quaresma
02c0100d4d
fix: Use a select when parameter input has many options ( #3762 )
2022-08-30 15:56:36 -07:00
Garrett Delfosse
01a06e1213
feat: Add dedicated labels to agent status and OS ( #3759 )
2022-08-30 19:18:10 +00:00
Bruno Quaresma
3cf17d34e7
refactor: Redesign auth cli page and add workspaces link ( #3737 )
2022-08-29 16:57:54 -03:00
Bruno Quaresma
62f686c003
fix: Templates table columns width ( #3731 )
2022-08-29 14:49:04 -03:00
Kyle Carberry
611ca55458
fix: Use "data" scheme when creating parameters from the site ( #3732 )
...
Fixes #3691 .
2022-08-29 16:32:57 +00:00
Mathias Fredriksson
c8f8c95f6a
feat: Add support for renaming workspaces ( #3409 )
...
* feat: Implement workspace renaming
* feat: Add hidden rename command (and data loss warning)
* feat: Implement database.IsUniqueViolation
2022-08-26 12:28:38 +03:00
Presley Pizzo
623fc5baac
feat: condition Audit log on licensing ( #3685 )
...
* Update XService
* Add simple wrapper
* Add selector
* Condition page
* Condition link
* Format and lint
* Integration test
* Add username to api call
* Format
* Format
* Fix link name
* Upgrade xstate/react to fix crashing tests
* Fix tests
* Format
* Abstract strings
* Debug test
* Increase timeout
* Add comments and try shorter timeout
* Use PropsWithChildren
* Undo PropsWithChildren, try lower timeout
* Format, lower timeout
2022-08-25 19:20:31 -04:00
Joe Previte
94e96fa40b
chore: enable react/no-array-index-key eslint ( #3696 )
...
* chore: enable react/no-array-index-key eslint
* fix: add missing key to ResourcesTable
2022-08-25 11:20:24 -07:00
Garrett Delfosse
7a77e55bd4
fix: match term color ( #3694 )
2022-08-25 16:34:37 +00:00
Mathias Fredriksson and Joe Previte
78a24941fe
feat: Add codersdk.NullTime, change workspace build deadline ( #3552 )
...
Fixes #2015
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-08-25 19:10:42 +03:00
Kira Pilot
cf0d2c9bbc
added react-i18next to FE ( #3682 )
...
* added react-i18next
* fixing typo
* snake case to camel case
* typo
* clearer error in catch block
2022-08-24 17:28:02 -04:00
Steven Masley
0b53b06fc6
chore: Make member role struct match site roles ( #3671 )
2022-08-24 15:58:57 -04:00