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

927 Commits

Author SHA1 Message Date
Kyle Spearrin
bd7bc569db revert comments 2018-10-10 22:45:12 -04:00
Kyle Spearrin
006cfffab3 new "Challenge" token for U2f 2018-10-10 17:51:38 -04:00
Kyle Spearrin
5a75134cf6 revert back to v1 u2f core 2018-10-10 16:16:26 -04:00
Kyle Spearrin
7c70aff383 dont catch exception for testing 2018-10-10 16:00:53 -04:00
Kyle Spearrin
b5a4bad637 catch u2f exceptions 2018-10-10 15:21:54 -04:00
Kyle Spearrin
cbab6eb9d7 support for readonly sql db connection string 2018-10-09 17:21:12 -04:00
Kyle Spearrin
aba009c221 change event name to updated2fa 2018-10-09 15:59:07 -04:00
Kyle Spearrin
bfa6f68541 delete expired grants job 2018-10-09 10:23:52 -04:00
Kyle Spearrin
5812915677 database maintenance jobs setup in admin 2018-10-09 10:12:27 -04:00
Kyle Spearrin
bfc74060b6 add support for multiple u2f keys 2018-10-08 14:38:11 -04:00
Kyle Spearrin
7176e0ea22 update packages 2018-10-05 14:05:52 -04:00
Kyle Spearrin
38abfa6fe8 Merge branch 'master' of github.com:bitwarden/core 2018-10-02 08:39:46 -04:00
Kyle Spearrin
9b0bd1a632 only set compromised flag if counter is > 0 2018-10-02 08:39:31 -04:00
Yoshito Komatsu
036c03bd19 Remove amazon.co.jp from GlobalEquivalentDomainsType (#368) 2018-09-28 23:43:29 -04:00
Kyle Spearrin
7164f378fc purge org vault 2018-09-25 09:12:50 -04:00
Kyle Spearrin
6c8d7745a5 revert serilog docdb sink 2018-09-17 23:04:14 -04:00
Kyle Spearrin
41a2d0ed48 update azure storage lib 2018-09-17 15:25:54 -04:00
Kyle Spearrin
b3b0bfa221 update libs 2018-09-14 16:20:39 -04:00
Kyle Spearrin
99679f57fc update sendgrid sdk 2018-09-13 16:09:25 -04:00
Kyle Spearrin
ecd569fa0b use var 2018-09-13 14:06:06 -04:00
Kyle Spearrin
8fde736e98 update stripe sdk 2018-09-13 10:28:51 -04:00
Kyle Spearrin
07855a3203 AddIdentityCore for passwordless identity service 2018-09-12 10:35:05 -04:00
Kyle Spearrin
88384836b5 get rid of AddBasicCustomIdentityServices 2018-09-12 00:15:59 -04:00
Kyle Spearrin
ce309c27d4 update to aspnet 2.1.4 2018-09-11 13:29:34 -04:00
Kyle Spearrin
0fda72c6b0 add message id header to smtp mail 2018-09-10 08:45:57 -04:00
Kyle Spearrin
fb45f75bc8 catch gateway exception when canceling on delete 2018-09-07 14:00:56 -04:00
Kyle Spearrin
cb30a519a7 use 100k iterations 2018-09-01 10:42:44 -04:00
Kyle Spearrin
2562d5a40d reference OrganizationMembership instead 2018-08-31 17:05:27 -04:00
Kyle Spearrin
a1f0f04660 check enabled too 2018-08-29 13:51:24 -04:00
Kyle Spearrin
7ce5464e52 self hosted users get 1 TB 2018-08-29 09:45:57 -04:00
Kyle Spearrin
0983a35cf3 storageBytesRemaining by way of users get premium 2018-08-29 09:08:05 -04:00
Kyle Spearrin
db3316dd60 token providers cant inject userservice 2018-08-28 22:21:13 -04:00
Kyle Spearrin
cf73b168ee More CanAccessPremium checks 2018-08-28 17:40:08 -04:00
Kyle Spearrin
c41a1e0936 CanAccessPremium checks instead of User.Premium 2018-08-28 16:23:58 -04:00
Kyle Spearrin
90387cca0c sync org keys notification when removed from org 2018-08-28 08:52:20 -04:00
Kyle Spearrin
f96e3ee01b add push events throughout user service actions 2018-08-28 08:29:54 -04:00
Kyle Spearrin
18713054f6 add logout notification 2018-08-28 08:22:49 -04:00
Kyle Spearrin
3e2b220074 rename all to PBKDF2_SHA256 2018-08-27 19:57:45 -04:00
Kyle Spearrin
76caf1c580 PBKDF2 is SHA256 2018-08-27 19:55:38 -04:00
Kyle Spearrin
5ecd45abd6 rename notifications api endpoint to send 2018-08-24 20:31:17 -04:00
Kyle Spearrin
0816c609db check user access permissions on collections edit 2018-08-23 23:04:44 -04:00
Kyle Spearrin
61d2ba644c allow custom smtp auth type 2018-08-22 23:40:50 -04:00
Kyle Spearrin
d992125b5f add support for azuresignalr services 2018-08-22 16:04:27 -04:00
Kyle Spearrin
94b6f43fc6 send revision date with collection edits 2018-08-21 23:11:57 -04:00
Kyle Spearrin
3a08ebda1f fix notifications endpoint 2018-08-21 14:40:43 -04:00
Kyle Spearrin
255855887b fix double // 2018-08-21 14:32:09 -04:00
Kyle Spearrin
1b489daca1 send collection ids with cipher notification 2018-08-21 09:29:38 -04:00
Kyle Spearrin
ad5b71643a ip ban is for 30 minutes 2018-08-20 16:26:15 -04:00
Kyle Spearrin
b410a78b31 bump iterations to 75k 2018-08-18 22:02:43 -04:00
Kyle Spearrin
5766c1f6f3 enable notifications services 2018-08-17 18:04:11 -04:00
Kyle Spearrin
40a410917f rename hubapi notification service 2018-08-16 13:52:11 -04:00
Kyle Spearrin
1ffa712b75 more notification hub renames 2018-08-16 13:50:41 -04:00
Kyle Spearrin
42d3a2d8e3 hub configurations 2018-08-16 13:35:16 -04:00
Kyle Spearrin
030f85278c add internal api resource 2018-08-16 12:22:20 -04:00
Kyle Spearrin
28e6783a00 hub api notifications 2018-08-16 12:05:01 -04:00
Kyle Spearrin
ff01ce5ca7 internal identity authorization 2018-08-15 18:43:26 -04:00
Kyle Spearrin
25899fd326 adjusted serilog inclusion predicate with bypassid 2018-08-15 10:54:15 -04:00
Kyle Spearrin
6b4605e228 centralize AddIdentityAuthenticationServices 2018-08-15 09:26:19 -04:00
Kyle Spearrin
740453c900 link forgot master password article 2018-08-14 15:30:29 -04:00
Kyle Spearrin
9751b47900 fix email footer spacing 2018-08-14 15:30:17 -04:00
Kyle Spearrin
0932189ccb support for user defined kdf parameters 2018-08-14 15:30:04 -04:00
Kyle Spearrin
670f79a861 abstract quartz jobs sevrice out to core 2018-08-10 11:05:45 -04:00
Kyle Spearrin
10a19c90d3 Move jobs to api hosted service w/ quartz 2018-08-09 16:08:09 -04:00
Kyle Spearrin
05b8c4e489 remove extra closing tags 2018-08-06 22:45:36 -04:00
Kyle Spearrin
1fb26eb90e in the web vault 2018-08-06 21:34:32 -04:00
Kyle Spearrin
3c7ab22d8a Log in now 2018-08-06 21:30:30 -04:00
Kyle Spearrin
67830e12c8 use styled HTML for emails 2018-08-06 16:23:20 -04:00
Kyle Spearrin
f832ad0ed3 html email template formatting updates 2018-08-06 14:04:13 -04:00
Kyle Spearrin
a06502be9a remove markdown and razor mail templates/services 2018-08-06 13:58:28 -04:00
Kyle Spearrin
b2715503c3 update to new 2.0.0 preview for notification hub 2018-08-06 09:04:31 -04:00
Kyle Spearrin
58d29cc4a8 consolidate some deps 2018-08-03 23:57:15 -04:00
Kyle Spearrin
b2e6b49b14 handlebars template emails 2018-08-03 23:04:47 -04:00
Kyle Spearrin
cb902bf670 make ivalidatable 2018-08-02 23:13:17 -04:00
Kyle Spearrin
a4e91aa570 no azure queue service for now 2018-08-02 21:03:04 -04:00
Kyle Spearrin
0cde13e0c6 azure queue notification service 2018-08-02 17:23:37 -04:00
Kyle Spearrin
8b53ab2945 stub out signalr sync hub 2018-08-02 12:14:33 -04:00
Kyle Spearrin
14956f6383 encrypted string length attr 2018-08-02 08:57:32 -04:00
Kyle Spearrin
8393af9afc netcoreapp2.1 for sql dep 2018-08-01 10:47:35 -04:00
Kyle Spearrin
61cda87574 update to .net / asp.net 2.1 2018-08-01 10:07:20 -04:00
Kyle Spearrin
0685023e1d update libs 2018-08-01 07:53:17 -04:00
Kyle Spearrin
8f3c8512cf null or whitespace 2018-07-31 22:10:15 -04:00
Kyle Spearrin
cf6334e37d check to make sure user actually needs key update 2018-07-31 08:19:49 -04:00
Kyle Spearrin
99df132cc7 null checks 2018-07-30 21:36:11 -04:00
Kyle Spearrin
5c31a35cfe store password history and revision dates 2018-07-27 17:49:27 -04:00
Kyle Spearrin
3b31ab85ff include usersgetpremium is org response 2018-07-24 11:04:32 -04:00
Kyle Spearrin
5eff4c6a40 make web refresh tokens good for 30 days 2018-07-23 19:50:26 -04:00
Kyle Spearrin
941792bdd8 u2f db updates 2018-07-21 08:44:21 -04:00
Kyle Spearrin
f7fb99a726 remove test bcc 2018-07-20 23:44:21 -04:00
Kyle Spearrin
0d4ac29bc7 fix cancelled typo in areas 2018-07-20 17:00:05 -04:00
Kyle Spearrin
45db73c6e1 null check on license key 2018-07-20 13:58:24 -04:00
Kyle Spearrin
0e7ceed68f dev licensing cert 2018-07-19 00:02:21 -04:00
Kyle Spearrin
c92ef08664 check collection count on org import 2018-07-17 13:34:12 -04:00
Kyle Spearrin
49947e382d only check token valid if registration is disabled 2018-07-13 11:04:09 -04:00
Kyle Spearrin
938b7f1230 premium renewal reminders job for braintree 2018-07-12 23:23:41 -04:00
Kyle Spearrin
476ee53931 add renewal reminder date prop to users 2018-07-12 17:35:01 -04:00
Kyle Spearrin
f1b8301428 event page default is 50 2018-07-11 14:24:27 -04:00
Kyle Spearrin
9fee09e204 log event when removing user from group/collection 2018-07-09 23:07:04 -04:00
Kyle Spearrin
1b59e70991 Merge branch 'master' of github.com:bitwarden/core 2018-06-28 10:16:08 -04:00
Kyle Spearrin
3ff217bb24 tolower requests 2018-06-28 07:45:24 -04:00
Xander Smeets
75d3c23376 Add steamgames.com as equivalent domain of Steam (#317) 2018-06-26 07:57:54 -04:00
Kyle Spearrin
826b4a430f exclude domains from sync option 2018-06-25 21:29:04 -04:00
Kyle Spearrin
5c17f910fe remove culture from request model 2018-06-23 11:55:45 -04:00
Kyle Spearrin
de552be25f apis for bulk sharing 2018-06-13 14:03:44 -04:00
Kyle Spearrin
74874a1c38 return collection readonly details 2018-06-11 14:25:53 -04:00
Kyle Spearrin
7aa9681222 bump iterations hash iterations to 50k 2018-06-01 21:02:57 -04:00
Kyle Spearrin
ecf75c2a66 add cli client 2018-05-28 09:44:14 -04:00
Kyle Spearrin
72e95e2a98 allow org user reg. when reg. is disabled 2018-05-24 16:55:52 -04:00
Kyle Spearrin
ffa0a1a02c always specify DateTimeKind.Utc for dapper 2018-05-21 17:12:57 -04:00
Kyle Spearrin
a170e02565 remove bcc 2018-05-15 15:07:53 -04:00
Kyle Spearrin
053096c1a1 subscription renewal reminder emails 2018-05-11 08:29:23 -04:00
Kyle Spearrin
528a0732a6 use withOrganizations sproc 2018-04-24 20:19:23 -04:00
Kyle Spearrin
165ee97d2f refactor cipher queries by user. tuned indexing. 2018-04-24 12:48:43 -04:00
Kyle Spearrin
699a2eec0e update bouncy castle 2018-04-17 23:44:25 -04:00
Kyle Spearrin
810c36470d update more libs 2018-04-17 22:42:55 -04:00
Kyle Spearrin
2c24e00bd7 update some libs 2018-04-17 22:36:30 -04:00
Kyle Spearrin
1fb3fbeacf Revert "update libs"
This reverts commit e7453bc036.
2018-04-17 08:11:08 -04:00
Kyle Spearrin
cd327796cb Revert "update storage lib"
This reverts commit 2c65bd8403.
2018-04-17 08:10:56 -04:00
Kyle Spearrin
e350ef650a dont cycle security token on re-hash 2018-04-17 08:10:17 -04:00
Kyle Spearrin
dead022e83 admin base uri setting, applied to login emails 2018-04-16 20:35:53 -04:00
Kyle Spearrin
2c65bd8403 update storage lib 2018-04-16 12:50:02 -04:00
Kyle Spearrin
e7453bc036 update libs 2018-04-16 12:49:18 -04:00
Kyle Spearrin
fa198213af increase PasswordHasherOptions iterations to 25k 2018-04-14 23:51:34 -04:00
Kyle Spearrin
ad03c9a157 Log org disabled reason 2018-04-13 09:25:54 -04:00
Kyle Spearrin
389512d51e added org duo to 2fa flow 2018-04-03 14:31:33 -04:00
Kyle Spearrin
0d4ea5ce5b organization 2fa apis 2018-04-02 23:18:26 -04:00
Kyle Spearrin
367d3f65a6 use2fa org response 2018-04-02 17:20:06 -04:00
Kyle Spearrin
f7991d0da1 add use2fa to org response models 2018-04-02 17:15:20 -04:00
Kyle Spearrin
bcc224c02d stub out use2fa and twofactorproviders on orgs 2018-04-02 14:53:19 -04:00
Kyle Spearrin
a9481bd524 update bitwarden mail templates 2018-03-30 12:06:01 -04:00
Kyle Spearrin
6628a419d8 remove using 2018-03-30 08:41:32 -04:00
Kyle Spearrin
4cbf3a4b5b format ban logs better 2018-03-30 08:40:58 -04:00
Kyle Spearrin
e51cf078b0 include project property with logs 2018-03-30 00:01:53 -04:00
Kyle Spearrin
92d6524b35 max storage already set in base ctor 2018-03-29 15:03:10 -04:00
Kyle Spearrin
081ae7cb99 no port for issuer 2018-03-29 14:59:36 -04:00
Kyle Spearrin
c5131f3b30 add max storage gb 2018-03-29 14:06:23 -04:00
Kyle Spearrin
4ce69dac2b internal api & vault urls. apply to version check 2018-03-29 08:45:04 -04:00
Kyle Spearrin
7f250a4e74 adminsettings to docker env setup 2018-03-28 10:45:30 -04:00
Kyle Spearrin
40dff2cd6e success/error messages for admin 2018-03-28 10:38:01 -04:00
Kyle Spearrin
ceb4df2450 upgrade nuget libs 2018-03-28 10:00:20 -04:00
Kyle Spearrin
ecb490e8a8 logs dir 2018-03-27 22:16:55 -04:00
Kyle Spearrin
13db0285c9 cleanup logs 2018-03-23 13:39:34 -04:00
David Roth
702d833cea Add sentry logging support. (#240) 2018-03-23 13:33:31 -04:00
Kyle Spearrin
0d12cf9217 persist login. allow log out 2018-03-23 10:12:09 -04:00
Kyle Spearrin
2cf9127ef1 limit edit functions to cloud hosted 2018-03-23 09:44:48 -04:00
Kyle Spearrin
e920c8e9d2 org and user info 2018-03-22 21:10:10 -04:00
Kyle Spearrin
7075d8396d some helper functions for users and orgs 2018-03-22 17:33:22 -04:00
Kyle Spearrin
b011b4e970 user edit 2018-03-22 15:50:56 -04:00
Kyle Spearrin
14039d7d1a respect return url on sign in link 2018-03-22 13:18:18 -04:00
setyb
ff9f605b7d Add StackExchange sites to Equivalent Domains (#242) 2018-03-22 12:06:59 -04:00
setyb
d336594c10 Add StackExchange sites to Equivalent Domains (#241) 2018-03-22 12:06:43 -04:00
Kyle Spearrin
6e16581fe8 passwordless signin email 2018-03-21 21:19:03 -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
d35d8185ed passwordless sign in for admin 2018-03-21 14:26:49 -04:00
Kyle Spearrin
3d9d193bda passwordless signin for billing portal 2018-03-20 15:00:56 -04:00
Kyle Spearrin
64277f54f8 token retrieval from header or qs 2018-03-09 11:02:31 -05:00
Kyle Spearrin
9da30669af empty ctor for note model 2018-03-03 13:59:31 -05:00
Kyle Spearrin
f17023ecad FullHostname => Host 2018-03-02 13:49:32 -05:00
Kyle Spearrin
7d6c2209b4 basedomain => domain 2018-03-02 13:49:13 -05:00
Kyle Spearrin
0689e8617a adjust match types 2018-03-01 23:40:28 -05:00
Kyle Spearrin
48722e4b71 match default is null 2018-03-01 09:34:27 -05:00
Kyle Spearrin
2b276e9986 backwards compat apis on Uri 2018-03-01 09:29:49 -05:00
Kyle Spearrin
c8aabf0b40 MatchType proper => Match 2018-02-28 21:37:06 -05:00
Kyle Spearrin
3563a85318 add support for multiple uris on login model.
refactor cipher data models.
2018-02-28 21:23:46 -05:00
Kyle Spearrin
555e478ec3 Uppercase Bitwarden 2018-02-27 14:16:19 -05:00
Kyle Spearrin
87497a5608 update libs 2018-02-21 22:31:33 -05:00
Kyle Spearrin
0b17f3823a Just use HttpContext RemoteIpAddress to get IP 2018-02-21 21:43:02 -05:00
Marco Trevisan
2c8395cee5 StaticStore: add equivalent domains for Airbnb and Eventbrite (#182)
* GlobalEquivalentDomains: add Airbnb and Eventbrite

* StaticStore: add airbnb domains

List based on https://www.airbnb.com/sitemaps/localized

* StaticStore: sort airbnb domains

* StaticStore: add Eventbrite domains

No public list found, went through some `nslookup` bruteforce checks...

* StaticStore: add missing eventbrite.com
2018-01-08 08:51:00 -05:00
Kyle Spearrin
f61acdd3b9 remove old token retrieval schemes 2018-01-03 14:11:56 -05:00
Kyle Spearrin
3251c4b574 check for org user email to be null 2018-01-01 22:05:43 -05:00
Kyle Spearrin
46c36dc885 net471 directive fixes 2017-12-29 11:57:52 -05:00
Kyle Spearrin
8a318f35b7 events has its own connection string 2017-12-27 22:39:14 -05:00
Kyle Spearrin
9a4e0e8b08 no need for old program class 2017-12-27 22:25:52 -05:00
Kyle Spearrin
d450684144 update to net471 2017-12-26 22:34:51 -05:00
Kyle Spearrin
ff1b85505d subscriptions are always canceled at end of period 2017-12-22 23:01:56 -05:00
Kyle Spearrin
67ec4603a4 pass org id to can use events check 2017-12-20 22:23:05 -05: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
6c30cfc295 safari extension type 2017-12-18 14:01:21 -05:00
Kyle Spearrin
7dd2c524de new device type. return device & ip info on events 2017-12-18 13:59:31 -05:00
Kyle Spearrin
2e6a06cd65 fix placeholder for formatting date 2017-12-15 16:17:36 -05:00
Kyle Spearrin
ed636ae18c added org user and cipher event APIs 2017-12-15 15:50:50 -05:00
Kyle Spearrin
125eab11dc event paging 2017-12-15 15:23:57 -05:00
Kyle Spearrin
79d46578b0 handle UTC dates properly for events 2017-12-15 12:24:32 -05:00
Kyle Spearrin
a9f232746e store device type and ip address on events 2017-12-15 10:50:06 -05:00
Kyle Spearrin
992fac1328 index table entity events 2017-12-14 17:23:46 -05:00
Kyle Spearrin
93ccfa7eac set acting user for user events 2017-12-14 16:41:52 -05:00
Kyle Spearrin
8898c58f3c type row keys should be ints 2017-12-14 16:20:59 -05:00
Kyle Spearrin
172fd2425e added org flag for UseEvents 2017-12-14 15:48:44 -05:00
Kyle Spearrin
2c4ce27ef2 fixes to event get APIs 2017-12-14 15:04:20 -05:00
Kyle Spearrin
adc23bf007 stub out API for events 2017-12-14 12:33:50 -05:00
Kyle Spearrin
b917ea1fd2 current context null checks 2017-12-12 15:23:45 -05:00
Kyle Spearrin
6649c29a8b event fixes 2017-12-12 15:04:14 -05:00
Kyle Spearrin
ce1680a009 event sql table and repo 2017-12-12 14:22:22 -05:00
Kyle Spearrin
7b359053d6 stub out new scim api for dir sync 2017-12-12 13:22:37 -05:00
Kyle Spearrin
59fc1df754 private member _table 2017-12-08 23:14:02 -05:00
Kyle Spearrin
89d488739d re-order event interface 2017-12-08 23:12:19 -05:00
Kyle Spearrin
1bdf56d39f process messages with IEvent 2017-12-08 23:09:50 -05:00
Kyle Spearrin
83a7c98fae write events to table storage 2017-12-08 16:03:20 -05:00
Kyle Spearrin
f02679f609 logic error on cipher event log 2017-12-08 14:59:21 -05:00