Commit Graph

36 Commits

Author SHA1 Message Date
UltimateCoder 40ec6dd0f5 Update src/AspNetCore.Identity.MongoDbCore.csproj 2024-11-25 21:39:28 +01:00
Adam Russell ae7d0c944a Updated to MongoDB.Driver 3.0, Straight Project Reference
Updated to MongoDB.Driver 3.0 + other packages, updated to .NET 8, and changed MongoDbGenericRepository to straight project reference temporarily.
2024-11-11 11:09:40 -08:00
James Hadwen f5c3bee255 Remove static variables from stores 2022-01-27 20:15:57 +07:00
Alexandre SPIESER 7b87c81989 Release 3.1.2: Upgraded dependency MongoDbGenericRepository to version 1.4.8 2021-10-13 23:12:30 +01:00
Alexandre SPIESER 36a605e7d5 harmonize versioning tags and set them to same value.
revert test db connection string
2021-03-18 09:47:59 +00:00
Alexandre SPIESER a9903b140f + git rid of the nuspec, and generate the package on build to avoid discrepancies on package content/platform support in the future.
+ remove browser link refs as it's useless.
+ remove ps scripts used to pack, since we pack on build now.
+ update license
+ remove lib folder as it's now unused
2021-03-18 07:56:39 +00:00
Alexandre SPIESER 35ab8de584 fix authentication issue in mvc sample app 2021-03-16 09:19:02 +00:00
David Barker af725717bb Resore app.UseBrowserLink(); 2021-03-04 18:13:11 +08:00
David Barker 512f2fefa4 Resolved issue with Nuget package versions,
Setting min value to 3.1.8
To override this include the version of the dependency
that you want to use in the project, 3.1.12 is recommended
2021-03-04 11:59:13 +08:00
David Barker 7566643369 Issues with the version number as 3.1.1
nuspec suggests that this is greater than or equal to
VS code reports error, changing this to 3.1.12 resolves this error?
2021-03-04 00:35:20 +08:00
David Barker 21082165d6 Update nuspec to 3.1 version to match aspnetcore3.1
Add pack.ps1 to build the nuget package using dotnet pack
2021-03-03 17:24:09 +08:00
David Barker c39a8b3109 Removed AspNet 2.2 dependencies
Included Microsoft.Extensions.Identity.Core instead of Microsoft.AspNetCore.Identity
Changed initialisation to return the IdentityBuilder so that the token providers can be set independently
Had to remove AddDefaultTokenProviders as this is part of the AspNet 3.1 framework and not dotnet standard 2.1
2021-03-03 15:51:44 +08:00
Alexandre SPIESER 4bdaa5faee new release pushed 2020-05-17 18:58:50 +01:00
Alexandre SPIESER 35013795ea bug fixes, upgrade to latest MongoDbGenericRepository package 2020-05-17 16:35:35 +01:00
Mohammad Javad Ebrahimi b1597c1900 [BugFix]: Set name parameter to the Name property
[BugFix]: Set name parameter to the Name property. related to #29 issue
2020-05-16 01:23:33 +04:30
Alexandre SPIESER 57827c64b2 fix runtime errors due to different mongodb driver versions. 2020-01-27 22:25:34 +00:00
David Barker 02c6a1c934 Update nuspec package for CI/CD
Added package.ps1 file for building, testing and packaging the library
2020-01-24 12:58:47 +08:00
David Barker b9491256b0 - Used the work from @knight1219 (Daniel Mathews) as the basis.
* Fixed the unit tests so that they are now passing.
Note: This is my first real introduction to Moq, so there are probably a few things that can be improved.

Changes:
* Had a few issues with the mock logger, ended up adding a LoggerFactory and Logger implementation to work around this issue (for some reason the mock logger was never called and the unit tests failed because the string builder was never updated).
* Accommodated changes to the SignInManager, UserManager where the latest version has added Logging to constructor
* SecurityStamp functions in UserManager now check for null and throws an exception, so the unit tests can no longer call GetSecurityStampAsync before its set. Line 866: https://github.com/dotnet/aspnetcore/blame/605c522fa3e875fd6d3aefa783a71d1745b7e4c7/src/Identity/Extensions.Core/src/UserManager.cs
* SignInManager.RefreshSignInAsync has changed the internal method from s.SignInAsync to SignInWithClaimsAsync
2020-01-23 22:46:35 +08:00
Alexandre SPIESER bfa4ca2ffb updating package / sln deps 2019-04-23 23:43:43 +01:00
alexandre-spieser deb70ca9c2 updated nuget packages to latest version 2018-11-15 09:02:06 +00:00
alexandre-spieser c817c7db52 Update to MongoDB Driver 2.7.0, MongoDbGenericRepository 1.3.8. 2018-10-07 20:40:37 +01:00
alexandre-spieser 1ec9d1123e Add support for documents with and Id of type ObjectId. 2018-03-07 22:50:24 +00:00
alexandre-spieser 49e2e0c26b MongoDB 3.6 Support, Identity 2.0.1 upgrade. 2018-01-27 16:29:47 +00:00
alexandre-spieser 17b38aeb3f Make surewe you only add properties that are from the UserLoginInfo type. 2018-01-13 00:16:53 +00:00
alexandre-spieser e9ce1b0111 giving credits. 2017-11-30 23:01:31 +00:00
alexandre-spieser 49a13ba3b0 Updated packages to 2.0.1 and added support for primary keys of type long. 2017-11-30 22:54:26 +00:00
alexandre-spieser f6c85c8385 edit release notes. 2017-11-19 19:03:07 +00:00
alexandre-spieser 833a2bed99 Make the sample mvc app depend on the nuget package. 2017-11-19 18:59:29 +00:00
alexandre-spieser 9fe92db2e1 Make sure the lifetime of the UserStore is the same as the UserManager to avoid ObjectDisposed exceptions. 2017-11-19 18:47:55 +00:00
alexandre-spieser 2046daf11b added mongodb mvc sample 2017-11-19 18:35:40 +00:00
alexandre-spieser 8d49c3fb96 Fixing tests. 2017-10-29 18:20:54 +00:00
alexandre-spieser 9bbf5c577e adding more comments and deleting unused methods. 2017-10-29 18:15:09 +00:00
alexandre-spieser d99ce293f0 Big cleanup and adding IdentityBuilder extensions the same way as the EF IdentityBuilder extensions do, allowing customer Identity setup. 2017-10-29 15:09:57 +00:00
alexandre-spieser 6053d082aa Target both netstandard2.0 and netcoreapp2.0 2017-10-22 01:24:27 +00:00
alexandre-spieser 6ca32e461f update convention 2017-10-22 00:47:27 +00:00
alexandre-spieser 0dc4240d2c first commit 2017-10-22 00:24:46 +00:00