3120c94c22
feat: add template RBAC/groups ( #4235 )
2022-10-10 15:37:06 -05:00
3049a56355
fix: Use the maximum number of users for a license warning ( #4410 )
...
This was causing a banner on dev.coder.com. But now we have a test!
2022-10-06 20:59:25 -05:00
915bb41ea2
feat: Add trial property to licenses ( #4372 )
...
* feat: Add trial property to licenses
This allows the frontend to display whether the user is on
a trial license of Coder. This is useful for advertising
Enterprise functionality.
* Improve tests for license enablement code
* Add all features property
2022-10-06 19:28:22 -05:00
d275331c13
fix: Remove audit warning if unlicensed ( #4387 )
...
Fixes #4383 .
2022-10-06 08:48:44 -05:00
b65c555dfc
fix: warn user if not entitled feature is enabled ( #4377 )
2022-10-05 17:45:05 +00:00
ffbaa93722
feat: add experimental flag ( #4364 )
2022-10-04 19:45:00 +00:00
738a38d71f
chore: remove resources calls ( #4344 )
2022-10-03 21:01:13 +00:00
69c73b2d28
feat: workspace quotas ( #4184 )
2022-09-30 14:01:20 -04:00
112eaf80d1
fix: Add logging to Terraform install ( #4191 )
...
Fixes #4129 .
2022-09-24 14:55:17 -05:00
6deef06ad2
feat: secure and cross-domain subdomain-based proxying ( #4136 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2022-09-22 22:30:32 +00:00
b77d6bdd91
fix: Panic when loading coordination override ( #4152 )
...
This was broken because of browser-only. This should fix it!
Signed-off-by: Kyle Carberry <kyle@carberry.com >
Signed-off-by: Kyle Carberry <kyle@carberry.com >
2022-09-22 11:03:49 -05:00
7ad4276224
feat: Add browser-only connections to Enterprise ( #4135 )
...
* feat: Add browser-only connections to Enterprise
Fixes #4131 .
* Fix formatting
2022-09-22 15:14:22 +00:00
5de6f86959
feat: trace httpapi.{Read,Write} ( #4134 )
2022-09-21 17:07:00 -05:00
5e2efb68f1
feat: add SCIM provisioning via Okta ( #4132 )
...
Co-authored-by: Ben Potter <ben@coder.com >
2022-09-20 15:16:26 -05:00
db0ba8588e
chore: Refactor Enterprise code to layer on top of AGPL ( #4034 )
...
* chore: Refactor Enterprise code to layer on top of AGPL
This is an experiment to invert the import order of the Enterprise
code to layer on top of AGPL.
* Fix Garrett's comments
* Add pointer.Handle to atomically obtain references
This uses a context to ensure the same value persists through
multiple executions to `Load()`.
* Remove entitlements API from AGPL coderd
* Remove AGPL Coder entitlements endpoint test
* Fix warnings output
* Add command-line flag to toggle audit logging
* Fix hasLicense being set
* Remove features interface
* Fix audit logging default
* Add bash as a dependency
* Add comment
* Add tests for resync and pubsub, and add back previous exp backoff retry
* Separate authz code again
* Add pointer loading example from comment
* Fix duplicate test, remove pointer.Handle
* Fix expired license
* Add entitlements struct
* Fix context passing
2022-09-19 23:11:01 -05:00
4e26e325a6
feat: add auditing to user routes ( #3961 )
2022-09-08 21:16:16 -05:00
ac279b3483
Add periods to end of license warning text. ( #3933 )
...
* Add periods to end of license warning text.
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix tests
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-09-07 17:27:42 +00:00
a7cdec5d39
Feature server implementation ( #3899 )
...
* Feature server implementation
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix imports
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-09-06 18:59:10 +00:00
00da01fdf7
chore: rearrange audit logging code into enterprise folder ( #3741 )
2022-08-31 21:12:54 +00:00
6644e951d8
fix: Scope error to test functions to fix TestFeaturesService race ( #3765 )
...
Fixes #3747 .
2022-08-30 19:17:57 -05:00
cc346afce6
Use licenses to populate the Entitlements API ( #3715 )
...
* Use licenses for entitlements API
Signed-off-by: Spike Curtis <spike@coder.com >
* Tests for entitlements API
Signed-off-by: Spike Curtis <spike@coder.com >
* Add commentary about FeatureService
Signed-off-by: Spike Curtis <spike@coder.com >
* Lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Quiet down the logs
Signed-off-by: Spike Curtis <spike@coder.com >
* Tell revive it's ok
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-29 16:45:40 -07:00
ca3811499e
DELETE license API endpoint ( #3697 )
...
* DELETE license API endpoint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix new lint stuff
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-25 14:04:31 -07:00
14a9576b77
Auto import kubernetes template in Helm charts ( #3550 )
2022-08-26 05:32:35 +10:00
4de1fc8339
CLI: coder licenses list ( #3686 )
...
* Check GET license calls authz
Signed-off-by: Spike Curtis <spike@coder.com >
* CLI: coder licenses list
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-25 08:24:39 -07:00
076c4a0aa8
Fix authz test for GET licenses ( #3681 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-24 12:25:37 -07:00
9e35793b43
Enterprise rbac testing ( #3653 )
...
* WIP refactor Auth tests to allow enterprise
Signed-off-by: Spike Curtis <spike@coder.com >
* enterprise RBAC testing
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix import ordering
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-24 12:05:46 -07:00
c9bce19d88
GET license endpoint ( #3651 )
...
* GET license endpoint
Signed-off-by: Spike Curtis <spike@coder.com >
* SDK GetLicenses -> Licenses
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-24 18:44:22 +00:00
b101a6f3f4
POST license API endpoint ( #3570 )
...
* POST license API
Signed-off-by: Spike Curtis <spike@coder.com >
* Support interface{} types in generated Typescript
Signed-off-by: Spike Curtis <spike@coder.com >
* Disable linting on empty interface any
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
* Enforce unique licenses
Signed-off-by: Spike Curtis <spike@coder.com >
* Renames from code review
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review renames and comments
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-22 15:02:50 -07:00