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

1215 Commits

Author SHA1 Message Date
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
ba9cca057e break apart query filter to make more readable 2017-12-01 08:59:00 -05:00
Kyle Spearrin
c988171f09 welcome email should use web vault url hostname 2017-11-29 13:40:56 -05:00
Kyle Spearrin
38ee251f72 more info on bans/blocks 2017-11-29 08:47:20 -05:00
Kyle Spearrin
cdddffc977 GetRequestInfo on ban 2017-11-29 08:42:29 -05:00
Kyle Spearrin
a8b4261a85 support net core 2017-11-28 22:48:31 -05:00
Kyle Spearrin
341ef0a943 table storage event repo stub 2017-11-28 22:21:47 -05:00
Kyle Spearrin
8a81241f13 update packages 2017-11-28 12:57:42 -05:00
Kyle Spearrin
49372bed38 always update associations on group/coll updates 2017-11-24 11:53:15 -05:00
Kyle Spearrin
0502ba2451 only get collection info when in an org 2017-11-24 09:28:38 -05:00
Kyle Spearrin
a956b826cd include collections in sync 2017-11-22 09:53:14 -05:00
Kyle Spearrin
e2cc0ce95a log bearer token with blocked requests 2017-11-22 09:09:46 -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
22bc77415f eq domains updates 2017-11-13 12:23:57 -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
aa045f7775 fix == bug in licensing VerifyData 2017-11-12 22:57:25 -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
daefe0d66b rename plan to "Families" 2017-11-08 12:36:27 -05:00
Kyle Spearrin
ed826f4b28 version > 1 on UsersGetPremium check 2017-11-07 21:51:50 -05:00
Kyle Spearrin
f7cb6e403d dont check UsersGetPremium for version 1 licenses 2017-11-07 21:12:50 -05:00
Kyle Spearrin
5c7ff94657 user BillingResponseModel without licensing 2017-11-07 11:58:15 -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
f396869aaf all not self-hosted gets cloud storage dp keys 2017-10-27 22:43:15 -04:00
Kyle Spearrin
a9cf049a6c drop net461 support in billing and ident.
cleanup various csproj files
add appservice hosting startup package for api
2017-10-27 21:43:26 -04:00
Kyle Spearrin
434723e637 clean out deprecated services. update libs. 2017-10-26 21:07:12 -04:00
Kyle Spearrin
a989a800f7 validate master password on purge 2017-10-25 21:38:54 -04:00
Kyle Spearrin
a042fd10f1 apis for purging user vault 2017-10-25 21:26:09 -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
e0a6bb82d1 update stripe package 2017-10-23 09:30:56 -04:00
Kyle Spearrin
5ee0b4a9da simplify secrets in startup via csproj tools 2017-10-19 00:08:09 -04:00
Kyle Spearrin
8b07244c95 move to standard appsettings.json 2017-10-18 23:32:27 -04:00
Kyle Spearrin
045056389d update libs 2017-10-18 23:20:16 -04:00
Kyle Spearrin
16a8d8fd1b uwp device type 2017-10-09 22:57:18 -04:00
Kyle Spearrin
2d6ceb18de log issues with smtp mail service 2017-10-09 21:43:45 -04:00
Kyle Spearrin
b0fd99b218 additional identity fields 2017-10-09 11:23:20 -04:00
Kyle Spearrin
7e848e5c55 added identity cipher type 2017-10-06 15:47:31 -04:00
Kyle Spearrin
91e1c5878c remove deprecated code 2017-10-06 15:29:36 -04:00
Kyle Spearrin
78f18cac17 fixes to razor mail service 2017-10-06 15:07:30 -04:00
Kyle Spearrin
598034ba19 re-organize packages 2017-10-06 14:10:26 -04:00
Kyle Spearrin
857ad5b194 remove cookie auth from useidentity 2017-10-06 14:02:28 -04:00
Kyle Spearrin
6c2ade2590 update to razorlight 2.0 2017-10-06 12:00:41 -04:00
Kyle Spearrin
f2183246d2 update libs, aspnet core 20, & id server 2.0 2017-10-06 11:38:47 -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
77541bc4c6 added edge and github to welcome email 2017-10-03 11:15:13 -04:00
Kyle Spearrin
0fff886357 added rate limiting to identity 2017-09-28 15:01:43 -04:00
Kyle Spearrin
0abcdd9724 import ciphers, not logins 2017-09-28 13:11:56 -04:00
Kyle Spearrin
2444346ea9 only owners can manage owners 2017-09-27 22:37:13 -04:00
Kyle Spearrin
825f7b8bb9 proper ToCipher on CipherWithIdRequestModel 2017-09-27 21:55:39 -04:00
Kyle Spearrin
184fe0cd64 sanitize user provided string for emails 2017-09-27 12:45:57 -04:00
Kyle Spearrin
c58135bac5 refactor api models for other cipher types 2017-09-21 10:52:23 -04:00
Kyle Spearrin
12650a0ada deprecated logins api and moved to ciphers 2017-09-20 23:52:45 -04:00
Kyle Spearrin
3fdf2eb4ad sync API to get all info in 1 call 2017-09-20 12:00:33 -04:00
Kyle Spearrin
9b790b7edc license when no billing info 2017-09-18 17:57:37 -04:00
Kyle Spearrin
ae5de79055 moved to dapper alpha lib 2017-09-16 22:40:33 -04:00
Kyle Spearrin
27216efd1f stub out fields and secure note models 2017-09-13 16:54:23 -04:00
Kyle Spearrin
16c976fe5a typo 2017-09-12 10:11:56 -04:00
Kyle Spearrin
62f934b6b1 colemak typo 2017-09-11 23:25:11 -04:00
Kyle Spearrin
0233c2e49c dvorak and colemak 2 qwerty helper 2017-09-11 23:08:08 -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
24fe7a9f88 get rid of version weight 2017-09-06 23:57:14 -04:00
Kyle Spearrin
b06aae7cfd Admins are not limited by collection controls 2017-09-06 13:01:22 -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
7088907766 remove unused field 2017-09-01 14:25:20 -04:00
Kyle Spearrin
7206a9dedf check for verified email 2017-09-01 14:16:00 -04:00
Kyle Spearrin
576b85f125 update new lines on text emails 2017-08-30 22:03:21 -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
5021b71463 fix double hashing vault url 2017-08-30 15:57:30 -04:00
Kyle Spearrin
5bda2ef32f read collection that are write only 2017-08-30 15:57:17 -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
cff64a21cf version version header 2017-08-25 11:59:38 -04:00
Kyle Spearrin
3c3e102f89 weight with power of 10 2017-08-25 11:57:38 -04:00
Kyle Spearrin
9932c3b599 remove email verif. check on license for test 2017-08-25 09:30:00 -04:00
Kyle Spearrin
eb9bb315c3 version info in response headers 2017-08-25 08:57:43 -04:00
Kyle Spearrin
0ea87d1c1c user premium validation job 2017-08-22 15:27:29 -04:00
Kyle Spearrin
7a13414853 local dapper build 2017-08-22 12:38:48 -04:00
Kyle Spearrin
1ab815dbb8 smtp fixes 2017-08-21 22:36:57 -04:00
Kyle Spearrin
15e69a529e default smtp ports 2017-08-21 22:36:57 -04:00
Kyle Spearrin
e79e265ef0 smtp env config 2017-08-21 16:44:46 -04:00
Kyle Spearrin
c3edfbfc39 get installation by id 2017-08-19 08:51:05 -04:00
Kyle Spearrin
bac8ef9013 version api and re-route other misc apis 2017-08-19 07:59:19 -04:00
Kyle Spearrin
d4809686db mssql image setup script, db up migrations with upgrade from setup 2017-08-18 18:22:25 -04:00
Kyle Spearrin
a222613082 only azure ban on non self host 2017-08-17 20:18:16 -04:00
Kyle Spearrin
c4cc66c391 job logging 2017-08-17 17:10:34 -04:00
Kyle Spearrin
d15917d3c9 stubbed out jobs worker console app 2017-08-17 11:28:27 -04:00
Kyle Spearrin
94693ec408 create jobs controller running system tasks 2017-08-17 09:41:23 -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
d2c5fb462c supress user secrets warning for core project 2017-08-16 23:27:07 -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
912e875a33 licensing signature refactor 2017-08-16 13:55:01 -04:00
Kyle Spearrin
593cfe1f71 fix url token 2017-08-16 11:11:40 -04:00
Kyle Spearrin
50a522bbd7 markdown mail service when self hosted 2017-08-16 10:59:13 -04:00
Kyle Spearrin
a2dc1602f8 api for requesting installation ids 2017-08-15 16:31:19 -04:00
Kyle Spearrin
dd288a7071 installation validation and self host applied 2017-08-15 16:11:08 -04:00
Kyle Spearrin
ee9ec680a9 license dates 2017-08-15 15:31:42 -04:00
Kyle Spearrin
b1443b4f94 added refresh date to license files 2017-08-15 14:58:17 -04:00
Kyle Spearrin
5e63ad58b8 fix null ref 2017-08-15 14:48:56 -04:00
Kyle Spearrin
a9b9094b9c refactored logic around remember me token 2017-08-15 08:19:20 -04:00
Kyle Spearrin
abf68c1cea api get generating organization license 2017-08-14 22:16:30 -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
45141cf5d2 added bank account source information to apis 2017-08-13 00:50:58 -04:00
Kyle Spearrin
e8c6183dcd bank account status 2017-08-13 00:48:14 -04:00
Kyle Spearrin
45c2d3eeb8 do not accept bank tokens for premium 2017-08-13 00:33:37 -04:00
Kyle Spearrin
72848a0623 added more gateway enums 2017-08-12 23:10:01 -04:00
Kyle Spearrin
680d7b2bed update expiration dates 2017-08-12 22:16:42 -04:00
Kyle Spearrin
55ae6f12ad added new expiration columns to org/users 2017-08-12 10:43:52 -04:00
Kyle Spearrin
46e5cd6486 license key can have upper 2017-08-11 23:26:38 -04:00
Kyle Spearrin
a020a7268e billing info when self hosted with no gateway info 2017-08-11 23:23:50 -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
0ad76a5487 added installation id to current context. 2017-08-10 15:26:05 -04:00
Kyle Spearrin
e538817eb6 added installations, push scoped tokens, push api 2017-08-10 14:39:11 -04:00
Kyle Spearrin
6ff9aeac97 update identityserver 2017-08-10 10:23:09 -04:00
Kyle Spearrin
d95fe7b46e update stripe lib 2017-08-10 09:59:25 -04:00
Kyle Spearrin
3ac00123e7 update storage and sendgrid libs 2017-08-10 09:52:14 -04:00
Kyle Spearrin
b5836c524f update yubico lib that is netcore compat 2017-08-10 09:49:50 -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
beaa059888 raw html on certain email params 2017-08-09 22:55:52 -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
503370d059 TVP type name 2017-08-09 08:14:45 -04:00
Kyle Spearrin
7590ea37f9 convert more services to local resources 2017-08-08 23:06:28 -04:00
Kyle Spearrin
e081213615 attachments build cleanup 2017-08-08 17:50:40 -04:00
Kyle Spearrin
fecd5b3a1a local attachment storage & docker image 2017-08-08 17:27:01 -04:00
Kyle Spearrin
e7905dec04 PersistKeysToFileSystem when selfhosted 2017-08-08 00:02:52 -04:00
Kyle Spearrin
9bc6ba554a docker setup 2017-08-07 16:31:00 -04:00
Kyle Spearrin
ee8b0a25a8 setup, build, and run scripts 2017-08-07 11:24:16 -04:00
Kyle Spearrin
83c43bd6ee internal identity for issuerurl 2017-08-04 12:16:31 -04:00
Kyle Spearrin
ee9d8a074d new uri settings 2017-08-03 23:12:05 -04:00
Kyle Spearrin
7ff91227a6 self hosted setting 2017-08-02 17:02:55 -04:00
Kyle Spearrin
897c354577 deprec. api identity, set base uris from settings 2017-08-02 16:57:32 -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
c991d48cbc increase encrypted field sizes to 1000 2017-07-27 14:08:39 -04:00
Kyle Spearrin
2492491f32 dont check if remember 2fa is enabled 2017-07-27 09:58:00 -04:00
Kyle Spearrin
d56d3e01f0 retry sendgrid send if fails 2017-07-26 09:32:25 -04:00
Kyle Spearrin
ef2e159b4e trial subs can be reinstated 2017-07-26 08:08:45 -04:00
Kyle Spearrin
c3b2be17a9 version bump and project cleanup 2017-07-25 22:34:07 -04:00
Kyle Spearrin
b7e8852250 disable premium membership 2017-07-25 09:04:22 -04:00
Kyle Spearrin
65a7d0001e change duo username to email 2017-07-24 14:39:41 -04:00
Kyle Spearrin
f598b78ecb UseForwardedHeadersForAzure 2017-07-21 12:53:26 -04:00
Kyle Spearrin
64212a1874 do things when not dev 2017-07-14 13:29:52 -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
67a593c0c0 totp to login response 2017-07-06 21:21:47 -04:00
Kyle Spearrin
f30faedc87 add support for totp secret in login cipher data 2017-07-06 17:11:05 -04:00
Kyle Spearrin
12af24e5f8 async fix 2017-07-06 16:58:26 -04:00
Kyle Spearrin
295d6510a9 premium checks on 2fa providers 2017-07-06 16:56:12 -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
d42a47e5f0 tweaks to tokens 2017-07-01 23:20:30 -04:00
Kyle Spearrin
97ad8bd943 verify email apis and emails 2017-07-01 23:20:19 -04:00
Kyle Spearrin
c8528384f8 new properties to profile 2017-07-01 22:44:45 -04:00
Kyle Spearrin
db5544f387 fix crypto repo for attachment 2017-07-01 22:44:31 -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
14745fa6ce random string helper 2017-06-29 15:55:39 -04:00
Kyle Spearrin
a1008353fd added nfc flag for yubikey config 2017-06-29 12:34:10 -04:00
Kyle Spearrin
459f3a5791 appid adjustments 2017-06-27 14:48:29 -04:00
Kyle Spearrin
6c16a988c3 appid no longer served from api 2017-06-27 14:05:50 -04:00
Kyle Spearrin
eea2ae30b4 get recovery code api 2017-06-24 17:16:05 -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
f4fa990cb1 send redacted email on 2fa login 2017-06-24 11:50:20 -04:00
Kyle Spearrin
59b8438a0f update u2f lib. send 2fa login email 2017-06-24 09:20:12 -04:00
Kyle Spearrin
64189067cd handle two factor remember failed case 2017-06-23 10:46:04 -04:00
Kyle Spearrin
15dcb43f44 remember two factor token 2017-06-23 10:08:53 -04:00
Kyle Spearrin
ca979e0c40 u2f fixes 2017-06-22 22:14:51 -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
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
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
188571cad8 Billing project 2017-03-18 18:52:44 -04:00
Kyle Spearrin
588f6c7c2c refactor for cipher details, folders, favorites 2017-03-18 11:58:02 -04:00
Kyle Spearrin
2b71420818 Folder APIs to new tables 2017-03-18 11:35:41 -04:00
Kyle Spearrin
d7a1cd1ce3 cipher repo interface to use details 2017-03-18 00:02:06 -04:00
Kyle Spearrin
3bc46f4318 cipher details public 2017-03-18 00:01:26 -04:00
Kyle Spearrin
3932ed5d67 folder repo 2017-03-18 00:01:11 -04:00
Kyle Spearrin
3e0c0224b5 cipher updates
move cipher info to favorites and folders sprocs for getting shared
cipher information
2017-03-17 09:29:46 -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
4a9206b992 get subvaults for organization user 2017-03-11 15:34:57 -05:00
Kyle Spearrin
4bcfab589d SubvaultUser APIs and services 2017-03-09 23:58:43 -05:00
Kyle Spearrin
7bff121eeb adjusted subvaults api 2017-03-09 22:09:09 -05:00
Kyle Spearrin
be5f388fa1 cycle takes parameters 2017-03-08 22:33:31 -05:00
Kyle Spearrin
8bcd4e0463 move all models into core 2017-03-08 21:55:08 -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
6b5b9326b6 update packages 2017-03-08 21:00:05 -05:00
Kyle Spearrin
ebc9220f73 migrate to vs 2017 2017-03-08 00:17:59 -05:00
Kyle Spearrin
7f4e79af63 Subvault APIs 2017-03-07 23:06:14 -05:00
Kyle Spearrin
7ca8629a13 org user details apis 2017-03-06 20:51:13 -05:00
Kyle Spearrin
5ac2113cac org user management apis 2017-03-04 21:28:41 -05:00
Kyle Spearrin
2f41f260ec org apis 2017-03-03 21:53:27 -05:00
Kyle Spearrin
29e3605576 organization signup apis and data model changes 2017-03-03 00:07:11 -05:00
Kyle Spearrin
b18b6a44ef organizations to account profile 2017-03-02 21:51:03 -05:00
Kyle Spearrin
0b87e2c57e Org API controller and supporting data access 2017-03-02 00:15:05 -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
0caea4ab8b share api 2017-02-21 23:18:12 -05:00
Kyle Spearrin
900e71d4dd return share information with cipher API response 2017-02-21 22:52:02 -05:00
Kyle Spearrin
f101541ff8 added share data model 2017-02-21 21:31:52 -05:00
Kyle Spearrin
9ca2baba74 pub/priv keys and share updates 2017-02-21 00:27:32 -05:00
Kyle Spearrin
2b72197f0a cipher share data and key response 2017-02-18 01:17:09 -05:00
Kyle Spearrin
024ee08907 public and private keys added to db and user domain. added account APIs got getting and putting keys. 2017-02-11 23:00:55 -05:00
Kyle Spearrin
a02b5fcd14 updated otp library. reduced verification window to RFC standard of 1 2017-01-28 22:11:54 -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
97c14100d2 build jwtoptions from JwtBearerAppBuilderExtensions 2017-01-21 23:35:20 -05:00
Kyle Spearrin
b08c960cc0 Noop services 2017-01-20 22:29:01 -05:00
Kyle Spearrin
3348b07ce2 Move idenityserver implementations into API project 2017-01-18 18:34:14 -05:00
Kyle Spearrin
1e16644f52 remove debugging true condition 2017-01-18 00:17:59 -05:00
Kyle Spearrin
c9d348a0c2 Two factor and device handling on identity token validation 2017-01-18 00:14:28 -05:00
Kyle Spearrin
3aa9f5e55b Added global equivalent domains 2017-01-16 22:47:34 -05:00
Kyle Spearrin
d2b97bb3e8 fire up events for identityserver validation scheme 2017-01-16 22:02:12 -05:00
Kyle Spearrin
49f7857d2e replace loggr with serilog 2017-01-14 23:24:02 -05:00
Kyle Spearrin
31c3835dd3 increase timeout for user delete sproc 2017-01-14 19:50:52 -05:00
Kyle Spearrin
1bef3a1e5b return epoc milliseconds for revision date 2017-01-14 12:47:44 -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
2abb1aaae5 implemented grant repository and identity server PersistedGrantStore 2017-01-11 23:20:54 -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
54711e634b added correct backwards compat claims 2017-01-11 18:48:16 -05:00
Kyle Spearrin
77ca47a266 WIP: Added IdentityServer4 to API via Bearer2 auth scheme 2017-01-11 00:34:16 -05:00
Kyle Spearrin
62d2a01962 update projects to asp.net core 1.1.0 2017-01-10 22:08:47 -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
347baca3ab Version adjustments 2016-11-16 18:41:20 -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
e68ed04f77 Require 2FA token in order to disiable 2FA. Added 2FA recovery code to data/domain model and exposed recover and regenerate 2FA APIs 2016-11-14 21:13:53 -05:00
Kyle Spearrin
6f636603fb recompile user delete sproc and extend timeout. filer out security stamp errors from logger. 2016-10-29 02:59:17 -04:00
Kyle Spearrin
eb6c0a5068 added application insights to api 2016-10-27 00:09:55 -04:00
Kyle Spearrin
b04843b124 remove unused usings 2016-10-20 22:56:28 -04:00
Kyle Spearrin
87541bdb3d version bump for 1.0.0 release 2016-10-06 22:03:35 -04: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
d11ab85a05 updated sproc to clear push token, not identifier 2016-08-06 15:33:36 -04:00
Kyle Spearrin
da56901d17 Revert device id in jwt token and moved to reading from header. Added clear token by identifier API/repo/sproc so that token can be cleared after logout. 2016-08-06 15:15:11 -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
f456a4fca8 Removed caching 2016-07-30 16:37:52 -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
d300c82ffd Added support for device registration during two factor login 2016-07-23 02:49:57 -04:00
Kyle Spearrin
939a9e25da Return after no master password hint email 2016-07-23 00:30:58 -04:00
Kyle Spearrin
f6ee916d7b Things to get around CORS pre-flight request. Allow Jwt token to be passed via "access_token" query stirng param. Allow JSON body content to be parsed as "text/plain" content type. 2016-07-13 18:37:14 -04:00
Kyle Spearrin
0582eb73db Update to 1.0 RTM 2016-07-09 18:17:51 -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
0e6fd21805 Updates for devices 2016-06-21 22:17:31 -04:00
Kyle Spearrin
a07a682831 switch to json.net serializer for redis 2016-06-21 19:41:48 -04:00
Kyle Spearrin
37ec1de7a3 Added device identifier, APIs for updating token by identifier, Device creation/update upon signin. 2016-06-21 00:08:22 -04:00
Kyle Spearrin
8a34692e7c switch device type around to match mobile enums 2016-06-18 16:09:28 -04:00
Kyle Spearrin
25793e0523 created push service using with pushsharp 2016-06-18 15:08:21 -04:00
Kyle Spearrin
ca8ba6ac92 Device repository and cascase device delete on user delete 2016-06-18 14:02:25 -04:00
Kyle Spearrin
1ff49cd5b3 Added redis caching libraries and implemented for user by id caching. 2016-06-17 17:42:22 -04:00
Kyle Spearrin
8664b6bb2e remove old doc db settings 2016-06-09 18:53:53 -04:00
Kyle Spearrin
4f59f38326 Added favorites to ciphers and exposed PUT favorite cipher API 2016-06-08 22:19:08 -04:00
Kyle Spearrin
89e524e1e4 added cipher history API for data syncing with client databases 2016-06-08 20:40:20 -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
d7cb3d47cb removed GetManyByRevisionDate access 2016-05-06 18:23:43 -04:00
Kyle Spearrin
9c61cfb5c0 Added "since" revision date parameter to folder and site "get all" APIs. 2016-05-04 22:39:23 -04:00
Kyle Spearrin
8d57b21f97 Typed ids as guids in repositories. Removed unused repo methods. 2016-03-09 18:11:52 -05:00
Kyle Spearrin
8b2186989f resolved circular dependency in user store 2016-02-21 01:24:12 -05:00
Kyle Spearrin
3014e47373 comment fix 2016-02-21 01:12:12 -05: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
5d7a0216bf Added RevisionDate to User table/domain 2016-02-21 00:36:08 -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
bd6ae4ac17 SqlServer cipher repository implementation with bulk copy. 2016-02-06 11:09:55 -05:00
Kyle Spearrin
16507022bd var on comb generator 2016-02-06 01:30:35 -05:00
Kyle Spearrin
c1918f9a32 Added comb guid generation for sql server ids. 2016-02-06 01:29:35 -05:00
Kyle Spearrin
13f85bf2f1 Added Sql project with database schema. Added SqlServer repositories for Site, Folder, and User (Cipher still TODO). Switched DI in Startup to SqlServer repos. 2016-02-06 01:18:25 -05:00
Kyle Spearrin
f148cb83c4 default user culture to en-US 2016-01-07 23:01:01 -05:00
Kyle Spearrin
79f9f60a78 Added GetTakeCount helper to break down large arrays into manageable sizes for documentdb requests (current max limit of 512kb per request). 2015-12-30 22:38:00 -05:00
Kyle Spearrin
ff39bb1dd5 throttle bulk procs to 50 ciphers at a time 2015-12-30 21:14:38 -05:00
Kyle Spearrin
77b197fb1c comments and some name changes 2015-12-30 18:49:43 -05:00
Kyle Spearrin
c62c65f953 updated packages 2015-12-29 22:25:20 -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