Commit Graph

31 Commits

Author SHA1 Message Date
Oscar Hinton
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
Matt Gibson
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
Addison Beck
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
Kyle Spearrin
2872bda6fe tool to generate licenses (#874)
* tool to generate licenses

* code review feedback
2020-08-18 17:00:21 -04:00
Kyle Spearrin
6b6c2d862d 8bit => bitwarden 2020-02-18 22:22:32 -05:00
Kyle Spearrin
e69fc3620e tool to promote admin user to org owner 2020-02-14 20:13:25 -05:00
Kyle Spearrin
3b8552b2fa billing info and tx management tools 2019-02-25 12:43:20 -05:00
Kyle Spearrin
7ee8c0a240 add billing info to admin edit page 2019-02-25 10:39:04 -05:00
Kyle Spearrin
fb21b19490 charge braintree customer tool 2019-02-15 16:18:34 -05:00
Kyle Spearrin
ca22a007f6 noindex,nofollow 2019-01-17 16:45:53 -05:00
Kyle Spearrin
bcd396d620 robots noindex admin 2019-01-17 16:24:52 -05:00
Kyle Spearrin
4f8061b488 adjust footer copyright 2018-08-21 23:12:06 -04:00
Kyle Spearrin
b1b016fbc8 small logout button 2018-04-16 21:37:33 -04:00
Kyle Spearrin
1e0dc92627 only show docs on self hosted 2018-03-30 00:16:41 -04:00
Kyle Spearrin
d4b4a2b014 admin logs 2018-03-29 23:30:56 -04:00
Kyle Spearrin
0165655bc3 space on copyright year 2018-03-29 21:02:00 -04:00
Kyle Spearrin
f21a25f917 remove home link since user should just click logo 2018-03-28 16:36:41 -04:00
Kyle Spearrin
b3bc55deeb signed in checks on nav items 2018-03-23 16:09:49 -04:00
Kyle Spearrin
bbaafab04b webfonts and styling 2018-03-23 15:51:54 -04:00
Kyle Spearrin
78363bcd5e gulp build for libs 2018-03-23 15:07:17 -04:00
Kyle Spearrin
eab1587648 more settings on dashboard 2018-03-23 14:07:02 -04:00
Kyle Spearrin
0d12cf9217 persist login. allow log out 2018-03-23 10:12:09 -04:00
Kyle Spearrin
af70fdb6c5 layout updates 2018-03-22 21:27:36 -04:00
Kyle Spearrin
7075d8396d some helper functions for users and orgs 2018-03-22 17:33:22 -04:00
Kyle Spearrin
6ecaaff94d edit organization 2018-03-22 14:29:33 -04:00
Kyle Spearrin
ab3b3c6e40 active page status, org customer select filter 2018-03-21 21:58:14 -04:00
Kyle Spearrin
7475ed7318 organization search page 2018-03-21 17:41:14 -04:00
Kyle Spearrin
cd262e81c8 add a footer 2018-03-21 16:26:49 -04:00
Kyle Spearrin
67bf801c15 users listing page 2018-03-21 16:24:10 -04:00
Kyle Spearrin
1be7701da0 bootstrap 4 layout 2018-03-21 13:03:53 -04:00
Kyle Spearrin
6a4ab83625 setup new admin portal project 2018-03-21 12:57:43 -04:00