fbd1d7f9a7
feat: notify on successful autoupdate ( #13903 )
2024-07-18 15:19:12 +02:00
b697c6939a
chore: add provisioner key crud apis ( #13857 )
2024-07-16 13:27:12 -04:00
a5e4bf38fe
feat: notify owner about failed autobuild ( #13891 )
2024-07-16 10:48:17 +02:00
b2dab3308d
feat: implement observability of notifications subsystem ( #13799 )
2024-07-11 10:57:49 +02:00
7bb3e0db4a
chore: return organization's display name and icon in templates ( #13858 )
...
* chore: templates return organization display name and icon
* templates api response includes organization display name and icon
2024-07-10 10:06:49 -05:00
bf392ffea4
feat: add killswitch for notifications ( #13794 )
2024-07-10 16:15:06 +02:00
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
128674918b
chore: include organization name when fetching templates ( #13751 )
...
* chore: include organization name when fetching templates
* chore: rename template_with_user to template_with_names
2024-07-02 09:08:30 -05:00
0a221e8d5b
feat: create database tables and queries for notifications ( #13536 )
2024-06-28 09:21:25 +00:00
65b9f9bfd6
chore: audit organization member add/delete/edit ( #13620 )
...
* chore: audit organization member add/removals
2024-06-24 14:19:32 -05:00
28228f1bcb
feat: allow editing org icon ( #13547 )
2024-06-12 12:28:13 -06:00
0d65143301
chore: implement audit log for custom role edits ( #13494 )
...
* chore: implement audit log for custom role edits
2024-06-07 14:11:57 -05:00
7c3b8b6224
chore: duplicate migration file fix, 000216 ( #13498 )
2024-06-06 16:13:00 -05:00
e2b330fcba
chore: change sql parameter for custom roles to be a (name,org_id)
tuple ( #13480 )
...
* chore: sql parameter to custom roles to be a (name,org) tuple
CustomRole lookup takes (name,org_id) tuples as the search criteria.
2024-06-06 15:36:37 -05:00
44a70a5bc2
feat: edit org display names and descriptions ( #13474 )
2024-06-06 10:59:59 -06:00
8f62311f00
chore: remove organization_id suffix from org_member roles in database ( #13473 )
...
Organization member's table is already scoped to an organization.
Rolename should avoid having the org_id appended.
Wipes all existing organization role assignments, which should not be used anyway.
2024-06-05 11:25:02 -05:00
e3206612e1
chore: implement typed database for custom permissions (breaks existing custom roles) ( #13457 )
...
* chore: typed database custom permissions
* add migration to fix any custom roles out there
2024-06-04 09:27:44 -05:00
b248f125e1
chore: rename notification banners to announcement banners ( #13419 )
2024-05-31 10:59:28 -06:00
c61b64be61
feat: add hidden enterprise cmd command to list roles ( #13303 )
...
* feat: add hidden enterprise cmd command to list roles
This includes custom roles, and has a json ouput option for
more granular permissions
2024-05-21 13:14:00 -05:00
b8b80fe6d2
feat: store coder_workspace_tags
in the database ( #13294 )
2024-05-20 13:30:19 +00:00
a63d427efd
chore: add unique org name constraint to db ( #13311 )
2024-05-17 12:40:38 -06:00
cf91eff7cf
chore: implement databased backend for custom roles ( #13295 )
...
Includes db schema and dbauthz layer for upserting custom roles. Unit test in `customroles_test.go` verify against escalating permissions through this feature.
2024-05-16 13:11:26 -05:00
d8e0be6ee6
feat: add support for multiple banners ( #13081 )
2024-05-08 15:40:43 -06:00
e57ca3cdaa
feat(scripts): add script to check schema between migrations ( #13037 )
...
- migrations: allow passing in a custom migrate.FS
- gen/dump: extract some functions to dbtestutil
- scripts: write script to test migrations
2024-04-23 12:43:14 +01:00
fab5591cf6
chore: change site_configs.value
to text
( #13036 )
...
* chore: change `site_configs.value` to `text`
* `make gen`
2024-04-22 17:25:36 -06:00
3aa0d73811
chore: fix down migration 196 ( #13006 )
...
It didn't account for null values.
2024-04-18 18:47:02 -05:00
a231b5aef5
feat: add src_id and dst_id indexes to tailnet_tunnels ( #12911 )
...
Fixes #12780
Adds indexes to the `tailnet_tunnels` table to speed up `GetTailnetTunnelPeerIDs` and `GetTailnetTunnelPeerBindings` queries, which match on `src_id` and `dst_id`.
2024-04-11 10:05:53 +04:00
a3187dc30f
chore: enforce unique linked_ids ( #12815 )
...
* chore: enforce unique linked_ids
Duplicate linked_ids make no sense. 2 users cannot share the same
source user from a provider
2024-04-03 13:17:11 -05:00
d50c20c453
fix(coderd/database): add fk index for workspace_agent_scripts
( #12791 )
2024-03-28 14:31:58 +02:00
04f0510b09
feat(coderd/database): add template_usage_stats
table and rollup query ( #12664 )
...
Add `template_usage_stats` table for aggregating tempalte usage data.
Data is rolled up by the `UpsertTemplateUsageStats` query, which fetches
data from the `workspace_agent_stats` and `workspace_app_stats` tables.
2024-03-22 18:33:34 +02:00
5454f4997b
chore(ci): clean up databases after test finishes in CI ( #12702 )
2024-03-21 14:53:16 +00:00
d789a60d47
chore: remove max_ttl from templates ( #12644 )
...
* chore: remove max_ttl from templates
Completely removing max_ttl as a feature on template scheduling. Must use other template scheduling features to achieve autostop.
2024-03-20 10:37:57 -05:00
9c69672382
fix(migration): removed hardcoded public ( #12620 )
2024-03-16 10:11:14 -04:00
597694fbdd
chore: bump migration file ( #12556 )
2024-03-12 14:55:45 +00:00
e11d3ca0ee
chore: move default everyone group to a migration ( #12435 )
2024-03-12 09:27:36 -05:00
662be56d72
chore: rename migrations to fix main ( #12442 )
2024-03-06 18:28:53 +00:00
b5f866c1cb
chore: add organization_id column to provisioner daemons ( #12356 )
...
* chore: add organization_id column to provisioner daemons
* Update upsert to include organization id on set
2024-03-06 12:04:50 -06:00
46a2ff1061
feat: allow setting port share protocol ( #12383 )
...
Co-authored-by: Garrett Delfosse <garrett@coder.com >
2024-03-06 09:23:57 -05:00
17c486c5e6
chore: ensure default org always exists ( #12412 )
...
* chore: ensure default org always exists
First user just joins the org created by the migration
2024-03-05 14:06:35 -06:00
f74532ff50
feat: audit oauth2 app management ( #12275 )
...
* Audit oauth2 app management
* Use 201 for creating secrets
2024-02-26 23:52:08 +00:00
475c3650ca
feat: add support for optional external auth providers ( #12021 )
2024-02-21 11:18:38 -07:00
4d39da294e
feat: add oauth2 token exchange ( #12196 )
...
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2024-02-20 14:58:43 -09:00
2dac34276a
fix: add postgres triggers to remove deleted users from user_links ( #12117 )
...
* chore: add database test fixture to insert non-unique linked_ids
* chore: create unit test to exercise failed email change bug
* fix: add postgres triggers to keep user_links clear of deleted users
* Add migrations to prevent deleted users with links
* Force soft delete of users, do not allow un-delete
2024-02-20 13:19:38 -06:00
2bf2f88b09
feat: implement 'is_default' org field ( #12142 )
...
The first organization created is now marked as "default". This is
to allow "single org" behavior as we move to a multi org codebase.
It is intentional that the user cannot change the default org at this
stage. Only 1 default org can exist, and it is always the first org.
Closes: https://github.com/coder/coder/issues/11961
2024-02-15 11:01:16 -06:00
7a453608c9
feat: support order
property of coder_agent
( #12121 )
2024-02-15 13:33:13 +01:00
06f3ab1206
chore: add database test fixture to insert non-unique linked_ids ( #12111 )
...
* chore: add database test fixture to insert non-unique linked_ids
2024-02-13 12:06:47 -06:00
3ab3a62bef
feat: add port-sharing backend ( #11939 )
2024-02-13 09:31:20 -05:00
e1e352d8c1
feat: add template activity_bump property ( #11734 )
...
Allows template admins to configure the activity bump duration. Defaults to 1h.
2024-02-13 07:00:35 +00:00
3e68650791
feat: support order
property of coder_app
resource ( #12077 )
2024-02-12 15:11:31 +01:00
c0e169ebf9
feat: support custom order of agent metadata ( #12066 )
2024-02-08 17:29:34 +01:00