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

481 Commits

Author SHA1 Message Date
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
0c84f9c151 add support for storing u2f challenges 2017-06-21 16:55:45 -04:00
Kyle Spearrin
50c0b3e752 configure duo 2fa 2017-06-21 14:19:07 -04:00
Kyle Spearrin
2ce47edadf two factor params on login 2017-06-21 12:13:18 -04:00
Kyle Spearrin
7095ae0ea1 Duo WebSDK Token Provider 2017-06-21 00:04:25 -04:00
Kyle Spearrin
4d6d3c97a3 Duo web sdk 2017-06-20 23:38:22 -04:00
Kyle Spearrin
c13ba70ab4 verify all 2fa methods 2017-06-20 14:50:12 -04:00
Kyle Spearrin
69de88cc32 yubikey setup for 2FA 2017-06-20 14:12:31 -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
5a67df60de new encryption types for rsa with hmac 2017-06-19 09:46:59 -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
94be5bc1dd u2f 2f provider enum 2017-06-14 22:40:55 -04:00
Kyle Spearrin
1fc441b6e8 yubico global settings 2017-06-14 22:40:33 -04:00
Kyle Spearrin
71eca0962a remove deprecated code 2017-06-13 09:12:00 -04:00
Kyle Spearrin
498ddae8f8 yubico otp token provider 2017-06-12 23:17:39 -04:00
Kyle Spearrin
e712b2ded0 yubico otp token provider 2017-06-12 23:16:38 -04:00
Kyle Spearrin
314d591f36 Duo API and token provider 2017-06-12 21:23:02 -04:00
Kyle Spearrin
e0bbd93990 edit bug on create 2017-06-09 12:35:09 -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
151eae2f05 return org props for groups. error on del password 2017-06-08 09:46:00 -04:00
Kyle Spearrin
b5fbe23be2 remove authenticatorkey from user 2017-06-07 14:32:08 -04:00
Kyle Spearrin
ecc2468409 refactor code to with user TwoFactorProviders 2017-06-07 14:14:34 -04:00
Kyle Spearrin
d8c0994ed3 remove deprecated jwt bearer authentication method 2017-06-06 23:19:42 -04:00
Kyle Spearrin
811bbbfe0a added two factor providers to user object 2017-06-06 17:15:19 -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
8e9aae10ef added security stamp to profile 2017-06-02 13:18:47 -04:00
Kyle Spearrin
57b4a32194 send keys with profile 2017-05-31 17:00:01 -04:00
Kyle Spearrin
9abc16504b typo 2017-05-31 10:11:12 -04:00
Kyle Spearrin
9ed677532c add key to login response from identity 2017-05-31 10:10:08 -04:00
Kyle Spearrin
6b3a25571b no regards for basic mail template 2017-05-31 10:05:39 -04:00
Kyle Spearrin
27a9c8ca33 mail layout footer 2017-05-31 10:04:16 -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
c362f88246 small fixes 2017-05-20 10:36:33 -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
f0328cb3ab deleted instead of disabled 2017-05-16 11:21:53 -04:00
Kyle Spearrin
933a3feade sync with user externalids 2017-05-16 00:11:21 -04:00
Kyle Spearrin
b3e4fcca74 add externalid to organizationuser 2017-05-15 23:03:32 -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
5d595d4cf9 group external id 2017-05-12 14:02:33 -04:00
Kyle Spearrin
5a6e189e67 connector client 2017-05-12 13:43:42 -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
f0d7dc8023 Group access & sproc/model refactoring. 2017-05-11 10:32:25 -04:00
Kyle Spearrin
f632a7650e email checks should not be case sensitive 2017-05-10 13:36:11 -04:00
Kyle Spearrin
08943ed305 group access all and readonly schema changes 2017-05-10 12:17:10 -04:00
Kyle Spearrin
ba99b332e1 edit is true for LoginResponseModel with Cipher 2017-05-10 08:14:01 -04:00
Kyle Spearrin
540773eb36 remove user from group apis 2017-05-09 19:24:03 -04:00
Kyle Spearrin
7a4d20ac1f group user assignment apis 2017-05-09 19:04:01 -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
a67b2b75a1 bug fixes 2017-05-09 14:09:29 -04:00
Kyle Spearrin
4447f27c81 update libs 2017-05-09 13:33:09 -04:00
Kyle Spearrin
6c923102e9 create/get/update collection with groups 2017-05-09 12:41:36 -04:00
Kyle Spearrin
d166f9cca3 add/edit group with collection ids 2017-05-08 22:14:01 -04:00
Kyle Spearrin
e996a410dc enterprise plans 2017-05-08 14:40:04 -04:00
Kyle Spearrin
81d4be6f56 Added use groups bit to org 2017-05-08 14:22:40 -04:00
Kyle Spearrin
fdf7546f33 added groups apis 2017-05-08 14:08:44 -04:00
Kyle Spearrin
a03c19d693 import should be in the transaction scope 2017-05-08 13:42:04 -04:00
Kyle Spearrin
975be508eb bump account revision date after import 2017-05-08 11:58:42 -04:00
Kyle Spearrin
9936f69481 support access all for collection user details 2017-05-08 11:27:21 -04:00
Kyle Spearrin
b039461ff4 CipherDetails Edit property 2017-05-06 23:23:01 -04:00
Kyle Spearrin
bf5d0f50be comment update 2017-05-05 23:24:44 -04:00
Kyle Spearrin
c4abe765ba move TokenRetrieval to api 2017-05-05 23:21:58 -04:00
Kyle Spearrin
94fa3b1d1d user secrets from string param 2017-05-05 23:03:03 -04:00
Kyle Spearrin
790ccb77c3 centralize ConfigurationBuilder 2017-05-05 21:49:55 -04:00
Kyle Spearrin
3daf0bcd18 centralize a lot of service registration 2017-05-05 20:57:33 -04:00
Kyle Spearrin
49bee6935a move identityserver libs into core 2017-05-05 16:11:50 -04:00
Kyle Spearrin
4ab53d476c pass orgid from app code rather than querying it 2017-05-04 07:23:40 -04:00
Kyle Spearrin
5b5bd4e099 limit collection users with accessall to orgid 2017-05-04 07:17:01 -04:00
Kyle Spearrin
94fdb72d75 handle case when no folders or ciphers on change 2017-05-03 17:16:24 -04:00
Kyle Spearrin
92fb369eb9 validate email on org create 2017-05-03 11:05:15 -04:00
Kyle Spearrin
848e94ad56 restore new change pass and email apis 2017-05-03 10:12:13 -04:00
Kyle Spearrin
23467b7771 backwards compat issues with change email/password 2017-04-28 16:49:40 -04:00
Kyle Spearrin
8d37f1c946 adjust service lifetimes 2017-04-28 16:10:27 -04:00
Kyle Spearrin
8ac0be7477 add back folder expand for backwards compat. 2017-04-28 16:06:37 -04:00
Kyle Spearrin
02c1b4e08c added additional eq. domains to microsoft globals 2017-04-28 08:43:04 -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
9322b094cf update plans with new stripe plan ids 2017-04-26 16:31:11 -04:00
Kyle Spearrin
7907d839c9 disable organization when subscription is canceled 2017-04-26 16:14:15 -04:00
Kyle Spearrin
3a5f667683 move repos and services reg out to core extensions 2017-04-26 16:13:24 -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
62e35f0a1a add support for OAEP SHA1 2017-04-21 12:52:49 -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
cd2e881020 handle legacy encrypt-then-mac cipher string 2017-04-19 16:47:44 -04:00
Kyle Spearrin
54f58ba14d backwards compat for folders in cipher listing 2017-04-19 16:47:12 -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
0e5799f7c8 apis for org vault listing 2017-04-17 17:01:23 -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
c7c5ae8f9a handle distinct selections from app code 2017-04-17 13:11:39 -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
63e95f0f55 check for keys already existing 2017-04-13 18:27:30 -04:00
Kyle Spearrin
bf18a5905d import fixes for new folder/favorite schema 2017-04-12 16:48:38 -04:00
Kyle Spearrin
09048cf98f dep. history and favorites apis. backwards compat 2017-04-12 14:42:19 -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
7afa3f5d1b disabled org api props 2017-04-11 15:57:13 -04:00
Kyle Spearrin
e2937c20f9 refund charges if signup fails 2017-04-11 13:04:37 -04:00
Kyle Spearrin
d69ad2e32e handle stripe card errors 2017-04-11 12:27:13 -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
340f6f03c5 add enabled bit to organization 2017-04-10 22:33:39 -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
58aa0482ba convert decimal after division 2017-04-10 12:45:32 -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
315c59b2ae pad month with 0 2017-04-10 10:50:46 -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
e3cc1b9411 adjust plans and add max subvaults to orgs 2017-04-07 16:25:17 -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
02d8913a77 encryption type header checking 2017-04-06 22:55:36 -04:00
Kyle Spearrin
2d7cb1321b apis for org settings & billing 2017-04-06 16:52:39 -04:00
Kyle Spearrin
e414b8d731 refactor subvault ctrl with org context checks 2017-04-05 16:40:09 -04:00
Kyle Spearrin
c4ab901098 remove admin checks from services for ctrl context 2017-04-05 16:29:46 -04:00
Kyle Spearrin
9a1e512020 org context checks in org apis. remove depr. code 2017-04-05 16:13:40 -04:00
Kyle Spearrin
a474449354 added user orgs to claims 2017-04-05 15:31:33 -04:00
Kyle Spearrin
fee9bde12f update stripe plan names 2017-04-04 22:26:50 -04:00
Kyle Spearrin
382be7a90b permissions validation 2017-04-04 22:07:30 -04:00
Kyle Spearrin
7d9a2cdd95 cipher details with subvaults api 2017-04-04 17:22:47 -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
73b23a53ea model validation 2017-03-28 22:03:57 -04:00
Kyle Spearrin
472a4ade8f org invite validation and email tweaks 2017-03-28 21:16:19 -04:00
Kyle Spearrin
da29160218 filter status 2017-03-25 21:53:32 -04:00
Kyle Spearrin
1158e7051d fix type compile bug 2017-03-25 21:21:38 -04:00
Kyle Spearrin
5b7c683c57 Added user type to organization APIs 2017-03-25 16:34:30 -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
84c5873cfd return proper subvault ids for cipher details 2017-03-24 09:42:06 -04:00
Kyle Spearrin
10c72fafda permission checks for cipher crud operations 2017-03-24 09:27:15 -04:00
Kyle Spearrin
0dae19bd4f remove old loggr refs 2017-03-23 22:30:56 -04:00
Kyle Spearrin
ca9aa40873 manage data protection keys with azure and enc 2017-03-23 22:02:55 -04:00
Kyle Spearrin
47477f6ca5 subvault ciphers 2017-03-23 17:43:12 -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