Steven Masley
8c33b028d2
chore: include all templates in cli template list ( #13841 )
...
* chore: cli template list includes all templates
Shows all accessible templates from all organizations
2024-07-09 11:04:16 -05:00
Eric Paulsen
266913a357
fix: remove templates plan docs ( #13824 )
...
* fix: remove templates plan docs
* make gen
* make update-golden-files
2024-07-09 14:27:34 +00:00
Mathias Fredriksson
ac6db5edf9
feat(cli): show information about --wait=no for ssh ( #13847 )
...
Fixes #11923
2024-07-09 14:32:52 +03:00
Mathias Fredriksson
54055dc4cc
fix(cli): prevent asynchronous print of version mismatch in config-ssh ( #13845 )
2024-07-09 14:32:08 +03:00
Mathias Fredriksson
978364bd3e
fix(cli): do not overwrite repeated SSH options in config-ssh ( #13819 )
...
Fixes #11593
2024-07-09 09:44:56 +03:00
Danny Kopping
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
Ethan
a110d18275
chore: add DRPC tailnet & cli network telemetry ( #13687 )
2024-07-03 15:23:46 +10:00
Steven Masley
bde9fd58ea
chore: add organization name to workspaces ( #13755 )
...
* chore: add organization name to workspaces
2024-07-02 09:25:05 -05:00
Steven Masley
128674918b
chore: include organization name when fetching templates ( #13751 )
...
* chore: include organization name when fetching templates
* chore: rename template_with_user to template_with_names
2024-07-02 09:08:30 -05:00
Steven Masley
abc0ff9689
chore: remove database import from cli ( #13756 )
...
Cli was using a utility function from a database package.
2024-07-01 21:58:23 +00:00
Steven Masley
5bf46f360a
chore: remove org context switcher in the cli ( #13674 )
...
* chore: remove org context switcher in the cli
2024-07-01 16:04:45 -05:00
Steven Masley
5a0afd8b7e
chore: revert to default survey templates ( #13690 )
...
Revert to the default template provided by the package. Includes all fields like the "Message" field. Our template omits headers and keybind helpers.
2024-06-27 05:32:12 -10:00
Steven Masley
22f2c6da4f
chore: add command to render all existing cli prompts ( #13689 )
...
Adds a command to render all the existing cli prompts we use. This is to validate a change to how our cli ui prompts look.
2024-06-27 05:20:15 -10:00
Cian Johnston
8a3592582b
feat: add "Full Name" field to user creation ( #13659 )
...
Adds the ability to specify "Full Name" (a.k.a. Name) when
creating users either via CLI or UI.
2024-06-26 09:00:42 +01:00
Garrett Delfosse
fed668b432
chore: switch ssh session stats based on experiment ( #13637 )
2024-06-25 10:58:45 -04:00
Steven Masley
e4333c0433
chore: 'coder login' reset cli organization context ( #13646 )
...
Cli organization context is reset on `coder login` if the organization
selected is an invalid organization.
2024-06-24 12:55:39 -05:00
Steven Masley
75e7213ac2
feat: add cli command to remove organization member ( #13619 )
2024-06-21 10:35:59 -05:00
Steven Masley
c4656d77cc
chore: add help to error to reset organization context ( #13616 )
2024-06-20 16:44:47 -05:00
Steven Masley
8e06ad46d0
chore: add organization member api + cli ( #13577 )
2024-06-20 09:19:24 -05:00
Kyle Carberry
7049d7a881
fix: display trial errors in the dashboard ( #13601 )
...
* fix: display trial errors in the dashboard
The error was essentially being ignored before!
* Remove day mention in product of trial
* fmt
2024-06-19 12:02:51 -04:00
Kyle Carberry
3a1fa04590
fix: write server config to telemetry ( #13590 )
...
* fix: add external auth configs to telemetry
* Refactor telemetry to send the entire config
* gen
* Fix linting
2024-06-18 16:20:21 -04:00
Steven Masley
7d51515f9d
chore: implement assign organization roles from the cli ( #13558 )
...
Basic functionality to assign roles to an organization member via cli.
2024-06-13 14:49:32 -05:00
Spike Curtis
0268c7a659
chore: refactor autobuild/notify to use clock test ( #13566 )
...
Refactor autobuild/notify and tests to use the clock testing library.
I also rewrote some of the comments because I didn't understand them when I was looking at the package.
2024-06-13 16:01:17 +04:00
Spike Curtis
4b0b9b08d5
feat: add interfaces report to support bundle ( #13563 )
2024-06-13 13:09:54 +04:00
Spike Curtis
fc09077b7b
feat!: add interface report to coder netcheck ( #13562 )
...
re: #13327
Adds local interfaces to `coder netcheck` and checks their MTUs for potential problems.
This is mostly relevant for end-user systems where VPNs are common. We _could_ also add it to coderd healthcheck, but until I see coderd connecting to workspaces over a VPN in the wild, I don't think its worth the UX effort.
Netcheck results get the following:
```
"interfaces": {
"error": null,
"severity": "ok",
"warnings": null,
"dismissed": false,
"interfaces": [
{
"name": "lo0",
"mtu": 16384,
"addresses": [
"127.0.0.1/8",
"::1/128",
"fe80::1/64"
]
},
{
"name": "en8",
"mtu": 1500,
"addresses": [
"192.168.50.217/24",
"fe80::c13:1a92:3fa5:dd7e/64"
]
}
]
}
```
_Technically_ not back compatible if anyone is parsing `coder netcheck` output as JSON, since the original output is now under `"derp"` in the output.
2024-06-13 10:19:36 +04:00
Steven Masley
d0fc81a51c
chore: implement cli list organization members ( #13555 )
...
example cli command:
`coder organization members`
2024-06-12 10:07:12 -10:00
Steven Masley
de9e6889bb
chore: merge organization member db queries ( #13542 )
...
Merge members queries into 1 that also joins in the user table for username.
Required to list organization members on UI/cli
2024-06-12 09:23:48 -10:00
Ethan
a11f8b003b
chore: write speedtest connection updates to stderr ( #13550 )
2024-06-12 07:10:28 +00:00
Steven Masley
5ccf5084e8
chore: create type for unique role names ( #13506 )
...
* chore: create type for unique role names
Using `string` was confusing when something should be combined with
org context, and when not to. Naming this new name, "RoleIdentifier"
2024-06-11 08:55:28 -05:00
Garrett Delfosse
5b9a65e5c1
chore: move Batcher and Tracker to workspacestats ( #13418 )
2024-06-10 15:35:23 -04:00
Marcin Tojek
e96652ebbc
feat: block file transfers for security ( #13501 )
2024-06-10 12:12:23 +00:00
Cian Johnston
48ecee1025
chore(cli): address cli netcheck test flake ( #13492 )
...
* netcheck: removes check for healthy node report in test
* coderd/healthcheck/derphealth: do not override parent context deadline
2024-06-07 10:01:54 +01:00
Cian Johnston
1131772e79
feat(coderd): set full name from IDP name claim ( #13468 )
...
* Updates OIDC and GitHub OAuth login to fetch set name from relevant claim fields
* Adds CODER_OIDC_NAME_FIELD as configurable source of user name claim
* Adds httpapi function to normalize a username such that it will pass validation
* Adds firstName / lastName fields to dev OIDC setup
2024-06-06 13:37:08 +01:00
Steven Masley
8f62311f00
chore: remove organization_id suffix from org_member roles in database ( #13473 )
...
Organization member's table is already scoped to an organization.
Rolename should avoid having the org_id appended.
Wipes all existing organization role assignments, which should not be used anyway.
2024-06-05 11:25:02 -05:00
Ethan
a4bba520a2
feat(cli): add json output to coder speedtest ( #13475 )
2024-06-05 08:31:44 +00:00
Steven Masley
e3206612e1
chore: implement typed database for custom permissions (breaks existing custom roles) ( #13457 )
...
* chore: typed database custom permissions
* add migration to fix any custom roles out there
2024-06-04 09:27:44 -05:00
Marcin Tojek
cd32c42699
fix(cli): inherit provisioner tags from last template version ( #13462 )
2024-06-04 11:59:54 +00:00
Colin Adler
40390ecc30
chore: fix TestServer/Prometheus/DBMetricsDisabled test flake ( #13453 )
...
See: https://github.com/coder/coder/actions/runs/9352137263/job/25739550487#step:5:368
2024-06-03 15:38:59 -05:00
Colin Adler
43ef00401c
chore: linting fixes ( #13450 )
2024-06-03 14:33:37 -05:00
Steven Masley
973cc2b875
chore: add edit organization role to cli ( #13365 )
...
Editing custom org roles from hidden org cli command.
2024-06-03 09:34:10 -05:00
Michael Brewer
bc8126fa45
fix(cli): skip optional coder_external_auth ( #13368 )
...
* fix(cli): skip over coder_external_auth that are optional
* chore: Delete package-lock.json
2024-05-29 17:37:54 +00:00
Spike Curtis
84b3121777
fix: stop logging workspace agent unless verbose ( #13378 )
2024-05-29 08:17:35 +04:00
Spike Curtis
a551aa51ab
fix: respect --disable-direct-connections on coder speedtest ( #13377 )
2024-05-29 08:07:48 +04:00
Steven Masley
1b4ca00428
chore: include custom roles in list org roles ( #13336 )
...
* chore: include custom roles in list org roles
* move cli show roles to org scope
2024-05-23 07:54:59 -10:00
Spike Curtis
b43344b672
feat: use latest gVisor and go 1.22.3 ( #13338 )
2024-05-23 08:22:44 -04:00
Steven Masley
0a86d6d176
chore: expose formatExamples enterprise commands ( #13304 )
...
Exporting it allows enterprise functions to also use it.
2024-05-21 13:26:34 -05:00
Colin Adler
13dd526f11
fix: prevent stdlib logging from messing up ssh ( #13161 )
...
Fixes https://github.com/coder/coder/issues/13144
2024-05-03 22:12:06 +00:00
Michael Brewer
060f023174
feat: mask coder login token to enhance security ( #12948 )
...
* feat(login): treat coder token as a secret
* Update login.go
2024-05-03 17:03:13 -04:00
Steven Masley
94a3e3a563
chore: allow terraform & echo built-in provisioners ( #13121 )
...
* chore: allow terraform & echo built-in provisioners
Built-in provisioners serve all specified types. This allows running terraform, echo, or both in built in.
The cli flag to control the types is hidden by default, to be used primarily for testing purposes.
2024-05-03 10:14:26 -05:00
Spike Curtis
3de737fdc8
fix: start packet capture immediately on speedtest ( #13128 )
...
I initially made this change when hacking wgengine to also capture wireguard packets going into the magicsock, so that we could capture the initial wireguard handshake.
I don't think we should ship that additional capture logic, but... it seems generally useful to capture packets from the get go on speedtest, so that you can see disco and pings before the TCP speedtest session starts.
2024-05-02 19:44:32 +04:00