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

801 Commits

Author SHA1 Message Date
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
Kyle Spearrin
94b6f43fc6 send revision date with collection edits 2018-08-21 23:11:57 -04:00
Kyle Spearrin
3a08ebda1f fix notifications endpoint 2018-08-21 14:40:43 -04:00
Kyle Spearrin
255855887b fix double // 2018-08-21 14:32:09 -04:00
Kyle Spearrin
1b489daca1 send collection ids with cipher notification 2018-08-21 09:29:38 -04:00
Kyle Spearrin
ad5b71643a ip ban is for 30 minutes 2018-08-20 16:26:15 -04:00
Kyle Spearrin
5766c1f6f3 enable notifications services 2018-08-17 18:04:11 -04:00
Kyle Spearrin
40a410917f rename hubapi notification service 2018-08-16 13:52:11 -04:00
Kyle Spearrin
1ffa712b75 more notification hub renames 2018-08-16 13:50:41 -04:00
Kyle Spearrin
42d3a2d8e3 hub configurations 2018-08-16 13:35:16 -04:00
Kyle Spearrin
28e6783a00 hub api notifications 2018-08-16 12:05:01 -04:00
Kyle Spearrin
ff01ce5ca7 internal identity authorization 2018-08-15 18:43:26 -04:00
Kyle Spearrin
25899fd326 adjusted serilog inclusion predicate with bypassid 2018-08-15 10:54:15 -04:00
Kyle Spearrin
0932189ccb support for user defined kdf parameters 2018-08-14 15:30:04 -04:00
Kyle Spearrin
a06502be9a remove markdown and razor mail templates/services 2018-08-06 13:58:28 -04:00
Kyle Spearrin
b2715503c3 update to new 2.0.0 preview for notification hub 2018-08-06 09:04:31 -04:00
Kyle Spearrin
b2e6b49b14 handlebars template emails 2018-08-03 23:04:47 -04:00
Kyle Spearrin
a4e91aa570 no azure queue service for now 2018-08-02 21:03:04 -04:00
Kyle Spearrin
0cde13e0c6 azure queue notification service 2018-08-02 17:23:37 -04:00
Kyle Spearrin
8f3c8512cf null or whitespace 2018-07-31 22:10:15 -04:00
Kyle Spearrin
cf6334e37d check to make sure user actually needs key update 2018-07-31 08:19:49 -04:00
Kyle Spearrin
941792bdd8 u2f db updates 2018-07-21 08:44:21 -04:00
Kyle Spearrin
f7fb99a726 remove test bcc 2018-07-20 23:44:21 -04:00
Kyle Spearrin
0d4ac29bc7 fix cancelled typo in areas 2018-07-20 17:00:05 -04:00
Kyle Spearrin
0e7ceed68f dev licensing cert 2018-07-19 00:02:21 -04:00
Kyle Spearrin
c92ef08664 check collection count on org import 2018-07-17 13:34:12 -04:00
Kyle Spearrin
49947e382d only check token valid if registration is disabled 2018-07-13 11:04:09 -04:00
Kyle Spearrin
938b7f1230 premium renewal reminders job for braintree 2018-07-12 23:23:41 -04:00
Kyle Spearrin
9fee09e204 log event when removing user from group/collection 2018-07-09 23:07:04 -04:00
Kyle Spearrin
de552be25f apis for bulk sharing 2018-06-13 14:03:44 -04:00
Kyle Spearrin
72e95e2a98 allow org user reg. when reg. is disabled 2018-05-24 16:55:52 -04:00
Kyle Spearrin
a170e02565 remove bcc 2018-05-15 15:07:53 -04:00
Kyle Spearrin
053096c1a1 subscription renewal reminder emails 2018-05-11 08:29:23 -04:00
Kyle Spearrin
e350ef650a dont cycle security token on re-hash 2018-04-17 08:10:17 -04:00
Kyle Spearrin
dead022e83 admin base uri setting, applied to login emails 2018-04-16 20:35:53 -04:00
Kyle Spearrin
ad03c9a157 Log org disabled reason 2018-04-13 09:25:54 -04:00
Kyle Spearrin
389512d51e added org duo to 2fa flow 2018-04-03 14:31:33 -04:00
Kyle Spearrin
0d4ea5ce5b organization 2fa apis 2018-04-02 23:18:26 -04:00
Kyle Spearrin
bcc224c02d stub out use2fa and twofactorproviders on orgs 2018-04-02 14:53:19 -04:00
Kyle Spearrin
14039d7d1a respect return url on sign in link 2018-03-22 13:18:18 -04:00
Kyle Spearrin
6e16581fe8 passwordless signin email 2018-03-21 21:19:03 -04:00
Kyle Spearrin
3251c4b574 check for org user email to be null 2018-01-01 22:05:43 -05:00
Kyle Spearrin
46c36dc885 net471 directive fixes 2017-12-29 11:57:52 -05:00
Kyle Spearrin
8a318f35b7 events has its own connection string 2017-12-27 22:39:14 -05:00
Kyle Spearrin
ff1b85505d subscriptions are always canceled at end of period 2017-12-22 23:01:56 -05:00
Kyle Spearrin
67ec4603a4 pass org id to can use events check 2017-12-20 22:23:05 -05:00
Kyle Spearrin
e9116f8c44 app cache with org ability checks on events 2017-12-19 16:02:39 -05:00
Kyle Spearrin
a9f232746e store device type and ip address on events 2017-12-15 10:50:06 -05:00
Kyle Spearrin
93ccfa7eac set acting user for user events 2017-12-14 16:41:52 -05:00
Kyle Spearrin
172fd2425e added org flag for UseEvents 2017-12-14 15:48:44 -05:00
Kyle Spearrin
2c4ce27ef2 fixes to event get APIs 2017-12-14 15:04:20 -05:00
Kyle Spearrin
b917ea1fd2 current context null checks 2017-12-12 15:23:45 -05:00
Kyle Spearrin
6649c29a8b event fixes 2017-12-12 15:04:14 -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
1bdf56d39f process messages with IEvent 2017-12-08 23:09:50 -05:00
Kyle Spearrin
83a7c98fae write events to table storage 2017-12-08 16:03:20 -05:00
Kyle Spearrin
f02679f609 logic error on cipher event log 2017-12-08 14:59:21 -05:00
Kyle Spearrin
c01fd359f0 use EventTableEntity instead of TableEntity 2017-12-08 14:03:07 -05:00
Kyle Spearrin
8ac284f1ec noop event write service 2017-12-04 12:17:26 -05:00
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
Kyle Spearrin
0b4ba6399b email notifications on user approval process 2017-04-12 11:00:40 -04:00
Kyle Spearrin
1cf38397f3 leave org apis 2017-04-12 10:07:27 -04:00
Kyle Spearrin
e2937c20f9 refund charges if signup fails 2017-04-11 13:04:37 -04:00
Kyle Spearrin
96979079ba delete organization 2017-04-11 10:52:28 -04:00
Kyle Spearrin
c28106c81b prorate until next due date if charge is < $5 2017-04-11 10:00:36 -04:00
Kyle Spearrin
2b97e4c847 org update billing 2017-04-10 19:07:38 -04:00
Kyle Spearrin
ea6178594c change "uncancel" to reinstate. fix rename error. 2017-04-10 18:20:21 -04:00
Kyle Spearrin
fa565f46c6 uncancel and manual prograte billing if add seats 2017-04-10 16:42:53 -04:00
Kyle Spearrin
be20bef494 seat adjustment stripe logic 2017-04-10 12:28:41 -04:00
Kyle Spearrin
ce93d4b07e api endpoints for seats, upgrade, and cancel org 2017-04-10 11:49:53 -04:00
Kyle Spearrin
f8baf3abb3 upcoming invoice info 2017-04-10 11:30:36 -04:00
Kyle Spearrin
5705f4f736 separate plans for month vs annual. users => seats 2017-04-10 10:44:27 -04:00
Kyle Spearrin
bb0555a6d9 Billing updates
- Break monthly and annual plans into two.
- Add upgrade and adjust additional users
2017-04-10 09:36:21 -04:00
Kyle Spearrin
52dcd6d6ab cancel subscription service 2017-04-08 18:15:20 -04:00
Kyle Spearrin
18d2715c71 change payment API 2017-04-08 16:41:40 -04:00
Kyle Spearrin
6467cafde3 max additional users check 2017-04-08 10:52:10 -04:00
Kyle Spearrin
cc7fd61c85 subvault service save to check max subvault 2017-04-08 10:44:13 -04:00
Kyle Spearrin
51e8d3f1a7 added max subvault count. check max org users. 2017-04-07 16:41:04 -04:00
Kyle Spearrin
7e093a73be remove old org property 2017-04-07 15:07:16 -04:00
Kyle Spearrin
7497d5ca6f Org admin cleanup
- Added sproc to check if org admin for free org create
- Removed old proeprties not in user from org and subvault
- Added more cascade deletes
2017-04-07 14:52:31 -04:00
Kyle Spearrin
52ccef85c6 use one instead of 1 2017-04-07 14:14:48 -04:00
Kyle Spearrin
b4d588d981 limit org admins to 1 free organization 2017-04-07 14:03:36 -04:00
Kyle Spearrin
2d7cb1321b apis for org settings & billing 2017-04-06 16:52:39 -04:00
Kyle Spearrin
c4ab901098 remove admin checks from services for ctrl context 2017-04-05 16:29:46 -04:00
Kyle Spearrin
382be7a90b permissions validation 2017-04-04 22:07:30 -04:00
Kyle Spearrin
f52c0798cd org signup plan details 2017-04-04 12:57:50 -04:00
Kyle Spearrin
a4ef7c906e stripe subscription creation 2017-04-04 10:13:16 -04:00
Kyle Spearrin
5187f4c15f owner check when editing 2017-04-03 13:24:49 -04:00
Kyle Spearrin
f1fc7832a0 subvault user apis 2017-04-03 12:27:02 -04:00
Kyle Spearrin
95fdfeb519 orgs must have one owner checks 2017-03-29 21:26:19 -04:00
Kyle Spearrin
9e10314b21 org name for mail url 2017-03-29 20:58:11 -04:00
Kyle Spearrin
472a4ade8f org invite validation and email tweaks 2017-03-28 21:16:19 -04:00
Kyle Spearrin
b144f8a686 validation checks on cipher move 2017-03-25 16:25:10 -04:00
Kyle Spearrin
5029af33c5 user can edit responses and cipher partial updates 2017-03-24 16:15:50 -04:00
Kyle Spearrin
10c72fafda permission checks for cipher crud operations 2017-03-24 09:27:15 -04:00
Kyle Spearrin
072fb727a8 org user invite emails 2017-03-23 16:56:25 -04:00
Kyle Spearrin
4eac3694a3 invite token is org user based 2017-03-23 11:51:37 -04:00
Kyle Spearrin
1404374fb9 small logic fix 2017-03-23 00:39:55 -04:00
Kyle Spearrin
b7254519f0 organization user apis, hardening, completeness 2017-03-23 00:17:34 -04:00
Kyle Spearrin
8cf6e8568b dont send pushes for now since they depend on user 2017-03-21 21:21:28 -04:00
Kyle Spearrin
d266da1084 user checks on read procs 2017-03-21 21:13:39 -04:00
Kyle Spearrin
ed8d5d69a4 Move into and read ciphers from org subvaults 2017-03-21 21:13:39 -04:00
Kyle Spearrin
26b553c248 cipher details create/update 2017-03-18 23:41:46 -04:00
Kyle Spearrin
588f6c7c2c refactor for cipher details, folders, favorites 2017-03-18 11:58:02 -04:00
Kyle Spearrin
7112496ff4 manage user type 2017-03-13 23:31:17 -04:00
Kyle Spearrin
c8d6a26ec3 user vault associations 2017-03-13 22:54:24 -04:00
Kyle Spearrin
cfb4d1453c org user subvaults apis 2017-03-11 22:42:27 -05:00
Kyle Spearrin
4bcfab589d SubvaultUser APIs and services 2017-03-09 23:58:43 -05:00
Kyle Spearrin
be5f388fa1 cycle takes parameters 2017-03-08 22:33:31 -05:00
Kyle Spearrin
bd0c960e9f move domains to Models.Table 2017-03-08 21:45:08 -05:00
Kyle Spearrin
d7eb5f0f7a update to sendgrid 9.x 2017-03-08 21:11:19 -05:00
Kyle Spearrin
5ac2113cac org user management apis 2017-03-04 21:28:41 -05:00
Kyle Spearrin
29e3605576 organization signup apis and data model changes 2017-03-03 00:07:11 -05:00
Kyle Spearrin
acb1fc0be5 remove old share solution code 2017-02-28 22:51:29 -05:00
Kyle Spearrin
8c7f1dd343 Support for CipherKey and Share APIs 2017-02-27 22:58:01 -05:00
Kyle Spearrin
48cf44f5b2 share service setup 2017-02-25 23:38:24 -05:00
Kyle Spearrin
8514d1f16d Parse enum as to accept 0 values or full string values 2017-01-28 17:28:28 -05:00
Kyle Spearrin
ef38719253 formatting 2017-01-24 22:48:33 -05:00
Kyle Spearrin
0648c2d0a3 react to contact changes not being set from identity 2017-01-24 22:46:54 -05:00
Kyle Spearrin
8a83600e52 Move claims issuance and security stamp checks out into profile service. moved context sets out of identity implementations and into get methods. 2017-01-24 22:15:21 -05:00
Kyle Spearrin
b08c960cc0 Noop services 2017-01-20 22:29:01 -05:00
Kyle Spearrin
4e790fcfa3 Added API for getting the current user's account revision date 2017-01-14 10:02:37 -05:00
Kyle Spearrin
1b30a27990 Replace OtpSharp with Otp.NET for net core support 2017-01-13 21:59:33 -05:00
Kyle Spearrin
6cde9ed223 added identity server real cert loading 2017-01-12 18:35:26 -05:00
Kyle Spearrin
038c98cfaf re-working claims for aspnet core identity integration and backwards compat 2017-01-11 21:46:36 -05:00
Kyle Spearrin
7abde8c771 equivalent domains APIs and data models 2017-01-09 22:20:34 -05:00
Kyle Spearrin
9cde513026 Refactor naming: Sites => Logins 2017-01-02 21:52:13 -05:00
Kyle Spearrin
63243eddc6 Rename services implementations 2016-12-02 23:37:08 -05:00
Kyle Spearrin
bfb98131e5 organization service implementations into their own folder 2016-12-02 23:32:36 -05:00
Kyle Spearrin
4aa5292a50 make cloudqueues readonly 2016-11-30 21:54:04 -05:00
Kyle Spearrin
b87c9c1a5a Queue ip addresses for block whenever they exceed the rate limit too much 2016-11-30 21:52:06 -05:00
Kyle Spearrin
4867df0138 Adjusted two factor recovery model and moved functionality to user service 2016-11-14 23:32:15 -05:00
Kyle Spearrin
c954683133 If no ciphers yet, just save user when changing password/email 2016-10-05 22:03:08 -04:00
Kyle Spearrin
f07e9e9dd0 do not send push notifications to device that intiated the cipher create/update/delete since that device should arleady be handling the action after API response. 2016-08-06 02:29:15 -04:00
Kyle Spearrin
0727b75a83 Added device service. Added API for clearing out token for a device identifier (used for push unregister). 2016-08-05 23:59:59 -04:00
Kyle Spearrin
4a8162d09a Fixed null reference to device when loggin in for website 2016-07-23 17:12:42 -04:00
Kyle Spearrin
939a9e25da Return after no master password hint email 2016-07-23 00:30:58 -04:00
Kyle Spearrin
46b0d52366 jobject fox for ciphers push 2016-07-06 00:17:22 -04:00
Kyle Spearrin
ba209e41ce Register name not required. Updated mail template ids. 2016-07-05 22:21:42 -04:00
Kyle Spearrin
fefe541251 cipher revision update. fixed exception handler logging issue. added logger to push service. 2016-06-30 21:31:12 -04:00
Kyle Spearrin
731e1bcf46 apple data for push notifications 2016-06-30 00:35:17 -04:00
Kyle Spearrin
00d79d0fff Push service fixes. Specific pushes for cipher type deletes. 2016-06-29 21:17:46 -04:00
Kyle Spearrin
b16c0ca087 linq optimization for android devices in push service 2016-06-29 01:17:44 -04:00
Kyle Spearrin
ef0a808687 added push events and moved cipher writing to cipher service. 2016-06-29 01:15:37 -04:00
Kyle Spearrin
25793e0523 created push service using with pushsharp 2016-06-18 15:08:21 -04:00
Kyle Spearrin
3fdb0fcf67 refactored data storage to use cipher table. added history table and insert triggers. 2016-05-21 17:16:22 -04:00
Kyle Spearrin
79f507fe68 Upgrade to ASP.NET Core RC2 release. 2016-05-19 23:17:01 -04:00
Kyle Spearrin
7364f1d442 user revision date updates 2016-02-21 01:10:31 -05:00
Kyle Spearrin
5de7fde685 updated user store to use user service for user update operation. added revision date updates to user service update method. 2016-02-21 00:56:48 -05:00
Kyle Spearrin
f3e3474746 added user email verification bit 2016-02-21 00:50:53 -05:00
Kyle Spearrin
1b3acec905 Transactionally safe user password and email change updates. 2016-02-21 00:15:17 -05:00
Kyle Spearrin
9914399e8b Removed DocumentDB repositories and domain type dependencies for them. Moved account registration process to not require email address verification in preparation for client app registration process. 2016-02-20 23:25:44 -05:00
Kyle Spearrin
ef3853d507 Added loggr logging for production environment. 2016-02-06 23:45:33 -05:00
Kyle Spearrin
972290d1ec Added retrt logic to all documentdb queries. Updated change password and email process to use multi step for cirty ciphers and replace user. Fixed RefreshSecurityStampAsync to not dirty ciphers. 2015-12-29 21:45:21 -05:00
Kyle Spearrin
55be0c739e Added account delete. 2015-12-27 00:14:56 -05:00
Kyle Spearrin
8d7178bc74 Added cipher service with bulk import to account controller 2015-12-26 23:09:53 -05:00
Kyle Spearrin
437b971003 initial commit of source 2015-12-08 22:57:38 -05:00