Michael Smith
19530c6b44
fix: update DeleteWorkspaceOptions to pick properties correctly ( #13423 )
...
* fix: update typo
* fix: update typo in call site
* fix: update type for deleteWorkspace mock
* fix: update one more type mismatch
2024-05-31 10:23:59 -04:00
Cian Johnston
e176867d77
chore: update deprecated usage of coder_workspace.owner* fields ( #13390 )
...
Per https://github.com/coder/terraform-provider-coder/releases/tag/v0.23.0
Performs a mechanical rename of existing usage deprecated fields in the latest version of the coder/coder provider.
Closes #13382
2024-05-30 11:31:51 +01:00
Steven Masley
afd9d3b35f
feat: add api for patching custom org roles ( #13357 )
...
* chore: implement patching custom organization roles
2024-05-29 09:49:43 -05:00
Cian Johnston
cca3cb1c55
feat(provisioner): pass owner git ssh key ( #13366 )
2024-05-29 11:43:08 +01:00
Steven Masley
6293c33746
chore: add refresh token and error to user's external auth page ( #13380 )
...
* chore: add story for failed refresh error
* chore: add refresh icon to tokens that can refresh
2024-05-28 14:07:22 -05:00
Steven Masley
1b4ca00428
chore: include custom roles in list org roles ( #13336 )
...
* chore: include custom roles in list org roles
* move cli show roles to org scope
2024-05-23 07:54:59 -10:00
Kayla Washburn-Love
d748c6d718
fix(site): correct the size and position of the timeline trail in safari ( #13348 )
2024-05-23 11:25:10 -06:00
Bruno Quaresma
390ff9ac05
refactor(site): hide unavailable usage information ( #13341 )
2024-05-22 13:26:59 +00:00
Bruno Quaresma
78deaba481
feat(site): show "update and start" button when update is forced ( #13334 )
2024-05-21 19:29:54 +00:00
Bruno Quaresma
f27f5c0002
feat(site): show number of times coder_app is opened ( #13335 )
2024-05-21 16:04:41 -03:00
Kayla Washburn-Love
3f1e9c038a
feat(coderd): add endpoints for editing and deleting organizations ( #13287 )
2024-05-21 12:46:31 -06:00
Steven Masley
c61b64be61
feat: add hidden enterprise cmd command to list roles ( #13303 )
...
* feat: add hidden enterprise cmd command to list roles
This includes custom roles, and has a json ouput option for
more granular permissions
2024-05-21 13:14:00 -05:00
Asher
8e78b9495d
feat: open most recent directory or workspace when launching VS Code ( #13326 )
2024-05-21 09:19:59 -08:00
Marcin Tojek
b8b80fe6d2
feat: store coder_workspace_tags in the database ( #13294 )
2024-05-20 13:30:19 +00:00
Bruno Quaresma
4af0f093ee
fix(site): fix floating number on duration fields ( #13209 )
2024-05-17 15:26:00 -03:00
Steven Masley
ad8c314130
chore: implement api for creating custom roles ( #13298 )
...
api endpoint (gated by experiment) to create custom_roles
2024-05-16 13:47:47 -05:00
Mathias Fredriksson
a0fce363cd
feat(coderd): add times_used to coder_apps in insights API ( #13292 )
...
For now, only applied to `coder_app`s, same logic can be implemented for
VS Code, SSH, etc.
Part of #13099
2024-05-16 16:53:01 +03:00
Michael Smith
63e06853eb
fix: update tests for useClipboard to minimize risks of flakes ( #13250 )
...
* wip: commit progress on test revamps
* fix: update existing tests to new format
* chore: add test case for global snackbar
* refactor: consolidate files
* refactor: make http dependency more explicit
* chore: add extra test case for exposed error value
* docs: fix typos
* fix: make sure clipboard is reset between test runs
* docs: add more context to comments
* refactor: update mock console.error logic to use jest.spyOn
* docs: add more clarifying comments
* refactor: split off type alias for clarity
2024-05-15 16:59:15 -04:00
Kayla Washburn-Love
fc6f18aa96
feat(site): add an organization switcher to the user menu ( #13269 )
2024-05-15 13:14:34 -06:00
Steven Masley
1f5788feff
chore: remove rbac psuedo resources, add custom verbs ( #13276 )
...
Removes our pseudo rbac resources like `WorkspaceApplicationConnect` in favor of additional verbs like `ssh`. This is to make more intuitive permissions for building custom roles.
The source of truth is now `policy.go`
2024-05-15 11:09:42 -05:00
Bruno Quaresma
f14927955d
fix(site): fix group badge visual ( #13263 )
2024-05-14 13:52:16 -03:00
Kayla Washburn-Love
a8a0be98b8
chore: expose all organization ids from AuthContext ( #13268 )
2024-05-14 10:48:15 -06:00
Kayla Washburn-Love
2b29559984
chore: add setting to enable multi-organization ui ( #13266 )
2024-05-13 14:41:45 -06:00
Steven Masley
9ced001570
chore: add multi-org experiment for UI view toggling ( #13260 )
...
* chore: Add multi-org experiment
UI will use to toggle different views
2024-05-13 13:46:01 -05:00
Bruno Quaresma
a5a64948cd
feat(site): open README links in new tab ( #13264 )
2024-05-13 15:11:01 -03:00
Bruno Quaresma
8412450ae3
chore(site): fix portforward issue with vite ( #13262 )
2024-05-13 17:13:41 +00:00
Michael Smith
f13b1c9af6
refactor: improve test isolation for Axios API logic ( #13125 )
...
* wip: commit progress on code split-up
* wip: commit more progress
* wip: finish initial version of class implementation
* chore: update all import paths to go through client instance
* fix: remove temp comments
* refactor: smoooooooosh the API
* refactor: update import setup for tests
2024-05-12 19:05:22 +00:00
dependabot[bot]
5ddbeddf85
chore: bump protobufjs from 7.2.4 to 7.2.5 in /site ( #13245 )
...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) from 7.2.4 to 7.2.5.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.2.4...protobufjs-v7.2.5 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 22:19:19 +00:00
dependabot[bot]
3d707cbe5a
chore: bump tar from 6.2.0 to 6.2.1 in /site ( #13244 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-11 01:10:39 +03:00
Kayla Washburn-Love
7eb228e3ff
feat: popover paywall in appearance settings ( #13217 )
2024-05-10 11:21:21 -06:00
Kayla Washburn-Love
d8e0be6ee6
feat: add support for multiple banners ( #13081 )
2024-05-08 15:40:43 -06:00
Steven Masley
a4bd50c985
chore: enable terraform provisioners in e2e by default ( #13134 )
...
* skip docker test for now, it leaks containers
2024-05-08 13:34:22 -05:00
Bruno Quaresma
35cb572888
refactor(site): refactor the workspace settings form ( #13198 )
2024-05-08 13:12:48 -03:00
Bruno Quaresma
24448e79fe
fix: prevent extending if template disallows ( #13182 )
2024-05-08 12:58:14 -03:00
dependabot[bot]
b7a921a2bf
chore: bump express from 4.18.2 to 4.19.2 in /site ( #13196 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 11:08:33 -04:00
dependabot[bot]
30227dae97
chore: bump follow-redirects from 1.15.4 to 1.15.6 in /site ( #13197 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 11:08:24 -04:00
dependabot[bot]
96f2cec541
chore: bump vite from 4.5.2 to 4.5.3 in /site ( #13189 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 14:01:13 +03:00
dependabot[bot]
3905e2c541
chore: bump undici from 6.7.1 to 6.11.1 in /site ( #13190 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.7.1 to 6.11.1.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v6.7.1...v6.11.1 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 14:00:48 +03:00
Kyle Carberry and Asher
3e3118794f
chore: add build targets to nix flake ( #13186 )
...
* chore: add build targets to nix flake
Enables `nix build github:coder/coder#main`!
* Fix all packages
* Add back pnpm
* Update flake.nix
Co-authored-by: Asher <ash@coder.com >
* Remove yarn
* fmt
---------
Co-authored-by: Asher <ash@coder.com >
2024-05-06 18:21:20 -04:00
Michael Smith
34a3bdc4ec
fix: add more tests for metadata hook functionality ( #13145 )
2024-05-03 15:28:54 +00:00
Steven Masley
94a3e3a563
chore: allow terraform & echo built-in provisioners ( #13121 )
...
* chore: allow terraform & echo built-in provisioners
Built-in provisioners serve all specified types. This allows running terraform, echo, or both in built in.
The cli flag to control the types is hidden by default, to be used primarily for testing purposes.
2024-05-03 10:14:26 -05:00
Michael Smith
7873c961e3
fix: ensure signing out cannot cause any runtime render errors ( #13137 )
...
* fix: remove some of the jank around our core App component
* refactor: scope navigation logic more aggressively
* refactor: add explicit return type to useAuthenticated
* refactor: clean up ProxyContext code
* wip: add code for consolidating the HTML metadata
* refactor: clean up hook logic
* refactor: rename useHtmlMetadata to useEmbeddedMetadata
* fix: correct names that weren't updated
* fix: update type-safety of useEmbeddedMetadata further
* wip: switch codebase to use metadata hook
* refactor: simplify design of metadata hook
* fix: update stray type mismatches
* fix: more type fixing
* fix: resolve illegal invocation error
* fix: get metadata issue resolved
* fix: update comments
* chore: add unit tests for MetadataManager
* fix: beef up tests
* fix: update typo in tests
2024-05-03 10:40:06 -04:00
Steven Masley
7779c0a1dc
chore: enable playwright test extension in vscode ( #13135 )
...
* chore: enable playwright test extension in vscode
This enables using the vscode debugger in playwright tests
2024-05-02 23:14:24 +00:00
Garrett Delfosse
699e187d55
fix: remove mention of protocol lag ( #13133 )
2024-05-02 17:10:30 -04:00
Garrett Delfosse
c550d0641d
feat: move shared ports out of experiment ( #13120 )
2024-05-02 14:11:33 -04:00
Bruno Quaresma
71a03a8b1d
fix(site): fix template schedule update overriding other settings ( #13114 )
2024-05-01 10:25:40 -03:00
Kyle Carberry
fbb98b950a
chore: centralize build info for site ( #13104 )
...
The build info passed to the frontend via HTML was incorrect.
2024-04-29 20:50:49 -04:00
Kyle Carberry
1bda8a0856
feat: add deployment_id to the ui and licenses ( #13096 )
...
* feat: expose `deployment_id` in the user dropdown
* feat: add license deployment_id verification
* Ignore wireguard.com from mlc config
2024-04-29 16:50:11 -04:00
Bruno Quaresma
053c56cc1a
fix(site): fix template schedule options ( #13084 )
2024-04-29 14:14:24 -03:00
Garrett Delfosse
8ba05a9052
feat: add switch http(s) button to error page ( #12942 )
2024-04-26 11:52:53 -04:00