1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-11 15:17:44 +01:00
Commit Graph

206 Commits

Author SHA1 Message Date
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
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
5a24b6624d sql tuning and migrations 2017-04-13 13:16:15 -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
1cf38397f3 leave org apis 2017-04-12 10:07:27 -04:00
Kyle Spearrin
53a25b908a org enabeld check on user assets 2017-04-11 10:19:19 -04:00
Kyle Spearrin
340f6f03c5 add enabled bit to organization 2017-04-10 22:33:39 -04:00
Kyle Spearrin
265b3285a6 remove rafactor log from sql 2017-04-10 10:52:05 -04:00
Kyle Spearrin
5705f4f736 separate plans for month vs annual. users => seats 2017-04-10 10:44:27 -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
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
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
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
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
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
5b7c683c57 Added user type to organization APIs 2017-03-25 16:34:30 -04:00
Kyle Spearrin
5029af33c5 user can edit responses and cipher partial updates 2017-03-24 16:15:50 -04:00
Kyle Spearrin
10c72fafda permission checks for cipher crud operations 2017-03-24 09:27:15 -04:00
Kyle Spearrin
eaeb18a46b reimport sql proj. added cipherdetails function. 2017-03-21 22:05:26 -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
6c20bd31f6 few fixes 2017-03-18 18:42:04 -04:00
Kyle Spearrin
2b71420818 Folder APIs to new tables 2017-03-18 11:35:41 -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
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
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
29e3605576 organization signup apis and data model changes 2017-03-03 00:07:11 -05:00
Kyle Spearrin
0b87e2c57e Org API controller and supporting data access 2017-03-02 00:15:05 -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
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
8c7f1dd343 Support for CipherKey and Share APIs 2017-02-27 22:58:01 -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
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
a5718a1843 update account revision when password changes 2017-01-14 12:50:36 -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
f105bd775d sqlproj 2017-01-11 23:22:14 -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
7abde8c771 equivalent domains APIs and data models 2017-01-09 22:20:34 -05:00
Kyle Spearrin
e699e98447 Index adjustments 2017-01-06 19:14:06 -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
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
6860322727 delete top batchsize 2016-10-27 00:12:58 -04:00
Kyle Spearrin
2bc7799f3c delete ciphers in smaller batches. ref #18 2016-10-20 23:04: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
452d74a266 A few fixes to TwoFactorProvider 2016-07-23 01:34:22 -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
0e6fd21805 Updates for devices 2016-06-21 22:17:31 -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
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
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
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
8137847485 new database schema for ciphers and history. dropped old site and folder tables. 2016-05-20 00:24:04 -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
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
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
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