Jon Ayers
1372bf82f5
chore: revert "chore: remove workspace_actions experiment ( #10030 )" ( #10363 )
2023-10-20 13:21:53 -05:00
Asher
57c9d88703
chore(site): remove terminal xservice ( #10234 )
...
* Remove terminalXService
This is a prelude to the change I actually want to make, which is to
send the size of the terminal on the web socket URL after we do a fit.
I have found xstate so confusing that it was easier to just rewrite it.
* Fix hanging tests
I am not really sure what ws.connected is doing but it seems to somehow
block updates. Something to do with `act()` maybe?
Basically, the useEffect creating the terminal never updates once the
config query finishes, so the web socket is never created, and the test
hangs forever.
It might have been working before only because the web socket was
created using xstate rather than useEffect and once it connected it
would unblock and React could update again but this is just a guess.
* Ignore other config changes
The terminal only cares about the renderer specifically, no need to
recreate the terminal if something else changes.
* Break out port forward URL open to util
Felt like this could be broken out to reduce the component size. Also
trying to figure out why it is causing the terminal to create multiple
times.
* Prevent handleWebLink change from recreating terminal
Depending on the timing, handleWebLink was causing the terminal to get
recreated. We only need to create the terminal once unless the render
type changes.
Recreating the terminal was also recreating the web socket pointlessly.
2023-10-20 10:18:17 -08:00
Muhammad Atif Ali
5ebb702e00
chore: add OIDC provider logos ( #10365 )
...
* chore: add OIDC provider logos
* Add files via upload
* fmt
2023-10-20 19:30:05 +03:00
Eric Paulsen
9dbc913798
fix: additional cluster SA, role names ( #10366 )
2023-10-20 11:44:16 -04:00
Kira Pilot
ed5567ba28
fix: show dormant and suspended users in groups ( #10333 )
...
* fix: show dormant and suspended users in groups
* added status column
2023-10-20 11:36:00 -04:00
Bruno Quaresma
ac322724b0
chore(site): replace custom LoadingButton from the one in MUI ( #10351 )
2023-10-20 09:57:27 -03:00
Bruno Quaresma
3d9bfdd5dc
chore(site): remove update check service ( #10355 )
2023-10-20 09:41:34 -03:00
Bruno Quaresma
1ba5169109
chore(site): remove search users and groups xservice ( #10353 )
2023-10-20 09:33:07 -03:00
Jon Ayers
d33526108f
feat: add frontend support for mandating active template version ( #10338 )
2023-10-19 18:21:52 -05:00
Jon Ayers
f5f150d568
feat: add cli support for --require-active-version ( #10337 )
2023-10-19 17:16:15 -05:00
Ammar Bandukwala
b799014832
docs: rework telemetry doc and add CLI warning ( #10354 )
2023-10-19 15:50:20 -05:00
Kira Pilot
9c9319f81e
fix: resolve User is not unauthenticated error seen on logout ( #10349 )
...
* fix: do not cache getAuthenticatedUser call
* use initialQuery, add back meta tag for initial load of users
* lift initialUserData
2023-10-19 14:50:53 -04:00
Michael Smith
ab2904a676
feat: add user groups column to users table ( #10284 )
...
* refactor: extract UserRoleCell into separate component
* wip: add placeholder Groups column
* fix: remove redundant css styles
* refactor: update EditRolesButton to use Sets to detect selections
* wip: commit progress for updated roles column
* wip: commit current role pill progress
* fix: update state sync logic
* chore: add groupsByUserId query options factory
* fix: update return value of select function
* chore: drill groups data down to cell component
* wip: commit current cell progress
* fix: remove redundant classes
* wip: commit current styling progress
* fix: update line height for CTA
* fix: update spacing
* chore: add tooltip for Groups column header
* fix: remove tsbuild file
* refactor: consolidate tooltip components
* fix: update font size defaults inside theme
* fix: expand hoverable/clickable area of groups cell
* fix: remove possible undefined cases from HelpTooltip
* chore: add popover functionality to groups
* wip: commit progress on groups tooltip
* fix: remove zero-height group name visual bug
* feat: get basic version of user group tooltips done
* perf: move sort order callback outside loop
* fix: update spacing for tooltip
* feat: make popovers entirely hover-based
* fix: disable scroll locking for popover
* docs: add comments explaining some pitfalls with Popover component
* refactor: simplify userRoleCell implementation
* feat: complete main feature
* fix: prevent scroll lock for role tooltips
* fix: change import to type import
* refactor: simplify how groups are clustered
* refactor: update UserRoleCell to use Popover
* refactor: remove unnecessary fragment
* chore: add id/aria support for Popover
* refactor: update UserGroupsCell to use Popover
* chore: redo visual design for UserGroupsCell
* fix: shrink UserGroupsCell text
* fix: update UsersTable test to include groups info
2023-10-19 14:31:48 -04:00
Bruno Quaresma
557adab224
chore(site): remove template ACL XService ( #10332 )
2023-10-19 14:59:08 -03:00
dependabot[bot]
21f87313bd
chore: bump github.com/aws/smithy-go from 1.14.2 to 1.15.0 ( #10282 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 16:08:56 +03:00
Muhammad Atif Ali
42c21d400f
fix(docs): update external-auth docs to use coder_external_auth ( #10347 )
2023-10-19 12:30:48 +00:00
Bruno Quaresma
f677c4470b
chore(site): add custom popover component ( #10319 )
2023-10-19 09:13:21 -03:00
Bruno Quaresma
b8c7b56fda
fix(site): fix tabs in the template layout ( #10334 )
2023-10-19 09:12:41 -03:00
Marcin Tojek
c4f590581e
feat: expose template insights as Prometheus metrics ( #10325 )
2023-10-19 08:45:12 +00:00
Jon Ayers
997493d4ae
feat: add template setting to require active template version ( #10277 )
2023-10-18 17:07:21 -05:00
Colin Adler
1ad998ee3a
fix: add requester IP to workspace build audit logs ( #10242 )
2023-10-18 15:08:02 -05:00
Colin Adler
504cedf15a
feat: add telemetry for external provisioners ( #10322 )
2023-10-18 14:20:30 -05:00
Mathias Fredriksson
9b73020f11
ci(.github): set DataDog upload timeout ( #10328 )
2023-10-18 20:07:52 +03:00
Bruno Quaresma
c93fe8ddbe
chore(site): remove template version machine ( #10315 )
2023-10-18 09:18:03 -03:00
Muhammad Atif Ali
fe05fd1e6e
docs: update vscode web docs ( #10327 )
2023-10-18 12:13:44 +00:00
Kayla Washburn
2b5e02f5b2
refactor: improve e2e test reporting ( #10304 )
2023-10-17 16:11:42 -06:00
Muhammad Atif Ali
ab456276dc
docs: add v2.3.1 changelog ( #10313 )
...
* add v2.3.1 changelog
* fmt
* explain
* simplify
* update
* simplify
* cleanup
* refresh
* update
* cleanup and fmt
* Update v2.3.1.md
cleanup
* add new commits
---------
Co-authored-by: Ben <me@bpmct.net >
2023-10-17 21:45:38 +00:00
Eric Paulsen
09d995c8dc
fix: set K8s deployment strategy to Recreate ( #10321 )
2023-10-17 21:06:35 +00:00
Kayla Washburn
619df23ad1
chore: fix linting issues and generated files ( #10317 )
2023-10-17 14:41:35 -06:00
Muhammad Atif Ali
492da15890
chore: delete filebrowser.db ( #10320 )
2023-10-17 18:59:35 +00:00
Kira Pilot
1656249e07
feat: add all safe experiments to the deployment page ( #10276 )
...
* added new option table type for experiments
* added tests
* fixed go tests
* added go test for new param
* removing query change
* clearing ExperimentsAll
* dont mutate ExperimentsAll
* added new route for safe experiments
* added new route for safe experiments
* added test for new route
* PR feedback
* altered design
* alias children
2023-10-17 14:49:19 -04:00
Bruno Quaresma
35f9e2ef7f
refactor(site): refactor create workspace button ( #10303 )
2023-10-17 13:31:51 -03:00
Michael Smith
0f2d4fdb6d
fix: prevent metadata queries from short-circuiting ( #10312 )
...
* fix: prevent metadata queries from short-circuiting
* fix: use correct type definitions
2023-10-17 10:20:56 -06:00
Mathias Fredriksson
8f39ec5cc3
fix(scaletest/templates): fix bugs and improve debugging ( #10316 )
2023-10-17 15:18:49 +00:00
Kayla Washburn
2f4ca0f566
chore: use emotion for styling (pt. 6) ( #10298 )
2023-10-17 09:14:13 -06:00
Muhammad Atif Ali
a49e6b88f9
docs: reorganize template docs ( #10297 )
...
* docs: rework our "templates" section
* wikistuff
* fix formatting
* add diagram
* reorganize some things
* docs: improve workspaces and templates doc (#9139 )
* Reorg, updated/new screenshots, consistent terminology
* First pass
* Another pass
* Added integration section
* New outline for template pages, small updates
* Revised outline for templates, added tutorial
* First pass at tutorial
* Some feedback from Ben.
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/workspaces.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Fixed typos
* Expanded tutorial
I have read the CLA Document and I hereby sign the CLA
* New screenshots, improved tutorial, revised anatomy
* Improved tutorial. Anatomy is now a guided tour.
* First pass at guided tour
* Updated authentication info
* Reorganized the guided tour
* Edited more template pages
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tutorial.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Update docs/templates/tour.md
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
* Revised devcontainers and docker-in-workspaces
* Edited and added screenshots
* Prepared first draft, except docs/templates/open-in-coder.md
* Fix typo
* remove legacy parameters and migration guide
* Use coder templates create
* Added screenshot for workspace template variables
* Made it prettier
* Fixed minor typos and markdown problems
* edits to repairing workspaces
* fix broken links in product
* Added troubleshooting, minor corrections.
* fix terminal links
* fmt
---------
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
Co-authored-by: Ben Potter <me@bpmct.net >
Co-authored-by: Atif Ali <atif@coder.com >
* make fmt
* fix merge conflict
* make fmt
* make gen
* update
* lint
* Discard changes to coderd/database/queries.sql.go
* Discard changes to cli/templates.go
* Discard changes to cli/templateversionarchive.go
* Discard changes to cli/templateversions.go
* Update docker-in-workspaces.md
* replace ```sh with ```shell
* open-in-coder
* fmt
* mention coder_metadata in icons.md
* resource_metadata
* use shell
* modules.md
* mention coder registry module
* workspace.md
* resource_metadata
* remove duplication
* address comments
* cleanup
* fmt
* fix broken links
* fix numbering
* mention module registry
* add example
* demote heading
* remove top level entry from manifest
* fmt
---------
Co-authored-by: Ben <me@bpmct.net >
Co-authored-by: Marc Paquette <22124737+marcpaq@users.noreply.github.com >
2023-10-17 14:47:12 +00:00
dependabot[bot]
b5e5b39de2
chore: bump @babel/traverse from 7.22.8 to 7.23.2 in /offlinedocs ( #10294 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 23:39:04 +03:00
dependabot[bot]
2acf195b13
chore: bump @babel/traverse from 7.22.11 to 7.23.2 in /site ( #10295 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 23:38:51 +03:00
Kayla Washburn
eaea918a59
chore: use emotion for styling (pt. 5) ( #10261 )
2023-10-16 12:41:15 -06:00
Bruno Quaresma
4240200b5d
fix(site): fix state used to check if creating was loading ( #10296 )
2023-10-16 15:53:50 +00:00
Mathias Fredriksson
43f26dfec5
feat(scaletest/templates): run all scenarios even on failure ( #10290 )
...
We now also end all failed phases and add the `error` tag in Grafana.
2023-10-16 18:18:05 +03:00
Ben Potter
9a0aac88e0
chore: fix broken links in docs ( #10291 )
...
https://github.com/coder/coder/actions/runs/6531396781/job/17732557812
2023-10-16 14:29:53 +00:00
Steven Masley
6ebe9b0402
feat: add UI for autostart workspace days ( #10263 )
...
* feat: add ui for selecting auto start days
2023-10-16 09:29:42 -05:00
Steven Masley
5a90228c60
feat: fix 404 on the first app loads when unauthenticated ( #10262 )
...
* feat: fix 404 on the first app loads when unauthenticated
* Update site/src/pages/LoginPage/LoginPage.tsx
2023-10-16 09:29:25 -05:00
Mathias Fredriksson
8ffe0e22b6
feat(scaletest/templates): gather pod logs at the end of a scale test ( #10288 )
2023-10-16 13:50:04 +00:00
Bruno Quaresma
8efa1239e7
fix(site): do not return next page if the current size is lower than the limit ( #10287 )
2023-10-16 13:39:48 +00:00
Mathias Fredriksson
3c49290dd7
feat(scaletest/templates): add comment parameter ( #10285 )
2023-10-16 13:28:23 +00:00
Cian Johnston
6875faf238
fix(coderd/provisionerdserver): pass through api ctx to provisionerdserver ( #10259 )
...
Passes through coderd API ctx to provisionerd server so we can cancel workspace updates when API is shutting down.
2023-10-16 13:50:07 +01:00
Bruno Quaresma
01792f064e
fix(site): display empty component when workspace has no parameters ( #10286 )
2023-10-16 09:49:53 -03:00
Bruno Quaresma
f64b9cab90
feat(site): decrease the number of statuses in the workspaces filter ( #10283 )
2023-10-16 12:46:06 +00:00
Mathias Fredriksson
493e2bd2ac
feat(scaletest/templates): add repo branch parameter ( #10279 )
2023-10-16 12:25:32 +00:00
Cian Johnston
dd86100f33
fix(scaletest): fix flake in Test_Runner/Cleanup ( #10252 )
...
* fix(scaletest/createworkspaces): address flake in Test_Runner/CleanupPendingBuild
* fix(scaletest): pass io.Writer to Cleanup()
* add some extra logs to workspacebuild cleanup
* fixup! fix(scaletest): pass io.Writer to Cleanup()
* remove race
* fmt
* address PR comments
2023-10-16 12:37:12 +01:00
Cian Johnston
1be24dcb5c
feat(helm/provisioner): add extraTemplates ( #10256 )
...
Adds support for extraTemplates to the coder-provisioner chart to bring it in line with the coder chart.
2023-10-16 12:17:05 +01:00
Stephen Kirby
2029543eba
chore(site): clarify autostop description ( #10260 )
...
* updated autostop description based on customer request
* edited for specificity
* make fmt
2023-10-13 12:24:37 -05:00
Steven Masley
39c0539d42
feat: add controls to template for determining startup days ( #10226 )
...
* feat: template controls which days can autostart
* Add unit test to test blocking autostart with DaysOfWeek
2023-10-13 11:57:18 -05:00
Ammar Bandukwala
98b6c8bcb0
chore(coderd): report full license in telemetry ( #10258 )
...
Will aid in cross-referencing deployments to sales accounts.
2023-10-13 11:43:06 -05:00
Kayla Washburn
cbc0c39792
fix: display health alert in DeploymentBannerView ( #10193 )
2023-10-13 10:39:20 -06:00
Muhammad Atif Ali
def980b973
chore(docs): fix syntax highlighting ( #10247 )
...
Due to some reason, our docs are not rendering syntax highlighting when the code block type is 'terraform'. Changing the type to `hcl` fixes this.
2023-10-13 18:50:24 +03:00
Mathias Fredriksson
76c65b1e1b
fix(agent): send metadata in batches ( #10225 )
...
Fixes #9782
---
I recommend reviewing with ignore whitespace.
2023-10-13 17:48:25 +03:00
Mathias Fredriksson
4857d4bd55
feat(codersdk/agentsdk): use new agent metadata batch endpoint ( #10224 )
...
Part of #9782
2023-10-13 17:32:28 +03:00
Mathias Fredriksson
7eeba15d16
feat(coderd): add support for sending batched agent metadata ( #10223 )
...
Part of #9782
2023-10-13 16:37:55 +03:00
dependabot[bot]
1b1ab97c24
chore: bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ( #10248 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 13:27:22 +00:00
dependabot[bot]
13036dd088
chore: bump google.golang.org/api from 0.145.0 to 0.147.0 ( #10249 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:17:35 +03:00
dependabot[bot]
ab7dd24d97
ci: bump the github-actions group with 2 updates ( #10250 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:17:21 +03:00
Cian Johnston
d56f49f619
fix(coderd): make activitybump aware of default template ttl ( #10253 )
...
The refactored ActivityBump query did not take into account the
template-level TTL, resulting in potentially incorrect bump
amounts for workspaces that have both a user-defined and template-
defined TTL that differ.
This change is ported over from PR#10035 to reduce the overall
size of that PR.
Also includes a drive-by unit test in autobuild for checking template autostop/TTL.
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-10-13 13:53:02 +01:00
Marcin Tojek
2a4ac2a53c
feat: expose user seat limits as Prometheus metrics ( #10169 )
2023-10-13 08:10:16 +00:00
Eric Paulsen
570f963aea
clarify external auth regex ( #10243 )
...
* docs: clarify external auth regex
* cleanup
2023-10-13 04:27:12 +00:00
Kayla Washburn
5fc9ff29d1
docs: mention /icons in the template documentation ( #10230 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-10-12 15:32:23 -06:00
Steven Masley
88605b9d01
chore: add display name to member role ( #10239 )
...
* chore: add display name to member role
* Do not let member role be assignable
* Ignore org member role for assignability atm
2023-10-12 10:52:32 -05:00
Cian Johnston
e5198a25a6
feat(scaletest): annotate scaletest pod when scaletest is in progress ( #10235 )
...
This PR modifies the scaletest-runner template to add a pod annotation to the scaletest runner pod.
The annotation key is set to com.coder.scaletest.phase and the annotation value is one of preparing, running, or complete.
This will allow checking if a scaletest is in progress, and preventing any operations that would interrupt a running scaletest.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-10-12 14:36:15 +01:00
Mathias Fredriksson
782c22a293
test(coderd/database/dbtestutil): allow access to *sql.DB ( #10238 )
2023-10-12 15:07:16 +03:00
Mathias Fredriksson
7df40b85f2
chore(coderd/coderdtest): use testing.TB for use in benchmarks ( #10237 )
2023-10-12 15:03:16 +03:00
Cian Johnston
1e75762cb4
fix(cli): scaletest: create-worksapces: remove invalid character for kubernetes provider in implicit plan ( #10228 )
2023-10-12 09:21:40 +01:00
Muhammad Atif Ali
3adf86b608
chore(dogfood): use coder_extrenal_auth over deprecated coder_git_auth ( #10208 )
...
@kylecarbs does this need any changes on the Coder server?
For example adopting to the new `CODER_EXTERNAL_AUTH_X` variables?
2023-10-12 10:30:00 +03:00
dependabot[bot]
5f0457f160
chore: bump golang.org/x/net from 0.16.0 to 0.17.0 ( #10232 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 21:43:59 -05:00
Michael Smith
9bf3b35bbf
fix: update create workspace button to recognize template names+display names ( #10233 )
...
* fix: only used 'unnamed' as a last resort for templates
* fix: update filter logic to read from name field
2023-10-12 00:23:45 +00:00
Kayla Washburn
6ef1beec13
chore: recrop some icons for more consistent sizing ( #10229 )
2023-10-11 15:59:47 -06:00
Asher
a9077812e2
fix: use UTF-8 encoding with screen ( #10190 )
...
This will make characters like ❯ and ⇣ work, for example.
2023-10-11 13:25:04 -08:00
Asher
a67a5a8105
Prevent terminal being created twice ( #10200 )
...
I missed this in code review.
2023-10-11 12:47:32 -08:00
Bruno Quaresma
301c045aad
chore(site): remove create workspace xservice ( #10217 )
...
* Move xstate transitions to provider
* Centrlize auth logic in the provider
* Remove actor
* Remove auth xservice
* Add loader while AuthProvider is loading
* Simplify and fix a few computed states
* Add a few replaces
* Fix logout
* Remove unused import
* Fix RequireAuth test
* Fix wait loader
* Fix tests
* Remove unecessary type
* Rename workspace queries module
* Remove auto create from workspace xservice
* Move external auth into its own hook
* Remove permissions fetching from templateByName query
* Remove form load from service
* Remove create workspace service entirely
* refactor: update workspace automation to use useEffectEvent
---------
Co-authored-by: Parkreiner <michaelsmith@coder.com >
Co-authored-by: Michael Smith <throwawayclover@gmail.com >
2023-10-11 20:42:25 +00:00
Bruno Quaresma
5be4b12378
chore(site): refactor AuthProvider to not use authXService ( #10184 )
...
* Move xstate transitions to provider
* Centrlize auth logic in the provider
* Remove actor
* Remove auth xservice
* Add loader while AuthProvider is loading
* Simplify and fix a few computed states
* Add a few replaces
* Fix logout
* Remove unused import
* Fix RequireAuth test
* Fix wait loader
* Fix tests
* Wrap signout with callback
2023-10-11 16:13:32 -04:00
Kira Pilot
7c6687813d
fix(site): ensure empty string error shows default message ( #10196 )
...
* fix(site): ensure empty string error shows default message
* added test
* added logging
* asserting axios message
* cleanup and add test
2023-10-11 13:54:58 -04:00
Cian Johnston
59ae69b7f2
chore(enterprise/cli): fix test flake in TestServerDBCrypt ( #10222 )
...
* increase randomness in names generated by server dbcrypt
* more randomness
* close PTYs when we are done with them
2023-10-11 17:38:20 +01:00
Ben Potter
04e67836a5
docs: add v2.3.0 changelog ( #10221 )
...
* docs: add v2.3.0 changelog
* mention archive version
2023-10-11 11:05:53 -05:00
Cian Johnston
98a076fb46
chore(pty/ptytest): add sync.Once to close ( #10220 )
2023-10-11 16:47:02 +01:00
Steven Masley
ac623b4717
feat: implement basic archive ui to make archiving failed versions easy ( #10182 )
...
* feat: implement basic archive ui to make archiving failed versions easy.
2023-10-11 15:06:10 +00:00
Steven Masley
1e950fa9a8
feat: archive template versions to hide them from the ui ( #10179 )
...
* api + cli implementation
2023-10-11 09:26:22 -05:00
Bruno Quaresma
edbd51955c
chore(site): fix inconsistent fetching results on tests ( #10215 )
2023-10-11 11:17:56 -03:00
Colin Adler
43fa4349d6
chore: move single_tailnet experiment to * ( #10188 )
2023-10-11 08:50:45 -05:00
Mathias Fredriksson
a2cd6640f3
fix(codersdk/agentsdk): improve ctx cancel in agent logs flush, fix test ( #10214 )
...
Fixes #9719
Related #9865
2023-10-11 12:42:30 +00:00
Marcin Tojek
a1ee4d44aa
fix: test: TestSSH_RemoteForward wait for startup script ( #10211 )
2023-10-11 14:17:04 +02:00
Cian Johnston
e829cbf2db
fix(scaletest/dashboard): fix early exit due to validate ( #10212 )
2023-10-11 11:51:06 +00:00
Cian Johnston
ed8092c83d
fix(scaletest/createworkspaces): address race condition between agent closer and cleanup ( #10210 )
2023-10-11 12:10:51 +01:00
Cian Johnston
b3471bd23a
fix(scaletest/dashboard): increase viewport size and handle deadlines ( #10197 )
...
- Set viewport size to avoid responsive mode
- Added way more debug logging
- Added facility to write a screenshot on error in verbose mode.
- Added a deadline for each iteraction of clicking on and waiting for a thing.
2023-10-11 11:10:08 +01:00
Cian Johnston
dc117051e6
chore(docs): update admin/scale.md ( #10168 )
2023-10-11 09:40:43 +01:00
Muhammad Atif Ali
fafecbd9b3
fix(dogfood): fix slackme module source ( #10207 )
...
This was pinned to the branch ref and is no more needed after the branch has been merged.
2023-10-11 08:29:25 +00:00
Spike Curtis
3c43216e99
fix: remove Parallel() call after timeout context ( #10203 )
...
Fixes test flake seen here: https://github.com/coder/coder/runs/17562370632
It's inherently flaky to create a context with a timeout and then later call `t.Parallel()` since it causes the test to wait until all non-parallel tests have completed before resuming execution. By the time execution has resumed, the context may
have expired. The amount of time before resuming is dependent on machine resources and number of test cases, which are inherently variable.
2023-10-11 11:39:15 +04:00
Jon Ayers
4452a1484d
fix: fix log spam related to skipping custom nice scores ( #10206 )
2023-10-11 02:32:50 -05:00
Spike Curtis
7c71053eab
fix: stop leaking User into API handlers unless authorized
...
Fixes an issue where we extracted the `{user}` parameter from the URL and added it to the API Handler context regardless of whether the caller had permission to read the User.
2023-10-11 09:41:14 +04:00
Spike Curtis
fbabb43cbb
fix: ignore spurious node updates while waiting for errors ( #10175 )
...
fixes #9921
2023-10-11 09:22:20 +04:00
Kyle Carberry
b0d2828f9e
fix: append external auth env vars ( #10201 )
2023-10-11 05:17:08 +00:00
Jon Ayers
ec9b480ac0
fix: use is-dormant instead of dormant_at ( #10191 )
2023-10-10 19:00:09 -05:00
Kyle Carberry
652e1a7d43
feat: add slackme module to dogfood ( #10198 )
2023-10-10 22:46:47 +00:00
Dean Sheather
e7d9b8d858
feat: allow prefixes at the beginning of subdomain app hostnames ( #10150 )
2023-10-10 20:02:39 +00:00
Dean Sheather
f48bc33e00
chore: remove cron schedule from quiet hours schedule page ( #10187 )
2023-10-10 19:55:28 +00:00
Jon Ayers
91555c3a85
feat: support configurable web terminal rendering ( #10095 )
...
* feat: support configurable web terminal rendering
- Added a deployment option for configuring web terminal rendering.
Valid values are 'webgl', 'canvas', and 'dom'.
2023-10-10 13:18:02 -05:00
Jon Ayers
05a393cd06
feat: only display license warnings to privileged users ( #10096 )
2023-10-10 12:48:51 -05:00
Colin Adler
7e6b549170
chore: upgrade Terraform to 1.5.7 ( #10186 )
2023-10-10 12:46:59 -05:00
Colin Adler
21e0d540dc
chore: upgrade Go to 1.20.10
...
https://groups.google.com/g/golang-announce/c/iNNxDTCjZvo/m/UDd7VKQuAAAJ?utm_medium=email&utm_source=footer
2023-10-10 12:23:54 -05:00
Kayla Washburn
7ea58eac18
chore: use emotion for styling (pt. 4) ( #10149 )
2023-10-10 10:46:45 -06:00
Colin Adler
00589d6422
chore: fix lint failures
2023-10-10 11:26:53 -05:00
Steven Masley
69d13f1676
chore: add archive column to template versions ( #10178 )
...
* chore: add archive column to template versions
2023-10-10 10:52:42 -05:00
Colin Adler
c11f241622
feat: add --version flag to coder templates pull, default to active version ( #10153 )
...
Fixes https://github.com/coder/coder/issues/9837
2023-10-10 10:20:31 -05:00
Cian Johnston
2506415def
chore(scaletest/templates/scaletest-runner): fix dashboard command invocation, autoscale provisioners ( #10177 )
...
add --retries on kubectl cp
remove --count parameter to scaletest dashboard
scale provisioners up and down
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-10-10 15:33:55 +01:00
Spike Curtis
db8592fa93
chore: refactor workspace conversion to accept ownerName ( #10171 )
...
Refactors workspace conversion to accept the ownerName, rather than a slice of users, since all it does is search the slice for the owner and use the username.
This is in preparation for a fix to `postWorkspacesByOrganization()` that will remove the need to pass the user object.
Also avoids panicing if the required user is not in the slice, since `findUser` could return nil in the old code, which would then get dereferenced for the username.
2023-10-10 16:55:28 +04:00
Bruno Quaresma
19400d6794
fix(site): fix week range for insights ( #10173 )
2023-10-10 09:33:46 -03:00
Spike Curtis
b780bff429
chore: drop unused redirectToLoginOnMe parameter ( #10164 )
...
The parameter seems to be vestigial from an earlier use of the middleware, but is always set to `false` in the code.
2023-10-10 16:13:00 +04:00
Michael Smith
5ae6cda89f
feat: add warning message when trying to delete active template ( #10142 )
...
* refactor: clean up TemplatePageHeader
* chore: add react query configs for workspace lists
* feat: add delete-intercept functionality
* refactor: improve readability
* refactor: rename entities for readability/accuracy
* refactor: clean up variable names again
* refactor: remove redudant function calls
* fix: update logic check for safe deletions
* fix: update workspaces query logic
* fix: update call site for workspaces key
2023-10-10 08:04:54 -04:00
Spike Curtis
78b9201b31
chore: move AsSystemRestricted to caller ( #10163 )
...
Moves escalation to SystemRestricted out of the function that queries the database for the User. This is in prepartion for a refactor such that we don't need SystemRestricted in `ExtractUserParam` middleware.
2023-10-10 15:57:51 +04:00
Spike Curtis
8a47262faf
fix: ignore logged errors in TestWorkspaceAgent/Timeout
...
fixes #10167
Annoyingly, there isn't a good way to stop the publish from being sent on shutdown, and subscribing to them in the test is too fragile because empty messages are sent in a bunch of places, so we can't reliably tell it's regarding timeouts.
2023-10-10 15:45:47 +04:00
Spike Curtis
a0485c00ac
chore: refactor ExtractUserParam to call function
...
Refactors `ExtractUserParam` to separate the part that actually obtains the user from the database and the part that sets it on the middleware context. This is in preparation for further refactor that removes `ExtractUserParam` middleware from
`organizations/{organization}/members/{user}` paths.
2023-10-10 15:00:53 +04:00
Cian Johnston
c83af5e627
chore(cli): add linter to detect potential spurious usage of owner user in cli tests ( #10133 )
...
* Detects the following pattern where the CLI is initialized with a client authenticated as the "first user":
client := coderdtest.New(t, ...)
[...]
user := coderdtest.CreateFirstUser(t, client)
[...]
clitest.SetupConfig(t, client, root)
* Updates documentation regarding role permissions on workspaces.
2023-10-10 11:14:20 +01:00
dependabot[bot]
017d7e9dad
chore: bump github.com/prometheus/client_model to 0.5.0 ( #10129 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 12:33:32 +03:00
Spike Curtis
211718f95a
fix: fix MaliciousTar test case ( #10158 )
...
fixes #9895
Problem was that provisionerd tries to acquire the next job, and races with shutdown, triggering the assert in the handler. Switches this test case to use the more robust handler.
2023-10-10 13:24:43 +04:00
Marcin Tojek
f36fba2486
fix: revert: use CRC32 to shorten app subdomain
...
This reverts commit 0e28397c82 .
2023-10-10 18:12:46 +10:00
Spike Curtis
b039dc6989
fix: correct escaping in test regex ( #10138 )
...
Fixes regex escaping. Spotted during a code read.
2023-10-10 08:42:39 +04:00
Kyle Carberry
9c098b218f
feat: allow external auth providers to expose extra metadata ( #10157 )
2023-10-09 23:02:16 -05:00
Kyle Carberry
3eb9a43190
fix: use query to get external-auth by id ( #10156 )
2023-10-09 22:25:50 -05:00
Kyle Carberry
a61f8ee45c
fix: apply default ExtraTokenKeys to oauth ( #10155 )
2023-10-09 22:11:05 -05:00
Kyle Carberry
863c2e7b64
feat: allow storing extra oauth token properties in the database ( #10152 )
2023-10-09 18:49:30 -05:00
Kyle Carberry
35538e1051
feat: add external-auth cli ( #10052 )
...
* feat: add `external-auth` cli
* Add subcommands
* Improve descriptions
* Add external-auth subcommand
* Fix docs
* Fix gen
* Fix comment
* Fix golden file
2023-10-09 23:04:35 +00:00
Colin Adler
20438ae6c2
chore: run go mod tidy
2023-10-09 15:10:46 -05:00
Kayla Washburn
42fb6cab12
chore: add icons for popular programming languages ( #10141 )
2023-10-09 13:52:06 -06:00
dependabot[bot]
cb3b617ee9
ci: bump the github-actions group with 2 updates ( #10131 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:39:40 +03:00
dependabot[bot]
af63909134
chore: bump google.golang.org/api from 0.143.0 to 0.145.0 ( #10130 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:39:29 +03:00
dependabot[bot]
583d44e60e
chore: bump the golang-x group with 6 updates ( #10128 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:39:13 +03:00
Kayla Washburn
1cdc62b332
chore: reorganize storybook ( #10144 )
2023-10-09 13:26:38 -06:00
Kyle Carberry
54648b90ca
fix: properly trim spaces so multi-line shebang executes ( #10146 )
2023-10-09 19:19:57 +00:00
Colin Adler
3bbfcc593e
feat: add request_id to HTTP trace spans ( #10145 )
2023-10-09 14:05:10 -05:00
Muhammad Atif Ali
2881b8b252
chore: add vault icon ( #10125 )
2023-10-09 18:25:07 +00:00
Spike Curtis
b9c7bc4d3c
fix: check for nil pointer in AwaitWorkspaceAgents
...
CompletedAt is a pointer and can be nil, need to check before calling IsZero() on it
c.f. https://github.com/coder/coder/runs/17534657301
2023-10-09 22:12:28 +04:00
Bruno Quaresma
584a2e87c9
chore(site): remove create template xservice ( #10112 )
2023-10-09 14:10:48 -03:00
Spike Curtis
54fd350913
feat: improve logging for speedtest connections
...
part of #7963
improve connection logging for speedtest connections
2023-10-09 20:48:28 +04:00
Colin Adler
9e622d00a6
feat(cli): add coder users delete command ( #10115 )
2023-10-09 11:47:57 -05:00
Spike Curtis
24c80bf532
fix: remove AwaitWorkspaceAgents in goroutines
...
AwaitWorkspaceAgent calls testify.require which isn't allowed from a goroutine and causes cascading failures in the test suite such as: https://github.com/coder/coder/actions/runs/6458768855/job/17533163316
I don't believe these functions serve a direct purpose since nothing else is "waiting" for the functions to return before doing other things.
2023-10-09 20:37:23 +04:00
Spike Curtis
17e889af16
feat: improve logging for reconnectingPTY connections
...
part of #7963
improves connection logging on reconnectingPTY
2023-10-09 20:35:50 +04:00
Kyle Carberry
b402f2a816
feat: add shebang support to scripts ( #10134 )
...
This enables much greater portability!
2023-10-09 10:57:57 -05:00
Kayla Washburn
17869ecb74
feat: select icons from emoji picker ( #10119 )
2023-10-09 09:50:24 -06:00
Kayla Washburn
bda68b143a
feat: add /icons page ( #10093 )
2023-10-09 09:49:26 -06:00
Spike Curtis
236e84c4d6
feat: add logging for forwarded TCP connections
...
part of #7963
log TCP connections as they are forwarded by gVisor
2023-10-09 19:41:26 +04:00
Kira Pilot
791144ddfd
feat(site): disable rich parameters when using open in coder ( #10114 )
...
* feat(site): disable rich parameters when using open in coder
* updated docs
* chore(site): increase refetch interval for deployment health
* Revert "chore(site): increase refetch interval for deployment health"
This reverts commit 8e642be3fb .
2023-10-09 09:47:22 -04:00
Cian Johnston
5673aca408
feat(cli): add --parameter flag to exp scaletest command ( #10132 )
2023-10-09 14:08:24 +01:00
Marcin Tojek
c6cf719f6c
feat: show user limit on active users chart ( #10101 )
2023-10-09 13:38:41 +02:00
Michael Smith
38bb854c8b
fix: update ErrorDialog logic and tests ( #10111 )
...
* fix: make error text less naggy
* fix: make input colors sync with confirmation text state
* fix: more color sync fixes
* fix: remove flaky warning messages in test
* fix: remove needless braces
* refactor: clean up code
* refactor: clean up code more
2023-10-06 19:40:37 -04:00
Kayla Washburn
ae113179b3
chore: alias react-query ( #10118 )
2023-10-06 17:15:03 -06:00
Kira Pilot
da47ac87db
chore(site): increase refetch interval for deployment health ( #10117 )
2023-10-06 16:26:46 -04:00
Colin Adler
19dbf19177
fix(coder): properly check for missing organization membership
...
Fixes a possible panic introduced in https://github.com/coder/coder/pull/9781 .
2023-10-06 14:57:21 -05:00
Kayla Washburn
71ad5909f2
chore: add icons.json file ( #10085 )
2023-10-06 13:46:37 -06:00
Colin Adler
36f3151b71
fix(enterprise/tailnet): properly detect legacy agents ( #10083 )
2023-10-06 16:49:26 +00:00
Colin Adler
03a7d2f70b
chore: fix servertailnet test flake ( #10110 )
...
https://github.com/coder/coder/actions/runs/6424100765/job/17444018788?pr=10083#step:5:771
2023-10-06 11:31:53 -05:00
Kyle Carberry
2d2bea79a7
fix: convert the new dashboard theme to be an experiment ( #10108 )
2023-10-06 09:46:52 -05:00
Kyle Carberry
69b65693c9
fix: make the dark mode a bit less dark ( #10107 )
...
We got feedback from our Discord that it was a bit too dark,
so this brightens it up a little!
2023-10-06 14:09:21 +00:00
Kyle Carberry
23425d36a1
fix: invert the favicon on dark mode ( #10097 )
2023-10-06 07:55:11 -05:00
Spike Curtis
983e8c3ae8
feat: add API support for workspace automatic updates ( #10099 )
...
* Added automatic_updates to workspaces table
Signed-off-by: Spike Curtis <spike@coder.com >
* Queries and API updates
Signed-off-by: Spike Curtis <spike@coder.com >
* Golden files
Signed-off-by: Spike Curtis <spike@coder.com >
* Enable automatic updates on autostart
Signed-off-by: Spike Curtis <spike@coder.com >
* db migration number
Signed-off-by: Spike Curtis <spike@coder.com >
* fix imports and ts mock
Signed-off-by: Spike Curtis <spike@coder.com >
* code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-10-06 13:27:12 +04:00
Kyle Carberry
d24d2d2c8d
fix: use proper react hook for favicon theme ( #10094 )
...
I was using `useState` before, which didn't re-render on load.
2023-10-05 18:23:56 -05:00
Bruno Quaresma
127f65c98b
fix(site): fix logo width on sign in ( #10091 )
2023-10-05 17:44:53 -05:00
Kyle Carberry
4ad080c3b9
fix: apply the same border for button groups ( #10092 )
2023-10-05 17:44:45 -05:00
Kyle Carberry
14c8824c83
fix: use proper state in system theme ( #10090 )
2023-10-05 17:32:52 -05:00
Kyle Carberry
fa0a597530
fix: add build status favicons based on system theme ( #10089 )
2023-10-05 22:23:11 +00:00
Kyle Carberry
f270d9d351
feat: make the dashboard darker ( #10084 )
...
* feat: make the dashboard darker
Coder is a the internal software development platform. It is not
designed to be opinionated on colors, but it should look great.
Focusing on neutrality for our default dashboard theme is great
for our ICP. Some organizations may lean towards colors more or
less, and that shouldn't influence their decision when exploring
Coder.
* Make it a lil more dark
* Improve button outline
* Lower the red brightness
* Improve the divider contrast
2023-10-05 16:46:38 -05:00
Bruno Quaresma
04e7748a9b
feat(site): load previous builds ( #10076 )
2023-10-05 18:30:11 -03:00
Kyle Carberry
1eb21d247b
feat: adjust favicon based on system color-scheme ( #10087 )
...
This will still default to light-theme, but support showing
a white favicon when the system-theme is dark.
2023-10-05 16:11:15 -05:00
Bruno Quaresma
a5f8300c76
refactor(site): do not block the screen when disconnected ( #10057 )
...
Close https://github.com/coder/coder/issues/9858
Demo:
https://github.com/coder/coder/assets/3165839/d6d4d2d7-487a-4739-86c9-042242d9820f
2023-10-05 18:06:26 -03:00
Michael Smith
2d6c4fe90a
feat(site): add WorkspacesButton component ( #10011 )
...
* chore: Add OverflowY component
* chore: Add PopoverContainer component
* chore: Add SearchBox
* feat: add WorkspacesButton
* chore: Install MUI utils package
* chore: integrate WorkspacesButton
* chore: reorganize files
* fix: resolve hover state visual glitch
* chore: Add story for OverflowY
* fix: remove dynamic name from OverflowY story
* chore: update stories again
* fix: remove all references to icons (for now)
* refactor: move flex shrink to be OverflowY concern
* fix: remove needless render key
* fix: make sure popover closes before navigation
* refactor: clean up WorkspacesButton to use more native MUI
* fix: update integration into rest of view
* fix: remove JS security concern
* refactor: parameterize button language
* revert: undo sql/go file change
* fix: remove permissions dependency
* fix: simplify button prop types
* fix: lift data dependencies to page component
* refactor: clean up props
* fix: update dependencies again for Storybook
2023-10-05 20:46:42 +00:00
Kyle Carberry
ad47ef17e8
feat: allow reading the agent token from a file ( #10080 )
...
Adds `CODER_AGENT_TOKEN_FILE` which will read the agent token from
a file if `CODER_AGENT_TOKEN` is not provided. Using a Kubernetes
Secret with a volume-mounted file is a more secure way to provide
the agent token instead of an environment variable.
2023-10-05 15:41:05 -05:00
Jon Ayers
eb4826a11f
chore: remove workspace_actions experiment ( #10030 )
2023-10-05 14:18:35 -05:00
Kayla Washburn
3c87c4df1b
feat: show descriptions for parameter options ( #10068 )
2023-10-05 13:14:28 -06:00
Jon Ayers
b32d79ef0b
fix: fix failed workspaces continuously auto-deleting ( #10069 )
...
- Fixes an issue where workspaces that are eligible for auto-deletion
are retried every tick (1 minute) even if the previous deletion
transition failed.
The updated logic only attempts to delete workspaces that previously
failed once a day (24 hours since last attempt).
2023-10-05 14:11:39 -05:00
Jon Ayers
91265678ad
chore: add auditing to workspace dormancy ( #10070 )
...
- Adds an audit log for workspaces automatically transitioned to the dormant
state.
- Imposes a mininum of 1 minute on cleanup-related fields. This is to
prevent accidental API misuse from resulting in catastrophe.
2023-10-05 13:41:07 -05:00
Kyle Carberry
888b97fd86
chore: use JobStatus computed from the db ( #10079 )
...
Fixes `main`
2023-10-05 18:25:06 +00:00
Kayla Washburn
246dae0e1a
chore: use emotion for styling (pt. 3) ( #10026 )
2023-10-05 10:49:44 -06:00
Kayla Washburn
f001a57614
fix: only allow promoting successful template versions ( #9998 )
2023-10-05 10:49:25 -06:00
Mathias Fredriksson
48ee80a559
fix(cli): prevent sqlDB leaks in ConnectToPostgres ( #10072 )
2023-10-05 17:57:48 +03:00
Mathias Fredriksson
5d5a7da67f
fix(scaletest): output error and trace instead of {} for json output ( #10075 )
2023-10-05 13:31:54 +00:00
Marcin Tojek
ab9276bd08
feat: modify workspace_agent_stats index ( #10073 )
2023-10-05 14:49:08 +02:00
Colin Adler
30440915bc
chore: add mod replace wireguard-go to fix race condition ( #10071 )
...
Fixes https://github.com/coder/coder/issues/10045
2023-10-04 23:47:01 -05:00
Steven Masley
5021e23105
chore: compute job status as column ( #10024 )
...
* chore: provisioner job status as column
* use provisioner job status for workspace searching
2023-10-04 20:57:46 -05:00
Colin Adler
d5040441aa
fix(site): change utils/delay import path ( #10065 )
2023-10-04 17:15:20 -05:00
Kyle Carberry
df8e10cc4c
chore: increase ForceCancelInterval for test flakes ( #10066 )
...
See https://github.com/coder/coder/actions/runs/6411239320/job/17406394658
2023-10-04 21:16:39 +00:00
Kyle Carberry
bca7416069
fix: add --version flag to the root to support migrating customers ( #10063 )
2023-10-04 15:37:15 -05:00
Jon Ayers
1cd4405caf
fix: change alpha badge color to violet ( #10029 )
...
- Makes it less scary.
2023-10-04 15:20:13 -05:00
Bruno Quaresma
03c377b754
fix(site): fix users page for template admins ( #10060 )
...
Fix https://github.com/coder/coder/issues/10053
2023-10-04 17:05:49 -03:00
Bruno Quaresma
a8ed88b22e
fix(site): fix chart label depending on interval ( #10059 )
...
Close https://github.com/coder/coder/issues/10056
2023-10-04 17:05:29 -03:00
Eric Paulsen
1076d16456
docs: update offline tf provider config ( #10062 )
2023-10-04 15:40:09 -04:00
Kyle Carberry
fd06b7f7a0
fix: allow all environment variables to fallback prefix to HOMEBREW_ ( #10050 )
...
See the customer use-case in the code docs.
2023-10-04 18:57:49 +00:00
Kyle Carberry
252ec14556
fix: update the validation url for github enterprise ( #10061 )
...
This was wrong... not sure why.
2023-10-04 18:49:40 +00:00
Kyle Carberry
7f9b4ad9a8
fix: allow auditors to query deployment stats and insights ( #10058 )
...
This is a customer request.
2023-10-04 18:37:25 +00:00
Bruno Quaresma
516b88dc25
fix(site): disable auto fields when they are disabled in the template settings ( #10022 )
...
- Disable form inputs
- Add disable badge + tooltip with more info
<img width="1679" alt="Screen Shot 2023-10-03 at 14 20 26" src="https://github.com/coder/coder/assets/3165839/7555eb77-19d9-4a13-965e-6d40c3b852dd ">
Fix https://github.com/coder/coder/issues/9820
2023-10-04 15:00:09 -03:00
Ben Potter
46551e619d
docs: add v2.2.1 changelog ( #10055 )
...
* fix external auth link
* chore v2.2.1 changelog
2023-10-04 17:02:14 +00:00
Kyle Carberry
64692f0b69
chore: update docs for external-auth ( #10046 )
2023-10-04 11:38:41 -05:00
Kyle Carberry
defef4671c
fix: silence bash deprecation warning on macOS runners ( #10051 )
...
See https://github.com/coder/coder/actions/runs/6407839577/job/17395535790?pr=10050
2023-10-04 15:36:27 +00:00
Cian Johnston
2c2e98cc39
fix(coderd): fetch workspace agent scripts and log sources using system auth ctx ( #10043 )
...
* add failing unit test
* fetch log sources and agent scripts using system auth ctx
2023-10-04 15:50:51 +01:00
Kyle Carberry
8e44dce5b3
chore: fix external-auth.mp4 docs video ( #10048 )
2023-10-04 14:39:13 +00:00
Bruno Quaresma
6651aff57b
feat(site): add user activity on template insights ( #10013 )
...
Close https://github.com/coder/coder/issues/9497
https://github.com/coder/coder/assets/3165839/941e268c-6c06-47ae-b57d-665e01e804b0
2023-10-04 11:37:47 -03:00
Kyle Carberry
b468415a81
chore: revert docs for git-auth until release ( #10044 )
2023-10-04 14:33:28 +00:00
Bruno Quaresma
5e0cb372b4
fix(site): fix orphan values on insights ( #10036 )
2023-10-04 10:16:59 -03:00
Cian Johnston
2405bbe1b9
fix(coderd/database/dbtestutil): fix typo in pgDump ( #10033 )
2023-10-04 13:21:45 +01:00
Michael Smith
c7218b40c9
docs: update frontend contribution docs ( #10028 )
...
* docs: update frontend contribution docs
* fix: update docs formatting
2023-10-04 08:11:07 -04:00
Colin Adler
4ab52766d2
feat: add --net-admin option to install script ( #9953 )
2023-10-03 23:01:46 +00:00
Colin Adler
39846d69d3
feat: modify agent install script to give CAP_NET_ADMIN if available ( #9908 )
2023-10-03 17:34:29 -05:00
timquinlan
2a19b46ab7
update to gateway offline install docs, 2 typos, 2 command additions ( #10027 )
2023-10-03 17:58:26 -04:00
dependabot[bot]
6322e13046
chore: bump postcss from 8.4.27 to 8.4.31 in /site ( #10019 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 00:28:54 +03:00
Bruno Quaresma
efdbb6f9e6
fix(site): remove 48 week option ( #10025 )
2023-10-03 18:25:03 -03:00
Kayla Washburn
e6aeee2ba2
feat: warn users when renaming workspaces ( #10023 )
2023-10-03 15:04:34 -06:00
dependabot[bot]
4df5c1ddec
chore: bump the alpine image from 3.18.3 to 3.18.4 in Dockerfile.base ( #9993 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 14:09:50 -05:00
Bruno Quaresma
bdb9954f87
feat(site): add support for weekly data on template insights ( #9997 )
...
Close https://github.com/coder/coder/issues/9495
2023-10-03 15:14:11 -03:00
Bruno Quaresma
e7042e601c
fix(site): fix navbar hover ( #10021 )
2023-10-03 14:10:51 -03:00
Kayla Washburn
c194119689
chore: rename AwaitTemplateVersionJobCompleted and AwaitWorkspaceBuildJobCompleted ( #10003 )
2023-10-03 11:02:56 -06:00
Kayla Washburn
4b97ac269b
chore: refactor Pill styles ( #10004 )
2023-10-03 10:47:28 -06:00
Kyle Carberry
5e3bf275da
chore: check for valid regex in git auth configs ( #10020 )
2023-10-03 16:45:07 +00:00
Ammar Bandukwala
70a4e56c01
ci: switch to M1 runners
...
ci: switch to M1 runners
Per
https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/ ,
we should see large performance improvements.
2023-10-03 10:54:20 -05:00
Kyle Carberry
f16eb1331f
chore: update multiple git providers docs ( #10017 )
...
* chore: update multiple git providers docs
* Improve var name
* Fix fmt
2023-10-03 15:27:02 +00:00
Kyle Carberry
eeab33b1c3
fix: do not require client_secret for external auth providers ( #10016 )
...
Device-based auth does not need a client secret.
2023-10-03 14:29:34 +00:00
Cian Johnston
9aac15212b
fix(cli): remove exp scaletest from slim binary ( #9934 )
...
- Removes the `exp scaletest` command from the slim binary
- Updates scaletest-runner template to fetch the full binary from the running Coder instance
2023-10-03 15:13:04 +01:00
Kyle Carberry
45b53c285f
feat: allow external services to be authable ( #9996 )
...
* feat: allow external services to be authable
* Refactor external auth config structure for defaults
* Add support for new config properties
* Change the name of external auth
* Move externalauth -> external-auth
* Run gen
* Fix tests
* Fix MW tests
* Fix git auth redirect
* Fix lint
* Fix name
* Allow any ID
* Fix invalid type test
* Fix e2e tests
* Fix comments
* Fix colors
* Allow accepting any type as string
* Run gen
* Fix href
2023-10-03 14:04:39 +00:00
Marcin Tojek
f62f45a303
feat!: add sections parameter to template insights ( #10010 )
2023-10-03 15:44:50 +02:00
Marcin Tojek
cb60409a8c
feat: add index to workspace_agent_stats ( #10009 )
2023-10-03 11:13:44 +00:00
dependabot[bot]
cc2772c646
chore: bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 ( #9989 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 13:12:06 +03:00
Cian Johnston
e55c25e037
chore: enable exhaustruct linter for database param structs ( #9995 )
2023-10-03 09:23:45 +01:00
Muhammad Atif Ali
352ec7bc4f
chore(dogfood): rename project_directory to folder ( #10008 )
2023-10-03 07:11:58 +00:00
Monika Pawluczuk
4966ef02cf
feat(cli): add reverse tunnelling SSH support for unix sockets ( #9976 )
2023-10-03 16:39:39 +10:00
Muhammad Atif Ali
465546eefd
chore(dogfood): open vscode desktop in coder repo directory ( #9999 )
2023-10-03 08:55:25 +03:00
Eric Paulsen
3980dbd029
docs: add support to enterprise features ( #10005 )
2023-10-02 21:25:05 -05:00
Bruno Quaresma
9e1e365b32
chore(site): remove user search service ( #9939 )
2023-10-02 15:24:28 -03:00
Bruno Quaresma
42e25740eb
chore(site): remove users and pagination services ( #9932 )
2023-10-02 15:10:51 -03:00
Kayla Washburn
885b2502ed
chore: replace <ChooseOne> with alternatives when appropriate ( #9907 )
2023-10-02 10:51:35 -06:00
Kayla Washburn
148fa819ae
chore: use emotion for styling (pt. 2) ( #9951 )
2023-10-02 10:48:11 -06:00
dependabot[bot]
fabcc41a6b
chore: bump @types/node from 18.17.0 to 18.18.1 in /offlinedocs ( #9971 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.17.0 to 18.18.1.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 10:06:59 -05:00
dependabot[bot]
6452008e32
chore: bump github.com/sqlc-dev/pqtype from 0.2.0 to 0.3.0 ( #9991 )
...
Bumps [github.com/sqlc-dev/pqtype](https://github.com/sqlc-dev/pqtype ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/sqlc-dev/pqtype/releases )
- [Commits](https://github.com/sqlc-dev/pqtype/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/sqlc-dev/pqtype
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-10-02 10:06:50 -05:00
dependabot[bot]
f694204773
chore: bump @types/node from 18.17.0 to 18.18.1 in /site ( #9967 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.17.0 to 18.18.1.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 10:38:26 -04:00
dependabot[bot]
0a54506940
chore: bump the otel group with 3 updates ( #9988 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 14:27:21 +00:00
dependabot[bot]
f802fba89e
chore: bump github.com/open-policy-agent/opa from 0.56.0 to 0.57.0 ( #9992 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 14:15:58 +00:00
dependabot[bot]
89c2938b20
chore: bump google.golang.org/api from 0.142.0 to 0.143.0 ( #9990 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 17:02:51 +03:00
dependabot[bot]
06411b8b17
ci: bump the github-actions group with 2 updates ( #9994 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 17:02:41 +03:00
Marcin Tojek
57909e0c72
site(e2e): wait for empty workspaces ( #9987 )
2023-10-02 11:53:44 +00:00
Mathias Fredriksson
4b0565c895
feat(scaletest): add service banner status for runner ( #9945 )
2023-10-02 14:37:38 +03:00
Mathias Fredriksson
e6d2ddb54b
feat(scaletest): add apps to scaletest template ( #9944 )
2023-10-02 14:37:16 +03:00
Muhammad Atif Ali
1a07ee0b16
chore(site): make name bold in delete dialog
...
This makes the name bold in delete dialog and makes it readable.
<img width="439" alt="Screenshot 2023-09-24 at 03 30 55" src="https://github.com/coder/coder/assets/10648092/b97e634b-c7c8-4300-b78c-8091b3f2c9f0 ">
Edit: Tests are passed. thanks @aslilac
2023-10-02 13:57:21 +03:00
Cian Johnston
1c48610d56
feat(scaletest/dashboard): integrate chromedp ( #9927 )
...
* Adds a set of actions to automatically interact with a Coder instance using chromedp
* Integrates the chromedp actions into the scaletest dashboard command,
* Re-enables the previously disabled unit tests for scaletest/dashboard
* Removes previous dashboard actions based around codersdk
2023-10-02 10:40:17 +01:00
Muhammad Atif Ali
1906cc4806
Revert "chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #9965 )" ( #9981 )
...
This reverts commit 81a046e0a9 .
2023-10-02 09:56:35 +02:00
dependabot[bot]
81a046e0a9
chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #9965 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 10:31:56 +03:00
dependabot[bot]
247eeab3c8
chore: bump next from 13.4.12 to 13.5.3 in /offlinedocs ( #9972 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 09:22:15 +03:00
dependabot[bot]
52b16f0622
chore: bump the eslint group in /site with 1 update
...
Bumps the eslint group in /site with 1 update: [eslint](https://github.com/eslint/eslint ).
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases ">eslint's releases</a>.</em></p>
<blockquote>
<h2>v8.50.0</h2>
<h2>Features</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0 "><code>27d5a9e</code></a> feat: add suggestions to array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17590 ">#17590</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f "><code>f9082ff</code></a> feat: flat-rule-tester make sure default config always matches (<a href="https://redirect.github.com/eslint/eslint/issues/17585 ">#17585</a>) (fnx)</li>
<li><a href="https://github.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc "><code>83914ad</code></a> feat: Implement SourceCode#applyInlineConfig() (<a href="https://redirect.github.com/eslint/eslint/issues/17351 ">#17351</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/22a558228ff98f478fa308c9ecde361acc4caf20 "><code>22a5582</code></a> feat: add rule <code>no-object-constructor</code>, deprecate <code>no-new-object</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17576 ">#17576</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/85a3d9e967b19cb4a0189746499d81ef2f93e14e "><code>85a3d9e</code></a> feat: allowVoid option in array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17564 ">#17564</a>) (Tanuj Kanti)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a "><code>cc4d26b</code></a> fix: Ensure deprecated context.parserServices warns (<a href="https://redirect.github.com/eslint/eslint/issues/17593 ">#17593</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b "><code>1ea4cfb</code></a> fix: Ensure all RuleTester tests all deprecated context methods (<a href="https://redirect.github.com/eslint/eslint/issues/17587 ">#17587</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/aa1b657a9febcd03e9298c03ae2888762795e322 "><code>aa1b657</code></a> fix: wrong suggestion and message in <code>no-misleading-character-class</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17571 ">#17571</a>) (Yosuke Ota)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0 "><code>1800537</code></a> docs: Fix and standardize JSX code examples (<a href="https://redirect.github.com/eslint/eslint/issues/17591 ">#17591</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/48a44a73ac456739bdee348bbaf1840d2b1e4830 "><code>48a44a7</code></a> docs: Add correct/incorrect tags to <code>prefer-arrow-callback</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17589 ">#17589</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/20893d48b9012f2b61bbbfeac8bee70d68d90e5e "><code>20893d4</code></a> docs: fix incorrect tag's place (<a href="https://redirect.github.com/eslint/eslint/issues/17575 ">#17575</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/bd7a71fd6b7efb0445393304e2d48c5c06d46a45 "><code>bd7a71f</code></a> docs: Update README (GitHub Actions Bot)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3 "><code>f8a8a2d</code></a> chore: upgrade <code>@eslint/js</code><a href="https://github.com/8 "><code>@8</code></a>.50.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17599 ">#17599</a>) (Milos Djermanovic)</li>
<li><a href="https://github.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce "><code>38ada6d</code></a> chore: package.json update for <code>@eslint/js</code> release (ESLint Jenkins)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md ">eslint's changelog</a>.</em></p>
<blockquote>
<p>v8.50.0 - September 22, 2023</p>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3 "><code>f8a8a2d</code></a> chore: upgrade <code>@eslint/js</code><a href="https://github.com/8 "><code>@8</code></a>.50.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17599 ">#17599</a>) (Milos Djermanovic)</li>
<li><a href="https://github.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce "><code>38ada6d</code></a> chore: package.json update for <code>@eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="https://github.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0 "><code>27d5a9e</code></a> feat: add suggestions to array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17590 ">#17590</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f "><code>f9082ff</code></a> feat: flat-rule-tester make sure default config always matches (<a href="https://redirect.github.com/eslint/eslint/issues/17585 ">#17585</a>) (fnx)</li>
<li><a href="https://github.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc "><code>83914ad</code></a> feat: Implement SourceCode#applyInlineConfig() (<a href="https://redirect.github.com/eslint/eslint/issues/17351 ">#17351</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a "><code>cc4d26b</code></a> fix: Ensure deprecated context.parserServices warns (<a href="https://redirect.github.com/eslint/eslint/issues/17593 ">#17593</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b "><code>1ea4cfb</code></a> fix: Ensure all RuleTester tests all deprecated context methods (<a href="https://redirect.github.com/eslint/eslint/issues/17587 ">#17587</a>) (Nicholas C. Zakas)</li>
<li><a href="https://github.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0 "><code>1800537</code></a> docs: Fix and standardize JSX code examples (<a href="https://redirect.github.com/eslint/eslint/issues/17591 ">#17591</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/22a558228ff98f478fa308c9ecde361acc4caf20 "><code>22a5582</code></a> feat: add rule <code>no-object-constructor</code>, deprecate <code>no-new-object</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17576 ">#17576</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/48a44a73ac456739bdee348bbaf1840d2b1e4830 "><code>48a44a7</code></a> docs: Add correct/incorrect tags to <code>prefer-arrow-callback</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17589 ">#17589</a>) (Francesco Trotta)</li>
<li><a href="https://github.com/eslint/eslint/commit/aa1b657a9febcd03e9298c03ae2888762795e322 "><code>aa1b657</code></a> fix: wrong suggestion and message in <code>no-misleading-character-class</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17571 ">#17571</a>) (Yosuke Ota)</li>
<li><a href="https://github.com/eslint/eslint/commit/20893d48b9012f2b61bbbfeac8bee70d68d90e5e "><code>20893d4</code></a> docs: fix incorrect tag's place (<a href="https://redirect.github.com/eslint/eslint/issues/17575 ">#17575</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/85a3d9e967b19cb4a0189746499d81ef2f93e14e "><code>85a3d9e</code></a> feat: allowVoid option in array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17564 ">#17564</a>) (Tanuj Kanti)</li>
<li><a href="https://github.com/eslint/eslint/commit/bd7a71fd6b7efb0445393304e2d48c5c06d46a45 "><code>bd7a71f</code></a> docs: Update README (GitHub Actions Bot)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/eslint/eslint/commit/299bfae1254f22bd4b3bccd897d6355f63e0d3b6 "><code>299bfae</code></a> 8.50.0</li>
<li><a href="https://github.com/eslint/eslint/commit/212687c36a9e2682b84f5de2b683b025182d9777 "><code>212687c</code></a> Build: changelog update for 8.50.0</li>
<li><a href="https://github.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3 "><code>f8a8a2d</code></a> chore: upgrade <code>@eslint/js</code><a href="https://github.com/8 "><code>@8</code></a>.50.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17599 ">#17599</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce "><code>38ada6d</code></a> chore: package.json update for <code>@eslint/js</code> release</li>
<li><a href="https://github.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0 "><code>27d5a9e</code></a> feat: add suggestions to array-callback-return (<a href="https://redirect.github.com/eslint/eslint/issues/17590 ">#17590</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f "><code>f9082ff</code></a> feat: flat-rule-tester make sure default config always matches (<a href="https://redirect.github.com/eslint/eslint/issues/17585 ">#17585</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc "><code>83914ad</code></a> feat: Implement SourceCode#applyInlineConfig() (<a href="https://redirect.github.com/eslint/eslint/issues/17351 ">#17351</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a "><code>cc4d26b</code></a> fix: Ensure deprecated context.parserServices warns (<a href="https://redirect.github.com/eslint/eslint/issues/17593 ">#17593</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b "><code>1ea4cfb</code></a> fix: Ensure all RuleTester tests all deprecated context methods (<a href="https://redirect.github.com/eslint/eslint/issues/17587 ">#17587</a>)</li>
<li><a href="https://github.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0 "><code>1800537</code></a> docs: Fix and standardize JSX code examples (<a href="https://redirect.github.com/eslint/eslint/issues/17591 ">#17591</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-02 08:53:55 +03:00
dependabot[bot]
8af28717a3
chore: bump eslint from 8.49.0 to 8.50.0 in /offlinedocs ( #9970 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0 )
---
updated-dependencies:
- dependency-name: eslint
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>
2023-10-02 05:46:22 +00:00
dependabot[bot]
d650cf9b8c
chore: bump eslint-config-next from 13.4.10 to 13.5.3 in /offlinedocs ( #9973 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 13.4.10 to 13.5.3.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v13.5.3/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
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>
2023-10-02 08:42:11 +03:00
dependabot[bot]
cac677b4ba
chore: bump @octokit/types from 11.1.0 to 12.0.0 in /site ( #9963 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 11:50:36 +00:00
dependabot[bot]
3dc478ad6b
chore: bump ts-proto from 1.158.0 to 1.159.1 in /site ( #9964 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.158.0 to 1.159.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/stephenh/ts-proto/releases ">ts-proto's releases</a>.</em></p>
<blockquote>
<h2>v1.159.1</h2>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.159.0...v1.159.1 ">1.159.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use a Map when map keys are boolean. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/933 ">#933</a>) (<a href="https://github.com/stephenh/ts-proto/commit/c1253a3761405d7a2ffe4d15f4c3ffb364697a02 ">c1253a3</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/926 ">#926</a></li>
</ul>
<h2>v1.159.0</h2>
<h1><a href="https://github.com/stephenh/ts-proto/compare/v1.158.1...v1.159.0 ">1.159.0</a> (2023-09-30)</h1>
<h3>Features</h3>
<ul>
<li>Add globalThisPolyfill, defaults false. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/931 ">#931</a>) (<a href="https://github.com/stephenh/ts-proto/commit/085fa21603a74544af192f404289c2e62ecfd8f6 ">085fa21</a>)</li>
</ul>
<h2>v1.158.1</h2>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.158.0...v1.158.1 ">1.158.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use globalThis for Array/String/Boolean (<a href="https://redirect.github.com/stephenh/ts-proto/issues/930 ">#930</a>) (<a href="https://github.com/stephenh/ts-proto/commit/9a252c3d4cf988496f6de17cc378dbb09a1baf92 ">9a252c3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md ">ts-proto's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.159.0...v1.159.1 ">1.159.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use a Map when map keys are boolean. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/933 ">#933</a>) (<a href="https://github.com/stephenh/ts-proto/commit/c1253a3761405d7a2ffe4d15f4c3ffb364697a02 ">c1253a3</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/926 ">#926</a></li>
</ul>
<h1><a href="https://github.com/stephenh/ts-proto/compare/v1.158.1...v1.159.0 ">1.159.0</a> (2023-09-30)</h1>
<h3>Features</h3>
<ul>
<li>Add globalThisPolyfill, defaults false. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/931 ">#931</a>) (<a href="https://github.com/stephenh/ts-proto/commit/085fa21603a74544af192f404289c2e62ecfd8f6 ">085fa21</a>)</li>
</ul>
<h2><a href="https://github.com/stephenh/ts-proto/compare/v1.158.0...v1.158.1 ">1.158.1</a> (2023-09-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Use globalThis for Array/String/Boolean (<a href="https://redirect.github.com/stephenh/ts-proto/issues/930 ">#930</a>) (<a href="https://github.com/stephenh/ts-proto/commit/9a252c3d4cf988496f6de17cc378dbb09a1baf92 ">9a252c3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/stephenh/ts-proto/commit/09e9fa2594431785253a2fc15e66d85e721003e9 "><code>09e9fa2</code></a> chore(release): 1.159.1 [skip ci]</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/c1253a3761405d7a2ffe4d15f4c3ffb364697a02 "><code>c1253a3</code></a> fix: Use a Map when map keys are boolean. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/933 ">#933</a>)</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/ccf54be52d181c341ff310c68665a65fef3ed86d "><code>ccf54be</code></a> chore(release): 1.159.0 [skip ci]</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/085fa21603a74544af192f404289c2e62ecfd8f6 "><code>085fa21</code></a> feat: Add globalThisPolyfill, defaults false. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/931 ">#931</a>)</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/6f856376b103284e2694d3bb7d4471c6b43429f9 "><code>6f85637</code></a> chore(release): 1.158.1 [skip ci]</li>
<li><a href="https://github.com/stephenh/ts-proto/commit/9a252c3d4cf988496f6de17cc378dbb09a1baf92 "><code>9a252c3</code></a> fix: Use globalThis for Array/String/Boolean (<a href="https://redirect.github.com/stephenh/ts-proto/issues/930 ">#930</a>)</li>
<li>See full diff in <a href="https://github.com/stephenh/ts-proto/compare/v1.158.0...v1.159.1 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:49:04 +03:00
dependabot[bot]
b035c4d88a
chore: bump chromatic from 7.1.0 to 7.2.0 in /site ( #9966 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 7.1.0 to 7.2.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/5366e6b8a73f606cdf48bec69176c090bdaf58c4 "><code>5366e6b</code></a> 7.2.0</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/0749afb68e1da025de47af3204e6ea5062c9c571 "><code>0749afb</code></a> Step package.json back</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/788d8e96f72a95fc69f831fbceab862fd404a6ce "><code>788d8e9</code></a> Merge pull request <a href="https://redirect.github.com/chromaui/chromatic-cli/issues/819 ">#819</a> from chromaui/tom/drop-loggly</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/0967fa81cc4358e3709e4468c5599e1797922c58 "><code>0967fa8</code></a> 7.2.1-canary.0</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/2f9484e733bd09300de76707d24815e08adbaca7 "><code>2f9484e</code></a> No longer log to loggly</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/6f614e64036e02bbb0cec3d9252718de7277acb0 "><code>6f614e6</code></a> 7.2.0-next.1</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/10bc2a32a1db2e5039e117e233f3aba3c6cfe51b "><code>10bc2a3</code></a> 7.2.0-next.0</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/a0b14d8c45f8fc2c50cbb7b944bcddee3a9cf294 "><code>a0b14d8</code></a> Merge pull request <a href="https://redirect.github.com/chromaui/chromatic-cli/issues/814 ">#814</a> from chromaui/tom/ap-3623-add-cli-support-for-a-chrom...</li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/a8acc0e8d33180a35846feb8c314d0fe0edfae97 "><code>a8acc0e</code></a> Trying <code>xlarge</code></li>
<li><a href="https://github.com/chromaui/chromatic-cli/commit/5af4e277207621d0b379bc272a60972cf1c29eeb "><code>5af4e27</code></a> Try medium resource class</li>
<li>Additional commits viewable in <a href="https://github.com/chromaui/chromatic-cli/compare/v7.1.0...v7.2.0 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:42:35 +03:00
dependabot[bot]
3d71173e74
chore: bump yup from 1.2.0 to 1.3.2 in /site ( #9968 )
...
Bumps [yup](https://github.com/jquense/yup ) from 1.2.0 to 1.3.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jquense/yup/blob/master/CHANGELOG.md ">yup's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/jquense/yup/compare/v1.3.1...v1.3.2 ">1.3.2</a> (2023-09-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>pick and omit with excluded edges (<a href="https://github.com/jquense/yup/commit/6956ee788369dff00e5ecadb506726af3598a87e ">6956ee7</a>), closes <a href="https://redirect.github.com/jquense/yup/issues/2097 ">#2097</a></li>
</ul>
<h2><a href="https://github.com/jquense/yup/compare/v1.3.0...v1.3.1 ">1.3.1</a> (2023-09-26)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>ValidationError extends Error (<a href="https://github.com/jquense/yup/commit/bc5121b92d8e16baf8fe9b83f0247a4e90e169b8 ">bc5121b</a>)</li>
</ul>
<h1><a href="https://github.com/jquense/yup/compare/v1.2.0...v1.3.0 ">1.3.0</a> (2023-09-23)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>add tuple to locale object (<a href="https://redirect.github.com/jquense/yup/issues/2100 ">#2100</a>) (<a href="https://github.com/jquense/yup/commit/809b55a9c16e0cd567f4eced9b9ab02ad8b0bffa ">809b55a</a>)</li>
<li>performance improvement (<a href="https://redirect.github.com/jquense/yup/issues/2043 ">#2043</a>) (<a href="https://redirect.github.com/jquense/yup/issues/2044 ">#2044</a>) (<a href="https://github.com/jquense/yup/commit/ee1b7317b0a9fc0e16a7d33064c3e5584bd7f2d5 ">ee1b731</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Allow schema metadata to be strongly typed (<a href="https://redirect.github.com/jquense/yup/issues/2021 ">#2021</a>) (<a href="https://github.com/jquense/yup/commit/e593f8f72e7195cf0ac48fa8e1cd82d95c1e6bb5 ">e593f8f</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>Revert "fix: performance improvement (<a href="https://redirect.github.com/jquense/yup/issues/2043 ">#2043</a>) (<a href="https://redirect.github.com/jquense/yup/issues/2044 ">#2044</a>)" (<a href="https://redirect.github.com/jquense/yup/issues/2071 ">#2071</a>) (<a href="https://github.com/jquense/yup/commit/b940eef48eb7456622ae384d0ffa7363d4fbad25 ">b940eef</a>), closes <a href="https://redirect.github.com/jquense/yup/issues/2043 ">#2043</a> <a href="https://redirect.github.com/jquense/yup/issues/2044 ">#2044</a> <a href="https://redirect.github.com/jquense/yup/issues/2071 ">#2071</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jquense/yup/commit/a58f02d2f6164c46a9757a818eebac582f7a441c "><code>a58f02d</code></a> Publish v1.3.2</li>
<li><a href="https://github.com/jquense/yup/commit/2f2c0aa9be6258b763f95e7de076c2dcfbe0cae3 "><code>2f2c0aa</code></a> fix type</li>
<li><a href="https://github.com/jquense/yup/commit/020901fcf3cfb12a38afd90e4fe56e2e37c312a1 "><code>020901f</code></a> Allow parent resolve before describe. (<a href="https://redirect.github.com/jquense/yup/issues/2051 ">#2051</a>)</li>
<li><a href="https://github.com/jquense/yup/commit/6956ee788369dff00e5ecadb506726af3598a87e "><code>6956ee7</code></a> fix: pick and omit with excluded edges</li>
<li><a href="https://github.com/jquense/yup/commit/e15297bb747552e4742bbaa2ecb95aad1c37f918 "><code>e15297b</code></a> Publish v1.3.1</li>
<li><a href="https://github.com/jquense/yup/commit/bc5121b92d8e16baf8fe9b83f0247a4e90e169b8 "><code>bc5121b</code></a> fix: ValidationError extends Error</li>
<li><a href="https://github.com/jquense/yup/commit/9c1208c0685a5a7571ef74c39a08d248100f793f "><code>9c1208c</code></a> Publish v1.3.0</li>
<li><a href="https://github.com/jquense/yup/commit/809b55a9c16e0cd567f4eced9b9ab02ad8b0bffa "><code>809b55a</code></a> fix: add tuple to locale object (<a href="https://redirect.github.com/jquense/yup/issues/2100 ">#2100</a>)</li>
<li><a href="https://github.com/jquense/yup/commit/13ce359c20be195794f22f16a64d633bc28db7f5 "><code>13ce359</code></a> Update README.md (<a href="https://redirect.github.com/jquense/yup/issues/2101 ">#2101</a>)</li>
<li><a href="https://github.com/jquense/yup/commit/1ee9b21c994b4293f3ab338119dc17ab2f4e284c "><code>1ee9b21</code></a> Export Lazy and Reference types (<a href="https://redirect.github.com/jquense/yup/issues/2093 ">#2093</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jquense/yup/compare/v1.2.0...v1.3.2 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:41:38 +03:00
dependabot[bot]
5b18007311
chore: bump @vitejs/plugin-react from 4.0.1 to 4.1.0 in /site ( #9969 )
...
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) from 4.0.1 to 4.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/releases "><code>@vitejs/plugin-react</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.1.0</h2>
<ul>
<li>Add <code>@types/babel__cores</code> to dependencies (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/211 ">#211</a>)</li>
<li>Improve build perf when not using Babel plugins by lazy loading <code>@babel/core</code> <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/212 ">#212</a></li>
<li>Better invalidation message when an export is added & fix HMR for export of nullish values <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/215 ">#215</a></li>
<li>Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/224 ">#224</a></li>
<li>The build output now contains a <code>index.d.cts</code> file so you don't get types errors when setting <code>moduleResolution</code> to <code>node16</code> or <code>nodenext</code> in your tsconfig (we recommend using <code>bundler</code> which is more close to how Vite works)</li>
</ul>
<h2>v4.0.4</h2>
<ul>
<li>Fix <a href="https://github.com/vitejs/vite-plugin-react/discussions/198 ">#198</a>: Enable Babel if presets list is not empty</li>
</ul>
<h2>v4.0.3</h2>
<ul>
<li>Revert <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/108 ">#108</a>: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.</li>
</ul>
<h2>v4.0.2</h2>
<ul>
<li>Fix fast-refresh for files that are transformed into jsx (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/188 ">#188</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md "><code>@vitejs/plugin-react</code>'s changelog</a>.</em></p>
<blockquote>
<h2>4.1.0 (2023-09-24)</h2>
<ul>
<li>Add <code>@types/babel__cores</code> to dependencies (fix <a href="https://redirect.github.com/vitejs/vite-plugin-react/issues/211 ">#211</a>)</li>
<li>Improve build perf when not using Babel plugins by lazy loading <code>@babel/core</code> <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/212 ">#212</a></li>
<li>Better invalidation message when an export is added & fix HMR for export of nullish values <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/215 ">#215</a></li>
<li>Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/224 ">#224</a></li>
<li>The build output now contains a <code>index.d.cts</code> file so you don't get types errors when setting <code>moduleResolution</code> to <code>node16</code> or <code>nodenext</code> in your tsconfig (we recommend using <code>bundler</code> which is more close to how Vite works)</li>
</ul>
<h2>4.0.4 (2023-07-31)</h2>
<ul>
<li>Fix <a href="https://github.com/vitejs/vite-plugin-react/discussions/198 ">#198</a>: Enable Babel if presets list is not empty</li>
</ul>
<h2>4.0.3 (2023-07-10)</h2>
<ul>
<li>Revert <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/108 ">#108</a>: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.</li>
</ul>
<h2>4.0.2 (2023-07-06)</h2>
<ul>
<li>Fix fast-refresh for files that are transformed into jsx (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/188 ">#188</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/bf1453edac2d21f7fc06680aa66d178082b770df "><code>bf1453e</code></a> release: plugin-react@4.1.0</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/25fe88a02d3a718b81a3b1290ff4e46bfab427f9 "><code>25fe88a</code></a> feat: add support for non-dev jsx runtime (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/224 ">#224</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/272c338a7c2927d6e673901bc52f25791d466a98 "><code>272c338</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/206 ">#206</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/286360281992c425bf75cb0a18846f65fcdc5ef3 "><code>2863602</code></a> fix: better invalidation message when an export is added & fix HMR for export...</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/ccd25ddf1fe9d70d9486e8f07da95bcf3fd0b5d6 "><code>ccd25dd</code></a> perf: lazy load <code>@babel/core</code> (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/212 ">#212</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/8413a1835e78a9d923bcc5a5723cb1e903c8fc0f "><code>8413a18</code></a> fix: add <code>@types/babel__cores</code> to dependencies (fix <a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/211 ">#211</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/90328ce92ecfdc9797aa58af67e46f9872b29118 "><code>90328ce</code></a> release: plugin-react@4.0.4</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/9f9e2f66d699c47e8bf7b88175fdd55908a2bf35 "><code>9f9e2f6</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/199 ">#199</a>)</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/6e2e0a406e8478002dc0ab4a5104d370d4afc7b3 "><code>6e2e0a4</code></a> fix <a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/198 ">#198</a>: enable Babel if presets list is not empty</li>
<li><a href="https://github.com/vitejs/vite-plugin-react/commit/cbdf19f8f973fe78495336ca14247ddfc276f998 "><code>cbdf19f</code></a> release: plugin-react@4.0.3</li>
<li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react/commits/v4.1.0/packages/plugin-react ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-10-01 14:41:02 +03:00
Kyle Carberry
5596fb20b5
chore: move /gitauth to /externalauth on the frontend ( #9954 )
...
* chore: move `/gitauth` to `/externalauth` on the frontend
This actually took a lot more jank than anticipated,
so I wanted to split this up before adding the ability
to embed new providers.
* Rename FE
* Fix em' up
* Fix linting error
* Fix e2e tests
* chore: update helm golden files
2023-09-30 14:30:01 -05:00
Muhammad Atif Ali
16a2d4d733
chore(dogfood): use coder modules in dogfood ( #9890 )
...
updates dogfood to use coder modules
---
<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev ">Graphite</a>)</summary>
> # TL;DR
> This pull request removes the `dotfiles_url` and `jetbrains_ide` parameters, and the related code from the `main.tf` file. It also adds several new modules for `dotfiles`, `git-clone`, `personalize`, `code-server`, `jetbrains_gateway`, `vscode`, and `filebrowser`. The `startup_script` has been updated to remove the installation and launch of `filebrowser` and the `dotfiles` related code.
>
> # What changed
> - Removed `dotfiles_url` and `jetbrains_ide` parameters.
> - Removed related code for `dotfiles_url` and `jetbrains_ide`.
> - Added new modules for `dotfiles`, `git-clone`, `personalize`, `code-server`, `jetbrains_gateway`, `vscode`, and `filebrowser`.
> - Updated `startup_script` to remove the installation and launch of `filebrowser` and the `dotfiles` related code.
>
> # How to test
> 1. Go to https://dev.coder.com/templates/coder/versions/dazzling_hugle0 and create a new workspace or change your dogfood workspace version to `dazzling_hugle0` .
> 2. Verify that the new modules are working as expected.
>
> # Why make this change
> The `dotfiles_url` and `jetbrains_ide` parameters and related code were removed to simplify the configuration and make it easier to manage. The new modules were added to provide additional functionality and improve the overall user experience. The `startup_script` was updated to reflect these changes.
</details>
2023-09-30 22:22:14 +03:00
Kyle Carberry
c1cd93da30
chore: update helm golden files ( #9959 )
2023-09-30 18:36:34 +00:00
Ammar Bandukwala
3d21872230
chore: set sessionAffinity to None in helm chart ( #9918 )
2023-09-30 12:33:20 -05:00
Steven Masley
e9ccb8dc78
chore: change cli error message handling ( #9952 )
...
* chore: add command to easily visualize different errors
* chore: add verbose error printing in cli
2023-09-29 16:50:23 -05:00
Stephen Kirby
fa297e1096
feat(site): add white coder icon ( #9955 )
...
* Added a white coder svg
* renamed svg
* rename icon
2023-09-29 15:25:44 -05:00
Mathias Fredriksson
e6cb2c5a8e
chore(go.mod): update cdr.dev/slog to include additional stackdriver field ( #9938 )
2023-09-29 20:22:37 +00:00
Eric Paulsen
710b170adf
site(fix): add space characters to group display name ( #9950 )
2023-09-29 15:25:59 -04:00
Kyle Carberry
8abca9bea7
chore: rename git_auth to external_auth in our schema ( #9935 )
...
* chore: rename `git_auth` to `external_auth` in our schema
We're changing Git auth to be external auth. It will support
any OAuth2 or OIDC provider.
To split up the larger change I want to contribute the schema
changes first, and I'll add the feature itself in another PR.
* Fix names
* Fix outdated view
* Rename some additional places
* Fix sort order
* Fix template versions auth route
* Fix types
* Fix dbauthz
2023-09-29 19:13:20 +00:00
Kayla Washburn
2b5428e95f
refactor: start using emotion for styling ( #9909 )
2023-09-29 13:08:17 -06:00
Colin Adler
4da1223a80
fix: pass OnSubscribe to HA MultiAgent ( #9947 )
...
Fixes https://github.com/coder/coder/issues/9929
2023-09-29 13:37:17 -05:00
Kayla Washburn
61154a6bb5
chore: update datadog ( #9925 )
2023-09-29 12:06:24 -06:00
Steven Masley
92308bec3b
chore: color value_source for deployment values ( #9922 )
...
* chore: Return populated options vs a blank
* Strip secret values
2023-09-29 12:04:28 -05:00
Marcin Tojek
87ebe6c2c2
test: fix flaky TestPostWorkspacesByOrganization/Create ( #9931 )
2023-09-29 13:06:21 +00:00
Marcin Tojek
c0705ec40e
fix: flaky TestCreateValidateRichParameters/ValidateString ( #9928 )
2023-09-29 12:54:51 +02:00
Marcin Tojek
2dd49cc0a7
fix(site): double input box for logo url ( #9926 )
2023-09-29 07:27:47 +00:00
Steven Masley
beac36027f
chore: generate any interface as Deployment Option in TypeScript ( #9917 )
...
* chore: handle interfaces as "any" in typescript
Use generated Deployment Option
2023-09-28 16:14:28 -05:00
Colin Adler
885041a65b
revert: downgrade alpine to v3.18.3 ( #9916 )
2023-09-28 20:27:47 +00:00
Steven Masley
8cff6237ba
chore: show yaml option in deployment page ( #9912 )
2023-09-28 15:10:06 -05:00
Colin Adler
92c0237899
chore: upgrade alpine to v3.18.4
2023-09-28 19:47:48 +00:00
Colin Adler
ed8ae2f123
chore: upgrade go to 1.20.8
2023-09-28 14:17:15 -05:00
Steven Masley
9e845213f5
chore: include organization id in workspace build audit log ( #9905 )
...
* chore: include organization id in workspace build audit log
* rename 'BuildAudit' to 'WorkspaceBuildAudit'
2023-09-28 11:29:12 -05:00
Marcin Tojek
305556f655
feat(site): use custom application name ( #9902 )
2023-09-28 18:23:27 +02:00
Kayla Washburn
0f946669c1
chore: simplify imports ( #9896 )
2023-09-28 09:21:36 -06:00
Marcin Tojek
dae528f5e7
feat: expose application name and logo url via meta properties ( #9900 )
2023-09-28 10:50:40 +02:00
Steven Masley
2d1b35390e
chore: relax wsproxy version checking ( #9796 )
2023-09-27 19:34:55 +00:00
Michael Smith
dcad8fdc2f
fix: add checks for preventing HSL colors from entering React state ( #9893 )
...
* fix: remove hsl color from initial form state
* chore: add extra color helpers
* chore: add extra runtime validation for colors
* chore: clean up comments for clarity
* chore: add tests for colors
2023-09-27 19:27:11 +00:00
Ben Potter
20a681af8d
chore: add v2.2.0 changelog ( #9889 )
...
* chore: add v2.2.0 changelog
* add actual changelog
2023-09-27 17:38:43 +00:00
Kayla Washburn
066b25f710
chore: remove Maybe ( #9880 )
2023-09-27 10:45:12 -06:00
Cian Johnston
72e8f88af3
feat(scaletest/terraform): add cert-manager, otel, and TLS ( #9894 )
2023-09-27 17:41:07 +01:00
Mathias Fredriksson
0878381d0b
fix(cli/cliui): avoid nil pointer deref when agent disconnects ( #9892 )
...
Fixes #9884
2023-09-27 19:10:15 +03:00
Kyle Carberry
de6d0b9a1a
fix: only specify vscode proxy uri if app subdomains enabled ( #9891 )
...
Otherwise this generates an invalid URI that breaks code-server!
2023-09-27 15:13:47 +00:00
Marcin Tojek
cb5f8df4c2
feat: expose application name via Appearance API ( #9886 )
2023-09-27 17:02:18 +02:00
Mathias Fredriksson
68738771b9
feat(scaletest): create automated pprof dumps during scaletest ( #9887 )
2023-09-27 15:58:43 +03:00
Cian Johnston
fad02081fc
fix: avoid logging env in unit tests ( #9885 )
2023-09-27 13:34:40 +01:00
Mathias Fredriksson
d8515f02af
feat(scaletest): add grafana annotations and slack reporting ( #9852 )
...
Fixes #9575
Fixes #9576
2023-09-27 11:44:11 +00:00
Mathias Fredriksson
4e442040f7
feat(coderd/httpmw): log start timestamp for http requests ( #9776 )
2023-09-27 14:39:22 +03:00
Spike Curtis
c67db6efb0
fix: wait for bash prompt before commands ( #9882 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-27 12:26:24 +04:00
Cian Johnston
399b428149
chore(scaletest): update scaletest terraform to match big.cdr.dev ( #9860 )
...
- Removes usage of null_resources as no longer required
- Updates terraform in both infra/ and k8s/ to match
- Updates provisionerd deployment to use helm chart
2023-09-27 09:02:35 +01:00
Kyle Carberry
726a4dadf2
feat: allow magic string to generate session token for external apps ( #9878 )
...
* fix: make non-http external app links open in the current window
* Allow magic string to be replaced with a session token for external apps
* Improve readibility
2023-09-26 16:04:24 -05:00
Kira Pilot
75366ec6b5
more renames ( #9876 )
2023-09-26 14:45:29 -04:00
Kayla Washburn
6f0e2a7968
refactor: poll for git auth updates when creating a workspace ( #9804 )
2023-09-26 11:39:07 -06:00
Marcin Tojek
4c3b579f58
feat: expose insights into user activity ( #9807 )
2023-09-26 18:42:16 +02:00
Cian Johnston
1f4335733c
fix(coderd/workspaceapps/apptest): bump sleep in testReconnectingPTY to reduce test flakes ( #9875 )
2023-09-26 14:58:18 +01:00
Bruno Quaresma
b0b9d32a2a
chore(site): remove dead code ( #9830 )
2023-09-26 10:05:24 -03:00
Cian Johnston
93ef696b57
refactor(agent): add agenttest.New helper function ( #9812 )
...
* Adds agenttest.New() helper function
* Makes sure agent gets closed on test cleanup
* Makes sure you don't forget to set session token
* Sets the agent and client logger automatically
2023-09-26 12:05:19 +01:00
Cian Johnston
96c5076c69
fix(coderd): remove troublesome test case ( #9874 )
2023-09-26 11:33:21 +01:00
Kyle Carberry
c4718fd747
fix: remove pinned version for dogfood ( #9872 )
2023-09-26 02:23:42 +00:00
Muhammad Atif Ali
04c85c3833
chore: add icons ( #9871 )
2023-09-26 00:46:07 +00:00
Kyle Carberry
f7c89082d2
chore: swap dogfood to use modules ( #9870 )
2023-09-25 19:41:45 -05:00
Kyle Carberry
442fb105c9
chore: add git svg icon ( #9869 )
2023-09-26 00:15:55 +00:00
Kyle Carberry
20bfe6e9e5
fix: allow expansion from log_path for coder_script ( #9868 )
2023-09-25 23:45:55 +00:00
Colin Adler
89292264be
feat(coderd): add simple healthcheck formatting option ( #9864 )
2023-09-25 22:55:50 +00:00
Kyle Carberry
6e6b808143
fix: add case for logs without a source ( #9866 )
...
This is to support legacy logs!
2023-09-25 22:19:51 +00:00
Kyle Carberry
d3220c5db9
fix: resolve flake in log sender by checking context ( #9865 )
...
See: https://github.com/coder/coder/actions/runs/6305051172/job/17117693579
2023-09-25 22:19:27 +00:00
Kyle Carberry
1262eef2c0
feat: add support for coder_script ( #9584 )
...
* Add basic migrations
* Improve schema
* Refactor agent scripts into it's own package
* Support legacy start and stop script format
* Pipe the scripts!
* Finish the piping
* Fix context usage
* It works!
* Fix sql query
* Fix SQL query
* Rename `LogSourceID` -> `SourceID`
* Fix the FE
* fmt
* Rename migrations
* Fix log tests
* Fix lint err
* Fix gen
* Fix story type
* Rename source to script
* Fix schema jank
* Uncomment test
* Rename proto to TimeoutSeconds
* Fix comments
* Fix comments
* Fix legacy endpoint without specified log_source
* Fix non-blocking by default in agent
* Fix resources tests
* Fix dbfake
* Fix resources
* Fix linting I think
* Add fixtures
* fmt
* Fix startup script behavior
* Fix comments
* Fix context
* Fix cancel
* Fix SQL tests
* Fix e2e tests
* Interrupt on Windows
* Fix agent leaking script process
* Fix migrations
* Fix stories
* Fix duplicate logs appearing
* Gen
* Fix log location
* Fix tests
* Fix tests
* Fix log output
* Show display name in output
* Fix print
* Return timeout on start context
* Gen
* Fix fixture
* Fix the agent status
* Fix startup timeout msg
* Fix command using shared context
* Fix timeout draining
* Change signal type
* Add deterministic colors to startup script logs
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-25 16:47:17 -05:00
Kayla Washburn
dac1375880
feat: add … to actions that require confirmation ( #9862 )
2023-09-25 15:25:02 -06:00
Kayla Washburn
ff3fc0971c
feat: create a workspace from any template version ( #9861 )
2023-09-25 14:54:19 -06:00
Ammar Bandukwala
4adbf24a08
docs: fix typo ( #9859 )
2023-09-25 19:52:53 +00:00
Steven Masley
b6c5e94ffa
fix: consider all 'devel' builds as 'dev' builds ( #9794 )
...
* fix: all 'devel' builds should be considered 'dev' builds.
If CI needs to be distinguished from a dev build, we should add
a different pre-release tag for those builds.
* change CI version checking to be more strict
2023-09-25 13:59:49 -05:00
Kayla Washburn
47d3161b0b
fix: give more room to lonely resource metadata items ( #9832 )
2023-09-25 09:40:51 -06:00
Michael Smith
3757005e82
feat: add middle click support for workspace rows ( #9834 )
...
* chore: add generic ref support for useClickable
* chore: update useClickable call sites to use type parameter
* chore: update useClickableTableRow implementation
* chore: update other components using useClickableTableRow
* feat: add middle-click and cmd-click support for rows
* refactor: rename variable for clarity
* docs: add comment for clarity
* chore: add more click logic and comments
* refactor: clean up useClickableTableRow
* docs: rewrite comments for clarity
* fix: update TimelineEntry to accept forwarded ref
* fix: fix keyboard event logic to respond to spaces properly
2023-09-25 11:32:33 -04:00
Marcin Tojek
415818035c
test(site): e2e: use IPv4 address for web server ( #9843 )
2023-09-25 14:44:15 +02:00
Cian Johnston
4622ea2c10
chore: remove filebrowser.db ( #9854 )
...
* rm and gitignore filebrowser.db
2023-09-25 12:41:27 +00:00
Bruno Quaresma
cb545bcc30
chore(site): move a few pages to lazy load ( #9831 )
2023-09-25 09:38:24 -03:00
Muhammad Atif Ali
63ea12e74c
chore: remove terraform provider versions for pr-deployment template ( #9853 )
2023-09-25 12:33:01 +00:00
dependabot[bot]
7da3180036
chore: bump github.com/spf13/afero from 1.9.5 to 1.10.0 ( #9850 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:32:21 +03:00
dependabot[bot]
9d5af5b483
chore: bump github.com/coder/terraform-provider-coder from 0.11.1 to 0.12.0 ( #9849 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:23:19 +03:00
dependabot[bot]
e649b7cefe
chore: bump google.golang.org/api from 0.141.0 to 0.142.0 ( #9848 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:22:54 +03:00
dependabot[bot]
5c1ee6990e
chore: bump github.com/gohugoio/hugo from 0.118.2 to 0.119.0 ( #9847 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:22:43 +03:00
dependabot[bot]
9358b3bd84
ci: bump the github-actions group with 2 updates ( #9846 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 15:22:19 +03:00
Muhammad Atif Ali
26e0d7580c
chore: avoid pushing .terraform.lock.hcl while creating the template ( #9851 )
2023-09-25 15:13:32 +03:00
Cian Johnston
382843dc5f
chore(docs): add notice re enabling encryption ( #9844 )
2023-09-25 11:07:38 +01:00
Bruno Quaresma
85ab9c2d48
chore(site): replace agent log service ( #9814 )
2023-09-22 16:13:25 -03:00
Bruno Quaresma
7bb0061804
chore(site): remove workspace build machine ( #9813 )
2023-09-22 16:12:25 -03:00
Muhammad Atif Ali
df0c597843
docs: update VS Code Web docs ( #9811 )
...
* docs: update VS Code Web docs
* add back folder
2023-09-22 18:49:20 +00:00
Colin Adler
cc009fe121
ci: increase timeout for template build jobs ( #9829 )
2023-09-22 13:13:50 -05:00
Ammar Bandukwala
733171a93b
revert: "ci: cache datadog-ci ( #9702 )" ( #9828 )
...
Original commit changeset: b104e0ec0c
2023-09-22 17:31:25 +00:00
Michael Smith
c201fc2538
revert: remove localStorage sync for search params ( #9827 )
2023-09-22 12:43:08 -04:00
Bruno Quaresma
f6ee08d100
chore(site): replace create user machine by react-query ( #9810 )
2023-09-22 13:28:56 -03:00
Jon Ayers
9216725698
chore: add alpha badges to workspace cleanup fields ( #9802 )
2023-09-22 10:41:17 -05:00
Cian Johnston
8d8402da00
fix(coderd/database): avoid clobbering workspace build state ( #9826 )
...
Fixes #9823 .
- Decomposes UpdateWorkspaceBuildByID into UpdateWorkspaceBuildProvisionerStateByID and UpdateWorkspaceBuildDeadlineByID.
- Replaces existing invocations of UpdateWorkspaceBuildByID with the newer queries where applicable.
- Modifies GetActiveWorkspaceBuildsByTemplateID to not return incomplete workspace builds.
2023-09-22 16:22:07 +01:00
Cian Johnston
a1f3a6b606
refactor(scaletest/terraform): break up infra creation and k8s resource provisioning ( #9824 )
...
Breaks up scaletest/terraform into {infra, k8s}.
2023-09-22 15:55:47 +01:00
Michael Smith
84999cb33d
feat: add empty state for SSO auth methods ( #9818 )
...
* fix: remove needless undefined checks
* refactor: clean up button markup
* refactor: restrict access to full auth in oidc functions
* feat: add empty SSO state
2023-09-22 09:38:49 -04:00
Spike Curtis
e9077f3bd2
fix: use AlwaysEnable for licenses with all features ( #9808 )
...
* fix: use AlwaysEnable for licenses with all features
Signed-off-by: Spike Curtis <spike@coder.com >
* use dbtime.Now() intead of time.Now()
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-22 05:02:28 +00:00
Dean Sheather
94a0612cd2
chore: update tailscale ( #9817 )
2023-09-22 07:21:38 +10:00
Colin Adler
c900b5f8df
feat: add single tailnet support to pgcoord ( #9351 )
2023-09-21 14:30:48 -05:00
Colin Adler
fbad06f406
chore: bump wgtunnel ( #9805 )
2023-09-21 13:33:13 -05:00
Michael Smith
91a04c0132
chore: enhance tests for TemplateSchedulePage ( #9801 )
...
* chore: Add benchmark logs to test
* chore: Remove benchmark logic
* chore: add hard cutoff for waitFor calls
* refactor: clean up waitFor cut-off logic
* chore: add assertion that submit button is not disabled
* chore: Remove disabled check at the start of the test
* fix: extend cutoff for waitFor config
2023-09-21 14:25:26 -04:00
Muhammad Atif Ali
201a6c0c79
chore: remove extra condition from pr-deploy.yaml ( #9788 )
2023-09-21 17:58:46 +03:00
Bruno Quaresma
801c6c994b
chore(site): replace setup machine by react-query ( #9809 )
2023-09-21 11:21:49 -03:00
Spike Curtis
866ba8ede5
fix: call agent directly in cli tests ( #9789 )
...
* fix: call agent directly in cli tests
Signed-off-by: Spike Curtis <spike@coder.com >
* log verbose in TestDERPHeaders
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-21 13:30:24 +04:00
Muhammad Atif Ali
fa858531a8
feat: add nomad template ( #9786 )
2023-09-21 08:54:56 +00:00
Michael Smith
b742661abd
feat: make workspace search bar remember text ( #9759 )
...
* minor: Add useEffectEvent polyfill
* chore: update filter to have better callback support
* docs: Clean up comments
* fix: add localStorage to useWorkspacesFilter
* refactor: Centralize stable useSearchParams
* refactor: clean up filter to be fully pure on mount
* chore: add tests for useEffectEvent
* wip: commit progress for searchbar fix
* chore: clean up WorkspacesPage
* fix: add logic for syncing queries with search params
* chore: Rename initialValue to fallbackFilter
* chore: Remove todo comment
* refactor: update code to use useEffectEvent
* docs: clean up comments for clarity
* fix: update url check to use regex
2023-09-20 16:44:19 -04:00
Bruno Quaresma
92a90eb9ae
test(site): fix terminal page test flakiness ( #9798 )
2023-09-20 15:19:27 -03:00
Bruno Quaresma
1cd0bea86e
chore: make workspace batch actions enabled by default ( #9797 )
2023-09-20 14:10:01 -03:00
Eric Paulsen
fae8a470df
fix(cli): display pasted session token ( #9710 )
2023-09-20 12:41:59 -04:00
Steven Masley
f89b68056d
chore: add debug information to wsproxy errors ( #9683 )
...
* chore: add debug information to wsproxy errors
* Use codersdk.ReadBodyAsError
2023-09-20 10:05:14 -05:00
Cian Johnston
ae1896f2dc
chore(docs): replace numbering with bullets in admin/encryption.md ( #9792 )
2023-09-20 15:15:39 +01:00
Marcin Tojek
8e012e4e1a
test(site): workaround for reattached xterm-rows ( #9790 )
2023-09-20 14:25:30 +02:00
Steven Masley
a18bf73131
chore: display warnings on app share failure ( #9783 )
...
* chore: add warnings to app share failure
Warnings only appear if the app is misconfigured to the deployment
2023-09-19 21:54:51 +00:00
Kayla Washburn
1fd1c654a9
fix: hide empty update message box ( #9784 )
2023-09-19 13:11:22 -06:00
Dean Sheather
eda32659a8
chore: fix flake in tunnel ( #9746 )
2023-09-19 18:54:56 +00:00
Spike Curtis
70e481e7a5
fix: use terminal emulator that keeps state in ReconnectingPTY tests ( #9765 )
...
* Add more pty diagnostics for terminal parsing
Signed-off-by: Spike Curtis <spike@coder.com >
* print escaped strings
Signed-off-by: Spike Curtis <spike@coder.com >
* Only log on failure - heisenbug?
Signed-off-by: Spike Curtis <spike@coder.com >
* use the terminal across matches to keep cursor & contents state
Signed-off-by: Spike Curtis <spike@coder.com >
* Only log bytes if we're not expecting EOF
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-19 17:57:30 +00:00
Kayla Washburn
269b1c59f1
refactor: get rid of templateVariablesXService ( #9763 )
2023-09-19 11:54:14 -06:00
Mathias Fredriksson
530dd9d247
fix(coderd): subscribe to workspace when streaming agent logs to detect outdated build ( #9729 )
...
Fixes #9721
2023-09-19 20:02:27 +03:00
Bruno Quaresma
87d50f17a2
chore(site): refactor groups to use react-query ( #9701 )
2023-09-19 13:37:17 -03:00
Mathias Fredriksson
161a3cfa26
fix(coderd/batchstats): use debug log on query cancellation in flush ( #9778 )
...
Fixes #9772
2023-09-19 18:16:07 +03:00
Marcin Tojek
ceb52ac24a
fix: user should always belong to an organization ( #9781 )
2023-09-19 16:22:37 +02:00
Mathias Fredriksson
d6089ae0ad
fix(coderd/batchstats): use debug log on context cancellation in flush ( #9777 )
2023-09-19 13:19:39 +00:00
Bruno Quaresma
7bc98c296b
refactor(site): do not display error details as message ( #9755 )
2023-09-19 09:54:59 -03:00
Bruno Quaresma
e26bb2d91b
chore(site): rollback remark-gfm version ( #9774 )
2023-09-19 09:43:11 -03:00
Bruno Quaresma
ffa77ba6ff
feat(site): show CLI flags and env variables for the options ( #9757 )
2023-09-19 09:34:04 -03:00
Dr. Pi3cH
94cccd0a01
fix: make sure fly_app name is lower case ( #9771 )
...
fly_app does not support uppercase. Coder allows uppercase for username/owner.
2023-09-19 12:30:52 +00:00
Eric Paulsen
e9c183d0dc
feat: add envFrom value to Helm chart ( #9587 )
...
* feat: add envFrom value to Helm chart
* add envUseClusterAccessURL
* add tests
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-09-19 16:03:13 +04:00
Marcin Tojek
ceeb9987a5
test(cli): ensure first option selected with is expected ( #9770 )
2023-09-19 13:55:51 +02:00
Marcin Tojek
b0e3daa120
feat(coderd): support weekly aggregated insights ( #9684 )
2023-09-19 13:06:19 +02:00
Muhammad Atif Ali
b358e3d558
chore: fix permission for kubeconfig ( #9768 )
2023-09-19 08:36:00 +00:00
Spike Curtis
375c70d141
feat: integrate Acquirer for provisioner jobs ( #9717 )
...
* chore: add Acquirer to provisionerdserver pkg
Signed-off-by: Spike Curtis <spike@coder.com >
* code review improvements & fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* feat: integrate Acquirer for provisioner jobs
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports, whitespace
Signed-off-by: Spike Curtis <spike@coder.com >
* provisionerdserver always closes; remove poll interval from playwright
Signed-off-by: Spike Curtis <spike@coder.com >
* post jobs outside transactions
Signed-off-by: Spike Curtis <spike@coder.com >
* graceful shutdown in test
Signed-off-by: Spike Curtis <spike@coder.com >
* Mark AcquireJob deprecated
Signed-off-by: Spike Curtis <spike@coder.com >
* Graceful shutdown on all provisionerd tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Deprecate, not remove CLI flags
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-19 10:25:57 +04:00
dependabot[bot]
6cf531bfef
chore: bump typescript from 5.1.6 to 5.2.2 in /site ( #9743 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 08:32:14 +03:00
dependabot[bot]
8fe4401e23
chore: bump github.com/klauspost/compress from 1.16.5 to 1.17.0 ( #9735 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 05:30:04 +00:00
Cian Johnston
aa8652c928
fix(dbtestutil): avoid truncating inserts that span multiple lines ( #9756 )
2023-09-18 19:46:22 +00:00
Kayla Washburn
ed25f1449d
refactor: use a line graph for DAUChart ( #9758 )
2023-09-18 12:28:30 -06:00
Kayla Washburn
f85aa443dd
feat: show version messages in version lists ( #9708 )
2023-09-18 11:17:07 -06:00
Jon Ayers
622442203d
chore: fix test flake in TestProvisionerd ( #9709 )
2023-09-18 11:23:22 -05:00
Cian Johnston
45eadfc136
fix(cli): specify IgnoreErrors in slogtest options for scaletest cli tests ( #9751 )
...
* fix(cli): specify IgnoreErrors in slogtest options for scaletest cli tests
* bump test timeout
2023-09-18 16:39:28 +01:00
Asher
17f9991118
fix: reconnect terminal on non-modified key presses ( #9686 )
...
* Listen to web terminal keydown on capture
Instead of bubbling. I think maybe what happens here is that xterm is
capturing key presses and preventing the event from bubbling? So
setting the listener on the capture phase instead works around this.
Probably would also work to dipsose the terminal.
* Prevent issuing terminal reload when already reloading
I am not sure this actually causes any issues, but might as well.
* Ignore modifier keys for reconnecting terminal
2023-09-18 07:24:01 -08:00
Michael Smith
2caf7a7ceb
fix: remove just-debounce-it ( #9707 )
...
* fix: Switch UserAutocomplete to useDebouncedFunction
* fix: switch UserOrGroupAutocomplete to useDebouncedFunction
* chore: remove just-debounce-it dependency
* docs: Clean up comments
2023-09-18 14:20:11 +00:00
Bruno Quaresma
a2aff1f527
chore(site): replace xstate by react-query on update password ( #9696 )
2023-09-18 11:03:35 -03:00
Bruno Quaresma
e74d8a7b21
chore(site): refactor starter templates to use react-query ( #9697 )
...
* Remove starter templates service
* Remove starter template service
* Remove template x service
2023-09-18 11:02:55 -03:00
dependabot[bot]
e1bd6ddc25
chore: bump the otel group with 3 updates ( #9731 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:55:38 +03:00
dependabot[bot]
a989e8363b
chore: bump google.golang.org/api from 0.140.0 to 0.141.0 ( #9732 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:54:32 +03:00
dependabot[bot]
24bff1098d
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.54.0 to 1.55.0 ( #9734 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:53:40 +03:00
dependabot[bot]
1d8a4ed201
chore: bump jest-location-mock from 1.0.9 to 2.0.0 in /site ( #9727 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 13:46:08 +00:00
Bruno Quaresma
2319486806
chore(site): replace deployment stats service by react-query ( #9698 )
2023-09-18 10:44:52 -03:00
dependabot[bot]
5a22f08f3f
chore: bump @tanstack/react-query from 4.33.0 to 4.35.3 in /site ( #9738 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:34:56 +03:00
dependabot[bot]
d326f1b10c
chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #9726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:32:57 +03:00
dependabot[bot]
972425e3d4
chore: bump @playwright/test from 1.37.1 to 1.38.0 in /site ( #9739 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:32:42 +03:00
dependabot[bot]
b76a430d22
chore: bump github.com/valyala/fasthttp from 1.49.0 to 1.50.0 ( #9736 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:31:54 +03:00
dependabot[bot]
ea93b4bbe4
chore: bump react-icons from 4.10.1 to 4.11.0 in /offlinedocs ( #9740 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:31:48 +03:00
dependabot[bot]
bd3f2f8c10
chore: bump eslint from 8.48.0 to 8.49.0 in /offlinedocs ( #9742 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:31:16 +03:00
dependabot[bot]
010a13c654
chore: bump @testing-library/user-event from 14.4.3 to 14.5.1 in /site ( #9730 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:24:05 +03:00
dependabot[bot]
9c8140270a
chore: bump the react group in /site with 1 update ( #9723 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:23:35 +03:00
dependabot[bot]
c58e5bf09a
chore: bump the eslint group in /site with 1 update ( #9725 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 11:41:20 +00:00
Muhammad Atif Ali
3ed65de82e
chore: increase dependabot open pr limit for site ( #9728 )
2023-09-18 11:24:49 +00:00
dependabot[bot]
eb72866a29
ci: bump the github-actions group with 2 updates ( #9722 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 11:15:56 +00:00
Cian Johnston
1df7589105
feat(coderd/database/dbtestutil): add ability to dump database on failure ( #9704 )
...
Adds dbtestutil.DumpOnFailure() to allow dumping the entire test database contents upon test failure.
This does nothing for dbfake currently.
2023-09-18 11:50:15 +01:00
Muhammad Atif Ali
e6865e0df5
ci: remove example templates readme from docs filter ( #9720 )
2023-09-18 10:38:57 +00:00
Cian Johnston
9bcff30dee
fix(coderd/database): migrate workspaces.last_used_at to timestamptz ( #9699 )
2023-09-18 11:07:54 +01:00
Cian Johnston
1f5eb088b5
fix(examples): fix typo in examples.gen.json ( #9718 )
2023-09-18 09:09:30 +00:00
Cian Johnston
653488e8ee
fix(coderd): emit CollectedAt as UTC in convertWorkspaceAgentMetadata ( #9700 )
2023-09-18 09:17:18 +01:00
Ben Potter
5de5d20808
fix: remove broken fly.io template from starter templates ( #9711 )
...
Co-authored-by: Atif Ali <atif@coder.com >
2023-09-17 20:13:36 +03:00
sharkymark
b2f84668c8
docs: document display_apps feature to hide/show built-in coder_app resources ( #9714 )
...
* docs: display_apps feature to hide/show terminal, vscode desktop, port-forwarding, etc.
* Update docs/templates/index.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* Update docs/templates/index.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-17 15:13:56 +00:00
kpoxo6op
ab08b2c3e4
fix typo in README.md ( #9715 )
...
typo
2023-09-17 07:07:13 -05:00
Michael Smith
fcc8b9ec92
fix: prevent workspace search bar text from getting garbled ( #9703 )
...
* chore: Reorganize hook calls for useWorkspacesFilter
* refactor: Clean up some filter logic
* refactor: Create debounce utility hooks
* docs: Clean up comments for clarity
* fix: Update focus logic to apply for any inner focus
* fix: Add onBlur behavior for state syncs
* chore: Add progress for debounce test
* chore: Finish tests for debounce hooks
* docs: Add file description and warning
2023-09-15 15:55:59 -04:00
Ammar Bandukwala
b104e0ec0c
ci: cache datadog-ci ( #9702 )
2023-09-15 19:22:38 +00:00
Kayla Washburn
9e053ce220
feat: show update messages on workspace page ( #9705 )
2023-09-15 13:09:29 -06:00
Kayla Washburn
efe804498b
feat: add quiet hours settings page ( #9676 )
2023-09-15 11:14:33 -06:00
Cian Johnston
72dff7f188
fix(enterprise/dbcrypt): do not skip deleted users when encrypting or deleting ( #9694 )
...
- Broadens scope of data generation in TestServerDBCrypt over all user login types, statuses, and deletion status.
- Adds support for specifying user status / user deletion status in dbgen
- Adds more comprehensive logging in TestServerDBCrypt upon test failure (to be generalized and expanded upon in a follow-up)
- Adds AllUserIDs query, updates dbcrypt to use this instead of GetUsers.
2023-09-15 15:09:40 +01:00
Mathias Fredriksson
bc97eaa41b
feat(scaletest): add scaletest-runner template ( #9662 )
...
Closes #9571
2023-09-15 13:23:37 +00:00
Marcin Tojek
d0d64bbdca
refactor: define insights interval ( #9693 )
2023-09-15 12:01:00 +00:00
Cian Johnston
65db7a71b7
feat(coderd/database/dbtestutil): set default database timezone to non-UTC in unit tests ( #9672 )
...
- Adds dbtestutil.WithTimezone(tz) to allow setting the timezone for a test database.
- Modifies our test database setup code to pick a consistently weird timezone for the database.
- Adds the facility randtz.Name() to pick a random timezone which is consistent across subtests (via sync.Once).
- Adds a linter rule to warn against setting the test database timezone to UTC.
2023-09-15 09:01:32 +01:00
Ammar Bandukwala
281faf9ccd
ci: upgrade runners ( #9689 )
...
Per DataDog, I've doubled the resources of our slowest jobs.
2023-09-14 20:20:39 -05:00
Ammar Bandukwala
b63dfe7b75
perf(cli): optimize CPU consumption of help pages ( #9607 )
...
This change reduces the CPU consumption of --help by ~50%.
Also, this change removes ANSI escape codes from our golden files. I
don't think those were worth the inability to parallelize golden file tests and
global state fragility.
2023-09-14 19:48:29 -05:00
Jon Ayers
7311ffbd9d
feat: implement agent process management ( #9461 )
...
- An opt-in feature has been added to the agent to allow
deprioritizing non coder-related processes for CPU by setting their
niceness level to 10.
- Opting in to the feature requires setting CODER_PROC_PRIO_MGMT to a non-empty value.
2023-09-14 19:45:05 -05:00
Bruno Quaresma
79d4179123
chore(site): migrate a few services to react-query used in the DashboardProvider ( #9667 )
2023-09-14 19:35:03 -03:00
Bruno Quaresma
3b088a5cb8
chore(site): refactor deployment values service to react-query ( #9669 )
2023-09-14 18:49:23 -03:00
Marcin Tojek
225cf8acec
chore: print page content on failed promise ( #9681 )
2023-09-14 13:30:46 +02:00
Marcin Tojek
dcad0a437c
fix: wait for build job ( #9680 )
2023-09-14 11:20:09 +02:00
Cian Johnston
8b6e2862fd
refactor(coderd): collapse activityBumpWorkspace into a single query ( #9652 )
...
* Adds unit-style tests for activityBumpWorkspace
* Ports logic of activityBumpWorkspace to a SQL query
* Updates activityBumpWorkspace to call above query
2023-09-14 09:09:51 +01:00
Colin Adler
38560dd922
chore: remove coder trace telemetry ( #9677 )
2023-09-14 02:20:28 -04:00
Bruno Quaresma
e7b0181519
feat(site): add support to .sh and .tpl files ( #9674 )
2023-09-13 16:27:02 -03:00
Steven Masley
e0e6d7c9a6
fix: case insensitve agent ssh session env var ( #9675 )
2023-09-13 14:18:00 -05:00
Steven Masley
0e4d6896e3
test: fix cleanup order on provisioner daemon work dir ( #9668 )
...
* test: fix cleanup order on provisioner daemon work dir
* Reduce the test race condition
2023-09-13 13:13:08 -05:00
Kayla Washburn
53a985ff11
refactor: clean up workspace and template settings ( #9654 )
2023-09-13 11:55:27 -06:00
dependabot[bot]
6c409b8872
chore: bump chromatic from 6.24.1 to 7.1.0 in /site ( #9629 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.24.1 to 7.1.0.
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.24.1...v7.1.0 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 14:49:54 -03:00
Jon Ayers
3dc1e22d56
feat: add template_id and template_name to workspace data source ( #9655 )
2023-09-13 11:09:08 -05:00
Marcin Tojek
d171b3611b
fix: flaky: TestDeleteTemplate/NoWorkspaces ( #9666 )
2023-09-13 17:05:08 +02:00
Cian Johnston
3be783b319
fix(scaletest/workspacetraffic): wait for non-zero metrics before cancelling in TestRun ( #9663 )
2023-09-13 15:54:56 +01:00
Muhammad Atif Ali
254f459d69
chore(dogfood): add a coder_app for JetBrains gateway IDEs ( #9644 )
2023-09-13 17:49:36 +03:00
Marcin Tojek
a229855e71
test(site): e2e: improve webTerminal test ( #9659 )
2023-09-13 16:18:10 +02:00
Spike Curtis
4ebf490d97
feat: add Acquirer to provisionerdserver pkg ( #9658 )
...
* chore: add Acquirer to provisionerdserver pkg
Signed-off-by: Spike Curtis <spike@coder.com >
* code review improvements & fixes
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-13 16:36:43 +04:00
Cian Johnston
2ac532982d
feat(coderd/database): generate foreign key constraints and add database.IsForeignKeyViolation ( #9657 )
...
* feat(coderd/database): generate foreign key constraints, add database.IsForeignKeyViolation
* address PR comments
2023-09-13 13:28:46 +01:00
Cian Johnston
a6f7f71808
chore(docs/admin): update encryption.md ( #9660 )
2023-09-13 12:56:20 +01:00
Marcin Tojek
e2579e9440
test: fix flaky TestPatchTemplateMeta/Modified ( #9656 )
2023-09-13 11:34:53 +02:00
Steven Masley
18c34ee456
chore: support external types in typescript codegen ( #9633 )
...
* chore: support external types in typescript codegen
* fix enums on external packages
* Support clibase.struct
* Add regexp
* Make gen with updated generator
2023-09-12 18:21:09 -05:00
Bruno Quaresma
641bf272ed
fix(site): fix renderer error ( #9653 )
2023-09-12 19:59:09 -03:00
Kayla Washburn
0726eb56bb
fix: update autostart/autostop text ( #9650 )
2023-09-12 15:29:39 -06:00
Bruno Quaresma
b3c98395ab
chore(site): use react-query to fetch roles ( #9630 )
2023-09-12 15:07:56 -03:00
Bruno Quaresma
b33cb0ef97
chore(site): refactor workspace quota to use react-query instead of XState ( #9626 )
2023-09-12 14:58:35 -03:00
Julio
64bc317cd4
Doc - Remove sysbox 16 pods max. ( #9646 )
2023-09-12 17:49:51 +00:00
Bruno Quaresma
5ca8c4287f
chore(site): move ssh keys management to react-query ( #9625 )
2023-09-12 14:40:07 -03:00
Bruno Quaresma
6db89b0372
chore(site): move templates fetching to react-query ( #9622 )
2023-09-12 14:09:16 -03:00
Bruno Quaresma
b7550bfda5
chore(site): remove unecessary types and move types to where they are used ( #9621 )
2023-09-12 13:54:05 -03:00
Marcin Tojek
0e28397c82
fix: use CRC32 to shorten app subdomain ( #9645 )
2023-09-12 17:11:45 +02:00
Marcin Tojek
898971b329
refactor: generate application URL on backend side ( #9618 )
2023-09-12 15:25:10 +02:00
dependabot[bot]
228d1cf361
chore: bump the eslint group in /site with 3 updates ( #9639 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:25:04 +00:00
dependabot[bot]
531e1334af
chore: bump monaco-editor from 0.41.0 to 0.43.0 in /site ( #9642 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.41.0 to 0.43.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.41.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
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-09-12 12:56:43 +03:00
dependabot[bot]
7f126758a5
chore: bump jest-websocket-mock from 2.4.0 to 2.5.0 in /site ( #9641 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:24:10 +00:00
dependabot[bot]
d49bc2003b
chore: bump msw from 1.2.2 to 1.3.0 in /site ( #9640 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 12:16:16 +03:00
dependabot[bot]
8b08a78168
chore: bump google.golang.org/api from 0.138.0 to 0.140.0 ( #9636 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 08:45:29 +00:00
Muhammad Atif Ali
f1f522a9a7
revert: "chore: bump the eslint group in /site with 3 updates" ( #9638 )
2023-09-12 11:26:51 +03:00
dependabot[bot]
2c19995712
ci: bump the github-actions group with 2 updates ( #9620 )
...
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
Updates `crate-ci/typos` from 1.16.10 to 1.16.11
- [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.10...v1.16.11 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: crate-ci/typos
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-09-12 10:22:22 +03:00
dependabot[bot]
e85981713d
chore: bump the xterm group in /site with 6 updates ( #9627 )
...
Bumps the xterm group in /site with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [xterm](https://github.com/xtermjs/xterm.js ) | `5.2.1` | `5.3.0` |
| [xterm-addon-canvas](https://github.com/xtermjs/xterm.js ) | `0.4.0` | `0.5.0` |
| [xterm-addon-fit](https://github.com/xtermjs/xterm.js ) | `0.7.0` | `0.8.0` |
| [xterm-addon-unicode11](https://github.com/xtermjs/xterm.js ) | `0.5.0` | `0.6.0` |
| [xterm-addon-web-links](https://github.com/xtermjs/xterm.js ) | `0.8.0` | `0.9.0` |
| [xterm-addon-webgl](https://github.com/xtermjs/xterm.js ) | `0.15.0` | `0.16.0` |
Updates `xterm` from 5.2.1 to 5.3.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/5.2.1...5.3.0 )
Updates `xterm-addon-canvas` from 0.4.0 to 0.5.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.4...0.5 )
Updates `xterm-addon-fit` from 0.7.0 to 0.8.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.7...0.8 )
Updates `xterm-addon-unicode11` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.6 )
Updates `xterm-addon-web-links` from 0.8.0 to 0.9.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.8...0.9 )
Updates `xterm-addon-webgl` from 0.15.0 to 0.16.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.15...0.16 )
---
updated-dependencies:
- dependency-name: xterm
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-canvas
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-fit
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-unicode11
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-web-links
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
- dependency-name: xterm-addon-webgl
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: xterm
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:21:59 +03:00
dependabot[bot]
140a7d2de2
chore: bump the eslint group in /site with 3 updates ( #9628 )
...
Bumps the eslint group in /site with 3 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) and [eslint](https://github.com/eslint/eslint ).
Updates `@typescript-eslint/eslint-plugin` from 6.5.0 to 6.7.0
- [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/v6.7.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 6.5.0 to 6.7.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.0/packages/parser )
Updates `eslint` from 8.48.0 to 8.49.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.48.0...v8.49.0 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 10:21:47 +03:00
dependabot[bot]
3e0969004d
chore: bump ts-proto from 1.156.0 to 1.157.0 in /site ( #9631 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.156.0 to 1.157.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.156.0...v1.157.0 )
---
updated-dependencies:
- dependency-name: ts-proto
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>
2023-09-12 10:21:09 +03:00
dependabot[bot]
abbd780373
chore: bump cronstrue from 2.31.0 to 2.32.0 in /site ( #9632 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.31.0...v2.32.0 )
---
updated-dependencies:
- dependency-name: cronstrue
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-09-12 10:20:54 +03:00
dependabot[bot]
d4bdb96883
chore: bump google.golang.org/grpc from 1.57.0 to 1.58.0 ( #9563 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.57.0 to 1.58.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.58.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
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-09-12 10:18:21 +03:00
Kayla Washburn
13acf5976c
chore: remove i18next ( #9608 )
2023-09-11 11:17:58 -06:00
Marcin Tojek
1a1c230534
fix(docs): skip >> character ( #9616 )
2023-09-11 12:23:40 +02:00
Marcin Tojek
67fe3ae8d6
feat: clean stale provisioner files ( #9545 )
2023-09-11 07:37:14 +00:00
sharkymark
d055f93706
Docs coder apps web ides ( #9613 )
...
* chore: document external URLs, refresh web IDE images
* chore: coder_app external URL, updated images, file browser
* Update docs/ides/web-ides.md
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-10 20:26:59 +00:00
Muhammad Atif Ali
84ede326e8
docs: add VS Code Web to web-ides ( #9591 )
2023-09-10 02:32:41 +00:00
Ammar Bandukwala
f703a5b34e
chore(cli): lighten flags on help page ( #9606 )
2023-09-08 13:43:56 -05:00
Ammar Bandukwala
e361f1107b
feat(cli): colorize help page ( #9589 )
2023-09-08 18:21:33 +00:00
Bruno Quaresma
11404af9ca
chore(site): update files to use a more standard naming ( #9605 )
2023-09-08 15:14:41 -03:00
Bruno Quaresma
554ddb11cd
chore(site): refactor stories and test from page components ( #9603 )
...
* Refactor AuditPage
* Refactor CliAuthPageView stories
* Refactor CreateTemplateForm stories
* Refactor CreateUserPage test
* Refactor CreateWorkspacePage tests
* Fix stories name
* Refactor AppereancePageView stories
* Refactor GitAuthSettingsPageView stories
* Refactor NetworkSettingsPageView stories
* Refactor SecuritySettingsPageView stories
* Refactor UserAuthSettingsPageView stories
* Refactor GroupsPage stories
* Refactor LoginPage tests
* Refactor SetupPage stories
* Refactor StarterTemplatePageView stories
* Refactor StarterTemplatesPage tests
* Refactor TemplatePage tests
* RefactorTemplateSettingsPage tests
* Refactor TemplatesPage tests
* Flat TemplateVersionEditorPage
* Refactor TemplateVersionPage stories
* Refactor UserSettingsPage stories
* Refactor UsersPage stories
* Simplify IndexPage
* Refactor WorkspaceSettingsPage stories
* Refactor WorkspacePage stories
* Refactor Conditionals stories
* Fix typo
* Fix imports
* Fix ChooseOne story
* Fix UserAuthSettingsPageView stories
2023-09-08 15:14:13 -03:00
David Morcillo
9e5a59e222
Update upgrade.md ( #9569 )
...
Fix wrong docker-compose update instructions.
2023-09-08 10:38:35 -04:00
Marcin Tojek
ad23075e1b
refactor: build application URL ( #9601 )
...
* refactor: build application URL
* fix
2023-09-08 14:01:57 +00:00
Cian Johnston
392b11272b
fixup! fix(scripts): modify logic for determining terraform arch ( #9595 ) ( #9596 )
2023-09-08 11:07:57 +00:00
Cian Johnston
a3a16a1586
fix(scripts): modify logic for determining terraform arch ( #9595 )
...
Commit fb3616c used a build-arg to set the desired terrafomr
architeture to fetch. This is set in build_docker.sh but not
when building using depot.dev. Baking the logic into the
Dockerfile instead.
2023-09-08 10:47:51 +00:00
Spike Curtis
8d7eb1728c
fix: stop inserting provisioner daemons into the database ( #9108 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-08 10:37:36 +00:00
Cian Johnston
fb3616c37e
fix(scripts): wget terraform directly from releases.hashicorp.com ( #9594 )
2023-09-08 10:02:18 +00:00
Spike Curtis
11b6068112
feat: add support for networked provisioners ( #9593 )
...
* Refactor provisionerd to use interface to connect to provisioners
Signed-off-by: Spike Curtis <spike@coder.com >
* feat: add support for networked provisioners
Signed-off-by: Spike Curtis <spike@coder.com >
* fix token length and linting
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-08 09:53:48 +00:00
Kayla Washburn
8b51a2f3c5
docs: mention the need for permission to read email addresses ( #9588 )
2023-09-07 16:40:22 -06:00
Ammar Bandukwala
dd97fe2bce
chore(cli): replace lipgloss with coder/pretty ( #9564 )
...
This change will improve over CLI performance and "snappiness" as well as
substantially reduce our test times. Preliminary benchmarks show
`coder server --help` times cut from 300ms to 120ms on my dogfood
instance.
The inefficiency of lipgloss disproportionately impacts our system, as all help
text for every command is generated whenever any command is invoked.
The `pretty` API could clean up a lot of the code (e.g., by replacing
complex string concatenations with Printf), but this commit is too
expansive as is so that work will be done in a follow up.
2023-09-07 16:28:22 -05:00
Kayla Washburn
8421f56137
refactor: bring back updated install.sh with patches ( #9583 )
2023-09-07 21:17:16 +00:00
Eric Paulsen
ccda1c5c7d
fix: rm tf provider versions in examples/ ( #9586 )
2023-09-07 18:53:23 +00:00
Cian Johnston
0306631518
fix(docs): fix broken link ( #9585 )
2023-09-07 18:36:26 +00:00
Bruno Quaresma
869d040cc6
chore(site): refactor stories and tests from components directory ( #9578 )
...
* Refactor Alert
* Refactor Avatar and its stories
* Refactor AvatarData and its stories
* Refactor CodeExample and its tests
* Refactor ServiceBanner stories
* Refactor Navbar and its tests
* Refactor ServiceBanner stories
* Refactor LicenseBannerView stories
* Refactor DeploymentBannerView stories
* Extract optionValue into a module
* Refactor DeleteDialog stories
* Refactor ConfirmDialog tests
* Refactor EmptyState tests
* Flat ErrorBoundaryState and refactor stories
* Refactor Expander stories
* Refactor FormFooter stories
* Refactor FullPageForm stories
* Refactor EnterpriseSnackbar stories
* Refactor GroupAvatar stories
* Refactor HelpTooltip stories and remove index
* Remove unecessary types module from IconField
* Refactor LoadingButton stories
* Refactor Margins stories
* Refactor Markdown stories
* Refactor PageHeader stories
* Refactor PageButton tests
* Refactor Pill stories
* Refactor Resources stories
* Refactor RichParameterInput stories and flat MultiTextField
* Remove unecessary Stack story
* Refactor TableRowMenu stories
* Refactor TemplateLayout stories
* Refactor Typography props
* Refactor UserAutocomplete
* Refactor WorkspaceBuildLogs components and tests
* Refactor WorkspaceStatusBadge stories
* Fix wrong imports
* Remove Example.args pattern
* Fix wrong import
* Refactor EmptyState stories
* Refactor HelpTooltip stories
* Remove not valid ErrorAlert story
* Fix AvatarData story
* Add border back to CodeExample
* Fix Navbar story
* Fix AgentRow proxy in the stories
2023-09-07 18:38:28 +02:00
Kayla Washburn
4f142fa959
feat: add minimal frontend for creating workspaces from specific template versions ( #9475 )
2023-09-07 10:33:42 -06:00
Mathias Fredriksson
40fcabfa0e
chore(go.mod): update github.com/hashicorp/terraform-json to main ( #9582 )
2023-09-07 16:06:28 +00:00
Cian Johnston
7d7c84bb4d
feat(coderd): connect dbcrypt package implementation ( #9523 )
...
See also: https://github.com/coder/coder/pull/9522
- Adds commands `server dbcrypt {rotate,decrypt,delete}` to re-encrypt, decrypt, or delete encrypted data, respectively.
- Plumbs through dbcrypt in enterprise/coderd (including unit tests).
- Adds documentation in admin/encryption.md.
This enables dbcrypt by default, but the feature is soft-enforced on supplying external token encryption keys. Without specifying any keys, encryption/decryption is a no-op.
2023-09-07 15:49:49 +01:00
Mathias Fredriksson
ed7f682fd1
chore(go.mod): update github.com/hashicorp/terraform-json to v0.17.1 ( #9570 )
2023-09-07 14:55:39 +03:00
dependabot[bot]
5a6f6e5679
chore: bump the golang-x group with 4 updates ( #9562 )
...
Bumps the golang-x group with 4 updates: [golang.org/x/crypto](https://github.com/golang/crypto ), [golang.org/x/net](https://github.com/golang/net ), [golang.org/x/oauth2](https://github.com/golang/oauth2 ) and [golang.org/x/tools](https://github.com/golang/tools ).
Updates `golang.org/x/crypto` from 0.12.0 to 0.13.0
- [Commits](https://github.com/golang/crypto/compare/v0.12.0...v0.13.0 )
Updates `golang.org/x/net` from 0.14.0 to 0.15.0
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.15.0 )
Updates `golang.org/x/oauth2` from 0.11.0 to 0.12.0
- [Commits](https://github.com/golang/oauth2/compare/v0.11.0...v0.12.0 )
Updates `golang.org/x/tools` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 08:26:40 +00:00
Kayla Washburn
fd565e0e0b
chore: enable test-2e ( #9567 )
2023-09-07 05:49:40 +00:00
Kayla Washburn
bfff88d2d3
revert: improve flag interpretation for install.sh ( #9566 )
2023-09-07 05:29:52 +00:00
Muhammad Atif Ali
2dae60038a
fix(docs): fix manifest of gcp docs ( #9559 )
2023-09-06 22:21:00 +03:00
Kayla Washburn
fd8a86808f
chore: add #9555 to .git-blame-ignore-revs ( #9557 )
2023-09-06 13:10:58 -06:00
Kayla Washburn
988c9af015
chore: format code with semicolons when using prettier ( #9555 )
2023-09-06 12:59:26 -06:00
Muhammad Atif Ali
bef38b8413
docs: update google-cloud-platform docs to use our marketplace image ( #9549 )
2023-09-06 21:58:14 +03:00
Kayla Washburn
4ed8dd0d6c
refactor: improve flag interpretation for install.sh ( #9554 )
2023-09-06 12:57:28 -06:00
Bruno Quaresma
b15bfa41c2
chore(site): move components close to where they are used ( #9552 )
...
* Move AppLink
* Move AuditLogRow
* Move UserDropdown
* Move BuildsTable
* Remove CodeBlock
* Move CreateUserForm
* Move DeploymentBanner
* Move ResetPassworDialog
* Move EditRolesButton
* Move EnterpriseSnackbar
* Move GitAuth
* Move LicenseBanner
* Move Logs
* Move MultiTextField
* Move Navbar
* Remove PasswordField
* Move RuntimeErrorState
* Remove Section
* Move SectionAction
* Move ServiceBanner
* Move SettingsAccountForm
* Move LicenseCard
* Move SettingsSecurityForm
* Move SignInForm
* Remove TabPanel and TabSidebar
* Move TemplateStats and TemplateVariableField
* Move TemplateEditor
* Move TerminalLink
* Move SSH Button
* Move many tooltips
* Move UsersTable
* Move VersionsTable
* Move VSCodeDesktopButton
* Remove WarningAlert
* Move Workspace
* Move WorkspaceActions
* Move WorkspaceBuildProgress
* Move WorkspaceDeletedBanner
* Move WorkspaceScheduleForm
* Move WorkspaceSection
* Move WorkspaceStats
* Fix imports
* Flat CreateUserForm
* Flat GitAuth
* Transform WorkspaceSection into ChartSection
* Flat AccountForm
* Flat ConfirmDeleteDialog
* Flat ResetPasswordDialog
* Flat BuildsTable
2023-09-06 18:06:08 +00:00
Kayla Washburn
75139d1d06
refactor(site): update versions table design ( #9540 )
2023-09-06 08:31:07 -06:00
Ben Potter
1bcc4152af
chore: avoid formatting changelogs ( #9548 )
2023-09-06 14:26:50 +00:00
Eric Paulsen
4ec2fea66b
docs: fix psk secret cmd ( #9524 )
2023-09-06 09:04:44 -04:00
Cian Johnston
7918e65510
feat(coderd): add dbcrypt package ( #9522 )
...
- Adds package enterprise/dbcrypt to implement database encryption/decryption
- Adds table dbcrypt_keys and associated queries
- Adds columns oauth_access_token_key_id and oauth_refresh_token_key_id
to tables git_auth_links and user_links
Co-authored-by: Kyle Carberry <kyle@coder.com >
2023-09-06 12:06:26 +01:00
Spike Curtis
3bd0fd396c
feat: add boringcrypto builds for linux ( #9543 )
...
This reverts commit da0ef92f77 .
2023-09-06 12:48:27 +04:00
Kayla Washburn
2849895832
fix: use $coder_version instead of hardcoded version in release script ( #9539 )
2023-09-05 17:30:54 -06:00
Ben Potter
66019ef70a
docs: add v2.1.6 changelog ( #9538 )
2023-09-05 21:44:12 +00:00
Alexis Emerson
d85c354507
docs: add CODER_TLS_ADDRESS to documentation for TLS setup ( #9503 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-09-05 19:07:56 +00:00
Steven Masley
630d125286
chore: fix typo in OpenID on cli help ( #9535 )
2023-09-05 18:37:21 +00:00
Muhammad Atif Ali
2487e64d25
fix(docs): fix broken markdown links ( #9534 )
2023-09-05 18:12:04 +00:00
Kyle Carberry
82e238b0c6
chore: exclude generated files from vscode search by default ( #9530 )
...
Anyone can feel free to revert some of these, but they were constantly
annoying when searching for symbols in our code.
2023-09-05 15:05:46 +00:00
Steven Masley
58f7071569
fix: make 'NoRefresh' honor unlimited tokens in gitauth ( #9472 )
...
* chore: fix NoRefresh to honor unlimited tokens
* improve testing coverage of gitauth
* refactor rest of gitauth tests
2023-09-05 09:08:04 -05:00
Kyle Carberry
da0ef92f77
Revert "feat: add boringcrypto builds for linux ( #9528 )" ( #9529 )
...
This reverts commit 79cd6047dc .
2023-09-05 08:37:07 -05:00
Spike Curtis
79cd6047dc
feat: add boringcrypto builds for linux ( #9528 )
...
* feat: add boringcrypto builds for linux
Signed-off-by: Spike Curtis <spike@coder.com >
* strip debug symbols, add BoringCryto to buildinfo
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix TestVersion
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-09-05 13:12:38 +00:00
dependabot[bot]
ce08c47b8a
chore: bump github.com/gohugoio/hugo from 0.117.0 to 0.118.2 ( #9516 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.117.0 to 0.118.2.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.117.0...v0.118.2 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
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-09-05 11:52:26 +03:00
Mathias Fredriksson
76ab22f539
chore(coderd/database): introduce compile-time guard against import in slim build ( #9521 )
...
This change introduces a compile-time error when `coderd/database` is
imported into the slim build. This is to guard against accidentally
growing the binary size via import.
Ref: #9380
2023-09-04 19:01:11 +00:00
Mathias Fredriksson
adba421524
refactor(coderd/telemetry): move CLI telemetry to cli/telemetry ( #9517 )
...
This change removes an indirect import of `coderd/database` from the
slim binary.
No size change (yet).
Ref: #9380
2023-09-04 21:42:45 +03:00
Mathias Fredriksson
b240799f47
refactor(cli): use codersdk for provisioner types ( #9508 )
...
This change removes one use of `coderd/database` from the slim binary
and more correctly uses codersdk instead of database or provisionerd
packages.
No size change (yet).
Ref: #9380
2023-09-04 21:42:15 +03:00
Mathias Fredriksson
39e3b049a5
refactor(coderd/healthcheck): move derp report to derphealth package ( #9506 )
...
This change helps remove one indirect use of coderd/database in the slim
CLI.
No size change (yet).
Ref: #9380
2023-09-04 21:41:50 +03:00
Mathias Fredriksson
a1025f92af
refactor(examples): pre-parse frontmatter via scripts/examplegen ( #9514 )
...
* refactor(examples): pre-parse frontmatter via scripts/examplegen
This removes 2 MB from the slim binary.
Ref: #9380
2023-09-04 20:15:29 +03:00
Mathias Fredriksson
6fc1f5276d
refactor(coderd/httpapi): remove database, dbauthz and rbac imports ( #9481 )
...
Ref: #9380
2023-09-04 19:39:14 +03:00
Mathias Fredriksson
d2115941b7
refactor(cli)!: remove reset-password from slim binary ( #9520 )
...
This is an alternative approach to #9519 and removes 2 MB instead of 1
MB (1.2 MB accounted for by embedded migration SQL files).
Combined with #9481 , #9506 , #9508 , #9517 , a total of 5 MB is removed.
Ref: #9380
2023-09-04 19:38:53 +03:00
Mathias Fredriksson
ad23d33f28
refactor(coderd/schedule): move cron schedule to cron package ( #9507 )
...
This removes an indirect import of `coderd/database` from the CLI and
results in a logical separation between server related and generalized
schedule.
No size change (yet).
Ref: #9380
2023-09-04 16:48:25 +03:00
dependabot[bot]
c31292abe8
ci: bump the github-actions group with 2 updates ( #9509 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 16:29:56 +03:00
Muhammad Atif Ali
29b2eaa217
fix(cli/dotfiles): add an exception for .gitconfig ( #9515 )
...
* fix(cli/dotfiles): Only ignore .git directory
Resolves #8306
* fix fmt
* add exception for .gitconfig
* Update dotfiles.go
2023-09-04 13:17:07 +00:00
Marcin Tojek
aa94d89f97
test: improve E2E framework ( #9469 )
2023-09-04 14:46:48 +02:00
dependabot[bot]
91cb9c65f9
chore: bump github.com/hashicorp/hc-install from 0.5.2 to 0.6.0 ( #9511 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:29:10 +03:00
dependabot[bot]
c2be893b7f
chore: bump github.com/open-policy-agent/opa from 0.55.0 to 0.56.0 ( #9512 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:28:51 +03:00
dependabot[bot]
c5714f2b47
chore: bump github.com/swaggo/swag from 1.8.6 to 1.16.2 ( #9513 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:28:39 +03:00
dependabot[bot]
cb5347bb12
chore: bump the golang-x group with 3 updates ( #9510 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:27:03 +03:00
Bruno Quaresma
b9f604c58d
fix(site): fix workspace parameters update when having immutable parameters ( #9500 )
2023-09-03 21:56:25 -03:00
Ben Potter
f5829d2be6
chore(dogfood): authenticate to coder CLI if unauthenticated ( #9487 )
2023-09-04 02:26:48 +03:00
Kyle Carberry
05439d2c1b
fix: generate username with uuid to prevent collision ( #9496 )
...
See https://github.com/coder/coder/actions/runs/6052801777/job/16426982174
2023-09-03 18:02:28 +00:00
sharkymark
43ebf667f0
docs: explain why coder port-forward is more performant than dashboard and sshd ( #9494 )
2023-09-03 10:10:48 -05:00
Mathias Fredriksson
18c9f33dec
chore: use tailscale extra small buildflags ( #9490 )
...
Ref: #9380
2023-09-01 19:14:56 +00:00
Mathias Fredriksson
27ab0d9a84
refactor(enterprise/cli): remove provisionerd from slim binary ( #9488 )
...
This change saves 8 MB in the slim binary.
Ref: #9380
2023-09-01 18:26:44 +00:00
Mathias Fredriksson
19d7da3d24
refactor(coderd/database): split Time and Now into dbtime package ( #9482 )
...
Ref: #9380
2023-09-01 16:50:12 +00:00
Mathias Fredriksson
702b064cac
refactor: split coderd/gitauth into two, add cli/gitauth ( #9479 )
...
* refactor: split coderd/gitauth into two, add cli/gitauth
Ref: #9380
2023-09-01 15:41:22 +00:00
Mathias Fredriksson
d8718c3818
chore: add ts_omit_aws tag to remove aws dependency pulled in by tailscale ( #9486 )
...
On Linux, this saves us 7 MB.
Ref: #9380
2023-09-01 18:37:49 +03:00
Mathias Fredriksson
f1f9cb030d
refactor(cli): avoid importing coderd in slim server ( #9483 )
...
This small change removes 11 MB from the slim binary size.
Ref: #9380
2023-09-01 13:32:21 +00:00
Marcin Tojek
5d7a77911e
fix: use getProvisionerJobByIDNoLock ( #9484 )
2023-09-01 13:21:18 +00:00
Cian Johnston
bc9fdd15f2
fix(enterprise/cli): correctly set default tags for PSK auth ( #9436 )
...
* provisionerd: unconditionally set tag scope to org for psk auth
* provisionerd: add unit tests for MutateTags
* cli: add some informational logging around provisionerd tags
* cli: respect CODER_VERBOSE when initializing logger
2023-09-01 10:37:09 +01:00
Colin Adler
8ee6178c66
chore(tailnet): fix MultiAgentConn mockgen ( #9476 )
2023-08-31 22:37:05 +00:00
Kayla Washburn
eded7a4b88
feat: create a workspace from any template version ( #9471 )
2023-08-31 15:07:58 -06:00
Colin Adler
796a9754a9
feat(enterprise/audit): add user object to slog exporter ( #9456 )
2023-08-31 13:32:28 -05:00
Marcin Tojek
11d4b6f758
chore: move dormancy to enterprise package ( #9468 )
2023-08-31 17:59:53 +02:00
Marcin Tojek
7c4ce62a58
test(site): print agent logs ( #9464 )
2023-08-31 14:44:44 +02:00
Cian Johnston
22f31e721c
fix(coderd/prometheusmetrics): close batcher to force flush before asserting agent stats ( #9465 )
2023-08-31 11:40:57 +01:00
Cian Johnston
fd17857095
fix(cli): template pull tests: await template version job before exiting ( #9430 )
2023-08-31 11:40:24 +01:00
Spike Curtis
ed50acaabf
fix: don't log error on context cancel ( #9463 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-31 12:08:18 +04:00
Muhammad Atif Ali
73976dd076
fix: fix aws_linux template ( #9349 )
2023-08-31 04:24:10 +03:00
dependabot[bot]
2aa66ad7c3
chore: bump monaco-editor from 0.40.0 to 0.41.0 in /site ( #9458 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 02:23:32 +03:00
dependabot[bot]
723bba98ff
chore: bump jest-canvas-mock from 2.4.0 to 2.5.2 in /site ( #9460 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 02:22:54 +03:00
dependabot[bot]
83cee77de0
chore: bump cronstrue from 2.28.0 to 2.31.0 in /site ( #9459 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 02:22:39 +03:00
dependabot[bot]
f4affda554
chore: bump cron-parser from 4.7.0 to 4.9.0 in /site ( #9455 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 23:13:48 +00:00
dependabot[bot]
03052c2e64
chore: bump @testing-library/jest-dom ( #9375 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
2023-08-30 23:02:01 +00:00
dependabot[bot]
e8047838b3
chore: bump chart.js from 4.3.3 to 4.4.0 in /site ( #9454 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 22:45:59 +00:00
dependabot[bot]
8841e23065
chore: bump the eslint group in /site with 7 updates ( #9450 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
2023-08-31 01:42:48 +03:00
dependabot[bot]
c6f0d5a6e0
chore: bump axios from 1.3.4 to 1.5.0 in /site ( #9452 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.3.4 to 1.5.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.3.4...v1.5.0 )
---
updated-dependencies:
- dependency-name: axios
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-08-30 19:38:10 -03:00
dependabot[bot]
a67bd2ce3b
chore: bump @tanstack/react-query from 4.32.0 to 4.33.0 in /site ( #9453 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 01:31:00 +03:00
Kayla Washburn
4c91146cb8
fix: hide OIDC and Github auth settings when they are disabled ( #9447 )
2023-08-30 15:56:18 -06:00
Ammar Bandukwala
8f3b4075c7
ci: enable nestif linter ( #9363 )
2023-08-30 21:50:43 +00:00
Bruno Quaresma
d29696296f
refactor(site): refactor rich parameter input and form initial data ( #9440 )
2023-08-30 18:42:36 -03:00
dependabot[bot]
db93f17dab
chore: bump eslint from 8.46.0 to 8.48.0 in /offlinedocs ( #9366 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:31:11 +03:00
dependabot[bot]
6268904421
chore: bump the storybook group in /site with 7 updates ( #9449 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:27:46 +03:00
Steven Masley
e827278db7
feat: failed update refresh should redirect to login ( #9442 )
...
* chore: update refresh oauth token message
* chore: unauthorized -> forbidden for non authentication failures
* redirect to login on all 401 responses
* add unit test to verify 401 on expired refresh
2023-08-30 16:14:24 -05:00
dependabot[bot]
b9fbc541c6
chore: bump framer-motion from 10.15.0 to 10.16.1 in /offlinedocs ( #9369 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:14:02 +03:00
dependabot[bot]
2bc8ba251d
chore: bump archiver from 5.3.1 to 6.0.0 in /offlinedocs ( #9367 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:13:52 +03:00
dependabot[bot]
5b1da77291
chore: bump github.com/valyala/fasthttp from 1.48.0 to 1.49.0 ( #9385 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:13:19 +03:00
dependabot[bot]
e4543e0e14
chore: bump the otel group with 4 updates ( #9413 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:12:42 +03:00
dependabot[bot]
2c1b92b1d2
chore: bump chromatic from 6.20.0 to 6.24.1 in /site ( #9377 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:11:05 +03:00
dependabot[bot]
bb478d4939
chore: bump @playwright/test from 1.36.0 to 1.37.1 in /site ( #9378 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 00:10:31 +03:00
Dean Sheather
1de61246a3
feat: add experimental template autostop requirement template settings UI ( #9417 )
2023-08-30 20:41:27 +00:00
Kayla Washburn
d2462e5b88
docs: add macOS installation page ( #9443 )
2023-08-30 14:37:51 -06:00
Denbeigh Stevens
53a5f18ba4
fix(examples): remove reference to non-existent local variable ( #9448 )
2023-08-30 20:14:11 +00:00
Jon Ayers
ee24260614
feat: allow configuring display apps from template ( #9100 )
2023-08-30 14:53:42 -05:00
Kayla Washburn
9c9d035354
feat: automate updating homebrew tap formula ( #9412 )
2023-08-30 13:44:38 -06:00
Kayla Washburn
c6f4f0f8ad
feat: install from homebrew in install.sh ( #9414 )
2023-08-30 11:58:53 -06:00
Mathias Fredriksson
21f3282c82
chore(dogfood): fix code-server folder ( #9437 )
2023-08-30 20:08:06 +03:00
Bruno Quaresma
a2516b5fc3
fix(site): remove checkbox from ws table loader ( #9441 )
2023-08-30 14:06:39 -03:00
Marcin Tojek
2377ab6624
test(site): improve E2E framework ( #9438 )
2023-08-30 15:34:45 +00:00
Steven Masley
a910e934a4
chore: improve error message around gitaskpass failures ( #9407 )
2023-08-30 08:58:31 -05:00
Bruno Quaresma
2399063a56
feat(site): make workspace batch deletion GA ( #9313 )
2023-08-30 10:08:42 -03:00
Spike Curtis
90acf998bf
fix: fix null pointer on external provisioner daemons with daily_cost ( #9401 )
...
* fix: fix null pointer on external provisioner daemons with daily_cost
Signed-off-by: Spike Curtis <spike@coder.com >
* Add logging for debounce and job acquire
Signed-off-by: Spike Curtis <spike@coder.com >
* Return error instead of panic
Signed-off-by: Spike Curtis <spike@coder.com >
* remove debounce on external provisioners to fix test flakes
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-30 10:48:35 +00:00
Spike Curtis
a415395e9e
fix: stop dropping error log on context canceled after heartbeat ( #9427 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-30 14:44:00 +04:00
Marcin Tojek
3e67d8fa6a
docs: describe dynamic options and locals ( #9429 )
2023-08-30 12:30:24 +02:00
Ammar Bandukwala
16ef97a061
feat(cli): add DataDog Go tracer ( #9411 )
2023-08-29 22:14:28 +00:00
Eric Paulsen
9ceba20ea4
docs: add jetbrains offline mode config steps ( #9388 )
2023-08-29 17:04:49 -04:00
Colin Adler
64ef867b4f
fix(tailnet): re-add keepalives ( #9410 )
2023-08-29 15:21:30 -05:00
Colin Adler
8443d3e0f8
fix(enterprise): ensure audit log json fields are formatted correctly ( #9397 )
2023-08-29 13:36:54 -05:00
Dean Sheather
a572800d47
chore: rename template restart requirement to autostop requirement ( #9295 )
2023-08-29 18:35:05 +00:00
Bruno Quaresma
fc4683d8b3
chore: support protobuf files in the UI ( #9408 )
2023-08-29 17:26:23 +00:00
Mathias Fredriksson
605d2b20e2
chore(go.mod): update github.com/fergusstrange/embedded-postgres to v1.24.0 ( #9405 )
2023-08-29 19:00:38 +03:00
Marcin Tojek
f5d813c4fb
test(site): e2e: update workspace with parameters ( #9338 )
2023-08-29 15:10:31 +02:00
Mathias Fredriksson
3557497ea4
test(coderd): fix workspace rename test ( #9402 )
...
Fixes #9400
2023-08-29 11:42:42 +00:00
Dean Sheather
5993f85ec9
fix: avoid redirect loop on workspace proxies ( #9389 )
...
* fix: avoid redirect loop on workspace proxies
---------
Co-authored-by: Steven Masley <stevenmasley@coder.com >
2023-08-28 20:34:52 -05:00
Ben Potter
eb68684327
docs: add v2.1.4 changelog ( #9398 )
...
* docs: add v2.1.4 changelog
* fmt
* reorder
* clarify
2023-08-28 22:55:09 +00:00
Mathias Fredriksson
be47cc58ff
fix(enterprise/coderd): use websocketNetConn in workspaceProxyCoordinate to bind context ( #9395 )
2023-08-28 23:12:45 +03:00
Mathias Fredriksson
487bdc2e08
fix(coderd): allow workspaceAgentLogs follow to return on non-latest-build ( #9382 )
2023-08-28 19:46:42 +00:00
Steven Masley
fea8813f13
chore: drop 'template plan' unused command ( #9386 )
2023-08-28 13:33:40 -05:00
Bruno Quaresma
2167fe16d6
chore: remove e2e workaround ( #9393 )
2023-08-28 15:24:01 -03:00
Bruno Quaresma
d138ed7314
fix(coderd): send updated workspace data adter ws connection ( #9392 )
2023-08-28 15:14:17 -03:00
Dean Sheather
a2be2f9838
fix: avoid derp-map updates endpoint leak ( #9390 )
2023-08-28 18:13:19 +00:00
Kayla Washburn
ce9b048f06
feat(site): improve template publishing flow ( #9346 )
2023-08-28 11:27:51 -06:00
Marcin Tojek
80425c32bf
fix(site): workaround: reload page every 3sec ( #9387 )
2023-08-28 16:22:39 +00:00
Muhammad Atif Ali
35d0809830
ci: prefix dependabot github-actions PRs with ci: ( #9376 )
2023-08-28 18:20:52 +03:00
dependabot[bot]
b6e808d116
chore: bump github.com/charmbracelet/lipgloss from 0.7.1 to 0.8.0 ( #9370 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 14:08:32 +03:00
dependabot[bot]
506b81adeb
ci: bump crate-ci/typos@v1.16.6 to crate-ci/typos@v1.16.8 ( #9372 )
...
bumps crate-ci/typos@v1.16 .6 to crate-ci/typos@v1.16 .8
2023-08-28 09:41:05 +00:00
Muhammad Atif Ali
79aba1d5ff
ci: remove redundant groups from dependabot.yaml ( #9365 )
2023-08-28 09:21:54 +00:00
Ammar Bandukwala
594a6aae19
chore: format oidctest ( #9362 )
2023-08-27 19:51:13 +00:00
Ammar Bandukwala
6ba92ef924
ci: enable gocognit ( #9359 )
...
And, bring the server under 300:
* Removed the undocumented "disable" STUN address in favor of the
--disable-direct flag.
2023-08-27 14:46:44 -05:00
Ben Potter
173aac959c
fix(systemd): use more reasonable restart limit ( #9355 )
2023-08-27 14:35:06 -05:00
Ammar Bandukwala
4a140536e1
ci: lint against dupl ( #9357 )
...
This lint rule should help us keep Go code redundancy under control.
2023-08-27 11:42:51 -05:00
Kyle Carberry
61634d482f
fix: truncate websocket close error ( #9360 )
...
Related #9324
2023-08-27 16:26:31 +00:00
Kyle Carberry
c3ac55ff42
feat: add template_active_version_id to workspaces ( #9226 )
...
* feat: add `template_active_version_id` to workspaces
This reduces a fetch in the VS Code extension when getting the
active version update message!
* Fix entities.ts
* Fix golden gen
2023-08-27 16:26:20 +00:00
Muhammad Atif Ali
54032ccfe8
ci: update pr-cleanup.yaml to remove set -x ( #9358 )
2023-08-26 23:02:22 +00:00
Muhammad Atif Ali
f97b497966
chore(dogfood): update docker tf provider and metadata ( #9356 )
2023-08-27 01:22:28 +03:00
Ammar Bandukwala
451ca042ce
feat(site): show entity name in DeleteDialog ( #9347 )
2023-08-25 22:16:30 +00:00
Muhammad Atif Ali
7904d0b92f
docs: list firewall exceptions for restricted internet installations ( #8936 )
...
* docs: add firewall exceptions for restricted internet installtions
closes #7542
* fix link
* fmt
2023-08-25 23:48:35 +03:00
Bruno Quaresma
1de1e3b98a
fix(site): make right panel scrollable on template editor ( #9344 )
2023-08-25 13:52:10 -06:00
Steven Masley
d9d4d74f99
test: add full OIDC fake IDP ( #9317 )
...
* test: implement fake OIDC provider with full functionality
* Refactor existing tests
2023-08-25 14:34:07 -05:00
Bruno Quaresma
0a213a6ac3
refactor(site): improve the overall user table design ( #9342 )
2023-08-25 17:59:41 +00:00
Ammar Bandukwala
14f769d229
fix(site): use WebGL renderer for terminal ( #9320 )
2023-08-25 12:46:14 -05:00
Ammar Bandukwala
e5c64a8ea9
fix(site): render variable width unicode characters in terminal ( #9259 )
...
Previously, characters such as 🟢 were given insufficient space, leading
to mangled output.
2023-08-25 17:45:36 +00:00
Eric Paulsen
91f900ec64
docs: expand on TTL flags ( #9286 )
...
* docs: expand on TTL flags
* make: gen
* Discard changes to site/src/api/api.ts
* Discard changes to site/src/xServices/templateVersion/templateVersionXService.ts
---------
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-08-25 13:39:12 -04:00
Ammar Bandukwala
f149db6ca6
fix(cli): add --max-ttl to template create ( #9319 )
...
It was just in template edit by mistake.
2023-08-25 11:00:38 -05:00
Muhammad Atif Ali
3b1ecd3c2f
chore: update aws_linux template ( #9325 )
2023-08-25 13:50:03 +00:00
Marcin Tojek
d7a788d89d
test(site): e2e: restart workspace with ephemeral parameters ( #9304 )
2023-08-25 14:50:38 +02:00
Spike Curtis
aed891b4ff
fix: fix coder template pull on Windows ( #9327 )
...
* fix: fix coder template pull on Windows
Signed-off-by: Spike Curtis <spike@coder.com >
* appease linter
Signed-off-by: Spike Curtis <spike@coder.com >
* improvements from code review
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-25 10:58:13 +00:00
Spike Curtis
e7a231e44f
fix: fix test flake introduced by #9264 ( #9330 )
...
* Fix test flake introduced by #9264
Signed-off-by: Spike Curtis <spike@coder.com >
* change check to match suffix
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-25 10:48:42 +00:00
Bruno Quaresma
058fb2ecf0
fix(site): fix default ephemeral parameter value on parameters page ( #9314 )
2023-08-25 12:28:18 +02:00
Spike Curtis
60d5002eb6
refactor: change template archive extraction to be on provisioner ( #9264 )
...
* refactor provisionersdk protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor provisioners to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor provisionerd to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com >
* refactor tests & proto renames
* Fixes from self-review
Signed-off-by: Spike Curtis <spike@coder.com >
* appease fmt & link
Signed-off-by: Spike Curtis <spike@coder.com >
* code review fixes & e2e fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* More fmt
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* new gen; use uuid for session workdir
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert nix-based gen CI task until dogfood is on nix
Signed-off-by: Spike Curtis <spike@coder.com >
* revert deleting dogfood Docker stuff
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert "revert deleting dogfood Docker stuff"
This reverts commit 9762158167 .
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-25 06:10:15 +00:00
sharkymark
4bed492012
docs: ui option for adding licenses ( #9322 )
2023-08-24 22:23:59 -05:00
Jon Ayers
7ddb216d87
chore: revert nix-related CI changes ( #9321 )
...
* chore: revert nix-related CI changes
- Reverts using nix to run CI-dependencies.
- Running 'make gen' in a dogfood workspace resulted in inconsistent
results for protobuf-related files making it difficult to pass CI.
This PR imports the minimum changes necessary to make CI compatible
with dogfood.
2023-08-24 21:26:30 -05:00
Ammar Bandukwala
630ec55c48
fix(coderd): remove rate limits from agent metadata ( #9308 )
...
Include the full update message in the PubSub notification so that
we don't have to refresh metadata from the DB and can avoid rate
limiting.
2023-08-24 15:18:42 -05:00
Jon Ayers
7f14b50dbe
chore: rename locked to dormant ( #9290 )
...
* chore: rename locked to dormant
- The following columns have been updated:
- workspace.locked_at -> dormant_at
- template.inactivity_ttl -> time_til_dormant
- template.locked_ttl -> time_til_dormant_autodelete
This change has also been reflected in the SDK.
A route has also been updated from /workspaces/<id>/lock to /workspaces/<id>/dormant
2023-08-24 13:25:54 -05:00
Ben Potter
ebd878b6b5
chore: v2.1.3 changelog ( #9311 )
2023-08-24 17:35:00 +00:00
Dean Sheather
64df076328
feat: add server flag to force DERP to use always websockets ( #9238 )
2023-08-24 17:22:31 +00:00
Mathias Fredriksson
9cb913fb1a
fix(go.mod): upgrade cdr.dev/slog to fix isTTY race ( #9305 )
2023-08-24 18:08:52 +03:00
Mathias Fredriksson
af939d1e94
fix(coderd): optimize template app insights query for speed and decrease intervals ( #9302 )
2023-08-24 14:34:38 +00:00
Bruno Quaresma
67c8635543
fix(site): only show workspace actions if user has permission ( #9303 )
2023-08-24 11:28:59 -03:00
Bruno Quaresma
14aa1af45f
refactor(site): remove as many 100vh units as possible( #9272 )
2023-08-24 09:25:27 -03:00
Mathias Fredriksson
04d5e3f54f
fix(coderd): rewrite template insights query for speed and fix intervals ( #9300 )
2023-08-24 14:38:32 +03:00
Mathias Fredriksson
d00817ea4a
perf(coderd): simplify insights queries to speed them up ( #9299 )
2023-08-24 10:52:20 +00:00
Mathias Fredriksson
6b69abfec7
fix(coderd): use stable sorting for insights and improve test coverage ( #9250 )
...
Fixes #9213
2023-08-24 13:36:40 +03:00
Cian Johnston
970072f61d
chore(docs): add example scenario for parameter updates ( #9298 )
2023-08-24 10:35:20 +01:00
Marcin Tojek
52ea23355a
docs: incompatibility in parameter options for workspace builds ( #9297 )
2023-08-24 11:05:31 +02:00
coryb
113894c045
fix(coderd): prevent oidc refresh being ignored ( #9293 )
2023-08-24 00:42:20 -05:00
Ben Potter
f96622f192
chore: add exempt users to CLAbot allowlist ( #9292 )
2023-08-23 23:17:22 +00:00
Bruno Quaresma
6c93687095
fix(site): fix vertical scroll in the bottom bar ( #9270 )
2023-08-23 17:24:47 -03:00
Cian Johnston
2fa6a50de6
chore(docs): update scaling table ( #9279 )
2023-08-23 20:18:42 +00:00
Ben Potter
e0ba80c872
chore: write v2.1.2 changelog ( #9288 )
2023-08-23 19:51:29 +00:00
Reuben Ellis
868ae06d4e
chore: add a base directory for TurboSnap ( #9258 )
...
* Add base dir for TurboSnap
* updated main workflow as well
* Add vite configuration
* remove the mergeConfig and return config
2023-08-23 15:12:00 -03:00
dependabot[bot]
69b5c9cc27
chore: bump the react group in /site with 1 update ( #9164 )
...
Bumps the react group in /site with 1 update: [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ).
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.15.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: react
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 15:11:02 -03:00
Kyle Carberry
707a0a2d95
fix: resolve deadlock when fetching everyone group for in-memory db ( #9277 )
2023-08-23 16:54:16 +00:00
Marcin Tojek
e845deaa89
fix: prompt when parameter options are incompatible ( #9247 )
2023-08-23 18:18:38 +02:00
Mathias Fredriksson
8bfa312905
fix(coderd): parallelize queries to improve template insights performance ( #9275 )
2023-08-23 15:31:23 +00:00
dependabot[bot]
d180df1fd5
chore: bump google.golang.org/api from 0.137.0 to 0.138.0 ( #9216 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 18:04:20 +03:00
dependabot[bot]
cff33c2326
chore: bump the github-actions group with 1 update ( #9218 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 18:03:59 +03:00
Kayla Washburn
72cb42b8e0
feat(site): add descriptions for each auth method to the selection menu ( #9252 )
2023-08-23 08:58:49 -06:00
Bruno Quaresma
b6aedb9f1d
refactor(site): improve how string values are displayed ( #9273 )
2023-08-23 11:32:55 -03:00
Dean Sheather
f35423c041
fix: update conn derpmap every 5s in single tailnet ( #9176 )
2023-08-23 11:20:31 +00:00
Dean Sheather
53de47d4c8
chore: fix flake in TestDERPHeaders ( #9262 )
2023-08-23 21:03:39 +10:00
Marcin Tojek
a3d31268a3
fix(cli): do not ask for immutables on update ( #9266 )
2023-08-23 12:46:52 +02:00
Marcin Tojek
e6d90bd4fe
fix: rewrite onlyDataResources ( #9263 )
2023-08-23 10:17:16 +00:00
Muhammad Atif Ali
d37f6d80f7
chore(docs): update docs for correct use of shell and console and enforce linewidth ( #9245 )
2023-08-23 12:27:57 +03:00
Mathias Fredriksson
ed2b1236c0
fix(coderd/batchstats): fix init race and close flush ( #9248 )
2023-08-23 11:58:25 +03:00
Kayla Washburn
31ffb566d0
fix: disable setup page once setup has been completed ( #9198 )
2023-08-22 14:57:46 -06:00
Jon Ayers
6e41cd1eda
feat: add activity bumping to template scheduling ( #9040 )
2023-08-22 15:15:13 -05:00
Ammar Bandukwala
6214117d3d
fix: pull agent metadata even when rate is high ( #9251 )
...
This commit fixes a bug where when the rate of metadata updates was
too high, the debounce caused a new update to get indefinitely delayed.
2023-08-22 13:55:00 -05:00
Kayla Washburn
697b0283c5
chore: fix low hanging lint issues ( #9253 )
2023-08-22 12:32:37 -06:00
Ben Potter
306615c674
docs: add v2.1.1 changelog ( #9249 )
...
* add WPL to manifest
* docs: add v2.1.1 changelog
2023-08-22 16:09:33 +00:00
Steven Masley
262d7692b6
feat: add force refresh of license entitlements ( #9155 )
...
* feat: add force refresh of license entitlements
* send "going away" mesasge on licenses pubsub on close
* Add manual refresh to licenses page
2023-08-22 09:26:43 -05:00
Steven Masley
37a3b42c55
feat: add last_used search params to workspaces ( #9230 )
...
* feat: add last_used search params to workspaces
2023-08-22 08:41:58 -05:00
Cian Johnston
e57d635739
feat: add script to run a local keycloak instance ( #9242 )
2023-08-22 14:32:03 +01:00
Marcin Tojek
8a1da743cc
test(site): e2e: create workspace with rich parameters ( #9185 )
2023-08-22 14:21:32 +02:00
Ammar Bandukwala
545a256b57
fix: correctly reject quota-violating builds ( #9233 )
...
Due to a logical error in CommitQuota, all workspace Stop->Start operations
were being accepted, regardless of the Quota limit. This issue only
appeared after #9201 , so this was a minor regression in main for about
3 days. This PR adds a test to make sure this kind of bug doesn't recur.
To make the new test possible, we give the echo provisioner the ability
to simulate responses to specific transitions.
2023-08-22 02:55:39 +00:00
Ammar Bandukwala
69ec8d774b
fix(cli/server): apply log filter to log message as well as name ( #9232 )
2023-08-21 17:53:26 -05:00
Kayla Washburn
2a263b9534
fix: always show add user button ( #9229 )
...
Fixes #9172
There is always at least one authentication method enabled (none), so we should remove the authMethod check to make sure that the button is always shown.
2023-08-21 15:44:20 -06:00
Ammar Bandukwala
4a9c7733d8
chore(dogfood): revert to pre-nix image ( #9231 )
2023-08-21 20:30:09 +00:00
Kyle Carberry
2a04d15c6d
chore: downgrade dogfood image to postgres 13 ( #9228 )
2023-08-21 19:26:31 +00:00
Bruno Quaresma
f6e02068e7
fix(site): fix ports update ( #9221 )
2023-08-21 14:32:59 -03:00
Bruno Quaresma
92445cf52e
fix(site): fix locale dates in timeline component ( #9223 )
2023-08-21 14:24:54 -03:00
Cian Johnston
5c1ecfbd5f
feat(scripts/develop.sh): provide an easy way to specify access url ( #9222 )
...
Allows `develop.sh --access-url="http://host:port "`
2023-08-21 17:23:07 +00:00
Steven Masley
b2ca3ebaa3
fix: add workspace_proxy type to auditlog friendly strings ( #9194 )
...
* fix: add workspace_proxy type to auditlog friendly strings
* add unit test and organization type
2023-08-21 10:53:41 -05:00
Kyle Carberry
07188b123a
chore: add dependencies for js-test to our nix flake ( #9224 )
2023-08-21 15:03:33 +00:00
Cian Johnston
5d4a17717f
refactor(coderd): fetch owner information when authorizing workspace agent ( #9123 )
...
* Refactors the existing httpmw tests to use dbtestutil so that we can test them against a real database if desired,
* Modifies the GetWorkspaceAgentByAuthToken to return the owner and associated roles, removing the need for additional queries
2023-08-21 15:49:26 +01:00
Ammar Bandukwala
6d939b726c
fix: correctly assess quota for stopped resources ( #9201 )
2023-08-21 09:01:16 -05:00
Mathias Fredriksson
509411f87c
chore(flake.nix): add kubectx ( #9219 )
2023-08-21 15:54:22 +03:00
Mathias Fredriksson
03453b1e02
feat(coderd): add template app usage to insights ( #9138 )
...
Fixes #8658
2023-08-21 15:08:58 +03:00
Cian Johnston
4de7de420e
fix(flake.nix): add gcloud auth plugin ( #9215 )
2023-08-21 10:58:34 +00:00
Kyle Carberry
7404ee9b21
chore: add name to top-level package.json to allow importing ( #9209 )
2023-08-20 00:35:38 +00:00
Kyle Carberry
4d85d56327
chore: add version to top-level package.json to allow importing ( #9208 )
2023-08-20 00:10:53 +00:00
Kyle Carberry
2c83bfdfa5
fix: set the location of locale_archive ( #9207 )
...
See https://nixos.wiki/wiki/Locales
2023-08-19 22:37:44 +00:00
Ammar Bandukwala
6b8102cf4c
feat(cli): add daily_cost to coder ls ( #9200 )
2023-08-19 12:56:08 -05:00
Vaibhav Kumar
e95557890a
docs: remove <> and use shell for code blocks in azure docs ( #9078 )
2023-08-19 13:52:24 +00:00
Kyle Carberry
40ef9ff779
fix: add sapling to the nix flake ( #9202 )
2023-08-18 16:41:03 -05:00
Kyle Carberry
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
Cian Johnston
0d40e7fe24
chore(flake.nix): add gcloud and kubectl to flake ( #9197 )
2023-08-18 18:29:24 +00:00
Kyle Carberry
9e9c79dbd3
fix: remove nix bash from the dogfood image ( #9195 )
...
This was unnecessary.
2023-08-18 17:59:25 +00:00
Mathias Fredriksson
bbaa057e15
fix(agent): log correct script timeout for startup script ( #9190 )
2023-08-18 17:35:49 +00:00
Kyle Carberry
4c133e7058
fix: add yarn to the dogfood image ( #9193 )
2023-08-18 17:15:33 +00:00
Ben Potter
36fcee50b6
fix: use proper link to workspace proxies page ( #9183 )
...
we changed the route in #9070
2023-08-18 11:49:14 -05:00
Kyle Carberry
c93782aba6
fix: allow chsh in dev image ( #9191 )
2023-08-18 16:15:05 +00:00
Kyle Carberry
9725ec0713
fix: separate dev shell and dev image nix deps ( #9189 )
...
* fix: separate dev shell and dev image nix deps
* Add less
2023-08-18 15:58:52 +00:00
Kyle Carberry
e94ebea5e9
fix: add gh cli to the dogfood image ( #9184 )
2023-08-18 14:49:54 +00:00
Kyle Carberry
88de63f891
fix: add locale to dogfood image ( #9181 )
...
* fix: add locale to dogfood image
* Update flake.nix
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Add gcc
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-08-18 09:16:16 -05:00
Cian Johnston
95458ac8a5
chore(scripts/develop.sh): restore original access url setting ( #9174 )
2023-08-18 13:24:17 +00:00
Bruno Quaresma
8db3869415
chore: add zsh to dogfood ( #9178 )
2023-08-18 13:05:02 +00:00
Dean Sheather
f4f3132120
docs: add workspace process logging doc ( #9002 )
2023-08-18 23:02:01 +10:00
Bruno Quaresma
531f740070
fix(site): remove mock data from port forward button ( #9177 )
2023-08-18 12:59:20 +00:00
Marcin Tojek
669ae9d4d3
fix(cli): remove prompt for immutable parameters on start and restart ( #9173 )
2023-08-18 14:06:46 +02:00
phorcys420
376352eeb3
fix(ci): add github token to chocolatey workflow ( #9166 )
2023-08-18 13:16:56 +03:00
Marcin Tojek
ea34ec7538
chore(site): regenerate provisioner stub ( #9151 )
2023-08-18 10:50:43 +02:00
Marcin Tojek
04810cb42e
fix: do not install strace on OSX ( #9167 )
2023-08-18 10:07:11 +02:00
Spike Curtis
2f46f2315c
fix: fix race in PGCoord at startup ( #9144 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-18 09:53:03 +04:00
Kyle Carberry
c0a78533bf
chore: reduce build time by converting docker image to build with nix ( #9099 )
...
* Add Docker image
* Try building the container in CI
* Uncomment testing lines
* Trim image step
* Hit 'em with a Docker load
* Oopsie!
* Add a tag and push!
* Fix image name 🤦
* Fix sudo
* Fix target name
* Build and push
* Fix login to docker hub
* Revert to Docker push
* Fix PATH
* Fix SHA
* Fix ca certs
* Fix ca certs
* Fix coping files in
* Fix docker init
* Fix Docker group and init
* Add comments to our Nix
* Fix build stage
* Add some more comments
* Remove old dogfood image files
* Tag and push with branch name
* Fix tag passing
* Fix tag passing
* Remove old pull triggers
* Convert gen to use Nix
* Add protobuf to the flake
* Add prettier to the dev shell
* Swap to the faster Nix cache action
* Add the correct yq
* Fix gen
* Add make to the flake
* Update extensions
2023-08-17 21:19:36 -05:00
Kayla Washburn
5b165d5cb9
fix: make displayName primary in ParameterLabel component ( #9158 )
2023-08-17 19:07:57 -06:00
Ben Potter
71d5882341
chore: 2.1.0 changelog ( #9160 )
2023-08-17 23:02:54 +00:00
Bruno Quaresma
9caa4cfde0
feat(site): display build logs history in the build log page ( #9150 )
2023-08-17 18:59:26 -03:00
Ammar Bandukwala
be40dc85ab
chore: cleanup extraneous logging ( #9156 )
...
* The batchstats warning went out on every Ctrl+C in my development
Rule of silence:
The provisioner and connect messages messages were sent out on every startup
without a corresponding user event, making them annoying and more-so
debug messages.
2023-08-17 21:01:55 +00:00
Kayla Washburn
9710bada06
fix: redirect to login upon authentication error ( #9134 )
2023-08-17 13:54:20 -06:00
Ammar Bandukwala
720ad9a653
fix(site): avoid showing disabled fields in group settings page ( #9154 )
...
Previously we allowed interaction with the icon setter and showed
confusing help text under the disabled "Display Name" field.
2023-08-17 14:21:36 -05:00
Jon Ayers
2f6687a475
feat: expose Everyone group through UI ( #9117 )
...
- Allows setting quota allowances on the 'Everyone' group.
2023-08-17 13:25:16 -05:00
Steven Masley
8910f05172
fix: /workspaces should work even if missing template perms ( #9152 )
...
If a user is missing template perms to a workspace, just block reading
that workspace. This is to keep the api consistent, it is not a rbac
enforcement.
This should ublock users reporting this bug that /workspaces returns
nothing when 1 workspace cannot be fully read. We might want to be
able to return missing or unknown fields in our api to account
for this.
2023-08-17 13:22:03 -05:00
Kayla Washburn
e39402f1c9
fix: don't navigate away from editor after publishing ( #9153 )
2023-08-17 10:49:16 -06:00
Reuben Ellis
94cbc2ae7f
chore: update storybook build script ( #9140 )
2023-08-17 09:58:52 -03:00
Oleg Kovalov
c639674b39
chore: replace chi with chi/v5 ( #9143 )
2023-08-17 07:46:56 -05:00
Spike Curtis
c66befb548
fix(scaletest): change IP range to non-reserved in GCP ( #9146 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-17 13:11:02 +04:00
Spike Curtis
c7a6d626b4
fix: make PGCoordinator close connections when unhealthy ( #9125 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-17 09:36:47 +04:00
Eric Paulsen
c217a0d819
fix!: remove jq from image ( #8979 )
...
* fix: remove jq from base and add jq ext image
* Delete Dockerfile.ext-jq
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-08-16 21:20:33 -04:00
Kayla Washburn
5c7780015b
chore: rename UsersDropdown.tsx component file to UserDropdown.tsx ( #9137 )
2023-08-16 17:36:51 -06:00
Ben Potter
fa8e103b0e
docs: last seen before & after ( #9096 )
2023-08-16 23:20:03 +00:00
Asher
02ee724d9f
fix: do terminal emulation in reconnecting pty tests ( #9114 )
...
It looks like it is possible for screen to use control sequences instead
of literal newlines which fails the tests.
This reuses the existing readUntil function used in other pty tests.
2023-08-16 13:02:03 -08:00
Steven Masley
74999305b6
fix: change oauth convert oidc cookie to SameSite=Lax ( #9129 )
...
The strict mode was blocking the cookie from being sent on the
redirect flow. This worked on localhost because cookies
behave differently on localhost
2023-08-16 12:50:44 -05:00
Bruno Quaresma
b05293572f
refactor(site): remove template parameters insights out of experimental ( #9126 )
2023-08-16 12:29:42 -03:00
Muhammad Atif Ali
8646f7c00d
chore: add JFrog VS Code extension to jfrog template ( #9128 )
2023-08-16 10:03:42 -05:00
Bruno Quaresma
752070baf5
refactor(site): use bar chart for DAUs ( #9127 )
2023-08-16 10:59:15 -03:00
Spike Curtis
ff9252c706
feat: add provisioner chart to release and docs ( #9050 )
...
* Add provisioner chart to release and docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Update docs/admin/provisioners.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* Prettier
Signed-off-by: Spike Curtis <spike@coder.com >
* spell out PSK first time per section
Co-authored-by: Cian Johnston <cian@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Cian Johnston <cian@coder.com >
2023-08-16 16:26:38 +04:00
Mathias Fredriksson
6fd9975aed
feat(coderd): add coder_app usage stats ( #9001 )
...
Updates #8658
2023-08-16 15:22:00 +03:00
phorcys420
f3c707648c
ci: publsh Chocolatey package ( #8921 )
2023-08-16 15:21:28 +03:00
Ammar Bandukwala
95d66ac385
docs: explain using Artifactory as a template store ( #9071 )
2023-08-15 16:46:56 -05:00
sharkymark
7261f0a9d4
docs: add bpmct template repo to community markdown ( #9113 )
2023-08-15 21:13:51 +00:00
Cian Johnston
6cdf1c73c0
chore: update sqlc to version 1.20.0 ( #9111 )
2023-08-15 20:06:03 +00:00
Colin Adler
5b2ea2e94f
fix(tailnet): disable wireguard trimming ( #9098 )
...
Co-authored-by: Spike Curtis <spike@coder.com >
2023-08-15 14:26:56 -05:00
Eric Paulsen
e4c24e05f8
fix: rename group GET request ( #9097 )
...
* fix: group GET req naming
* make: gen
2023-08-15 14:47:08 -04:00
dependabot[bot]
279d9f71f9
chore: bump github.com/gohugoio/hugo from 0.116.0 to 0.117.0 ( #9084 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 13:40:03 -05:00
Ben Potter
ee9deb0a6e
docs: add conditional example to optional vs required parameters ( #9115 )
2023-08-15 18:24:05 +00:00
dependabot[bot]
65d84827cd
chore: Bump the github-actions group with 1 update ( #9086 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
- [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.2...v1.16.4 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
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-08-15 19:33:34 +03:00
Bruno Quaresma
c5d4a4d85d
docs: update FE stack ( #9112 )
2023-08-15 16:03:14 +00:00
Spike Curtis
63278ab88f
Reword latency docs for HA ( #8860 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 19:58:04 +04:00
Bruno Quaresma
4058f049af
feat(site): add batch actions to the workspaces page ( #9091 )
2023-08-15 12:57:39 -03:00
dependabot[bot]
c2c9da7db0
chore: bump google.golang.org/api from 0.134.0 to 0.137.0 ( #9093 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 10:50:10 -05:00
Colin Adler
9d9b330b16
chore: add request body to patch groups openapi spec ( #9101 )
2023-08-15 15:29:15 +00:00
Spike Curtis
41433cd1ec
feat: add terminationGracePeriodSeconds to provisioner chart ( #9048 )
...
* feat: add terminationGracePeriodSeconds to provisioner chart
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove hardcoded 1 minute graceful timeout
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 08:38:58 +00:00
Spike Curtis
e893ab232c
chore: enables debug logging on TestTemplateInsights ( #9103 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 12:35:51 +04:00
Muhammad Atif Ali
86fcd4503f
Revert "ci: run tests intelligently based on changes between consecutive commits ( #9017 )" ( #9104 )
2023-08-15 08:22:49 +00:00
Muhammad Atif Ali
9a1f845553
docs: expand jfrog platform and example template ( #9073 )
2023-08-15 07:04:07 +00:00
Spike Curtis
d54b387e34
fix: fix deadlock on tailnet close ( #9079 )
...
* fix: fix deadlock in tailnet close
Signed-off-by: Spike Curtis <spike@coder.com >
* close another tailscale race
Signed-off-by: Spike Curtis <spike@coder.com >
* Close another race
Signed-off-by: Spike Curtis <spike@coder.com >
* HACK - run go tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Revert "HACK - run go tests"
This reverts commit d2729f36b4 .
* tailscale to tip of coder/tailscale/main
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-15 06:54:06 +00:00
Colin Adler
344d32b2f1
feat(coderd): expire agents from server tailnet ( #9092 )
2023-08-14 20:38:37 -05:00
Asher
a08f7b8fb9
fix: catch missing output with reconnecting PTY ( #9094 )
...
I forgot that waiting on the cond releases the lock so it was possible
to get pty output after writing the buffer but before adding the pty to
the map. To fix, add the pty to the map while under the same lock where
we read from the buffer.
The rest does not need to be behind the lock so I moved it out of
doAttach, and that also means we no longer need
waitForStateOrContextLocked.
Also, this can hit a logger error saying the attach failed which fails
the tests however it is not that the attach failed, just that the
process already ran and exited, so when the process exits do not
set an error, instead for now assume this is an expected close.
2023-08-14 15:54:23 -08:00
Steven Masley
6ea82c5ae7
chore: add oidc sequence diagram image to docs ( #9089 )
...
* chore: add oidc sequence diagram image to docs
* Change wording
* Direct link to the sequence diagram
2023-08-14 17:35:43 -05:00
Steven Masley
25ce30df36
feat: add azure oidc PKI auth instead of client secret ( #9054 )
...
* feat: add azure oidc PKI auth instead of client secret
* add client cert and key as deployment options
* Custom token refresher to handle pki auth
2023-08-14 17:33:13 -05:00
dependabot[bot]
4e36f91ea2
chore: bump the golang-x group with 1 update ( #9083 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 16:59:28 -05:00
Dean Sheather
47b8bf6585
feat: update workspace deadline when template policy changes ( #8964 )
2023-08-14 21:16:47 +00:00
Asher
37f9d4b783
feat: add --header-command flag ( #9059 )
...
This allows specifying a command to run that can output headers for
cases where users require dynamic headers (like to authenticate to their
VPN).
The primary use case is to add this flag in SSH configs created by the
VS Code plugin, although maybe config-ssh should do the same.
2023-08-14 12:12:17 -08:00
Asher
b993cab49a
fix: use screen for reconnecting terminal sessions on Linux if available ( #8640 )
...
* Add screen backend for reconnecting ptys
The screen portion is a port from wsep. There is an interface that lets
you choose between screen and the previous method. By default it will
choose screen if it is installed but this can be overidden (mostly for
tests).
The tests use a scanner instead of a reader now because the reader will
loop infinitely at the end of a stream.
Replace /bin/bash with bash since bash is not always in /bin.
* Remove connection_id from reconnecting PTY logger
This serves multiple connections so it makes no sense to scope it to a
single connection.
Also lets us use "connection_id" when logging write errors instead of
"other_conn_id".
* Use PATH to test buffered reconnecting pty
2023-08-14 11:19:13 -08:00
Muhammad Atif Ali
878315dcaf
fix: fix CI concurrency ( #9088 )
2023-08-14 18:48:14 +03:00
Cian Johnston
ef9d84c723
fix(scaletest): cleanup: attempt to cancel in-progress jobs ( #9080 )
...
This change modifies the cleanup behaviour to make a best-effort attempt to cancel the in-progress scaletest workspace build jobs before deleting them.
2023-08-14 12:43:45 +01:00
Cian Johnston
72575cc462
chore(docs): fix indentation in install/kubernetes.md ( #8906 )
...
* chore(docs): fix indentation in install/kubernetes.md
* fmt
2023-08-14 09:41:00 +01:00
Kyle Carberry
594b9797dd
fix: change dashboard route /settings/deployment to /deployment ( #9070 )
...
It felt unnecessary to nest this.
2023-08-13 16:58:04 +00:00
Kyle Carberry
0d01d022f7
fix: remove unnecessary newlines from the end of cli output ( #9068 )
...
`Infof` already adds a newline, so we don't need to as well!
2023-08-13 11:48:11 -05:00
Kyle Carberry
9a13814b46
fix: remove duplication from language of query param error ( #9069 )
2023-08-13 11:47:44 -05:00
Muhammad Atif Ali
1629a2a4ee
chore: sort DERP regions by latencies on workspace page ( #9063 )
2023-08-13 18:52:14 +03:00
Kyle Carberry
abe17b1164
chore: update speakeasy to fix stty path bug on nixos ( #9022 )
...
Prompts failed on NixOS due to /bin/stty being hardcoded for turning
off echo in the terminal prompt. See:
https://github.com/bgentry/speakeasy/commit/760eaf8b681647364e7a400b856e0921248728a5
2023-08-13 15:10:58 +00:00
Muhammad Atif Ali
984f7ce045
fix: update BUILD condition in pr-deploy.yaml ( #9064 )
...
This makes the build condition more understandable and fixes an issue where we could not deploy a new PR as the build condition was constantly evaluating false.
2023-08-13 11:18:17 +03:00
Eric Paulsen
6af6e85fe3
docs: add coder login to CI docs ( #9038 )
...
* docs: add coder login to CI docs
* add CODER_URL
* add --url flag to login cmd
2023-08-11 20:55:55 +00:00
Eric Paulsen
d2a9049fd7
docs: add offline docs for JetBrains Gateway ( #9039 )
2023-08-11 14:56:35 -05:00
Steven Masley
320de18be7
fix: correct github oauth2 callback url ( #9052 )
...
* fix: correct github oauth2 callback url
2023-08-11 09:25:05 -05:00
Steven Masley
47ca84be47
chore: return queried user on failure to help debug ( #9051 )
2023-08-11 14:02:19 +00:00
Steven Masley
1c7bd57da8
chore: clarify region selection behavior ( #9021 )
...
* chore: clarify region selection behavior
* Update site/src/components/Navbar/NavbarView.tsx
Co-authored-by: Kyle Carberry <kyle@coder.com >
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2023-08-11 08:26:01 -05:00
Muhammad Atif Ali
59fd4e86c9
ci: remove deleting comments section from pr-cleanup.yaml ( #9047 )
2023-08-11 15:43:37 +03:00
Muhammad Atif Ali
a13c8c88d5
fix: prevent unrequested PR deployments ( #9049 )
2023-08-11 12:32:42 +00:00
Muhammad Atif Ali
7fb9197860
ci: do not run deploy-pr on main ( #9046 )
2023-08-11 10:54:55 +00:00
Muhammad Atif Ali
114ad4624e
ci: upgrade pr deployments workflow ( #8924 )
2023-08-11 13:49:23 +03:00
Muhammad Atif Ali
4d8152d543
ci: run tests intelligently based on changes between consecutive commits ( #9017 )
2023-08-11 13:48:24 +03:00
Steven Masley
40f3fc3a1c
feat: allow creating manual oidc/github based users ( #9000 )
...
* feat: allow creating manual oidc/github based users
* Add unit test for oidc and no login type create
2023-08-10 20:04:35 -05:00
ffais
6fd5344d0a
feat: add support for NodePort service type in Helm chart ( #8993 )
...
* add support for NodePort service type in Helm chart
* fix nodeport values
* formatting & make update-golden-files
* update-golden-files
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
2023-08-10 20:57:59 -04:00
timquinlan
a2d64c08c1
docs: update helm values.yaml code snippet, put quote around boolean value ( #9026 )
...
* updated helm values.yaml code snippet, put quote around boolean values and added comments showing that CODER_OAUTH2_GITHUB_ALLOW_EVERYONE and CODER_OAUTH2_GITHUB_ALLOW_EVERYONE are mutually exclusive
* Update auth.md
spotted and fixed minor typo
2023-08-10 17:06:10 -04:00
Dean Sheather
d2f22b063a
fix: move STUN servers into their own regions ( #9030 )
2023-08-11 05:04:17 +10:00
Dean Sheather
25c6832772
chore: update tailscale ( #9027 )
2023-08-11 04:26:28 +10:00
Bruno Quaresma
175aed1685
feat(site): add tooltip showing the error in the failure badge ( #9029 )
2023-08-10 15:23:31 -03:00
Bruno Quaresma
83061bef7e
refactor(site): add minor improvements to the port button ( #9028 )
2023-08-10 14:47:56 -03:00
Ben Potter
76ad116e12
docs: write 2.0.2 changelog ( #9025 )
...
* mention provisioner authentication
* add changelog for 2.1.0
* rename to 2.0.2
2023-08-10 17:02:02 +00:00
Marcin Tojek
967a4b0c7c
feat: add example template using rich parameters ( #9020 )
2023-08-10 16:36:18 +02:00
Muhammad Atif Ali
091c00bd70
fix: make preferred region the first in list ( #9014 )
2023-08-10 12:59:39 +00:00
Bruno Quaresma
834ce41013
refactor(site): add default background color to html and body ( #9009 )
2023-08-10 09:41:35 -03:00
Marcin Tojek
9d9814c6b0
refactor(cli): adjust parameter resolver ( #9019 )
2023-08-10 12:08:00 +02:00
Spike Curtis
21af020386
feat: add external provisioner daemon helm chart ( #8939 )
...
* Refactor helm to extract common templates to libcoder
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove comment from libcoder Chart.yaml
Signed-off-by: Spike Curtis <spike@coder.com >
* Add provisioner helm chart
* Fix prettier, linting, docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Log at INFO when provisionerd connects to coderd
Signed-off-by: Spike Curtis <spike@coder.com >
* remove unnecessary exports in helm tests
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-10 13:59:43 +04:00
Steven Masley
cdb089049e
chore: add docs for creating missing groups on oidc sync ( #8983 )
2023-08-09 22:43:44 -05:00
Colin Adler
370bdd6a03
fix(cli): only init clistat.Client when calling coder stat ( #9013 )
2023-08-09 19:17:57 -05:00
Bruno Quaresma
c0d1cacc49
fix(site): fix storybook error and inconsistent snapshots ( #9010 )
2023-08-09 21:22:13 +00:00
Eric Paulsen
fb5e0c4bba
docs: add TLS config steps for K8s ( #9011 )
...
* docs: add TLS config steps for K8s
* add note on wildcard cert
2023-08-09 17:00:22 -04:00
Bruno Quaresma
3245e91a32
fix(site): set default color and display error on appearance form ( #9004 )
2023-08-09 16:53:32 -03:00
Colin Adler
bc862fa493
chore: upgrade tailscale to v1.46.1 ( #8913 )
2023-08-09 19:50:26 +00:00
Bruno Quaresma
5b9dc2ee8b
fix(site): add search params to auth redirect ( #9005 )
2023-08-09 16:31:12 -03:00
phorcys420
53f26b313d
fix(scripts): check if PR list is empty ( #8805 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-08-09 19:22:46 +00:00
Colin Adler
612f1c6a55
chore: use echo provisioners in logging tests ( #9008 )
2023-08-09 19:03:02 +00:00
Steven Masley
f334b66178
chore: do not allow resetting password of non password users ( #9003 )
2023-08-09 13:56:13 -05:00
Colin Adler
919f5c6fe9
chore: increase e2e timeout to 60s ( #9007 )
2023-08-09 18:50:27 +00:00
Colin Adler
a9e01bf3f1
chore: fix terraform tests ( #9006 )
2023-08-09 18:11:03 +00:00
Bruno Quaresma
7b35f3b3ad
fix(site): add horizontal scroll when having many tabs ( #8998 )
2023-08-09 14:28:25 +00:00
Bruno Quaresma
7fceb9aaff
fix(site): make stats bar scrollable on smaller viewports ( #8996 )
2023-08-09 11:26:56 -03:00
Bruno Quaresma
d73e3ad3f3
fix(site): show user avatar on group page ( #8997 )
2023-08-09 11:26:43 -03:00
dependabot[bot]
a6716ca829
chore: bump chart.js from 3.9.1 to 4.3.3 in /site ( #8874 )
...
* chore: bump chart.js from 3.9.1 to 4.3.3 in /site
Bumps [chart.js](https://github.com/chartjs/Chart.js ) from 3.9.1 to 4.3.3.
- [Release notes](https://github.com/chartjs/Chart.js/releases )
- [Commits](https://github.com/chartjs/Chart.js/compare/v3.9.1...v4.3.3 )
---
updated-dependencies:
- dependency-name: chart.js
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Remove timescale
* Fix step size
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-08-09 09:54:03 -03:00
Bruno Quaresma
73e518b0fb
refactor(site): remove last 7 days label ( #8986 )
2023-08-09 09:46:14 -03:00
Spike Curtis
e0f644c598
test(coderd): fix TestWorkspaceWatcher hang waiting for update ( #8992 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-09 16:09:25 +04:00
Marcin Tojek
0d382d1e05
feat(cli): provide parameter values via command line ( #8898 )
2023-08-09 13:00:25 +02:00
Ben Potter
1730d35467
Revert "fix: hide experiment CTA from OIDC copy ( #8695 )" ( #8825 )
...
This reverts commit adbabe4e09 .
2023-08-09 10:05:46 +00:00
Dean Sheather
9941f49056
fix: remove stun nodes from workspace proxy regions ( #8990 )
2023-08-09 09:31:25 +00:00
Dean Sheather
00a8221e51
fix: rename duplicate migration ( #8989 )
2023-08-09 05:49:13 +00:00
Dean Sheather
07fd73c4a0
chore: allow multiple agent subsystems, add exectrace ( #8933 )
2023-08-08 22:10:28 -07:00
Bruno Quaresma
70bd23a40a
refactor(site): add default title ( #8985 )
2023-08-08 18:48:53 -03:00
Steven Masley
d4e115d267
chore: show basic experiment set value ( #8984 )
...
This value is pre-parsed, meaning the experiments listed may not
be valid. This is a very basic display for helping debuging purposes.
2023-08-08 15:33:08 -05:00
Dean Sheather
f7a35e0559
chore: add workspace proxies to telemetry ( #8963 )
2023-08-08 18:29:35 +00:00
Dean Sheather
3c52b01850
chore: add tailscale magicsock debug logging controls ( #8982 )
2023-08-08 17:56:08 +00:00
Colin Adler
a5c59b9934
chore: upgrade to alpine 3.18.3 ( #8980 )
2023-08-08 12:21:38 -05:00
Bruno Quaresma
76b1594670
feat(site): add date range picker for the template insights ( #8976 )
2023-08-08 13:43:21 -03:00
Steven Masley
f4122fa9f5
feat: add auto group create from OIDC ( #8884 )
...
* add flag for auto create groups
* fixup! add flag for auto create groups
* sync missing groups
Also added a regex filter to filter out groups that are not
important
2023-08-08 11:37:49 -05:00
Bruno Quaresma
4a987e9917
feat(site): add parameters usage to insights ( #8886 )
2023-08-08 13:09:31 -03:00
Steven Masley
5339a31532
fix: remove refresh oauth logic on OIDC login ( #8950 )
...
* fix: do not do oauth refresh logic on oidc login
2023-08-08 10:05:12 -05:00
Cem
1d4a72f43f
perf(coderd/util/slice): refactor unique method for large lists ( #8925 )
2023-08-08 10:02:52 -05:00
Muhammad Atif Ali
05054c6a0a
ci: make test-e2e a required check ( #8977 )
2023-08-08 14:57:57 +00:00
Kyle Carberry
4d3230c9ad
fix: default to executing e2e ssh without args ( #8975 )
...
This was causing the test to fail consistently!
2023-08-08 14:35:34 +00:00
Muhammad Atif Ali
c20c4faa7c
docs: format CONTRIBUTING.md ( #8973 )
2023-08-08 17:12:51 +03:00
Dean Sheather
b2a84462ab
chore: fix ruleguard xerrors rules ( #8967 )
2023-08-08 12:32:41 +00:00
Muhammad Atif Ali
31b7de6a3e
chore: upgrade go to 1.20.7 ( #8923 )
...
* chore: upgrade go to 1.20.7
* remove unused env
2023-08-08 09:20:36 +03:00
Kyle Carberry
bac3a588b3
chore: add e2e test for backwards client ssh compatibility ( #8958 )
...
* chore: add e2e test for backwards client ssh compatibility
This was discussed as part of our regression review for outdated
agents, so here is the reverse with an extremely old client.
* fmt
2023-08-08 05:36:46 +00:00
Kyle Carberry
73b136e3f0
fix: add exp backoff to validate fresh git auth tokens ( #8956 )
...
A customer using GitHub in Australia reported that validating immediately
after refreshing the token would intermittently fail with a 401. Waiting
a few milliseconds with the exact same token on the exact same request
would resolve the issue. It seems likely that the write is not propagating
to the read replica in time.
2023-08-08 04:29:35 +00:00
Colin Adler
694729b4f7
chore: disable goleak in windows cli tests ( #8955 )
2023-08-07 22:23:00 -05:00
Colin Adler
7e3ff5b66e
chore: fix TestBatchStats flake ( #8952 )
2023-08-07 21:55:31 -05:00
Colin Adler
758c368222
chore: fix TestTailnet/ForcesWebSockets flake ( #8953 )
2023-08-07 21:17:39 -05:00
dependabot[bot]
827de08007
chore: bump the golang-x group with 3 updates ( #8940 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:30:14 -05:00
dependabot[bot]
b2dc8897ff
chore: bump github.com/go-playground/validator/v10 from 10.14.0 to 10.15.0 ( #8941 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 14:16:03 -05:00
Ben Potter
3b16e7112d
fix: improve formatting in Gateway docs ( #8949 )
...
* fix: image formatting for gateway docs
* chore: fix some more spots
* more
* fmt
* space things out more
2023-08-07 17:34:41 +00:00
Ben Potter
b67ece1cbc
fix: image formatting for gateway docs ( #8947 )
2023-08-07 11:45:15 -05:00
sharkymark
9f76381fc1
chore: add install more providers step in jetbrains docs; update images ( #8943 )
2023-08-07 16:31:43 +00:00
Marcin Tojek
e8627195a2
feat(coderd): expose parameter description and type ( #8944 )
2023-08-07 16:11:44 +00:00
dependabot[bot]
00be8ab875
chore: bump the github-actions group with 1 update ( #8942 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 18:54:20 +03:00
Dean Sheather
67ff2077a6
feat: add derp only text to proxies list in dashboard ( #8932 )
2023-08-08 01:52:06 +10:00
Cian Johnston
82e0e2e43c
fix(cli): clistat: accept positional arg for stat disk cmd ( #8911 )
2023-08-07 16:26:16 +01:00
Muhammad Atif Ali
6ded748989
fix: update tag name for coder-preview image in ci.yaml ( #8945 )
2023-08-07 14:35:28 +00:00
Steven Masley
71ea5ace07
feat: add login type to users page ( #8912 )
2023-08-07 09:34:39 -05:00
Muhammad Atif Ali
90c1647fcf
ci: change ghcr.io/coder/coder-preview:main tag to use version names ( #8938 )
2023-08-07 16:41:20 +03:00
Muhammad Atif Ali
e7047726d8
docs: fix a broken link in docs.changelogs/README.md ( #8937 )
2023-08-07 13:00:05 +03:00
Ammar Bandukwala
81752d1b84
fix(cli/delete): prompt for confirmation after workspace is found ( #8579 )
2023-08-05 11:25:37 -05:00
Colin Adler
eddaa7781d
fix: don't close cached tailnet on pty close ( #8917 )
2023-08-04 22:54:27 +00:00
Colin Adler
0c7ff4fb8a
fix(enterprise): ensure SCIM create user can unsuspend ( #8916 )
2023-08-04 22:03:21 +00:00
Bruno Quaresma
8f7b6a2936
fix(site): fix date range on template insights ( #8914 )
2023-08-04 18:00:13 +00:00
Cian Johnston
7224ff2af8
fix(enterprise/replicasync): fix data race in Manager.Regional ( #8910 )
2023-08-04 17:33:05 +01:00
Muhammad Atif Ali
9f5ac4d15d
ci: publish main commit tag to ghcr.io/coder/coder-preview ( #8897 )
...
* wip
* push new tag and delete old tag
* prune by filtering
* fix permission
* fix filter
* keep last 2 versions
* use first 7 characters of sha for tag
* do not use gh cli
* test
* typo
* use gh cli again
* reduce days to 3
* fixup
* typo
* keep-last 5
* ready to merge
* retain tags from last 7 days
* test
* ready
2023-08-04 19:27:12 +03:00
Cian Johnston
9fb18f3ae5
feat(coderd): batch agent stats inserts ( #8875 )
...
This PR adds support for batching inserts to the workspace_agents_stats table.
Up to 1024 stats are batched, and flushed every second in a batch.
2023-08-04 17:00:42 +01:00
Cian Johnston
ae88b79fd7
fix(cli): stat: set --host arg in TestStatCPUCmd to avoid test flakes in containers ( #8806 )
2023-08-04 15:15:33 +00:00
Cian Johnston
607cd11724
fix(cli): address race condition in scaletest_test output ( #8902 )
2023-08-04 15:06:28 +00:00
Bruno Quaresma
5106dfde52
refactor(site): refactor the ports button design ( #8879 )
...
* Refactor button
* Move component to where it is used
* Add base state of port forward component
* Add stories and empty state
* Add listening ports to handlers
* Add review suggestions
* Fix minor thing
2023-08-04 09:55:33 -05:00
Eric Paulsen
1c3ec8743c
docs: clean up k8s install steps and order ( #8869 )
2023-08-04 08:40:48 -04:00
Ammar Bandukwala
eae15c0789
chore(examples): bump envbuilder version ( #8893 )
2023-08-04 06:47:15 -05:00
Cian Johnston
aff025e78c
chore(docs): fix link to helm values highlighting affinity ( #8901 )
2023-08-04 10:25:24 +00:00
Spike Curtis
cb4989cd8d
feat: add PSK for external provisionerd auth ( #8877 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-08-04 12:32:28 +04:00
Muhammad Atif Ali
b77d6b2c84
ci: delete comments by github-action[bot] ( #8896 )
2023-08-04 06:55:38 +00:00
Eric Paulsen
2e45a0ffd7
fix(helm): set correct prom port in helm notes ( #8888 )
2023-08-04 07:52:59 +03:00
Jon Ayers
e43608395c
feat: add frontend for locked workspaces ( #8655 )
...
- Fix workspaces query for locked workspaces.
2023-08-03 19:46:02 -05:00
Colin Adler
502c7680a2
chore: fix release and security pipelines ( #8891 )
2023-08-03 18:40:47 -05:00
Ben Potter
7ad944da5f
chore: v2 changelog ( #8890 )
2023-08-03 21:45:32 +00:00
Colin Adler
8ee500c59d
fix: generate typescript types for healthcheck pkg ( #8846 )
2023-08-03 16:20:46 -05:00
Cian Johnston
72780c8031
chore(docs): update scaling.md ( #8883 )
...
* chore(docs): update scaling docs
* fixup! chore(docs): update scaling docs
* Update docs/admin/scale.md
* update with compute resources provided to coder
* address PR comments
2023-08-03 21:59:07 +01:00
Ben Potter
1314cd8fcb
chore: support manual changelog and version 2.0 for releases ( #8880 )
...
* chore(release): add manual changelog + 2.0 support
* add comment
* fix typo
* fmt
2023-08-03 12:41:54 -05:00
Muhammad Atif Ali
10da570916
fix: prevent PR deployment without manual trigger ( #8882 )
...
* fix: do not deploy without a manual trigger
This will fix automatic first deployment
* fix typo
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* Update pr-deploy.yaml
* build at least once
* wait for certificate
* Update pr-deploy.yaml
2023-08-03 19:32:20 +03:00
Muhammad Atif Ali
b47bd7ccb5
ci: implement automatic upgrade of PR deployment ( #8876 )
2023-08-03 18:11:07 +03:00
Mathias Fredriksson
d3991fac26
feat(coderd): add parameter insights to template insights ( #8656 )
2023-08-03 14:43:23 +00:00
Bruno Quaresma
2ed453035e
fix: fix develop script and pnpm command ( #8878 )
2023-08-03 14:15:45 +00:00
dependabot[bot]
7493b28155
chore: bump the storybook group in /site with 1 update ( #8872 )
...
Bumps the storybook group in /site with 1 update: [storybook-addon-react-router-v6](https://github.com/JesusTheHun/storybook-addon-react-router-v6 ).
- [Release notes](https://github.com/JesusTheHun/storybook-addon-react-router-v6/releases )
- [Changelog](https://github.com/JesusTheHun/storybook-addon-react-router-v6/blob/main/CHANGELOG.md )
- [Commits](https://github.com/JesusTheHun/storybook-addon-react-router-v6/compare/v1.0.2...v2.0.0 )
---
updated-dependencies:
- dependency-name: storybook-addon-react-router-v6
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 08:19:22 +03:00
Colin Adler
e68d508469
chore: bump openssl in base image ( #8811 )
2023-08-02 16:16:34 -05:00
Bruno Quaresma
b6018198b7
chore: remove insights from experimental ( #8868 )
2023-08-02 20:24:00 +00:00
Muhammad Atif Ali
f7327dd2c6
fix: avoid using comment body directly ( #8851 )
2023-08-02 22:19:17 +03:00
Colin Adler
4b81cfaa0d
chore: switch from yarn to pnpm ( #8822 )
2023-08-02 13:28:16 -05:00
Bruno Quaresma
cf35c0dfc5
feat(site): add health warning and a health monitor page ( #8844 )
2023-08-02 14:49:24 -03:00
Bruno Quaresma
44f9b0228a
fix(site): fix initial value for update parameters ( #8863 )
2023-08-02 14:37:02 -03:00
Bruno Quaresma
00cbb211b4
fix(site): show error when user exists ( #8864 )
2023-08-02 14:36:35 -03:00
Colin Adler
eddd4f8888
chore: fix dupliate migration round 2 ( #8867 )
2023-08-02 16:28:30 +00:00
Steven Masley
4c1e63aae8
feat: add display_name field to groups ( #8740 )
...
* feat: add display_name field to groups
This is a non-unique human friendly group name for display
purposes. This means a display name can be used instead of
using an environment var to remap groups with OIDC names to
Coder names. Now groups can retain the OIDC name for mapping,
and use a display name for display purposes.
2023-08-02 10:53:06 -05:00
Dean Sheather
6ea32e4e80
fix: show current DERP name correctly in vscode ( #8856 )
2023-08-03 01:30:43 +10:00
Colin Adler
aa7b267170
chore: add pnpm to dogfood image ( #8865 )
2023-08-02 10:26:47 -05:00
Colin Adler
e482d39052
chore: fix duplicate migration ( #8866 )
2023-08-02 15:09:10 +00:00
Dean Sheather
cd1e088f7c
feat: add --derp-only flag to wsproxy ( #8850 )
2023-08-03 00:35:06 +10:00
Marcin Tojek
d6e9870209
feat: add "dormant" user state ( #8644 )
2023-08-02 16:31:25 +02:00
Muhammad Atif Ali
d2c7c8e1d8
fix: allow ci to publish a package ( #8862 )
2023-08-02 17:22:11 +03:00
Muhammad Atif Ali
57c7d7d4d2
ci: build and push ghcr.io/coder/coder-preview:main ( #8832 )
2023-08-02 15:45:14 +03:00
Dean Sheather
496ec6cfc5
fix: add read call to derp-map endpoint to avoid ws ping timeout ( #8859 )
2023-08-02 08:31:51 +00:00
Muhammad Atif Ali
75fcc24b60
fix: copy secret for the first deployment too ( #8857 )
2023-08-02 10:44:38 +03:00
Dean Sheather
b955c5fefc
fix: avoid agent runLoop exiting due to ws ping ( #8852 )
2023-08-02 07:25:07 +00:00
Muhammad Atif Ali
f48e8dcf88
chore: update concurrency to use PR number ( #8853 )
2023-08-02 10:04:39 +03:00
Colin Adler
1472cce6c3
chore: increment GOCACHE key ( #8849 )
2023-08-02 03:33:52 +00:00
Dean Sheather
6b69970d7c
fix: avoid infinite loop in agent derp-map ( #8848 )
2023-08-02 13:18:46 +10:00
Colin Adler
805eaca4b7
chore: use fetch-depth: 1 for most ci jobs ( #8847 )
2023-08-02 02:48:35 +00:00
dependabot[bot]
9b6750a4db
chore: bump github.com/open-policy-agent/opa from 0.51.0 to 0.55.0 ( #8808 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 21:48:02 -05:00
Ben Potter
4456d0bfea
docs: sync roles (enterprise) ( #8696 )
...
* docs: role sync (enterprise)
* edits from code review
* fix typo
2023-08-01 13:47:55 -05:00
Eric Paulsen
924bccbfcf
docs: rm microsoft vs code server docs ( #8845 )
2023-08-01 12:46:17 -05:00
Steven Masley
66649f97a8
chore: use system permission to prevent fetching all workspaces ( #8843 )
...
* chore: use system permission to prevent fetching all workspaces
2023-08-01 12:26:22 -05:00
Dean Sheather
c575292ba6
fix: fix tailnet netcheck issues ( #8802 )
2023-08-02 01:50:43 +10:00
Steven Masley
929f2d585a
fix: intiator user fields are included in the workspace build ( #8836 )
2023-08-01 10:35:43 -05:00
dependabot[bot]
b7eafe1635
chore: bump github.com/gohugoio/hugo from 0.115.0 to 0.116.0 ( #8807 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 10:27:23 -05:00
Colin Adler
437256d352
chore: upgrade slog ( #8815 )
2023-08-01 10:26:52 -05:00
Muhammad Atif Ali
e23e5262b4
chore: wait 30 seconds before checking winget PR in release.yaml ( #8835 )
2023-08-01 14:57:25 +00:00
Muhammad Atif Ali
b104bb7005
docs: update CONTRIBUTING.md with PR deployments instructions ( #8831 )
...
* docs: Update CONTRIBUTING.md with PR deployments instructions
* update
2023-08-01 16:48:32 +03:00
dependabot[bot]
dcc63aec90
chore: bump the storybook group in /site with 6 updates ( #8828 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 16:14:20 +03:00
dependabot[bot]
27c2fb8a56
chore: bump the eslint group in /site with 5 updates ( #8829 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 15:19:07 +03:00
Muhammad Atif Ali
6a12912d6e
ci: use a wildcard subdomain for PR deployments ( #8801 )
2023-08-01 12:02:42 +01:00
Marcin Tojek
336e663180
fix: parse insights start and end time ( #8826 )
2023-08-01 10:43:49 +02:00
dependabot[bot]
a96c4a3f29
chore: bump framer-motion from 6.5.1 to 10.15.0 in /offlinedocs ( #8817 )
...
Bumps [framer-motion](https://github.com/framer/motion ) from 6.5.1 to 10.15.0.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/framer/motion/compare/v6.5.1...v10.15.0 )
---
updated-dependencies:
- dependency-name: framer-motion
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 07:28:06 +03:00
dependabot[bot]
8d0e8f45e0
chore: bump eslint from 8.45.0 to 8.46.0 in /offlinedocs ( #8816 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.45.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.46.0 )
---
updated-dependencies:
- dependency-name: eslint
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>
2023-08-01 07:27:19 +03:00
dependabot[bot]
280fc9d5ef
chore: bump typescript from 4.7.3 to 5.1.6 in /offlinedocs ( #8819 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.7.3 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v5.1.6 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 07:27:04 +03:00
Colin Adler
b84bba8fd1
chore: increase fmt timeout ( #8820 )
2023-07-31 16:36:53 -05:00
Steven Masley
cb36783e8c
feat: convert to oidc out of experimental ( #8742 )
2023-07-31 10:30:34 -05:00
Colin Adler
ed82b864d0
chore: reenable prisma image scan ( #8810 )
2023-07-31 10:12:24 -05:00
Muhammad Atif Ali
af036b440b
docs: allow multiple Coder deployments to use single GitHub OAuth app ( #8786 )
...
* docs: Add instructions for using the same GitHub OAuth app for multiple Coder deployments
* fmt
* typo
* Update auth.md
2023-07-31 10:00:48 -04:00
Marcin Tojek
ddabe9cc7f
feat: improve RBAC preconditions for Insights endpoint ( #8794 )
2023-07-31 13:44:32 +00:00
Colin Adler
4cc270b12b
revert(enterprise): make pgcoord experimental again ( #8797 )
2023-07-28 18:38:32 -05:00
Colin Adler
98d9a65cf5
chore: mark site/src/api/typesGenerated.ts as generated ( #8798 )
2023-07-28 18:22:37 -05:00
Colin Adler
0b4f333a6f
chore: add http debug support to pgcoord ( #8795 )
2023-07-28 17:59:31 -05:00
Bruno Quaresma
a75346dd32
refactor(site): simplify workspaces page component structure ( #8793 )
2023-07-28 13:07:50 -03:00
Kyle Carberry
bd944e0d21
chore: rename startup logs to agent logs ( #8649 )
...
* chore: rename startup logs to agent logs
This also adds a `source` property to every agent log. It
should allow us to group logs and display them nicer in
the UI as they stream in.
* Fix migration order
* Fix naming
* Rename the frontend
* Fix tests
* Fix down migration
* Match enums for workspace agent logs
* Fix inserting log source
* Fix migration order
* Fix logs tests
* Fix psql insert
2023-07-28 15:57:23 +00:00
Bruno Quaresma
78b06397a6
fix(site): fix metadata value changing width all the time ( #8780 )
2023-07-28 09:59:49 -03:00
Muhammad Atif Ali
ea2ae10bc3
ci: update terraform to ~1.5 ( #8766 )
...
* ci: update terraform to 1.5.3
* Update action.yaml
2023-07-28 10:12:06 +00:00
Muhammad Atif Ali
e029df61ff
ci: update secret name in pr-cleanup.yaml ( #8790 )
2023-07-28 08:26:11 +00:00
Bruno Quaresma
e8f82538e8
refactor(site): sort proxies in navbar by latency ( #8781 )
2023-07-27 21:50:11 -03:00
Kyle Carberry
91a0c7abe0
fix: improve the language of the template insights page ( #8777 )
2023-07-27 21:04:28 +00:00
Bruno Quaresma
471dc6126c
chore: upgrade nodejs version to 18.x ( #8768 )
2023-07-27 17:54:38 -03:00
Bruno Quaresma
3114a60e5c
ci: optimize chromatic ( #8776 )
...
* Update ci.yaml
Modified the Chromatic job configuration to reduce snapshot usage and only run Chromatic on necessary UI changes.
Signed-off-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
* fix fmt
---------
Signed-off-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
Co-authored-by: Reuben Ellis <ethriel3695@gmail.com >
2023-07-27 15:51:26 -03:00
dependabot[bot]
c236a29307
chore: bump google.golang.org/grpc from 1.56.2 to 1.57.0 ( #8757 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 12:49:13 -05:00
Bruno Quaresma
4d36b859d2
refactor(site): make few ui changes on template insights ( #8774 )
2023-07-27 14:37:04 -03:00
Cian Johnston
5c9167df36
chore(helm): update sample resource requests/limits ( #8773 )
...
The sample resource requests/limits are undersized.
2023-07-27 13:28:06 -04:00
dependabot[bot]
ca710e52b6
chore: bump google.golang.org/api from 0.133.0 to 0.134.0 ( #8756 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 16:50:18 +00:00
Yinon Avraham
de60bff88e
chore(docs): small fixes in JFrog integration docs ( #8736 )
2023-07-27 11:46:06 -05:00
Ammar Bandukwala
edd9628aa6
fix(cli): correctly print deprecated warnings ( #8771 )
...
In the previous implementation, it was possible for default-set values
to trigger the deprecation warning.
2023-07-27 16:42:18 +00:00
Kyle Carberry
ff794e4b23
chore: add e2e test for backwards ssh compatibility ( #8761 )
...
* chore: add e2e test for backwards ssh compatibility
* Use the SSH client directly
* fmt
2023-07-27 10:42:11 -05:00
Ben Potter
34dfbfa9d3
ci: add DB to PR deploys ( #8770 )
...
* ci: add DB to PR deploys
* add bitnami remo
* fix namespace
* change ingress host
* remove wildcard host
2023-07-27 14:50:53 +00:00
dependabot[bot]
975424b3a2
chore: bump the eslint group in /site with 5 updates ( #8636 )
...
* chore: bump the eslint group in /site with 5 updates
Bumps the eslint group in /site with 5 updates:
| Package | Update |
| --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | 5.62.0 to 6.1.0 |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | 5.62.0 to 6.1.0 |
| [eslint](https://github.com/eslint/eslint ) | 8.44.0 to 8.45.0 |
| [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) | 7.31.1 to 7.33.0 |
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) | 47.0.0 to 48.0.0 |
Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 6.1.0
- [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/v6.1.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 5.62.0 to 6.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.1.0/packages/parser )
Updates `eslint` from 8.44.0 to 8.45.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0 )
Updates `eslint-plugin-react` from 7.31.1 to 7.33.0
- [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.31.1...v7.33.0 )
Updates `eslint-plugin-unicorn` from 47.0.0 to 48.0.0
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v48.0.0 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
* ignore no-redundant-type-constituents
* Fix minor lint errors
* Discard changes to site/.eslintrc.yaml
* Fix redudant types
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atif Ali <atif@coder.com >
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-07-27 10:51:18 -03:00
Muhammad Atif Ali
92798e957f
chore: bump typescript from 4.8.2 to 5.1.6 in /site ( #8688 )
2023-07-27 10:21:38 -03:00
Muhammad Atif Ali
f6c36d903e
ci: prevent running deploy on all comments ( #8767 )
2023-07-27 13:00:00 +00:00
Muhammad Atif Ali
3761205bae
ci: further improve pr deployments ( #8764 )
2023-07-27 12:40:59 +00:00
Bruno Quaresma
e85b88ca90
feat(site): add restart button when workspace is unhealthy ( #8765 )
2023-07-27 09:20:24 -03:00
Bruno Quaresma
f54d385266
feat(site): add auto mode on create workspace form ( #8651 )
2023-07-27 08:47:58 -03:00
Muhammad Atif Ali
bc55ffdf0d
ci: improve deploy-pr workflow ( #8735 )
2023-07-27 13:07:53 +03:00
Cian Johnston
32829080ac
feat(cli): add dashboard load test command ( #8723 )
2023-07-27 09:40:13 +01:00
Jon Ayers
c3aface285
fix: fix coder stat mem ( #8762 )
...
- For cgroups v1 the wrong cgroup file was being read
to determine max memory. This commit updates the file
from '/sys/fs/cgroup/memory/memory.max_usage_in_bytes' to
'/sys/fs/cgroup/memory/memory.limit_in_bytes'
2023-07-27 09:33:43 +01:00
Colin Adler
74c4553a3f
fix(codersdk): always dial agents with WorkspaceAgentIP ( #8760 )
2023-07-27 03:44:44 +00:00
dependabot[bot]
7b08be8000
chore: bump google.golang.org/api from 0.132.0 to 0.133.0 ( #8746 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 18:53:06 -05:00
Colin Adler
2811ab62d0
chore: fix workspace proxy flake ( #8755 )
2023-07-26 23:50:25 +00:00
Colin Adler
5cfa7082d1
chore: attempt to fix windows goleak failures ( #8753 )
2023-07-26 18:50:13 -05:00
Colin Adler
6af1f6a9d9
chore: fix Test_parseInsightsStartAndEndTime test ( #8754 )
2023-07-26 23:27:30 +00:00
Colin Adler
dd2f79995b
chore(tailnet): rewrite coordinator debug using html/template ( #8752 )
2023-07-26 22:54:21 +00:00
Ammar Bandukwala
02550a9062
fix(cli): apply log-filter to debug logs only ( #8751 )
2023-07-26 22:31:41 +00:00
Kyle Carberry
131babfb00
fix: request trial after password is validated ( #8750 )
2023-07-26 22:04:15 +00:00
Ammar Bandukwala
25e30c6f41
feat(cli): support fine-grained server log filtering ( #8748 )
2023-07-26 16:46:22 -05:00
Bruno Quaresma
4e9e480cc6
fix(site): fix latency values ( #8749 )
2023-07-26 17:14:45 -03:00
Ammar Bandukwala
f28bac1b05
chore(scripts): use fake semver when using sapling ( #8747 )
...
The fact that the Sapling commit didn't conform to semver
broke the agent handshake with coderd.
2023-07-26 20:00:21 +00:00
Colin Adler
6b92abebb9
fix(tailnet): track agent names for http debug ( #8744 )
2023-07-26 18:44:10 +00:00
Bruno Quaresma
b5dec61cd5
feat(site): show metadata stale data ( #8745 )
2023-07-26 15:41:07 -03:00
Dean Sheather
9ffbdc6696
hotfix: fix failed 32-bit builds ( #8741 )
2023-07-26 17:30:47 +00:00
Dean Sheather
2f0a9996e7
chore: add derpserver to wsproxy, add proxies to derpmap ( #7311 )
2023-07-27 02:21:04 +10:00
Marcin Tojek
70692c2e4e
fix: unify parameter validation errors ( #8738 )
2023-07-26 17:44:50 +02:00
Steven Masley
2089006fbc
feat!: drop reading other 'user' permission ( #8650 )
...
* feat: drop reading other 'user' permission
Members of the platform can no longer read or list other users.
Resources that have "created_by" or "initiated_by" still retain
user context, but only include username and avatar url.
Attempting to read a user found via those means will result in
a 404.
* Hide /users page for regular users
* make groups a privledged endpoint
* Permissions page for template perms
* Admin for a given template enables an endpoint for listing users/groups.
2023-07-26 10:33:48 -04:00
Bruno Quaresma
8649a10441
feat(site): add template insights page ( #8722 )
2023-07-26 13:13:56 +00:00
Muhammad Atif Ali
da7e1eb75d
ci: add a missing end quote ( #8734 )
2023-07-26 00:39:00 +00:00
Muhammad Atif Ali
0b5a01aa1b
test: fix comments in deploy-pr.yaml ( #8733 )
2023-07-26 00:06:59 +00:00
Muhammad Atif Ali
26264bd3ef
test: remove erroneous quotes from deploy-pr.yaml ( #8732 )
2023-07-25 23:16:57 +00:00
Muhammad Atif Ali
2c7d8ee06a
fix: remove the usage of -u flag ( #8731 )
2023-07-25 22:54:42 +00:00
Colin Adler
f07d2ff68d
fix(enterprise): ensure creating a SCIM user is idempotent ( #8730 )
2023-07-25 17:49:52 -05:00
Muhammad Atif Ali
0feb855b8f
fix: revert back to curl in deply-pr.yaml ( #8729 )
2023-07-25 22:40:26 +00:00
Muhammad Atif Ali
733ae5038a
fix: a small issue with pr_deploy.yaml ( #8728 )
2023-07-25 22:15:44 +00:00
Muhammad Atif Ali
86d4c4ff0e
test: improve pr deployments ( #8720 )
2023-07-26 00:56:38 +03:00
Muhammad Atif Ali
844ef76d39
fix: handle issue_comment event ( #8726 )
2023-07-25 19:52:44 +00:00
Muhammad Atif Ali
67f1123808
use gh cli ( #8725 )
2023-07-25 19:35:28 +00:00
Ammar Bandukwala
ee652d525d
docs: explain how to install the JFrog VS Code extension ( #8724 )
2023-07-25 18:06:30 +00:00
Muhammad Atif Ali
7447bfa320
fix: checkout correct branch for PR deployment ( #8721 )
2023-07-25 16:08:44 +00:00
Bruno Quaresma
dfb1a1df3a
feat(site): add terminal icon ( #8719 )
2023-07-25 11:41:29 -03:00
Ammar Bandukwala
2a01747804
feat(cli): add --var shorthand for --variable ( #8710 )
...
`--variable` is used frequently enough to deserve a shorthand. Unfortunately,
`-v` is taken by verbose, and `-V` is too easily confused with version or
verbose, so we're left with "--var".
2023-07-25 14:36:02 +00:00
Bruno Quaresma
30e16052d6
fix(coderd): update icon url to the right one ( #8718 )
2023-07-25 14:06:58 +00:00
Steven Masley
de1a7a9210
chore: join user information to workspace_build and template_version ( #8625 )
...
* include minimial user on template version and build
* Add unit test to ensure join is superset
2023-07-25 09:14:38 -04:00
Bruno Quaresma
fbb2a6a434
refactor(coderd): add avatar URL to the users' latency endpoint ( #8701 )
2023-07-25 12:15:46 +02:00
Marcin Tojek
7004013537
chore: update nix flake to include sqlc v1.19.1 ( #8715 )
2023-07-25 09:09:16 +00:00
Ammar Bandukwala
f6f61dfa26
docs: fix duplicate sentence ( #8712 )
...
Resolves #8664
2023-07-25 02:22:41 +00:00
Ammar Bandukwala
b8e792bf8a
chore: make update-golden-files ( #8711 )
...
One of the recent helm changes snuck in CI breakage.
2023-07-25 01:18:53 +00:00
Ammar Bandukwala
5eb825155e
docs: slightly improve wording in jfrog.md ( #8709 )
2023-07-24 20:05:54 -05:00
Ammar Bandukwala
a0f478c02f
docs: cleanup jfrog ( #8708 )
...
* Add a missing requirement
* Improve English
2023-07-24 19:29:30 -05:00
Ammar Bandukwala
8686b7a499
docs: explain JFrog integration 🐸 ( #8682 )
2023-07-24 23:16:09 +00:00
Eric Paulsen
29963433ee
feat(helm)!: set enableDeployments default to true ( #8704 )
2023-07-24 17:13:28 -05:00
Eric Paulsen
353bfb618c
fix: missing manifest for deployment logs doc ( #8703 )
2023-07-24 17:12:48 -05:00
Ben Potter
adbabe4e09
fix: hide experiment CTA from OIDC copy ( #8695 )
2023-07-24 14:51:28 -05:00
Steven Masley
ac559f101e
fix: handle omitted role sync claim ( #8697 )
...
* fix: handle omitted role sync claim
2023-07-24 15:50:23 -04:00
Bruno Quaresma
ac973a4b2c
fix(site): fix error 'Reduce of empty array with no initial value' ( #8700 )
2023-07-24 14:17:27 -03:00
Ammar Bandukwala
c32085ca10
chore(scripts): handle Sapling in version.sh ( #8687 )
2023-07-24 11:11:46 -05:00
Muhammad Atif Ali
6929792a58
docs: add coder-logstream-kube docs and update k8s example template ( #8675 )
...
* docs: add kubestream docs and update example template
* make fmt
* add to template's README
* add the seperate page
* make fmt
* make fmt
* add namespace to deployment resource
* fmt
* add screenshots
* link docs in template
* Add remaining examples
* enable deployments requirement
* Update deployment-logs.md
* rewording
* fix spelling
* how?
* cleanup
* Update docs/platforms/kubernetes/deployment-logs.md
Co-authored-by: Ben Potter <ben@coder.com >
* suggestions
* use online link
* refine
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
2023-07-24 11:51:25 -04:00
Marcin Tojek
b7ced94f0f
fix: prevent repetition of template IDs in template_usage_by_day ( #8693 )
2023-07-24 15:07:01 +02:00
Steven Masley
f827829afe
feat: synchronize oidc user roles ( #8595 )
...
* feat: oidc user role sync
User roles come from oidc claims. Prevent manual user role changes
if set.
* allow mapping 1:many
2023-07-24 08:34:24 -04:00
dependabot[bot]
94541d201f
chore: bump react-chartjs-2 in /site from 4.3.1 to 5.2.0 ( #8632 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-07-24 14:44:14 +03:00
dependabot[bot]
75265ecf68
chore: bump fs-extra from 10.1.0 to 11.1.1 in /offlinedocs ( #8630 )
...
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra ) from 10.1.0 to 11.1.1.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/10.1.0...11.1.1 )
---
updated-dependencies:
- dependency-name: fs-extra
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 14:25:55 +03:00
dependabot[bot]
0f915e1e75
chore: bump @types/react-dom from 18.0.5 to 18.2.7 in /offlinedocs ( #8671 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.0.5 to 18.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
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>
2023-07-24 11:21:33 +00:00
dependabot[bot]
625eef93c5
chore: bump next from 12.1.6 to 13.4.12 in /offlinedocs ( #8669 )
...
Bumps [next](https://github.com/vercel/next.js ) from 12.1.6 to 13.4.12.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v12.1.6...v13.4.12 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 14:17:08 +03:00
dependabot[bot]
c136fa9e52
chore: bump @types/react from 18.0.14 to 18.2.15 in /offlinedocs ( #8672 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.0.14 to 18.2.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
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>
2023-07-24 14:16:57 +03:00
dependabot[bot]
d54bc60842
chore: bump react-icons from 4.4.0 to 4.10.1 in /offlinedocs ( #8673 )
...
Bumps [react-icons](https://github.com/react-icons/react-icons ) from 4.4.0 to 4.10.1.
- [Release notes](https://github.com/react-icons/react-icons/releases )
- [Commits](https://github.com/react-icons/react-icons/compare/v4.4.0...v4.10.1 )
---
updated-dependencies:
- dependency-name: react-icons
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-07-24 14:16:44 +03:00
Muhammad Atif Ali
757ea68d4a
ci: fmt, lint and build offlinedocs ( #8642 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-07-24 10:54:08 +00:00
Muhammad Atif Ali
87f07b9f2f
ci: reduce duplication ( #8692 )
...
* ci: reduce duplication
* typo
2023-07-24 10:51:43 +00:00
Muhammad Atif Ali
196b29983b
docs: fix a broken link ( #8691 )
2023-07-24 09:13:59 +00:00
Ammar Bandukwala
c3b8898f0a
fix(coderd/unhanger): de-duplicate logs ( #8686 )
...
The final warning just repeated previous lines.
2023-07-24 14:28:09 +10:00
Ammar Bandukwala
c9ade6f6c5
chore: enforce that site icons are .svg ( #8684 )
2023-07-23 16:27:11 -05:00
Ammar Bandukwala
d56bf52141
chore(scripts): support Sapling in project_root ( #8685 )
2023-07-23 15:59:49 -05:00
Ammar Bandukwala
9833cd32b3
Revert "chore(scripts): support sappling in project_root"
...
This reverts commit 6855735085 .
This was pushed accidentally.
2023-07-23 19:40:28 +00:00
Ammar Bandukwala
6855735085
chore(scripts): support sappling in project_root
2023-07-23 19:34:44 +00:00
Muhammad Atif Ali
43cc5449a1
fix: fix a typo in deploy-pr.yaml ( #8678 )
2023-07-23 16:21:29 +00:00
Muhammad Atif Ali
30e86e0058
chore: do not deploy a PR on deleted comment ( #8677 )
...
* chore: improve deploy-pr.yaml
* Update pr-deploy.yaml
* make fmt
2023-07-23 19:06:24 +03:00
Muhammad Atif Ali
e7330436c9
chore: insatll coder-logstream-kube for PR deployments ( #8676 )
2023-07-23 15:35:53 +00:00
Muhammad Atif Ali
ec880f26b4
chore: enable deployments for PR deplyments ( #8674 )
2023-07-23 17:32:17 +03:00
Sebastiaan ten Pas
a28883d9f0
fix: do not wait for devcontainer template volume claim bound ( #8539 )
2023-07-23 06:06:23 +00:00
dependabot[bot]
1cadfa4e4f
chore: bump the storybook group in /site with 6 updates ( #8635 )
...
Bumps the storybook group in /site with 6 updates:
| Package | Update |
| --- | --- |
| [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions ) | 7.0.26 to 7.1.0 |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) | 7.0.26 to 7.1.0 |
| [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links ) | 7.0.26 to 7.1.0 |
| [@storybook/addon-mdx-gfm](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/gfm ) | 7.0.26 to 7.1.0 |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite ) | 7.0.26 to 7.1.0 |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) | 7.0.26 to 7.1.0 |
Updates `@storybook/addon-actions` from 7.0.26 to 7.1.0
- [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/v7.1.0/code/addons/actions )
Updates `@storybook/addon-essentials` from 7.0.26 to 7.1.0
- [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/v7.1.0/code/addons/essentials )
Updates `@storybook/addon-links` from 7.0.26 to 7.1.0
- [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/v7.1.0/code/addons/links )
Updates `@storybook/addon-mdx-gfm` from 7.0.26 to 7.1.0
- [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/v7.1.0/code/addons/gfm )
Updates `@storybook/react-vite` from 7.0.26 to 7.1.0
- [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/v7.1.0/code/frameworks/react-vite )
Updates `storybook` from 7.0.26 to 7.1.0
- [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/v7.1.0/code/lib/cli )
---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-links"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/addon-mdx-gfm"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: "@storybook/react-vite"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 01:00:42 +03:00
dependabot[bot]
9a7729d60f
chore: bump @testing-library/jest-dom from 5.16.5 to 5.17.0 in /site ( #8670 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.5 to 5.17.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.5...v5.17.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
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>
2023-07-22 21:46:39 +00:00
dependabot[bot]
82310896ad
chore: bump eslint from 8.17.0 to 8.45.0 in /offlinedocs ( #8631 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.17.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.45.0 )
---
updated-dependencies:
- dependency-name: eslint
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>
2023-07-22 21:39:59 +00:00
dependabot[bot]
aae7175a83
chore: bump @chakra-ui/react from 2.7.1 to 2.8.0 in /offlinedocs ( #8633 )
...
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/components/react ) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases )
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/react/CHANGELOG.md )
- [Commits](https://github.com/chakra-ui/chakra-ui/commits/@chakra-ui/react@2.8.0/packages/components/react )
---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
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-07-23 00:34:23 +03:00
dependabot[bot]
e056d0243a
chore: bump @tanstack/react-query from 4.29.19 to 4.32.0 in /site ( #8668 )
...
Bumps [@tanstack/react-query](https://github.com/tanstack/query ) from 4.29.19 to 4.32.0.
- [Release notes](https://github.com/tanstack/query/releases )
- [Commits](https://github.com/tanstack/query/compare/v4.29.19...v4.32.0 )
---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
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-07-22 21:33:18 +00:00
dependabot[bot]
a9036ed02b
chore: bump chromatic from 6.19.9 to 6.20.0 in /site ( #8667 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.19.9 to 6.20.0.
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.19.9...v6.20.0 )
---
updated-dependencies:
- dependency-name: chromatic
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>
2023-07-22 21:31:50 +00:00
dependabot[bot]
b7db4ee69f
chore: bump eslint-config-next from 12.1.6 to 13.4.10 in /offlinedocs ( #8629 )
...
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next ) from 12.1.6 to 13.4.10.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/commits/v13.4.10/packages/eslint-config-next )
---
updated-dependencies:
- dependency-name: eslint-config-next
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 00:28:56 +03:00
Mathias Fredriksson
e0c1aacac1
fix(coderd): fix template insight intervals ( #8662 )
2023-07-21 20:51:35 +00:00
Jyotirmoy Bandyopadhyaya
65583eca47
feat(cli): check if dotfiles install script is executable ( #8588 )
...
* feat(cli): check if dotfiles install script is executable
* feat(docs): add section for dotfiles setup and document executable fix
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-07-21 18:39:50 +00:00
Bruno Quaresma
7f67000b90
fix(site): send build parameters over the confirmation dialog on restart ( #8660 )
2023-07-21 12:35:28 -06:00
Mathias Fredriksson
30fe153296
feat(coderd): add user latency and template insights endpoints ( #8519 )
...
Part of #8514
Refs #8109
2023-07-21 18:00:19 +00:00
Cian Johnston
539fcf9e6b
chore(coderd/util/tz): skip flaky test ( #8652 )
2023-07-21 16:31:52 +00:00
Eric Paulsen
001670cc13
docs: add steps for postgres SSL cert config ( #8648 )
...
* docs: add steps for postgres SSL cert config
* make fmt
* Update docs/install/kubernetes.md
Co-authored-by: Cian Johnston <cian@coder.com >
* fixup! Update docs/install/kubernetes.md
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-07-21 10:36:11 -04:00
Ben Potter
1a915f5b30
chore: improve workspace proxy copy ( #8427 )
...
* chore: workspace proxy copy
* fmt
2023-07-21 13:34:29 +00:00
Ben Potter
12b51ca804
ci: fix release notes compare link ( #8581 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-21 15:22:54 +03:00
Marcin Tojek
c8772fba82
chore: update nix flake to include sqlc v1.19.0 ( #8645 )
2023-07-21 14:21:44 +02:00
Cian Johnston
fd372f6735
fix(cli/clistat): improve detection of container environment ( #8643 )
...
Use the presence of /var/run/secrets/kubernetes.io/serviceaccount/token to determine if we are in a container in addition to sniffing /proc/1/cgroup
2023-07-21 10:18:56 +00:00
dependabot[bot]
87d5cdaf58
chore: bump ts-proto from 1.153.2 to 1.156.0 in /site ( #8637 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 10:49:25 +03:00
Colin Adler
2901147ae3
test: fix race in templateedit_test.go ( #8641 )
2023-07-21 03:26:55 +00:00
Jon Ayers
b47d076756
feat: add deleting_at column to workspaces ( #8333 )
2023-07-20 22:01:11 -05:00
Muhammad Atif Ali
0c73164f15
chore: add offlinedocs to ts filter in ci.yaml ( #8616 )
2023-07-20 20:33:50 +00:00
dependabot[bot]
2d3d78b5b1
chore: bump google.golang.org/api from 0.131.0 to 0.132.0 ( #8596 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.131.0 to 0.132.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.131.0...v0.132.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-07-20 23:13:07 +03:00
Muhammad Atif Ali
cc659163ef
chore: add offlinedocs to depemdabot.yaml ( #8617 )
...
Add offlinedocs to depemdabot.yaml
2023-07-20 23:12:08 +03:00
Colin Adler
830020df15
fix(site): don't mark metadata with interval: 0 as stale ( #8627 )
2023-07-20 15:05:32 -05:00
Colin Adler
1cb39fc65d
test: ignore more spurious pgcoord errors ( #8628 )
2023-07-20 19:55:25 +00:00
Colin Adler
71d4e4e6e8
fix(agent): check agent metadata every second instead of minute ( #8614 )
2023-07-20 14:02:58 -05:00
Colin Adler
c8d65de4b7
test(agent): fix TestAgent_Metadata/Once flake ( #8613 )
2023-07-20 18:49:44 +00:00
Muhammad Atif Ali
deb9261232
ci: allow running other jobs in the matrix if one of them fails ( #8624 )
2023-07-20 15:56:47 +00:00
Muhammad Atif Ali
fd5d26d385
chore: prevent running chromatic on all merged PRs ( #8623 )
2023-07-20 15:18:02 +00:00
Bruno Quaresma
6de95f4f32
chore(site): remove build logs from experimental ( #8619 )
2023-07-20 15:02:19 +00:00
Dean Sheather
dc8b73168e
feat: add user quiet hours schedule and restart requirement feature flag ( #8115 )
2023-07-20 23:35:41 +10:00
Ben Potter
4821e2e6d8
chore: add jq to base image ( #8563 )
...
* chore: add jq to base image
* fix formatting
2023-07-20 07:04:56 -05:00
Cian Johnston
68a46198d3
fix(scaletest): deploy external provisionerd ( #8618 )
...
* scaletest: stop kubernetes_secret from being constantly recreated
* scaletest: ensure we do not get auto-upgraded
* scaletest: add external provisionerd deployment, the lazy way
2023-07-20 11:38:46 +01:00
Marcin Tojek
9689bca5d2
feat(cli): implement ssh remote forward ( #8515 )
2023-07-20 12:05:39 +02:00
dependabot[bot]
c68e80970d
chore: bump semver from 6.3.0 to 6.3.1 in /offlinedocs ( #8600 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 10:14:09 +03:00
dependabot[bot]
bd5eb9dc1b
chore: bump word-wrap from 1.2.3 to 1.2.4 in /offlinedocs ( #8598 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 10:14:00 +03:00
dependabot[bot]
b16901485e
chore: bump json5 from 1.0.1 to 1.0.2 in /offlinedocs ( #8599 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 10:13:27 +03:00
Colin Adler
39889179ea
test(coderd): fix TestWorkspaceWatcher flake ( #8612 )
2023-07-19 18:03:56 -05:00
Jon Ayers
80b940c556
feat: support localhost apps running https ( #8585 )
2023-07-19 17:33:07 -05:00
Colin Adler
00b9a3ce58
fix: prevent error log when pgcoord query is canceled ( #8609 )
2023-07-19 16:40:57 -05:00
Steven Masley
aceedefce3
chore: add template_with_user view to include user contextual data ( #8568 )
...
* chore: Refactor template sql queries to use new view
* TemplateWithUser -> Template
* Add unit test to enforce good view
2023-07-19 16:07:33 -04:00
Ben Potter
cdbae29a83
fix: agent health copy ( #8608 )
...
* fix: agent health copy
* remove restart in place of upcoming button
2023-07-19 19:56:23 +00:00
Bruno Quaresma
d96a6575af
docs: add link to CODER_DOCS_URL ( #8606 )
2023-07-19 19:47:38 +00:00
Bruno Quaresma
16cd1a675c
docs: add documentation about the offline docs ( #8603 )
2023-07-19 13:51:44 -05:00
Bruno Quaresma
0e52461624
feat(site): add support for custom docs url ( #8601 )
2023-07-19 15:27:38 -03:00
Colin Adler
f8a2bd0f4d
chore: remove duplicate logger name in wsproxy ServerTailnet ( #8604 )
2023-07-19 18:06:26 +00:00
Ben Potter
b4bb77f2f3
hotfix: change permissions for /deploy-pr comment ( #8597 )
2023-07-19 17:02:51 +00:00
Bruno Quaresma
acc12d3426
feat: add offline docs ( #8527 )
2023-07-19 13:57:57 -03:00
Marcin Tojek
164672e5d3
feat: expose docs URL via static meta ( #8594 )
2023-07-19 13:57:43 -03:00
Colin Adler
517fb19474
feat: add single tailnet support to moons ( #8587 )
2023-07-19 11:11:11 -05:00
Colin Adler
cc8d0af027
fix(enterprise): avoid initial license reconfig if feature isn't enabled ( #8586 )
2023-07-19 10:32:29 -05:00
Cian Johnston
0965a2de70
fix(cli/clistat): read from alternate cgroup path ( #8591 )
...
* Attempts reading cgroupv1 quota, period, usage from /sys/fs/cgroup/cpu,cpuacct by default
* Fall back to /sys/fs/cgroup/cpu for v1 quota and period
* Fall back to /sys/fs/cgroup/cpuacct for v1 usage
Fixes https://github.com/coder/coder/issues/8468
2023-07-19 16:25:26 +01:00
Josh Vawdrey
6318c4c09f
feat(site): increase TTL and max TTL validation to 30 days ( #8258 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-07-19 23:43:10 +10:00
Marcin Tojek
4232a2eb96
feat: add custom docs URL to deployment config ( #8590 )
2023-07-19 08:31:17 -03:00
Eric Paulsen
164b816679
feat(helm): add commandArgs for custom entrypoint ( #8567 )
2023-07-19 00:50:52 +00:00
Mathias Fredriksson
611fbd8215
test(coderd): fix TestWorkspaceWatcher skipped pending state ( #8584 )
2023-07-18 21:58:50 +03:00
Bruno Quaresma
d12221c782
feat(site): add build parameters option when starting or restarting a workspace ( #8524 )
2023-07-18 14:53:26 -03:00
Mathias Fredriksson
2fae9b0a69
chore(scripts/dbgen): only add arg validation for dbfake ( #8578 )
2023-07-18 17:26:03 +00:00
Kyle Carberry
98164f687e
fix!: remove startup logs eof for streaming ( #8528 )
...
* fix: remove startup logs eof for streaming
We have external utilities like logstream-kube that may send
logs after an agent shuts down unexpectedly to report additional
information. In a recent change we stopped accepting these logs,
which broke these utilities.
In the future we'll rename startup logs to agent logs or something
more generalized so this is less confusing in the future.
* fix(cli/cliui): handle never ending startup log stream in Agent
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-18 09:57:29 -06:00
Mathias Fredriksson
58265881af
test(testutil): increase wait times to reduce flakes ( #8576 )
2023-07-18 17:25:54 +03:00
Muhammad Atif Ali
9e170a7332
chore: add filebrowser to dogfood ( #8535 )
2023-07-18 17:04:00 +03:00
Cian Johnston
278527cff4
feat(scaletest): add option to send traffic over SSH ( #8521 )
...
- Refactors the metrics logic to avoid needing to pass in a whole prometheus registry
- Adds an --ssh option to the workspace-traffic command to send SSH traffic
Fixes #8242
2023-07-18 12:17:11 +01:00
Marcin Tojek
ab54008c94
feat: make ephemeral parameters optional ( #8571 )
2023-07-18 11:56:41 +02:00
Muhammad Atif Ali
7d92537af5
chore: fix a typo dogfood.yaml ( #8572 )
2023-07-18 09:51:46 +00:00
Muhammad Atif Ali
b012b4a810
chore: use commit title as template message in dogfood ( #8570 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-18 09:08:58 +00:00
Mathias Fredriksson
d467160581
feat(cli): show workspace health in show ( #8548 )
2023-07-18 11:28:47 +03:00
dependabot[bot]
6b978bef71
chore: bump the github-actions group with 1 update ( #8544 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 19:58:03 +00:00
Colin Adler
fd7c019fff
chore(coderd): require api key to access derpmap ( #8569 )
2023-07-17 19:40:12 +00:00
Bruno Quaresma
a823ce7337
refactor(site): add sticky option to the build logs ( #8565 )
2023-07-17 14:58:25 -03:00
Bruno Quaresma
0bf1b01a9d
fix(site): remove extra spacing on template variables page
2023-07-17 14:58:06 -03:00
Cian Johnston
56889d6cd4
fix(cli): unskip TestStatCPUCmd/JSON and explicitly set --host in test cmd invocation ( #8558 )
...
- Un-skips TestStatCPUCmd/JSON
- Explicitly sets --host flag when running the cli tests for the stat command as when these are invoked inside a container without a CPU or memory limit set, these tests may fail.
2023-07-17 17:24:46 +01:00
Mathias Fredriksson
854643236a
chore(go.mod): update gvisor via github.com/coder/gvisor fork ( #8561 )
...
Fixes #7388
2023-07-17 16:09:26 +00:00
Muhammad Atif Ali
bf5e0675fe
chore: allow running multiple preview deployments in parallel ( #8562 )
2023-07-17 16:06:29 +00:00
Muhammad Atif Ali
0a56ea6916
chore: do not cancel in progress runs in pr-deploy.yaml ( #8559 )
2023-07-17 18:40:25 +03:00
Muhammad Atif Ali
db8ba6cb68
chore: remove buggy comment reaction from deploy-pr.yaml ( #8555 )
2023-07-17 18:29:40 +03:00
Bruno Quaresma
c83975cee0
fix(site): fix bottom border on build logs ( #8554 )
2023-07-17 11:57:24 -03:00
Bruno Quaresma
2218160e35
refactor(site): redirect the user to the workspace page after update parameters ( #8553 )
2023-07-17 11:26:24 -03:00
Steven Masley
67494a3012
chore: push GetUsers authorization filter to SQL ( #8497 )
...
* feat: push GetUsers filter to SQL
* Remove GetAuthorizedUserFilter
* Remove GetFilteredUserCount
* remove GetUsersWithCount
2023-07-17 09:44:58 -04:00
Mathias Fredriksson
dfac0745f3
feat(cli): show workspace health in list ( #8541 )
...
Ref #6461
2023-07-17 15:04:06 +03:00
Alexander Hansen
616e1d7e9a
Remove unmaintained 8Bitz0/coder-rust-template template ( #8534 )
2023-07-16 09:03:48 +00:00
sharkymark
3ea9699908
docs: added kubernetes option to workspace proxies ( #8533 )
2023-07-15 14:54:52 -05:00
Sebastiaan ten Pas
dbc422f29e
fix: devcontainer template workspace directory ( #8530 )
2023-07-15 09:04:51 +00:00
Muhammad Atif Ali
ce114a7f9f
chore: upgrade sqlc to 1.19.1 ( #8511 )
2023-07-15 09:07:19 +03:00
Dean Sheather
7a62534359
fix: allow unhanger to unhang canceling jobs ( #8529 )
2023-07-15 01:54:57 +00:00
Asher
7ed17b2605
fix: add some missing workspace updates ( #7790 )
...
* Standardize on function to get workspace channel name
There were two, now there is one.
* Add some missing workspace updates
There are some failure cases where we do not set the type as a workspace
build which causes the workspace update to never be published.
* Make build failures warnings
Otherwise the associated test fails due to the logger fataling on
error messages.
2023-07-14 15:07:48 -08:00
Ammar Bandukwala
970a829939
ci: relax stalebot ( #8522 )
...
\#6243 and others suggest the stalebot is too aggressive.
2023-07-14 16:38:04 +00:00
Cian Johnston
52b4563106
fix(scripts/develop.sh): use correct variables-file arg for template create ( #8520 )
2023-07-14 16:31:29 +00:00
Steven Masley
4c4d966c7b
feat: add ability to make workspace for other user from cli ( #8481 )
...
* feat: add ability to make workspace for other user from cli
* Add example to show functionality
2023-07-14 09:48:02 -04:00
Mathias Fredriksson
5fd77ad7cf
test(agent): fix service banner and metadata intervals ( #8516 )
2023-07-14 16:10:26 +03:00
Marcin Tojek
b7806fd216
fix(site): paginate audit logs ( #8513 )
2023-07-14 12:24:30 +02:00
dependabot[bot]
9aae983821
chore: bump @fontsource/ibm-plex-mono from 4.5.10 to 5.0.5 in /site ( #8512 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-14 01:38:45 +03:00
Muhammad Atif Ali
be1013899f
chore: use names for all GitHub actions steps and use sqlc setup action ( #8495 )
2023-07-13 22:46:18 +03:00
Colin Adler
132f1d0eb5
chore: fuzzy match alpine terraform version ( #8506 )
2023-07-13 14:36:45 -05:00
Bruno Quaresma
dc52df940b
chore: update coder tf provider on dogfood ( #8503 )
2023-07-13 14:50:23 -03:00
Dean Sheather
ecee3ceeec
chore: improve listener algorithm in apptest ( #8502 )
2023-07-13 17:34:14 +00:00
Steven Masley
c2acc35d45
feat: add custom coder bin path for ProxyCommand ( #8425 )
...
* feat: add custom coder bin path for ProxyCommand
* force cli path to be absolute (on non-windows)
2023-07-13 13:17:39 -04:00
dependabot[bot]
47d5806e2c
chore: bump monaco-editor from 0.39.0 to 0.40.0 in /site ( #8475 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.39.0 to 0.40.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
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-07-13 11:13:26 -06:00
Steven Masley
3b433181be
chore: add custom querier functions to dbgen ( #8496 )
...
* chore: add custom querier functions to dbgen
* chore: parse package was missing some imports, so force them
2023-07-13 13:12:29 -04:00
dependabot[bot]
b650ab40f0
chore: bump @tanstack/react-query from 4.22.4 to 4.29.19 in /site ( #8488 )
...
Bumps [@tanstack/react-query](https://github.com/tanstack/query ) from 4.22.4 to 4.29.19.
- [Release notes](https://github.com/tanstack/query/releases )
- [Commits](https://github.com/tanstack/query/compare/v4.22.4...v4.29.19 )
---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
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-07-13 10:58:36 -06:00
Muhammad Atif Ali
9249309d8e
docs: add docs to use remote Docker host ( #8479 )
...
Co-authored-by: Ben Potter <ben@coder.com >
2023-07-13 14:41:15 +00:00
Bruno Quaresma
b833861960
feat(site): display version message ( #8435 )
2023-07-13 10:36:10 -03:00
Ben Potter
44e25185ff
docs: add custom API use cases ( #8445 )
2023-07-13 13:24:09 +00:00
Marcin Tojek
ebdc510f12
fix(site): delete workspace action in audit log ( #8494 )
2023-07-13 14:43:10 +02:00
dependabot[bot]
24ec05b5c5
chore: bump prettier from 2.8.1 to 3.0.0 in /site ( #8477 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cian Johnston <cian@coder.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-07-13 14:44:12 +03:00
Marcin Tojek
3727e02bbf
feat(cli): add --create flag to templates push ( #8454 )
2023-07-13 12:58:34 +02:00
Marcin Tojek
5432c3f5ea
feat(cli): support ephemeral parameters ( #8415 )
2023-07-13 12:56:02 +02:00
Cian Johnston
cdf9b9045f
fix(scaletest/terraform): fix prometheus namespace deps, disable auto-upgrade ( #8490 )
...
* hotfix(scaletest/terraform): fix prometheus namespace deps, disable auto-upgrade
* fixup! hotfix(scaletest/terraform): fix prometheus namespace deps, disable auto-upgrade
2023-07-13 10:54:57 +01:00
Mathias Fredriksson
70047ffd15
chore(scripts): use slim and always run make in coder-dev.sh ( #8418 )
2023-07-13 11:51:53 +03:00
Muhammad Atif Ali
f21541c0e4
chore: update gh cli in dogfood Dockerfile ( #8489 )
2023-07-13 11:49:43 +03:00
dependabot[bot]
837f88d38e
chore: bump ts-proto from 1.152.0 to 1.153.2 in /site ( #8486 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 09:07:48 +03:00
Colin Adler
d7cbdbd9c6
chore: replace wsconncache with a single tailnet ( #8176 )
2023-07-12 17:38:25 -05:00
Colin Adler
c47b78c44b
chore: replace wsconncache with a single tailnet ( #8176 )
2023-07-12 17:37:31 -05:00
dependabot[bot]
0a37dd20d6
chore: bump google.golang.org/api from 0.130.0 to 0.131.0 ( #8482 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 00:15:04 +03:00
dependabot[bot]
ecda87060a
chore: bump @octokit/types from 10.0.0 to 11.1.0 in /site ( #8483 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 23:26:34 +03:00
dependabot[bot]
1bd188db66
chore: bump @emoji-mart/data from 1.0.5 to 1.1.2 in /site ( #8484 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 23:22:56 +03:00
dependabot[bot]
79772f2f3f
chore: bump @playwright/test from 1.35.1 to 1.36.0 in /site ( #8476 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 22:45:24 +03:00
dependabot[bot]
7fc5cce356
chore: bump cronstrue from 2.27.0 to 2.28.0 in /site ( #8478 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 22:44:35 +03:00
Colin Adler
b5c17048c6
chore: upgrade github.com/codeclysm/extract to v3.1.1 ( #8480 )
2023-07-12 14:33:46 -05:00
Muhammad Atif Ali
a0fedebd62
chore: rename dependabot groups ( #8473 )
2023-07-12 17:01:57 +00:00
ElioDiNino
d502de8ca8
docs: fix git credentials file name ( #8406 )
2023-07-12 20:00:15 +03:00
Bruno Quaresma
f8f4ae8e2c
refactor(site): update build log to be displayed only on active statuses ( #8459 )
2023-07-12 13:34:07 -03:00
Mathias Fredriksson
29e4205abf
ci(scripts): add support for --force in release.sh ( #8469 )
2023-07-12 16:31:13 +00:00
dependabot[bot]
ffc28e6b93
chore: bump xterm in /site from 5.1.0 to 5.2.1 ( #8465 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 18:35:32 +03:00
Colin Adler
1c3bfacca3
fix(cli): ensure cliui.Agent doesn't fetch infinitely ( #8446 )
2023-07-12 10:21:54 -05:00
dependabot[bot]
14caa9b7c1
chore: bump the npm-eslint group in /site with 3 updates ( #8464 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 18:21:02 +03:00
dependabot[bot]
b62798303c
chore: bump just-debounce-it from 3.1.1 to 3.2.0 in /site ( #8466 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 18:11:36 +03:00
dependabot[bot]
d7eeb4118e
chore: bump the npm-mui group in /site with 3 updates ( #8460 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 15:04:08 +00:00
dependabot[bot]
49081e0383
chore: bump @emotion/react from 11.10.8 to 11.11.1 in /site ( #8380 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 17:58:24 +03:00
dependabot[bot]
861efe7b50
chore: bump the npm-xstate group in /site with 3 updates ( #8461 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 17:56:52 +03:00
Muhammad Atif Ali
765fd29336
chore: upgrade go version to 1.20.6 ( #8457 )
2023-07-12 17:27:17 +03:00
Ben Potter
280112a366
docs: add devcontainer templates ( #8256 )
...
* start
* start a template
* basic structure
* Update docs/templates/devcontainers.md
Co-authored-by: Sebastiaan ten Pas <sebastiaan@diggimedia.nl >
* Update examples/templates/devcontainer-docker/main.tf
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
* add kubernetes template
* mention parameters
* fixups
* fixes from feedback
---------
Co-authored-by: Sebastiaan ten Pas <sebastiaan@diggimedia.nl >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-07-12 10:22:39 -04:00
Muhammad Atif Ali
19f58350f2
chore: group various npm dependencies ( #8453 )
2023-07-12 16:45:50 +03:00
Bruno Quaresma
bff73ade6a
feat(site): add warning for unhealthy workspace ( #8422 )
2023-07-12 10:27:25 -03:00
dependabot[bot]
86f89892c8
chore: bump msw from 1.1.0 to 1.2.2 in /site ( #8440 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v1.1.0...v1.2.2 )
---
updated-dependencies:
- dependency-name: msw
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>
2023-07-12 10:26:51 -03:00
Mathias Fredriksson
f6a8a5f7be
fix(site): prevent ExtractAPIKey from dirtying the HTML output ( #8450 )
...
If `httpmw.ExtractAPIKey` fails when we are rendering an HTML page, the
HTML output will be dirtied with the error repsonse and the HTTP status
will also be wrong.
The use of this function in the `renderHTMLWithState` is additive, and
failure means we simply can't embed static data. To fix this, we can
simply pass a `http.ResponseWriter` that is no-op.
Fixes #8351
2023-07-12 15:38:30 +03:00
Steven Masley
e9d7a230fa
chore: server header specifies if wsproxy ( #8432 )
2023-07-12 12:07:36 +00:00
Steven Masley
928091aa05
feat!: add table format to 'coder license ls', 'license_expires' --> 'license_expires_human' ( #8421 )
...
* feat: add table format to 'coder license ls'
* feat: license expires_at to table view
* change: `license_expires` to `license_expires_human` and `license_expires` is unix timestamp
2023-07-12 08:06:18 -04:00
dependabot[bot]
2c2dd0eb83
chore: bump crate-ci/typos from v1.14.12 to v1.16.0 and fix typos ( #8455 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-12 12:01:30 +00:00
Muhammad Atif Ali
7a210d941e
chore: remove invalid dependabot config for example templates ( #8452 )
2023-07-12 14:33:57 +03:00
Spike Curtis
b4057bd74a
feat: make pgCoordinator generally available ( #8419 )
...
* pgCoord to GA, fix tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix generation and coordinator delete RBAC
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix fakeQuerier -> FakeQuerier
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-07-12 13:35:29 +04:00
dependabot[bot]
2e9f3e0a6b
chore: bump the go-otel group with 4 updates ( #8437 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-07-11 17:12:59 -05:00
dependabot[bot]
13b9ed3240
chore: bump google.golang.org/api from 0.129.0 to 0.130.0 ( #8438 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 20:50:23 +00:00
Colin Adler
2c0f653aa8
chore(dogfood): give Asher more ram ( #8442 )
2023-07-11 15:24:29 -05:00
Marcin Tojek
bc835dbf69
fix: use numeric comparison to check monotonicity ( #8436 )
2023-07-11 22:08:41 +02:00
Eric Paulsen
d8d8eb2c8d
docs: add note on recommended Azure LB ( #8431 )
2023-07-11 18:19:45 +00:00
Colin Adler
21597e2d69
chore: upgrade Go to 1.20.6 ( #8433 )
2023-07-11 13:06:34 -05:00
goodspark
dd4aafb350
feat: add template info tags to coderd_agents_up metric ( #7942 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-07-11 12:39:14 -05:00
Mathias Fredriksson
398e8fdf89
fix(coderd/httpmw): handle oauth config removed for existing auth ( #8420 )
...
This commit fixes an edge case tied to unexpired oauth logins where the
oauth provider is removed, the server restarted, and the users auth
expiring after the fact.
Refs #8351 , #8352 , #8390
2023-07-11 20:29:29 +03:00
Mathias Fredriksson
e508d9aa6e
fix(agent/usershell): check shell on darwin via dscl ( #8366 )
2023-07-11 20:27:50 +03:00
Mathias Fredriksson
de1d04d7bb
fix(dogfood): use gcr.io/coder-dev-1/alpine mirror to fix rate limit ( #8424 )
2023-07-11 20:27:07 +03:00
Steven Masley
704212e271
feat: expand wsproxy settings page by default ( #8428 )
...
* feat: wsproxy settings page expanded by default
* chore: warnings & defaults on proxy setting page start open
* always expanded
2023-07-11 13:15:11 -04:00
Steven Masley
0a911d58f9
chore: change workspace proxy badge names ( #8429 )
...
* chore: "Not Reachable" --> "Not Dialable"
* chore: "Not registered" --> "Never seen"
2023-07-11 13:05:42 -04:00
Steven Masley
f67ccc9bc0
feat: add resource_target to audit log search ( #8423 )
...
* feat: add resource_target to audit log search
2023-07-11 13:05:21 -04:00
Muhammad Atif Ali
700ec966e3
chore: use dogfood-oss image in .devcontainer ( #8231 )
...
* use dogfood-oss image in devcontainer
* fix image name
* use Dockerfile
* Discard changes to dogfood/Dockerfile
* Use features to get docker in docker
* use previleged container
* use codercom/oss-dogfood image
* add `--priviliged` to fix GitHub Codespaces builds
* remove default options
2023-07-11 10:48:34 -04:00
Steven Masley
bc102d6bd7
feat: add cli first class validation ( #8374 )
...
* feat: add cli first class validation
* feat: add required flag to cli options
* Add unit test to catch invalid and missing flag
2023-07-11 09:59:55 -04:00
Cian Johnston
3f6a158016
chore: enable exhaustruct linter ( #8403 )
...
* chore: enable exhaustruct linter
* add exlusion rules
* move to allowlist instead
* exhaustruct httpmw package
* fixup! exhaustruct httpmw package
* make lint
* address PR comments
2023-07-11 14:30:33 +01:00
Mathias Fredriksson
75f62dc39d
feat: add support for template version messages in api and cli ( #8336 )
2023-07-11 13:11:08 +03:00
Kyle Carberry
b4a7fe3221
fix: use expires_in field for git device refresh ( #8411 )
...
This was causing git auth to never refresh after the token
became expired after 8hrs.
2023-07-11 09:28:52 +00:00
Colin Adler
9df80530d7
chore(cli): unhide netcheck command ( #8412 )
2023-07-10 21:38:02 -05:00
Bruno Quaresma
d896b74fa2
feat(site): display build logs on workspace transitioning statuses ( #8397 )
2023-07-10 17:47:39 -03:00
dependabot[bot]
b7641b219e
chore: bump the golang-x group with 4 updates ( #8400 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:33:17 -05:00
dependabot[bot]
ff62f70f55
chore: bump ts-proto from 1.150.0 to 1.152.0 in /site ( #8402 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.150.0 to 1.152.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.150.0...v1.152.0 )
---
updated-dependencies:
- dependency-name: ts-proto
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>
2023-07-10 17:28:52 -03:00
dependabot[bot]
000d538ace
chore: bump react-router-dom from 6.13.0 to 6.14.1 in /site ( #8398 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.13.0 to 6.14.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.14.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
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-07-10 17:28:40 -03:00
Bruno Quaresma
ecb99717ef
refactor(site) re-design proxies table ( #8410 )
2023-07-10 17:01:59 -03:00
Bruno Quaresma
3c2ce4f52a
refactor(site): adjust the proxy menu design ( #8409 )
2023-07-10 17:01:09 -03:00
Colin Adler
ef836de330
fix: document workspace filter query param correctly ( #8408 )
2023-07-10 18:57:09 +00:00
dependabot[bot]
cee8fde93d
chore: bump tough-cookie from 4.1.2 to 4.1.3 in /site ( #8384 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 13:36:48 -05:00
Muhammad Atif Ali
bf8af90d5a
chore: group golang.org/x/* dependencies ( #8392 )
2023-07-10 18:07:14 +03:00
Steven Masley
2ee406d7b6
feat: log out and redirect user when converting to oidc ( #8347 )
...
* feat: log out user on conver to oidc
Log out user and redirect to login page and log out user when
they convert to oidc.
2023-07-10 10:25:41 -04:00
Mathias Fredriksson
90a3debe3f
fix(coderd): pass oauth configs to site ( #8390 )
2023-07-10 17:23:41 +03:00
dependabot[bot]
9a3d9053a0
chore: bump @types/uuid from 8.3.4 to 9.0.2 in /site ( #8377 )
...
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) from 8.3.4 to 9.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
---
updated-dependencies:
- dependency-name: "@types/uuid"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 11:11:54 -03:00
dependabot[bot]
19ec5789a4
chore: bump vite from 4.3.9 to 4.4.2 in /site ( #8381 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.9 to 4.4.2.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.4.2/packages/vite )
---
updated-dependencies:
- dependency-name: vite
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-07-10 11:11:10 -03:00
Mathias Fredriksson
9a72ddf7d4
fix(enterprise/coderd): add missing fields to extract api key config ( #8393 )
2023-07-10 16:51:50 +03:00
Marcin Tojek
9f2a931eb8
feat(coderd): support ephemeral parameters ( #8367 )
2023-07-10 13:44:03 +02:00
Marcin Tojek
8f4157c28d
chore: go mod tidy ( #8389 )
2023-07-10 11:27:24 +00:00
Mathias Fredriksson
b73f9d8e86
feat: add computed workspace and agent health fields to the api ( #8280 )
2023-07-10 12:40:11 +03:00
dependabot[bot]
eabf929676
chore: bump actions/checkout from 2 to 3 ( #8382 )
2023-07-09 01:43:44 +03:00
Ammar Bandukwala
0115adf9d7
chore(.golangci.yaml): make gocyclo slightly more sensitive ( #8383 )
2023-07-08 22:43:34 +00:00
Muhammad Atif Ali
d19e679c20
chore: use dependabot groups ( #8372 )
2023-07-08 17:29:47 +03:00
Steven Masley
a297a014d6
chore: improve error message for incorrect login type ( #8349 )
...
* chore: add better error in wrong login type
2023-07-07 11:33:31 -04:00
Cian Johnston
c1ab5cf0ba
fix(cli/clistat): better handle cgroups with no limits ( #8373 )
2023-07-07 15:49:36 +01:00
Steven Masley
f75d497c41
chore: touch ups to wsproxy UX ( #8350 )
...
* chore: update wording on wsproxy help
* chore: show help if no fields specified in wsproxy edit
* chore: Add run command example to wsproxy create
* chore: remove localhost warning
* chore: navbar match page title
* chore: Add helper text to latency picker
* chore: add confirm delete to workspace proxy delete cli
* chore: add errors + warnings to workspace proxy table
2023-07-07 10:06:11 -04:00
Cian Johnston
396e5e9a60
chore(database): fix test flake in TestUserLastSeenFilter ( #8369 )
2023-07-07 14:28:45 +01:00
Bruno Quaresma
2baa34364a
fix(site): resize terminal when alert is dismissed ( #8368 )
2023-07-07 10:19:39 -03:00
Marcin Tojek
e088303382
feat!: drop LegacyVariableName from coder parameter ( #8360 )
2023-07-07 14:14:29 +02:00
Cian Johnston
4e42c33769
chore(Makefile): specify count=1 instead of cleaning test cache ( #8359 )
...
* chore(Makefile): specify count=1 instead of cleaning test cache
* Update Makefile
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* add comment to test-clean target
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-07-07 12:16:16 +01:00
Mathias Fredriksson
34c3f919dc
fix(agent/agentssh): check for hushlogin via afero fs ( #8358 )
2023-07-07 13:30:23 +03:00
Cian Johnston
259453007e
chore(Makefile): add test-race target ( #8357 )
...
* chore(Makefile): add test-race target
* fixup! chore(Makefile): add test-race target
2023-07-07 10:15:50 +00:00
Marcin Tojek
64687631aa
feat: enable Terraform template-wide variables by default ( #8334 )
2023-07-07 11:49:02 +02:00
Cian Johnston
435c67ab75
refactor(cli)!: move scaletest to exp/scaletest ( #8339 )
...
* refactor(cli): mv scaletest exp/scaletest
* make gen
2023-07-07 09:10:14 +01:00
Colin Adler
ccea595b39
chore: temporarily skip prisma scan ( #8355 )
2023-07-07 00:48:29 +00:00
Colin Adler
6079cda851
chore(dogfood): add docker compose ( #8354 )
2023-07-06 19:46:40 -05:00
Colin Adler
9a0ba1bdc3
fix(coderd): remove CREATE INDEX CONCURRENTLY from migrations ( #8353 )
2023-07-06 16:44:29 -05:00
Steven Masley
2ebd0ec6c5
fix: resolve nil pointer dereference on missing oauth config ( #8352 )
2023-07-06 16:46:22 -04:00
Steven Masley
9f5bc7c10b
feat: add --branch option to clone or checkout different dotfiles branch ( #8331 )
...
* feat: --branch option to clone different dotfiles branch
* chore: checkout specified branch if dotfiles already exist
2023-07-06 20:24:04 +00:00
Muhammad Atif Ali
5bb6bc5571
chore: update fly.io example to remove deprecated parameters ( #8194 )
...
* chore: update fly.io example to remove deprecated parameters
* `make fmt`
* update provider version
2023-07-06 10:20:23 -04:00
Bruno Quaresma
a33a255885
chore: upgrade node version on CI to match workspace version ( #8340 )
2023-07-06 14:04:29 +00:00
Colin Adler
33bdc23e1d
chore(site): fix node vulnerabilities ( #8330 )
...
* chore: fix node vulnerabilities
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
https://github.com/advisories/GHSA-j8xg-fqg3-53r7
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
* fixup! chore: fix node vulnerabilities
2023-07-06 10:26:55 -03:00
Mathias Fredriksson
4a13c58077
test(pty/ptytest): fix error message on deadline exceeded ( #8337 )
2023-07-06 16:18:03 +03:00
Mathias Fredriksson
814534d6b7
fix(enterprise/audit): improve error message for missing action ( #8335 )
2023-07-06 15:43:32 +03:00
Cian Johnston
7fcf319e01
fix(cli)!: protect client Logger and refactor cli scaletest tests ( #8317 )
...
- (breaking) Protects Logger and LogBodies fields of codersdk.Client with its mutex. This addresses a data race in cli/scaletest.
- Fillets the existing cli/createworkspaces unit test and moves the testing logic there into the tests under scaletest/createworkspaces.
- Adds testutil.RaceEnabled bool const and conditionaly skips previously-skipped tests under scaletest/ if the race detector is enabled. This is unfortunate and sad, but I would prefer to have these tests at least running without the race detector than not running at all.
- Adds IgnoreErrors option to fake in-memory agent loggers; having the agents fail the test immediately when they encounter any sort of error isn't really helpful.
2023-07-06 09:43:39 +01:00
Mathias Fredriksson
1d746b901b
fix(Makefile): add dbmock to swagger deps and improve performance ( #8332 )
2023-07-06 10:59:08 +03:00
Mathias Fredriksson
3f058f28e7
test(agent): use afero for motd tests to allow parallel execution ( #8329 )
2023-07-06 10:57:51 +03:00
Marcin Tojek
c6fcd7ee93
fix: report failed CompletedJob ( #8318 )
2023-07-06 07:26:33 +00:00
Marcin Tojek
45eca671fe
feat: delay pending-in-queue banner ( #8309 )
2023-07-06 09:13:25 +02:00
Ben Potter
d843735c02
docs: explain Template inheritance with Terraform modules ( #8328 )
...
* docs: explain Template inheritance with Terraform modules
* make fmt & title renaming
---------
Co-authored-by: Eric <ericpaulsen@coder.com >
2023-07-05 15:06:16 -04:00
Colin Adler
c0835c443d
chore: pin terraform to 1.5.2 ( #8322 )
...
The Alpine ARM builders are no longer behind on releases.
2023-07-05 12:59:58 -05:00
Steven Masley
418c9b8743
docs: update template acl example params ( #8320 )
...
Param examples were unhelpful
2023-07-05 17:24:21 +00:00
Steven Masley
4a008a8f34
chore: prevent nil dereferences on cmd handlers ( #8319 )
...
* chore: detect nil cmd handlers
Prevent nil panic dereferences on cmd handlers. Add a unit test
to prevent future mistakes
2023-07-05 17:20:12 +00:00
Steven Masley
d70e2d97de
chore: use correct prettier version in ci ( #8321 )
...
Install prettier in package.json + yarn.lock. Global install was using incorrect version
2023-07-05 13:11:08 -04:00
Steven Masley
0f5a1ad480
feat: add spinner to latencies when refetching ( #8278 )
...
* feat: add spinner to latencies when refetching
2023-07-05 13:06:09 -04:00
Steven Masley
9a7705c656
feat: generate a new session with coder login --token ( #8275 )
...
* feat: coder login --token generates a new session
Makes sure /logout does not delete the inputted token
* flag to enable previous behavior if needed
2023-07-05 08:59:38 -04:00
Mathias Fredriksson
88c35d3f04
fix(pty): close output writer before reader on Windows to unblock close ( #8299 )
2023-07-05 15:25:07 +03:00
Colin Adler
59246e054f
chore(dogfood): add libssl-dev to image ( #8312 )
2023-07-05 00:24:32 -05:00
sharkymark
65112ecc04
docs: update examples of IDEs: remove JetBrains Projector and add VS Code Server ( #8310 )
...
* docs: remove mention of jetbrains projector; add vs code server web IDE example
* fmt
---------
Co-authored-by: Ben <me@bpmct.net >
2023-07-04 13:27:49 +00:00
dependabot[bot]
647fd7699b
chore: bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 ( #8300 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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-07-03 13:00:37 -05:00
dependabot[bot]
865f49af35
chore: bump github.com/gohugoio/hugo from 0.114.1 to 0.115.0 ( #8301 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.114.1 to 0.115.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.114.1...v0.115.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
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-07-03 13:00:31 -05:00
dependabot[bot]
2fc8a275fe
chore: bump google.golang.org/api from 0.128.0 to 0.129.0 ( #8303 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.128.0 to 0.129.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.128.0...v0.129.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-07-03 13:00:15 -05:00
dependabot[bot]
82a6405bfa
chore: bump golang.org/x/tools from 0.9.3 to 0.10.0 ( #8304 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.9.3...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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-07-03 13:00:05 -05:00
Jon Ayers
4a9c8f407a
feat: add auto-locking/deleting workspace based on template config ( #8240 )
2023-07-02 21:29:52 -05:00
dependabot[bot]
818c4a7f23
chore: bump yup from 0.32.11 to 1.2.0 in /site ( #8287 )
...
Bumps [yup](https://github.com/jquense/yup ) from 0.32.11 to 1.2.0.
- [Release notes](https://github.com/jquense/yup/releases )
- [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jquense/yup/compare/v0.32.11...v1.2.0 )
---
updated-dependencies:
- dependency-name: yup
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:43 -05:00
dependabot[bot]
2af41a439b
chore: bump @vitejs/plugin-react from 2.1.0 to 4.0.1 in /site ( #8288 )
...
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) from 2.1.0 to 4.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.1/packages/plugin-react )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:36 -05:00
dependabot[bot]
2899b9431d
chore: bump monaco-editor from 0.38.0 to 0.39.0 in /site ( #8289 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.38.0 to 0.39.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
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>
2023-07-02 10:32:30 -05:00
dependabot[bot]
c19541e28f
chore: bump eslint-plugin-unicorn from 44.0.0 to 47.0.0 in /site ( #8291 )
...
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 44.0.0 to 47.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v44.0.0...v47.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-02 10:32:19 -05:00
Jon Ayers
681e2db9ec
Revert "fix: add front-end fixes for minor workspace action bugs ( #8252 )" ( #8286 )
...
This reverts commit c569528fb7 .
2023-06-30 20:26:38 -05:00
Muhammad Atif Ali
83bee35c36
chore: prevent running ci when other workflows are updated ( #8285 )
2023-06-30 22:38:50 +00:00
Muhammad Atif Ali
dad4876e90
chore: react to deploy-pr comment ( #8284 )
2023-06-30 22:25:23 +00:00
Asher
6015319e9d
feat: show service banner in SSH/TTY sessions ( #8186 )
...
* Allow workspace agents to get appearance
* Poll for service banner every two minutes
* Show service banner before MOTD if not quiet
2023-06-30 10:41:29 -08:00
Steven Masley
eb0497ff82
feat: fetch proxy latencies at most once per 30s ( #8277 )
...
* feat: fetch proxy latencies at most once per 30s
2023-06-30 12:45:02 -04:00
Steven Masley
f0bd258ff1
feat: move proxy settings page to deployment options ( #8246 )
...
* feat: Move workspace proxy page to deployment options
Workspace proxy settings page is now an admin feature
* WorkspaceProxy response extends region
2023-06-30 11:32:35 -04:00
Cian Johnston
1e8cc2ca8d
feat: scaletest: scale down nodegroups by default ( #8276 )
...
* feat: allow scaling down scaletest environments
* fix bugged namespace deletion
* misc fixes to scaletest.sh
* destroy namespaces is a no-op as the cluster will be gone anyway
2023-06-30 16:07:47 +01:00
Cian Johnston
a6bd85df38
feat: scaletest: add Grafana dashboard for scale testing ( #8274 )
...
* feat: scaletest: add Grafana dashboard for scale testing
Fixes #7600 .
* make fmt
2023-06-30 14:04:46 +00:00
Kira Pilot
c569528fb7
fix: add front-end fixes for minor workspace action bugs ( #8252 )
...
* fix: incorrect copy on inactivity_ttl field
* disabling locked fields unless inactivity TTL is set
* scoping inactivity dialog message to template
* fixed pluralization for inactivity dialog
* amending logic gate to show inactivity dialog
* fixed pagination bug
2023-06-30 09:45:44 -04:00
Steven Masley
9f76dab348
chore: Bump migration to remove conflict ( #8273 )
2023-06-30 13:12:40 +00:00
Cian Johnston
8b2d4b87fc
fix: examples/lima: use new parameter name when creating template ( #8272 )
2023-06-30 12:45:47 +00:00
Steven Masley
b5f26d9bdf
feat: add ability for users to convert their password login type to oauth/github login ( #8105 )
...
* Currently toggled by experiment flag
---------
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2023-06-30 08:38:48 -04:00
Cian Johnston
357f3b38f7
fix: scaletest: mount CODER_CACHE volume under /tmp ( #8271 )
...
Mounting the CODER_CACHE volume under /tmp/coder causes
template creation to fail due to read-only tmp dir.
2023-06-30 12:48:34 +01:00
Marcin Tojek
6639c69fad
feat: add "display_order" column to coder_parameter to keep parameters sorted in UI ( #8227 )
2023-06-30 12:41:55 +02:00
Colin Adler
72a48bee52
fix: pin datadog-ci version ( #8270 )
2023-06-30 03:42:13 +00:00
Kyle Carberry
34467a3289
feat: add github device flow for authentication ( #8232 )
...
* feat: add github device flow for authentication
This will allow us to add a GitHub OAuth provider out-of-the-box
to reduce setup requirements.
* Improve askpass view
* Add routes to improve clarity of git auth
* Redesign the git auth page
* Refactor to add a page view
* Fix sideways layout
* Remove legacy notify
* Fix git auth redirects
* Add E2E tests
* Fix route documentation
* Fix imports
* Remove unused imports
* Fix E2E web test
* Fix friendly message appearance
* Fix layout shifting for full-screen sign-in
* Fix height going to 100%
* Fix comments
2023-06-29 18:58:01 +00:00
Eric Paulsen
7f82eca64a
docs: note SSH key location in workspaces ( #8264 )
2023-06-29 12:01:07 -04:00
Cian Johnston
7072b8eff5
chore: update scaletest terraform with latest findings ( #8249 )
...
Updates scaletest terraform with learnings from #8213 :
- Increase max pods per node to 256
- Decrease CPU requests for test workspace to allow maxing out workspaces per node
- Explicitly set CODER_ACCESS_URL for ssh to work
- Explicitly disable rate limits in coderd
- Increase DB size for medium and large scenarios
- Mount cache volume directly under /tmp/coder instead of /tmp.
- Plumb through requests and limits for workspaces
- Plumb through requests for coderd
2023-06-29 14:03:11 +00:00
Marcin Tojek
83fee4b192
feat: enable Terraform debug mode via deployment configuration ( #8260 )
2023-06-29 15:22:21 +02:00
Kira Pilot
7ca624eceb
fix: removing prettier path in vscode config ( #8255 )
2023-06-29 09:00:51 -04:00
Jon Ayers
749307ef08
feat: provide endpoint to lock/unlock workspace ( #8239 )
2023-06-28 16:12:49 -05:00
Steven Masley
72e83df578
hotfix: fix broken link in the group sync docs ( #8251 )
2023-06-28 13:55:50 -04:00
Marcin Tojek
3dbc96d597
feat: show queue position of pending workspace build ( #8244 )
2023-06-28 14:48:58 +02:00
Mathias Fredriksson
d3c39b60c9
feat: add agent log streaming and follow provisioner format ( #8170 )
2023-06-28 10:54:13 +02:00
Spike Curtis
c0a01ec81c
fix: fix TestPGCoordinatorDual_Mainline flake ( #8228 )
...
* fix TestPGCoordinatorDual_Mainline flake
Signed-off-by: Spike Curtis <spike@coder.com >
* use slices.Contains instead of local function
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-28 11:37:45 +04:00
Eric Paulsen
df95cf7ab2
feat: helm rbac perms for deployments ( #8233 )
2023-06-27 15:14:39 -04:00
Colin Adler
b8a143566b
fix: use *string instead of error in healthcheck response ( #8234 )
2023-06-27 19:13:54 +00:00
Asher
e2e07b01e9
fix: revert to canvas renderer for xterm ( #8138 )
...
The default changed from canvas to DOM in the last update. The canvas
renderer resolves line spacing issues and has better performance, as
well as bringing us back to the previous status quo.
In the new version the canvas is enabled via an addon.
2023-06-27 09:57:16 -08:00
Mathias Fredriksson
b4751c72d8
fix(cli/agent): wrap lumberjack logger to prevent re-open ( #8229 )
2023-06-27 12:49:44 +00:00
Mathias Fredriksson
6d176aee5d
test(agent): fix lifecycle test flakeyness ( #8230 )
2023-06-27 12:44:16 +00:00
Muhammad Atif Ali
25decc152a
chore: fix broken docs links ( #8198 )
...
* chore: add examples templates to docs filter
* chore: fix broken docs links
* Discard changes to .github/workflows/ci.yaml
2023-06-27 08:20:57 -04:00
Ben Potter
70cd87140d
docs: mark agent metadata as GA ( #8111 )
...
* docs: agent metadata is now GA
* fmt
2023-06-27 07:35:01 -04:00
Muhammad Atif Ali
9cefd46bcf
chore: delete skipped workflow runs of pr-deploy.yaml ( #8225 )
2023-06-27 14:26:21 +03:00
Marcin Tojek
b83cdfe428
chore: update nix flake to include sqlc v1.18.0 ( #8226 )
2023-06-27 12:50:04 +02:00
Spike Curtis
7943a5b85e
fix PG coordinator context and RBAC subject ( #8223 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-27 10:14:31 +00:00
Spike Curtis
5d26637686
feat(scaletest): add license and experiment to scaletest ( #8222 )
...
* add license and experiment to scaletest
Signed-off-by: Spike Curtis <spike@coder.com >
* appease lint & fmt
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-27 10:13:36 +00:00
Muhammad Atif Ali
96435ee2ce
chore: fix condition in pr-deploy.yaml ( #8224 )
2023-06-27 09:59:15 +00:00
dependabot[bot]
c969da469d
chore: bump semver from 7.3.7 to 7.5.2 in /site ( #8162 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 12:54:19 +03:00
Muhammad Atif Ali
b4ca285582
chore: ignore sub directories in examples for go files check ( #8197 )
...
There are no go files in any of the subdirectories in examples directory.
2023-06-27 00:35:09 +03:00
Steven Masley
140683813d
chore: reword wsproxy help ( #8168 )
2023-06-26 12:32:47 -05:00
Mathias Fredriksson
31076ad665
fix(enterprise/coderd): prevent deadlock during entitlements update ( #8215 )
2023-06-26 20:22:28 +03:00
Steven Masley
56395410bd
chore: disable auto proxy selection based on latency ( #8137 )
...
* chore: disable auto pick proxy based on latency
* Remove latency pulled from storage
2023-06-26 13:08:32 -04:00
Steven Masley
82415a6541
chore: add documentation to address common group sync errors ( #8212 )
...
* chore: Add documentation to address common group sync errors
2023-06-26 13:08:20 -04:00
Cian Johnston
80ef147060
fix(cli): stat: explicitly specify resource SI prefix ( #8206 )
...
* fix(cli): move to explicitly specifying units
* make gen
2023-06-26 18:06:38 +01:00
dependabot[bot]
1558ef52f1
chore: bump github.com/gohugoio/hugo from 0.113.0 to 0.114.1 ( #8201 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 10:48:39 -05:00
dependabot[bot]
98457e993b
chore: bump github.com/valyala/fasthttp from 1.47.0 to 1.48.0 ( #8204 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 15:40:21 +00:00
Kyle Carberry
f40865bc2f
chore: use mutex around blockEndpoints ( #8209 )
...
https://github.com/coder/coder/actions/runs/5378950122/jobs/9759972142
2023-06-26 10:01:50 -05:00
dependabot[bot]
4539ce7db6
chore: bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 ( #8203 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
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-06-26 10:01:10 -05:00
Cian Johnston
b8437ce453
fix(scaletest): adjust sessionAffinity and scenario resources ( #8205 )
...
* scaletest: adjust scenario resources
* scaletest: set sessionAffinity=None for coder service
2023-06-26 15:54:05 +01:00
Muhammad Atif Ali
cfbe96a379
chore: return success if pr-cleanup.yaml faisl to find a PR image tag ( #8208 )
2023-06-26 14:47:10 +00:00
Marcin Tojek
b4f14cc6a9
feat: include coder_parameters from external modules ( #8195 )
2023-06-26 13:46:30 +00:00
Muhammad Atif Ali
0a6e6442b8
chore: add examples templates to docs filter ( #8196 )
2023-06-26 09:48:23 +00:00
野漫横江
bdecf53413
Update additional-clusters.md ( #8190 )
...
Domain name should not be localhost
2023-06-25 15:41:17 +00:00
野漫横江
e27cfe6e6a
docs: fix incorrect command in project documentation ( #8191 )
2023-06-25 15:12:10 +00:00
Dean Sheather
98a5ae7f48
feat: add provisioner job hang detector ( #7927 )
2023-06-25 13:17:00 +00:00
Eric Paulsen
3671846b1b
docs: add default dir for VS Code Desktop ( #8184 )
2023-06-23 17:52:01 -05:00
Eric Paulsen
46df6c58bc
docs: add max lifetime docs and refactor UI helper text ( #8185 )
2023-06-23 17:51:42 -05:00
Spike Curtis
5d48122f12
fix: fix PG Coordinator to update when heartbeats (re)start ( #8178 )
...
* fix: fix PG Coordinator to update when heartbeats (re)start
Signed-off-by: Spike Curtis <spike@coder.com >
* rename resetExpiryTimer(WithLock)
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-23 10:38:58 +00:00
Spike Curtis
ba9d038d42
feat: add periodic cleanup of PG Coordinator state ( #8142 )
...
* PG Coordinator cleans orphaned state
Signed-off-by: Spike Curtis <spike@coder.com >
* Don't need pubsub
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-23 13:23:28 +04:00
Rodrigo Maia
c594f02948
fix(site): display correct user_limit on license ui ( #8118 )
2023-06-23 08:38:36 +02:00
Steven Masley
797e91d4c6
feat: add flag for Windows to create unix compatible filepaths ( #8164 )
...
* feat: add flag for Windows to create unix compatible filepaths
2023-06-22 17:08:12 -05:00
Marcin Tojek
5d45218a5d
docs: application logs ( #8166 )
2023-06-22 23:25:17 +02:00
Mathias Fredriksson
3b9b06fe5a
feat(codersdk/agentsdk): add StartupLogsSender and StartupLogsWriter ( #8129 )
...
This commit adds two new `agentsdk` functions, `StartupLogsSender` and
`StartupLogsWriter` that can be used by any client looking to send
startup logs to coderd.
We also refactor the `agent` to use these new functions.
As a bonus, agent startup logs are separated into "info" and "error"
levels to separate stdout and stderr.
---------
Co-authored-by: Marcin Tojek <mtojek@users.noreply.github.com >
2023-06-22 23:28:59 +03:00
Steven Masley
f56db1b41b
feat: add user search query param on last_seen ( #8139 )
...
* feat: add sql filter for before/after on last_seen column
2023-06-22 15:24:48 -05:00
Colin Adler
97945ae272
fix(scripts): properly shift for --build-base option ( #8167 )
2023-06-22 15:24:03 -05:00
Colin Adler
41e7216df7
chore: upgrade terraform to 1.5.1 ( #8160 )
2023-06-22 19:08:40 +00:00
Marcin Tojek
8e2422d42c
feat: use named loggers in coderd ( #8148 )
2023-06-22 20:09:33 +02:00
Muhammad Atif Ali
1417c12229
ci: get PR number correctly from pull_request event ( #8158 )
2023-06-22 17:19:14 +00:00
Muhammad Atif Ali
2c046ef475
ci: use single quotes when we have backticks in title ( #8159 )
2023-06-22 16:57:44 +00:00
Muhammad Atif Ali
f4a712b271
ci: delete old workflow runs for pr-cleanup.yaml( #8146 )
2023-06-22 19:16:06 +03:00
Muhammad Atif Ali
ea4b9a4354
ci: fix syntax issue in pr-deploy.yaml ( #8154 )
2023-06-22 16:06:15 +00:00
Muhammad Atif Ali
eee4f835ec
ci: fix wrong trigger pr-deploy.yaml ( #8151 )
2023-06-22 18:29:27 +03:00
Muhammad Atif Ali
1ffc8058c2
ci: deploy automatic PR deployments on request ( #8121 )
2023-06-22 14:35:58 +00:00
Spike Curtis
e856491476
feat: enable PG Coordinator as experiment ( #8144 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-22 13:12:29 +04:00
Spike Curtis
e738123a9c
chore: log ssh connection disconnects with errors ( #8143 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-22 11:37:50 +04:00
Jon Ayers
1b0124ecdb
feat: automatically stop workspaces based on failure_ttl ( #7989 )
2023-06-22 00:33:22 -04:00
Kyle Carberry
d434181941
feat: add cohesive e2e tests for the web terminal, apps, and workspaces ( #8140 )
...
* feat: add cohesive e2e tests for the web terminal, apps, and workspaces
* Fix web terminal flake
2023-06-22 00:21:40 +00:00
Kyle Carberry
2a492b7008
chore: improve the setup experience with various fixes ( #8130 )
...
* Move updatecheck logs to debug mode
This was causing logs to be emitted immediately after
initial setup, which seemed odd for the user.
* Fix setup page text to say "Create" instead of "Setup" account
* Improve copy on the empty workspaces page
- This view can be seen after the user creates their first workspace, so saying first is bad.
- It should describe what a workspace is, so I modified the description.
- The create from template button wasn't helpful!
* Improve the copy for the empty templates view
- This didn't describe what a template actually is.
- The title had the same problem as workspaces, where first makes no sense.
* Improve text consistency on the Create Template page
* Fix "View activity" displaying for non-Enterprise users
This was causing an exception to be thrown.
* Improve messaging of empty groups view
* Appropriately capitalize Workspace and Template
* Improve Docker template taglines
* Fix types
2023-06-21 18:23:59 -05:00
Dean Sheather
a28d422c35
feat: add flag to disable all direct connections ( #7936 )
2023-06-21 22:02:05 +00:00
Asher
96f9e61ca1
Strip CORS headers from applications ( #8057 )
...
The problem is that the headers get doubled up (not overwritten) and
browsers do not like multiple values for the allowed origin even though
it appears the spec allows for it.
We could prefer the application's headers instead of ours but since we
control OPTIONS I think preferring ours will by the more consistent
experience and also aligns with the original RFC.
2023-06-21 13:41:27 -08:00
Dean Sheather
24b95e16c4
feat: add --disable-direct flag to CLI ( #8131 )
2023-06-21 20:22:43 +00:00
Colin Adler
bc739bdfce
feat(cli): add hidden netcheck command ( #8136 )
2023-06-21 14:33:19 -05:00
Colin Adler
7703bb77a7
ci: update sqlc version in security scan ( #8135 )
2023-06-21 13:53:41 -05:00
Eric Paulsen
a0d0e0e72d
docs: add coder ping example for troubleshooting ( #8133 )
2023-06-21 18:07:24 +00:00
Bruno Quaresma
1faed639c4
fix(site): show error when parameter is invalid ( #8125 )
2023-06-21 11:39:28 -03:00
Bruno Quaresma
bce8a983fe
chore(site): remove new filter from experimental ( #8112 )
2023-06-21 10:20:37 -03:00
Spike Curtis
cc17d2feea
refactor: add postgres tailnet coordinator ( #8044 )
...
* postgres tailnet coordinator
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix db migration; tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Add fixture, regenerate
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix fixtures
Signed-off-by: Spike Curtis <spike@coder.com >
* review comments, run clean gen
Signed-off-by: Spike Curtis <spike@coder.com >
* Rename waitForConn -> cleanupConn
Signed-off-by: Spike Curtis <spike@coder.com >
* code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
* db migration order
Signed-off-by: Spike Curtis <spike@coder.com >
* fix log field name last_heartbeat
Signed-off-by: Spike Curtis <spike@coder.com >
* fix heartbeat_from log field
Signed-off-by: Spike Curtis <spike@coder.com >
* fix slog fields for linting
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-21 16:20:58 +04:00
Marcin Tojek
4fb4c9b270
chore: add more rules to ensure logs consistency ( #8104 )
2023-06-21 12:00:38 +02:00
Spike Curtis
1c8f564fdb
feat: add logging of ssh connections to agent ( #8096 )
...
* feat: adds logging of ssh connections to agent
Signed-off-by: Spike Curtis <spike@coder.com >
* code review improvements
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-21 13:49:58 +04:00
Colin Adler
4a431b6eb8
feat(helm): add coder.command to control pod command ( #8116 )
2023-06-20 22:59:01 +00:00
Colin Adler
15cba05dfc
ci: scan images with sysdig ( #8037 )
2023-06-20 22:58:17 +00:00
Eric Paulsen
b398814ab0
docs: add prometheus scrape_config example ( #8113 )
...
* docs: add prometheus scrape_config example
* make: fmt
* add: label
* fix: spelling
* scheme: http
2023-06-20 21:09:35 +00:00
Colin Adler
7d43f4ceee
chore: update dogfood image ( #8114 )
2023-06-20 15:08:15 -05:00
Kyle Carberry
69f911dfd5
feat: add queue_position and queue_size to provisioner jobs ( #8074 )
2023-06-20 15:07:18 -05:00
Kyle Carberry
bbb0fab1de
chore: merge database gen scripts ( #8073 )
...
* chore: merge database gen scripts
* Fix type params gen
* Merge enum into dbgen
2023-06-20 16:24:33 +00:00
Kyle Carberry
f3b2009499
chore: reorder helm chart to improve ux ( #8108 )
...
It makes no sense that the primary option `env` was so far
below infrequently used options.
2023-06-20 16:23:56 +00:00
Kyle Carberry
467b0a1004
chore: restyle provisioner job output format ( #8106 )
...
Reduce colors and formatting to reduce bugs and increase UNIX-feel.
2023-06-20 16:16:27 +00:00
Colin Adler
823127e761
feat: add healthcheck database section ( #8060 )
2023-06-20 15:13:22 +00:00
Bruno Quaresma
2db4488337
fix(site): fix filters errors display ( #8103 )
2023-06-20 12:08:05 -03:00
Mathias Fredriksson
ea4b7d60d7
fix(agent): refactor trackScriptLogs to avoid deadlock ( #8084 )
...
During agent close it was possible for the startup script logs consumer
to enter a deadlock state where by agent close was waiting via
`a.trackConnGoroutine` and the log reader for a flush event.
This refactor removes the mutex in favor of channel communication and
relies on two goroutines without shared state.
2023-06-20 18:05:11 +03:00
Colin Adler
adf14f1917
chore(cli): warn on template push or create when no lockfile present ( #8059 )
2023-06-20 15:02:44 +00:00
Bruno Quaresma
a47a9b1cfe
fix(site): prevent filter input update when focused ( #8102 )
2023-06-20 13:46:04 +00:00
Mathias Fredriksson
b8ba287128
fix: disable websocket compression for startup logs in Safari ( #8087 )
2023-06-20 16:29:32 +03:00
Bruno Quaresma
c3781d95b4
fix(site): fix build logs route ( #8100 )
2023-06-20 13:24:48 +00:00
Cian Johnston
eb0783ff24
chore(cli): do not assert non-zero host cpu usage ( #8097 )
2023-06-20 13:03:56 +00:00
Cian Johnston
0f754f0bb9
fix(clistat): do not include buffers/cache for host memory used ( #8095 )
2023-06-20 13:29:27 +01:00
Marcin Tojek
06a5e24f5b
skip: TestStatCPUCmd/JSON ( #8093 )
2023-06-20 12:08:11 +00:00
Mathias Fredriksson
8dac0356ed
refactor: replace startup script logs EOF with starting/ready time ( #8082 )
...
This commit reverts some of the changes in #8029 and implements an
alternative method of keeping track of when the startup script has ended
and there will be no more logs.
This is achieved by adding new agent fields for tracking when the agent
enters the "starting" and "ready"/"start_error" lifecycle states. The
timestamps simplify logic since we don't need understand if the current
state is before or after the state we're interested in. They can also be
used to show data like how long the startup script took to execute. This
also allowed us to remove the EOF field from the logs as the
implementation was problematic when we returned the EOF log entry in the
response since requesting _after_ that ID would give no logs and the API
would thus lose track of EOF.
2023-06-20 14:41:55 +03:00
Marcin Tojek
b1d1b63113
chore: ensure logs consistency across Coder ( #8083 )
2023-06-20 12:30:45 +02:00
Cian Johnston
d6f8bd7847
feat(cli): add coder stat command ( #8005 )
2023-06-20 11:16:57 +02:00
Jon Ayers
c3aef9363b
feat: add locked TTL field to template meta ( #8020 )
2023-06-19 22:37:55 -04:00
dependabot[bot]
1ecc371ade
chore: bump google.golang.org/grpc from 1.55.0 to 1.56.0 ( #8079 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.55.0 to 1.56.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.56.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
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-06-19 20:48:05 -05:00
Mathias Fredriksson
af45e64b1d
chore(coderd/database/gen): improve generated fake stub ( #8088 )
...
* chore(coderd/database/gen): generate arg validation where applicable
* fix(coderd/database/gen): support pointers and slices as return types
2023-06-20 00:05:26 +03:00
Kyle Carberry
f444100aa6
feat: add region querying to pre-fetched html ( #8077 )
2023-06-19 11:23:26 -05:00
dependabot[bot]
e083cbca6a
chore: bump golang.org/x/mod from 0.10.0 to 0.11.0 ( #8078 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/mod/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
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-06-19 10:00:37 -05:00
dependabot[bot]
020c6fb71e
chore: bump google.golang.org/api from 0.127.0 to 0.128.0 ( #8080 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.127.0 to 0.128.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.127.0...v0.128.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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-06-19 10:00:21 -05:00
dependabot[bot]
456ad85ce3
chore: bump golang.org/x/crypto from 0.9.0 to 0.10.0 ( #8081 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
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-06-19 10:00:13 -05:00
Kyle Carberry
5b9c3784bc
docs: add steps for registering a github app with coder ( #7976 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-18 14:01:37 -05:00
Kyle Carberry
9df9ad4503
feat: embed common client requests into the template html ( #8076 )
...
This should reduce the number of API requests a client makes
when loading the dashboard dramatically!
2023-06-18 13:57:27 -05:00
Kyle Carberry
2a10c9127f
fix: show git provider id instead of type ( #8075 )
...
Fixes #6343 .
2023-06-18 17:01:44 +00:00
Ammar Bandukwala
ca6b9e9368
chore: use robust RNG in cryptorand ( #8040 )
2023-06-17 17:33:40 -05:00
Montasser abd majid ZEHRI
c8e67833f5
docs: add oidc keycloak docs ( #8042 )
...
* adding docs for keycloak to solve the problem with the refraish token
* fmt
2023-06-16 10:18:26 -05:00
Mathias Fredriksson
0c5077464b
fix: avoid missed logs when streaming startup logs ( #8029 )
...
* feat(coderd,agent): send startup log eof at the end
* fix(coderd): fix edge case in startup log pubsub
* fix(coderd): ensure startup logs are closed on lifecycle state change (fallback)
* fix(codersdk): fix startup log channel shared memory bug
* fix(site): remove the EOF log line
2023-06-16 17:14:22 +03:00
Marcin Tojek
247f8a973f
feat: replace ssh maxTimeout with keep-alive mechanism ( #8062 )
...
* Bump up coder/ssh
* feat: Set default agent timeout to ~72h
* Address PR comments
* Fix
2023-06-16 15:22:18 +02:00
Cian Johnston
751c0505bf
chore: add benchmark for prometheusmetrics.MetricsAggregator ( #8066 )
...
* add benchmark for prom metrics aggregator
* fixup! add benchmark for prom metrics aggregator
* make fmt
2023-06-16 14:04:28 +01:00
Colin Adler
3ec2e96ff4
chore: tidy up grafana example dashboard ( #8056 )
2023-06-15 14:22:31 -05:00
dependabot[bot]
137b51e2c7
chore: bump cronstrue from 2.21.0 to 2.27.0 in /site ( #7851 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.21.0 to 2.27.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.21.0...v2.27.0 )
---
updated-dependencies:
- dependency-name: cronstrue
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>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-15 14:34:00 -03:00
Bruno Quaresma
e4d23ff5fe
fix(site): add test and fix username params in terminal ( #8052 )
2023-06-15 13:18:19 -03:00
Bruno Quaresma
f61001d049
chore(docs): optimize images ( #8047 )
2023-06-15 10:49:47 -03:00
dependabot[bot]
33c0674d76
chore: bump react-router-dom from 6.4.1 to 6.12.1 in /site ( #7950 )
...
* chore: bump react-router-dom from 6.4.1 to 6.12.1 in /site
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.4.1 to 6.12.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.12.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix what needs to be fixed
* fix storybook
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-06-15 10:34:49 -03:00
Cian Johnston
6e598234b6
fix: only collect prometheus database metrics when explicitly enabled ( #8045 )
...
* fix: only collect prometheus database metrics when explicitly enabled
* add missing test
* de-duplicate wrapping
2023-06-15 12:34:16 +01:00
Mathias Fredriksson
3f81f38fcc
ci: fix commit type prefix regexp in release script ( #8046 )
...
Previously we were incorrectly categorizing `fix(a/b): ...` as other
because the regexp only expected letters, not `/`. Now we accept any
input within the parenthesis.
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-06-15 10:57:18 +00:00
Cian Johnston
b1588fa596
fix(helm): use /healthz for liveness and readiness probes instead of /api/v2/buildinfo ( #8035 )
2023-06-15 10:08:48 +01:00
Eric Paulsen
977e9ef505
docs: add steps for configuring trusted headers & origins in Helm chart ( #8031 )
2023-06-14 16:20:40 -04:00
Kyle Carberry
8ac68c95a4
chore: lazily initialize find commands in makefile ( #8030 )
...
Improves make performance for small targets!
2023-06-14 13:17:16 -05:00
Bruno Quaresma
af06e80949
fix(site): fix footer year ( #8036 )
2023-06-14 14:59:33 -03:00
Steven Masley
6c4c3d6ce5
feat: add login type 'none' to prevent password login ( #8009 )
...
* feat: add login type 'none' to prevent login
Users with this login type must use tokens to authenticate.
Tokens must come from some other source, not a /login with password
authentication
2023-06-14 12:48:43 -05:00
Bruno Quaresma
cbd49abfcd
fix(site): resize terminal when dismissing warning ( #8028 )
2023-06-14 14:40:55 -03:00
Steven Masley
3619a3a6dd
feat: add disabling of default 'everyone' group access to template ( #7982 )
...
* feat: add disabling of default 'everyone' group access to template
* add FE to disable everyone group
* require entitlement to uncheck box
2023-06-14 11:08:58 -05:00
Kyle Carberry
e4b6f5695b
chore: separate pubsub into a new package ( #8017 )
...
* chore: rename store to dbmock for consistency
* chore: remove redundant dbtype package
This wasn't necessary and forked how we do DB types.
* chore: separate pubsub into a new package
This didn't need to be in database and was bloating it.
2023-06-14 15:34:54 +00:00
Dean Sheather
2c843f4011
fix: fix --header flag in CLI ( #8023 )
2023-06-14 21:52:01 +10:00
Cian Johnston
df842b31e8
chore: fix miscellaneous issues in scaletest scripts ( #8006 )
...
* chore: scaletest: plumb through more options
* bump terraform version
* scaletest.sh: pprof during traffic gen
* cli/scaletest: actually wait for prometheus metrics to be scraped
* increase prometheus wait
2023-06-14 09:38:04 +01:00
Rodrigo Maia
1da2570e14
feat(site): add documentation links to webterminal notifications ( #8019 )
...
* feat(site): add documentation links to webterminal notifications
* change button variant
2023-06-14 00:27:40 +00:00
dependabot[bot]
7a7ee63225
chore: bump github.com/hashicorp/terraform-json from 0.16.0 to 0.17.0 ( #7972 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 22:19:01 +00:00
dependabot[bot]
af50ef76f9
chore: bump google.golang.org/api from 0.125.0 to 0.127.0 ( #8018 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 01:15:08 +03:00
dependabot[bot]
299260361a
chore: bump github.com/gohugoio/hugo from 0.111.3 to 0.113.0 ( #7969 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 16:50:45 -05:00
Kyle Carberry
8c4b7c01e2
chore: remove redundant dbtype package ( #8014 )
...
* chore: rename store to dbmock for consistency
* chore: remove redundant dbtype package
This wasn't necessary and forked how we do DB types.
2023-06-13 19:14:55 +00:00
Mathias Fredriksson
4f512fb230
chore: use gcr.io for postgres image in OpenContainerized ( #8015 )
...
Refs #7935
2023-06-13 22:03:33 +03:00
Kyle Carberry
7d54fd5e0d
chore: rename store to dbmock for consistency ( #8013 )
2023-06-13 13:57:43 -05:00
Kyle Carberry
a658c94a67
chore: automatically generate dbauthz when new queries are added ( #8007 )
...
* chore: automatically generate dbauthz when new queries are added
* Merge system functions
2023-06-13 13:40:46 -05:00
Mathias Fredriksson
c12c9f1f4e
chore(go.mod): update cdr.dev/slog ( #7994 )
...
* chore(mod): update cdr.dev/slog
* fix: change uses of []slog.Field to []any to match new API
2023-06-13 18:17:04 +00:00
Mathias Fredriksson
74fdcb1ace
fix(agent/agentssh): wait for sessions to exit ( #8008 )
2023-06-13 17:52:31 +00:00
Kyle Carberry
794a551176
chore: generate dbmetrics automatically when adding new queries ( #7999 )
...
* chore: rename dbgen package files and remove small file
* chore: automatically generate dbmetrics when new queries are added
2023-06-13 12:35:12 -05:00
Colin Adler
f2758fcb33
feat: add example grafana dashboard ( #7987 )
...
* feat: add example grafana dashboard
* fixup! feat: add example grafana dashboard
* fixup! feat: add example grafana dashboard
* fixup! feat: add example grafana dashboard
2023-06-13 12:26:42 -05:00
Mathias Fredriksson
51226c55ab
test(coderd): close metricscache and avoid background context ( #7996 )
2023-06-13 20:18:31 +03:00
Kyle Carberry
2e7e99b135
fix: scope errors to subtests for flake ( #8004 )
...
See: https://github.com/coder/coder/actions/runs/5257676837/jobs/9500882394
2023-06-13 11:52:17 -05:00
Kyle Carberry
24953869a6
chore: remove key comparison check to fix gitsshkey flake ( #8002 )
...
In tests we use weak randomness and the same key was generated which
caused a test flake here.
2023-06-13 15:51:45 +00:00
Kyle Carberry
75078fafa2
chore: try removing cache from fmt and lint ( #8001 )
2023-06-13 10:48:53 -05:00
Steven Masley
9cf3c582cb
test: add unit test that deletes abandoned workspace ( #7990 )
...
* test: add unit test that deletes abandoned workspace
This is to ensure we do not break this functionality in future.
This is important incase this edge case happens, an admin can
clean up the abandoned resources.
2023-06-13 10:42:18 -05:00
Mathias Fredriksson
c916a9e67f
fix(agent): guard against multiple rpty race for same id ( #7998 )
...
* fix(agent): guard against multiple rpty race for same id
* fix(agent): ensure pty is closed on error
2023-06-13 15:14:07 +00:00
Kyle Carberry
9440b3da66
chore: rename dbgen package files and remove small file ( #7997 )
2023-06-13 09:21:12 -05:00
Mathias Fredriksson
1d0fae83a2
fix(coderd): prevent lost messages in watchWorkspaceAgentMetadata ( #7934 )
...
* fix(codersdk): wait for subscription in WatchWorkspaceAgentMetadata
* fix(coderd): subscribe before sending initial metadata event
* test(coderd): add retries to TestWorkspaceAgent_Metadata to avoid flake
2023-06-13 12:21:06 +00:00
Mathias Fredriksson
518300a26c
fix(coderd/database): improve pubsub closure and context cancellation ( #7993 )
2023-06-13 15:19:56 +03:00
Ben Potter
aba5cb8377
fix(docs): capture and export audit logs ( #7991 )
...
* hotfix(docs): Capturing/exporting audit logs
We frequntly get questions about this!
* fmt
2023-06-12 23:06:58 -05:00
Jon Ayers
31bd2b0bdc
chore: update legacy parameters in envbox template ( #7898 )
2023-06-12 20:53:12 -05:00
Colin Adler
ac605bad3d
ci: scan images with prisma ( #7988 )
2023-06-12 23:11:45 +00:00
Kyle Carberry
28f35393e7
chore: generate and order dbfake funcs automatically ( #7986 )
...
* chore: rename `databasefake` to `dbfake`
* Remove unused method
* chore: add generation to dbfake
* Auto gen on make gen
* Fix preserving imports
* gen dbfake
* Add goimports
* Fix the makefile
* Make it panic instead of a comment
2023-06-12 17:40:58 -05:00
Kyle Carberry
685abfc6d7
chore: rename databasefake to dbfake ( #7979 )
...
* chore: rename `databasefake` to `dbfake`
* Remove unused method
2023-06-12 16:05:37 -05:00
Asher
4a0ac13bb7
docs: document CORS behavior between forwarded apps ( #7944 )
...
* docs: document CORS behavior
* docs: move CORS documentation under dashboard section
None of this applies to ports forwarded in other ways.
2023-06-12 20:59:47 +00:00
Kyle Carberry
6ac7d86c93
chore: prevent gen from rerunning every time ( #7985 )
2023-06-12 14:45:17 -05:00
Steven Masley
b70d2b1767
fix: correct the correct cli output for 'template version list --output=json' ( #7984 )
...
* fix: correct 'template version list --output=json' cli cmd
2023-06-12 14:35:51 -05:00
Kira Pilot
f13632cea8
feat: add impending deletion filter to workspaces page ( #7860 )
...
* add workspace deletion dialog
* add deleting_by query param
* added test
* filtering on workspaces to be deleted
* cleaned up form
* added story
* added banner filter
* PR feedback
* fix lint and stories
* PR feedback
* added enterprise test
* added unit tests in search_test.go
* remove unused fn
* unstaged changes
2023-06-12 11:55:51 -07:00
Mathias Fredriksson
4068f70d2b
fix(coderd): avoid deadlock in (*logFollower).follow ( #7983 )
2023-06-12 18:38:46 +00:00
Ammar Bandukwala
aa9dbf2eb3
ci: reduce Windows parallelism ( #7981 )
...
We have seen an uptick in Windows failures.
2023-06-12 18:24:54 +00:00
dependabot[bot]
0d71314ae1
chore: Bump aquasecurity/trivy-action from 0.10.0 to 0.11.2 ( #7967 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.10.0 to 0.11.2.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/e5f43133f6e8736992c9f3c1b3296e24b37e17f2...41f05d9ecffa2ed3f1580af306000f734b733e54 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
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-06-12 21:22:10 +03:00
Ammar Bandukwala
a540e629e5
ci: improve caching ( #7954 )
2023-06-12 12:09:54 -05:00
Mathias Fredriksson
4bc4e63637
fix(cli/ssh): fix lint error ( #7974 )
2023-06-12 16:17:41 +00:00
Muhammad Atif Ali
68ebf93fdb
ci: add fmt and lint to required tests ( #7975 )
2023-06-12 10:43:45 -05:00
Ammar Bandukwala
5de1084639
feat(cli/ssh): simplify log file flags ( #7863 )
...
And, fix a race condition.
2023-06-12 09:18:33 +04:00
Dean Sheather
ec7b117878
chore: add gen and test-go-race to required check ( #7952 )
2023-06-10 04:07:17 +00:00
dependabot[bot]
1ec463d74d
chore: bump i18next from 21.9.1 to 22.5.0 in /site ( #7812 )
...
* chore: Bump i18next from 21.9.1 to 22.5.0 in /site
Bumps [i18next](https://github.com/i18next/i18next ) from 21.9.1 to 22.5.0.
- [Release notes](https://github.com/i18next/i18next/releases )
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next/compare/v21.9.1...v22.5.0 )
---
updated-dependencies:
- dependency-name: i18next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix i18n types
* prettier
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Maia <rodrigo.maia.pereira@gmail.com >
2023-06-09 18:54:17 -05:00
Dean Sheather
634e146032
ci: skip ts or go tests based on changed files ( #7134 )
...
* chore: skip ts or go tests based on files changed
* comments
* chore: add 'required' job
* fixup! chore: add 'required' job
* fake go modification
* merge main into dean/skip-tests-fe-be
* fix typo
* remove x_test.go
* remove duplicate setup-node action
* condition test-go-race too
* skip ete on docs changes
* allows tests to run if changes are made .github directory
---------
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-10 02:53:16 +03:00
Ammar Bandukwala
71c908974c
ci: improve caching ( #7943 )
2023-06-09 16:46:44 -05:00
Cian Johnston
2bbe650eb0
chore: scaletest: collect database metrics using prometheus-postgres-exporter ( #7945 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-06-09 21:21:08 +00:00
Muhammad Atif Ali
175561bf36
docs: update CONTRIBUTING.md ( #7937 )
2023-06-09 19:38:16 +03:00
Steven Masley
065206345e
test: add golden files to enterprise cli ( #7924 )
...
* test: Add golden files to enterprise cli
2023-06-09 11:35:20 -05:00
Dean Sheather
4f9d3155c9
ci: use macos-latest-xl runners ( #7938 )
2023-06-09 11:22:29 -05:00
Muhammad Atif Ali
16ebe10ff2
docs(admin/workspace-proxies): add instructions to run using the Docker image ( #7915 )
...
* docs(admin/workspace-proxies): add instructions to run using the Docker image.
* make fmt
2023-06-09 10:53:04 -05:00
Eric Paulsen
53969415ec
docs: add multi git providers to enterprise chart ( #7941 )
...
* docs: add multi git providers to enterprise chart
* make: fmt
2023-06-09 14:52:51 +00:00
Dean Sheather
c60ea38691
chore: use gcr.io for postgres image in CI ( #7935 )
2023-06-09 13:39:55 +00:00
Mathias Fredriksson
e4744686ec
fix(codersdk): handle API older than client for startup script behavior ( #7933 )
2023-06-09 13:01:56 +00:00
Colin Adler
30a635aa5f
fix(enterprise): ensure scim usernames are validated ( #7925 )
2023-06-08 17:59:49 -05:00
Steven Masley
a4cc883be1
chore: add proxy health interval flag/env config ( #7919 )
...
* chore: plumbing for proxy health interval from flag/env
2023-06-08 12:58:24 -05:00
Steven Masley
fa8153a0fd
chore: make default workspace proxy editable ( #7903 )
...
* chore: add editing the default workspace proxy
2023-06-08 10:30:15 -05:00
Steven Masley
5e647ba07a
chore: improve workspace proxy create cli flow ( #7907 )
...
* chore: improve workspace proxy create cli flow
2023-06-08 10:02:35 -05:00
Muhammad Atif Ali
26f575e284
ci: prevent running nightly-gauntlet.yaml on PRs ( #7920 )
2023-06-08 14:57:39 +00:00
Mathias Fredriksson
976d23e3dc
docs(templates): fix docs for updated --wait flag ( #7918 )
2023-06-08 14:31:22 +00:00
Mathias Fredriksson
03034dc508
chore(cli/configssh): add comment about wait and skip proxy ( #7917 )
2023-06-08 14:23:03 +00:00
Mathias Fredriksson
fa91e11105
fix(cli/help): show deprecation notice properly for flags ( #7904 )
2023-06-08 14:14:42 +00:00
Mathias Fredriksson
a1c32954d9
feat(cli/configssh): add support for wait yes/no/auto ( #7893 )
...
Refs #7768
2023-06-08 14:06:50 +00:00
Mathias Fredriksson
94aa9be33a
feat(cli/ssh): implement wait options and deprecate no-wait ( #7894 )
...
Fixes #7768
Refs #7893
2023-06-08 16:52:44 +03:00
Steven Masley
b2324325fa
chore: add warning log if misconfigured groups oidc ( #7874 )
...
* chore: add warning log if misconfigured groups oidc
This is not perfect, but if we find a 'groups' claim and it is not
configured, put out a warning log to give some information
2023-06-08 08:51:59 -05:00
Montasser abd majid ZEHRI
479467473e
docs: add RStudio community template without requiring a subdomain ( #7909 )
...
* adding a comunity template
* make fmt
* fixing typo in url
---------
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-08 13:07:20 +00:00
Cian Johnston
efbb55803b
chore: add scaletest convenience script ( #7819 )
...
- Adds a convenience script `scaletest.sh` to automate process of running scale tests
- Enables pprof endpoint by default, and captures pprof traces before tearing down infra.
- Improves idempotency of coder_init.sh
- Removes the promtest.Float64 invocations in workspacetraffic runner, these metrics will be in prometheus.
- Increases default workspace traffic output to 40KB/s/workspace.
2023-06-08 09:30:02 +01:00
Ammar Bandukwala
9ec1fcf1a7
ci: move timing tests to nightly gauntlet ( #7910 )
...
Test_Runner_Timing was one of our flakiest tests before.
2023-06-08 04:03:03 +00:00
Ammar Bandukwala
fcca639d38
test(agent/agentssh): close SSH servers in all tests ( #7911 )
...
Potentially solves the flake seen here:
https://github.com/coder/coder/actions/runs/5167029213/jobs/9307647816 .
2023-06-07 23:43:38 +00:00
Ammar Bandukwala
f6db95e71c
test(coderd/database/migrations): increase fixture test timeout
2023-06-07 23:17:29 +00:00
Technofab
52ead3d933
feat(provisioner): add support for .tf.json templates ( #7835 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-06-08 08:06:50 +10:00
Asher
f0c5201617
feat: allow cross-origin requests between users' own apps ( #7688 )
2023-06-07 11:08:14 -08:00
Asher
125e9ef00e
fix: validate that parameter names are unique ( #7882 )
2023-06-07 09:44:50 -08:00
Bruno Quaresma
fbdbc8a6c5
fix(site): return correct useer when using me on filter menu ( #7906 )
2023-06-07 14:32:52 -03:00
Bruno Quaresma
5be2b77830
fix(site): format numbers in pagination text ( #7900 )
2023-06-07 15:25:03 +00:00
Bruno Quaresma
df82f29945
fix(site): improve filter on smaller screens ( #7899 )
2023-06-07 15:01:49 +00:00
Bruno Quaresma
2a5025c84c
feat(site): add view activity on user context menu ( #7897 )
2023-06-07 11:58:40 -03:00
Mathias Fredriksson
eb11b50bd1
docs(templates): improve workspace incomplete and session docs ( #7896 )
2023-06-07 17:34:49 +03:00
Bruno Quaresma
d793564937
feat(site): add new filter to audit logs ( #7878 )
2023-06-07 14:10:58 +00:00
Mathias Fredriksson
ab3a649520
docs(templates): improve startup_script_behavior docs ( #7892 )
...
Refs #7857
2023-06-07 13:39:44 +00:00
Steven Masley
1376ba3724
chore: use a cache to select best latency ( #7879 )
...
* chore: Testing using a cache to choose the best latency
* Allow storing more latencies if needed
This PR enables a feature to record and save latencies to local storage for later analysis
2023-06-07 08:29:18 -05:00
Kira Pilot
74ffd2756a
fix: respect uppercase letters in username filter for audit ( #7880 )
...
* fix: respect uppercase letters in username filter for audit
* updated documentation
2023-06-07 05:48:08 -07:00
Bruno Quaresma
91dd3fbfab
feat(site): add presets back to the filters ( #7876 )
2023-06-07 09:46:16 -03:00
Mathias Fredriksson
a77b48a5e3
docs(templates): document startup_script_behavior in-depth ( #7857 )
...
Fixes #7759
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-06-07 12:29:19 +03:00
Cian Johnston
4f29f9abe3
fixup! fix(cli): speed up CLI over SSH ( #7885 ) ( #7888 )
2023-06-07 09:13:22 +00:00
Muhammad Atif Ali
8c4b6b02e7
ci: rename cron-weekly.yaml to weekly-docs.yaml ( #7886 )
...
Renames `cron-weekly.yaml` to `weekly-docs.yaml`
2023-06-07 07:56:19 +00:00
Ammar Bandukwala
5eaf809851
fix(cli): speed up CLI over SSH ( #7885 )
...
By caching the terminal's color profile, we avoid myriad round trips during command execution.
2023-06-07 05:22:58 +00:00
Colin Adler
1288a83e42
chore: upgrade openssl ( #7883 )
2023-06-06 16:59:56 -05:00
goodspark
0665a6c2f2
feat: add metric for provisioner daemons ( #7858 )
2023-06-06 16:50:11 -05:00
Muhammad Atif Ali
4954052ff6
ci: use builder runners to build dogfood image ( #7881 )
2023-06-06 16:11:25 -05:00
Colin Adler
003120882f
chore: update Go to 1.20.5 ( #7877 )
2023-06-06 14:05:09 -05:00
Steven Masley
72f59950f2
chore: add prometheus timing to latency endpoint ( #7742 )
...
* chore: Prometheus timing to latency endpoint
2023-06-06 10:26:13 -05:00
Bruno Quaresma
944c42dcb6
docs: add docs for the available query filter for workspaces and users ( #7875 )
...
* Add docs for user filtering
* Add filter for workspace
* Apply suggestions from code review
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-06 15:12:10 +00:00
Bruno Quaresma
3121ccc7ff
fix(site): Update the template form when a value is changed ( #7873 )
2023-06-06 11:25:25 -03:00
Bruno Quaresma
6d3dc30207
refactor(site): Remove terminal padding and add border to bottom bar ( #7871 )
2023-06-06 11:08:07 -03:00
Bruno Quaresma
baa9922a82
feat(site): add new filter to the users page ( #7818 )
2023-06-06 09:59:15 -03:00
Marcin Tojek
ee45b3df77
fix: ignore case while sorting usernames ( #7870 )
2023-06-06 12:37:41 +02:00
Mathias Fredriksson
660bbb8d38
refactor: deprecate login_before_ready in favor of startup_script_behavior ( #7837 )
...
Fixes #7758
2023-06-06 11:58:07 +03:00
Marcin Tojek
93378daeb3
feat: sort users by username ( #7838 )
2023-06-06 08:47:59 +02:00
Muhammad Atif Ali
2ad1308450
ci: run dogfood.yaml action when the action is updated ( #7866 )
2023-06-06 06:34:20 +00:00
Muhammad Atif Ali
2be7ef88e8
ci: use coder binary from the server ( #7865 )
2023-06-06 09:13:25 +03:00
dependabot[bot]
7332acc935
chore: bump vite from 4.3.0 to 4.3.9 in /site ( #7864 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.0 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 21:57:53 -05:00
sharkymark
8e655b42b1
chore(docs): Added macOS self-signed cert add step and moved plugin docs to top ( #7859 )
2023-06-05 19:59:01 -04:00
Steven Masley
fa8f50a169
fix: fix workspace status filter returning more statuses that requested ( #7732 )
2023-06-05 18:12:10 -05:00
Bruno Quaresma
b9e3226612
refactor(site): give default error message when description is missing ( #7846 )
2023-06-05 17:43:24 -03:00
Bruno Quaresma
7ec16cf779
feat(site): add latency to the terminal ( #7801 )
2023-06-05 18:32:49 +00:00
dependabot[bot]
0413ed0178
chore: update xterm, xterm-addon-fit, and xterm-addon-web-links in /site ( #7765 )
...
* chore: bump xterm, xterm-addon-fit and xterm-addon-web-links in /site
Bumps [xterm](https://github.com/xtermjs/xterm.js ), [xterm-addon-fit](https://github.com/xtermjs/xterm.js ) and [xterm-addon-web-links](https://github.com/xtermjs/xterm.js ). These dependencies needed to be updated together.
Updates `xterm` from 4.19.0 to 5.1.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.19.0...5.1.0 )
Updates `xterm-addon-fit` from 0.5.0 to 0.7.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.7 )
Updates `xterm-addon-web-links` from 0.6.0 to 0.8.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases )
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.6...0.8 )
---
updated-dependencies:
- dependency-name: xterm
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: xterm-addon-fit
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: xterm-addon-web-links
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Remove rendererType
This option no longer exists. Renderers other than the DOM renderer
have been split into addons.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asher <ash@coder.com >
2023-06-05 13:53:27 -03:00
dependabot[bot]
a2e129083e
chore: bump github.com/hashicorp/hcl/v2 from 2.14.0 to 2.17.0 ( #7853 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 11:30:20 -05:00
dependabot[bot]
3a7c92a56f
chore: bump go.uber.org/atomic from 1.10.0 to 1.11.0 ( #7854 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 11:27:57 -05:00
dependabot[bot]
b79bfb2874
chore: bump alpine from 3.16 to 3.18 in /dogfood ( #7847 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 11:26:58 -05:00
Colin Adler
1ab2450250
fix(provisioner/terraform): ensure ordering rich parameters produces no nil values ( #7824 )
2023-06-05 11:26:04 -05:00
dependabot[bot]
5a3d6b589a
chore: bump eslint-plugin-jsx-a11y from 6.6.1 to 6.7.1 in /site ( #7850 )
...
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y ) from 6.6.1 to 6.7.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.6.1...v6.7.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
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>
2023-06-05 08:33:38 -07:00
Muhammad Atif Ali
466c530525
ci: add dogfood to dependabot ( #7844 )
2023-06-05 18:12:15 +03:00
dependabot[bot]
3fa7ee969d
chore: bump github.com/elastic/go-sysinfo from 1.9.0 to 1.11.0 ( #7841 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 09:56:41 -05:00
dependabot[bot]
82c709b1ba
chore: bump google.golang.org/api from 0.122.0 to 0.125.0 ( #7843 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 09:54:44 -05:00
dependabot[bot]
cb42396596
chore: bump github.com/ory/dockertest/v3 from 3.9.1 to 3.10.0 ( #7840 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 09:52:26 -05:00
sharkymark
88dc66ae47
chore(docs): Add clarifying language that resetting a user password must run on the coderd host ( #7845 )
2023-06-05 13:37:12 +00:00
Bruno Quaresma
6fde86d1ac
fix(site): remove tar file type limitation ( #7817 )
2023-06-05 10:34:36 -03:00
dependabot[bot]
cdba0744a2
chore: Bump jest-runner-eslint from 2.0.0 to 2.1.0 in /site ( #7810 )
...
Bumps [jest-runner-eslint](https://github.com/jest-community/jest-runner-eslint ) from 2.0.0 to 2.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/v2.0.0...v2.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 06:08:25 -07:00
Steven Masley
bbecff28ae
feat: return better error if file size is too big to upload ( #7775 )
...
* feat: return better error if file size is too big to upload
* Use a limit writer to capture actual tar size
2023-06-05 11:19:25 +00:00
Spike Curtis
e016c307ae
Fix postgres ephemeral ports; don't use for TestPubsub_Disconnect ( #7798 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-05 09:24:44 +04:00
dependabot[bot]
f14f011abf
chore: Bump github.com/hashicorp/yamux ( #7808 )
2023-06-04 07:30:36 +03:00
dependabot[bot]
53e5625292
chore: Bump @typescript-eslint/parser from 5.45.1 to 5.59.8 in /site ( #7807 )
2023-06-04 07:29:30 +03:00
dependabot[bot]
4d5f723740
chore: Bump golangci/golangci-lint-action from 3.3.1 to 3.5.0 ( #7805 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.1 to 3.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.5.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
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-06-04 03:37:18 +00:00
dependabot[bot]
2bf3cae3cb
chore: Bump crate-ci/typos from 1.14.11 to 1.14.12 ( #7804 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.14.11 to 1.14.12.
- [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.14.11...v1.14.12 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
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>
2023-06-04 03:31:41 +00:00
dependabot[bot]
e10644f86a
chore: Bump monaco-editor from 0.37.1 to 0.38.0 in /site ( #7814 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.37.1 to 0.38.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.37.1...v0.38.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
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>
2023-06-03 22:40:59 +00:00
goodspark
e2613c91a7
feat(cli): support non-active template version pushes ( #7488 )
...
So that we can push template updates for testing without impacting
normal users of the template.
---------
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-03 22:39:00 +00:00
Muhammad Atif Ali
1f8e817da7
ci: delete CODEOWNERS ( #7830 )
2023-06-03 17:08:55 -05:00
Ammar Bandukwala
38d0f6fb74
perf(provisioner/terraform): upgrade hc-install ( #7832 )
...
By upgrading hc-install, we benefit from increased performance
in checksum verification introduced here:
- https://github.com/hashicorp/hc-install/commit/858962c71d47df1ea505b9031bccd5fdf7c8e07f
Also:
- Made minor improvements to tests
- Excluded TestInstall from the race detector
2023-06-03 22:03:41 +00:00
Ammar Bandukwala
b62e22766f
ci: skip DataDog upload for dependabot ( #7831 )
2023-06-03 20:47:09 +00:00
Marcin Tojek
b26dd4b802
docs: remove unsupported legacy parameters ( #7799 )
...
* docs: unsupported legacy parameters
* Update docs/templates/parameters.md
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-06-03 06:05:06 +02:00
Colin Adler
14a63d7b4a
revert(provisionersdk): remove support for .tf.json files ( #7829 )
2023-06-02 23:13:41 +00:00
Colin Adler
c6cd042e80
fix(clitest): use slogtest for logging stdin and stdout ( #7828 )
2023-06-02 22:38:31 +00:00
Ammar Bandukwala
a4424205c7
ci: truly fix repo name detection
2023-06-02 22:03:21 +00:00
Muhammad Atif Ali
887bbea72a
hotfix(docs): fix broken link reported by ci ( #7825 )
...
Resolves
https://github.com/coder/coder/actions/runs/5159895963/jobs/9295371489#step:4:188
2023-06-03 00:53:06 +03:00
Ammar Bandukwala
f37e007b8e
ci: fix repo name detection
2023-06-02 21:40:18 +00:00
dependabot[bot]
ea03c7276b
chore: Bump github.com/golang-migrate/migrate/v4 from 4.15.2 to 4.16.0 ( #7811 )
...
Bumps [github.com/golang-migrate/migrate/v4](https://github.com/golang-migrate/migrate ) from 4.15.2 to 4.16.0.
- [Release notes](https://github.com/golang-migrate/migrate/releases )
- [Changelog](https://github.com/golang-migrate/migrate/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang-migrate/migrate/compare/v4.15.2...v4.16.0 )
---
updated-dependencies:
- dependency-name: github.com/golang-migrate/migrate/v4
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-06-03 00:12:20 +03:00
Eric Paulsen
6715cb6a95
docs: resolve README 404s ( #7822 )
2023-06-02 20:56:06 +00:00
Colin Adler
edccd2de73
fix(agent): configure logger for both reaper and agent ( #7823 )
2023-06-02 15:51:10 -05:00
Ammar Bandukwala
97fb5020cf
hotfix(ci): correctly detect repo name ( #7820 )
2023-06-02 20:18:09 +00:00
Eric Paulsen
d082ab59b4
docs: add note on log truncation ( #7821 )
2023-06-02 19:36:43 +00:00
Ammar Bandukwala
2631a8436c
hotfix: disable nightly-flake on all pushes
2023-06-02 18:11:04 +00:00
Ammar Bandukwala
6d8caf6f14
ci: add nightly flake workflow ( #7803 )
2023-06-02 12:48:51 -05:00
Ammar Bandukwala
902265bdd7
hotfix(ci): skip DataDog upload on forks ( #7802 )
...
* hotfix(ci): skip DataDog upload on forks
* fixup! hotfix(ci): skip DataDog upload on forks
2023-06-02 17:47:14 +00:00
Colin Adler
6fdebd8a07
hotfix(agent): only retain 1 logfile at a time ( #7815 )
2023-06-02 12:28:38 -05:00
Colin Adler
8f736fe5f5
fix(prometheusmetrics): ensure periodic metrics tick on startup ( #7585 )
2023-06-02 11:56:37 -05:00
Muhammad Atif Ali
9f810b1964
chore(dependabot): assign frontend team to review dependabot PRs automatically ( #7800 )
...
* chore(dependabot): assign frontend tam to review dependabot PRs automatically
* fix team name
2023-06-02 16:34:40 +00:00
Spike Curtis
078926f612
fix: select on context to avoid leak in logFollower ( #7792 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-02 11:25:46 -05:00
dependabot[bot]
004ad1755f
chore: bump formik from 2.2.9 to 2.4.1 in /site ( #7763 )
...
* chore: bump formik from 2.2.9 to 2.4.1 in /site
Bumps [formik](https://github.com/formium/formik ) from 2.2.9 to 2.4.1.
- [Release notes](https://github.com/formium/formik/releases )
- [Commits](https://github.com/formium/formik/compare/formik@2.2.9...formik@2.4.1 )
---
updated-dependencies:
- dependency-name: formik
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix ESLINT
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-06-02 09:58:59 -03:00
Marcin Tojek
10036ab5fb
fix: use minDisabled, maxDisabled for parameter validation ( #7755 )
2023-06-02 11:43:48 +02:00
Marcin Tojek
a7366a8b76
feat!: drop support for legacy parameters ( #7663 )
2023-06-02 11:16:46 +02:00
Colin Adler
2b63492649
feat(healthcheck): add failing sections to report ( #7789 )
2023-06-01 19:21:24 -05:00
Colin Adler
9b8e5c2d8a
feat(provisionersdk): add support for .tf.json templates ( #7744 )
2023-06-02 00:03:59 +00:00
Bruno Quaresma
9dbbe82cf8
fix(site): proxy menu not showing latency ( #7785 )
2023-06-01 20:03:27 -03:00
Asher
9704945428
fix: standardize on CODER_PG_CONNECTION_URL ( #7781 )
...
Fixes #7513 .
2023-06-01 15:02:29 -08:00
Ammar Bandukwala
613f90cf2b
ci: send test statistics to DataDog ( #7786 )
2023-06-01 16:25:52 -05:00
dependabot[bot]
083449c438
chore: bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 ( #7787 )
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 16:25:09 -05:00
sharkymark
49ae49095c
docs: make template git auth example in sync with git auth setup example ( #7784 )
2023-06-01 19:34:52 +00:00
Eric Paulsen
4acf36b84a
docs: describe gateway and internal certs ( #7747 )
...
* docs: gateway & self-signed certs
* docs: update trust store locations
* toolbox paths
* fix: windows cacerts location
---------
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
2023-06-01 14:49:30 -04:00
Bruno Quaresma
62b2560bd0
chore(site): add type check on lint ( #7778 )
2023-06-01 15:45:15 -03:00
Bruno Quaresma
1a615778e6
chore(site): add workspace filter experiments into all ( #7779 )
2023-06-01 15:45:04 -03:00
dependabot[bot]
0bed8b57bc
chore: bump eslint from 8.35.0 to 8.41.0 in /site ( #7761 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.35.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.35.0...v8.41.0 )
---
updated-dependencies:
- dependency-name: eslint
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>
2023-06-01 15:44:33 -03:00
dependabot[bot]
33f1e468cb
chore: bump @fontsource/inter from 4.5.11 to 5.0.2 in /site ( #7762 )
...
Bumps [@fontsource/inter](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/inter ) from 4.5.11 to 5.0.2.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/inter/CHANGELOG.md )
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/inter )
---
updated-dependencies:
- dependency-name: "@fontsource/inter"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 15:44:22 -03:00
dependabot[bot]
93f4a5008e
chore: bump @types/jest from 29.4.0 to 29.5.2 in /site ( #7764 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.4.0 to 29.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
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>
2023-06-01 15:43:26 -03:00
Bruno Quaresma
0f439d5374
hotfix: initial options as empty array ( #7782 )
2023-06-01 18:25:54 +00:00
Ammar Bandukwala
ba3e6cea51
hotfix: remove cryptorand.Bool ( #7780 )
...
It caused a CI flake and we we weren't using it anywhere.
`cryptorand.Float64() < 0.5` can be used in the future too.
2023-06-01 17:59:08 +00:00
Bruno Quaresma
332362cf4b
chore(site): simplify the logic to load workspace initial data ( #7772 )
2023-06-01 14:20:17 -03:00
Bruno Quaresma
4de4e8ee21
feat(site): Show total of items in the workspaces table ( #7774 )
2023-06-01 13:21:16 -03:00
Bruno Quaresma
80b60e158d
refactor(site): make vscode dropdown button thiner ( #7773 )
2023-06-01 16:17:56 +00:00
Bruno Quaresma
e80e88e019
refactor(site): add default owner:me filter to workspaces ( #7738 )
2023-06-01 12:04:10 -03:00
Bruno Quaresma
1952c042e1
fix(site): Fix navbar alignment on small screens ( #7739 )
...
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
2023-06-01 13:49:20 +00:00
Steven Masley
b32ed2d97e
chore: add function to refetch latencies to ProxyContext ( #7769 )
...
* Allow refetching of proxy latencies
* Pass refetch funtion up the context stack
* Add to menu bar
2023-06-01 13:37:20 +00:00
Steven Masley
cf8d2bc096
feat: use tz_offset when doing deployment dau query ( #7736 )
...
* Have FE query correct tz_offset data
2023-06-01 09:23:50 -04:00
Ammar Bandukwala
555ea64669
ci: deduplicate language setup ( #7753 )
...
* Deduplicate actions
* Split up go-race and go-pg
2023-06-01 08:20:49 +00:00
Muhammad Atif Ali
80269ba1b9
hotfix(.github): fix dependency in contrib.yaml ( #7754 )
...
`title` job was removed in #7743 , so this job was falling.
2023-06-01 10:29:07 +03:00
Spike Curtis
a46e8f2e49
fix: concurrent writes to executor stats ( #7731 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-01 05:23:51 +00:00
Ammar Bandukwala
9810339fd6
ci: use Buildjet and faster Windows runners ( #7751 )
2023-06-01 00:06:37 -05:00
Ben Potter
36f4e0dc35
hotfix(docs): minor updates to workspace proxies ( #7735 )
2023-05-31 21:32:26 +00:00
Colin Adler
f1d27ba42d
hotfix(healthcheck): properly calculate healthy status ( #7746 )
2023-05-31 20:17:33 +00:00
Ammar Bandukwala
828f33ac7b
hotfix(.github): remove legacy title validator ( #7743 )
...
* hotfix(.github): remove legacy title validator
`cdr-bot` centralizes the behavior and can enforce stricter
standards.
* Increase jest timeout
2023-05-31 19:39:41 +00:00
Muhammad Atif Ali
b80756e4f5
feat(site): Add support for insiders channel to "VS Code Desktop" button ( #7730 )
2023-05-31 16:28:27 +00:00
Cian Johnston
784696dfa5
feat: add prometheus metrics to database.Store ( #7713 )
...
* Adds dbmetrics package and wraps database.Store with a Prometheus HistogramVec of timings.
* Adds Wrappers method to database.Store to avoid double-wrapping interfaces
* Fixes test flake in TestLicensesListFake
2023-05-31 14:55:57 +01:00
Bruno Quaresma
00a30775bc
refactor(site): Improve and fix loading buttons ( #7719 )
2023-05-31 10:00:30 -03:00
Bruno Quaresma
b34894977d
fix(site): Confirm delete on press Enter in delete dialog ( #7720 )
2023-05-31 09:59:36 -03:00
Bruno Quaresma
be2067bb0d
fix(site): Make current user first in the list and fix search ( #7722 )
2023-05-31 09:59:25 -03:00
Muhammad Atif Ali
ce6b698048
hotfix(ci): fix a syntax issue in contrib.yaml ( #7727 )
2023-05-31 07:21:25 +00:00
Spike Curtis
7c3dbbbe93
fix: stream provisioner logs ( #7712 )
...
* stream provisioner logs
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports
Signed-off-by: Spike Curtis <spike@coder.com >
* Better logging, naming, arg order
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-31 06:15:58 +00:00
Spike Curtis
583b777251
fix: wildcard dns docs ( #7709 )
...
* Fix wildcard dns docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Clarify
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-31 10:10:30 +04:00
dependabot[bot]
ec3ef167d2
chore: bump eslint-config-prettier from 8.5.0 to 8.8.0 in /site ( #7556 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.5.0 to 8.8.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.8.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
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>
2023-05-30 23:30:13 -05:00
dependabot[bot]
ae82a5985d
chore: bump xstate from 4.33.5 to 4.37.2 in /site ( #7560 )
...
Bumps [xstate](https://github.com/statelyai/xstate ) from 4.33.5 to 4.37.2.
- [Release notes](https://github.com/statelyai/xstate/releases )
- [Commits](https://github.com/statelyai/xstate/compare/xstate@4.33.5...xstate@4.37.2 )
---
updated-dependencies:
- dependency-name: xstate
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-05-30 23:29:23 -05:00
Ammar Bandukwala
43eee35ae8
chore(cli): correctly report telemetry even when transport replaced ( #7670 )
...
By introducing the "ExtraHeaders" map, we can apply headers even when
handlers replace the transport, as in the case of our scaletests.
Also, only send telemetry header when it's small.
2023-05-31 00:11:56 +00:00
Ammar Bandukwala
867996aa18
chore(.github): specify PR types
2023-05-30 23:57:45 +00:00
Colin Adler
43e0968dac
feat: format healthcheck responses ( #7723 )
2023-05-30 16:59:39 -05:00
Steven Masley
73d795f426
chore: Revert to only using 1 timezone support for template DAUs ( #7721 )
...
* chore: Revert to only using 1 timezone support for template DAUs
Keeping the logic to support more in case we optimize later
2023-05-30 15:37:07 -04:00
Colin Adler
022372dd73
feat(healthcheck): add websocket report ( #7689 )
2023-05-30 14:22:32 -05:00
Bruno Quaresma
77b0ca0b53
refactor(site): Improve workspaces filtering ( #7681 )
2023-05-30 14:52:13 -03:00
Steven Masley
c795a0e500
feat: Fix Deployment DAUs to work with local timezones ( #7647 )
...
* chore: Add timezone param to DAU SQL query
* Merge DAUs response
* Pass time offsets to metricscache
2023-05-30 13:18:27 -04:00
dependabot[bot]
68658b5197
chore: bump github.com/valyala/fasthttp from 1.44.0 to 1.47.0 ( #7703 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-05-30 11:48:56 -05:00
dependabot[bot]
2aa48d4143
chore: bump crate-ci/typos from 1.14.10 to 1.14.11 ( #7701 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 11:38:33 -05:00
dependabot[bot]
115f80737a
chore: bump github.com/coder/retry ( #7705 )
...
Bumps [github.com/coder/retry](https://github.com/coder/retry ) from 1.3.1-0.20230210155434-e90a2e1e091d to 1.4.0.
- [Commits](https://github.com/coder/retry/commits/v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/coder/retry
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-05-30 11:09:12 -05:00
Bruno Quaresma
c2d2751897
feat(site): Add proxy menu into navbar ( #7715 )
2023-05-30 11:41:23 -03:00
Ammar Bandukwala
e8eb28adb4
chore(.github): remove stalebot messages
2023-05-30 14:10:39 +00:00
Marcin Tojek
702c9081e0
fix: do not skip parameter validation if min or max = 0 ( #7707 )
2023-05-30 14:57:06 +02:00
Marcin Tojek
4eb0baa849
chore: update protoc-gen-go ( #7708 )
2023-05-30 10:24:34 +02:00
Rodrigo Maia
61dc875454
feat(cli): show license_expires as rfc3339 date instead of unix time ( #7687 )
...
* feat(licenses): show license_expires time as rfc3339 date
* fix review comments
2023-05-26 14:36:26 +00:00
Mathias Fredriksson
66f5d39ff5
test(agent): Improve use of inv.Context() ( #7696 )
...
This will ensure tests timeout instead of hang indefinitely since
`inv.Context()` is assigned a timeout by default.
2023-05-26 13:48:39 +00:00
Mathias Fredriksson
05efd64320
test: Skip tests that send os.Interrupt to test pid ( #7695 )
...
This can cause test flakes due to clitest commands running in memory and
listening to interrupt signals.
2023-05-26 16:17:09 +03:00
Cian Johnston
795050bba3
chore: add prometheus monitoring of workspace traffic generation ( #7583 )
...
- Exposes reads/writes from scaletest traffic generation (default: 0.0.0.0:21112)
- Adds self-hosted prometheus with remote_write to loadtest terraform
- Adds convenience script to run a traffic generation test
2023-05-26 13:53:35 +01:00
Mathias Fredriksson
0fd2ea4044
test(coderd/rbac): Increase TestFilter timeout ( #7694 )
2023-05-26 15:44:05 +03:00
Muhammad Atif Ali
e5add7292f
chore: Only run deploy_template after deploy_image has been completed ( #7693 )
2023-05-26 12:20:14 +00:00
Bruno Quaresma
79ab72fbb1
fix(site): Fix retry on debug mode alert ( #7686 )
2023-05-25 17:22:57 -03:00
Kira Pilot
4d4ffa2d99
feat: add expiration indicators to license card ( #7684 )
...
* sorting licenses; add expiration badge
* updated story
2023-05-25 11:37:51 -07:00
Kira Pilot
0c665235ff
feat: add impending deletion banner to workspace page ( #7634 )
...
* add banner to workspace page
* fix prettier and lint
* color-code banner
* using warning instead
* improve prop name for clarity
2023-05-25 10:55:41 -07:00
Marcin Tojek
5d2b2c577b
fix: add mockgen to nix env ( #7682 )
2023-05-25 12:44:32 -04:00
Rodrigo Maia
d9299caa12
feat: order workspaces by running first ( #7656 )
...
* wip
* use updated sql
* wip
* Implement sorting in databasefake.go
* More fixes
* sql fmt
---------
Co-authored-by: Marcin Tojek <marcin@coder.com >
2023-05-25 13:35:47 -03:00
Spike Curtis
96a2e63809
chore: upgrade to golangci-lint 1.52.2 ( #7674 )
...
* Disable ioutilDeprecated lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Upgrade to golangci-lint 1.52.2
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 14:56:31 +04:00
Marcin Tojek
14efdadd3c
feat: Collect agent SSH metrics ( #7584 )
2023-05-25 12:52:36 +02:00
Spike Curtis
05da1e94a2
Fix pubsub goroutines in tests ( #7677 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 14:46:32 +04:00
Spike Curtis
67cc196c92
feat: pubsub reports dropped messages ( #7660 )
...
* Implementation; need linux tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Pubsub with errors tests and fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* Deal with test goroutines
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 06:22:30 +00:00
Spike Curtis
6a1e7ee1d0
feat: add file logger to coder ssh ( #7646 )
...
* coder ssh can log to file
Signed-off-by: Spike Curtis <spike@coder.com >
* Update golden file
Signed-off-by: Spike Curtis <spike@coder.com >
* generate CLI docs
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports, typo
Signed-off-by: Spike Curtis <spike@coder.com >
* log more things!
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 05:07:39 +00:00
Colin Adler
a903d7c249
fix(ci): use env for Go version in release workflow ( #7673 )
2023-05-24 22:52:18 +00:00
Colin Adler
dd69cc9148
fix: use different terraform cache dir ( #7672 )
2023-05-24 22:35:00 +00:00
Colin Adler
5eb41e8794
feat(cli): allow specifying the listen address in coder port-forward ( #7635 )
2023-05-24 15:38:40 -04:00
Ammar Bandukwala
d413b261d8
chore: deduplicate CLI telemetry reports ( #7669 )
2023-05-24 12:45:41 -05:00
Ammar Bandukwala
ec117e841a
chore: add CLI invokation telemetry ( #7589 )
2023-05-24 11:08:03 -05:00
sharkymark
b6604e8845
chore(docs): AWS EKS load balancer setup steps ( #7665 )
2023-05-24 10:19:45 -05:00
goodspark
71c52ea93c
feat: Add logging options for coder agent ( #7474 )
...
Similar to logging options in the coderd server, but for the agent
running in workspaces. Meant to make hollistic log collection and
querying simpler.
2023-05-24 14:32:40 +00:00
Mathias Fredriksson
b6c8e5be48
fix(cli/ssh): Fetch up-to-date build info to avoid ws has no agents ( #7650 )
...
Fixes #5836
2023-05-24 12:37:22 +03:00
Cian Johnston
f47ecc29f0
chore(dogfood): Update sqlc version in dogfood image to match CI ( #7661 )
2023-05-24 09:30:56 +00:00
Colin Adler
0c074742a5
fix(ci): manually select Go version ( #7654 )
2023-05-24 07:47:44 +00:00
Colin Adler
f72d8e95a4
fix(ci): add mockgen to trivy scan ( #7655 )
2023-05-23 17:09:16 -04:00
Colin Adler
02cc325047
chore(mod): symbolically bump tailscale ( #7653 )
2023-05-23 15:20:22 -04:00
dependabot[bot]
8f13c145c4
chore: bump github.com/moby/moby from 20.10.23+incompatible to 24.0.1+incompatible ( #7622 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 19:04:00 +00:00
Colin Adler
c8ea76c7fa
fix(cli): correctly use cache dir for provisionerd work dir ( #7651 )
2023-05-23 13:37:27 -04:00
Bruno Quaresma
ba02dc8f3a
chore(site): Force exact deps ( #7649 )
2023-05-23 07:43:46 -08:00
Steven Masley
d203f5259d
fix: Port forward should ignore coder ports ( #7645 )
...
Ports opened by coder agent should be ignored in the listening ports
map.
2023-05-23 17:14:05 +02:00
Spike Curtis
cd416c86dd
refactor: workspace builds ( #7541 )
...
* refactor workspace builds
Signed-off-by: Spike Curtis <spike@coder.com >
* make gen
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove ParameterResolver from typescript
Signed-off-by: Spike Curtis <spike@coder.com >
* rename conversion -> database/db2sdk
Signed-off-by: Spike Curtis <spike@coder.com >
* tests for db2sdk
Signed-off-by: Spike Curtis <spike@coder.com >
* Tests for ParameterResolver
Signed-off-by: Spike Curtis <spike@coder.com >
* wsbuilder tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Move parameter validation tests to richparameters_test.go
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix CI generation; rename mock->dbmock
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix test imports
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-23 12:06:33 +04:00
Spike Curtis
622456faf8
docs: Add autoscale recommendations docs ( #7617 )
...
* Add autoscale recommendations
Signed-off-by: Spike Curtis <spike@coder.com >
* review updates
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-23 09:22:29 +04:00
Rodrigo Maia
4a320617b4
feat(workspaces): change sorting order of the workspace list ( #7594 )
...
* feat(workspaces): implement sorting order on workspace list
* split slice into its own function and test it
* use require instead of assert
* Update coderd/workspaces_internal_test.go
Co-authored-by: Cian Johnston <cian@coder.com >
* refactor tests into table tests
* fix test
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-05-22 20:51:29 +00:00
Steven Masley
5d711fc95a
chore: CORs option for yarn dev server ( #7630 )
...
* chore: Yarn dev servers require CORs headers for external proxies
Adds a flag to set CORs headers to `*` for yarn dev servers
2023-05-22 20:02:39 +02:00
dependabot[bot]
1f4f0efed6
chore: bump github.com/prometheus/client_golang from 1.14.0 to 1.15.1 ( #7620 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:18:44 -04:00
dependabot[bot]
808e83f87d
chore: bump golang.org/x/tools from 0.6.0 to 0.9.1 ( #7619 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:16:27 -04:00
dependabot[bot]
7d1ca7c12f
chore: bump crate-ci/typos from 1.14.9 to 1.14.10 ( #7618 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:13:03 -04:00
dependabot[bot]
9c923d71ca
chore: bump github.com/hashicorp/terraform-json from 0.14.0 to 0.16.0 ( #7621 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 13:10:11 -04:00
Steven Masley
b8c07ff014
feat: Auto select workspace proxy based on lowest latency ( #7515 )
...
* feat: Proxy auto select and user selection state
* chore: Auto select based on latency
* Add extra test for unknown latencies
* Mock latencies for unit tests
2023-05-22 16:56:41 +02:00
Marcin Tojek
f9a97c25dc
fix: disable TCP SACK ( #7624 )
2023-05-22 13:37:05 +00:00
dependabot[bot]
b38fb90e06
chore: bump @emotion/styled from 11.10.8 to 11.11.0 in /site ( #7561 )
...
Bumps [@emotion/styled](https://github.com/emotion-js/emotion ) from 11.10.8 to 11.11.0.
- [Release notes](https://github.com/emotion-js/emotion/releases )
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md )
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/styled@11.10.8...@emotion/styled@11.11.0 )
---
updated-dependencies:
- dependency-name: "@emotion/styled"
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-05-22 09:23:33 -03:00
dependabot[bot]
1bd3ed9ecd
chore: bump chromatic from 6.15.0 to 6.17.4 in /site ( #7554 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.15.0 to 6.17.4.
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.15.0...v6.17.4 )
---
updated-dependencies:
- dependency-name: chromatic
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>
2023-05-21 13:12:03 -05:00
Muhammad Atif Ali
51130540af
docs: Add steps to migrate from the built-in database to an external database ( #7614 )
2023-05-21 10:31:06 -05:00
Colin Adler
ef2411ef17
fix(provisionersdk): allow .terraform.lock.hcl files to be archived ( #7604 )
2023-05-19 13:22:59 -04:00
Cian Johnston
a29c4c543d
chore(dogfood): fix dogfood image ( #7603 )
...
* chore(dogfood): update keys, add script to do so
* chore(dogfood): fix urls in Dockerfile
* fmt
2023-05-19 15:09:34 +01:00
Muhammad Atif Ali
e375169ac0
chore: remove CPU usage calculation for hosts on cgroup v1 ( #7602 )
2023-05-19 14:08:20 +00:00
Muhammad Atif Ali
ef635f12ea
chore(dogfood): update the dogfood template to add workspace CPU and RAM usage from cgroup ( #7529 )
...
Co-authored-by: Cian Johnston <cian@coder.com >
2023-05-19 15:15:48 +03:00
Colin Adler
dd5b0b2721
fix(scim): ensure scim users aren't created with their own org ( #7595 )
2023-05-18 20:54:45 -04:00
Kira Pilot
0b15b1bcd1
feat: add impending deletion indicators to the workspace page ( #7588 )
...
* created WorkspaceDeletion directory
* remove commented code
* attempting to fix workspace stories
* fix lint
* fix the rest of the stories
* fix right stories
* PR comments
* fix lint
2023-05-18 11:08:55 -07:00
Bruno Quaresma
8e31ed4072
refactor(site): Refactor alerts ( #7587 )
2023-05-18 13:17:16 -03:00
Muhammad Atif Ali
63a9e34381
fix: correct free disk space reported by agent metadata in fly.io example ( #7592 )
2023-05-18 11:42:04 +03:00
Jon Ayers
ec5ef51b49
feat: add session token injection to provisioner ( #7461 )
2023-05-17 23:29:22 -05:00
Jon Ayers
00a2413c03
feat: add telemetry support for workspace agent subsystem ( #7579 )
2023-05-17 22:49:25 -05:00
dependabot[bot]
52bb84a26f
chore: bump google.golang.org/api from 0.108.0 to 0.122.0 ( #7558 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 14:06:17 -04:00
Bruno Quaresma
12f87cb98d
refactor(site): Show update notification as snackbar ( #7546 )
2023-05-17 13:56:26 -03:00
Bruno Quaresma
a7f14f89e3
fix(site): Fix loading buttons ( #7549 )
2023-05-17 13:56:15 -03:00
dependabot[bot]
119098a1eb
chore: bump github.com/coreos/go-oidc/v3 from 3.4.0 to 3.6.0 ( #7553 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 16:29:42 +00:00
Kyle Carberry
6e7175b589
chore: fix lengthy tests in psql ( #7545 )
...
* chore: fix lengthy tests in psql
This was adding at a minimum 3mins to our psql tests!
* fix: automatically cancel tests on cleanup
2023-05-17 11:26:53 -05:00
dependabot[bot]
d1b1122690
chore: bump github.com/gohugoio/hugo from 0.110.0 to 0.111.3 ( #7562 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:14:38 -04:00
dependabot[bot]
bfa136276c
chore: bump crate-ci/typos from 1.14.8 to 1.14.9 ( #7552 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:11:56 -04:00
dependabot[bot]
ce91009d6b
chore: bump beatlabs/delete-old-branches-action from 0.0.9 to 0.0.10 ( #7551 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:11:43 -04:00
Ben Potter
e951778147
fix: indentation in rootless podman docs ( #7577 )
...
* fix: indentation in rootless podman docs
* fmt
2023-05-17 01:26:13 +00:00
Colin Adler
75b0643623
chore: enable dependabot for coder base image ( #7550 )
2023-05-16 19:09:45 +00:00
Colin Adler
e3b324a1a1
chore(dogfood): update dependency versions ( #7548 )
2023-05-16 18:26:06 +00:00
Steve Coder
04f68e8f15
doc:fixed enterprise feature 404s. ( #7547 )
2023-05-16 12:32:54 -05:00
Pfau, Sascha
ad9a29dfa6
feat(site): added URL param name to allow setting workspace name ( #7528 )
...
* feat: added URL param name to allow setting workspace name
* fix: format
---------
Co-authored-by: SaschaPfau <Sascha.Pfau@ilabnordlb.onmicrosoft.com >
2023-05-16 13:26:13 -03:00
Kira Pilot
dca77ba487
feat: add workspaces banner for impending deletion ( #7538 )
...
* feat: add workspaces banner for impending deletion
* added storybook
* remove storybook - cannot add because of hook used in badge component
2023-05-16 07:01:22 -07:00
Marcin Tojek
97b4743a47
Revert "fix: set default sshMaxTimeout to 60s ( #7532 )" ( #7544 )
...
This reverts commit 049e557675 .
2023-05-16 15:28:15 +02:00
Kyle Carberry
c6055c64be
chore: improve input hover color ( #7534 )
2023-05-16 09:00:20 -03:00
dependabot[bot]
a1853f2fa2
chore: bump date-fns from 2.29.3 to 2.30.0 in /site ( #7335 )
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.29.3 to 2.30.0.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/v2.30.0/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.3...v2.30.0 )
---
updated-dependencies:
- dependency-name: date-fns
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-05-15 16:05:52 -03:00
dependabot[bot]
4997b86548
chore: bump eslint-plugin-compat from 4.0.2 to 4.1.4 in /site ( #7339 )
...
Bumps [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat ) from 4.0.2 to 4.1.4.
- [Release notes](https://github.com/amilajack/eslint-plugin-compat/releases )
- [Changelog](https://github.com/amilajack/eslint-plugin-compat/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amilajack/eslint-plugin-compat/compare/v4.0.2...v4.1.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-compat
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>
2023-05-15 15:45:54 -03:00
Ben Potter
78f862eedc
chore: rename "external workspace proxies" and "external provisioners" ( #7454 )
2023-05-15 21:38:49 +03:00
Bruno Quaresma
11b7732720
feat(site): Show confirmation dialog on restart ( #7531 )
2023-05-15 14:43:51 -03:00
Bruno Quaresma
d9fc94f9a9
fix(site): Fix focus state on buttons ( #7526 )
2023-05-15 14:43:16 -03:00
Spike Curtis
0b156420de
Make coder dotfiles symlinking idempotent ( #7525 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-15 21:00:50 +04:00
Kyle Carberry
424f954b91
fix: use password style for session token auth ( #7533 )
2023-05-15 11:27:39 -05:00
Ben Potter
2aea5b76aa
docs: parameters are not alpha ( #7487 )
2023-05-15 16:14:59 +00:00
Bruno Quaresma
6f62204d38
feat(site): Add template embed page ( #7501 )
2023-05-15 13:07:39 -03:00
Marcin Tojek
049e557675
fix: set default sshMaxTimeout to 60s ( #7532 )
...
* fix: set default sshMaxTimeout to 60s
* fix
2023-05-15 10:40:19 -05:00
Kira Pilot
224d25d4e1
feat: add 'impending deletion' badges to workspaces page ( #7530 )
...
* update deleting logic
* added status badge on workspaces page
* licensing and feature flagging
* preset filter for failed workspaces
* remove comment
* PR feedback
* Revert "PR feedback"
This reverts commit 2dfbb50acd .
* PR feedback 2
2023-05-15 07:59:17 -07:00
Cian Johnston
854e974bb4
chore: add terraform for spinning up load test cluster ( #7504 )
...
Adds terraform configs for spinning up loadtest environments
2023-05-15 15:56:47 +01:00
Bruno Quaresma
dab1d1fe20
fix(site): Fix terminal elements size ( #7527 )
2023-05-15 10:48:41 -03:00
Marcin Tojek
87784493e8
fix: use mtojek/gvisor to tweak RTO ( #7500 )
...
* fix: use mtojek/gvisor to tweak RTO
* fix
2023-05-15 09:12:45 +02:00
Kyle Carberry
a08e8a16ab
chore: switch make test to use the standard go format ( #7519 )
...
I find it easier to read.
2023-05-14 21:20:19 -05:00
Kyle Carberry
70d2203b9e
chore: reduce the log output of skipped tests ( #7520 )
...
With the introduction of the workspace proxy tests there was a lot
of output if a test was eventually skipped.
2023-05-14 19:37:00 -05:00
Ammar Bandukwala
9bb0253290
chore: update various dependencies ( #7503 )
...
This will help us pass the security scanners.
2023-05-14 20:37:50 +00:00
Kyle Carberry
26490aecca
chore: improve postgres test time by removing cleanup ( #7522 )
...
We don't need to delete databases on cleanup... and we don't need to
always run without a cache either!
2023-05-14 15:32:44 -05:00
Kyle Carberry
778cb7494a
chore: adjust the style and wording of the license page ( #7396 )
...
- Reduce the size of the card to improve the use of space
- Adjust the language of the add page to remove word redundancy
- Change from using background colors to text colors
2023-05-14 15:31:54 -05:00
Kyle Carberry
8e1da5e628
chore: run yarn-deduplicate to speed up yarn install ( #7523 )
2023-05-14 15:28:07 -05:00
Ammar Bandukwala
f05f12231d
feat: update slog to use logfmt ( #7477 )
2023-05-14 20:23:13 +00:00
Ammar Bandukwala
0f4717e471
hotfix(.github): only push dogfood template when /dogfood changes
2023-05-14 20:13:37 +00:00
Kyle Carberry
50f2d0c7e9
fix: add a mutex around reading logs from scaletests ( #7521 )
2023-05-14 12:16:00 -05:00
Ammar Bandukwala
fcde77b35f
chore(.github): only deploy dogfood on main ( #7518 )
2023-05-14 11:32:22 -05:00
Ben Potter
6bb4a4c3c5
chore: add latest dogfood template ( #7321 )
...
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-05-13 15:42:10 +03:00
Muhammad Atif Ali
8d4a8fde66
docs: add instructions for connecting via RDP ( #7510 )
2023-05-12 11:41:10 -05:00
Marcin Tojek
cd38cb8290
feat: Add template version warnings ( #7483 )
2023-05-12 09:21:49 +00:00
Steven Masley
8f768f8276
feat: Workspace Proxy picker show latency to each proxy ( #7486 )
...
* chore: Add cors to workspace proxies to allow for latency checks
* Add latency check to wsproxy
Use performance API timings.
- Fix cors and timing headers
- Accept custom headers
2023-05-11 15:42:30 -05:00
Ammar Bandukwala
640fcf450c
chore: improve terraform install performance ( #7478 )
2023-05-11 19:30:51 +00:00
Eric Paulsen
0e6361383c
fix(helm): change proxy to wsproxy ( #7499 )
2023-05-11 17:55:04 +00:00
Kira Pilot
ae3473dc1b
feat: add deleted_at field to workspace model ( #7475 )
...
* added impending_deletion workspace field
* gen docs
* update golden files
* added test
* PR comments
2023-05-11 08:47:53 -07:00
Eric Paulsen
fe0e94ece9
docs: add docs for disabling email/pass auth ( #7494 )
2023-05-11 10:09:14 -05:00
Ben Potter
892bddfb7b
fix: scroll to reveal template create errors ( #7464 )
...
Co-authored-by: Kira Pilot <kira@coder.com >
2023-05-11 14:47:51 +03:00
Steven Masley
b7f4f3a771
chore: Implement workspace proxy going away (graceful shutdown) ( #7459 )
...
* chore: Implement workspace proxy going away
When a workspace proxy shuts down, the health status of that
proxy should immediately be updated. This is purely a courtesy
and technically not required
2023-05-10 19:23:16 -05:00
Kira Pilot
a42a36a474
feat: add workspace actions cleanup configuration flags to CLI template create and edit ( #7453 )
...
* added cleanup flags on template create
* added cleanup flags on template edit
* fixed tests
* added to tests
2023-05-10 12:57:11 -07:00
Bruno Quaresma
816c37dd0d
chore(site): Upgrade to MUI v5 ( #7437 )
2023-05-10 19:42:40 +00:00
Steven Masley
fb86ac2608
chore: If selecting an unhealthy proxy, default to primary ( #7472 )
...
* chore: If selecting an unhealthy proxy, default to primary
2023-05-10 13:10:06 -05:00
Steven Masley
3f9af6f5e7
chore: Allow cors requests to workspace proxies for latency checks ( #7484 )
...
* CSP addition for web requests
* chore: Add cors to workspace proxies to allow for latency checks
2023-05-10 17:19:55 +00:00
Muhammad Atif Ali
d17ea84b4a
docs: change --ttl to --default-ttl ( #7479 )
2023-05-10 07:03:50 -05:00
Spike Curtis
d35a458767
feat: Windows on Azure example template ( #7469 )
...
* WIP Azure template for windows machine
Signed-off-by: Spike Curtis <spike@coder.com >
* WIP windows uses data disk
Signed-off-by: Spike Curtis <spike@coder.com >
* Data drive working
Signed-off-by: Spike Curtis <spike@coder.com >
* Add az cli commands to start & stop
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove commented line
Signed-off-by: Spike Curtis <spike@coder.com >
* Prettierify
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-10 05:56:19 +00:00
Steven Masley
b5ad628460
chore: Allow editing proxy fields via api. ( #7435 )
...
* chore: Add ability to update workspace proxy fields
2023-05-09 13:46:50 -05:00
Steven Masley
fc1bc374cb
chore: Drop application host call, default to regions for info ( #7457 )
...
* chore: Drop application host call, default to regions for info
2023-05-09 09:28:25 -05:00
Ben Potter
2d62cbc83a
chore: minor change to workspace actions copy ( #7458 )
2023-05-09 08:31:07 -05:00
Eric Paulsen
503e94a5c2
docs: fix proxy cmd ref ( #7460 )
2023-05-08 19:22:35 -04:00
Kira Pilot
0755ff32ef
label change ( #7455 )
2023-05-08 16:13:14 -03:00
Steven Masley
1aac8200fa
chore: Fix column name in proxy ls command ( #7450 )
2023-05-08 12:23:12 -05:00
Ben Potter
3931a6c7bc
fix: accurate list of experiments in docs ( #7449 )
2023-05-08 14:58:07 +00:00
Steven Masley
c3e60dcdfb
chore: Fix proxy description wording on workspace proxy page ( #7448 )
2023-05-08 14:41:14 +00:00
Ben Potter
8f9a3ea1a7
docs: add docs for selecting a proxy ( #7444 )
2023-05-08 14:37:56 +00:00
Ammar Bandukwala
8899dd89ca
chore: add global caching to rbac ( #7439 )
...
Co-authored-by: Steven Masley <stevenmasley@coder.com >
2023-05-08 08:59:01 -05:00
Bruno Quaresma
643a9efea9
chore(site): Add type checking ( #7441 )
2023-05-05 18:46:51 -03:00
Steven Masley
52d2bc930b
chore: Make better error message if missing license ( #7440 )
...
* chore: Make better error message if missing license
* Change word to proxies
2023-05-05 14:22:56 -05:00
Steven Masley
07608fc3fb
chore: fix proxy 404 page ( #7421 )
...
* chore: fix proxy 404 page
---------
Co-authored-by: Kyle Carberry <kyle@coder.com >
2023-05-05 13:53:19 -05:00
Steven Masley
2624ee8f12
chore: Remove extra opt and fix 'proxy' alias ( #7413 )
...
* chore: Remove extra opt and fix 'proxy' alias
* proxy -> wsproxy
2023-05-05 13:09:04 -05:00
Bruno Quaresma
ec11405208
chore(site): Remove dead code ( #7436 )
2023-05-05 16:30:08 +00:00
Spike Curtis
dc3d39baf8
fix: agent disconnects from coordinator ( #7430 )
...
* work around websocket deadline bug
Signed-off-by: Spike Curtis <spike@coder.com >
* Use test context to hold websocket open
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix race creating test websocket
Signed-off-by: Spike Curtis <spike@coder.com >
* set write deadline to time.Time zero
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-05 20:29:03 +04:00
Kira Pilot
5ffa6dae50
feat: add inactivity cleanup and failure cleanup configuration fields to Template Schedule Form ( #7402 )
...
* added workspace actions entitlement
* added workspace actions experiment
* added new route for template enterprise meta
* removing new route; repurposing old
* add new fields to get endpoints
* removed workspace actions experiment
* added logic to enterprise template store
* added new form fields
* feature flagged new fields
* fix validation
* fixed submit btn
* fix tests
* changed ttl defaults
* added FE tests
* added BE tests
* fixed lint
* adjusted comment language
* fixing unstaged changes check
* fix test
* Update coderd/database/migrations/000122_add_template_cleanup_ttls.down.sql
Co-authored-by: Dean Sheather <dean@deansheather.com >
* Update coderd/database/migrations/000122_add_template_cleanup_ttls.up.sql
Co-authored-by: Dean Sheather <dean@deansheather.com >
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-05-05 08:19:26 -07:00
Bruno Quaresma
3632ac8c01
refactor(site): Update workspace header ( #7433 )
2023-05-05 15:02:21 +00:00
Cian Johnston
7f02fa696a
chore(docs): update openshift documentation re psp ( #7432 )
2023-05-05 13:00:07 +01:00
Cian Johnston
08fb9a6f1b
feat(cli): add trafficgen command for load testing ( #7307 )
...
This PR adds a scaletest workspace-traffic command for load testing. This opens a
ReconnectingPTY connection to each scaletest workspace (via coderd) and
concurrently writes and reads random data to/from the PTY. Payloads are of the
form #${RANDOM_ALPHANUMERIC_STRING}, which essentially drops garbage
comments in the remote shell, and should not result in any commands being executed.
2023-05-05 10:34:58 +01:00
Cian Johnston
a172e073e3
chore(ci): update golden files ( #7431 )
2023-05-05 09:05:45 +00:00
Spike Curtis
a6a44896bf
fix: pubsub ordering ( #7404 )
...
* fix: pubsub sends messages in order
Signed-off-by: Spike Curtis <spike@coder.com >
* Drop messages rather than block
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-05 09:39:07 +04:00
Dean Sheather
667d9a7557
chore: add workspaceProxy to helm chart ( #7398 )
2023-05-05 07:07:49 +10:00
Bruno Quaresma
164146c462
feat(site): Show update confirmation dialog ( #7420 )
2023-05-04 15:40:41 -03:00
Steven Masley
6d24f7c894
feat: Add documentation for workspace proxy creation ( #7377 )
...
* feat: Add documentation for workspace proxy creation
2023-05-04 13:30:06 -05:00
Bruno Quaresma
8909110f58
fix(site): Fix template icon field validation ( #7394 )
2023-05-04 14:30:48 -03:00
Jon Ayers
614bdfbf3c
fix: update envbox template to use hostname ( #7417 )
2023-05-04 12:21:20 -05:00
Kyle Carberry
11ac3be4d8
fix: redirect to login on gitauth invalid session ( #7416 )
2023-05-04 17:19:44 +00:00
Steven Masley
9908c84b2a
test: Return early and avoid using nil handler ( #7411 )
...
* test: Return early and avoid using nil handler
2023-05-04 11:14:53 -05:00
Cian Johnston
b4d913e24f
fix(helm): explode verbs instead of wildcarding ( #7405 )
...
Updates the Helm chart role specification for Coder to explicitly list required verbs instead of requesting wildcard.
2023-05-04 10:45:51 +00:00
Spike Curtis
b3689c8f64
Only send tailnet nodes updates with preferred DERP ( #7387 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-04 14:30:57 +04:00
Colin Adler
4e52112112
fix: template versions test flake ( #7400 )
2023-05-03 20:19:49 -05:00
Colin Adler
8bd9f9c351
feat: unified tracing between coderd<->provisionerd ( #7370 )
2023-05-03 23:02:35 +00:00
Steven Masley
3368b8b65f
chore: Minor rbac memory optimization ( #7391 )
...
* test: Add benchmark for static rbac roles
* static roles should only be allocated once
* A unit test that modifies the ast value should not mess with the globals
* Cache subject AST values to avoid reallocating slices
2023-05-03 14:42:24 -05:00
Kira Pilot
2e9310b203
chore: add workspace actions entitlement and experiment ( #7361 )
...
* added workspace actions entitlement
* added workspace actions experiment
2023-05-03 11:34:43 -07:00
Dean Sheather
5961cf900d
chore: bump terraform from 1.3.4-r3 to r4 in image ( #7393 )
...
Looks like 1.3.4-r3 isn't available anymore, and 1.3.4-r4 is available
instead.
2023-05-03 18:21:11 +00:00
Bruno Quaresma
2ea438cf4f
refactor(site): Show immutable parameters in the settings ( #7383 )
2023-05-03 14:40:47 -03:00
Steven Masley
434c4be9f1
chore: Add listing proxies to cli 'coder proxy ls' ( #7376 )
...
* feat: Add listing proxies to cli 'coder proxy ls'
* Add unit test
* Ignore errors
* Make gen and update golden files
* Update golden files
2023-05-03 10:12:56 -05:00
Kyle Carberry
90c57a538c
fix: make telemetry source a string not an enum ( #7390 )
2023-05-03 14:33:51 +00:00
Spike Curtis
9c030a8888
fix: pty.Start respects context on Windows too ( #7373 )
...
* fix: pty.Start respects context on Windows too
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix windows imports; rename ToExec -> AsExec
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix import in windows test
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-03 11:43:05 +04:00
Bruno Quaresma
e6931d6920
refactor(site): Remove optimistic workspace action ( #7385 )
2023-05-02 18:38:53 -03:00
Steven Masley
dd67283323
chore: Adjust wording to mention only browser connections ( #7384 )
2023-05-02 13:39:23 -05:00
Bruno Quaresma
730039f35f
feat(site): Show warning if startup script is running ( #7326 )
2023-05-02 14:49:16 -03:00
Colin Adler
75ad72de56
fix(server): prevent otel tracer provider from immediately being closed ( #7369 )
2023-05-02 12:06:58 -05:00
Spike Curtis
bd630113b2
fix: coordinator node update race ( #7345 )
...
* fix: coordinator node update race
Signed-off-by: Spike Curtis <spike@coder.com >
* Lint fixes, make core private
Signed-off-by: Spike Curtis <spike@coder.com >
* Don't log broken connections as errors
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-02 20:58:21 +04:00
Bruno Quaresma
0e78d0a502
fix(site): Remove extra spacing between ssh button ( #7380 )
2023-05-02 13:54:52 -03:00
dependabot[bot]
6dfce5a2c9
chore: bump jest-runner-eslint from 1.1.0 to 2.0.0 in /site ( #7343 )
...
Bumps [jest-runner-eslint](https://github.com/jest-community/jest-runner-eslint ) from 1.1.0 to 2.0.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.1.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: jest-runner-eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 09:56:58 -05:00
Muhammad Atif Ali
f5ce911b8d
docs: make use of display_name and name in Open with Coder ( #7372 )
...
This PR removed the spaces from `name` and makes it equal to the resource name as we now have a sperate field `display_name` https://github.com/coder/coder/pull/6919
The docs references https://github.com/bpmct/coder-templates/tree/main/kubernetes-open-in-coder example which does not yet makes use of `display name` and needs updating.
2023-05-02 09:51:50 -05:00
Steven Masley
a1db82582f
chore: Dynamic CSP connect-src to support terminals connecting to workspace proxies ( #7352 )
...
* chore: Expose proxy hostnames to csp header
2023-05-02 08:30:44 -05:00
Ammar Bandukwala
465fe8658d
chore: skip timing-sensistive AgentMetadata test in the standard suite ( #7237 )
...
* chore: skip timing-sensistive AgentMetadata test in the standard suite
* Add test-timing target
* fix windows?
* Works on my Windows desktop?
* Use tag system
* fixup! Use tag system
2023-05-02 10:41:41 +00:00
Dean Sheather
398d08a0cf
chore: fix ci.yaml deploy step for other regions 2 ( #7368 )
2023-05-02 01:34:21 +00:00
Dean Sheather
41726a785e
chore: fix ci.yaml deploy step for other regions ( #7367 )
2023-05-02 01:00:55 +00:00
Dean Sheather
140637448c
chore: fix nfpm.yaml ( #7366 )
2023-05-01 22:44:11 +00:00
Dean Sheather
3b15234660
chore: add continuous deployment for workspace proxies ( #7364 )
2023-05-02 08:02:51 +10:00
Ammar Bandukwala
4b9621f9ae
fix(coderd): don't hang on first gitauth clone ( #7331 )
...
Previously, the `coder git ssh` command would hang on the API, which was endlessly polling the database for oauth tokens that expire in the future.
Some oAuth implementations (including GitHub by default) will not give back a token expiry date, and the absence of such a date was represented as a zero data in the database as opposed to a null value.
Follow-up calls to `git clone` would succeed because this hot path doesn't check expiry, perhaps originally by mistake.
In addition to fixing the zero date issue, this PR removes all gitauth PubSub, which added too much complexity when the polling interval is 1 second.
2023-05-01 19:19:41 +00:00
Steven Masley
55824986bc
chore: 404 Requests to workspace proxy direct back to the primary ( #7353 )
...
* chore: 404 Requests to workspace proxy direct back to the primary
* Remove unnecessary sprintf
2023-05-01 13:58:36 -05:00
dependabot[bot]
04f9ca824f
chore: bump golang.org/x/mod from 0.8.0 to 0.10.0 ( #7338 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 16:51:28 +00:00
dependabot[bot]
6030847c94
chore: bump golang.org/x/crypto from 0.7.0 to 0.8.0 ( #7336 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 11:39:40 -05:00
dependabot[bot]
4dec828c88
chore: bump tj-actions/branch-names from 6.4 to 6.5 ( #7334 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 16:26:52 +00:00
dependabot[bot]
38fd4c0820
chore: bump gopkg.in/natefinch/lumberjack.v2 from 2.0.0 to 2.2.1 ( #7337 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 11:15:38 -05:00
dependabot[bot]
0bf00d6122
chore: bump aquasecurity/trivy-action from 0.9.2 to 0.10.0 ( #7333 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 11:15:09 -05:00
dependabot[bot]
a3f3d7e682
chore: bump github.com/hashicorp/hc-install from 0.4.1-0.20220912074615-4487b02cbcbb to 0.5.1 ( #7342 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 16:14:43 +00:00
dependabot[bot]
97c8bb5c1d
chore: bump crate-ci/typos from 1.14.3 to 1.14.8 ( #7332 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 11:14:15 -05:00
Steven Masley
079d2821f5
chore: Set proxy health checks to 1 minute intervals ( #7351 )
2023-05-01 16:06:29 +00:00
Rodrigo Maia
d3a9d7c497
chore: minor tweaks to license ui ( #7314 )
...
* chore: minor tweaks to license ui
* minor license ui tweaks
* rename stories
2023-04-28 21:49:54 +00:00
Steven Masley
4a9d1c16c7
chore: UI/UX for regions ( #7283 )
...
* chore: Allow regular users to query for all workspaces
* FE to add workspace proxy options to account settings
* WorkspaceProxy context syncs with coderd on region responses
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-04-28 16:04:52 -05:00
Colin Adler
c00f5e499a
fix(server): retry initial connection to postgres ( #7325 )
2023-04-28 13:51:31 -05:00
Kira Pilot
a2ff674158
fix(UI): workspace restart button stops build before starting a new one ( #7301 )
...
* feat(UI): add workspace restart button (#7137 )
* Refactor primary buttons
* refactor(site): Always show the main actions
* Remove tests that are testes on Storybook
* Fix tests
* Fix keys
* added restart btn
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
* added restart hook
* added error handling
* going back to chaining in success callback
* add restarting btn
* added test
* PR feedback
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-04-28 11:16:04 -07:00
Eric Paulsen
3078cd3d98
fix: envbox template 404 ( #7324 )
2023-04-28 12:49:26 -05:00
Ben Potter
8d1f163cae
chore: remove login_before_ready from example templates ( #7322 )
2023-04-28 14:59:50 +00:00
Bruno Quaresma
88c362dfdc
refactor(site): Refactor error state ( #7313 )
2023-04-28 13:03:01 +00:00
Marley
e747aad2b6
docs: added additional documentation for azure devops git provider ( #6923 )
...
Co-authored-by: Ben Potter <me@bpmct.net >
Co-authored-by: Atif Ali <matifali@live.com >
2023-04-28 11:41:47 +00:00
Colin Adler
59efa4a528
fix(audit): ensure template creation errors are audited ( #7315 )
2023-04-27 18:55:34 -05:00
Marcin Tojek
77d9937dc4
fix: vite fatals on receiving HTTP4xx ( #7306 )
...
* fix: vite fatals on receiving HTTP4xx
* tune Vite
* fmt
* rewrite
* fmt
2023-04-27 19:04:24 +02:00
Eric Paulsen
ed1b33acd6
docs: clarify quota allocation ( #7310 )
2023-04-27 16:51:05 +00:00
Ben Potter
fe323a159e
fix: keep "workspace create" form when rendering errors ( #7289 )
...
* fix: keep "workspace create" form when rendering errors
* fmt
* scroll to top if errors are present
2023-04-27 16:31:42 +00:00
Marcin Tojek
bb0a38b161
feat: Implement aggregator for agent metrics ( #7259 )
2023-04-27 12:34:00 +02:00
Spike Curtis
b6666cf1cf
chore: tailnet debug logging ( #7260 )
...
* Enable discovery (disco) debug
Signed-off-by: Spike Curtis <spike@coder.com >
* Better debug on reconnectingPTY
Signed-off-by: Spike Curtis <spike@coder.com >
* Agent logging in appstest
Signed-off-by: Spike Curtis <spike@coder.com >
* More reconnectingPTY logging
Signed-off-by: Spike Curtis <spike@coder.com >
* Add logging to coordinator
Signed-off-by: Spike Curtis <spike@coder.com >
* Update agent/agent.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Update agent/agent.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Update agent/agent.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Update agent/agent.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Clarify logs; remove unrelated changes
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-04-27 13:59:01 +04:00
winter0mute
7aa07cfc8d
docs: Fix relay link in HA doc ( #7159 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2023-04-27 08:25:15 +00:00
Jon Ayers
f1763f2aa5
chore: add envbox documentation ( #7198 )
2023-04-26 16:42:33 -05:00
Rodrigo Maia
87b7537878
feat: add license settings UI ( #7210 )
...
* wip: license page
* WIP
* WIP
* wip
* wip
* wip
* wip
* wip
* wip
* Apply suggestions from code review
Co-authored-by: Ben Potter <ben@coder.com >
* wip: ui improvements
* wip: extract components
* wip: stories
* wip: stories
* fixes from PR reviews
* fix stories
* fix empty license page
* fix copy
* fix
* wip
* add golang test
---------
Co-authored-by: Ben Potter <ben@coder.com >
2023-04-26 17:47:46 -03:00
Rodrigo Maia
c3fe2515a7
feat: add license expiration warning ( #7264 )
...
* wip: add expiration warning
* Use GraceAt
* show expiration warning for trial accounts
* fix test
* only show license banner for users with deployment permission
---------
Co-authored-by: Marcin Tojek <marcin@coder.com >
2023-04-26 16:39:39 -03:00
Colin Adler
3eb7f06bf1
feat(agent): add http debug routes for magicsock ( #7287 )
2023-04-26 13:01:49 -05:00
Ben Potter
272573e9f0
chore: change some wording in the dashboard ( #7293 )
2023-04-26 11:34:17 -05:00
Bruno Quaresma
0e469031b8
fix(site): Fix secondary buttons with popovers ( #7296 )
2023-04-26 15:33:23 +00:00
Bruno Quaresma
218d6a92d4
docs(site): Mention template editor in template edit docs ( #7261 )
2023-04-26 12:11:12 +00:00
Spike Curtis
29cbc5404a
Reconnecting PTY waits for command output or EOF ( #7279 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-04-26 09:02:06 +04:00
Dean Sheather
f1dfeb03db
chore: fix flake in apptest reconnecting-pty test ( #7281 )
2023-04-26 00:31:41 +00:00
Bruno Quaresma
35b3ed255c
fix(site): Fix default value for options ( #7265 )
2023-04-25 17:26:42 -03:00
Bruno Quaresma
1134e78b7b
fix(site): Do not show template params if there is no param to be displayed ( #7263 )
2023-04-25 19:54:33 +00:00
Cian Johnston
9afad8241b
chore: add security advisories to docs ( #7282 )
...
* chore: add security advisories to docs
* Update docs/security/0001_user_apikeys_invalidation.md
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
---------
Co-authored-by: Ammar Bandukwala <ammar@ammar.io >
2023-04-25 16:56:09 +01:00
Colin Adler
b62b6af0eb
fix(healthcheck): don't allow panics to exit coderd ( #7276 )
2023-04-25 15:11:45 +00:00
Dean Sheather
a98341612c
feat: add regions endpoint for proxies feature ( #7277 )
...
* feat: add regions endpoint for proxies feature
2023-04-25 09:37:52 -05:00
Spike Curtis
6e8ff2d95c
Fix macOS pty race with dropped output ( #7278 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2023-04-25 12:32:28 +04:00
Colin Adler
e2d8bda246
chore(dogfood): remove unnecessary docker host replace ( #7269 )
2023-04-25 04:58:09 +00:00
Cian Johnston
8fc8559076
fix(coderd): ensure that user API keys are deleted when a user is ( #7270 )
...
Fixes an issue where API tokens belonging to a deleted user were
not invalidated:
- Adds a trigger to delete rows from the api_key stable when the
column deleted is set to true in the users table.
- Adds a trigger to the api_keys table to ensure that new rows
may not be added where user_id corresponds to a deleted user.
- Adds a migration to delete all API keys from deleted users.
- Adds tests + dbfake implementation for the above.
2023-04-24 21:48:26 +01:00
Bruno Quaresma
ad82a60806
refactor(site): Group app and agent actions together ( #7267 )
2023-04-24 16:59:52 -03:00
Kira Pilot
96a12d17ef
Revert "feat(UI): add workspace restart button ( #7137 )" ( #7268 )
...
This reverts commit 9ec16d4454 .
2023-04-24 12:44:22 -07:00
Steven Masley
3129741e08
chore: Proxy health status checks + endpoint ( #7233 )
...
* chore: Implement workspace proxy health check cron
At a given interval will check the reachability of workspace proxies.
* Proxyhealth is an enterprise feature
* Start proxyhealth go routine on enterprise coder
2023-04-24 10:25:35 -05:00
Nathanial Spearing
63e68c11d1
feat(community-templates): Added vscode-server-template ( #7219 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-04-24 15:22:18 +03:00
Spike Curtis
daee91c6dc
refactor: PTY & SSH ( #7100 )
...
* Add ssh tests for longoutput, orphan
Signed-off-by: Spike Curtis <spike@coder.com >
* PTY/SSH tests & improvements
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix some tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix linting
Signed-off-by: Spike Curtis <spike@coder.com >
* fmt
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix windows test
Signed-off-by: Spike Curtis <spike@coder.com >
* Windows copy test
Signed-off-by: Spike Curtis <spike@coder.com >
* WIP Windows pty handling
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix truncation tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Appease linter/fmt
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix typo
Signed-off-by: Spike Curtis <spike@coder.com >
* Rework truncation test to not assume OS buffers
Signed-off-by: Spike Curtis <spike@coder.com >
* Disable orphan test on Windows --- uses sh
Signed-off-by: Spike Curtis <spike@coder.com >
* agent_test running SSH in pty use ptytest.Start
Signed-off-by: Spike Curtis <spike@coder.com >
* More detail about closing pseudoconsole on windows
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review fixes
Signed-off-by: Spike Curtis <spike@coder.com >
* Rearrange ptytest method order
Signed-off-by: Spike Curtis <spike@coder.com >
* Protect pty.Resize on windows from races
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix windows bugs
Signed-off-by: Spike Curtis <spike@coder.com >
* PTY doesn't extend PTYCmd
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix windows types
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-04-24 14:53:57 +04:00
Marcin Tojek
c000f2ec28
fix: coder_parameter fallbacks to default ( #7240 )
2023-04-24 09:51:34 +02:00
sharkymark
ab077d1f15
docs: fixed broken podman template link and added already-installed ide gateway doc ( #6352 )
...
Co-authored-by: Eric Paulsen <ericpaulsen@coder.com >
2023-04-21 20:43:19 +00:00
Mathias Fredriksson
712098fa2b
test(agent): Increase the time to wait for agent reachable ( #7245 )
2023-04-21 19:40:17 +00:00
Colin Adler
501dfeedf7
fix: invalid version for github.com/coder/ssh ( #7250 )
2023-04-21 18:10:35 +00:00
Colin Adler
1fc32b1c3d
ci: disable caching in setup/go action ( #7251 )
2023-04-21 13:01:42 -05:00
Kyle Carberry
fd84df769d
fix: add DISPLAY env var for X11 connections ( #7248 )
...
* fix: add `DISPLAY` env var for X11 connections
* Update agent/agentssh/agentssh.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-04-21 16:43:49 +00:00
Mathias Fredriksson
f9da2631e9
test(cli): Fix portforward test timeouts ( #7241 )
2023-04-21 11:40:31 -05:00
Kyle Carberry
f39e6a79de
feat: add support for X11 forwarding ( #7205 )
...
* feat: add support for X11 forwarding
* Only run X forwarding on Linux
* Fix piping
* Fix comments
2023-04-21 15:52:40 +00:00
Mathias Fredriksson
6f06f8dadb
test: Fix test timeouts due to contexts created too early ( #7242 )
2023-04-21 17:32:25 +03:00
Mathias Fredriksson
ea78ca5dff
test(coderd/workspaceapps): Fix incorrect use of testing.T ( #7243 )
2023-04-21 17:32:10 +03:00
Dean Sheather
3680e158d9
chore: fix lint in main caused by incompatible merge ( #7239 )
2023-04-21 10:27:56 +00:00
Steven Masley
4353ad7940
chore: Remove url and wildcard url from moon create ( #7224 )
...
* chore: Remove url and wildcard url from moon create
2023-04-20 21:09:14 -05:00
Dean Sheather
68667323f3
chore: support signed token query param for web terminal ( #7197 )
...
* chore: add endpoint to get token for web terminal
* chore: support signed token query param for web terminal
2023-04-20 23:59:45 +00:00
Colin Adler
ac3c530283
fix(cli/clitest): race between Start/StartWithWaiter cleanup order ( #7232 )
2023-04-20 23:41:56 +00:00
Colin Adler
745868fd8a
revert: chore: upgrade tailscale ( #7236 )
2023-04-20 17:58:22 -05:00
Mathias Fredriksson
300ae4a6bf
test(agent): Fix TestAgent_UnixRemoteForwarding timeout ( #7235 )
2023-04-21 01:35:51 +03:00
Mathias Fredriksson
38a6d546ab
fix(enterprise/replicasync): Avoid deadlock during Close^2 ( #7230 )
2023-04-20 22:48:44 +03:00
Colin Adler
34c6ad671c
fix(clitest): use separate channel when waiting for exit ( #7231 )
2023-04-20 14:37:44 -05:00
Mathias Fredriksson
ad0070354f
test: Fix generated workspace name length ( #7228 )
2023-04-20 18:40:36 +00:00
Bruno Quaresma
d8eda97dbe
refactor(site): Redesign the agent row ( #7226 )
2023-04-20 18:37:10 +00:00
Colin Adler
a86830a283
chore: upgrade tailscale ( #7207 )
2023-04-20 13:29:56 -05:00
Kira Pilot
e2a7448cc8
fix: allow update of empty template description ( #7225 )
2023-04-20 10:59:57 -07:00
Colin Adler
ea27129348
chore: upgrade github.com/open-policy-agent/opa ( #7204 )
2023-04-20 12:50:21 -05:00
Bruno Quaresma
e90a076fad
fix(site): Fix websocket connections ( #7187 )
2023-04-20 17:01:08 +00:00
Steven Masley
7fa1112958
chore: Enforce workspace proxy unique name case insensitive ( #7202 )
...
* chore: Enforce workspace proxy unique name case insensitive
2023-04-20 11:30:52 -05:00
Bruno Quaresma
9abfe97dcc
Revert "fix(site): Fix update when missing parameters ( #7221 )" ( #7223 )
...
This reverts commit 7d9a7636e9 .
2023-04-20 12:40:31 -03:00
Steven Masley
a5a5c4d400
chore: Add workspace proxy enterprise cli commands ( #7176 )
...
* feat: Add workspace proxy enterprise cli commands
* chore: Handle custom workspace proxy options. Remove excess
* chore: Add endpoint to register workspace proxies
2023-04-20 09:48:47 -05:00
Muhammad Atif Ali
8926c10b7d
chore: remove disk metadata from Kubernetes examples ( #7215 )
2023-04-20 09:42:35 -05:00
Bruno Quaresma
7d9a7636e9
fix(site): Fix update when missing parameters ( #7221 )
2023-04-20 09:32:20 -05:00
Bruno Quaresma
93d0956465
chore(site): Upgrade Vite to 4.3 ( #7222 )
2023-04-20 14:28:56 +00:00
Mathias Fredriksson
8d27978760
fix(enterprise/replicasync): Avoid deadlock during Close ( #7220 )
2023-04-20 15:37:30 +03:00
Dean Sheather
528a0686c0
chore: fix deadlock in dbfake and incorrect lock types ( #7218 )
...
I manually went through every single dbfake function and ensured it has
the correct lock type depending on whether it writes or only reads.
There were a surprising amount of methods that had the wrong lock type
(Lock when only reading, or RLock when writing (!!!)).
This also manually fixes every method that acquires a RLock and then
calls a method that also acquires it's own RLock to use noLock methods
instead. You cannot rely on acquiring a RLock twice in the same
goroutine as RWMutex prioritizes any waiting Lock calls.
I tried writing a ruleguard rule for this but because of limitations in
ruleguard it doesn't seem possible.
2023-04-20 21:53:34 +10:00
Colin Adler
5f5edb18b0
chore(healthcheck): fix DERP test flakes ( #7211 )
2023-04-19 20:03:05 -05:00
Colin Adler
f60b5579a7
chore: remove usage of k8s.io/utils/pointer ( #7209 )
2023-04-19 15:53:47 -05:00
Mathias Fredriksson
c2871e12aa
fix(cli/ssh): Avoid connection hang when workspace is stopped ( #7201 )
...
* fix(cli/ssh): Avoid connection hang when workspace is stopped
Two issues are addressed here:
1. We were not detecting disconnects due to waiting for Stdin to close
(disconnect would only propagate after entering input and failing to
write to the connection).
2. In other scenarios, where the connection drop is not detected, we now
also watch workspace status and drop the connection when a workspace
reaches the stopped state.
Fixes: https://github.com/coder/jetbrains-coder/issues/199
Refs: #6180 , #6175
2023-04-19 21:32:28 +03:00
Marc
fff2b1dc90
fix(cli): Fix postgres TDE failing version check ( #7203 )
2023-04-19 11:59:56 -05:00
Ammar Bandukwala
2b9d12828a
cli: add --debug-http flag ( #7192 )
...
This makes it easier to help debug client issues.
2023-04-19 11:07:53 -05:00
Marcin Tojek
f94ac55f02
feat(agent): Expose magicsock metrics ( #7183 )
...
* feat: Expose magicsock metrics
* golden-files
2023-04-19 09:09:23 +02:00
Colin Adler
fbf329fbb7
fix(tailnet): set TCP keepalive idle to 72 hours for SSH conns ( #7196 )
2023-04-18 17:53:11 -05:00
Colin Adler
57c4de4647
feat(healthcheck): add accessurl check ( #7193 )
2023-04-18 15:52:00 -05:00
Dean Sheather
fa5387ce07
chore: fix make gen ( #7190 )
2023-04-18 17:56:52 +00:00
Kyle Carberry
888eb238ec
fix: use CODER_HTTP_ADDRESS in docker-compose.yml ( #7185 )
...
Fixes #7184 .
2023-04-18 11:44:41 -05:00
Steven Masley
7f041fecd8
test: Enable filter test with cancelled context ( #7189 )
...
* test: Enable filter test with cancelled context
* fixup! test: Enable filter test with cancelled context
2023-04-18 11:06:10 -05:00
Cian Johnston
b26826ee3f
chore(docs): update advice for cache dir ( #7182 )
...
* Adds a note in openshift documentation regarding CODER_CACHE_DIRECTORY with readOnlyRootFS=true
2023-04-18 14:13:45 +01:00
Kyle Carberry
693e5d94bc
fix: add global headers to vscodessh command ( #7181 )
2023-04-18 08:07:10 -05:00
Bruno Quaresma
56bf9cfdbe
fix(site): Handle carriage on logs output ( #7172 )
2023-04-17 20:45:48 +00:00
Colin Adler
b44e6e6711
fix(healthcheck): remove t.Parallel() from healthcheck tests ( #7174 )
2023-04-17 15:01:47 -05:00
Steven Masley
658246d5f2
chore: add workspace proxies to the backend ( #7032 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-04-17 19:57:21 +00:00
Kira Pilot
dc5e16ae22
feat: add success modal with token value to create token page ( #7170 )
...
* added token success modal
* added a test for new modal
2023-04-17 11:54:43 -07:00
Bruno Quaresma
76b5deea78
chore(site): Remove template editor out of experimental ( #7165 )
2023-04-17 14:40:21 -03:00
Ammar Bandukwala
80bf042528
chore(coderd): remove timing check ( #7144 )
2023-04-17 17:40:02 +00:00
Mathias Fredriksson
b3b26a62f2
test(agent/reaper): Fix restructure issue ( #7168 )
...
In #7164 we accidentally removed the "in CI" check, this fixes it.
2023-04-17 17:39:10 +00:00
Bruno Quaresma
bb3b8bab78
fix(site): Reset delete modal data when selected user changes ( #7167 )
2023-04-17 12:29:08 -05:00
Mathias Fredriksson
bf0fed4f3f
chore: Update pion/udp and improve parallel/non-parallel tests ( #7164 )
...
* test(all): Improve and fix subtests with parallell/nonparallel parents
* chore: Update pion/udp to fix buffer close
2023-04-17 20:23:10 +03:00
Ammar Bandukwala
c6b2861493
feat: allow disabling stun addresses via env ( #7066 )
...
* feat: allow disabling stun addresses via env
Resolves #6791
* Specify a dummy access URL so the tunnel wouldn't start
* Document
---------
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-04-17 17:20:26 +00:00
Cian Johnston
25c1e45930
chore(helm): add unit tests for setting labels / annotations on serviceaccount / deployment / pod ( #7156 )
...
* chore(helm): add unit tests for setting sa annotations
* chore(cli): also add test for labels / annotations / podLabels / podAnnotations
2023-04-17 16:49:25 +01:00
Kyle Carberry
26cfc18b74
fix: use proper deployment access setting name ( #7162 )
2023-04-17 10:01:51 -05:00
Mathias Fredriksson
51841e9e11
test(cli): Fix TestTemplatePush/UseWorkingDir bad use of chdir ( #7160 )
2023-04-17 17:58:25 +03:00
Bruno Quaresma
53f521aaf9
chore(site): Make requests when offline ( #7161 )
2023-04-17 14:44:38 +00:00
Muhammad Atif Ali
4061a254a5
docs: fix a broken link in docs/README.md ( #7150 )
2023-04-17 13:05:12 +00:00
Mathias Fredriksson
8b2aead7f4
test(coderd/rbac): Use static name for tests ( #7155 )
2023-04-17 12:17:18 +00:00
Bruno Quaresma
d639e6b898
feat(site): Ask for missing template variables in the template editor ( #7108 )
2023-04-17 09:12:28 -03:00
Marcin Tojek
c39c0dcc7c
fix: select default option value ( #7152 )
2023-04-17 12:55:28 +02:00