1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00
Commit Graph

221 Commits

Author SHA1 Message Date
59f8467f7c Create sso user api (#886)
* facilitate linking/unlinking existing users from an sso enabled org

* added user_identifier to identity methods for sso

* moved sso user delete method to account controller

* fixed a broken test

* Update AccountsController.cs

* facilitate linking/unlinking existing users from an sso enabled org

* added user_identifier to identity methods for sso

* moved sso user delete method to account controller

* fixed a broken test

* added a token to the existing user sso link flow

* added a token to the existing user sso link flow

* fixed a typo

* added an event log for unlink ssoUser records

* fixed a merge issue

* fixed a busted test

* fixed a busted test

* ran a formatter over everything & changed .vscode settings in .gitignore

* chagned a variable to use string interpolation

* removed a blank line

* Changed TokenPurpose enum to a static class of strings

* code review cleanups

* formatting fix

* Changed parameters & logging for delete sso user

* changed th method used to get organization user for deleting sso user records

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-08-26 14:12:04 -04:00
51fd87df0b Added UseSso bool to Organization (#834)
* Added UseSso bool to org

* Update fields in migration script

* bump version & check enabled flag on ssoConfig
2020-07-22 09:38:39 -04:00
5ecdc77d3f Fix broken unit tests (#816) 2020-07-08 15:05:24 -04:00
4115b2e13e Add unit test coverage for AmazonSqsBlockIpService 2020-06-18 10:16:23 -07:00
aeb6e4e7d4 formatting 2020-06-18 09:57:24 -04:00
dc42be710a Add unit test coverage for AmazonSesMailDeliveryService (#783)
* Parameterize AmazonSimpleEmailServiceClient to allow testing

* Add unit test coverage for AmazonSesMailDeliveryService
2020-06-18 09:55:46 -04:00
2cf7f18858 License expiration email for self-hosted org/premium accounts 2020-05-18 16:06:34 -04:00
518e94f60f upgrade more lgos. remove sendgrid 2020-03-05 10:33:44 -05:00
462303e701 fix tests 2020-02-20 14:36:31 -05:00
e8054df5b4 use policies property for orgs 2020-01-15 15:00:54 -05:00
7fd6e4359d fix warnings 2020-01-10 08:47:58 -05:00
29580684a3 upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
0bc034f620 fix ctor for stripe payment service test 2019-09-20 08:04:05 -04:00
1b0d9481a7 remove old smtp tests 2019-08-27 09:23:58 -04:00
0f3fcc122d Add basic Core.Services test files (#526)
Following the paradigms illustrated in "Working Effectively with Legacy
Code", this commit introduces at least one test for each service class
implementation. This test is a simple construction test -- we just
create each service and assert that it exists. Each test suite includes
a comment instructing the developer who comes next to remove the
constructor test. We don't want to keep these tests as the codebase
matures, as they aren't useful in the longterm. They only prove that we
have that class under test.

Where test suites failed to construct their associated classes, we skip
the test but leave behind the implementation. This is by design, so that
as the constructors for those classes change, we are forced to keep the
test suite current by leaning on the compiler.
2019-07-05 20:35:54 -07:00
7d5e3736f0 fix tests 2019-05-06 21:52:21 -04:00
6922cff638 fix tests 2019-03-02 15:28:32 -05:00
de85dbc67c tests for org import user marrying 2019-02-19 16:27:05 -05:00
f0fa1e00fb formatting 2019-02-09 22:05:24 -05:00
c006325850 Add few unit tests for CollectionService (#437) 2019-02-09 22:01:45 -05:00
3be9542cce Core.Test with example test using nsub and xunit 2019-01-09 12:31:07 -05:00