1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
Commit Graph

2233 Commits

Author SHA1 Message Date
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
1a4c8b2db7 proper parens for folder delete 2017-05-03 14:55:31 -04:00
Kyle Spearrin
92fb369eb9 validate email on org create 2017-05-03 11:05:15 -04:00
Kyle Spearrin
db4590bcfe changes from v1.3.5 for api clients 2017-05-03 10:49:01 -04:00
Kyle Spearrin
c8ef5f3527 version bump 2017-05-03 10:25:20 -04:00
Kyle Spearrin
848e94ad56 restore new change pass and email apis 2017-05-03 10:12:13 -04:00
Kyle Spearrin
c1123b1959 version bump 2017-04-28 21:06:00 -04:00
Kyle Spearrin
1c2c892bcd delete more FK dependencies when user delete 2017-04-28 16:59:32 -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
bd46349e27 filter out identity errors from logs 2017-04-28 16:07:06 -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
44883091f6 cleanup sql aliases from collection rename 2017-04-27 09:46:03 -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
b2bebda9ed reimport db after subvault => collection rename 2017-04-27 09:24:46 -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
d1e78e6fe7 prod settings config file 2017-04-26 22:20:03 -04:00
Kyle Spearrin
9322b094cf update plans with new stripe plan ids 2017-04-26 16:31:11 -04:00
Kyle Spearrin
2d3ea25baa comment update 2017-04-26 16:18:41 -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
f116977498 global settings 2017-04-26 15:10:13 -04:00
Kyle Spearrin
398a4d8e46 stripe webhook key from billing settings 2017-04-26 14:29:25 -04:00
Kyle Spearrin
91af4e12c7 Fix logging filter for IpRateLimitMiddleware 2017-04-26 13:33:39 -04:00
Kyle Spearrin
58339df56c disable old triggers before doing big updates 2017-04-25 12:03:52 -04:00
Kyle Spearrin
61de51a32b remove user folder json when folder is deleted 2017-04-25 11:42:25 -04:00
Kyle Spearrin
39e7ddb72a for. key ciphers to orgs. cleanup ciphers on del 2017-04-25 11:05:35 -04:00
Kyle Spearrin
8ade63fd45 reimport database for formatting 2017-04-25 10:55:12 -04:00
Kyle Spearrin
6e87d9c21f AccountRevDate bump via sprocs, no more triggers 2017-04-24 23:28:31 -04:00
Kyle Spearrin
f2aa568e86 push fixes and additions 2017-04-21 22:39:46 -04:00
Kyle Spearrin
89efb07eed limit AvailableSubvaultsCTE by org id of cipher 2017-04-21 16:07:06 -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
abf8ab2c73 added another desktop IP 2017-04-21 09:13:15 -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
8f6406501c includeShared opt-in for backwards compat 2017-04-19 17:04:28 -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
d87441c9fe config updates for identity startup 2017-04-19 16:01:34 -04:00
Kyle Spearrin
a9b0748d07 cipher delete for admin 2017-04-19 16:00:47 -04:00
Kyle Spearrin
552b117821 only require https in prod 2017-04-18 23:08:47 -04:00
Kyle Spearrin
3b0a26fdaf preview domain adjustments 2017-04-18 22:56:59 -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
cdfa936f6b fixes for preview deployment 2017-04-18 14:08:58 -04:00
Kyle Spearrin
c7496d2be2 remove duplicate filter checks 2017-04-18 10:21:32 -04:00
Kyle Spearrin
4da172a94b limit update to available subvaults 2017-04-18 09:51:38 -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
184cf0c0df reverse order 2017-04-17 13:34:45 -04:00
Kyle Spearrin
7c3735cb43 create script with folder and fav json data 2017-04-17 13:24:17 -04:00
Kyle Spearrin
c7c5ae8f9a handle distinct selections from app code 2017-04-17 13:11:39 -04:00
Kyle Spearrin
4d298b9cf8 details_update script to do json ops now 2017-04-17 11:56:54 -04:00
Kyle Spearrin
94043d5006 update migration scripts for json favs/folders 2017-04-17 11:55:16 -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
8e193dfc62 join optimizations 2017-04-15 10:52:38 -04:00
Kyle Spearrin
c6dcac96d3 query tuning. more userid denorm support 2017-04-14 12:49:35 -04:00
Kyle Spearrin
f9ef519ec0 update sprocs for denorm. userid on foldercipher 2017-04-14 09:53:20 -04:00
Kyle Spearrin
943ef81c06 query fixes for folders. denormalize userid 2017-04-14 09:47:35 -04:00
Kyle Spearrin
63e95f0f55 check for keys already existing 2017-04-13 18:27:30 -04:00
Kyle Spearrin
5a24b6624d sql tuning and migrations 2017-04-13 13:16:15 -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
53a25b908a org enabeld check on user assets 2017-04-11 10:19:19 -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
ae1ff37e72 update billing only if something changes 2017-04-10 20:02:26 -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
265b3285a6 remove rafactor log from sql 2017-04-10 10:52:05 -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
8ab363cc73 rework permission checks on org apis 2017-04-06 13:21:26 -04:00
Kyle Spearrin
1eaba7ac00 permission checks to subvault apis 2017-04-06 09:50:40 -04:00
Kyle Spearrin
67c0243f77 fix org id bug in profile service 2017-04-05 17:39:48 -04:00
Kyle Spearrin
50062d5e33 rename method Get => GetUser 2017-04-05 16:45:21 -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
854c4f7871 remove refactor file 2017-04-04 13:00: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
0961d86d65 check status on subvault user sprocs 2017-04-01 22:17:42 -04:00
Kyle Spearrin
ab173cf5cf read subvaults by confirmed admin user 2017-03-29 22:23:26 -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
eaeb18a46b reimport sql proj. added cipherdetails function. 2017-03-21 22:05:26 -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
3d5437e238 add packages 2017-03-18 22:37:01 -04:00
Kyle Spearrin
1296853983 upadte package and move billing to full .net 2017-03-18 22:26:36 -04:00
Kyle Spearrin
188571cad8 Billing project 2017-03-18 18:52:44 -04:00
Kyle Spearrin
6c20bd31f6 few fixes 2017-03-18 18:42:04 -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
1d3092b6b2 subvault information sprocs 2017-03-16 23:14:02 -04:00
Kyle Spearrin
79ea8fef37 AllowAll cors option for identity server 2017-03-16 22:04: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
4a9206b992 get subvaults for organization user 2017-03-11 15:34:57 -05:00
Kyle Spearrin
732e0d8984 remove old actions 2017-03-10 21:04:22 -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
9fe28419a1 Fixes for identity server 2017-03-09 20:30:19 -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
985435b696 migrate usersecrets 2017-03-08 21:38:37 -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
1fed877f79 remove application insights 2017-03-01 22:13:27 -05:00
Kyle Spearrin
c0062403e2 update 2017-02-28 23:08:40 -05:00
Kyle Spearrin
27b80b599c subvaults belogn to an org 2017-02-28 23:07:55 -05:00
Kyle Spearrin
acb1fc0be5 remove old share solution code 2017-02-28 22:51:29 -05:00
Kyle Spearrin
321183c570 sproc updates 2017-02-28 22:42:52 -05:00
Kyle Spearrin
3e183a74f4 sprocs 2017-02-28 22:35:48 -05:00
Kyle Spearrin
e68ba4869d Stub out new org/subvault sharing tables 2017-02-28 21:56:59 -05:00
Kyle Spearrin
7e86c72386 added firefox link to welcome email 2017-02-28 20:24:43 -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
8051995cc7 reimport db 2017-02-21 21:32:47 -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
47da65be5f remove sql refactor log from project reference 2017-02-18 01:19:23 -05:00
Kyle Spearrin
2b72197f0a cipher share data and key response 2017-02-18 01:17:09 -05:00
Kyle Spearrin
f7be17d1c5 updated user sprocs for pub/priv keys 2017-02-18 00:29:20 -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
7589f9c933 version bump 2017-02-07 21:35:08 -05:00
Kyle Spearrin
3ad25fc9eb return existing device for token 2017-02-07 21:33:25 -05:00
Kyle Spearrin
b75144c3da remove extra ; 2017-01-28 22:23:25 -05:00
Kyle Spearrin
3e9046a949 version bump 2017-01-28 22:14:44 -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
4354006a27 disable unused endpoints on identity server 2017-01-28 02:40:09 -05:00
Kyle Spearrin
3a31654828 change revision date API to query only for data needed 2017-01-28 02:15:07 -05:00
Kyle Spearrin
972d630c24 version bump 2017-01-26 18:31:52 -05:00
Kyle Spearrin
5f573355dc device registration on auth bearer migration 2017-01-25 23:03:07 -05:00
Kyle Spearrin
f2d58a3678 Moved identity implementations to scoped lifetime since they have dependencies on CurrentContext 2017-01-25 22:31:14 -05:00
Kyle Spearrin
5b7af84208 remove trial_exp claim 2017-01-25 19:06:36 -05:00
Kyle Spearrin
3c4b965f8a cleanup using 2017-01-25 00:38:21 -05:00
Kyle Spearrin
4a5366005a use GetUserByPrincipalAsync 2017-01-25 00:38:09 -05:00
Kyle Spearrin
ac18893d67 formatting 2017-01-25 00:35:52 -05:00
Kyle Spearrin
d1a5421f69 TwoFactorProviders only for two factor response 2017-01-25 00:30:55 -05:00
Kyle Spearrin
9fe2a4dfb5 cleanup ResourceOwnerPasswordValidator 2017-01-25 00:28:18 -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
9a10382b46 formatting fixes 2017-01-24 22:23:11 -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
cb5419aca8 added two factor provider to response and device update on old auth bearer conversion 2017-01-24 00:59:14 -05:00
Kyle Spearrin
2b14dd320e adjusted claims 2017-01-24 00:54:09 -05:00
Kyle Spearrin
97c14100d2 build jwtoptions from JwtBearerAppBuilderExtensions 2017-01-21 23:35:20 -05:00
Kyle Spearrin
220243c8b4 validate old auth bearer tokens so that we can generate new identity ones 2017-01-21 23:12:28 -05:00
Kyle Spearrin
54d065c3d9 deprecate authcontroller in favor of identity server 2017-01-20 22:33:55 -05:00
Kyle Spearrin
b08c960cc0 Noop services 2017-01-20 22:29:01 -05:00
Kyle Spearrin
52b8fef26f identitysever cleanup 2017-01-20 22:26:19 -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
fd431ceab6 fixes to cipher triggers 2017-01-17 21:11:38 -05:00
Kyle Spearrin
143b4cb5ff adjusted transactions to prevent long locks 2017-01-17 00:32:51 -05:00
Kyle Spearrin
4c56a370a0 adjust log filter for exclude security token errors 2017-01-16 23:55:48 -05:00
Kyle Spearrin
c35cd49f36 version bump 2017-01-16 22:52:22 -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
a5718a1843 update account revision when password changes 2017-01-14 12:50:36 -05:00
Kyle Spearrin
1bef3a1e5b return epoc milliseconds for revision date 2017-01-14 12:47:44 -05:00
Kyle Spearrin
174ac313ea fix null ref 2017-01-14 11:20:02 -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
fd961dfdf6 AccountRevisionDate to track changes for a user account. Managed via triggers. 2017-01-14 09:42:07 -05:00
Kyle Spearrin
1b30a27990 Replace OtpSharp with Otp.NET for net core support 2017-01-13 21:59:33 -05:00
Kyle Spearrin
77e54f7c12 only load idserv cert in prod environment 2017-01-12 21:07:25 -05:00
Kyle Spearrin
6cde9ed223 added identity server real cert loading 2017-01-12 18:35:26 -05:00
Kyle Spearrin
f105bd775d sqlproj 2017-01-11 23:22:14 -05:00
Kyle Spearrin
2abb1aaae5 implemented grant repository and identity server PersistedGrantStore 2017-01-11 23:20:54 -05:00
Kyle Spearrin
9749d1e3a8 Grant table for identity persisted grants 2017-01-11 22:43:03 -05:00
Kyle Spearrin
2b7f6e5a6c regenerate sql proj source files 2017-01-11 22:03:04 -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
93cff6e283 added parameter for excluded 2017-01-10 21:50:19 -05:00
Kyle Spearrin
ce036c5e16 Moved domains APIs to new Settings controller 2017-01-10 21:39:25 -05:00
Kyle Spearrin
e57964e978 Rework models for global domains 2017-01-10 17:01:57 -05:00
Kyle Spearrin
7abde8c771 equivalent domains APIs and data models 2017-01-09 22:20:34 -05:00
Kyle Spearrin
90607f6d93 mail template updates 2017-01-06 21:25:44 -05:00
Kyle Spearrin
e699e98447 Index adjustments 2017-01-06 19:14:06 -05:00
Kyle Spearrin
6e15b2752b Update rate limiter 2017-01-06 00:38:59 -05:00
Kyle Spearrin
a700711f39 version bump 2017-01-06 00:09:50 -05:00
Kyle Spearrin
9e17c2e50c Allow mac for EncryptedString 2017-01-02 21:52:48 -05:00
Kyle Spearrin
9cde513026 Refactor naming: Sites => Logins 2017-01-02 21:52:13 -05:00
Kyle Spearrin
b03e323e78 Log when requests are blocked 2016-12-03 00:04:51 -05:00
Kyle Spearrin
13a51e907b rate limit adjustments 2016-12-03 00:00:22 -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
54a857f215 add 2fa recovery code to user create sproc 2016-11-14 22:35:14 -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
17f8d0f677 rate limiting APIs 2016-11-12 18:43:32 -05:00
Kyle Spearrin
ac62d54a7b fix alt tags 2016-10-30 00:36:35 -04:00
Kyle Spearrin
691df05f34 new social icon sizes 2016-10-30 00:35:29 -04:00
Kyle Spearrin
03a04230fb welcome email resposive updates 2016-10-30 00:27:59 -04:00
Kyle Spearrin
22fcc0eeb4 Added social icons to welcome email 2016-10-30 00:22:13 -04:00
Kyle Spearrin
7f4e5e12f9 welcome email style updates: new google play badge and added logo to top of email 2016-10-29 22:38:19 -04: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
8eb545a37c delete non-folders and then folders to avoid FK constraint issues when batch deleting 2016-10-27 18:14:21 -04:00
Kyle Spearrin
ac4e13efe8 version bump 2016-10-27 00:15:21 -04:00
Kyle Spearrin
6860322727 delete top batchsize 2016-10-27 00:12:58 -04:00
Kyle Spearrin
eb6c0a5068 added application insights to api 2016-10-27 00:09:55 -04:00
Kyle Spearrin
2bc7799f3c delete ciphers in smaller batches. ref #18 2016-10-20 23:04:08 -04:00
Kyle Spearrin
b04843b124 remove unused usings 2016-10-20 22:56:28 -04:00
Kyle Spearrin
ee757bf475 version bump 2016-10-18 20:26:41 -04:00
Kyle Spearrin
e7a7b946be suppress logs for bad security token 2016-10-14 21:29:09 -04:00
Kyle Spearrin
3c10deab85 version bump 2016-10-13 18:45:48 -04:00
Kyle Spearrin
229f4b0a30 adjust cipher length validators 2016-10-13 18:45:33 -04:00
Kyle Spearrin
80e1ba16ad Do not require uri and password for sites 2016-10-12 22:41:57 -04:00
Kyle Spearrin
87541bdb3d version bump for 1.0.0 release 2016-10-06 22:03:35 -04:00
Kyle Spearrin
1dabed975e added mail project for designing mail templates 2016-10-06 19:12:16 -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
af90d75d06 updated android package name for gcm settings 2016-08-20 23:16:25 -04:00
Kyle Spearrin
92d06ceabe No response for device put token API. 2016-08-06 18:46:02 -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
929e264549 PutClearToken requires authorization 2016-08-06 02:07:04 -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
452d74a266 A few fixes to TwoFactorProvider 2016-07-23 01:34:22 -04:00
Kyle Spearrin
939a9e25da Return after no master password hint email 2016-07-23 00:30:58 -04:00
Kyle Spearrin
54696aade4 Added POST route endpoints for all PUT and DELETE operations to allow for vault to avoid preflight. 2016-07-13 21:43:48 -04:00
Kyle Spearrin
0620fb7a86 DefaultContractResolver for pascal cased JSON. RTM moved to camelCase 2016-07-13 19:24:26 -04:00
Kyle Spearrin
6e634d8000 Add text/plain media type for all json input formatters 2016-07-13 18:42:57 -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
91f93a79ee set revision date on sites when cascading from folder delete 2016-07-07 08:27:57 -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
cbdc8f355f camelCase push settings keys 2016-06-30 00:40:01 -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
afa37f5ab1 Log errors with full exception 2016-06-21 23:55:21 -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
6f7b8314bc updated to loggr rc2 2016-06-21 00:30:36 -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
4fd65f974d device apis and models 2016-06-18 16:03:33 -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
3e32a55640 Added schema for device table 2016-06-18 13:22:29 -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
df94150848 vs version bump for sqlproj 2016-06-10 09:55:05 -04:00
Kyle Spearrin
cbb0c392bc favorite updates to sqlproj 2016-06-09 19:07:27 -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
ed0c6ad795 Getting rid of CipherDataModel in favor of more specific models. Optimizations to model transformations. 2016-06-08 22:00:31 -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
6861303586 created ciphers API controller. Moved import to ciphers controller. 2016-06-07 20:05:27 -04:00
Kyle Spearrin
585d7b4afd Fixed null check. 2016-06-02 10:08:26 -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
8137847485 new database schema for ciphers and history. dropped old site and folder tables. 2016-05-20 00:24:04 -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
0d92042e28 Added revision date to folder and site responses 2016-05-05 23:39:31 -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
994f27ff40 Moved models and removed deuplicate error for username since we use emails as username as well. 2016-03-08 21:20:56 -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
1da53f0ecc added alive controller and endpoint 2016-02-20 23:29:28 -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
a523364844 remove new relic package locally. 2016-02-07 00:08:40 -05:00
Kyle Spearrin
ef3853d507 Added loggr logging for production environment. 2016-02-06 23:45:33 -05:00
Kyle Spearrin
fea34e2826 made sql proj azure type 2016-02-06 11:54:05 -05:00
Kyle Spearrin
358739f015 sproc updates 2016-02-06 11:15:17 -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
78fcad8c69 enabled new relic web app monitoring for api 2016-01-25 23:11:12 -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
4c4f803c1f added string length checks on all request objects that store the given data. 2015-12-30 21:40:19 -05:00
Kyle Spearrin
ff39bb1dd5 throttle bulk procs to 50 ciphers at a time 2015-12-30 21:14:38 -05:00
Kyle Spearrin
967e383001 fixed expanding folder bug for sites 2015-12-30 20:52:35 -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