Kyle Spearrin
7a72da5725
fix deprecated mailkit MailboxAddress ctor
2020-08-28 14:21:16 -04:00
Chad Scharf
db7d05b52f
Added PreValidate endpoint on Account controller ( #896 )
...
* Added PreValidate endpoint on Account controller
* Fixed IHttpClientFactory implementation
* Core localization and org sproc fix
* Pass culture, fixed sso middleware bug
2020-08-28 12:14:23 -04:00
Addison Beck
59f8467f7c
Create sso user api ( #886 )
...
* facilitate linking/unlinking existing users from an sso enabled org
* added user_identifier to identity methods for sso
* moved sso user delete method to account controller
* fixed a broken test
* Update AccountsController.cs
* facilitate linking/unlinking existing users from an sso enabled org
* added user_identifier to identity methods for sso
* moved sso user delete method to account controller
* fixed a broken test
* added a token to the existing user sso link flow
* added a token to the existing user sso link flow
* fixed a typo
* added an event log for unlink ssoUser records
* fixed a merge issue
* fixed a busted test
* fixed a busted test
* ran a formatter over everything & changed .vscode settings in .gitignore
* chagned a variable to use string interpolation
* removed a blank line
* Changed TokenPurpose enum to a static class of strings
* code review cleanups
* formatting fix
* Changed parameters & logging for delete sso user
* changed th method used to get organization user for deleting sso user records
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-08-26 14:12:04 -04:00
Kyle Spearrin
2cd6d4f61a
plan adjustments ( #890 )
2020-08-25 14:23:36 -04:00
Kyle Spearrin
a8c20d1c32
pass down version properly to generate license ( #880 )
2020-08-20 10:12:27 -04:00
Kyle Spearrin
2872bda6fe
tool to generate licenses ( #874 )
...
* tool to generate licenses
* code review feedback
2020-08-18 17:00:21 -04:00
Kyle Spearrin
d190c4bd0f
Update APIs to collect other set password info ( #870 )
2020-08-17 10:40:35 -04:00
Kyle Spearrin
cd926ca8f6
allow user registration for sso ( #865 )
2020-08-13 17:30:10 -04:00
Kyle Spearrin
783b4804ec
SSO support ( #862 )
...
* [SSO] Added change password API (#836 )
* Created API for updating password with no current comparison
* Changed name of method and request // Added user has password error flow
* Updated user service method name // Updated string null/empty check
* Replaced hardcoded sso domain hints with config loader (#850 )
* Replaced hardcoded sso domain hints with config loader
* use async/await for sso config loader
* Update AccountsController.cs
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Matt Portune <mportune@bitwarden.com>
Co-authored-by: Matt Portune <59324545+mportune-bw@users.noreply.github.com>
2020-08-12 17:03:09 -04:00
Kyle Spearrin
056b4b9bf4
add api support for updating org identifier ( #861 )
...
* add api support for updating org identifier
* add identifier to response as well
* implement in EF repo
2020-08-12 16:38:22 -04:00
Addison Beck
c8220fdfa6
Plan And Price Updates ( #859 )
...
* Expanded the Plan model to make plan & product data a bit more dynamic
* Created a Product enum to track versioned instances of the same plan
* Created and API call and Response model for getting plan & product data from the server
2020-08-11 14:19:56 -04:00
Chad Scharf
5878d1b0db
Ref event should be base64 encoded ( #853 )
2020-08-06 20:29:35 -04:00
Chad Scharf
b5ac20ec9f
Correct connection string for res queue ( #847 )
2020-08-03 15:22:38 -04:00
Kyle Spearrin
69e8860767
Assign usepolicies when upgrading ( #838 )
2020-07-28 09:28:11 -04:00
Addison Beck
229478adae
Feature.web.534.allow multi select in org vault ( #830 )
...
* Set up API methods for bulk admin delete
2020-07-22 11:38:53 -05: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
Chad Scharf
2742b414fd
reference event changes and cleanup ( #823 )
2020-07-15 12:38:45 -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
Chad Scharf
a37706eba1
Restore original collection method ( #804 )
2020-06-30 11:52:50 -04:00
Chad Scharf
d7b00f6c27
Subscription update to maintain auto charge ( #803 )
2020-06-29 20:29:19 -04:00
Chad Scharf
fca7b162bf
Reference id storage and signup
2020-06-25 12:28:22 -04:00
Kyle Spearrin
f23a8edc45
Update stripe lib ( #793 )
2020-06-24 21:24:19 -04:00
Mike Hanson
398867a839
Parameterize AmazonSQSClient to allow testing
2020-06-18 10:16:23 -07:00
Chad Scharf
61b15c55d0
Merge pull request #782 from bitwarden/feature/tax-info-collection
...
Combined tax updates with other operations
2020-06-18 11:26:58 -04:00
Chad Scharf
0f28ac45f9
Consistency on TaxInfo use in service params
2020-06-18 10:41:55 -04:00
Kyle Spearrin
aeb6e4e7d4
formatting
2020-06-18 09:57:24 -04:00
Mike Hanson
dc42be710a
Add unit test coverage for AmazonSesMailDeliveryService ( #783 )
...
* Parameterize AmazonSimpleEmailServiceClient to allow testing
* Add unit test coverage for AmazonSesMailDeliveryService
2020-06-18 09:55:46 -04:00
Chad Scharf
b7a500eb63
combined tax updates with other operations
2020-06-17 19:49:27 -04:00
Chad Scharf
f7e5f1f15e
Merge pull request #776 from bitwarden/feature/tax-info-collection
...
Feature/tax info collection
2020-06-17 10:49:54 -04:00
Chad Scharf
b2cb9a2f69
Billing addr line1 fix, pr feedback
2020-06-15 09:12:03 -04:00
Chad Scharf
1552ff7b29
Collect tax info, correct line1
2020-06-12 19:35:17 -04:00
Kyle Spearrin
a7d7736806
Add i18nservice abstraction ( #770 )
2020-06-09 10:25:37 -04:00
Chad Scharf
d88838f19e
API updates for tax info collection
2020-06-08 17:40:18 -04:00
Matt Portune
545948220a
additional formatting & inclusion of org name
2020-05-19 18:22:03 -04:00
Matt Portune
9bf3a467fa
formatting
2020-05-19 12:37:45 -04:00
Matt Portune
2cf7f18858
License expiration email for self-hosted org/premium accounts
2020-05-18 16:06:34 -04:00
Chad Scharf
d49cc18a41
Stripe not crediting customer balance after void
2020-05-18 12:38:00 -04:00
Chad Scharf
97158d607a
Merge pull request #727 from bitwarden/subscription-change-invoicing
...
Subscription change, invoice process update
2020-05-13 10:24:46 -04:00
Chad Scharf
9ef39bcadb
Removed payment_behavior, errant whitespace
2020-05-13 09:54:10 -04:00
Chad Scharf
a024b43cea
Updated code style and PR feedback
2020-05-12 17:22:04 -04:00
Kyle Spearrin
10a6e12d09
generate signin token for enterprise portal ( #728 )
2020-05-12 15:36:33 -04:00
Chad Scharf
a9a7003bfc
Subscription change, invoice process update
2020-05-12 12:48:21 -04:00
Chad Scharf
9a2d8e96e4
Updated Stripe API SDK version to 36.9.0
2020-05-08 10:15:48 -04:00
Kyle Spearrin
fae4a335dc
public API for organization import ( #707 )
2020-04-23 11:29:19 -04:00
Chad Scharf
4defd13395
[Soft Delete] - fix Upsert calls based on cipher supertype
2020-04-08 16:18:22 -04:00
Chad Scharf
c0019e7abc
[Soft Delete] Update assignment of deleted and revision date to 1-liner
2020-04-02 10:56:22 -04:00
Chad Scharf
d07f27f274
[Soft-Delete] Simplify the data-tier, removed extra sprocs and reuse update
2020-04-01 16:39:27 -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
0f9ec8d64f
check user has 2fa enabled when confirming
2020-03-09 15:13:40 -04:00
Kyle Spearrin
518e94f60f
upgrade more lgos. remove sendgrid
2020-03-05 10:33:44 -05:00
Kyle Spearrin
7b91fe55f0
set UsePolicies
on license update
2020-03-03 22:32:59 -05:00
Kyle Spearrin
71d9ffdd9d
CheckPoliciesOnTwoFactorRemoval
for 2fa recovery (#659 )
2020-02-28 10:23:19 -05:00
Kyle Spearrin
621192b701
enable email 2fa if joining an org with policy ( #658 )
2020-02-28 09:14:33 -05:00
Kyle Spearrin
f54ebfdc75
email user whenever they're removed from org because of 2fa policy ( #657 )
2020-02-27 09:30:03 -05:00
Kyle Spearrin
81424a8526
Enforce 2fa policy ( #654 )
2020-02-19 14:56:16 -05:00
Kyle Spearrin
9266546d60
only 1 policy event
2020-01-20 09:02:41 -05:00
Kyle Spearrin
0790f9859e
usepolicies check
2020-01-15 15:01:31 -05: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
937bb4359f
policy service
2020-01-15 09:19:28 -05:00
Kyle Spearrin
dda3c3a123
Async GetEmbeddedCertificate
2020-01-13 15:35:50 -05:00
Kyle Spearrin
3f4a4bac2a
copytoasync
2020-01-13 15:32:22 -05:00
Kyle Spearrin
7fd6e4359d
fix warnings
2020-01-10 08:47:58 -05:00
Kyle Spearrin
29580684a3
upgrade to aspnet core 3.1
2020-01-10 08:33:13 -05:00
Brian Becker
0be86072f7
Add email notification on Two Factor recovery use ( #625 )
...
* Add email notification on Two Factor recovery use
* A user who has lost their 2fa device can clear out the
2fa settings using a recovery code. When this happens
it gets logged but no notification to the user occurs.
* Add a notification to be sent when 2fa recovery code is
used
* Add email message templates
2019-12-23 15:26:39 -05:00
Kyle Spearrin
72750cf298
org re-invite api
2019-10-07 16:23:38 -04:00
Kyle Spearrin
5fd9df3beb
app in review flag for iap receipt validation
2019-09-29 20:42:53 -04:00
Kyle Spearrin
5e7ac0a9bc
handle appleReceipt already existing on customer
2019-09-23 10:27:14 -04:00
Kyle Spearrin
b72744eafc
alloe sub cancellation when deleting account
2019-09-20 13:45:47 -04:00
Kyle Spearrin
784c86893f
throw apple iap exceptions
2019-09-20 00:01:35 -04:00
Kyle Spearrin
ff5a0ff0ce
payment service support for iap
2019-09-19 23:30:16 -04:00
Kyle Spearrin
ad95dd6bb2
check for valid transaction as well
2019-09-19 10:04:15 -04:00
Kyle Spearrin
62f4e67e8a
save userId with receipt data
2019-09-19 09:36:26 -04:00
Kyle Spearrin
e9174ba9f4
iap pre-purchase check
2019-09-19 08:46:26 -04:00
Kyle Spearrin
bed2a0ab7b
no additional storage for premium
2019-09-18 10:52:53 -04:00
Kyle Spearrin
4ec05e111c
fix typo
2019-09-18 09:47:42 -04:00
Kyle Spearrin
3af2fbd4e9
register new services
2019-09-18 09:46:26 -04:00
Kyle Spearrin
68b5ba6474
update to apple iap service
2019-09-17 22:58:38 -04:00
Kyle Spearrin
8290ddbb94
apple iap service
2019-09-17 19:48:40 -04:00
Kyle Spearrin
9e51eaea28
Apple Iap service
2019-09-16 09:22:22 -04:00
Kyle Spearrin
294a6dbba5
set/use default payment method on customer
2019-09-06 08:47:36 -04:00
Kyle Spearrin
1be6e2008b
qty is only 1 if re-creating after proration
2019-09-03 16:49:25 -04:00
Kyle Spearrin
4982c21c37
qty should be 1 when restoring invoice items
2019-09-03 12:48:42 -04:00
Kyle Spearrin
54162d6531
fix credit card bug for premium
2019-09-02 20:23:43 -04:00
Kyle Spearrin
62732fa002
gateway check
2019-09-02 08:53:59 -04:00
Kyle Spearrin
a3b30595f5
null check paymentToken
2019-08-31 00:33:29 -04:00
Kyle Spearrin
25a8640d80
get rid of old smtp mail delivery service
2019-08-27 09:23:03 -04:00
Kyle Spearrin
fa3bb0c081
set customer source and method earlier
2019-08-12 11:15:05 -04:00
Kyle Spearrin
5c3bf78226
handle sub incomplete status
2019-08-12 10:42:14 -04:00
Kyle Spearrin
41f9f6a7f0
only refund captured charges
2019-08-12 10:33:06 -04:00
Kyle Spearrin
157cafa551
PaymentResponseModel for storage and seat adjustments
2019-08-12 10:03:50 -04:00
Kyle Spearrin
74bbeae776
adjust storage with payment intent/method handling
2019-08-10 12:59:32 -04:00
Kyle Spearrin
e60f1a4f50
add missing sub create options
2019-08-10 12:07:24 -04:00
Kyle Spearrin
bc5322f4cf
support for payment intent/method on org signup
2019-08-10 11:58:44 -04:00
Kyle Spearrin
00e808d731
payment intent/method support for incomplete status
2019-08-09 23:56:26 -04:00
Kyle Spearrin
efcf626999
update payment method with stripe card payment method
2019-08-09 16:29:23 -04:00
Kyle Spearrin
b11fd2fab8
handle PaymentMethods for PaymentSource billing info
2019-08-09 15:53:01 -04:00
Kyle Spearrin
9686b4bf2b
process off session payment methods
2019-08-09 14:06:07 -04:00
Kyle Spearrin
3aea61cb63
remove unused service
2019-08-09 11:09:37 -04:00
Kyle Spearrin
ae386bfee4
remove old service refs
2019-08-08 23:22:46 -04:00
Kyle Spearrin
48ec345702
update stripe SDK
2019-08-08 17:36:41 -04:00
Kyle Spearrin
6d4e34b229
use SettingHasValue for smtp services
2019-08-07 19:39:37 -04:00
Kyle Spearrin
6a91fd6be9
batch events
2019-07-25 15:50:13 -04:00
Kyle Spearrin
675b22cc9f
single event for delete and share bulk operations
2019-07-25 15:39:25 -04:00
Kyle Spearrin
0f0cd3beeb
handle bulk cipher events more efficiently
2019-07-25 15:34:14 -04:00
Kyle Spearrin
b5d2a1da75
load certs from azure storage
2019-07-10 20:05:07 -04:00
Kyle Spearrin
da5c385d4a
new client event types, pass date to event funcs
2019-07-09 11:44:09 -04:00
Kyle Spearrin
6f0d64119a
keep application cache in sync with service bus
2019-06-13 00:10:37 -04:00
Kyle Spearrin
ad7c4b89c4
back to corehelpers
2019-06-11 17:17:23 -04:00
Kyle Spearrin
6ab2f4ff87
org invite exp hours configurable
2019-06-11 16:44:59 -04:00
Kyle Spearrin
621f43c5cd
fix token refresh logic
2019-05-30 23:06:02 -04:00
Kyle Spearrin
92505a2d4f
dont remove owners when syncing directory
2019-05-14 13:09:56 -04:00
Kyle Spearrin
889d770cec
formatting
2019-05-14 11:16:30 -04:00
Kyle Spearrin
0c760cf9e1
overwrite existing users on import
2019-05-06 21:31:36 -04:00
Kyle Spearrin
5cc0b19da8
start tls mail config
2019-04-10 08:44:58 -04:00
Kyle Spearrin
0885264800
log error from exceptions on 2fa registration
2019-03-29 08:59:02 -04:00
Kyle Spearrin
54c46f716b
Only owner can change the type of another owner.
...
resolves #467
2019-03-28 12:36:57 -04:00
Kyle Spearrin
5892842139
add account credit
2019-03-21 23:11:53 -04:00
Kyle Spearrin
5bfed59f9c
upgrade org api
2019-03-21 21:36:03 -04:00
Kyle Spearrin
7f77d661c3
remove logging from base identity client service
2019-03-20 09:13:25 -04:00
Kyle Spearrin
bfdc4feaba
remove debug logging
2019-03-20 08:46:55 -04:00
Kyle Spearrin
4ed309ea13
fix refs passed from multiservice push
2019-03-20 08:38:28 -04:00
Kyle Spearrin
9dedf359e5
updates to logging
2019-03-20 08:26:11 -04:00
Kyle Spearrin
2f3b38a941
more relay logging
2019-03-20 00:41:11 -04:00
Kyle Spearrin
dc0bdfa28b
fix logger ref
2019-03-19 23:45:09 -04:00
Kyle Spearrin
e2be61da0a
testing: more logs
2019-03-19 22:47:53 -04:00
Kyle Spearrin
54b0db2128
log from BaseIdentityClientService for testing
2019-03-19 21:57:46 -04:00
Kyle Spearrin
625ed1a1ee
force SecureSocketOptions.none if 25 w/ no ssl
2019-03-19 00:47:07 -04:00
Kyle Spearrin
01a293cf76
record installation devices
2019-03-19 00:39:03 -04:00
Kyle Spearrin
8427c23b5e
amazon sqs block ip queuing
2019-03-18 16:23:37 -04:00
Kyle Spearrin
7e920b955c
amazon ses mail delivery service
2019-03-13 16:19:00 -04:00
Kyle Spearrin
8d54442173
ses mail delivery service
2019-03-13 14:07:08 -04:00
Kyle Spearrin
cbd0f15224
back to regular ip string
2019-03-13 09:42:04 -04:00
Kyle Spearrin
14fd7e2801
throttle block messages and base64 encode them
2019-03-11 23:31:45 -04:00
Kyle Spearrin
2bdcff56b6
make new message for unblock
2019-03-10 23:11:28 -04:00
Kyle Spearrin
de1b00533f
org members public api
2019-03-05 23:24:14 -05:00
Kyle Spearrin
42b104bc8f
apikey apis for orgs
2019-03-04 09:52:43 -05:00
Kyle Spearrin
15cb0ad4c3
implement useapi and apikey
2019-03-02 15:09:33 -05:00
Kyle Spearrin
506fe28ee7
make payment method type required
2019-02-26 12:45:34 -05:00
Kyle Spearrin
91bbc3e8f9
display names for enums
2019-02-26 12:37:29 -05:00
Kyle Spearrin
35e986a077
update libs and remove old code/workarounds
2019-02-26 08:15:56 -05:00
Kyle Spearrin
b5782f7b72
fix paypal edge case
2019-02-23 17:40:46 -05:00
Kyle Spearrin
78fa990b1f
fixes for credit add
2019-02-22 22:55:40 -05:00
Kyle Spearrin
c5b2a929d2
added credit email notification
2019-02-22 21:13:34 -05:00
Kyle Spearrin
de2ca2ff95
throw No payment method is available.
2019-02-21 17:27:57 -05:00
Kyle Spearrin
9c5fde35f5
filter invoices
2019-02-20 23:58:54 -05:00
Kyle Spearrin
01d324a8b4
support credit purchases and prorated upgrades
2019-02-20 23:54:27 -05:00
Kyle Spearrin
494b3f18b6
process credit from ipn
2019-02-20 16:03:38 -05:00