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

323 Commits

Author SHA1 Message Date
Kyle Spearrin
165ee97d2f refactor cipher queries by user. tuned indexing. 2018-04-24 12:48:43 -04:00
Kyle Spearrin
389512d51e added org duo to 2fa flow 2018-04-03 14:31:33 -04:00
Kyle Spearrin
367d3f65a6 use2fa org response 2018-04-02 17:20:06 -04:00
Kyle Spearrin
54fa7c3172 renamed sproc 2018-04-02 15:11:07 -04:00
Kyle Spearrin
bcc224c02d stub out use2fa and twofactorproviders on orgs 2018-04-02 14:53:19 -04:00
Kyle Spearrin
22bc85f651 drop json null checks from storage update procs 2018-03-28 13:43:33 -04:00
Kyle Spearrin
a9c8fbf6cb param sniffing on user search proc 2018-03-24 19:56:48 -04:00
Kyle Spearrin
d138656238 param sniffing on org search query 2018-03-23 10:50:58 -04:00
Kyle Spearrin
e920c8e9d2 org and user info 2018-03-22 21:10:10 -04:00
Kyle Spearrin
7475ed7318 organization search page 2018-03-21 17:41:14 -04:00
Kyle Spearrin
67bf801c15 users listing page 2018-03-21 16:24:10 -04:00
Kyle Spearrin
e9116f8c44 app cache with org ability checks on events 2017-12-19 16:02:39 -05:00
Kyle Spearrin
d75ca51d75 sql event repo "Get" implementations 2017-12-18 23:15:16 -05:00
Kyle Spearrin
a9f232746e store device type and ip address on events 2017-12-15 10:50:06 -05:00
Kyle Spearrin
172fd2425e added org flag for UseEvents 2017-12-14 15:48:44 -05:00
Kyle Spearrin
6649c29a8b event fixes 2017-12-12 15:04:14 -05:00
Kyle Spearrin
5c91949f2d event index and setup script 2017-12-12 14:39:56 -05:00
Kyle Spearrin
ce1680a009 event sql table and repo 2017-12-12 14:22:22 -05:00
Kyle Spearrin
2f3c6b3b01 sproc updates for user account revision bumps 2017-11-24 11:53:55 -05:00
Kyle Spearrin
7bbf1623c7 delete folders too when purging 2017-11-22 09:28:25 -05:00
Kyle Spearrin
85df605791 delete u2f records on user delete 2017-11-21 23:45:43 -05:00
Kyle Spearrin
d03421fe4b fix to user already exists checks 2017-11-13 10:06:54 -05:00
Kyle Spearrin
39baf2a9be index tuning script 2017-11-13 08:53:25 -05:00
Kyle Spearrin
9fbbf12290 index updates 2017-11-11 21:29:29 -05:00
Kyle Spearrin
0fdb9b3d2f change personal plan to family. allow self host 2017-11-06 16:01:58 -05:00
Kyle Spearrin
81d2e3e608 delete with recompile 2017-10-26 20:55:35 -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
e189e8cc79 only count status confirmed 2017-09-08 17:14:15 -04:00
Kyle Spearrin
b06aae7cfd Admins are not limited by collection controls 2017-09-06 13:01:22 -04:00
Kyle Spearrin
54de2db9af write is also included with accessall 2017-08-30 21:37:58 -04:00
Kyle Spearrin
770fa10f3e fix bugs around collection association 2017-08-30 18:18:39 -04:00
Kyle Spearrin
5bda2ef32f read collection that are write only 2017-08-30 15:57:17 -04:00
Kyle Spearrin
0ea87d1c1c user premium validation job 2017-08-22 15:27:29 -04:00
Kyle Spearrin
5c8c85680a add missing proj ref 2017-08-17 00:30:31 -04:00
Kyle Spearrin
4585af5a85 validate organization licenses 2017-08-17 00:12:11 -04:00
Kyle Spearrin
55ae6f12ad added new expiration columns to org/users 2017-08-12 10:43:52 -04:00
Kyle Spearrin
e538817eb6 added installations, push scoped tokens, push api 2017-08-10 14:39:11 -04:00
Kyle Spearrin
a1d064ed9e license verification services for user/org 2017-08-09 17:01:37 -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
879494274a sproc updates for storage management 2017-07-10 23:15:52 -04:00
Kyle Spearrin
8684b9c8e5 recompute full storage each time 2017-07-10 22:08:52 -04:00
Kyle Spearrin
72e4062d87 rollback share if errors 2017-07-10 16:22:39 -04:00
Kyle Spearrin
f8c749bab5 share login with attachments 2017-07-10 14:30:12 -04:00
Kyle Spearrin
fbc189544b org totp and storage flags 2017-07-07 14:08:30 -04:00
Kyle Spearrin
43262e577c delete attachments 2017-07-07 11:07:22 -04:00
Kyle Spearrin
d346ee5169 APIs for premium. Billing helpers. 2017-07-06 14:55:58 -04:00
Kyle Spearrin
18577f927e remove refactorlog 2017-07-01 10:22:24 -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
61a436906c remove provider from user table 2017-06-24 14:40:46 -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
fd5e2c9466 stubbing out api setup for u2f 2017-06-21 21:46:52 -04:00
Kyle Spearrin
03f3118182 re-import db 2017-06-21 16:59:11 -04:00
Kyle Spearrin
0c84f9c151 add support for storing u2f challenges 2017-06-21 16:55:45 -04:00
Kyle Spearrin
2eaaecd95c remove user twofactorenabled property 2017-06-19 22:25:19 -04:00
Kyle Spearrin
c30efcaef0 remove pg folder 2017-06-14 22:28:42 -04:00
Kyle Spearrin
90402b0802 Fixes to bulk action sprocs 2017-06-09 00:30:02 -04:00
Kyle Spearrin
d3499dce84 centralize select logic to UserCipherDetails func
- Also create cipher bulk move and delete sprocs
2017-06-08 23:49:55 -04:00
Kyle Spearrin
b5fbe23be2 remove authenticatorkey from user 2017-06-07 14:32:08 -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
a01d5d9a51 "user key" schema and api changes 2017-05-31 09:54:32 -04:00
Kyle Spearrin
bdce4064b2 fresh sql schema import 2017-05-31 08:55:07 -04:00
Kyle Spearrin
e3cba6204b adjust org plan to larger values 2017-05-25 13:04:23 -04:00
Kyle Spearrin
2ad365706c use directory bit on orgs 2017-05-20 15:31:16 -04:00
Kyle Spearrin
6dac704708 sproc fixes 2017-05-20 08:53:24 -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
4656e1f690 standardize join 2017-05-15 22:00:20 -04:00
Kyle Spearrin
564b8194c1 only return collections for confirmed users 2017-05-15 21:39:28 -04:00
Kyle Spearrin
670b548b22 updated format of import data 2017-05-15 14:41:20 -04:00
Kyle Spearrin
befca0561b support larger externalid size in db 2017-05-13 21:23:24 -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
5d595d4cf9 group external id 2017-05-12 14:02:33 -04:00
Kyle Spearrin
76664c8427 fixes to can edit sproc 2017-05-11 15:20:58 -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
76cebdd886 readonly attribute added to group saves 2017-05-10 14:20:35 -04:00
Kyle Spearrin
08943ed305 group access all and readonly schema changes 2017-05-10 12:17:10 -04:00
Kyle Spearrin
5448fec71f remove refactor log 2017-05-09 19:29:38 -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
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
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
9936f69481 support access all for collection user details 2017-05-08 11:27:21 -04:00
Kyle Spearrin
d9c67ffeff ignore edit param 2017-05-06 23:45:29 -04:00
Kyle Spearrin
b039461ff4 CipherDetails Edit property 2017-05-06 23:23:01 -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
1a4c8b2db7 proper parens for folder delete 2017-05-03 14:55:31 -04:00
Kyle Spearrin
1c2c892bcd delete more FK dependencies when user delete 2017-04-28 16:59:32 -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
44883091f6 cleanup sql aliases from collection rename 2017-04-27 09:46:03 -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
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
89efb07eed limit AvailableSubvaultsCTE by org id of cipher 2017-04-21 16:07:06 -04:00
Kyle Spearrin
b0b6cac97b Flag for org users to access all subvaults 2017-04-20 23:50:12 -04:00
Kyle Spearrin
2aa7c6cfe3 org user remove fixes 2017-04-18 15:27:54 -04:00
Kyle Spearrin
cdfa936f6b fixes for preview deployment 2017-04-18 14:08:58 -04:00
Kyle Spearrin
4da172a94b limit update to available subvaults 2017-04-18 09:51:38 -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
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
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