Spike Curtis
f400d8a0c5
fix: handle SIGHUP from OpenSSH ( #10638 )
...
Fixes an issue where remote forwards are not correctly torn down when using OpenSSH with `coder ssh --stdio`. OpenSSH sends a disconnect signal, but then also sends SIGHUP to `coder`. Previously, we just exited when we got SIGHUP, and this raced against properly disconnecting.
Fixes https://github.com/coder/customers/issues/327
2023-11-13 15:14:42 +04:00
Muhammad Atif Ali
be0436afbe
ci: bump terraform version to 1.5.7 to match embedded terraform version ( #10630 )
2023-11-13 10:06:36 +03:00
Muhammad Atif Ali
715bbd3edd
ci: bump go to version 1.20.11 ( #10631 )
2023-11-13 10:06:26 +03:00
Anunaya Srivastava
5f0417d14e
Fix nix-shell on macos ( #10591 )
...
strace is unavailable on macos. flake.nix is updated to handle this
scenario.
2023-11-11 12:06:26 +03:00
Cian Johnston and Mathias Fredriksson
a4f1319108
feat(cli): allow showing schedules for multiple workspaces ( #10596 )
...
* coder list: adds information about next start / stop to available columns (not default)
* coder schedule: show now essentially coder list with a different set of columns
* Updates cli schedule unit tests to use new dbfake
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-11-10 13:51:49 +00:00
Jon Ayers
177affbe4b
feat: add frontend warning when autostart disabled due to automatic updates ( #10508 )
2023-11-09 17:01:12 -06:00
Eric Paulsen
9c5b631323
feat: add docs for Bitbucket Server external auth config ( #10617 )
2023-11-09 16:14:22 -05:00
Michael Smith
8290fee3f7
fix: remove accidental scrollbar from deployment banner ( #10616 )
...
* chore: clean up DeploymentBannerView markup
* fix: remove extra scrollbar
* refactor: remove needless calc call
2023-11-09 15:52:23 -05:00
Marcin Tojek
61fac2dcfc
feat(cli): create workspace using parameters from existing workspace ( #10604 )
2023-11-09 19:22:47 +01:00
Muhammad Atif Ali
076db31486
ci: use actions/setup-go builtin cache ( #10608 )
2023-11-09 20:41:31 +03:00
Michael Smith
ad3abe350f
refactor: revamp pagination UI view logic ( #10567 )
...
* chore: revamp Page Utility tests
* refactor: simplify component design for PageButton
* chore: beef up isNonInitialPage and add tests
* docs: clean up comments
* chore: quick refactor for buildPagedList
* refactor: clean up math calculations for buildPagedList
* chore: rename PageButtons file
* chore: revamp how nav buttons are defined
* fix: remove test disabled state
* chore: clean up base nav button
* chore: rename props for clarity
* refactor: clean up logic for isNonInitialPage
* chore: add more tests and catch bugs
* docs: fix confusing typo in comments
* chore: add one more test case for pagination buttons
* refactor: update props definition for PaginationNavButton
* fix: remove possible state sync bugs
2023-11-09 09:10:14 -05:00
Cian Johnston
8a7f0e9eb9
refactor(cli): extract workspace list parameters ( #10605 )
...
Extracts the --search and --all parameters to a separate struct in cliui.
2023-11-09 12:16:43 +00:00
Mathias Fredriksson
473585de6c
fix(scripts): forward all necessary ports for remote playwright ( #10606 )
2023-11-09 12:02:46 +00:00
Mathias Fredriksson
e71c53d4d0
chore(site): add remote playwright support and script ( #10445 )
2023-11-09 13:26:26 +02:00
Marcin Tojek
ed7e43b54c
feat: expose parameter insights as Prometheus metrics ( #10574 )
2023-11-09 10:30:40 +01:00
Jon Ayers
e23873ff8f
feat: add endpoint for resolving autostart status ( #10507 )
2023-11-08 23:24:56 -06:00
Jon Ayers
cf8ee78547
fix: disable autostart for flakey test ( #10598 )
2023-11-08 17:56:36 -06:00
Bruno Quaresma
645c4bd612
fix(site): fix daylight savings date range issue ( #10595 )
...
Close https://github.com/coder/coder/issues/10575
2023-11-08 16:49:09 -03:00
Bruno Quaresma
a328d20bcb
chore(site): remove workspace schedule banner service ( #10588 )
...
Related to https://github.com/coder/coder/issues/9943
2023-11-08 16:48:54 -03:00
Kyle Carberry
2cf2904515
fix: improve language of latest build error ( #10593 )
2023-11-08 18:38:46 +00:00
Steven Masley
63a4f5f4a7
fix: case insensitive magic label ( #10592 )
2023-11-08 11:17:14 -06:00
Steven Masley
aded7b1513
feat: implement bitbucket-server external auth defaults ( #10520 )
...
* feat: implement bitbucket-server external auth defaults
Bitbucket cloud != Bitbucket server
Add reasonable defaults for server
* change "bitbucket" to "bitbucket-cloud"
2023-11-08 11:05:51 -06:00
Bruno Quaresma
71153e2317
chore(site): remove workspace schedule machine ( #10583 )
...
Related to https://github.com/coder/coder/issues/9943
2023-11-08 13:46:29 -03:00
Cian Johnston
26740cf00d
chore(scripts/rules.go): broaden scope of testingWithOwnerUser linter ( #10548 )
...
* Updated testingWithOwnerUser ruleguard rule to detect:
a) Passing client from coderdenttest.New() to clitest.SetupConfig() similar to what already exists for AGPL code
b) Usage of any method of the owner client from coderdenttest.New() - all usages of the owner client must be justified with a `//nolint:gocritic` comment.
* Fixed resulting linter complaints.
* Added new coderdtest helpers CreateGroup and UpdateTemplateMeta.
* Modified check_enterprise_import.sh to ignore scripts/rules.go.
2023-11-08 14:54:48 +00:00
Michael Smith
057b43a935
fix: remove stray 0 when no data is in users table ( #10584 )
2023-11-08 09:06:14 -05:00
Bruno Quaresma
f418983f23
chore(site): make chromatic ignore changes inside of the code editor ( #10586 )
2023-11-08 11:01:28 -03:00
Bruno Quaresma
de196b89b6
chore(site): revert remark-gfm upgrade ( #10580 )
2023-11-08 08:23:09 -05:00
Bruno Quaresma
7f26111c01
feat(site): add stop and start batch actions ( #10565 )
2023-11-08 09:29:22 -03:00
Bruno Quaresma
861ae1a23a
fix(site): fix bottom bar height ( #10579 )
2023-11-08 12:21:20 +00:00
Ammar Bandukwala
4f3925d0b3
ci: close likely-no issues automatically ( #10569 )
2023-11-08 04:54:44 +00:00
Kira Pilot
4316c1c862
fix: display all metadata items alongside daily_cost ( #10554 )
...
* resolves #10411
* Update site/src/components/Resources/ResourceCard.test.tsx
2023-11-07 13:04:10 -05:00
Kayla Washburn
9e4558ae3a
feat: parse resource metadata values as markdown ( #10521 )
2023-11-07 10:34:24 -07:00
Mathias Fredriksson
43a867441a
feat(cli): add template filter support to exp scaletest cleanup and traffic ( #10558 )
2023-11-07 16:41:55 +00:00
Kayla Washburn
1dd3eb603b
fix: hide promote/archive buttons for template versions from users without permission ( #10555 )
2023-11-07 09:33:14 -07:00
Marcin Tojek
0a550815e9
feat: expose app insights as Prometheus metrics ( #10346 )
2023-11-07 17:14:59 +01:00
Cian Johnston
8441c36dfb
fix(site/src/api): getDeploymentDAUs: truncate tz_offset to whole number ( #10563 )
2023-11-07 16:00:00 +00:00
Bruno Quaresma
651d14ea68
fix(site): fix agent log error ( #10557 )
2023-11-07 10:37:09 -05:00
Steven Masley
64398def48
feat: add configurable cipher suites for tls listening ( #10505 )
...
* feat: add configurable cipher suites for tls listening
* tls.VersionName is go 1.21, copy the function
2023-11-07 14:55:39 +00:00
Mathias Fredriksson
e36503afd2
test(codersdk/agentsdk): fix context cancel flush test ( #10560 )
...
This change tests that the patch request is cancelled instead of hoping
that there's no race between context cancellations leading to patch
never being called.
2023-11-07 16:47:23 +02:00
Michael Smith
b0aa91bf27
fix: disable pagination nav buttons correctly ( #10561 )
...
* fix: update button disabling logic
2023-11-07 09:36:26 -05:00
Michael Smith
f5c4826e4c
feat: add list of user's groups to Accounts page ( #10522 )
...
* chore: add query for a user's groups
* chore: integrate user groups into UI
* refactor: split UI card into separate component
* chore: enforce alt text for AvatarCard
* chore: add proper alt text support for Avatar
* fix: update props for Avatar call sites
* finish AccountPage changes
* wip: commit progress on AvatarCard
* fix: add better UI error handling
* fix: update theme setup for AvatarCard
* fix: update styling for AccountPage
* fix: make error message conditional
* chore: update styling for AvatarCard
* chore: finish AvatarCard
* fix: add maxWidth support to AvatarCard
* chore: update how no max width is defined
* chore: add AvatarCard stories
* fix: remove incorrect semantics for AvatarCard
* docs: add comment about flexbox behavior
* docs: add clarifying text about prop
* fix: fix grammar for singular groups
* refactor: split off AccountUserGroups and add story
* fix: differentiate mock groups more
2023-11-07 08:36:53 -05:00
Michael Smith
8c3828b531
fix: stop SSHKeysPage from flaking ( #10553 )
...
* refactor: reorganize SSHKeysPage
* refactor: update render behavior for GlobalSnackbar
* fix: remove redundant error handling
* docs: Clean up wording on docs
* fix: remove temp error handling tests
* fix: remove local error alert
* fix: remove error logging hacks
2023-11-07 08:31:06 -05:00
dependabot[bot]
b83a8ce76d
chore: bump github.com/aws/smithy-go from 1.15.0 to 1.16.0 ( #10543 )
...
Bumps [github.com/aws/smithy-go](https://github.com/aws/smithy-go ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/aws/smithy-go/releases )
- [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/smithy-go/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/smithy-go
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>
2023-11-07 11:32:47 +00:00
Cian Johnston
4208c30d32
fix(coderd/rbac): allow user admin all perms on ResourceUserData ( #10556 )
2023-11-07 08:54:12 +00:00
Dean Sheather
f84485d2c4
chore: add timezone to quiet hours display message in UI ( #10538 )
2023-11-07 08:36:11 +00:00
Spike Curtis
c87deb868b
fix: upgrade tailscale to fix STUN probes on dual stack ( #10535 )
...
Fixes STUN probe issues on dual stack systems by incorporating https://github.com/coder/tailscale/pull/43
2023-11-07 08:48:27 +04:00
Bruno Quaresma
14925e71a7
refactor(site): add version back to workspace header ( #10552 )
2023-11-06 13:46:16 -05:00
Bruno Quaresma
a9797fa391
refactor(site): improve templates empty state ( #10518 )
2023-11-06 12:24:45 -05:00
dependabot[bot]
e976f50415
ci: bump the github-actions group with 2 updates ( #10537 )
...
Bumps the github-actions group with 2 updates: [crate-ci/typos](https://github.com/crate-ci/typos ) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ).
Updates `crate-ci/typos` from 1.16.21 to 1.16.22
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.21...v1.16.22 )
Updates `aquasecurity/trivy-action` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/b77b85c0254bba6789e787844f0585cde1e56320...f78e9ecf42a1271402d4f484518b9313235990e1 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 11:20:25 -06:00
dependabot[bot]
ee15adda4b
chore: bump ts-proto from 1.162.2 to 1.163.0 in /site ( #10541 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.162.2 to 1.163.0.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.162.2...v1.163.0 )
---
updated-dependencies:
- dependency-name: ts-proto
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>
2023-11-06 11:20:11 -06:00