1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00
Commit Graph

824 Commits

Author SHA1 Message Date
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
5c8c85680a add missing proj ref 2017-08-17 00:30:31 -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
1f94f2d275 remove compose project reference 2017-08-16 23:20:09 -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
92ab3db4c4 can only update org info when not self hosted 2017-08-16 14:06:23 -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
a8e5b444e2 more build/run instructions 2017-08-16 01:01:36 -04:00
Kyle Spearrin
1ef76b562f only use rate limiting on non-self host 2017-08-15 16:33:38 -04:00
Kyle Spearrin
a2dc1602f8 api for requesting installation ids 2017-08-15 16:31:19 -04:00
Kyle Spearrin
5576028c7a push apis are only for not self hosted instances 2017-08-15 16:20:46 -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
ea22cb1f79 do not launch browser on debug 2017-08-15 14:55:15 -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
829a9e2dd7 GetLicense API is for only not self hosted 2017-08-14 22:17:21 -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
e4ec09fd0c update to 2.0 final 2017-08-14 16:02:34 -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
c8af0e8644 billings jobs setup 2017-08-12 23:06:49 -04:00
Kyle Spearrin
f998b988ca braintree webhooks 2017-08-12 23:02:18 -04:00
Kyle Spearrin
c2df445ac2 added stripe webhook signature checking 2017-08-12 22:30:44 -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
ed81f3874b fix internalidentity setting 2017-08-09 22:56:28 -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
4a25abade8 docker support 2017-08-04 12:21:13 -04:00
Kyle Spearrin
83c43bd6ee internal identity for issuerurl 2017-08-04 12:16:31 -04:00
Kyle Spearrin
9ed065077a adjust settings 2017-08-03 23:23:53 -04:00
Kyle Spearrin
ee9d8a074d new uri settings 2017-08-03 23:12:05 -04:00
Kyle Spearrin
5deccf122a bearer2 no longer supported 2017-08-02 20:55:14 -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
e4dd3b6dc5 version bump 2017-07-29 13:33:34 -04:00
Kyle Spearrin
46419d479a no click tracking on certain links 2017-07-29 13:32:56 -04:00
Kyle Spearrin
e50955ca40 version bump 2017-07-28 21:27:42 -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
25fccfc3fd update sendgridkey name in settings file 2017-07-14 10:52:15 -04:00
Kyle Spearrin
5a4bfe4e61 update libs and cleanup 2017-07-14 09:06:35 -04:00
Kyle Spearrin
5786be651e back to localhost 2017-07-14 08:49:02 -04:00
Kyle Spearrin
955755831c return CipherResponseModel from attachment post 2017-07-12 14:42:39 -04:00
Kyle Spearrin
e932f3a00a fix cipher too many args for sql 2017-07-11 14:43:43 -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
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
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
d3c18381f9 2fa prem fixes 2017-07-07 09:28:50 -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
99c1d68f5a premium checks on two factor 2017-07-06 16:38:28 -04:00
Kyle Spearrin
ae48c8d9b5 null ref fix 2017-07-06 16:31:46 -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
18577f927e remove refactorlog 2017-07-01 10:22:24 -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
205a6d14a6 revert https stuff 2017-06-27 15:53:39 -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
8b40863472 no need for chrome ext to have appid 2017-06-26 23:56:45 -04:00
Kyle Spearrin
12da107c51 web policy for two factor apis 2017-06-26 09:09:30 -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
c069fad4e7 adjust fido content type with middleware 2017-06-22 23:15:28 -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
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
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
03dd6a71e4 version bump 2017-06-16 15:08:36 -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
c30efcaef0 remove pg folder 2017-06-14 22:28:42 -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
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
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