Colin Adler
50ad4a8535
fix: use backend for /healthz page ( #4938 )
2022-11-07 19:35:52 +00:00
Bruno Quaresma
f15854c179
fix: Fix long audit log string ( #4931 )
2022-11-07 14:39:37 -03:00
Kyle Carberry
30281852d6
feat: Add buffering to provisioner job logs ( #4918 )
...
* feat: Add bufferring to provisioner job logs
This should improve overall build performance, and especially under load.
It removes the old `id` column on the `provisioner_job_logs` table
and replaces it with an auto-incrementing big integer to preserve order.
Funny enough, we never had to care about order before because inserts
would at minimum be 1ms different. Now they aren't, so the order needs
to be preserved.
* Fix log bufferring
* Fix frontend log streaming
* Fix JS test
2022-11-06 20:50:34 -06:00
Bruno Quaresma
267b81af83
Revert "fix: Optimistically update the UI when a workspace action is triggered ( #4898 )" ( #4912 )
...
This reverts commit 8f4ae5b6ac .
2022-11-06 10:22:01 -06:00
Bruno Quaresma
8f4ae5b6ac
fix: Optimistically update the UI when a workspace action is triggered ( #4898 )
2022-11-04 19:09:45 +00:00
Bruno Quaresma
ab78f9c2c5
refactor: Improve long rows in audit log ( #4904 )
2022-11-04 15:24:49 -03:00
dependabot[bot]
7f0f522b92
chore: bump chromatic from 6.10.1 to 6.11.4 in /site ( #4833 )
...
Bumps [chromatic](https://github.com/chromaui/chromatic-cli ) from 6.10.1 to 6.11.4.
- [Release notes](https://github.com/chromaui/chromatic-cli/releases )
- [Changelog](https://github.com/chromaui/chromatic-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chromaui/chromatic-cli/compare/v6.10.1...v6.11.4 )
---
updated-dependencies:
- dependency-name: chromatic
dependency-type: direct:development
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-03 11:23:37 -04:00
Kira Pilot and Dean Sheather
a73dd4f45d
Audit date filter/kira pilot ( #4845 )
...
* sql query
* added time_to
* added validation error
* documentation
* attempt to add test
* removed whiitespace
* fix: ensure date_from and date_to are applied correct audit logs
* added more tests
* ran make gen
* PR feedback
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-11-03 11:04:36 -04:00
Joe Previte
6bfdccda2f
refactor: rm eslint-disable CreateWorkspacePage ( #4865 )
2022-11-02 22:06:22 -03:00
Bruno Quaresma
f76e7b1dbd
refactor: Refactor create workspace page ( #4862 )
2022-11-02 20:44:41 +00:00
Bruno Quaresma
86fc3e09a3
refactor: Better colocate suspense ( #4863 )
2022-11-02 13:17:14 -07: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
Garrett Delfosse
ddbae4da59
fix: error if protocol isn't specified in --access-url ( #4835 )
2022-11-01 12:59:37 -04: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
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>
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
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
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
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
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
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
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
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
Bruno Quaresma
b217f2c210
refactor: Refactor resources colors and avatars ( #4751 )
2022-10-25 16:41:38 -03:00
Kira Pilot
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
Bruno Quaresma
9070fcd5e7
refactor: Refactor page header spacing and stats ( #4750 )
2022-10-25 14:51:58 -03:00
Bruno Quaresma
2ffefc3bbd
fix: Don't show pagination during workspaces load ( #4743 )
2022-10-25 17:41:18 +00:00
Ben Potter
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
2022-10-25 14:33:37 +00:00
Kyle Carberry
7d04bf2abe
Revert "adding workspace_build resource ( #4636 )" ( #4742 )
...
This reverts commit 145faf4400 .
2022-10-25 08:41:00 -05:00
Kira Pilot
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
Bruno Quaresma
3e08bb4842
feat: Redesign build logs ( #4734 )
2022-10-25 00:44:13 -03:00
Joe Previte
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
Joe Previte
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
Kyle Carberry
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
Garrett Delfosse
585045b359
feat: support nested structs, structured arrays, and better secret value handling in config ( #4727 )
2022-10-25 00:11:00 +00:00
Joe Previte
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
Ammar Bandukwala
a82f05a0a0
docs: move enterprise to root ( #4720 )
2022-10-24 18:10:06 +00:00