1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 05:28:15 -05:00

12 Commits

Author SHA1 Message Date
Matt Gibson
edd4bc2623
Add disable send policy (#1130)
* Add Disable Send policy

* Test DisableSend policy

* PR Review

* Update tests for using CurrentContext

This required making an interface for CurrentContext and mocking out
the members used. The interface can be expanded as needed for tests.

I moved CurrentContext to a folder, which changes the namespace
and causes a lot of file touches, but most are just adding a reference

* Fix failing test

* Update exemption to include all exempt users

* Move all CurrentContext usages to ICurrentContext

* PR review. Match messaging with Web
2021-02-04 12:54:21 -06:00
Chad Scharf
9800b752c0 Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
Kyle Spearrin
7fd6e4359d fix warnings 2020-01-10 08:47:58 -05:00
Kyle Spearrin
01a293cf76 record installation devices 2019-03-19 00:39:03 -04:00
Kyle Spearrin
2cf9127ef1 limit edit functions to cloud hosted 2018-03-23 09:44:48 -04:00
Kyle Spearrin
327e192258 push controller is only when *not* self hosted 2017-09-18 21:07:56 -04:00
Kyle Spearrin
5576028c7a push apis are only for not self hosted instances 2017-08-15 16:20:46 -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