1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00
Commit Graph

56 Commits

Author SHA1 Message Date
2ec10cfd2a Standardize '/version' endpoint on all services (#1755) 2021-12-09 15:45:45 -05:00
fcc1a4e10c add missing csrf token validation to admin (#1696) 2021-11-09 11:22:08 -05:00
fd6cdd019e Update code to log to Azure Cosmos DB (#1624)
* Update code to log to Azure Cosmos DB using latest SDK.
2021-10-11 10:16:19 -04:00
f55708d748 built out the organization edit event from the admin portal (#1508)
* built out the organization edit event from the admin portal

* removed unneeded override

* added some space

* fixed the space
2021-08-11 12:44:30 -04:00
179543d790 Add 'alive' endpoint to Admin and Identity services (#1505)
* Add 'alive' endpoint to Admin and Identity services

* Move 'alive' endpoint for Admin to Home Controller
2021-08-10 15:29:13 -04:00
7928b25796 Added Several New Reference Events (#1500)
* added enum values for new events

* hooked up directory sync event

* upgraded the OrganizationUpgrade ReferenceEvent

* Added metadata to the OrganizationUserInvited event noting if this is the first event sent from an organization

* Added metadata to the AdjustedSeats event

* Implemented vaultImported event

* Implemented FirstGroupAdded event

* Implemented FirstCollectionAdded event

* Implemented FirstSecretAdded event type

* Implemented SalesAssisted reference event

* changed events to match updated requirements

* renamed an event enum
2021-08-10 14:38:58 -04:00
842a1c2e37 Tweak provider views (#1499)
* Add Organizations to provider views

Remove enabled/disabled toggle from provider. It's currently not used.

* Remove provider Delete

There are implications to deleting providers on the organizations they manage.
We want to think through this flow before allowing delete from the
admin portal.

* Use toastr to display production exception messages.

Update build actions to upgrade npm to v7.

Use a custom error handler in production which displays a toast of the
exception message and redirect to the offending page

* Clarify provider create error message
2021-08-10 11:28:00 -05:00
152f1f7a9b Allow Resending Provider Setup Emails From The Admin Portal (#1497)
* Added a button for resending provider setup emails

* Fixed a case typo in a stored procedure

* Turned a couple lines of code into a method call

* Added service level validation against inviting users for MSP invites

* Code review improvements for provider invites

created a factory for provider user invites

wrote tests for provider invite permissions"

* changed a few exception types
2021-08-05 10:39:05 -04:00
feb3106f37 [Provider] Create and access child organizations (#1427) 2021-07-08 17:05:32 +02:00
43f7271147 [Provider] Setup provider (#1378) 2021-06-30 09:35:26 +02:00
fe1ffb6a22 [Provider] Server entities and models (#1370)
* Mock out provider models and service

* Implement CreateAsync, CompleteSetupAsync, UpdateAsync, InviteUserAsync and ResendInvitesAsync

* Implement AcceptUserAsync and ConfirmUsersAsync

* Implement SaveUserAsync and DeleteUserAsync

* Add email templates

* Add admin operations for providers

* Fix mail template names

* Rename roles

* Verify provider has provideradmin

* Add self hosted check to admin controller

* Resolve review comments

* Update sql queries

* Change create provider to use email instead of userId
2021-06-03 18:58:29 +02:00
5537470703 Use sas token for attachment downloads (#1153)
* Get limited life attachment download URL

This change limits url download to a 1min lifetime.
This requires moving to a new container to allow for non-public blob
access.

Clients will have to call GetAttachmentData api function to receive the download
URL. For backwards compatibility, attachment URLs are still present, but will not
work for attachments stored in non-public access blobs.

* Make GlobalSettings interface for testing

* Test LocalAttachmentStorageService equivalence

* Remove comment

* Add missing globalSettings using

* Simplify default attachment container

* Default to attachments containe for existing methods

A new upload method will be made for uploading to attachments-v2.
For compatibility for clients which don't use these new methods, we need
to still use the old container. The new container will be used only for
new uploads

* Remove Default MetaData fixture.

* Keep attachments container blob-level security for all instances

* Close unclosed FileStream

* Favor default value for noop services
2021-02-22 15:35:16 -06:00
f3bff938c4 Added ability to bulk-upload tax rates (#1139) 2021-02-11 16:39:27 -05:00
b877c25234 Implemented tax collection for subscriptions (#1017)
* Implemented tax collection for subscriptions

* Cleanup for Sales Tax

* Cleanup for Sales Tax

* Changes a constraint to an index for checking purposes

* Added and implemented a ReadById method for TaxRate

* Code review fixes for Tax Rate implementation

* Code review fixes for Tax Rate implementation

* Made the SalesTax migration script rerunnable
2020-12-04 12:05:16 -05:00
2872bda6fe tool to generate licenses (#874)
* tool to generate licenses

* code review feedback
2020-08-18 17:00:21 -04:00
fef512bad1 use message codes in query string (#681) 2020-03-29 23:41:31 -04:00
9800b752c0 Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
5b598b811e Add additional meta data to org view (#655)
* Add additional meta data to org view

* null check policies and groups
2020-02-25 14:28:41 -05:00
e69fc3620e tool to promote admin user to org owner 2020-02-14 20:13:25 -05:00
47fed7ab80 date range search on logs 2019-10-01 09:02:36 -04:00
7b27443e5f update app cache when editing orgs from admin 2019-06-13 00:31:50 -04:00
3b8552b2fa billing info and tx management tools 2019-02-25 12:43:20 -05:00
7ee8c0a240 add billing info to admin edit page 2019-02-25 10:39:04 -05:00
c6d4440cc5 no async 2019-02-20 23:49:54 -05:00
cdea940597 braintree error 2019-02-19 21:27:07 -05:00
fb21b19490 charge braintree customer tool 2019-02-15 16:18:34 -05:00
dead022e83 admin base uri setting, applied to login emails 2018-04-16 20:35:53 -04:00
c63422ea5d log exception strings 2018-03-30 17:35:07 -04:00
62cf1546cd view log id is guid 2018-03-30 10:18:50 -04:00
0e143a78e5 log filters 2018-03-30 08:38:15 -04:00
8edba6bb6c default log count is 50 2018-03-29 23:47:34 -04:00
d4b4a2b014 admin logs 2018-03-29 23:30:56 -04:00
830f4ee68e more org/user info 2018-03-29 11:26:19 -04:00
4ce69dac2b internal api & vault urls. apply to version check 2018-03-29 08:45:04 -04:00
40dff2cd6e success/error messages for admin 2018-03-28 10:38:01 -04:00
9c14978bb2 not null ... whoops 2018-03-27 23:44:28 -04:00
83fd8b55ac dockerhub version by first character number 2018-03-26 11:39:28 -04:00
997839a2c7 set base admin path for self host 2018-03-23 23:27:33 -04:00
bf3c01ac46 version version from json file 2018-03-23 13:06:15 -04:00
c8191132d4 dashboard version and smtp settings 2018-03-23 12:50:20 -04:00
0d12cf9217 persist login. allow log out 2018-03-23 10:12:09 -04:00
1b313e6df4 Adjust listing link for view/edit 2018-03-23 09:48:36 -04:00
2cf9127ef1 limit edit functions to cloud hosted 2018-03-23 09:44:48 -04:00
bd3457fc06 user/org view pages 2018-03-23 09:29:11 -04:00
ab370b6ca4 CRSF protection on deletes 2018-03-22 21:21:57 -04:00
e920c8e9d2 org and user info 2018-03-22 21:10:10 -04:00
7075d8396d some helper functions for users and orgs 2018-03-22 17:33:22 -04:00
b011b4e970 user edit 2018-03-22 15:50:56 -04:00
6ecaaff94d edit organization 2018-03-22 14:29:33 -04:00
14039d7d1a respect return url on sign in link 2018-03-22 13:18:18 -04:00