1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-10 15:13:29 +01:00
Commit Graph

606 Commits

Author SHA1 Message Date
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
Kyle Spearrin
a9336a0e02 add support for passing payment method type 2019-02-19 17:13:21 -05:00
Kyle Spearrin
707c0ccb36 remove business country from org signup 2019-02-18 23:37:35 -05:00
Kyle Spearrin
250784d197 remove charge and add balance to billing models 2019-02-18 17:09:56 -05:00
Kyle Spearrin
ad577bafcc use existing stripe customer for premium signup 2019-02-18 16:08:58 -05:00
Kyle Spearrin
b036657d78 apis for subscription vs billing 2019-02-18 15:40:47 -05:00
Kyle Spearrin
5945c39b32 associated ah-hoc prorate invoice with sub 2019-02-18 08:07:30 -05:00
Kyle Spearrin
558cf87e17 < , not <= 2019-02-14 15:26:44 -05:00
Kyle Spearrin
48343a519b ip blocks are 15 mins 2019-02-14 14:16:18 -05:00
Kyle Spearrin
67146cd4be send payment failed emails 2019-02-14 11:49:39 -05:00
Kyle Spearrin
f2aac6b8a0 continue if disables 2019-02-13 21:03:22 -05:00
Kyle Spearrin
f225b5d46a rename billing classes 2019-02-10 21:23:37 -05:00
Kyle Spearrin
d568b86e1e inject stripepaymentservice 2019-02-08 23:53:09 -05:00
Kyle Spearrin
a97a6216d7 return invoices and transactions on billing api 2019-02-08 23:24:48 -05:00
Kyle Spearrin
856e331ef3 custom ids to braintree customers 2019-02-02 23:04:44 -05:00
Kyle Spearrin
0e4e3b22d1 reuse btCustomerId when changing from pp => new pp 2019-02-02 16:42:40 -05:00
Kyle Spearrin
9882815e4a custom id fields for paypal 2019-02-01 09:18:34 -05:00
Kyle Spearrin
24fbec6c0e fix ambig. transaction refs 2019-01-31 16:55:04 -05:00
Kyle Spearrin
9f876d9bff purchase org with paypal support 2019-01-31 14:25:46 -05:00
Kyle Spearrin
952d624d72 change payment methods between stripe and paypal 2019-01-31 12:11:30 -05:00
Kyle Spearrin
fca1ee4253 CancelAndRecoverChargesAsync for braintree 2019-01-31 09:00:44 -05:00
Kyle Spearrin
87ee144edd preview and pay to invoice prior to sub change 2019-01-31 00:41:13 -05:00
Kyle Spearrin
d236bdd408 rework paypal payment to use customer balance 2019-01-30 16:27:20 -05:00
Kyle Spearrin
abb1751bfe stripe invoice handling. return credit amount. 2019-01-29 17:44:31 -05:00
Kyle Spearrin
a34ca4700d upgrade stripe lib and breaking changes 2019-01-29 14:41:37 -05:00
Kyle Spearrin
e54a381dba setup: process paypal with stripe subscription 2019-01-29 13:12:11 -05:00
Kyle Spearrin
b19628c6f8 new device logged in email notification 2019-01-24 22:37:49 -05:00
Kyle Spearrin
a07f37e093 ssl override, deprecate defaultCreds and authType 2019-01-22 21:28:56 -05:00
Kyle Spearrin
17cc1d6543 deprecate smtpclient for mailkit smtp service 2019-01-22 19:44:03 -05:00
Kyle Spearrin
c3563db4d2 add bitwarden server category 2019-01-16 17:46:30 -05:00
Kyle Spearrin
130197cab6 add sendgrid categories to emails 2019-01-16 17:41:19 -05:00
Kyle Spearrin
d6f1281f69 only log cipher deletes where user can edit 2019-01-11 08:46:55 -05:00
Kyle Spearrin
7116072cfa log events on bulk delete. ref #422 2019-01-10 22:24:08 -05:00
Kyle Spearrin
4ad1634d1d cancel on delete 2018-12-31 14:07:19 -05:00
Kyle Spearrin
6d173385b0 cancel sub completely if past exp date 2018-12-31 13:34:02 -05:00
Kyle Spearrin
951e8f562e email token provider 2018-12-19 22:27:45 -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
b9e7712b34 <= 1 2018-12-03 10:57:34 -05:00
Kyle Spearrin
002b642e50 sometimes delete org on user delete 2018-12-03 10:56:55 -05:00
Kyle Spearrin
0b20f64f2d premium access addon for families plans 2018-11-20 22:02:09 -05:00
Kyle Spearrin
331ee3266a support for sharing new attachments 2018-11-15 12:52:31 -05:00
Kyle Spearrin
7cda459127 support for attachments keys
load existing items and set attachments on key update
2018-11-14 17:19:04 -05:00
Kyle Spearrin
73cc221deb Allow UpdateKeyAsync when user already has key 2018-11-13 11:37:09 -05:00
Kyle Spearrin
a9195942fd we dont need to SetPropertiesAsync on upload 2018-11-09 09:47:25 -05:00
Kyle Spearrin
dc3e083bf0 set filename with ContentDisposition 2018-11-06 21:43:34 -05:00
Kyle Spearrin
16a4f6d932 ContentDisposition=attachment for azure blobs 2018-11-05 08:27:49 -05:00
Kyle Spearrin
0b166a080e limit collection scope option when creating cipher 2018-10-22 14:09:55 -04:00
Kyle Spearrin
3f319aee64 userid set only when creating with collection ids 2018-10-22 10:16:56 -04:00
Kyle Spearrin
c710226223 set cipher id to limit collection scope 2018-10-22 10:15:03 -04:00
Kyle Spearrin
96b492fa07 apis for creating ciphers with org & collections 2018-10-19 12:07:31 -04:00
SoulSeekkor
976869c968 Fixed various typos. (#378) 2018-10-18 11:41:49 -04:00
Kyle Spearrin
7db36e0005 api adjustments for manager role and collections 2018-10-17 14:58:45 -04:00
Kyle Spearrin
455123c0c9 undo CancelAtPeriodEnd on reinstate 2018-10-14 22:10:34 -04:00
Kyle Spearrin
cce4969094 Log user premium license disabled reason 2018-10-11 15:07:22 -04:00
Kyle Spearrin
3f5a0a8249 Official premium no longer given by org assignment 2018-10-11 14:51:55 -04:00
Kyle Spearrin
7705776d6a self hosted storage is 10tb 2018-10-11 14:50:59 -04:00
Kyle Spearrin
bd7bc569db revert comments 2018-10-10 22:45:12 -04:00
Kyle Spearrin
7c70aff383 dont catch exception for testing 2018-10-10 16:00:53 -04:00
Kyle Spearrin
b5a4bad637 catch u2f exceptions 2018-10-10 15:21:54 -04:00
Kyle Spearrin
aba009c221 change event name to updated2fa 2018-10-09 15:59:07 -04:00
Kyle Spearrin
bfc74060b6 add support for multiple u2f keys 2018-10-08 14:38:11 -04:00
Kyle Spearrin
7164f378fc purge org vault 2018-09-25 09:12:50 -04:00
Kyle Spearrin
ecd569fa0b use var 2018-09-13 14:06:06 -04:00
Kyle Spearrin
8fde736e98 update stripe sdk 2018-09-13 10:28:51 -04:00
Kyle Spearrin
0fda72c6b0 add message id header to smtp mail 2018-09-10 08:45:57 -04:00
Kyle Spearrin
fb45f75bc8 catch gateway exception when canceling on delete 2018-09-07 14:00:56 -04:00
Kyle Spearrin
2562d5a40d reference OrganizationMembership instead 2018-08-31 17:05:27 -04:00
Kyle Spearrin
a1f0f04660 check enabled too 2018-08-29 13:51:24 -04:00
Kyle Spearrin
7ce5464e52 self hosted users get 1 TB 2018-08-29 09:45:57 -04:00
Kyle Spearrin
0983a35cf3 storageBytesRemaining by way of users get premium 2018-08-29 09:08:05 -04: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
90387cca0c sync org keys notification when removed from org 2018-08-28 08:52:20 -04:00
Kyle Spearrin
f96e3ee01b add push events throughout user service actions 2018-08-28 08:29:54 -04:00
Kyle Spearrin
18713054f6 add logout notification 2018-08-28 08:22:49 -04:00
Kyle Spearrin
5ecd45abd6 rename notifications api endpoint to send 2018-08-24 20:31:17 -04:00
Kyle Spearrin
0816c609db check user access permissions on collections edit 2018-08-23 23:04:44 -04:00
Kyle Spearrin
61d2ba644c allow custom smtp auth type 2018-08-22 23:40:50 -04:00