Stephen Kirby
399c830b51
chore(docs): add info on new build timings in docs ( #15310 )
...
Adds information on workspace build timings in workspace lifecycle and
template troubleshooting docs.
2024-11-01 12:17:50 -05:00
Bruno Quaresma and Danny Kopping
e232aee011
feat(site): add agent connection timings ( #15276 )
...
Local preview:
<img width="1260" alt="Screenshot 2024-10-29 at 16 16 01"
src="https://github.com/user-attachments/assets/10fdb20d-1f2a-4b0a-a8a1-171050ee620d ">
Close https://github.com/coder/internal/issues/116
---------
Co-authored-by: Danny Kopping <danny@coder.com >
2024-11-01 13:29:00 -03:00
18ef954a03
docs: add new best practice doc to speed up templates and workspaces ( #15296 )
...
closes https://github.com/coder/coder/issues/14858
- [x] TODO: update `build-timeline.png`
- [x] TODO: `Best practices` doesn't show up in the sidebar until you're
actually in the doc 🤔
[preview](https://coder.com/docs/@bp-speed-up-templates/tutorials/best-practices/speed-up-templates )
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
2024-11-01 11:24:35 -05:00
Ethan
b1298a3c1e
feat: add WorkspaceUpdates tailnet RPC ( #14847 )
...
Closes #14716
Closes #14717
Adds a new user-scoped tailnet API endpoint (`api/v2/tailnet`) with a new RPC stream for receiving updates on workspaces owned by a specific user, as defined in #14716 .
When a stream is started, the `WorkspaceUpdatesProvider` will begin listening on the user-scoped pubsub events implemented in #14964 . When a relevant event type is seen (such as a workspace state transition), the provider will query the DB for all the workspaces (and agents) owned by the user. This gets compared against the result of the previous query to produce a set of workspace updates.
Workspace updates can be requested for any user ID, however only workspaces the authorised user is permitted to `ActionRead` will have their updates streamed.
Opening a tunnel to an agent requires that the user can perform `ActionSSH` against the workspace containing it.
2024-11-01 14:53:53 +11:00
Colin Adler
088f21965b
feat: add audit logs for dormancy events ( #15298 )
2024-10-31 17:55:42 -05:00
Danielle Maywood
330acd1270
chore: create ResourceNotificationMessage and AsNotifier ( #15301 )
...
Closes https://github.com/coder/coder/issues/15213
This PR enables sending notifications without requiring the auth system
context, instead using a new auth notifier context.
2024-10-31 17:01:51 +00:00
Stephen Kirby
e9fbfcc45b
chore(docs): include custom roles examples and mention of password reset ( #15294 )
...
Added example custom roles for admin inspiration, mention of headless
authentication use case, and user-activated password reset.
2024-10-30 11:41:52 -05:00
Danielle Maywood
823a2ea22e
chore(cli): drop 'notification' prefix for configuring email auth ( #15270 )
...
Closes https://github.com/coder/coder/issues/14644
2024-10-30 10:06:10 +00:00
Stephen Kirby
25738388d5
chore(docs): add documentation on custom roles ( #15280 )
...
These docs were overwritten in the restructure merge.
2024-10-29 20:58:26 -05:00
Danielle Maywood
4e20eea9e6
chore: remove unused 'must_reset_password' column ( #15265 )
...
Closes https://github.com/coder/internal/issues/153
Remove the 'must_reset_password' as it was introduced for use in the
"forgot password?" flow but never used.
2024-10-29 09:57:40 +00:00
Stephen Kirby
971388762c
chore(docs): change mentions of enterprise to premium ( #15258 )
...
Matches our latest licensing verbiage.
2024-10-28 15:56:51 -05:00
Colin Adler
074faec7d7
chore: update Terraform to 1.9.8 ( #15256 )
2024-10-28 15:24:57 -05:00
Ethan
03940f5fef
chore: ensure make gen runs on CI when docs are updated ( #15252 )
...
https://github.com/coder/coder/pull/15203 was merged with a failing
`make gen`, as it only updated the docs. This makes it so this can't
happen again.
The capitalization of the Go type used in the auto-generated docs
(`codersdk.OAuth2GithubConfig`) wasn't updated as it would technically
be a breaking change for the sdk.
2024-10-28 15:22:37 +00:00
Edward Angert and EdwardAngert
007f0a35a4
fix: adjust instances of Github to GitHub ( #15203 )
...
s/Github/GitHub
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-28 07:43:30 -04:00
Steven Masley
e03ef62a13
chore: add scim service provider config endpoint ( #15235 )
...
Adds a static `/scim/v2/ServiceProviderConfig` endpoint. Our scim
support is static, so the response config is also defined statically.
2024-10-25 18:27:34 -04:00
Colin Adler
27f5ff2dd1
chore: correctly document SCIM authentication ( #15234 )
2024-10-25 12:40:13 -05:00
Jon Ayers
cd890aa3a0
feat: enable key rotation ( #15066 )
...
This PR contains the remaining logic necessary to hook up key rotation
to the product.
2024-10-25 17:14:35 +01:00
Steven Masley
ccfffc6911
chore: add tx metrics and logs for serialization errors ( #15215 )
...
Before db_metrics were all or nothing. Now `InTx` metrics are always recorded, and query metrics are opt in.
Adds instrumentation & logging around serialization failures in the database.
2024-10-25 12:14:15 -04:00
Edward Angert and EdwardAngert
0fba291ffe
docs: add date to Quickstart guide ( #15199 )
...
and try to trick the CI into passing + building the page 😬
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-23 12:56:17 -05:00
ed5da65a54
chore(docs): add Quickstart doc to tutorials ( #14744 )
...
New doc to get users up and running quickly
preview: https://coder.com/docs/@quickstart-guide/tutorials/quickstart
## To Do
- [x] update or remove Codium steps
- [x] add to sidebar
- [x] add to README and others as needed
- [x] reference https://github.com/coder/coder/pull/11946 and the
discussion to influence this PR
closes https://github.com/coder/internal/issues/107
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-23 11:31:29 -04:00
Edward Angert and EdwardAngert
d7baa49d6d
docs: add primary to wsproxy ls ( #15185 )
...
Add primary to `coder wsproxy ls` results in
<https://coder.com/docs/admin/networking/workspace-proxies#step-2-deploy-the-proxy >
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-23 11:15:55 -04:00
Edward Angert and EdwardAngert
20a9e9bdfb
chore(docs): remove workspace proxy map ( #15070 )
...
remove workspace proxy map
- replace later with another image or diagram
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2024-10-23 11:15:32 -04:00
Cian Johnston and Edward Angert
84f0cf215f
chore(docs): update external provisioners helm docs ( #15155 )
...
Closes https://github.com/coder/coder/issues/14985
Updates external provisioner documentation to show steps for using
provisioner keys via Helm:
---------
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-23 09:25:53 +01:00
Steven Masley
343f8ec9ab
chore: join owner, template, and org in new workspace view ( #15116 )
...
Joins in fields like `username`, `avatar_url`, `organization_name`,
`template_name` to `workspaces` via a **view**.
The view must be maintained moving forward, but this prevents needing to
add RBAC permissions to fetch related workspace fields.
2024-10-22 09:20:54 -05:00
Danielle Maywood
5076161078
fix: show audit logs for forgot password flow ( #15181 )
...
Fixes https://github.com/coder/coder/issues/15150
Audit logs for requesting a password reset, and a user updating their
password, now show up in the audit log.
2024-10-22 13:47:30 +01:00
Joobi S B and Muhammad Atif Ali
5ebc748e94
feat: allow promoting an existing template version to active from CLI ( #15051 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-17 14:15:14 +05:00
02f6203dc7
chore(cli): rename build options to ephemeral parameters in cli ( #15030 )
...
This PR aims to rename `build-option` to `ephemeral-parameters` based on
#10488 conversation.
`build-option` has been renamed `ephemeral-parameter` and can be used to
define a value for an ephemeral parameter in the template.
`build-options` has been renamed `prompt-ephemeral-parameters` and can
be used to prompt the user to put values for the ephemeral parameters in
the template.
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: defelmnq <yvincent@coder.com >
2024-10-16 23:54:12 +02:00
Vincent Vielle
ccbb687ca0
feat(cli): extend duration to longer units ( #15040 )
...
This PR is a proposal to improve the situation described in #14750
For some precise commands - we would like to be able to use durations
bigger than hours, minutes..
This PR extends the Duration proposed by Go with :
- `d` - a day or 24hours.
- `y` - a year or 365 days.
I also removed the default value for lifetime and instead fetch the
maxLifetime value from codersdk - so by default if no value set we use
the value defined in the config.
2024-10-16 17:02:56 +02:00
Cian Johnston and Edward Angert
29763b1b4c
chore(docs): add notes regarding provisioner tags and untagged jobs ( #15081 )
...
Relates to https://github.com/coder/coder/issues/15047
---------
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-16 09:22:39 +01:00
Sas Swart
75b5d71216
fix(docs): fix a typo in the devcontainer documentation ( #15102 )
...
This PR fixes a minor typo in our documentation:
https://coder.com/docs/admin/templates/managing-templates/devcontainers
2024-10-16 10:05:31 +02:00
Cian Johnston
06a40185cb
chore(examples): add missing devcontainer templates to examples.go ( #15080 )
2024-10-15 17:26:42 +01:00
Cian Johnston
89ff48744c
chore(docs): fix broken or missing links ( #15085 )
...
Fixes a number of TODOs and broken links.
2024-10-15 16:50:49 +01:00
Stephen Kirby and Muhammad Atif Ali
531565645f
chore(docs): make version support more explicit ( #14785 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-14 18:05:25 +00:00
88c6a75d48
docs: reorganize and edit docs README ( #14706 )
...
Edit the docs readme for consistency and better flow
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-14 13:39:54 -04:00
Bruno Quaresma
9c8ecb82a3
feat(coderd): return agent script timings ( #14923 )
...
Add the agent script timings into the
`/workspacebuilds/:workspacebuild/timings` response.
Close https://github.com/coder/coder/issues/14876
2024-10-14 09:31:03 -03:00
Joobi S B
191449078c
feat: implement feature to support template version while creating workspace using cli ( #14880 )
2024-10-11 18:00:11 +05:00
Muhammad Atif Ali
ab6cb1a787
docs: fix links for revere-proxy docs ( #15026 )
2024-10-10 05:31:19 +00:00
Joobi S B
26df33ac88
docs: explain --rich-parameter-file format ( #14941 )
2024-10-09 09:34:24 +05:00
Muhammad Atif Ali
b815fcc150
chore(docs): fix a wrong link in v2.0.0 changelog ( #14994 )
2024-10-07 12:38:44 +05:00
Muhammad Atif Ali
999ae7ba56
chore(docs): fix broken links and update file paths ( #14990 )
2024-10-05 18:08:50 +00:00
Stephen Kirby and Muhammad Atif Ali
9eefd2a636
chore(docs): correct broken links in restructure ( #14989 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-10-05 17:44:02 +00:00
Muhammad Atif Ali
163f96b71a
fix(docs/admin/security): fix broken link of CVE ( #14988 )
2024-10-05 17:21:27 +00:00
419eba5fb6
docs: restructure docs ( #14421 )
...
Closes #13434
Supersedes #14182
---------
Co-authored-by: Ethan <39577870+ethanndickson@users.noreply.github.com >
Co-authored-by: Ethan Dickson <ethan@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
Co-authored-by: Stephen Kirby <58410745+stirby@users.noreply.github.com >
Co-authored-by: Stephen Kirby <me@skirby.dev >
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2024-10-05 10:52:04 -05:00
Danielle Maywood
4369f2b4b5
feat: implement api for "forgot password?" flow ( #14915 )
...
Relates to https://github.com/coder/coder/issues/14232
This implements two endpoints (names subject to change):
- `/api/v2/users/otp/request`
- `/api/v2/users/otp/change-password`
2024-10-04 11:53:25 +01:00
Spike Curtis
3d87f78ce5
docs: add statement about minimum network quality ( #14745 )
...
We've had some reports about difficulty connecting to workspaces under very challenging networking conditions. This PR adds some advice about minimum network quality when connecting to workspaces with Coder.
2024-10-03 16:37:05 +04:00
Roger Chao
b4f26a8c78
docs: fix to provisioners.md to add a missing character ( #14937 )
...
Changed yaml example references from provisioneraemon: to
provisionerDaemon:
2024-10-02 17:50:08 -04:00
Stephen Kirby
3a48ba798d
chore: set 2.13.x to "Not Supported" in release calendar ( #14936 )
2024-10-02 16:43:24 -05:00
Stephen Kirby
a7d44150a8
docs: bump stable version to v2.15.1 ( #14927 )
...
This PR was automatically created by the [release
script](https://github.com/coder/coder/blob/main/scripts/release.sh ).
Please review the changes and merge if they look good and the release is
complete.
You can follow the release progress
[here](https://github.com/coder/coder/actions/workflows/release.yaml )
and view the published release
[here](https://github.com/coder/coder/releases/tag/v2.15.1 ) (once
complete).
2024-10-02 16:14:40 -05:00
Marcin Tojek
0aa84b18a1
feat: expose Markdown fields in webhook payload ( #14931 )
...
Fixes: https://github.com/coder/coder/issues/14930
2024-10-02 15:38:22 +02:00
Stephen Kirby
5507b58fe7
chore(docs): bump stable version ( #14926 )
2024-10-01 17:16:13 -05:00