Steven Masley and Kayla Washburn-Love
2c8b264d78
chore: remove multi-organization and custom role experiment ( #14862 )
...
Closes https://github.com/coder/coder/issues/14704
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-09-27 14:06:16 -05:00
Garrett Delfosse
5cc5bbea04
fix: improve provisioner key cli usability ( #14834 )
...
What this changes:
- Unhides the `--key` flag on provisioner start
- Deprecates and hides `provisionerd` command group in favor of
`provisioner(s)`
- Removes org id from `coder provisioner keys list`
2024-09-27 10:34:41 -05:00
Steven Masley
5c977c6be7
chore: rename 'first-organization' to 'coder' ( #14808 )
...
Rename the first-organization original name. Users can change from the
original name.
2024-09-26 13:20:44 -05:00
Ethan
b8944074c4
chore: improve coder server ux ( #14761 )
2024-09-24 13:16:36 +10:00
Garrett Delfosse
50124fefdc
feat: remove org flag requirement for provisioners ( #14722 )
2024-09-20 12:45:31 -04:00
Ethan
37885e2e82
fix: make cli respect deployment --docs-url ( #14568 )
2024-09-18 21:47:53 +10:00
Ethan
fccf6f1e0e
feat!: add --default-token-lifetime ( #14631 )
2024-09-18 21:23:42 +10:00
Steven Masley
d96adad56f
chore: add cli command to fetch group sync settings as json ( #14694 )
...
* chore: add cli command to fetch group sync settings as json
2024-09-17 14:08:33 -05:00
Steven Masley
be516f9686
chore: unhide multi-organization cli commands ( #14693 )
...
* chore: unhide multi-organization cli commands
Multi-org is going into GA, unhide cli commands
2024-09-17 10:22:20 -05:00
Ethan
8f85464fe6
feat(codersdk): export name validators ( #14551 )
2024-09-04 08:34:39 +00: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
Ethan
c597c9260d
fix: wait for provisioner daemon jobs to finish after sigterm ( #14466 )
2024-08-28 20:16:15 +10:00
Ethan
0b2ba96065
feat(cli): add shell completions ( #14341 )
2024-08-20 14:47:46 +10:00
Steven Masley and Jaayden Halko
84fdfd2a18
chore: remove UpsertCustomRole in favor of Insert + Update ( #14217 )
...
* chore: remove UpsertCustomRole in favor of Insert + Update
---------
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com >
2024-08-13 12:53:47 -05:00
Danny Kopping
d79a7adf99
docs: advise against shared CODER_CACHE_DIRECTORY dir usage in note ( #14216 )
2024-08-08 12:42:47 +00:00
Steven Masley
0ad5f6067d
chore: prevent removing members from the default organization ( #14094 )
...
* chore: prevent removing members from the default organization
Until multi-organizations is released outside an experiment, the
experiment should be backwards compatible.
2024-08-05 13:48:10 -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
Kayla Washburn-Love
bf4b7abf14
chore(coderd): allow creating workspaces without specifying an organization ( #14048 )
2024-07-30 10:44:02 -06: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
Garrett Delfosse
6c2336b8e9
chore: shorten provisioner key ( #14017 )
2024-07-25 16:08:12 -05:00
Steven Masley
7ea1a4c686
chore: protect organization endpoints with license ( #14001 )
...
* chore: move multi-org endpoints into enterprise directory
All multi-organization features are gated behind "premium" licenses. Enterprise licenses can no longer
access organization CRUD.
2024-07-25 16:07:53 -05:00
Garrett Delfosse
2279441517
feat: add --key flag to provisionerd start ( #14002 )
2024-07-25 15:26:26 -04:00
Garrett Delfosse
6161d173d3
feat: add tags to provisioner keys api ( #13989 )
2024-07-25 15:20:45 +00:00
Steven Masley
4f01372179
feat: implement disabling oidc issuer checks ( #13991 )
...
* use DANGEROUS prefix and drop a warning log
2024-07-24 16:45:47 -05:00
Garrett Delfosse
ccb5b4df80
chore: move provisioner keys commands into slim build ( #13993 )
2024-07-24 11:30:50 -04:00
Marcin Tojek
b3a3671c6a
fix: use static port number for prometheus test ( #14000 )
2024-07-24 12:54:36 +00:00
Marcin Tojek
dac14fe581
test: skip TestProvisionerDaemon_PrometheusEnabled ( #13996 )
2024-07-24 09:28:53 +02:00
Marcin Tojek
966c888e9d
fix: test: no parallel when starting Prometheus endpoint ( #13981 )
...
* fix: test: no parallel when starting Prometheus endpoint
* fix
2024-07-23 11:31:27 +01:00
Asher
a8e6e89f65
feat: add organization details to audit log response ( #13961 )
...
* Allow creating test audits with nil org
Not all audit entries have organization IDs, so this will allow us to
test those cases.
* Add organization details to audit log queries
* Add organization to audit log response
This replaces the old ID. This is a breaking change but organizations
were not being used before.
2024-07-22 13:28:44 -08:00
Marcin Tojek
40609c26e9
fix: test: do not block Prometheus port ( #13945 )
2024-07-19 16:29:10 +02:00
Danny Kopping
943ea7c52a
feat: add SMTP auth & TLS support ( #13902 )
2024-07-19 09:22:15 +02:00
Garrett Delfosse
6f20a64f9d
chore: add multi-org flag to develop.sh ( #13923 )
2024-07-18 14:43:07 -05:00
Garrett Delfosse
f975701b34
feat: add provisioner key cli commands ( #13875 )
2024-07-18 14:44:20 -04:00
Steven Masley
9cbe2b27e7
chore: create workspaces and templates for multiple orgs ( #13866 )
...
* chore: creating workspaces and templates to work with orgs
* handle wrong org selected
* create org member in coderdtest helper
2024-07-12 15:47:28 -05:00
Danny Kopping
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
Ethan
a110d18275
chore: add DRPC tailnet & cli network telemetry ( #13687 )
2024-07-03 15:23:46 +10:00
Steven Masley
5bf46f360a
chore: remove org context switcher in the cli ( #13674 )
...
* chore: remove org context switcher in the cli
2024-07-01 16:04:45 -05:00
Steven Masley
34c67e8428
test: add unit test helper to create templates in second organizations ( #13628 )
...
* chore: add coderdtest helpers
2024-06-24 12:55:57 -05:00
Kayla Washburn-Love
e987ad1d89
fix: don't allow "new" or "create" as url-friendly names ( #13596 )
2024-06-18 15:36:13 -06:00
Steven Masley
7d51515f9d
chore: implement assign organization roles from the cli ( #13558 )
...
Basic functionality to assign roles to an organization member via cli.
2024-06-13 14:49:32 -05:00
Steven Masley
d0fc81a51c
chore: implement cli list organization members ( #13555 )
...
example cli command:
`coder organization members`
2024-06-12 10:07:12 -10:00
Cian Johnston
1131772e79
feat(coderd): set full name from IDP name claim ( #13468 )
...
* Updates OIDC and GitHub OAuth login to fetch set name from relevant claim fields
* Adds CODER_OIDC_NAME_FIELD as configurable source of user name claim
* Adds httpapi function to normalize a username such that it will pass validation
* Adds firstName / lastName fields to dev OIDC setup
2024-06-06 13:37:08 +01:00
Steven Masley
973cc2b875
chore: add edit organization role to cli ( #13365 )
...
Editing custom org roles from hidden org cli command.
2024-06-03 09:34:10 -05:00
Steven Masley
1b4ca00428
chore: include custom roles in list org roles ( #13336 )
...
* chore: include custom roles in list org roles
* move cli show roles to org scope
2024-05-23 07:54:59 -10:00
Steven Masley
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
Steven Masley
09f00c08df
chore: shutdown provisioner should stop waiting on client ( #13118 )
...
* chore: shutdown provisioner should stop waiting on client
* chore: add unit test that replicates failed client conn
2024-05-03 10:15:17 -05:00
Kayla Washburn-Love
74f27719b8
feat: specify a custom "terms of service" link ( #13068 )
2024-04-25 16:36:51 -06:00
Kyle Carberry
03ab37b343
chore: remove middleware to request version and entitlement warnings ( #12750 )
...
This cleans up `root.go` a bit, adds tests for middleware HTTP transport
functions, and removes two HTTP requests we always always performed previously
when executing *any* client command.
It should improve CLI performance (especially for users with higher latency).
2024-03-25 15:01:42 -04:00
Colin Adler
37a05372fa
fix: disable relay if built-in DERP is disabled ( #12654 )
...
Fixes https://github.com/coder/coder/issues/12493
2024-03-21 16:53:41 -05:00
Cian Johnston
5454f4997b
chore(ci): clean up databases after test finishes in CI ( #12702 )
2024-03-21 14:53:16 +00:00