Commit Graph

2434 Commits

Author SHA1 Message Date
ec4b397aa4 Add 8Bitz0/coder-rust-template (#4804)
Put `8Bitz0/coder-rust-template` in `community-templates.md`
2022-10-31 09:25:41 -05:00
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
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
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
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
6add465365 fix: display None when there are no apps (#4797) 2022-10-28 19:37:45 +00:00
d2fac850cb refactor: Align values when there are more than one row in agent preview (#4795) 2022-10-28 19:09:05 +00:00
10df2fd4fb feat: add new required slug property to coder_app, use in URLs (#4573) 2022-10-28 17:41:31 +00:00
90f77a3415 feat: add groups support to the CLI (#4755) 2022-10-27 16:49:35 -05:00
ce2a7d49b1 refactor: Refactor template resources (#4789) 2022-10-27 17:27:15 -03:00
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
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
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
3e15ee3ba0 fix: Fix audit log collapse (#4781) 2022-10-27 01:02:52 +00:00
670d5adfd7 chore: fix install.sh typo (#4770) 2022-10-26 15:32:20 -04:00
d88b824328 refactor: Inline workspace badge (#4774) 2022-10-26 12:30:02 -07:00
896f628473 site: fix networking docs link (#4778) 2022-10-26 19:29:50 +00:00
00495568e4 refactor: Make the audit log looks like a timeline (#4765) 2022-10-26 19:20:26 +00:00
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
820306a32c set correct case for env (#4713) 2022-10-26 12:09:05 -05:00
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
a0bdb4fca2 fix: Remove pkg/sftp fork, fix SFTP test (#4759) 2022-10-26 16:02:06 +03:00
b217f2c210 refactor: Refactor resources colors and avatars (#4751) 2022-10-25 16:41:38 -03:00
3c5e292c5a feat: add workspace build start/stop to audit log (#4744)
* adding workspace_build resource

* added migration

* fix keyword

* got rid oof diffs for workspace builds

* adding workspace name to string

* renamed migrations

* fixed lint

* pass throough AdditionalFields and fix tests

* no need to pass through each handler

* cleaned up migrations

* generated types; fixed missing cases

* logging error
2022-10-25 15:34:48 -04:00
9070fcd5e7 refactor: Refactor page header spacing and stats (#4750) 2022-10-25 14:51:58 -03:00
2ffefc3bbd fix: Don't show pagination during workspaces load (#4743) 2022-10-25 17:41:18 +00:00
f622247b51 chore: bump github.com/spf13/cobra from 1.5.0 to 1.6.1 (#4746)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  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-10-25 15:51:37 +00:00
8b199c00e5 chore: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#4723)
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.10.0 to 1.11.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.10.0...v1.11.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  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-10-25 15:48:10 +00:00
7d831e31c6 fix: Line gets erased due to updateJob (#4740)
The first updateJob should be called after the first printStage to
guarantee that only stage prints can get erased and overwritten,
otherwise there could be an unrelated line that gets erased.

fixes #3967
2022-10-25 10:27:44 -05:00
df89e2c3b0 chore: Move deployment UI and HA out of experimental (#4722)
* Revert "chore: Move deployment UI and HA into experimental (#4595)"

This reverts commit 18c4368571.

* restore flag in coderdtest
v0.11.0
2022-10-25 14:33:37 +00:00
067362cf31 feat: add windows amd64 installer (#4719) 2022-10-26 00:19:54 +10:00
7d04bf2abe Revert "adding workspace_build resource (#4636)" (#4742)
This reverts commit 145faf4400.
2022-10-25 08:41:00 -05:00
145faf4400 adding workspace_build resource (#4636)
* adding workspace_build resource

* added migration

* added migration for audit_actions

* fix keyword

* got rid oof diffs for workspace builds

* adding workspace name to string

* renamed migrations

* fixed lint

* pass throough AdditionalFields and fix tests

* no need to pass through each handler

* cleaned up migrations
2022-10-25 09:27:50 -04:00
3e08bb4842 feat: Redesign build logs (#4734) 2022-10-25 00:44:13 -03:00
6449443c1f dogfood: remove gitconfig to allow cloning with HTTPS (#4739)
This reflects a more natural environment that our customers might have,
and enables us to use the new git authentication!
2022-10-25 02:37:20 +00:00
49b3ea02cc refactor: clean up WorkspaceBuildLogs types (#4738)
* refactor: clean up types in WorkspaceBuildLogs

* feat: add tests for groupLogsByStage

* fixup!: formatting
2022-10-24 21:57:12 -03:00
dea329705a chore: clean up eslint-disable lines (#4735)
* chore: drop eslint-disable rule

* refactor: add types for makeMockApiError
2022-10-24 21:55:44 -03:00
eec406b739 feat: Add Git auth for GitHub, GitLab, Azure DevOps, and BitBucket (#4670)
* Add scaffolding

* Move migration

* Add endpoints for gitauth

* Add configuration files and tests!

* Update typesgen

* Convert configuration format for git auth

* Fix unclosed database conn

* Add overriding VS Code configuration

* Fix Git screen

* Write VS Code special configuration if providers exist

* Enable automatic cloning from VS Code

* Add tests for gitaskpass

* Fix feature visibiliy

* Add banner for too many configurations

* Fix update loop for oauth token

* Jon comments

* Add deployment config page
2022-10-24 19:46:24 -05:00
585045b359 feat: support nested structs, structured arrays, and better secret value handling in config (#4727) 2022-10-25 00:11:00 +00:00
f9c6220263 refactor: clean up types in DAUChart (#4737)
This cleans up some types in `DAUChart.tsx`. Previously, we were
type-casting which can lead to errors in production.
2022-10-24 23:28:07 +00:00
afb806f71a Added the Group resource in audit-logs.md (#4733) 2022-10-24 16:26:22 -04:00
Ben
b43b721b1e chore: minor tweaks to architecture diagram 2022-10-24 20:07:48 +00:00
9ea3e96447 docs: update architecture & diagram (#4721)
* docs: update architecture & diagram

* remove old diagrams

* fix typo
2022-10-24 20:00:46 +00:00
a0249bea61 docs: better explain persistent resources (#4703) 2022-10-24 19:59:27 +00:00
54261b6e8b docs: add auto-start/stop (#4728)
* docs: add auto-start/stop

* feedback

Co-authored-by: Ben Potter <ben@coder.com>

Co-authored-by: Ben Potter <ben@coder.com>
2022-10-24 15:32:05 -04:00
a82f05a0a0 docs: move enterprise to root (#4720) 2022-10-24 18:10:06 +00:00
dc18b0e442 chore: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace (#4591)
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
  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-10-24 13:07:32 -05:00
65b4106eac chore: bump github.com/u-root/u-root from 0.9.0 to 0.10.0 (#4579)
Bumps [github.com/u-root/u-root](https://github.com/u-root/u-root) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/u-root/u-root/releases)
- [Changelog](https://github.com/u-root/u-root/blob/main/RELEASES)
- [Commits](https://github.com/u-root/u-root/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/u-root/u-root
  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-10-24 13:07:06 -05:00
1c9c450399 docs: fix typo (#4520)
missing word
2022-10-24 13:06:37 -05:00
fba03aea6e helm: add imagePullSecret for air-gapped cust's (#4700)
* helm: add imagePullSecret for air-gapped cust's

* helm: pullSecrets array

* fix: tag

* indentation

Co-authored-by: Dean Sheather <dean@deansheather.com>

* array

Co-authored-by: Dean Sheather <dean@deansheather.com>

Co-authored-by: Dean Sheather <dean@deansheather.com>
2022-10-24 13:24:21 -04:00