00d468b964
feat(cli): add --output={text,json} to version cmd ( #7010 )
...
* feat(cliui): add TextFormat
* feat(cli): add --format={text,json} to version cmd
2023-04-05 13:16:05 +01:00
9c4ccd76a0
fix(coderd)!: add CODER_OIDC_IGNORE_USERINFO configuration option ( #6922 )
...
* add CODER_OIDC_IGNORE_USERINFO option
* chore: update docs for CODER_OIDC_IGNORE_USERINFO w.r.t ADFS
* fix!: codersdk: fix incorrectly named OIDC_GROUP_MAPPING -> CODER_OIDC_GROUP_MAPPING
2023-04-05 09:07:43 +01:00
385a4262e2
fix: remove audit-logging flag from the server ( #6991 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-04-04 12:11:10 -05:00
e33941b7c2
feat: allow disabling autostart and custom autostop for template ( #6933 )
...
API only, frontend in upcoming PR.
2023-04-04 12:48:35 +00:00
083fc89f93
feat: accept immutable parameters when used first time ( #7000 )
...
* Backend fixes
* CLI: adjust update flow
2023-04-04 14:22:46 +02:00
bc18f6c113
fix: add CODER_AGENT_TAILNET_LISTEN_PORT
for specifying a static tailnet port ( #6980 )
...
Fixes #5175 .
2023-04-03 16:20:19 +00:00
4ee01dc95c
fix: remove orphan rbac warning message ( #6979 )
...
The request will fail if the user doesn't have permissions, so it seems
useless to output this.
2023-04-03 11:15:56 -05:00
633dfbdb2e
feat: rich parameters: introduce display_name ( #6919 )
...
* model
* DB
* fix: DisplayName
* proto
* Proto
* Update go dep
* fixme
* fix format
* config
* fmt
* fix
* Fix
* fix
* chore(UI): redirecting from workspace page if 404 (#6880 )
* model
* CLI: Display parameter
* fix
* update dep
* fix
* fix
* fix
* UI changes
* fmt
---------
Co-authored-by: Kira Pilot <kira@coder.com >
2023-04-03 14:37:47 +02:00
c191692751
chore(cli): send help to stdout ( #6865 )
...
Minimizes pesky `2>&1` when working with help.
2023-03-31 18:51:55 +00:00
c2a96bdc7c
fix: compilation failure with (*OptionSet).SetDefaults
...
This slipped through CI due to a merge race.
2023-03-31 18:02:55 +00:00
599699b3a9
fix: truly allow overridding default string array ( #6874 )
2023-03-31 12:12:03 -05:00
96ff400587
chore(clibase): add some more tests for parsing options from env ( #6930 )
2023-03-31 17:21:56 +01:00
5686fc9983
chore: skip chdir template push test on windows ( #6890 )
...
See https://github.com/coder/coder/actions/runs/4565958214/jobs/8057842941
2023-03-30 10:21:13 -05:00
401b9276ae
chore: clone styles to prevent race ( #6888 )
...
See https://github.com/coder/coder/actions/runs/4565541977/jobs/8056830691?pr=6885
2023-03-30 10:18:24 -05:00
1f600fc526
chore: use defer instead of t.Cleanup
for chdir
( #6887 )
...
This _might_ resolve the races in `TestTemplatePush`.
2023-03-30 09:48:03 -05:00
563c3ade06
feat: allow configuring OIDC email claim and OIDC auth url parameters ( #6867 )
...
This commit:
- Allows configuring the OIDC claim Coder uses for email addresses (by default, this is still email)
- Allows customising the parameters sent to the upstream identity provider when requesting a token. This is still access_type=offline by default.
- Updates documentation related to the above.
2023-03-30 09:36:57 +01:00
6981f89cd8
Revert "fix: allow overridding default string array ( #6873 )"
...
This reverts commit 58d650c2bb
.
2023-03-29 20:24:07 -05:00
58d650c2bb
fix: allow overridding default string array ( #6873 )
...
* fix: allow overridding default string array
* Cleanup code
* fixup! Cleanup code
* fixup! Cleanup code
* fixup! Cleanup code
* fixup! Cleanup code
2023-03-30 01:09:20 +00:00
90da09bc2c
chore: Make deployment admin page show better durations ( #6856 )
...
* chore: Make deployment admin page show better durations
Also fix group mappings
2023-03-29 16:26:20 -05:00
872037bf85
feat: allow http2 in coder server
( #6871 )
2023-03-29 14:45:57 -05:00
a8346bd8ea
feat: Allow unsetting ssh config options from deployment ( #6847 )
...
This allows deleting ssh config options
2023-03-28 11:06:42 -05:00
1176256a44
feat: improve CLI error messages ( #6778 )
2023-03-28 16:03:34 +00:00
164528176a
fix(clibase): allow empty values to unset defaults ( #6832 )
2023-03-28 01:58:06 +00:00
773580c7c9
fix: correct minor formatting issues in CLI ( #6813 )
...
* fix: remove excess newlines from server startup
* Don't log benign closed pipe errors
2023-03-28 01:01:25 +00:00
f88f273cd6
fix: resolve template name from working directory "." ( #6822 )
2023-03-27 22:58:20 +00:00
b439c3e167
fix: permit SSH by default when startup script fails ( #6798 )
2023-03-27 14:59:58 +00:00
6c0f37c28e
fix: probably fix lipgloss race condition ( #6784 )
2023-03-24 21:24:51 +02:00
9822745365
fix: accept CODER_AGENT_TOKEN ( #6765 )
2023-03-23 18:38:15 -05:00
2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
cb7375450b
feat: add startup script logs to the ui ( #6558 )
...
* Add startup script logs to the database
* Add coderd endpoints for startup script logs
* Push startup script logs from agent
* Pull startup script logs on frontend
* Rename queries
* Add constraint
* Start creating log sending loop
* Add log sending to the agent
* Add tests for streaming logs
* Shorten notify channel name
* Add FE
* Improve bulk log performance
* Finish UI display
* Fix startup log visibility
* Add warning for overflow
* Fix agent queue logs overflow
* Display staartup logs in a virtual DOM for performance
* Fix agent queue with loads of logs
* Fix authorize test
* Remove faulty test
* Fix startup and shutdown reporting error
* Fix gen
* Fix comments
* Periodically purge old database entries
* Add test fixture for migration
* Add Storybook
* Check if there are logs when displaying features
* Fix startup component overflow gap
* Fix startup log wrapping
---------
Co-authored-by: Asher <ash@coder.com >
2023-03-23 14:09:13 -05:00
df31636e72
feat: pass access_token
to coder_git_auth
resource ( #6713 )
...
This allows template authors to leverage git auth to perform
custom actions, like clone repositories.
2023-03-22 19:37:08 +00:00
5460ab4ba6
chore: switch to new wgtunnel via tunnelsdk ( #6489 )
2023-03-22 13:13:48 +00:00
00860cf1c8
feat: add group mapping option for group sync ( #6705 )
...
* feat: add group mapping option for group sync
* fixup! feat: add group mapping option for group sync
2023-03-21 14:25:45 -05:00
97f77c4507
feat: allow DERP headers to be set ( #6572 )
...
* feat: allow DERP headers to be set
* chore: remove custom flag
* Clone DERP header on client create
* Adjust to use interface to cast headers
---------
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-03-21 18:43:20 +00:00
aaa3b31a0b
chore: add echo helper to create an agent with token ( #6576 )
...
This should reduce some LOC and duplication in tests!
2023-03-21 18:03:38 +00:00
2321160c62
feat: Dbauthz is now default, remove out of experimental ( #6650 )
...
* feat: dbauthz always on, out of experimental
* Add ability to do rbac checks in unit tests
* Remove AuthorizeAllEndpoints
* Remove duplicate rbac checks
2023-03-21 09:10:22 -05:00
db40c29f26
fix: CLI do not ignore autostop ( #6647 )
...
* fix: CLI do not ignore autostop
* make gen
2023-03-17 18:14:46 +01:00
ffca3a5fb3
fix: remove noop templates plan
command ( #6617 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-03-16 21:28:22 +00:00
fe247c86eb
feat: Add deployment side config-ssh options ( #6613 )
...
* feat: Allow setting deployment wide ssh config settings
* feat: config-ssh respects deployment ssh config
* The '.' is now configurable
* Move buildinfo into deployment.go
2023-03-16 13:03:37 -05:00
1f9ae15409
feat: CLI use multiselect for list(string) ( #6631 )
...
* feat: CLI use multiselect for list(string)
* fix
* select ui tests
* cli test
* Fix
* Fix
2023-03-16 17:17:48 +01:00
7076dee522
feat(agent): Add SSH max timeout option for coder agent ( #6596 )
...
* feat(agent): Add SSH max timeout option for coder agent
* Fix lint and update test golden snapshot
2023-03-15 09:08:50 -05:00
a65a16122d
chore: early merge clibase foundations ( #6542 )
2023-03-10 13:41:32 -06:00
4a07fcd9d2
fix: ensure local derp uses the hostname ( #6559 )
...
This broke deployments that use a custom port with an access
URL. We should write a test for this!
2023-03-10 09:58:31 -06:00
7f25d31745
feat: Allow changing the 'group' oidc claim field ( #6546 )
...
* feat: Allow changing the 'group' oidc claim field
* Enable empty groups support
* fix: Delete was wiping all groups, not just the single user's groups
* Update docs
* fix: Dbfake delete group member fixed
2023-03-09 23:31:38 -06:00
11a930e779
!fix: Disallow access urls without valid scheme ( #6548 )
...
Existing deployments will need to prepend a scheme if they have not already.
2023-03-09 21:37:19 -06:00
50432b89be
fix: pass git auth config read from environment through server ( #6540 )
2023-03-09 20:27:54 +00:00
4c2977050d
fix: treat empty env as defaults ( #6538 )
2023-03-09 19:58:58 +00:00
62a64d5a34
fix: remove deprecation warnings when option unset ( #6532 )
...
Resolves #6531
2023-03-09 19:22:21 +00:00
2abae42cec
feat: Ignore agent pprof port in listening ports ( #6515 )
...
* feat: Ignore agent pprof port in listening ports
2023-03-09 10:53:00 -06:00
9d40d2ffdc
fix: remove create first user from the cli message ( #6493 )
...
This adjusts our setup to just show the Web UI, since you
can now create everything from there!
2023-03-09 02:54:46 +00:00