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

1639 Commits

Author SHA1 Message Date
Kyle Spearrin
aef68d4934 support for stripe sources in billing info 2019-02-27 10:16:46 -05:00
Kyle Spearrin
25ea96f1bd support for sources in webhooks 2019-02-27 10:11:45 -05:00
Kyle Spearrin
176078f04b Stub out public api for org groups 2019-02-26 22:06:39 -05:00
Kyle Spearrin
5923b4c9bd org API clients 2019-02-26 17:01:33 -05:00
Kyle Spearrin
c1c49fb67e show PII in dev mode 2019-02-26 17:01:06 -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
b042fc5543 remove net471. all netcore now! 2019-02-26 11:33:09 -05:00
Kyle Spearrin
0e756208e8 port events processor over to webjobs sdk 3 2019-02-26 11:31:37 -05:00
Kyle Spearrin
d6eeca3138 update identity server libs 2019-02-26 08:22:14 -05:00
Kyle Spearrin
35e986a077 update libs and remove old code/workarounds 2019-02-26 08:15:56 -05:00
Kyle Spearrin
b04b402490 bank is 6 2019-02-25 12:49:45 -05:00
Kyle Spearrin
3b8552b2fa billing info and tx management tools 2019-02-25 12:43:20 -05:00
Kyle Spearrin
7ee8c0a240 add billing info to admin edit page 2019-02-25 10:39:04 -05:00
Kyle Spearrin
b229985256 add new gateway and payment method type 2019-02-25 10:38:56 -05:00
Kyle Spearrin
b028696891 assign credit type for account credit 2019-02-23 20:24:34 -05:00
Kyle Spearrin
b5782f7b72 fix paypal edge case 2019-02-23 17:40:46 -05:00
Kyle Spearrin
2f5410de28 GetTransactionDate 2019-02-23 13:57:59 -05:00
Kyle Spearrin
b4f026a946 add transaction currency to details 2019-02-23 10:21:06 -05:00
Kyle Spearrin
bc3e6f349c no hash 2019-02-23 08:01:23 -05:00
Kyle Spearrin
71667628f9 bitpay invoice id 2019-02-23 08:00:25 -05:00
Kyle Spearrin
b0c90bc4b3 amounts are positive always 2019-02-23 07:53:47 -05:00
Kyle Spearrin
e2df614cd5 check receiver after txn_type 2019-02-23 07:44:29 -05:00
Kyle Spearrin
5103a05332 use datetime 2019-02-22 23:51:38 -05:00
Kyle Spearrin
246fcda1f7 get key from Request.Query 2019-02-22 22:59:31 -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
25c8d6d043 remove usings 2019-02-22 09:44:42 -05:00
Kyle Spearrin
c1b271193b add some logging to stripe webhook 2019-02-22 09:31:05 -05:00
Kyle Spearrin
09592fd4d3 log warnings for bad requests or unsupported cases 2019-02-22 09:00:51 -05:00
Kyle Spearrin
4c84eeca5b bitpay ipn for processing credits 2019-02-22 08:49:11 -05:00
Kyle Spearrin
c0e9d95538 early return 2019-02-22 08:20:34 -05:00
Kyle Spearrin
4e99ae0dd6 send notification IPNs on bitpay invoice 2019-02-22 08:08:48 -05:00
Kyle Spearrin
31097870a1 stub out BitPay IPN endpoint 2019-02-21 22:54:53 -05:00
Kyle Spearrin
fdaa9504d5 bitpay invoice api 2019-02-21 22:43:37 -05:00
Kyle Spearrin
d514fcdaeb account_credit:1 2019-02-21 21:48:24 -05:00
Kyle Spearrin
532c23d58b ipn updates 2019-02-21 21:08:45 -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
e10c99ec96 credit payment type 2019-02-20 23:50:05 -05:00
Kyle Spearrin
c6d4440cc5 no async 2019-02-20 23:49:54 -05:00
Kyle Spearrin
494b3f18b6 process credit from ipn 2019-02-20 16:03:38 -05:00
Kyle Spearrin
312ced0e3b paypal IPN processing for account credit 2019-02-20 15:17:23 -05:00
Kyle Spearrin
cdea940597 braintree error 2019-02-19 21:27:07 -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
2397c6d862 comment on Expiration 2019-02-18 16:25:09 -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
acb7ff2b09 bad request if no ids on subscription 2019-02-16 22:08:04 -05:00
Kyle Spearrin
7d36a0d398 filter canceled orgs 2019-02-16 16:08:12 -05:00
Kyle Spearrin
594c9e9e3e blacklist of link rels to ignore 2019-02-16 09:15:24 -05:00
Kyle Spearrin
dee395960a webhook fixes 2019-02-15 16:18:53 -05:00
Kyle Spearrin
fb21b19490 charge braintree customer tool 2019-02-15 16:18:34 -05:00
Kyle Spearrin
1b5652fb7c inject IOptions for billing settings 2019-02-14 23:37:08 -05:00
Kyle Spearrin
3b951ce5cc update some libs 2019-02-14 15:33:51 -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
022d5f19f2 remove google plus 2019-02-14 12:12:54 -05:00
Kyle Spearrin
67146cd4be send payment failed emails 2019-02-14 11:49:39 -05:00
Kyle Spearrin
f70ececa9d get rid of premium renewal jobs for braintree 2019-02-14 10:18:27 -05:00
Kyle Spearrin
f2aac6b8a0 continue if disables 2019-02-13 21:03:22 -05:00
Kyle Spearrin
cc2cef5b27 pass org admin flag for attachment actions 2019-02-12 11:49:35 -05:00
Kyle Spearrin
5cdfc83903 remove bt webhook key 2019-02-11 23:27:32 -05:00
Kyle Spearrin
dc03faf5da remove old braintree hook 2019-02-11 23:26:11 -05:00
Kyle Spearrin
f225b5d46a rename billing classes 2019-02-10 21:23:37 -05:00
Kyle Spearrin
bc30f47331 is null, not = 2019-02-09 21:38:33 -05:00
Kyle Spearrin
8fad9d849f Merge branch 'stripechanges' 2019-02-09 18:13:49 -05:00
Kyle Spearrin
7ad899c728 todo for payment failure email 2019-02-09 18:12:52 -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
f837c1708e paypal webhook key 2019-02-08 14:28:36 -05:00
Kyle Spearrin
1dc22f61d1 catch sql FK violations on webhook tx creation 2019-02-07 17:28:09 -05:00
Kyle Spearrin
22c049c9c5 disable autostats for cipher table 2019-02-03 22:39:53 -05:00
Kyle Spearrin
7675478daa refund if something screws up 2019-02-03 00:05:35 -05:00
Kyle Spearrin
9e14af3223 attempt to pay invoices via braintree 2019-02-03 00:00:21 -05:00
Kyle Spearrin
856e331ef3 custom ids to braintree customers 2019-02-02 23:04:44 -05:00
Kyle Spearrin
98bd42dde1 fix enums 2019-02-02 23:04:14 -05:00
Kyle Spearrin
0e4e3b22d1 reuse btCustomerId when changing from pp => new pp 2019-02-02 16:42:40 -05:00
Kyle Spearrin
0c956f2e89 move DatabaseExpiredGrantsJob to Friday at 10pm 2019-02-01 23:55:54 -05:00
Kyle Spearrin
9cb7a0caaf remove credit 2019-02-01 23:29:34 -05:00
Kyle Spearrin
fb3cdba99e check to make sure not already refunded 2019-02-01 23:29:12 -05:00
Kyle Spearrin
4ade9a229b stripe charge hooks and fixes to pp refunds 2019-02-01 23:04:51 -05:00
Kyle Spearrin
1bf1d83b26 drop 2 2019-02-01 22:27:13 -05:00
Kyle Spearrin
1283932f4e rename for case change 2019-02-01 22:26:58 -05:00
Kyle Spearrin
a5044b6e6c rename to PayPal 2019-02-01 22:25:34 -05:00
Kyle Spearrin
44630e9728 handle transactions on paypal webhook 2019-02-01 22:22:08 -05:00
Kyle Spearrin
f3b5068aba paypal client and stub out webhook 2019-02-01 17:16:28 -05:00
Kyle Spearrin
9882815e4a custom id fields for paypal 2019-02-01 09:18:34 -05:00
Kyle Spearrin
11f353050f fix sql proj file 2019-01-31 17:02:08 -05:00
Kyle Spearrin
24fbec6c0e fix ambig. transaction refs 2019-01-31 16:55:04 -05:00
Kyle Spearrin
25f3b76e6b added transactions table 2019-01-31 16:45:01 -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
54c6ffeece Registration 2019-01-26 21:47:34 -05:00
Kyle Spearrin
8512a42627 rename core to server 2019-01-25 11:35:57 -05:00
Kyle Spearrin
ce35d768cb udo change to core.csproj 2019-01-25 00:14:29 -05:00
Kyle Spearrin
f8f7c339c3 get request up from cloudflare header 2019-01-25 00:01:24 -05:00
Kyle Spearrin
b19628c6f8 new device logged in email notification 2019-01-24 22:37:49 -05:00
Kyle Spearrin
43967ebbc1 increase folder limits on imports 2019-01-23 22:40:19 -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
18884d564d 3 org invites per minute 2019-01-20 22:21:19 -05:00
Kyle Spearrin
f78f2710be rate limiting org invite emails further 2019-01-20 22:13:43 -05:00
Kyle Spearrin
411e8a67f9 core => server updates 2019-01-18 22:20:05 -05:00
Kyle Spearrin
858a0d28dd bump versions 2019-01-18 17:15:49 -05:00
Kyle Spearrin
9afca4c277 remove old org fields 2019-01-18 15:49:57 -05:00
Kyle Spearrin
ca22a007f6 noindex,nofollow 2019-01-17 16:45:53 -05:00
Kyle Spearrin
bcd396d620 robots noindex admin 2019-01-17 16:24:52 -05:00
Kyle Spearrin
e7e0d17ac6 security stamp validation for passwordless login 2019-01-17 16:07:24 -05:00
Kyle Spearrin
82ba3e4c30 change to username 2019-01-17 01:06:03 -05:00
Kyle Spearrin
7f9d979346 hibp breach api proxy 2019-01-17 01:03:11 -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
acef40ee82 stub out user repo for postgresql 2019-01-15 22:07:13 -05:00
Kyle Spearrin
84800da1fb set up postgresql repository 2019-01-15 21:55:42 -05:00
Kyle Spearrin
8596ba2caa formatting 2019-01-11 09:44:49 -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
20e3963847 check duo keys on org config as well 2019-01-03 00:13:46 -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
5fa5634a50 bump version 2018-12-27 14:36:09 -05:00
Kyle Spearrin
3588db947a check duo config with duo's api 2018-12-20 15:39:36 -05:00
Kyle Spearrin
1a856fb2ab duo api class 2018-12-20 15:21:01 -05:00
Kyle Spearrin
73a2fa27ee dont check dots for duo 2018-12-20 15:20:48 -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
866cfefd80 remove unused using 2018-12-19 10:52:02 -05:00
Kyle Spearrin
ac7c7b5077 move some 2fa logic functions to userService 2018-12-19 10:47:53 -05:00
Kyle Spearrin
88c0e412b6 bump version 2018-12-14 22:09:33 -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
04ae06420b bump version 2018-11-16 16:15:29 -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
d0421ab1df call proper sproc 2018-10-30 10:21:26 -04:00
Kyle Spearrin
1e1a19b937 bump version 2018-10-30 10:21:26 -04:00
Kyle Spearrin
5bc07fea7e return cipher model with share put 2018-10-30 10:21:26 -04:00
Kyle Spearrin
826f439618 fix org id in sproc 2018-10-22 14:39:42 -04:00
Kyle Spearrin
0b166a080e limit collection scope option when creating cipher 2018-10-22 14:09:55 -04:00
Kyle Spearrin
6641d884f5 formatting 2018-10-22 14:07:17 -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
4e8a313d3d dont set userid on cipher if orgid is set 2018-10-22 10:06:05 -04:00
Kyle Spearrin
39cc487667 formatting 2018-10-22 09:44:28 -04:00
Kyle Spearrin
84df4235c5 add missing string length checks 2018-10-22 09:40:44 -04:00
Kyle Spearrin
22033d075d increase group name length to 100 2018-10-22 09:34:26 -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
45a77c8903 manager group user apis 2018-10-18 08:38:22 -04:00
Kyle Spearrin
33bfd12b7d apis for managing collection users 2018-10-17 22:18:03 -04:00
Kyle Spearrin
7db36e0005 api adjustments for manager role and collections 2018-10-17 14:58:45 -04:00
Kyle Spearrin
01d2306a07 update packages 2018-10-14 22:21:59 -04:00
Kyle Spearrin
455123c0c9 undo CancelAtPeriodEnd on reinstate 2018-10-14 22:10:34 -04:00
Kyle Spearrin
d10d25afea add null check 2018-10-13 16:06:54 -04:00
Kyle Spearrin
52758e5749 run jobs on EST for cloud version 2018-10-12 23:44:22 -04:00
Kyle Spearrin
65e240c177 increase admin search timeouts 2018-10-11 22:21:59 -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
006cfffab3 new "Challenge" token for U2f 2018-10-10 17:51:38 -04:00
Kyle Spearrin
5a75134cf6 revert back to v1 u2f core 2018-10-10 16:16:26 -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
cbab6eb9d7 support for readonly sql db connection string 2018-10-09 17:21:12 -04:00
Kyle Spearrin
aba009c221 change event name to updated2fa 2018-10-09 15:59:07 -04:00
Kyle Spearrin
95cccf5eba fix logger category 2018-10-09 14:42:11 -04:00
Kyle Spearrin
bfa6f68541 delete expired grants job 2018-10-09 10:23:52 -04:00
Kyle Spearrin
5812915677 database maintenance jobs setup in admin 2018-10-09 10:12:27 -04:00
Kyle Spearrin
5bde617465 bump version 2018-10-08 23:10:51 -04:00
Kyle Spearrin
59279b4990 bump docker image version refs 2018-10-08 16:14:22 -04:00
Kyle Spearrin
bfc74060b6 add support for multiple u2f keys 2018-10-08 14:38:11 -04:00
Kyle Spearrin
7176e0ea22 update packages 2018-10-05 14:05:52 -04:00
Kyle Spearrin
5cfb43bebf webp support 2018-10-05 09:13:57 -04:00
Kyle Spearrin
38abfa6fe8 Merge branch 'master' of github.com:bitwarden/core 2018-10-02 08:39:46 -04:00
Kyle Spearrin
9b0bd1a632 only set compromised flag if counter is > 0 2018-10-02 08:39:31 -04:00
Yoshito Komatsu
036c03bd19 Remove amazon.co.jp from GlobalEquivalentDomainsType (#368) 2018-09-28 23:43:29 -04:00
Kyle Spearrin
7164f378fc purge org vault 2018-09-25 09:12:50 -04:00
Kyle Spearrin
6c8d7745a5 revert serilog docdb sink 2018-09-17 23:04:14 -04:00
Kyle Spearrin
41a2d0ed48 update azure storage lib 2018-09-17 15:25:54 -04:00
Kyle Spearrin
86aa342bad Return not support extension messages 2018-09-17 12:53:52 -04:00
Kyle Spearrin
b3b0bfa221 update libs 2018-09-14 16:20:39 -04:00
Kyle Spearrin
52d79a0015 some cleanup 2018-09-13 23:33:18 -04:00
Kyle Spearrin
99679f57fc update sendgrid sdk 2018-09-13 16:09:25 -04:00