Addison Beck
b877c25234
Implemented tax collection for subscriptions ( #1017 )
...
* Implemented tax collection for subscriptions
* Cleanup for Sales Tax
* Cleanup for Sales Tax
* Changes a constraint to an index for checking purposes
* Added and implemented a ReadById method for TaxRate
* Code review fixes for Tax Rate implementation
* Code review fixes for Tax Rate implementation
* Made the SalesTax migration script rerunnable
2020-12-04 12:05:16 -05:00
Addison Beck
25a9991908
Implement User-based API Keys ( #981 )
...
* added column ApiKey to dbo.User
* added dbo.User.ApiKey to User_Update
* added dbo.User.ApiKey to User_Create
* wrote migration script for implementing dbo.User.ApiKey
* Added ApiKey prop to the User table model
* Created AccountsController method for getting a user's API Key
* Created AccountsController method for rotating a user API key
* Added support to ApiClient for passed-through ClientSecrets when the request comes from the cli
* Added a new conditional to ClientStore to account for user API keys
* Wrote unit tests for new user API Key methods
* Added a refresh of dbo.UserView to new migration script for ApiKey
* Let client_credentials grants into the custom token logic
* Cleanup for ApiKey auth in the CLI feature
* Created user API key on registration
* Removed uneeded code for user API keys
* Changed a .Contains() to a .StartsWith() in ClientStore
* Changed index that an array is searched on
* Added more claims to the user apikey clients
* Moved some claim finding logic to a helper method
2020-11-10 15:15:29 -05:00
Kyle Spearrin
82dd364e65
Send APIs ( #979 )
...
* send work
* fix sql proj file
* update
* updates
* access id
* delete job
* fix delete job
* local send storage
* update sprocs for null checks
2020-11-02 15:55:49 -05:00
Kyle Spearrin
623cd36bd4
upgrade identity server 4 to v4 ( #842 )
...
* upgrade identity server 4 to v4
* remove script ref
2020-07-30 17:00:13 -04:00
Kyle Spearrin
2c4752f4ac
Sso user table, model and repo stubbed out ( #837 )
...
* Sso user table, model and repo stubbed out
* switch to nullable org id, bigint id
* update GetBySsoUserAsync
* cleanup migrator file
* fix EF user repo
* fix pg repo
* is `IS NULL` checks
* unique indexes
* update migration scripts
* add another unique index
* remove old script
2020-07-28 10:03:09 -04:00
Matt Portune
51fd87df0b
Added UseSso bool to Organization ( #834 )
...
* Added UseSso bool to org
* Update fields in migration script
* bump version & check enabled flag on ssoConfig
2020-07-22 09:38:39 -04:00
Chad Scharf
83e9468502
Transition reference id to data ( #828 )
...
* Transition reference id to data
* field length and request model updates
2020-07-20 15:19:46 -04:00
Matt Portune
92238eb0a9
Additional changes for enterprise portal sso config ( #819 )
...
* Additional changes for enterprise portal sso config
* Requested changes
* rename enum to Saml2
* Limit to one SSO config per org
2020-07-13 15:58:59 -04:00
Chad Scharf
7af50172e0
Reference event service implementation ( #811 )
...
* Reference event service implementation
* Fix IReferenceable implementation of Id
* add structure to event body
2020-07-07 12:01:34 -04:00
Matt Portune
f46023f2f5
requested changes
2020-06-25 18:06:27 -04:00
Matt Portune
39a81af3e9
DAL & CRUD for SSO
2020-06-25 16:42:29 -04:00
Chad Scharf
fca7b162bf
Reference id storage and signup
2020-06-25 12:28:22 -04:00
Chad Scharf
d014a597dd
[Soft Delete] - API updates for soft delete + retrieval
2020-04-01 13:00:25 -04:00
Chad Scharf
9800b752c0
Changed all C# control flow block statements to include space between keyword and open paren
2020-03-27 14:36:37 -04:00
Kyle Spearrin
e8054df5b4
use policies property for orgs
2020-01-15 15:00:54 -05:00
Kyle Spearrin
58faf5266b
policy events
2020-01-15 09:43:49 -05:00
Kyle Spearrin
9caaab0537
stub out policy models and repos
2020-01-06 14:27:16 -05:00
Kyle Spearrin
64ddcaaf0f
isUser function
2019-09-17 16:55:40 -04:00
Kyle Spearrin
1c57492028
trim and tolower billing email
2019-06-12 22:08:53 -04:00
Kyle Spearrin
75f01a5774
collection externalId
2019-03-07 15:18:27 -05:00
Kyle Spearrin
15cb0ad4c3
implement useapi and apikey
2019-03-02 15:09:33 -05:00
Kyle Spearrin
d568b86e1e
inject stripepaymentservice
2019-02-08 23:53:09 -05:00
Kyle Spearrin
44630e9728
handle transactions on paypal webhook
2019-02-01 22:22:08 -05:00
Kyle Spearrin
9882815e4a
custom id fields for paypal
2019-02-01 09:18:34 -05:00
Kyle Spearrin
25f3b76e6b
added transactions table
2019-01-31 16:45:01 -05:00
Kyle Spearrin
952d624d72
change payment methods between stripe and paypal
2019-01-31 12:11:30 -05:00
Kyle Spearrin
e54a381dba
setup: process paypal with stripe subscription
2019-01-29 13:12:11 -05:00
Kyle Spearrin
4a38713c4b
return twofactor enabled property on org users api
2018-12-19 11:48:36 -05:00
Kyle Spearrin
ac7c7b5077
move some 2fa logic functions to userService
2018-12-19 10:47:53 -05:00
Kyle Spearrin
cf73b168ee
More CanAccessPremium checks
2018-08-28 17:40:08 -04:00
Kyle Spearrin
c41a1e0936
CanAccessPremium checks instead of User.Premium
2018-08-28 16:23:58 -04:00
Kyle Spearrin
3e2b220074
rename all to PBKDF2_SHA256
2018-08-27 19:57:45 -04:00
Kyle Spearrin
0932189ccb
support for user defined kdf parameters
2018-08-14 15:30:04 -04:00
Kyle Spearrin
476ee53931
add renewal reminder date prop to users
2018-07-12 17:35:01 -04:00
Kyle Spearrin
389512d51e
added org duo to 2fa flow
2018-04-03 14:31:33 -04:00
Kyle Spearrin
bcc224c02d
stub out use2fa and twofactorproviders on orgs
2018-04-02 14:53:19 -04:00
Kyle Spearrin
3d9d193bda
passwordless signin for billing portal
2018-03-20 15:00:56 -04:00
Kyle Spearrin
a9f232746e
store device type and ip address on events
2017-12-15 10:50:06 -05:00
Kyle Spearrin
172fd2425e
added org flag for UseEvents
2017-12-14 15:48:44 -05:00
Kyle Spearrin
ce1680a009
event sql table and repo
2017-12-12 14:22:22 -05:00
Kyle Spearrin
7b359053d6
stub out new scim api for dir sync
2017-12-12 13:22:37 -05:00
Kyle Spearrin
0fdb9b3d2f
change personal plan to family. allow self host
2017-11-06 16:01:58 -05:00
Kyle Spearrin
e41461f8fc
org tax information
2017-10-25 12:41:07 -04:00
Kyle Spearrin
55ae6f12ad
added new expiration columns to org/users
2017-08-12 10:43:52 -04:00
Kyle Spearrin
e538817eb6
added installations, push scoped tokens, push api
2017-08-10 14:39:11 -04:00
Kyle Spearrin
a1d064ed9e
license verification services for user/org
2017-08-09 17:01:37 -04:00
Kyle Spearrin
cfc80f8d1e
billing fixes and added gateway to subscriber
2017-07-28 14:24:07 -04:00
Kyle Spearrin
082b53e133
refactor for addtnl. payment service (braintree)
2017-07-28 12:09:12 -04:00
Kyle Spearrin
5a4bfe4e61
update libs and cleanup
2017-07-14 09:06:35 -04:00
Kyle Spearrin
fbc189544b
org totp and storage flags
2017-07-07 14:08:30 -04:00