Cian Johnston
0647ec1960
fix(coderd): prevent nil err deref ( #12475 )
2024-03-11 14:03:58 +00:00
Garrett Delfosse
dc69341583
fix: make public menu item selectable ( #12484 )
2024-03-11 10:00:40 -04:00
Alessandro Varesi
5e9bf31229
fix: devcontainer-docker bad default directory ( #12453 )
2024-03-11 16:56:41 +03:00
Michael Brewer
cef632b1fb
feat(site): add dotnet icon ( #12512 )
2024-03-11 16:54:34 +03:00
Bruno Quaresma
cd64e981b4
chore(site): add stories to 404 page ( #12470 )
...
Related to https://github.com/coder/coder/issues/12263
2024-03-11 10:36:06 -03:00
Cian Johnston
b1ecc53033
chore(coderd): improve tests for tar<->zip conversion ( #12477 )
...
* improve tests for tar<->zip conversion
* set mode and modtime correctly when converting from zip to tar (#12476 )
2024-03-11 13:29:57 +00:00
Bruno Quaresma
0220c97ef9
chore(site): add TableToolbar stories ( #12473 )
...
Related to https://github.com/coder/coder/issues/12263
2024-03-11 10:21:47 -03:00
Bruno Quaresma
b8dd6b3aa2
chore(site): add Form storybook ( #12469 )
...
Related to #12260
2024-03-11 10:21:18 -03:00
Cian Johnston
1f276a22b3
chore(dogfood): update keys ( #12515 )
2024-03-11 13:07:48 +00:00
Mathias Fredriksson
bae0a747ed
test(coderd): skip flaky dau test ( #12517 )
...
* test(coderd): skip flaky dau test
* chore(coderd/database/dbpurge): fix failing test (#12530 )
---------
Co-authored-by: Cian Johnston <cian@coder.com>
2024-03-11 12:54:38 +00:00
Michael Brewer
5296611a3f
feat(site): add confluence icon ( #12500 )
...
Attribution for this icon below, if needed
Vectors and icons by <a href="https://github.com/vscode-icons/vscode-icons?ref=svgrepo.com " target="_blank">Vscode Icons</a> in MIT License via <a href="https://www.svgrepo.com/ " target="_blank">SVG Repo</a>
2024-03-11 11:34:02 +03:00
dependabot[bot]
2b4560cc4b
chore: bump github.com/fergusstrange/embedded-postgres ( #12400 )
...
Bumps [github.com/fergusstrange/embedded-postgres](https://github.com/fergusstrange/embedded-postgres ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/fergusstrange/embedded-postgres/releases )
- [Commits](https://github.com/fergusstrange/embedded-postgres/compare/v1.25.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: github.com/fergusstrange/embedded-postgres
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>
2024-03-11 00:16:16 +03:00
dependabot[bot]
6588cee38a
chore: bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 ( #12460 )
...
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose ) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.1...v3.0.3 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
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-03-11 00:15:52 +03:00
Michael Smith
4d42c07c72
chore(site): update and refactor all custom hook tests that rely on React Router ( #12219 )
...
* chore: rename useTab to useSearchParamsKey and add test
* chore: mark old renderHookWithAuth as deprecated (temp)
* fix: update imports for useResourcesNav
* refactor: change API for useSearchParamsKey
* chore: let user pass in their own URLSearchParams value
* refactor: clean up comments for clarity
* fix: update import
* wip: commit progress on useWorkspaceDuplication revamp
* chore: migrate duplication test to new helper
* refactor: update code for clarity
* refactor: reorder test cases for clarity
* refactor: split off hook helper into separate file
* refactor: remove reliance on internal React Router state property
* refactor: move variables around for more clarity
* refactor: more updates for clarity
* refactor: reorganize test cases for clarity
* refactor: clean up test cases for useWorkspaceDupe
* refactor: clean up test cases for useWorkspaceDupe
2024-03-08 18:31:01 -05:00
Kayla Washburn-Love
cf4f56dc2f
chore: add stories for `MoreMenu` ( #12464 )
2024-03-08 12:01:48 -07:00
Kayla Washburn-Love
8d8220bb07
chore: add stories for `Loader` ( #12445 )
2024-03-08 11:35:14 -07:00
Ben Potter
1e17782ff6
docs: simplify install docs ( #11946 )
...
* docs: simplify install docs
* changes from feedback
* fmt
* fixups from feedback
2024-03-08 15:15:59 +00:00
Danny Kopping
7a92154e67
Install pnpm before calling pnpm exec in make stages ( #12471 )
...
Signed-off-by: Danny Kopping <danny@coder.com>
2024-03-08 14:33:28 +02:00
Bruno Quaresma
5b2acbc5b7
chore(site): add FileUpload stories ( #12456 )
...
Related to https://github.com/coder/coder/issues/12260
2024-03-08 09:08:44 -03:00
Bruno Quaresma
18d1c17db1
chore(site): add storybook for BuildAvatar and BuildIcon ( #12455 )
...
Related to https://github.com/coder/coder/issues/12260
2024-03-08 08:06:56 -03:00
Bruno Quaresma
060033e4ef
fix(site): fix terminal size when displaying alerts ( #12444 )
...
Before - The terminal size does not fit the available space so the bottom is hidden.
https://github.com/coder/coder/assets/3165839/d08470b9-9fc6-476c-a551-8a3e13fc25bf
After - The terminal adjusts when there are alert changes.
https://github.com/coder/coder/assets/3165839/8cc32bfb-056f-47cb-97f2-3bb18c5fe906
Unfortunately, I don't think there is a sane way to automate tests for this but open to suggestions.
Close https://github.com/coder/coder/issues/7914
2024-03-08 07:38:40 -03:00
Dean Sheather
d2a5b31b2b
feat: add derp mesh health checking in workspace proxies ( #12222 )
2024-03-08 16:31:40 +10:00
Colin Adler
6b0b87eb27
fix: add `--block-direct-connections` to wsproxies ( #12182 )
2024-03-07 23:45:59 -06:00
Colin Adler
66154f937e
fix(coderd): pass block endpoints into servertailnet ( #12149 )
2024-03-08 05:29:54 +00:00
Garrett Delfosse
d2a74cf547
fix: display tooltip when selection is disabled ( #12439 )
2024-03-07 10:43:25 -05:00
Dean Sheather
586586e9dd
fix: do not set max deadline for workspaces on template update ( #12446 )
...
* fix: do not set max deadline for workspaces on template update
When templates are updated and schedule data is changed, we update all
running workspaces to have up-to-date scheduling information that sticks
to the new policy.
When updating the max_deadline for existing running workspaces, if the
max_deadline was before now()+2h we would set the max_deadline to
now()+2h.
Builds that don't/shouldn't have a max_deadline have it set to 0, which
is always before now()+2h, and thus would always have the max_deadline
updated.
* test: add unit test to excercise template schedule bug
---------
Co-authored-by: Steven Masley <stevenmasley@gmail.com>
2024-03-07 09:42:50 -06:00
Cian Johnston
17caf58b5e
feat(support): add template info to support bundle ( #12451 )
...
Adds workspace build parameters, template, template version, and zipped template source to support bundle.
2024-03-07 14:43:46 +00:00
Bruno Quaresma
db02c72ac6
chore(site): add storybook for terminal page ( #12441 )
2024-03-07 14:17:38 +00:00
Spike Curtis
b96f6b48a4
fix: ensure ssh cleanup happens on cmd error
...
I noticed in my logs that sometimes `coder ssh` doesn't gracefully disconnect from the coordinator.
The cause is the `closerStack` construct we use in that function. It has two paths to start closing things down:
1. explicit `close()` which we do in `defer`
2. context cancellation, which happens if the cli function returns an error
sometimes the ssh remote command returns an error, and this triggers context cancellation of the `closerStack`. That is fine in and of itself, but we still want the explicit `close()` to wait until everything is closed before returning, since that's where we do cleanup, including the graceful disconnect. Prior to this fix the `close()` just immediately exits if another goroutine is closing the stack. Here we add a wait until everything is done.
2024-03-07 17:26:49 +04:00
Cian Johnston
c8aa99a5b8
feat(coderd/database/dbfake): allow specifying fileID in TemplateVersionBuilder ( #12450 )
2024-03-07 12:36:11 +00:00
dependabot[bot]
e4326947c4
chore: bump github.com/go-chi/httprate from 0.8.0 to 0.9.0 ( #12401 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 16:57:21 +05:00
dependabot[bot]
14b1400968
chore: bump github.com/go-playground/validator/v10 from 10.18.0 to 10.19.0 ( #12396 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 16:57:12 +05:00
dependabot[bot]
de35755bd2
chore: bump github.com/hashicorp/hcl/v2 from 2.17.0 to 2.20.0 ( #12398 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.17.0 to 2.20.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.17.0...v2.20.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>
2024-03-07 10:46:51 +00:00
Dean Sheather
bd752a6d8b
chore: embed static files in debug builds ( #12449 )
2024-03-07 09:23:28 +00:00
Cian Johnston
3e6e1e6f10
ci: add jnb wsproxy + update dogfood template ( #12440 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com>
2024-03-06 18:54:26 +00:00
Dean Sheather
662be56d72
chore: rename migrations to fix main ( #12442 )
2024-03-06 18:28:53 +00:00
Steven Masley
b5f866c1cb
chore: add organization_id column to provisioner daemons ( #12356 )
...
* chore: add organization_id column to provisioner daemons
* Update upsert to include organization id on set
2024-03-06 12:04:50 -06:00
Dean Sheather
46a2ff1061
feat: allow setting port share protocol ( #12383 )
...
Co-authored-by: Garrett Delfosse <garrett@coder.com>
2024-03-06 09:23:57 -05:00
Steven Masley
23ff807a27
chore: remove autocreate orgs on CreateUser ( #12434 )
...
New users must be explictly given an organization to join.
Organizations should not be auto created as a side effect of
creating a new user.
2024-03-06 07:29:28 -06:00
Dean Sheather
842799847a
chore: fix trivy scanning ( #12421 )
2024-03-05 19:04:16 -06:00
Michael Smith
a92853c72d
fix: ensure auto-workspace creation waits until all parameters are ready ( #12419 )
...
* fix: ensure auto-workspace creation waits until all parameters are ready
* refactor: move creation blocking logic to main callback
* fix: let creation start if experimental feature is off
2024-03-05 18:42:50 -05:00
Kayla Washburn-Love
0fe109d517
chore: sort imports in our typescript code ( #12417 )
2024-03-05 16:31:22 -07:00
Steven Masley
17c486c5e6
chore: ensure default org always exists ( #12412 )
...
* chore: ensure default org always exists
First user just joins the org created by the migration
2024-03-05 14:06:35 -06:00
Bruno Quaresma
bc30c9c013
feat(site): warn user if they leave the editor without publishing ( #12406 )
2024-03-05 16:55:23 -03:00
Garrett Delfosse
61bd341a36
chore: change max share level on existing port shares ( #12411 )
2024-03-05 13:47:01 -05:00
Cian Johnston
5106d9fc47
feat(support): fetch data concurrently ( #12385 )
...
Modifies pkg support to fetch data concurrently
2024-03-05 17:41:42 +00:00
Bruno Quaresma
fb88fa8603
feat(site): display error messages on ws and access url health pages ( #12430 )
...
Close https://github.com/coder/coder/issues/12408
2024-03-05 13:27:57 -03:00
Cian Johnston
4343998c37
chore(coderd): add tests for big oidc tokens ( #12424 )
...
- Adds two test cases for a 64k+ ID token and a 64k+ userinfo payload.
- Reformats the entire test cases array as instructed by CI
2024-03-05 14:46:00 +00:00
Marcin Tojek
b1f9a6dc31
fix: use timestamptz instead of timestamp ( #12425 )
...
* fix: use timestampz instead of timestamp
* fix: timestamptz
2024-03-05 14:16:29 +00:00
Marcin Tojek
3e99c0373f
fix: improve pagination parser ( #12422 )
2024-03-05 14:05:15 +00:00