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
Kyle Carberry
71a893764e
chore: remove CreateAnotherUserWithUser ( #6068 )
...
This was not idiomatic Go!
2023-02-06 23:48:21 +00:00
Colin Adler
b81d8464df
fix: audit log query when Postgres TZ isn't UTC ( #6067 )
2023-02-06 21:36:39 +00:00
Ben Potter
d9e22d74ba
fix: wrong URL in rootless podman docs ( #6063 )
2023-02-06 15:32:59 -06:00
Ammar Bandukwala
3724d81413
chore: simplify error handling in template push ( #6065 )
2023-02-06 20:35:48 +00:00
Kira Pilot and Steven Masley
46fe59f5e7
feat: audit login ( #5925 )
...
* added migration for api key resource
* sort of working
* auditing login
* passing the correct user id
* added and fixed tests
* gen documentation
* formatting and lint
* lint
* audit Github oauth and write tests
* audit oauth and write tests
* added defer fn for login error auditing
* fixed test
* feat: audit logout (#5998 )
* Update coderd/userauth.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* fix test
* bypassing diff generation if login/logout
* lint
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2023-02-06 15:12:50 -05:00
Dean Sheather
060eeed5c3
chore: fix depot build pt.2 ( #6059 )
2023-02-07 03:26:29 +10:00
Kyle Carberry
bdddc3e7ae
fix: change auto-start to automatically update workspaces ( #6053 )
...
Fixes #6049 .
2023-02-06 11:12:58 -06:00
Dean Sheather
d6947aeaca
chore: fix depot build ( #6057 )
2023-02-06 16:49:33 +00:00
Dean Sheather
b45c445255
feat: add git to Docker image ( #6034 )
2023-02-07 02:30:35 +10:00
Ben Potter
a655f03a1e
fix: open terminal and coder_app in a new tab, not window ( #6044 )
...
* fix!: open coder_app in a new tab, not window
* terminal too
2023-02-06 10:22:24 -06:00
Dean Sheather
4fe221a700
feat: add flag to disable password auth ( #5991 )
...
Adds a flag --disable-password-auth that prevents the password login
endpoint from working unless the user has the "owner" (aka. site admin)
role.
Adds a subcommand `coder server create-admin-user` which creates a user
directly in the database with the "owner" role, the "admin" role in
every organization, and password auth. This is to avoid lock-out
situations where all accounts have the login type set to an identity
provider and nobody can login.
2023-02-06 14:58:21 +00:00
Ben Potter
968d7e4dc5
docs: rootless podman support ( #6026 )
...
* rootless podman WIP
* docs: rootless podman support
2023-02-06 08:05:38 -06:00
Ben Potter
e70b3f2973
chore: add alias helper to develop.sh ( #6031 )
...
* chore: add alias helper to develop.sh
* restore formatting
* change alias from feedback
2023-02-06 05:02:34 +00:00
Ben Potter
5931d12d4b
chore: use node 16 in dogfood images ( #5939 )
2023-02-05 22:48:41 -06:00
Ben Potter
90bc5d5b5f
docs: add note around offline docs provider versions ( #6018 )
2023-02-06 04:36:20 +00:00
sharkymark
a5e386e54b
chore: remove jetbrains projector web ide docs, examples. specify no support ( #6033 )
2023-02-05 19:40:40 -06:00
Ammar Bandukwala
f096915c27
chore(ci): automatically delete stale branches ( #6036 )
2023-02-04 15:18:11 -06:00
Ammar Bandukwala
a422cc00e8
Stream template upload ( #6035 )
...
Resolves #5718
2023-02-04 20:07:09 +00:00
Steven Masley
77fd34be94
chore: Action consts should actually be typed as an Action ( #6027 )
2023-02-03 20:36:37 +00:00
Steven Masley
b359dbbd8b
chore: Allow RecordingAuthorizer to record multiple rbac authz calls ( #6024 )
...
* chore: Allow RecordingAuthorizer to record multiple rbac authz calls
Prior iteration only recorded the last call. This is required for
more comprehensive testing
2023-02-03 19:03:46 +00:00
Cian Johnston
571f5d0e02
chore: add log_statement=all for test-postgres-docker ( #6025 )
2023-02-03 18:58:31 +00:00
Kyle Carberry
2c2bbcc019
chore: update tests to support fish ( #6023 )
...
* fix: update tests to add fish support
* Track connections for SSH sessions to prevent leaks
* Revert SSH conn handling
2023-02-03 12:25:11 -06:00
Dean Sheather
cf9abe3a6c
feat: add session expiry control flags ( #5976 )
...
Adds --session-duration which lets admins customize the default session
expiration for browser sessions.
Adds --disable-session-expiry-refresh which allows admins to prevent
session expiry from being automatically bumped upon the API key being
used.
2023-02-03 17:38:36 +00:00
mh013370
2285a5e8a0
feat: add ability to deploy extra k8s yamls with helm chart ( #5942 )
2023-02-03 17:32:02 +00:00
Steven Masley
a750b1948b
test: Use database.Now() for UTC in all tests ( #6022 )
...
Fixes a lot of comparison issues with timezones
2023-02-03 17:13:54 +00:00
Mathias Fredriksson
95ff29c2be
test: Fix golden gen for long wd paths ( #6021 )
2023-02-03 18:43:33 +02:00
Bruno Quaresma
dffd7953bc
fix(site): Minor UI fixes related to avatar components ( #6019 )
2023-02-03 13:09:16 -03:00
Kira Pilot
6c90701a73
chore: ignore trend line in storybook ( #6003 )
2023-02-03 09:05:38 -05:00
Steven Masley
aab9e3a0f7
chore: Add more objects to dbgen ( #6013 )
...
* chore: Add WorkspaceApps to dbgen
* GitSSHKey, UserLink, GitAuthLink
2023-02-03 09:34:35 +00:00
Steven Masley
fd2f9dc176
test: Fix unit test to use dbfake over databasefake ( #6014 )
2023-02-03 03:55:26 +00:00
Kyle Carberry
381d6674ca
chore: add install_source to telemetry ( #6008 )
...
This will help determine the number of installs from marketplaces!
2023-02-03 01:30:54 +00:00
Steven Masley
8b424f03c2
chore: Rename databasefake --> dbfake ( #6011 )
2023-02-02 19:28:55 -06:00
Bruno Quaresma and Kyle Carberry
f60f06e2c6
fix(site): Only display fields with redisplay enabled during workspace creation ( #6004 )
...
* fix(site): Only display fields with redisplay_value during workspace creation
* Fix test
---------
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-02-03 01:28:47 +00:00
Steven Masley
2384e9c565
fix: Do not try and write to malformed ssh configs ( #6000 )
...
Abort writing the ssh config if it has:
- Out of order coder headers
- More than 1 of each coder header
- Missing 1 or the other coder header
2023-02-02 19:23:42 -06:00
Ben Potter
c16b93847a
feat: build Packer images every release ( #6009 )
2023-02-03 01:01:06 +00:00
Steven Masley
2478012827
chore: Add organizationmember and parameter gen functions ( #6007 )
2023-02-02 18:24:59 -06:00
Steven Masley
41e52310bf
chore: Add more dbgen functions ( #6005 )
2023-02-02 17:21:29 -06:00
Steven Masley
5fe4819669
chore: Pass through AllowUserCancelWorkspaceJobs value to fake db insert ( #6006 )
2023-02-02 23:08:57 +00:00
Kyle Carberry
a5e8911d67
fix: index template versions by template and name ( #5993 )
...
* fix: index template versions by template and name
We were incorrectly returning template versions by name relative
to organizations. This could result in an incorrect version being
returned if multiple templates had versions with the same name.
* Fix auth referencing
* Fix route location
* Fix authorize route name
* Fix previous call
* Fix authorize route name
2023-02-02 15:47:53 -06:00
Bruno Quaresma
ea7e55fcf9
refactor(site): Adjust icon sizes and show password btn in login page ( #5992 )
2023-02-02 18:28:30 -03:00
Bruno Quaresma
9ff313a260
refactor(site): Remove version and add template link in workspaces page ( #5990 )
2023-02-02 18:27:56 -03:00