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

447 Commits

Author SHA1 Message Date
Kyle Spearrin
8a88a36140 event write services 2017-12-04 09:58:07 -05:00
Kyle Spearrin
28770d3761 events for collections, groups, and org users 2017-12-01 16:00:30 -05:00
Kyle Spearrin
a8fefb54c4 cipher events 2017-12-01 14:06:16 -05:00
Kyle Spearrin
0662fc2163 log events to various organization indexes as well 2017-12-01 12:14:46 -05:00
Kyle Spearrin
d94c2a8f50 log user events 2017-12-01 10:07:14 -05:00
Kyle Spearrin
f4586002c4 organize event models. stub out event services 2017-12-01 09:22:04 -05:00
Kyle Spearrin
49372bed38 always update associations on group/coll updates 2017-11-24 11:53:15 -05:00
Kyle Spearrin
f2e2db52a1 update projects to net47 2017-11-16 11:01:49 -05:00
Kyle Spearrin
41ca2a64a9 fix tag removal 2017-11-14 09:35:48 -05:00
Kyle Spearrin
49f4a773dc catch bad request exceptions to notification hub 2017-11-14 08:51:24 -05:00
Kyle Spearrin
7e2d0ed0c1 only get devices with push tokens 2017-11-14 08:39:16 -05:00
Kyle Spearrin
7754d11bf9 comments 2017-11-13 12:09:39 -05:00
Kyle Spearrin
d03421fe4b fix to user already exists checks 2017-11-13 10:06:54 -05:00
Kyle Spearrin
6110da4ba9 marry existing users before adding 2017-11-10 15:22:19 -05:00
Kyle Spearrin
2fc54889e3 sendgrid SetOpenTracking 2017-11-10 15:12:18 -05:00
Kyle Spearrin
c42928f26d prevent duplicate invite accepts 2017-11-10 09:21:44 -05:00
Kyle Spearrin
0fdb9b3d2f change personal plan to family. allow self host 2017-11-06 16:01:58 -05:00
Kyle Spearrin
dccdef6db5 only allow license key one use per installation 2017-11-06 08:12:36 -05:00
Kyle Spearrin
50a4202739 email 2fa is not case sensitive 2017-11-02 23:29:58 -04:00
Kyle Spearrin
6e302e06dc backup mail service 2017-10-30 22:10:40 -04:00
Kyle Spearrin
377bf201d0 add back markdown mail service 2017-10-30 21:36:00 -04:00
Kyle Spearrin
434723e637 clean out deprecated services. update libs. 2017-10-26 21:07:12 -04:00
Kyle Spearrin
e41461f8fc org tax information 2017-10-25 12:41:07 -04:00
Kyle Spearrin
8ba3e27a7d allow user delete if they are not the only owner 2017-10-25 11:36:54 -04:00
Kyle Spearrin
2d6ceb18de log issues with smtp mail service 2017-10-09 21:43:45 -04:00
Kyle Spearrin
78f18cac17 fixes to razor mail service 2017-10-06 15:07:30 -04:00
Kyle Spearrin
6c2ade2590 update to razorlight 2.0 2017-10-06 12:00:41 -04:00
Kyle Spearrin
ce9067a434 SMTP config allow no username/password 2017-10-05 08:34:46 -04:00
Kyle Spearrin
e3f12c46c3 upgrade owner to premium on SH org create 2017-10-04 16:07:34 -04:00
Kyle Spearrin
c12a0747cc prod licensing certs 2017-10-03 16:19:20 -04:00
Kyle Spearrin
2444346ea9 only owners can manage owners 2017-09-27 22:37:13 -04:00
Kyle Spearrin
184fe0cd64 sanitize user provided string for emails 2017-09-27 12:45:57 -04:00
Kyle Spearrin
e189e8cc79 only count status confirmed 2017-09-08 17:14:15 -04:00
Kyle Spearrin
9e03124b9b block ip for 2 hours 2017-09-08 11:43:09 -04:00
Kyle Spearrin
95181aef89 organization cipher import with collections 2017-09-05 17:49:34 -04:00
Kyle Spearrin
e7aa6980d5 fixes to env variable for id server 2017-09-01 15:36:26 -04:00
Kyle Spearrin
e9a36d6cbe change ip block to 4 hours 2017-08-30 21:53:17 -04:00
Kyle Spearrin
e43c3baf6e default collection on org create 2017-08-30 21:25:46 -04:00
Kyle Spearrin
20779014b0 create default collection with organization signup 2017-08-30 21:08:05 -04:00
Kyle Spearrin
770fa10f3e fix bugs around collection association 2017-08-30 18:18:39 -04:00
Kyle Spearrin
ff22e00ec5 fix null refs on free org create 2017-08-30 15:03:05 -04:00
Kyle Spearrin
8b947cafaf added licensing apis, refactored some services 2017-08-30 11:23:55 -04:00
Kyle Spearrin
417ac64ad2 allow to disable user registration from env 2017-08-28 07:50:57 -04:00
Kyle Spearrin
0ea87d1c1c user premium validation job 2017-08-22 15:27:29 -04:00
Kyle Spearrin
1ab815dbb8 smtp fixes 2017-08-21 22:36:57 -04:00
Kyle Spearrin
c4cc66c391 job logging 2017-08-17 17:10:34 -04:00
Kyle Spearrin
d65f641609 correct noop implementation 2017-08-17 00:13:20 -04:00
Kyle Spearrin
4585af5a85 validate organization licenses 2017-08-17 00:12:11 -04:00
Kyle Spearrin
127ff2d361 back to 1 day 2017-08-16 23:45:40 -04:00
Kyle Spearrin
297b0253e4 vault with hash 2017-08-16 23:44:14 -04:00
Kyle Spearrin
52c0e77a3a remove circular dependency 2017-08-16 23:15:09 -04:00
Kyle Spearrin
b14f6d080e verify and disable premium from license check 2017-08-16 17:08:20 -04:00
Kyle Spearrin
cdc5310fc3 revise user 2017-08-16 15:53:31 -04:00
Kyle Spearrin
fcd63a66e0 self hosted org users get premium access 2017-08-16 15:52:40 -04:00
Kyle Spearrin
582728a083 copy update on error 2017-08-16 15:45:38 -04:00
Kyle Spearrin
9f6c2a9cc7 better error handling around license updates. 2017-08-16 15:43:11 -04:00
Kyle Spearrin
d9cd7880a6 license hash 2017-08-16 15:16:56 -04:00
Kyle Spearrin
80069f3bdd org props from license 2017-08-16 13:58:52 -04:00
Kyle Spearrin
50a522bbd7 markdown mail service when self hosted 2017-08-16 10:59:13 -04:00
Kyle Spearrin
dd288a7071 installation validation and self host applied 2017-08-15 16:11:08 -04:00
Kyle Spearrin
5e63ad58b8 fix null ref 2017-08-15 14:48:56 -04:00
Kyle Spearrin
63a82336c6 billing response for org 2017-08-14 22:05:37 -04:00
Kyle Spearrin
5370c2303e update org license API 2017-08-14 21:25:06 -04:00
Kyle Spearrin
5259b07889 create org with license file 2017-08-14 20:57:45 -04:00
Kyle Spearrin
6b80ec6331 updates for license validation 2017-08-14 13:06:44 -04:00
Kyle Spearrin
18cbc79dd2 update premium license and self host attr checks 2017-08-14 12:08:57 -04:00
Kyle Spearrin
9e566e90a9 cleanup unused vars 2017-08-14 11:08:05 -04:00
Kyle Spearrin
8f84f8b488 issue license key and store expiration date 2017-08-14 10:20:25 -04:00
Kyle Spearrin
10ff21983b changing payment method for bank account token 2017-08-14 10:13:29 -04:00
Kyle Spearrin
e470301327 verify bank api 2017-08-14 09:23:54 -04:00
Kyle Spearrin
45c2d3eeb8 do not accept bank tokens for premium 2017-08-13 00:33:37 -04:00
Kyle Spearrin
680d7b2bed update expiration dates 2017-08-12 22:16:42 -04:00
Kyle Spearrin
46e5cd6486 license key can have upper 2017-08-11 23:26:38 -04:00
Kyle Spearrin
67edcd035c license adjustments for premium creation 2017-08-11 23:08:41 -04:00
Kyle Spearrin
9c254a7325 more premium licensing 2017-08-11 22:55:25 -04:00
Kyle Spearrin
73029f76d2 premium signup with license file 2017-08-11 17:06:31 -04:00
Kyle Spearrin
3ac1f87e12 env files for compose. fixes to push relays 2017-08-11 12:22:59 -04:00
Kyle Spearrin
6fe5e3b849 push notification relay service and relay send api 2017-08-11 10:04:59 -04:00
Kyle Spearrin
0f37920de2 push registration through relay apis 2017-08-11 08:57:31 -04:00
Kyle Spearrin
e538817eb6 added installations, push scoped tokens, push api 2017-08-10 14:39:11 -04:00
Kyle Spearrin
c802292098 handle cases when sub is already cancelled 2017-08-10 09:12:55 -04:00
Kyle Spearrin
789636b394 url encode tokens 2017-08-09 23:16:05 -04:00
Kyle Spearrin
a1d064ed9e license verification services for user/org 2017-08-09 17:01:37 -04:00
Kyle Spearrin
3deec076c7 cancel subscription from payment service on delete 2017-08-09 11:11:15 -04:00
Kyle Spearrin
b2295f867b account recovery to delete via email 2017-08-09 10:53:42 -04:00
Kyle Spearrin
fecd5b3a1a local attachment storage & docker image 2017-08-08 17:27:01 -04:00
Kyle Spearrin
ee9d8a074d new uri settings 2017-08-03 23:12:05 -04:00
Kyle Spearrin
a71f2198e9 disable click tracking on plaintext emails 2017-08-01 17:08:49 -04:00
Kyle Spearrin
3880edfb79 add x-platform support with netcore 2.0 2017-07-31 16:58:27 -04:00
Kyle Spearrin
d6d9ceab87 proration adjustments for next bill amount 2017-07-29 16:59:18 -04:00
Kyle Spearrin
89bb0a05e9 disable click tracking for text breaks all emails 2017-07-29 13:48:19 -04:00
Kyle Spearrin
46419d479a no click tracking on certain links 2017-07-29 13:32:56 -04:00
Kyle Spearrin
d5b540b9e6 attachment check on login share 2017-07-28 15:09:43 -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
2dc9c196c4 paymentservice with stripe & braintree implem. 2017-07-28 00:17:31 -04:00
Kyle Spearrin
d56d3e01f0 retry sendgrid send if fails 2017-07-26 09:32:25 -04:00
Kyle Spearrin
b7e8852250 disable premium membership 2017-07-25 09:04:22 -04:00
Kyle Spearrin
5a4bfe4e61 update libs and cleanup 2017-07-14 09:06:35 -04:00
Kyle Spearrin
f0f58897a9 cancel any subscriptions when deleting account 2017-07-11 11:19:58 -04:00
Kyle Spearrin
b49c16f529 storage adjustment and billing fixes 2017-07-11 10:59:59 -04:00
Kyle Spearrin
a8ff190fb5 storage in billing and org signup 2017-07-11 10:25:00 -04:00
Kyle Spearrin
8684b9c8e5 recompute full storage each time 2017-07-10 22:08:52 -04:00
Kyle Spearrin
de8b2de8e6 attachment cleanup 2017-07-10 20:48:06 -04:00
Kyle Spearrin
22f1da8497 blob meta data for attachments 2017-07-10 17:08:50 -04:00
Kyle Spearrin
c26e679ad9 null check on push 2017-07-10 16:38:18 -04:00
Kyle Spearrin
72e4062d87 rollback share if errors 2017-07-10 16:22:39 -04:00
Kyle Spearrin
f8c749bab5 share login with attachments 2017-07-10 14:30:12 -04:00
Kyle Spearrin
fbc189544b org totp and storage flags 2017-07-07 14:08:30 -04:00
Kyle Spearrin
43262e577c delete attachments 2017-07-07 11:07:22 -04:00
Kyle Spearrin
d346ee5169 APIs for premium. Billing helpers. 2017-07-06 14:55:58 -04:00
Kyle Spearrin
2afef85f85 premium check for attachments 2017-07-05 16:17:32 -04:00
Kyle Spearrin
87a216e523 verify email apis 2017-07-05 15:35:46 -04:00
Kyle Spearrin
97ad8bd943 verify email apis and emails 2017-07-01 23:20:19 -04:00
Kyle Spearrin
8ea81a74ae return attachments from API 2017-06-30 23:01:41 -04:00
Kyle Spearrin
284078e946 database adjustments and storage for attachments 2017-06-30 14:41:57 -04:00
Kyle Spearrin
6cea556ae1 post, upload, and save cipher attachment 2017-06-30 11:15:58 -04:00
Kyle Spearrin
71f755dd44 secure strings for 2fa recovery codes 2017-06-29 16:01:11 -04:00
Kyle Spearrin
a0fb1e0907 recover 2017-06-24 16:17:38 -04:00
Kyle Spearrin
61a436906c remove provider from user table 2017-06-24 14:40:46 -04:00
Kyle Spearrin
d57a68aae3 two factor emails 2017-06-24 12:08:34 -04:00
Kyle Spearrin
59b8438a0f update u2f lib. send 2fa login email 2017-06-24 09:20:12 -04:00
Kyle Spearrin
f28ae5ccd9 fixes for configuring u2f device 2017-06-22 17:03:35 -04:00
Kyle Spearrin
3ae96bd510 u2f token provider 2017-06-22 09:09:51 -04:00
Kyle Spearrin
731a1e31b9 initiating u2f registration 2017-06-21 22:33:45 -04:00
Kyle Spearrin
fd5e2c9466 stubbing out api setup for u2f 2017-06-21 21:46:52 -04:00
Kyle Spearrin
612697e815 refactorings around two-factor controller 2017-06-20 10:08:59 -04:00
Kyle Spearrin
475160cfe1 two factor email setup 2017-06-20 09:21:35 -04:00
Kyle Spearrin
2eaaecd95c remove user twofactorenabled property 2017-06-19 22:25:19 -04:00
Kyle Spearrin
3b5b24531b refactor to a new two-factor controller 2017-06-19 22:08:10 -04:00
Kyle Spearrin
5e9fc6b969 noop mail deli service and moved back to sendgrid 2017-06-16 14:24:04 -04:00
Kyle Spearrin
06ca566be1 attachment apis and azure storage service 2017-06-15 15:34:12 -04:00
Kyle Spearrin
f24bc96846 folder permission checks and null folder 2017-06-09 09:48:44 -04:00
Kyle Spearrin
d3073e675e bulk action apis for delete and move 2017-06-09 00:30:59 -04:00
Kyle Spearrin
ecc2468409 refactor code to with user TwoFactorProviders 2017-06-07 14:14:34 -04:00
Kyle Spearrin
7b1c0d6df1 clear token by id 2017-06-02 16:52:54 -04:00
Kyle Spearrin
bee1ac659b mail template fix for org user id 2017-06-02 13:19:00 -04:00
Kyle Spearrin
57b4a32194 send keys with profile 2017-05-31 17:00:01 -04:00
Kyle Spearrin
a01d5d9a51 "user key" schema and api changes 2017-05-31 09:54:32 -04:00
Kyle Spearrin
8a47869899 template fixes 2017-05-30 23:56:00 -04:00
Kyle Spearrin
9f9150d47e mail templates for RazorViewMailService 2017-05-30 23:43:00 -04:00
Kyle Spearrin
0ee863c1d0 SmtpMailDeliveryService 2017-05-30 22:40:02 -04:00
Kyle Spearrin
07c5f45ae0 New mail services and implementations 2017-05-30 17:19:46 -04:00
Kyle Spearrin
72ac5c9f80 cleanup push sharp implementation for new model 2017-05-30 00:02:20 -04:00
Kyle Spearrin
335ecf73ae deprecate PushSharpPushNotificationService 2017-05-26 22:53:14 -04:00
Kyle Spearrin
5af974d541 notification hub services 2017-05-26 22:52:50 -04:00
Kyle Spearrin
887fe4fc05 rename to push notification service 2017-05-26 09:44:54 -04:00
Kyle Spearrin
c95d39f563 notification hub push registration service 2017-05-26 00:50:27 -04:00
Kyle Spearrin
9db19fa540 1 seat required 2017-05-20 15:33:17 -04:00
Kyle Spearrin
2ad365706c use directory bit on orgs 2017-05-20 15:31:16 -04:00
Kyle Spearrin
f194551afc seat check when signing up 2017-05-19 20:31:52 -04:00
Kyle Spearrin
35a31a4496 prorate fix 2017-05-19 20:31:52 -04:00
Kyle Spearrin
114bf7300a fix inequality 2017-05-18 12:15:16 -04:00
Kyle Spearrin
c582929daf bulk invite apis 2017-05-18 12:04:43 -04:00
Kyle Spearrin
c3060e7801 variable renames and null checks 2017-05-18 12:04:43 -04:00
Kyle Spearrin
fca12ecda6 enough seats available 2017-05-18 12:04:43 -04:00
Kyle Spearrin
933a3feade sync with user externalids 2017-05-16 00:11:21 -04:00
Kyle Spearrin
6958a3fda5 logic tweaks for group assignments 2017-05-15 16:37:56 -04:00
Kyle Spearrin
fc12d73aae check if group users are the same before updating 2017-05-15 15:01:16 -04:00
Kyle Spearrin
670b548b22 updated format of import data 2017-05-15 14:41:20 -04:00
Kyle Spearrin
56f9ea0207 org sync fixes 2017-05-13 17:08:56 -04:00
Kyle Spearrin
a0ac7242b6 only update user groups if they are not the same 2017-05-13 14:14:20 -04:00
Kyle Spearrin
0333b47237 import groups and users for org via api 2017-05-13 12:00:40 -04:00
Kyle Spearrin
21d1cd6adc collection user refactor 2017-05-11 14:52:35 -04:00
Kyle Spearrin
d7f9977382 collection groups management 2017-05-11 12:22:14 -04:00
Kyle Spearrin
2b8db4d1ed SelectionReadOnly MERGE to CollectionGroup 2017-05-11 11:41:13 -04:00
Kyle Spearrin
f632a7650e email checks should not be case sensitive 2017-05-10 13:36:11 -04:00
Kyle Spearrin
07878cbaeb org usegroups check on collection save with groups 2017-05-09 14:20:47 -04:00
Kyle Spearrin
71e9e82ea1 org.UseGroups check on all group saves 2017-05-09 14:17:22 -04:00
Kyle Spearrin
6c923102e9 create/get/update collection with groups 2017-05-09 12:41:36 -04:00
Kyle Spearrin
e996a410dc enterprise plans 2017-05-08 14:40:04 -04:00
Kyle Spearrin
b039461ff4 CipherDetails Edit property 2017-05-06 23:23:01 -04:00
Kyle Spearrin
8d37f1c946 adjust service lifetimes 2017-04-28 16:10:27 -04:00
Kyle Spearrin
628a72b13f handle user delete scenarios when part of org 2017-04-27 17:28:39 -04:00
Kyle Spearrin
da03c276aa rename AccessAllCollections => AccessAll 2017-04-27 15:35:42 -04:00
Kyle Spearrin
8458022a58 admin login apis 2017-04-27 14:50:22 -04:00
Kyle Spearrin
77aec3977c renaming collection linq predicates 2017-04-27 09:39:21 -04:00
Kyle Spearrin
755da8c38f rename foles for subvault => collection 2017-04-27 09:28:23 -04:00
Kyle Spearrin
c6ac82dadd renaming subvault => collection 2017-04-27 09:19:30 -04:00
Kyle Spearrin
2340369d56 plan trial periods 2017-04-27 08:17:04 -04:00
Kyle Spearrin
7907d839c9 disable organization when subscription is canceled 2017-04-26 16:14:15 -04:00
Kyle Spearrin
f2aa568e86 push fixes and additions 2017-04-21 22:39:46 -04:00
Kyle Spearrin
0e2e39e747 noop push implementations 2017-04-21 14:23:14 -04:00
Kyle Spearrin
f34c28128d push nots. for ciphers, folders, keys, & settings 2017-04-21 14:22:32 -04:00
Kyle Spearrin
b0b6cac97b Flag for org users to access all subvaults 2017-04-20 23:50:12 -04:00
Kyle Spearrin
aa5b79df2b more user friendly error message for no access. 2017-04-20 16:19:23 -04:00
Kyle Spearrin
a9b0748d07 cipher delete for admin 2017-04-19 16:00:47 -04:00
Kyle Spearrin
2aa7c6cfe3 org user remove fixes 2017-04-18 15:27:54 -04:00
Kyle Spearrin
9746bfb236 no need for email since owner is confirmed 2017-04-18 15:11:48 -04:00
Kyle Spearrin
c7496d2be2 remove duplicate filter checks 2017-04-18 10:21:32 -04:00
Kyle Spearrin
3459be8143 remove unnecessary update partial cipher service 2017-04-17 23:16:35 -04:00
Kyle Spearrin
f7aa6fadbf admin subvault updates for cipher 2017-04-17 23:12:48 -04:00
Kyle Spearrin
5b76c43fb0 check folders as well 2017-04-17 15:34:07 -04:00
Kyle Spearrin
e732996cd9 change email/password adjustments 2017-04-17 14:53:07 -04:00
Kyle Spearrin
a684e03819 convert fav and folder json to userid object 2017-04-17 11:46:15 -04:00
Kyle Spearrin
f21652b46b refactored cipherfolder and fav to JSON columns 2017-04-15 22:26:45 -04:00
Kyle Spearrin
c6dcac96d3 query tuning. more userid denorm support 2017-04-14 12:49:35 -04:00
Kyle Spearrin
bf18a5905d import fixes for new folder/favorite schema 2017-04-12 16:48:38 -04:00
Kyle Spearrin
c6ef3dc283 update cipher subvaults 2017-04-12 12:42:00 -04:00
Kyle Spearrin
b7ac04955a dont throw exceptions on noopmailservice 2017-04-12 11:01:56 -04:00