Garrett Delfosse
a89d6909b2
fix: show help on wraper commands ( #4402 )
2022-10-06 20:15:28 +00:00
Kyle Carberry
d275331c13
fix: Remove audit warning if unlicensed ( #4387 )
...
Fixes #4383 .
2022-10-06 08:48:44 -05:00
Garrett Delfosse
b65c555dfc
fix: warn user if not entitled feature is enabled ( #4377 )
2022-10-05 17:45:05 +00:00
Garrett Delfosse
ffbaa93722
feat: add experimental flag ( #4364 )
2022-10-04 19:45:00 +00:00
Garrett Delfosse
738a38d71f
chore: remove resources calls ( #4344 )
2022-10-03 21:01:13 +00:00
Kyle Carberry
46f194e7f1
fix: Output help on license subcommand ( #4338 )
...
Fixes #4314 .
2022-10-03 12:30:18 -05:00
Garrett Delfosse
69c73b2d28
feat: workspace quotas ( #4184 )
2022-09-30 14:01:20 -04:00
Ammar Bandukwala
ee4b934601
Add Users Last Seen At ( #4192 )
2022-09-26 15:31:03 +00:00
Kyle Carberry
112eaf80d1
fix: Add logging to Terraform install ( #4191 )
...
Fixes #4129 .
2022-09-24 14:55:17 -05:00
Dean Sheather
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
Kyle Carberry
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
Kyle Carberry
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
Colin Adler
5de6f86959
feat: trace httpapi.{Read,Write} ( #4134 )
2022-09-21 17:07:00 -05:00
Colin Adler
5e2efb68f1
feat: add SCIM provisioning via Okta ( #4132 )
...
Co-authored-by: Ben Potter <ben@coder.com>
2022-09-20 15:16:26 -05:00
Kyle Carberry
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
Kyle Carberry
850a83097c
feat: Allow deleting users ( #4028 )
...
* Add deleted column to the users table
* Fix user indexes
* Add frontend
* Add test
2022-09-12 23:24:20 +00:00
Colin Adler
4e26e325a6
feat: add auditing to user routes ( #3961 )
2022-09-08 21:16:16 -05:00
Spike Curtis
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
Colin Adler
3d6d51fbd0
feat: audit log api ( #3898 )
2022-09-07 16:38:19 +00:00
Spike Curtis
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
Kyle Carberry
05e2806ff3
feat: Add profile pictures to OAuth users ( #3855 )
...
This supports GitHub and OIDC login for profile pictures!
2022-09-04 11:44:27 -05:00
Colin Adler
55c13c8ff9
chore: fully implement enterprise audit pkg ( #3821 )
2022-09-02 16:42:28 +00:00
Ammar Bandukwala
04b03792cb
feat: add last used to Workspaces page ( #3816 )
2022-09-02 00:08:51 +00:00
Colin Adler
00da01fdf7
chore: rearrange audit logging code into enterprise folder ( #3741 )
2022-08-31 21:12:54 +00:00
Kyle Carberry
6644e951d8
fix: Scope error to test functions to fix TestFeaturesService race ( #3765 )
...
Fixes #3747 .
2022-08-30 19:17:57 -05:00
Spike Curtis
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
Spike Curtis
779c446a6e
cli prints license warnings ( #3716 )
...
* cli prints license warnings
Signed-off-by: Spike Curtis <spike@coder.com>
* Satisfy the linter
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
2022-08-29 11:30:06 -07:00
Spike Curtis
23f61fce2a
CLI: coder licensese delete ( #3699 )
...
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
2022-08-26 08:15:46 -07:00
Spike Curtis
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
Dean Sheather
14a9576b77
Auto import kubernetes template in Helm charts ( #3550 )
2022-08-26 05:32:35 +10:00
Spike Curtis
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
Spike Curtis
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
Spike Curtis
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
Spike Curtis
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
Spike Curtis
184f0625e1
coder licenses add CLI command ( #3632 )
...
* coder licenses add CLI command
Signed-off-by: Spike Curtis <spike@coder.com>
* Fix up lint
Signed-off-by: Spike Curtis <spike@coder.com>
* Fix t.parallel call
Signed-off-by: Spike Curtis <spike@coder.com>
* Code review improvements
Signed-off-by: Spike Curtis <spike@coder.com>
* Lint
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
2022-08-23 13:55:39 -07:00
Spike Curtis
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
Spike Curtis
5817c6ac7f
Build enterprise coder binary by default ( #3517 )
...
* Build enterprise coder binary by default
Signed-off-by: Spike Curtis <spike@coder.com>
* Add --agpl to develop.sh
Signed-off-by: Spike Curtis <spike@coder.com>
* Add --agpl flag to archive.sh
Signed-off-by: Spike Curtis <spike@coder.com>
* shell format
Signed-off-by: Spike Curtis <spike@coder.com>
* Move AGPL back to LICENSE, explain enterprise license is forthcoming
Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
2022-08-17 09:02:25 -07:00