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

607 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
2abb1aaae5 implemented grant repository and identity server PersistedGrantStore 2017-01-11 23:20:54 -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
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
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
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
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
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
ac4e13efe8 version bump 2016-10-27 00:15:21 -04:00
Kyle Spearrin
eb6c0a5068 added application insights to api 2016-10-27 00:09:55 -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
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
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
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
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
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
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
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
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
1ff49cd5b3 Added redis caching libraries and implemented for user by id caching. 2016-06-17 17:42:22 -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
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
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
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
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
4c4f803c1f added string length checks on all request objects that store the given data. 2015-12-30 21:40:19 -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
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