Danny Kopping
e164b1e71c
feat: add notification preferences database & audit support ( #14100 )
2024-08-05 16:18:45 +02:00
Cian Johnston
49a2880abc
fix(testutil): ensure GetRandomName never returns strings greater tha… ( #14153 )
2024-08-05 15:03:07 +01:00
dependabot[bot]
8acc7f2070
ci: bump crate-ci/typos in the github-actions group ( #14149 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `crate-ci/typos` from 1.23.5 to 1.23.6
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.23.5...v1.23.6 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 15:27:55 +03:00
dependabot[bot]
42336eef4a
chore: bump github.com/gohugoio/hugo from 0.129.0 to 0.131.0 ( #14147 )
...
* chore: bump github.com/gohugoio/hugo from 0.129.0 to 0.131.0
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.129.0 to 0.131.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.129.0...v0.131.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 14:57:30 +03:00
Spike Curtis
dda9c56098
fix: fix TestTailnet/Connect to wait for listener before dialing ( #14148 )
2024-08-05 15:45:46 +04:00
dependabot[bot]
e0351124b2
chore: bump the x group with 4 updates ( #14144 )
...
* chore: bump the x group with 4 updates
Bumps the x group with 4 updates: [golang.org/x/mod](https://github.com/golang/mod ), [golang.org/x/oauth2](https://github.com/golang/oauth2 ), [golang.org/x/sync](https://github.com/golang/sync ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `golang.org/x/mod` from 0.19.0 to 0.20.0
- [Commits](https://github.com/golang/mod/compare/v0.19.0...v0.20.0 )
Updates `golang.org/x/oauth2` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.22.0 )
Updates `golang.org/x/sync` from 0.7.0 to 0.8.0
- [Commits](https://github.com/golang/sync/compare/v0.7.0...v0.8.0 )
Updates `golang.org/x/sys` from 0.22.0 to 0.23.0
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: x
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 14:26:08 +03:00
Bruno Quaresma
ae40f8a82e
chore(site): fix storybook font issue ( #14137 )
2024-08-02 20:08:32 -03:00
Bruno Quaresma
a3c45861bf
chore: upgrade nodejs tooling ( #14134 )
2024-08-02 19:56:12 -03:00
Bruno Quaresma
500a789e05
chore(site): remove proxy menu warnings about using fragment as child ( #14121 )
2024-08-02 18:52:47 -03:00
Jon Ayers
f3ff172979
chore: remove dependency license review ( #14131 )
...
- It's bafflingly buggy and is a source of annoyance for virtually the
whole team.
- Will revisit if we don't have alternatives to catching invalid licenses.
2024-08-02 14:14:14 -04:00
Stephen Kirby
98202b309e
version bumps ( #14128 )
2024-08-02 12:34:50 -05:00
Kayla Washburn-Love
166467caf0
fix: don't require organization_id in body when updating a custom role ( #14102 )
2024-08-02 11:25:00 -06:00
Kyle Carberry
e2cec454bc
fix: check for io.EOF error in derpmap to resolve flake ( #14125 )
...
See: https://github.com/coder/coder/actions/runs/10218717887/job/28275465405?pr=14045
2024-08-02 17:08:47 +00:00
Kyle Carberry and Steven Masley
6e36082b0f
chore: add github.com user id association ( #14045 )
...
* chore: add github.com user id association
This will eventually be used to show an indicator in the UI
to star the repository if you've been using Coder for a while
and have not starred the repo.
If you have, we'll never show a thing!
* gen
* Fix model query
* Fix linting
* Ignore auditing github.com user id
* Add test
* Fix gh url var name
* Update migration
* Update coderd/database/dbauthz/dbauthz.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* Fix updating to when the token changes
* Fix migration
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2024-08-02 12:49:36 -04:00
Bruno Quaresma
4d4d27c509
chore(site): allow pnpm packages license ( #14122 )
2024-08-02 13:02:22 -03:00
Marcin Tojek
6428a766a9
feat: notify when a user account is deleted ( #14113 )
2024-08-02 14:56:54 +02:00
Marcin Tojek
4242fd9c1b
fix: wrong notification group ( #14112 )
2024-08-02 10:00:27 +00:00
Muhammad Atif Ali
7619d1c49a
chore: skip dogfood workflow for dependabot PRs ( #14111 )
2024-08-02 09:32:35 +00:00
Marcin Tojek
76ce460cc4
fix: typo in notification template ( #14108 )
2024-08-02 11:03:11 +02:00
dependabot[bot]
83963b9e61
chore: bump github.com/moby/moby from 26.1.0+incompatible to 27.1.1+incompatible ( #14042 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 10:24:45 +03:00
dependabot[bot]
1d9162dc2f
chore: bump google.golang.org/api from 0.188.0 to 0.190.0 ( #14107 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 09:53:57 +03:00
Muhammad Atif Ali
894020db6a
chore: skip dogfood workflow for dependabot PRs ( #14106 )
2024-08-02 09:39:57 +03:00
dependabot[bot]
78f1cdaebe
chore: bump github.com/fergusstrange/embedded-postgres from 1.27.0 to 1.28.0 ( #14043 )
...
* chore: bump github.com/fergusstrange/embedded-postgres
Bumps [github.com/fergusstrange/embedded-postgres](https://github.com/fergusstrange/embedded-postgres ) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/fergusstrange/embedded-postgres/releases )
- [Commits](https://github.com/fergusstrange/embedded-postgres/compare/v1.27.0...v1.28.0 )
---
updated-dependencies:
- dependency-name: github.com/fergusstrange/embedded-postgres
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 09:28:34 +03:00
Kayla Washburn-Love
7125b37545
feat(site): allow selecting an organization when creating a template ( #14061 )
2024-08-01 18:04:21 -06:00
Steven Masley
a27ac30e11
chore: add sql filter to fetching audit logs ( #14070 )
...
* chore: add sql filter to fetching audit logs
* use sqlc.embed for audit logs
* fix sql query matcher
2024-08-01 12:07:19 -05:00
dependabot[bot] and dependabot[bot]
d23670ad53
chore: bump github.com/open-policy-agent/opa from 0.58.0 to 0.67.0 ( #14040 )
...
* chore: bump github.com/open-policy-agent/opa from 0.58.0 to 0.67.0
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa ) from 0.58.0 to 0.67.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases )
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.58.0...v0.67.0 )
---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-08-01 19:41:44 +03:00
Alex Ivanov
6d3f7fb2a2
chore: update meticulous CI job ( #14073 )
2024-08-01 12:26:44 -04:00
Muhammad Atif Ali
b0eaf4ca94
chore: commit update-flake as @dependabot ( #14091 )
...
Thıs is needed to bypass the dependency check job for dependabot PRs.
https://github.com/coder/coder/blob/1289937eaeac63f27f2856a4374a0fedc5cc0e58/.github/workflows/ci.yaml#L973
The username and email are fetched from a previous dependabot commit.
https://github.com/coder/coder/commit/1289937eaeac63f27f2856a4374a0fedc5cc0e58.patch
2024-08-01 19:24:51 +03:00
dependabot[bot] and dependabot[bot]
a88e1cc5f8
chore: bump github.com/go-chi/httprate from 0.9.0 to 0.12.0 ( #14039 )
...
* chore: bump github.com/go-chi/httprate from 0.9.0 to 0.12.0
Bumps [github.com/go-chi/httprate](https://github.com/go-chi/httprate ) from 0.9.0 to 0.12.0.
- [Release notes](https://github.com/go-chi/httprate/releases )
- [Commits](https://github.com/go-chi/httprate/compare/v0.9.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Update Nix Flake SRI Hash
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-08-01 19:22:23 +03:00
dependabot[bot]
1289937eae
chore: bump alpine from 3.20.1 to 3.20.2 in /scripts ( #14037 )
...
Bumps alpine from 3.20.1 to 3.20.2.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 18:57:37 +03:00
Ethan
956d0cb042
fix: block creating oidc users when oidc has not been configured ( #14064 )
2024-08-01 13:30:10 +10:00
Muhammad Atif Ali and Dean Sheather
7a4737cf76
ci: handle retriggering ci and human authors in update-flake ( #14052 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2024-07-31 16:12:40 +00:00
Kyle Carberry
5d42f4aa7b
fix: run update-flake with PAT to allow workflow runs ( #14067 )
...
See the comment in the code.
2024-07-31 11:43:43 -04:00
Danny Kopping
c3390993dd
chore: update generated files after pnpm upgrade ( #14036 )
2024-07-31 17:23:55 +02:00
Kayla Washburn-Love
bf4b7abf14
chore(coderd): allow creating workspaces without specifying an organization ( #14048 )
2024-07-30 10:44:02 -06:00
Kayla Washburn-Love
56dfc64bb0
fix: don't highlight inactive org in management settings sidebar ( #14059 )
2024-07-30 09:33:22 -06:00
Marcin Tojek
cf1fcab514
feat: notify about created user account ( #14010 )
2024-07-30 15:37:45 +02:00
Cian Johnston
c6fb779c50
chore(scaletest): update dashboard ( #14054 )
2024-07-30 10:47:13 +01:00
dependabot[bot]
c88ea26d7c
ci: bump crate-ci/typos from 1.23.2 to 1.23.5 in the github-actions group ( #14038 )
...
Bumps the github-actions group with 1 update: [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `crate-ci/typos` from 1.23.2 to 1.23.5
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.23.2...v1.23.5 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 11:07:30 +03:00
Kyle Carberry
893169c83b
fix: duplicate tags map in mutation to resolve race ( #14047 )
...
* fix: duplicate tags map in mutation to resolve race
See: https://github.com/coder/coder/actions/runs/10149619748/job/28064952716?pr=14046
* Fix deployment values race
2024-07-30 07:37:13 +00:00
Steven Masley
3209c863b8
chore: authz 'any_org' to return if at least 1 org has perms ( #14009 )
...
* chore: authz 'any_org' to return if at least 1 org has perms
Allows checking if a user can do an action in any organization,
rather than a specific one. Allows asking general questions on the
UI to determine which elements to show.
* more strict, add comments to policy
* add unit tests and extend to /authcheck api
* make field optional
2024-07-29 19:58:48 -05:00
Kyle Carberry
b7102b39af
chore: add script to update flake automatically ( #14046 )
2024-07-29 14:29:22 -04:00
Bruno Quaresma
58b810fb0a
fix: fix dormancy notifications ( #14029 )
2024-07-29 11:20:04 -03:00
dependabot[bot]
22143d3e80
chore: bump github.com/gohugoio/hugo from 0.128.2 to 0.129.0 ( #13966 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.128.2 to 0.129.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.128.2...v0.129.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-27 13:49:05 +00:00
dependabot[bot]
f88a48df26
chore: bump github.com/zclconf/go-cty from 1.14.4 to 1.15.0 ( #13967 )
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.14.4 to 1.15.0.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.14.4...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-27 16:43:54 +03:00
Asher
712662d014
chore: embed audit log in deployment settings page ( #14023 )
...
* Move audit page to /deployment/audit
The existing link remains but will redirect to the new URL.
If multi-org is not enabled, nothing changes.
* Redirect organization audit page to site-wide audit page
* Always wrap audit log filters when in deployment settings
Otherwise the input is teeny tiny and barely fits a few characters.
Normally we only wrap when the screen shrinks. Again, no change
if multi-org is not enabled.
This also makes the filter menus take up available space when
wrapping (*does* apply to non-multi-org setups as well).
* Show audit log details in a tooltip
If multi-org is not enabled, details continue to be shown inline.
2024-07-26 14:12:24 -08:00
Charlie Voiselle
eacdfb9f9c
fix: change time format string from 15:40 to 15:04 ( #14033 )
...
* Change string format to constant value
2024-07-26 17:57:47 -04:00
Asher
d8ddce8628
chore: use latest code-server in examples ( #14030 )
...
Instead, leave a comment describing how to pin the version. This negates
the need to continually update the version in the examples.
2024-07-26 21:53:17 +00:00
Kayla Washburn-Love
d68340b125
feat: manage groups from deployment settings for single-org deployments ( #14016 )
2024-07-26 13:10:13 -06:00
Cian Johnston
68fa34feae
ci: remove ci make concurrency to fix docker image race ( #14027 )
...
This PR removes the `-j` argument to `make` when building and pushing Docker images on merge to main.
Seen here: https://github.com/coder/coder/actions/runs/10108431095/job/27954323032#step:9:119
We ran into this previously in #13769 for the release workflow, but neglected to apply the same change to the CI workflow.
2024-07-26 10:53:18 +01:00