Colin Adler
a54de6093b
feat: add coder ping ( #6161 )
2023-02-13 10:38:00 -06:00
Mathias Fredriksson
2157bff13f
fix: Clean up conn on NewStream error in memDRPC ( #6182 )
2023-02-13 17:27:10 +02:00
Mathias Fredriksson
d355783faa
test: Fix cli delete test ( #6183 )
...
We were waiting for Cleaning Up which never appeared:
https://github.com/coder/coder/actions/runs/4163971602/jobs/7205007285
2023-02-13 14:54:38 +00:00
Marcin Tojek
a064678b8a
fix: Update flake.lock to fix Go build ( #6173 )
2023-02-13 11:05:28 +01:00
Mathias Fredriksson
a56df46d0f
fix: Update github.com/coder/retry to remove initial delay ( #6160 )
2023-02-13 11:54:43 +02:00
Kyle Carberry
c0c83f17b2
fix: follow tailscale idioms for when to update nodes ( #6164 )
2023-02-10 16:59:24 -06:00
Bruno Quaresma
b171cb562c
fix(site): Support underscore files ( #6159 )
2023-02-10 16:52:56 -03:00
Mathias Fredriksson
2dbe00ae44
fix(api): Allow workspace agent coordinate to report disconnect ( #6152 )
2023-02-10 20:23:02 +02:00
Steven Masley
6189035e98
feat: Add option to enable hsts header ( #6147 )
...
* feat: Add option to enable hsts header
* Update golden files
2023-02-10 10:52:49 -06:00
Bruno Quaresma
77afdf71dc
fix(site): Show folders in the template version editor ( #6145 )
2023-02-10 13:22:20 -03:00
Steven Masley
32fbd10a1f
chore: Optimize parial rego execution byte allocations ( #6144 )
...
* chore: Implement benchmark for authorizer.Prepare
Identify time + alloc cost before optimizing
2023-02-10 08:39:45 -06:00
Cian Johnston and Mathias Fredriksson
ab9cba9396
chore: update template examples and docs to install code-server under /tmp ( #6138 )
...
Updates templates examples and docs to pass the --method standalone argument
to code-server install script, and installs code-server under /tmp/code-server.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-02-10 13:36:46 +00:00
Colin Adler
4432cd08d6
chore: update tailscale ( #6091 )
2023-02-09 21:43:18 -06:00
Steven Masley
e6da7afd33
feat: Add cachable authorizer to elimate duplicate rbac calls ( #6107 )
...
* feat: Add cachable authorizer to elimate duplicate rbac calls
Cache is context bound, so only prevents duplicate rbac calls in
the same request context.
2023-02-09 20:14:31 -06:00
Mathias Fredriksson
6f3f7f2937
fix(agent): Allow signal propagation when running as PID 1 ( #6141 )
2023-02-09 23:07:21 +02:00
Steven Masley
af59e2bcfa
chore: Optimize rego policy input allocations ( #6135 )
...
* chore: Optimize rego policy evaluation allocations
Manually convert to ast.Value instead of using generic
json.Marshal conversion.
* Add a unit test that prevents regressions of rego input
The optimized input is always compared to the normal json
marshal parser.
2023-02-09 13:47:17 -06:00
Eric Paulsen
22f6400ea5
helm: add deployment securityContext values ( #6136 )
...
* helm: add deployment securityContext values
* rm: podSecurityContext
2023-02-09 13:26:35 -05:00
Mathias Fredriksson
b46d0d693f
fix: Extend migration fixture test with down and fix 000045 ( #6130 )
2023-02-09 16:59:54 +02:00
Marcin Tojek
049984ce7f
docs: Add missing body parameter ( #6132 )
2023-02-09 14:02:03 +00:00
Bruno Quaresma
4493649d7e
refactor(site): Add bottom spacing to the dashboard layout ( #6084 )
2023-02-08 21:53:42 -03:00
Kyle Carberry
4827d9edb8
fix: increase generated password length resolve flake ( #6116 )
v0.17.1
2023-02-08 20:59:07 +00:00
Kyle Carberry
d803bb76d5
feat: automatically open workspaces in vscode in the dir specified ( #6115 )
...
This makes a one-click magical experience not only possible, but really nice too!
2023-02-09 06:38:34 +10:00
Kyle Carberry
2ed0eafd75
feat: add minimum password entropy requirements ( #6090 )
...
* feat: add minimum password entropy requirements
* Fix all the tests
* Fix E2E tests
2023-02-08 14:10:08 -06:00
Marcin Tojek
fe725f76bb
fix: Allow to stop or remove workspaces using rich and old parameters ( #6099 )
...
* fix: Allow to stop or remove workspaces using rich and old parameters
* Fix
2023-02-08 14:09:52 -06:00
Kyle Carberry
1617268859
fix: stop redirecting away from wildcard url ( #6113 )
...
Fixes #6097 .
2023-02-08 13:48:17 -06:00
Steven Masley and Cian Johnston
8dba66c535
chore: Use dbgen in unit test ( #6111 )
...
* chore: Use dbgen in unit test
- organizationparam_test
- templateparam_test
* Use dbgen in all unit tests vs insert methods
* fixup! Use dbgen in all unit tests vs insert methods
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2023-02-08 13:47:05 -06:00
Kira Pilot
7a1731b620
chore: change build audit log string to be clearer ( #6093 )
...
* changed bbuild string
* clean up friendly string
* using Trans component
* general cleanup
* fixed tests
* fix lint
* fixing bolding
* removing dead strings in auditLogRow
* fix tests
2023-02-08 13:06:57 -05:00
Dean Sheather
d60ec3e4bf
feat: add JSON output format to many CLI commands ( #6082 )
2023-02-08 17:09:38 +00:00
Ben Potter
5655ec6862
Revert "fix: open terminal and coder_app in a new tab, not window ( #6044 )" ( #6106 )
...
This reverts commit a655f03a1e .
2023-02-08 15:57:27 +00:00
Ben Potter
0ccab0c420
fix: do not build Packer images on dry runs ( #6105 )
2023-02-08 15:51:16 +00:00
Dean Sheather
b5e5959649
chore: fix flake in create-admin-user test ( #6103 )
2023-02-08 15:36:43 +00:00
Kira Pilot
3da33d23a4
chore: fix status color for redirects on audit page ( #6096 )
2023-02-08 09:40:51 -05:00
Dean Sheather
e17ed9f5e6
chore: diable ironbank image scanning ( #6104 )
2023-02-08 14:40:27 +00:00
Mathias Fredriksson
33f2c8fef5
ci: Fix scripts/release/publish.sh execrelative path ( #6101 )
...
Behavior of `lib.sh` changed in: #5934
2023-02-08 13:32:06 +00:00
Mathias Fredriksson
f6da0a6945
ci: Fix silent missing metadata for release notes ( #6089 )
...
* Fix use of `mapfile < <(cmd)` which silently hid errors
* Fix script paths since `SCRIPT_DIR` changed in `lib.sh`
* Set `GITHUB_TOKEN` in release.yaml
2023-02-08 14:40:52 +02:00
Marcin Tojek
1dc477819e
feat: render Markdown in rich parameter descriptions ( #6098 )
2023-02-08 12:57:12 +01:00
Eric Paulsen and Dean Sheather
f24547ecb1
feat: add iron bank Dockerfile & manifest ( #5934 )
...
* feat: add iron bank Dockerfile & manifest
Co-authored-by: Dean Sheather <dean@deansheather.com >
* add: tfrc file
* mv: ironbank/ /scripts
* fixup! Merge branch 'main' into iron-bank
* feat: add ironbank trivy scanning
* fixup! feat: add ironbank trivy scanning
* fixup! feat: add ironbank trivy scanning
* fixup! feat: add ironbank trivy scanning
* fixup! feat: add ironbank trivy scanning
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-02-07 18:09:33 -05:00
Kyle Carberry
691495d761
feat: add expanded_directory to the agent for extension support ( #6087 )
...
This will enable opening the default `dir` of an agent in
the VS Code extension!
2023-02-07 21:35:09 +00:00
Kyle Carberry
f6effdb63e
fix: redirect the user to the home directory if dir is not set ( #6085 )
...
This was blocking SSH connections from being established if a dir
that wasn't created yet is set.
2023-02-07 20:28:41 +00:00
Colin Adler
bde4ffebe5
docs: add auth paragraph about oidc group sync ( #6064 )
2023-02-07 13:22:02 -06:00
Mathias Fredriksson
c63dcf13c2
fix(dogfood): Enable pipefail for startup_script ( #6017 )
2023-02-07 20:15:09 +02:00
Ben Potter
a5f3f02ef8
fix: duplicate list when updating workspaces ( #6032 )
v0.17.0
2023-02-07 10:26:04 -06:00
Kyle Carberry
e7ebcb54dc
fix: use workspace name when opening links via the terminal ( #6077 )
...
This was using the `<workspace>.<agent>` syntax before, which was invalid.
2023-02-07 09:58:11 -06:00
Ben Potter
c82e38e2d8
docs: using Coder behind a corporate proxy ( #6079 )
...
* docs: using Coder with a corporate proxy
* fix typo
2023-02-07 15:11:03 +00:00
Kira Pilot
4155b085b7
feat: add preset filter for audit logins ( #6066 )
2023-02-07 09:17:06 -05:00
Kyle Carberry
bed37b4208
feat: use wildcard url for local links in the web terminal ( #6070 )
2023-02-07 07:21:06 -06:00
Marcin Tojek
135a4d87f1
fix: use correct migration number ( #6071 )
2023-02-07 10:28:44 +01:00
Marcin Tojek
b86bce8494
feat!: Validate monotonic numbers for rich parameters ( #6046 )
...
* Database changes
* protobuf
* Fix: docs
* workspaces_test
* Validation in coderd
* Fix: resources
* omitempty
* UI changes
* UI tests
* fix
2023-02-07 09:36:13 +01:00
Kyle Carberry
e3ae664a29
fix: add typegen for templateVersionEditorXService ( #6069 )
...
This was borked before, and actually broken!
2023-02-06 20:30:54 -06:00
Kyle Carberry
dd9e1f3d3f
feat: add template editor to the ui ( #5963 )
...
* Add initial editor
* Fix editor file being reset onChange
* Add updating the active build version
* Update nav height
* Add tabs
* Fix title
* Hide timestamps in build logs
* Add create file dialog
* Add validation for empty path
* Hide resources tab
* Fix label names
* Add rename and delete
* Improve UX
* Add padding to the editor
* Add dirty state
* Hide build logs until a build is made
* Add stories
* Add experiment to enable the template editor
* Fix linting errors
* Fix duplicate fields
* Fix theme type
2023-02-07 01:24:04 +00:00