Commit Graph

2463 Commits

Author SHA1 Message Date
sharkymark b1c400a7df chore: update web-ides section with revised docker examples and Airflow/RStudio using subdomain config (#4855)
* chore: update web-ides section with docker examples and subdomain rstudio and airflow examples

* Update docs/ides/web-ides.md

* Update docs/ides/web-ides.md

Co-authored-by: Ben Potter <ben@coder.com>
2022-11-02 15:09:42 +00:00
Colin Adler e26bc20723 fix: actually fix template version created by migration (#4850) 2022-11-01 22:19:58 +00:00
Kyle Carberry a672ae8c7d feat: Extract instance type when provisioning VMs (#4839)
This should help us identify what instances our users consume.
2022-11-01 21:51:57 +00:00
Presley Pizzo 26a920a740 chore: do less calculation on users page (#4801)
* Do less calculation on users page

* Handle missing usernames
2022-11-01 16:57:44 -04:00
Kyle Carberry 29dc5f66b8 experiment: Switch to BuildJet Linux Runners (#4846) 2022-11-01 20:56:33 +00:00
Kyle Carberry 288e7d1045 fix: Flake on TestReplica/TwentyConcurrent (#4842)
This could actually cause connections to intermittently fail too
when a CPU is absolutely pegged. It just so happens that only
our runners have been that slow!

Fixes #4607.
2022-11-01 20:28:34 +00:00
dependabot[bot] a390b73386 chore: bump cloud.google.com/go/compute/metadata from 0.1.0 to 0.2.1 (#4841)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 20:27:33 +00:00
dependabot[bot] 88fc37d015 chore: bump github.com/gohugoio/hugo from 0.104.2 to 0.105.0 (#4828)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.12.1
2022-11-01 18:41:43 +00:00
dependabot[bot] 0b2296a843 chore: bump cloud.google.com/go/compute from 1.10.0 to 1.12.1 (#4826)
Bumps [cloud.google.com/go/compute](https://github.com/googleapis/google-cloud-go) from 1.10.0 to 1.12.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.10.0...pubsub/v1.12.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 11:23:40 -07:00
Garrett Delfosse ddbae4da59 fix: error if protocol isn't specified in --access-url (#4835) 2022-11-01 12:59:37 -04:00
Colin Adler a930cf42b4 fix: templates created_by migration (#4838) 2022-11-01 16:35:14 +00:00
dependabot[bot] 9d1d0bce59 chore: bump cronstrue from 2.11.0 to 2.14.0 in /site (#4831)
Bumps [cronstrue](https://github.com/bradymholt/cronstrue) from 2.11.0 to 2.14.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases)
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.11.0...v2.14.0)

---
updated-dependencies:
- dependency-name: cronstrue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 11:18:07 -05:00
dependabot[bot] 261154869d chore: bump github.com/moby/moby from 20.10.18+incompatible to 20.10.21+incompatible (#4822)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 15:11:52 +00:00
dependabot[bot] a5fa54ff23 chore: bump crate-ci/typos from 1.12.8 to 1.12.12 (#4825)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 10:06:41 -05:00
dependabot[bot] d25f770488 chore: bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (#4824)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 10:02:08 -05:00
dependabot[bot] 88c18775d3 chore: bump tj-actions/branch-names from 6.1 to 6.2 (#4823)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 10:01:14 -05:00
Mathias Fredriksson e508057d1a fix: Avoid panic in ServerSentEventSender by keeping handler alive (#4821)
The goroutine launched by `ServerSentEventSender` can perform a write
and flush after the calling http handler has exited, at this point the
resources (e.g. `http.ResponseWriter`) are no longer safe to use.

To work around this issue, heartbeats and sending events are now handled
by the goroutine which signals its closure via a channel. This allows
the calling handler to ensure it is kept alive until it's safe to exit.

Fixes #4807
2022-11-01 16:57:38 +02:00
Bruno Quaresma a7e5588a65 refactor: Refactor build page (#4815)
* refactor: Improve build page

* Add build translation

* Add build avatar better props

* Get build number from build
2022-11-01 11:49:32 -03:00
dependabot[bot] cf794f1046 chore: bump react-i18next from 11.18.4 to 12.0.0 in /site (#4832)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.18.4 to 12.0.0.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.18.4...v12.0.0)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.12.0
2022-11-01 11:21:45 -03:00
Colin Adler 4c5bf42355 feat: add option for exporting traces to a provided Honeycomb team (#4816) 2022-11-01 09:15:41 -05:00
Mathias Fredriksson 21e64943ac fix: Use immutable links for docker with intellij/pycharm (#4834) 2022-11-01 15:04:50 +02:00
Joe Previte 17f5e830c7 refactor: extend Overrides for MuiSkeleton (#4818)
* refactor: extend Overrides for MuiSkeleton

Looking at the types provided with `@material-ui/core`, it is indeed
missing `MuiSkeleton`. I'm not sure why. I found this issues upstream: https://github.com/mui/material-ui/issues/24959

I also tried upgrading the package to the latest - 4.12.4 I believe but
that didn't fix it either.

I resorted to extending the `Overrides` type based on what I saw in the
most recent version of the declaration file. This is a temporary fix but
opts back in to type safety instead of resorting to `@ts-ignore`.

* formatting
2022-10-31 16:33:01 -07:00
Joe Previte 34268e6dee refactor: remove eslint-disable (#4817) 2022-10-31 22:04:51 +00:00
Bruno Quaresma 97bcd441f3 refactor: Improve agent loading state (#4814) 2022-10-31 17:35:05 -03:00
Colin Adler dde9a43b7e chore: fix otel dependency versions (#4813) 2022-10-31 19:16:16 +00:00
Colin Adler 1bd67b8064 fix: use -no-color when calling terraform show state (#4812) 2022-10-31 13:03:59 -05:00
Colin Adler cffb723ecc fix: small typos in proxy-trusted-headers help (#4811) 2022-10-31 17:00:04 +00:00
Bruno Quaresma 46e0953876 refactor: Show template versions as timeline (#4800) 2022-10-31 16:38:07 +00:00
Bruno Quaresma cc655672eb refactor: Fix list styles in markdown (#4802) 2022-10-31 11:56:26 -04:00
Alexander Hansen ec4b397aa4 Add 8Bitz0/coder-rust-template (#4804)
Put `8Bitz0/coder-rust-template` in `community-templates.md`
2022-10-31 09:25:41 -05:00
Arthur Normand 7635736be6 Fix link to supported terraform versions (#4803)
* Fix link to supported terraform versions

* Update offline.md
2022-10-29 11:07:06 -07:00
Joe Previte ffe461ae58 chore(site): enable eslint-plugin-eslint-comments (#4799)
* chore(site): enable eslint-plugin-eslint-comments

* chore: add descriptions to eslint-disable comments

* chore: update eslint-disable comments in main.go
2022-10-28 17:46:51 -03:00
Presley Pizzo 506a81e3dc feat: paginating Users page (#4792)
* Extract PageButton

* Fix import

* Extract utils

* Format

* Separate pagination - wip

* Spawn pagination machine - buggy filter

* Make labels optional

* Layout, fix send reset bug

* Format

* Fix refresh data bug

* Remove debugging line

* Fix url updates

setSearchParams overwrites all search params, rather than merging

* Update Audit Page

* Simplify pagination widget

* Fix workspaces story

* Fix Audit story

* Fix pagination story and pagebutton highlight

* Fix pagination tests

* Add to utils tests

* Format

* Add tests

* Start adding pagination - type error

* Tweak machine

* Refactor paginated api calls

* Show pagination when count is undefined

* fix stories

* Fix api helper

* Add test

* Format

* Make widget show all the time to avoid blink
2022-10-28 15:43:10 -04:00
Bruno Quaresma 708abd37cf refactor: Improve template README section (#4794)
* refactor: Improve template README section

* Fix version

* Add darcula

* Fix typos
2022-10-28 19:40:41 +00:00
Bruno Quaresma 6add465365 fix: display None when there are no apps (#4797) 2022-10-28 19:37:45 +00:00
Bruno Quaresma d2fac850cb refactor: Align values when there are more than one row in agent preview (#4795) 2022-10-28 19:09:05 +00:00
Dean Sheather 10df2fd4fb feat: add new required slug property to coder_app, use in URLs (#4573) 2022-10-28 17:41:31 +00:00
Jon Ayers 90f77a3415 feat: add groups support to the CLI (#4755) 2022-10-27 16:49:35 -05:00
Bruno Quaresma ce2a7d49b1 refactor: Refactor template resources (#4789) 2022-10-27 17:27:15 -03:00
Kira Pilot 8282e46813 chore: add audit log tests (#4764)
* added test for stopping a workspace build

* formatted sfriendly string; added tests

* logging unmarshal error in auditLogDescription

* prettier

* got rid of extra workspace word

* PR feedback

* fixed mistake; wrote tests in penance

* fix be
2022-10-27 15:57:41 -04:00
Asher 01ec483ecc docs: fix base path for JupyterLab (#4790)
It seems the base path uses the app name (for now anyway).
2022-10-27 17:38:54 +00:00
Kyle Carberry b34a67e6cb fix: Allow custom Git OAuth URLs (#4758)
Fixes an issue reported in Discord where custom endpoints
weren't working.
2022-10-27 10:38:05 -07:00
Bruno Quaresma 3e15ee3ba0 fix: Fix audit log collapse (#4781) 2022-10-27 01:02:52 +00:00
Ben Potter 670d5adfd7 chore: fix install.sh typo (#4770) 2022-10-26 15:32:20 -04:00
Bruno Quaresma d88b824328 refactor: Inline workspace badge (#4774) 2022-10-26 12:30:02 -07:00
Eric Paulsen 896f628473 site: fix networking docs link (#4778) 2022-10-26 19:29:50 +00:00
Bruno Quaresma 00495568e4 refactor: Make the audit log looks like a timeline (#4765) 2022-10-26 19:20:26 +00:00
Joe Previte 9d8c3ca59c docs(templates): add edit templates section (#4754)
* docs(templates): add edit templates section

* minor changes

Co-authored-by: Ben <me@bpmct.net>
2022-10-26 11:18:47 -07:00
Shyim 820306a32c set correct case for env (#4713) 2022-10-26 12:09:05 -05:00
Presley Pizzo b0d5e0613e chore: refactor pagination (#4753)
* Extract PageButton

* Fix import

* Extract utils

* Format

* Separate pagination - wip

* Spawn pagination machine - buggy filter

* Make labels optional

* Layout, fix send reset bug

* Format

* Fix refresh data bug

* Remove debugging line

* Fix url updates

setSearchParams overwrites all search params, rather than merging

* Update Audit Page

* Simplify pagination widget

* Fix workspaces story

* Fix Audit story

* Fix pagination story and pagebutton highlight

* Fix pagination tests

* Add to utils tests

* Format

* Add tests
2022-10-26 13:08:22 -04:00