Ben Potter
9afbd152fc
chore: fix one broken link ( #7143 )
...
* fix one broken link
* Fix the hopefully last broken link
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
2023-04-14 18:28:58 +00:00
Steven Masley
2137db0445
test: Handle Filter flake with ctx errors ( #7119 )
...
* test: Handle Fitler flake with ctx errors
* Add unit test to check filter for proper error
* Correctly return category of errors
2023-04-14 12:30:35 -05:00
Ammar Bandukwala
c87ec484ff
docs: restore supportLinks ( #7142 )
...
* docs: restore supportLinks
* fixup! docs: restore supportLinks
2023-04-14 17:28:34 +00:00
Kyle Carberry
7f12020229
fix: remove irrelevant help info from `coder tokens create` ( #7135 )
...
The additional text didn't help much, and made it much harder to script around.
2023-04-14 12:18:01 -05:00
Ammar Bandukwala
f36a4a0b07
chore: fix race check for AgentMetadata test ( #7141 )
2023-04-14 20:02:44 +03:00
Muhammad Atif Ali
0e50afe4cf
fix(docs): fix broken docs ( #7138 )
...
* fixing a lot of broken links
* more fixes
* add 0 as valid status codes
https://tools.ietf.org/html/rfc7231#section-6.3.1 --> 0 as status code
2023-04-14 11:11:51 -05:00
Kira Pilot
9ec16d4454
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>
2023-04-14 08:48:05 -07:00
Bruno Quaresma
7bbbb91df5
refactor(site): Refactor workspace actions ( #7124 )
2023-04-14 15:28:52 +00:00
Muhammad Atif Ali
9c0f59e3e5
chore: Also check README.md for dead links ( #7130 )
2023-04-14 14:46:16 +00:00
Muhammad Atif Ali
69797add49
chore: turn on experiments while developing ( #7121 )
2023-04-14 17:42:03 +03:00
Kyle Carberry
0bbe1562f3
fix: adjust manifest for networking doc ( #7136 )
2023-04-14 09:36:23 -05:00
Muhammad Atif Ali
bb43713d38
fix: VSCode desktop connection ( #7120 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2023-04-14 17:32:18 +03:00
Marcin Tojek
942aba3a66
feat: expose agent stats via Prometheus endpoint ( #7115 )
...
* WIP
* WIP
* WIP
* Agents
* fix
* 1min
* fix
* WIP
* Test
* docs
* fmt
* Add timer to measure the metrics collection
* Use CachedGaugeVec
* Unit tests
* WIP
* WIP
* db: GetWorkspaceAgentStatsAndLabels
* fmt
* WIP
* gauges
* feat: collect
* fix
* fmt
* minor fixes
* Prometheus flag
* fix
* WIP
* fix tests
* WIP
* fix json
* Rx Tx bytes
* CloseFunc
* fix
* fix
* Fixes
* fix
* fix: IgnoreErrors
* Fix: Windows
* fix
* reflect.DeepEquals
2023-04-14 16:14:52 +02:00
Mathias Fredriksson
e0689456cb
fix(scripts): Use gh api to fetch ci logs more reliably ( #7133 )
2023-04-14 16:29:13 +03:00
Bruno Quaresma
dafb7663c5
fix(site): Fix button text overflow ( #7132 )
2023-04-14 15:13:55 +02:00
Bruno Quaresma
ad665cef91
fix(site): Load monaco locally ( #7092 )
2023-04-14 13:11:28 +00:00
Bruno Quaresma
17bb1a1ff1
chore(site): Upgrade storybook to 7.0.4 ( #7127 )
2023-04-13 21:36:20 +00:00
Colin Adler
085330ad96
fix(provisionerd): only heartbeat when logs aren't being flushed ( #7110 )
2023-04-13 14:02:10 -05:00
Colin Adler
f5a8a27714
fix(healthcheck): prevent infinite loop if DERP message exchange fails ( #7112 )
2023-04-13 13:46:16 -05:00
Steven Masley
38e5b9679b
chore: Rbac errors should be returned, and not hidden behind 404 ( #7122 )
...
* chore: Rbac errors should be returned, and not hidden behind 404
SqlErrNoRows was hiding actual errors
* Replace sql.ErrNoRow checks
* Remove sql err no rows check from dbauthz test
* Fix to use dbauthz system user
2023-04-13 13:06:16 -05:00
Steven Masley
fa64c58e56
chore: Export all functions used by server cmd ( #7118 )
...
* chore: Export all functions used by server cmd
Required to make workspace proxy cmd
* Factor out httpservers and tracer
2023-04-13 09:07:19 -05:00
Cian Johnston
87fe16cde9
feat(cli): add --id parameter to templates init command ( #7116 )
...
This PR makes the following changes:
- Adds an --id parameter to coder templates init so that you can non-interactively initialize a specific example template by ID (e.g. folder name)
- Updates develop.sh and lima/coder.yaml to use this parameter to select the docker example template.
2023-04-13 15:02:49 +01:00
Colin Adler
17f692a89a
fix(scaletest): correctly validate configs using `SessionToken` ( #7111 )
2023-04-12 17:36:05 -05:00
Ben Potter
f517724caa
chore: reorganize some docs ( #7062 )
...
* chore: move docs pages into corresponding folder
* chore: prioritize clouds in platforms list
* chore: fix networking docs links
* chore: rename to "docker in workspaces"
* mention CLI documentation
* fmt
2023-04-12 21:47:25 +00:00
Muhammad Atif Ali
114d4aac23
chore: update example templates to use `display_name` ( #7001 )
...
* add `display_name`
* fix typos and `terraform validate`
* update display_name
* Update examples/templates/aws-windows/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/aws-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/azure-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/azure-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/do-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update examples/templates/do-linux/main.tf
Co-authored-by: Ben Potter <me@bpmct.net>
* Update main.tf
* Update main.tf
* Update main.tf
* Update main.tf
* Update main.tf
---------
Co-authored-by: Ben Potter <me@bpmct.net>
2023-04-12 16:33:38 -05:00
Kira Pilot
f6c89a2615
feat: differentiate new user registration from user login in the audit log ( #7096 )
...
* auditing register events
* fix tests
* update docs
* update comments
* Update coderd/audit/request.go
Co-authored-by: Colin Adler <colin1adler@gmail.com>
---------
Co-authored-by: Colin Adler <colin1adler@gmail.com>
2023-04-12 11:46:16 -07:00
Rodrigo Maia
d1d459cb79
feat(site): add advanced schedule settings to UI ( #7061 )
...
* feat: add advanced schedule settings
* Update site/src/pages/CreateTemplatePage/CreateTemplateForm.tsx
Co-authored-by: Dean Sheather <dean@deansheather.com>
* rename variable
* fix optionText css
---------
Co-authored-by: Dean Sheather <dean@deansheather.com>
2023-04-12 17:47:48 +00:00
Muhammad Atif Ali
264093a874
chore: add agent metadata to example templates ( #7044 )
...
* add `display_name`
* fix typos and `terraform validate`
* update display_name
* Add agent metadata
* add % to cpu usage
* update disk usage check script
* remove metadata from containers and pods workspaces
* removes disk metadata from container workspaces
---------
Co-authored-by: Ben <me@bpmct.net>
2023-04-12 12:05:16 -05:00
Ben Potter
af24aea04f
chore: reduce docker examples ( #6849 )
2023-04-12 16:26:03 +00:00
Mathias Fredriksson
770712e1f5
ci: Add script for fetching past test stats from CI ( #7086 )
...
Refs: #6677 , #6675
2023-04-12 10:03:26 +00:00
Muhammad Atif Ali
531fd23fd2
fix(docs): fix broken markdown links ( #7081 )
...
* fix(docs): fix markdown docs links
More than half of them were actually valid links but, due to missing file extensions were flagged as invalid. I added a file extension, so it should pass now.
* Updated docgen to include extension
2023-04-11 15:05:51 -05:00
Colin Adler
a44070e2ec
feat(scaletest): allow scaletests to run using the host credentials ( #7075 )
2023-04-11 19:49:28 +00:00
Steven Masley
2585249014
chore: Move writeConfig to a cli middleware ( #7093 )
...
* chore: Move writeConfig to a cli middleware
Trying to reduce the server LoC, it's very long and unwieldy.
The workspace proxy code needs to replicate, and trying to reuse
as much as possible
* Move deprecation warnings too
2023-04-11 14:47:07 -05:00
Marcin Tojek
e1db64a1e8
chore: bump up coder/tailscale ( #7089 )
2023-04-11 11:44:47 -05:00
Bruno Quaresma
b86ed11bc0
refactor(site): Refactor the schedule controls in the workspace page ( #7083 )
2023-04-11 13:33:24 -03:00
Bruno Quaresma
b92e7d4fab
refactor(site): Refactor workspace schedule page ( #7069 )
2023-04-11 16:27:52 +00:00
Kevin Conley
4dd5d79412
fix: Parse `CODER_GITAUTH_N_NO_REFRESH` env var value instead of key ( #7051 )
2023-04-11 09:18:17 -05:00
Marcin Tojek
3b10e89047
Revert "fix: change auto-start to automatically update workspaces ( #6053 )" ( #7084 )
...
This reverts commit bdddc3e7ae
.
2023-04-11 14:14:35 +00:00
Steven Masley
9d39371ee0
feat: Option to remove WorkspaceExec from `owner` role ( #7050 )
...
* chore: Add AllResources option for listing all RBAC objects
* Owners cannot do workspace exec site wide
* Fix FE authchecks to valid RBAC resources
2023-04-11 08:57:23 -05:00
Marcin Tojek
ad2353c3d8
chore: improve syntax in metrics collector ( #7085 )
2023-04-11 13:50:34 +00:00
Muhammad Atif Ali
63af4c6ed1
chore: Add exceptions for markdown check ( #7078 )
...
* rename and run slack step on failure
* add exceptions
2023-04-11 13:15:44 +02:00
Ben Potter
45776e57f6
docs: remove RBAC section ( #7040 )
2023-04-10 21:57:00 -05:00
Muhammad Atif Ali
fb44dc653e
fix(ci): fix typo in cron-weekly.yaml ( #7059 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com>
2023-04-11 01:58:37 +00:00
Kyle Carberry
81e2b2500a
feat: add level support for startup logs ( #7067 )
...
This allows external services like our devcontainer support to display
errors and warnings with custom styles to indicate failures to users.
2023-04-10 14:29:59 -05:00
Bruno Quaresma
aa2468b16e
fix(site): Handle rename a folder to a file ( #7063 )
2023-04-10 13:30:21 -03:00
Eric Paulsen
e5c6ebdc96
docs: bump tf version in offline docs ( #7065 )
2023-04-10 11:04:31 -04:00
Ammar Bandukwala
4b99e2d07e
feat: add YAML support to server ( #6934 )
2023-04-07 22:58:21 +00:00
Colin Adler
a3c6cb1768
fix: don't query workspace in `UpdateWorkspaceAgentConnectionByID` ( #7042 )
2023-04-07 15:21:52 -05:00
Muhammad Atif Ali
592b84984f
chore: Update code-server in example templates ( #6806 )
...
Update code-server from `4.8.3` to `4.11.0`
2023-04-07 12:09:46 -05:00
Muhammad Atif Ali
7e530b0652
chore: check for invalid markdown links in docs weekly ( #6795 )
...
* chore(ci): add an automatic check to verify markdown links.
As per #6793 , there are multiple broken links in our docs. This action will check if all markdown links are valid.
cc: @ammario @bpmct
* Revert "chore(ci): add an automatic check to verify markdown links. "
This reverts commit 294767e056
.
* Create cron-weekly.yaml
* add workflow dispatch for testing
* fmt
* Update cron-weekly.yaml
* remove slack notification for now
* Add slack notification
* Update cron-weekly.yaml
* Add logs URL
* fmt
2023-04-07 16:50:08 +00:00