dependabot[bot]
2e6dbd18b3
chore: bump github.com/moby/moby from 27.1.1+incompatible to 27.2.0+incompatible ( #14526 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 10:48:01 +00:00
Danielle Maywood
1958436b1d
chore: replace AlecAivazis/survey with charmbracelet/bubbletea ( #14475 )
...
Replaces the unmaintained https://github.com/AlecAivazis/survey library with https://github.com/charmbracelet/bubbletea .
2024-09-04 11:38:08 +01:00
Cian Johnston
2ed88d593a
ci: disable update-flake in PRs ( #14554 )
2024-09-04 10:18:18 +00:00
Cian Johnston
5366f2576f
fix(provisionerd/runner): do not log entire resources ( #14538 )
...
fix(coderd/workspaceagentsrpc): do not log entire agent
fix(provisionerd/runner): do not log entire resources
2024-09-04 10:23:34 +01:00
Ethan
8f85464fe6
feat(codersdk): export name validators ( #14551 )
2024-09-04 08:34:39 +00:00
Ethan
01a904c133
feat(codersdk): export name validators ( #14550 )
...
* feat(codersdk): export name validators
* review
2024-09-04 18:17:53 +10:00
Jaayden Halko
093d243811
feat: add resource-action pills to custom roles table ( #14354 )
...
* feat: add resource-action pills to custom roles table
* fix: remove permission from theme and change name to colorRoles
* fix: revert name from colorRoles to roles
* fix: format
* fix: custom role with no permissions
* feat: extract permissions pull list component and add tests
* chore: undo color roles name change
* feat: add experimental pill colors
* fix: format
* chore: update experiment name
* chore: cleanup
2024-09-03 16:39:18 -04:00
Phorcys
44210631cd
chore(docs): correct inaccuracies in the "Docker in Workspaces" page ( #14546 )
2024-09-03 20:50:39 +02:00
Bruno Quaresma
242b1ea4ca
fix(site): fix agent logs streaming for third party apps ( #14541 )
2024-09-03 15:01:02 -03:00
dependabot[bot]
fcb0ce1f1b
chore: bump cronstrue from 2.43.0 to 2.50.0 in /site ( #14512 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.43.0 to 2.50.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.43.0...v2.50.0 )
---
updated-dependencies:
- dependency-name: cronstrue
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-09-03 11:46:23 -06:00
Stephen Kirby
5cffac29da
chore(docs): add version updates and vscode extensions doc path ( #14542 )
...
* docs fixups for 2.15
* release-calendar
2024-09-03 17:28:40 +00:00
Steven Masley
7c8c02733d
chore: disallow sdk imports from the db package, switch enum to string( #14539 )
...
* chore: disallow sdk imports from the db package
* convert to string
2024-09-03 10:32:33 -05:00
dependabot[bot] and Muhammad Atif Ali
48430625a0
ci: bump crate-ci/typos from 1.24.1 to 1.24.3 in the github-actions group ( #14521 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Atif Ali <atif@coder.com >
2024-09-03 17:17:12 +05:00
Marcin Tojek
c74fed11ac
fix: add missing down migration ( #14536 )
2024-09-03 13:04:06 +02:00
Danny Kopping
f23a05075e
feat: support optional SMTP auth ( #14533 )
2024-09-03 11:51:34 +02:00
Spike Curtis
0eca1fcb8b
fix: fix TestPendingUpdatesMetric flaky assertion ( #14534 )
2024-09-03 13:47:34 +04:00
dependabot[bot]
2f18f4583b
chore: bump github.com/gohugoio/hugo from 0.131.0 to 0.133.1 ( #14523 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 09:45:36 +00:00
dependabot[bot]
1d331dd049
chore: bump github.com/coder/serpent from 0.7.1-0.20240822034013-1b2301f8c920 to 0.8.0 ( #14522 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 14:32:27 +05:00
dependabot[bot]
aa4a6f89ba
chore: bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0 ( #14524 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:58:58 +00:00
dependabot[bot]
903993a14a
chore: bump github.com/open-policy-agent/opa from 0.67.0 to 0.68.0 ( #14528 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:43:51 +00:00
dependabot[bot]
478121df77
chore: bump github.com/prometheus/common from 0.55.0 to 0.57.0 ( #14527 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:30:11 +00:00
dependabot[bot]
2368f48c1c
chore: bump google.golang.org/grpc from 1.65.0 to 1.66.0 ( #14525 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:17:50 +00:00
dependabot[bot]
4c8a560e19
chore: bump github.com/go-chi/httprate from 0.12.0 to 0.14.1 ( #14503 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 13:03:36 +05:00
Spike Curtis
4eac2acede
fix: stop reporting future licenses as errors ( #14492 )
2024-09-03 09:22:46 +04:00
Spike Curtis
5bd5801286
fix: allow posting licenses that will be valid in future ( #14491 )
2024-09-03 09:09:38 +04:00
Stephen Kirby and Danny Kopping
0785b77d0b
Minor fixups, added troubleshooting ( #14519 ) ( #14530 )
...
(cherry picked from commit 66c8060605 )
Co-authored-by: Danny Kopping <danny@coder.com >
2024-09-02 14:47:38 -05:00
Danny Kopping
66c8060605
Minor fixups, added troubleshooting ( #14519 )
2024-09-02 16:10:54 +02:00
dependabot[bot]
741d60a25e
chore: bump google.golang.org/api from 0.192.0 to 0.195.0 ( #14504 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 16:16:43 +05:00
dependabot[bot]
3a8424ea23
chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.66.0 to 1.67.0 ( #14429 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:35:55 +05:00
dependabot[bot]
92253d0f52
chore: bump the emotion group across 1 directory with 2 updates ( #14508 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:35:33 +05:00
dependabot[bot]
7d15aad11a
chore: bump eslint-config-next from 14.2.6 to 14.2.7 in /offlinedocs ( #14510 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:35:18 +05:00
Ethan
e5d4f3557b
chore: only show license expiry warning for deployment admins ( #14488 )
2024-09-02 17:54:39 +10:00
dependabot[bot]
faf245234f
ci: bump crate-ci/typos from 1.23.6 to 1.24.1 in the github-actions group ( #14431 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 05:22:39 +00:00
dependabot[bot]
c9fcab3717
chore: bump github.com/fergusstrange/embedded-postgres from 1.28.0 to 1.29.0 ( #14430 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 10:15:52 +05:00
dependabot[bot]
ead8fae63d
chore: bump framer-motion from 10.17.6 to 10.18.0 in /offlinedocs ( #14290 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 10:02:00 +05:00
Steven Masley
0ef85147cd
chore: match templates search error with workspace search error ( #14479 )
...
* chore: make templates search error the same as workspaces
2024-08-30 15:14:59 -05:00
Cian Johnston
0f8251be41
feat(coderd/database/dbpurge): retain most recent agent build logs ( #14460 )
...
Updates the `DeleteOldWorkspaceAgentLogs` to:
- Retain logs for the most recent build regardless of age,
- Delete logs for agents that never connected and were created before
the cutoff for deleting logs while still retaining the logs most recent build.
2024-08-30 17:39:09 +01:00
Steven Masley
10c958bba1
chore: implement organization sync and create idpsync package ( #14432 )
...
* chore: implement filters for the organizations query
* chore: implement organization sync and create idpsync package
Organization sync can now be configured to assign users to an org based on oidc claims.
2024-08-30 11:19:36 -05:00
Danny Kopping
043f4f5327
docs: add documentation for notifications feature ( #14478 )
2024-08-30 17:30:06 +02:00
Mathias Fredriksson
13e5c51c30
chore(dogfood): optimize dockerfile for envbuilder cache probing ( #14497 )
2024-08-30 17:54:19 +03:00
Danny Kopping
9596f236c1
fix: use negative deadline to ensure timeout in TestWebhook/timeout ( #14498 )
2024-08-30 16:46:13 +02:00
Danny Kopping
0f414a00d3
fix: restore closing SMTP message on method exit ( #14496 )
2024-08-30 13:03:25 +02:00
Cian Johnston
a74273f1fd
chore(coderd/database/dbpurge): replace usage of time.* with quartz ( #14480 )
...
Related to #10576
This PR introduces quartz to coderd/database/dbpurge and updates the following unit tests to make use of Quartz's functionality:
- TestPurge
- TestDeleteOldWorkspaceAgentLogs
Additionally, updates DeleteOldWorkspaceAgentLogs to replace the hard-coded interval with a parameter passed into the query. This aids in testing and brings us a step towards allowing operators to configure the cutoff interval for workspace agent logs.
2024-08-30 11:55:47 +01:00
Danny Kopping
c90be9b0c1
fix: correctly close SMTP message and await response ( #14495 )
2024-08-30 11:37:50 +02:00
Ethan
851df91991
fix: serve test derp map locally ( #14490 )
2024-08-30 18:43:51 +10:00
Ethan
628750232f
fix: delete workspace agent stats after 180 days ( #14489 )
...
Fixes #13430 .
The test for purging old workspace agent stats from the DB was consistently failing when ran with Postgres towards the end of the month, but not with the in-memory DB.
This was because month intervals are calculated differently for `time.Time` and the `interval` type in Postgres:
```
ethan=# SELECT
'2024-08-30'::DATE AS original_date,
('2024-08-30'::DATE - INTERVAL '6 months') AS sub_date;
original_date | sub_date
---------------+---------------------
2024-08-30 | 2024-02-29 00:00:00
(1 row)
```
Using `func (t Time) AddDate(years int, months int, days int) Time`, where `months` is `-6`:
```
Original: 2024-08-30 00:00:00 +0000 UTC
6 Months Earlier: 2024-03-01 00:00:00 +0000 UTC
```
Since 6 months was chosen arbitrarily, we should be able to change it to 180 days, to remove any ambiguity between the in-memory DB, and the Postgres DB. The alternative solution would involve implementing Postgres' month interval algorithm in Go.
The UI only shows stats as old as 168 days (24 weeks), so a frontend change isn't required for the extra days of stats we lose in some cases.
2024-08-30 18:30:04 +10:00
Kayla Washburn-Love
4672849d05
chore: clean up usage of Object.keys ( #14484 )
2024-08-29 17:21:29 -06:00
Kayla Washburn-Love
d2a22c538b
chore: add more stories and use new groups query for user settings page ( #14481 )
2024-08-29 17:00:12 -06:00
Kayla Washburn-Love
6bc93520c4
fix: fix light mode styles for organization delete button ( #14485 )
2024-08-29 16:10:31 -06:00
Asher
cd38e297b6
fix: make non-existent asset paths return a 404 ( #14472 )
...
Before, if a file was not found we would serve the app.
This would cause either the login page or the workspace
page to load (and consequently error because `assets` is
likely not a valid user).
2024-08-29 13:52:08 -08:00