1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-10 15:13:29 +01:00
Commit Graph

1643 Commits

Author SHA1 Message Date
Chad Scharf
055fa4b86f
New resource strings for SSO and Redirect pages (#905) 2020-09-02 14:13:27 -04:00
Kyle Spearrin
4439e6b25e use internal URL 2020-09-01 12:28:03 -04:00
Kyle Spearrin
c6aaa1276d AdjustIdentityServerConfig for authorization_endpoint 2020-09-01 12:13:08 -04:00
Kyle Spearrin
ba84c59b5d custom DiscoveryResponseGenerator and helpers 2020-09-01 07:38:36 -04:00
Kyle Spearrin
7a72da5725 fix deprecated mailkit MailboxAddress ctor 2020-08-28 14:21:16 -04:00
Kyle Spearrin
38728143d8
Added static client store (#899) 2020-08-28 13:32:15 -04:00
Chad Scharf
db7d05b52f
Added PreValidate endpoint on Account controller (#896)
* Added PreValidate endpoint on Account controller

* Fixed IHttpClientFactory implementation

* Core localization and org sproc fix

* Pass culture, fixed sso middleware bug
2020-08-28 12:14:23 -04:00
Kyle Spearrin
303b9a7875
Allow org update api on self hosted for identifier only (#898) 2020-08-28 11:22:19 -04:00
Matt Smith
00a1e8e833
Add UseBusinessPortal to OrgUserOrgDetails. (#894) 2020-08-27 11:11:59 -05:00
Addison Beck
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
Chad Scharf
1c04e30689
Requested configuration cleanup for sso (#891) 2020-08-26 08:45:10 -04:00
Kyle Spearrin
2cd6d4f61a
plan adjustments (#890) 2020-08-25 14:23:36 -04:00
Chad Scharf
2fb18d8cf2
Extracted logic to get Identity cert (#889) 2020-08-25 13:15:59 -04:00
Kyle Spearrin
66e67d2172
map plantype to old strings for license hash (#882) 2020-08-21 17:44:45 -04:00
Kyle Spearrin
e41aca81de
allows dev runs to load a common idserv cert (#881) 2020-08-21 11:58:22 -04:00
Kyle Spearrin
a8c20d1c32
pass down version properly to generate license (#880) 2020-08-20 10:12:27 -04:00
Contribucious
8383a0866f
Add Yandex to global equivalent domains list (#876)
* [enum] Add Yandex to global equivalent domains list

Exhaustive list of Yandex domain names obtained by contacting their support.

* [Dictionary] Add Yandex to global equivalent domains list

Exhaustive list of Yandex domain names obtained by contacting their support.
2020-08-19 18:09:39 -04:00
Chad Scharf
8884157427
Added get for sso config repo by revision date (#878) 2020-08-19 13:35:17 -04:00
Contribucious
80f57d22a7
Remove amazon.co.nz from Amazon equivalent domains (redirect) (#875)
After further research, amazon.co.nz has never been more than a redirect (in order: to amazon.com, amazon.co.uk then back to amazon.com). See PR for more information.
2020-08-18 18:42:10 -04:00
Kyle Spearrin
2872bda6fe
tool to generate licenses (#874)
* tool to generate licenses

* code review feedback
2020-08-18 17:00:21 -04:00
Addison Beck
c65c52d997
Plan updates cleanup (#872)
* updated teams feature set for new plans

* removed whitespace

* alphabatized some properties
2020-08-17 10:45:37 -04:00
Kyle Spearrin
d190c4bd0f
Update APIs to collect other set password info (#870) 2020-08-17 10:40:35 -04:00
Contribucious
af85e17486
[Equivalent domains] Fix for the special case "eBay India" (#871)
See explanations in the PR.
2020-08-17 09:46:17 -04:00
Contribucious
2c430190cb
Add all missing entries to Ebay equivalent domains (#869)
(+ sort the Ebay list alphabetically)
2020-08-14 09:54:05 -04:00
Chad Scharf
38f7fff2f9
Added new SAML2 enums for configuration (#868) 2020-08-13 20:11:23 -04:00
Contribucious
6aed80a67d
Add amazon.{com.br, sa} to Amazon equivalent domains (#864)
(+ sort the Amazon list alphabetically)
2020-08-13 17:38:32 -04:00
Kyle Spearrin
cd926ca8f6
allow user registration for sso (#865) 2020-08-13 17:30:10 -04:00
Kyle Spearrin
4d8090d75e
Fix 2fa dictionary on identity response (#863) 2020-08-13 16:04:50 -04:00
Kyle Spearrin
783b4804ec
SSO support (#862)
* [SSO] Added change password API (#836)

* Created API for updating password with no current comparison

* Changed name of method and request // Added user has password error flow

* Updated user service method name // Updated string null/empty check

* Replaced hardcoded sso domain hints with config loader (#850)

* Replaced hardcoded sso domain hints with config loader

* use async/await for sso config loader

* Update AccountsController.cs

Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Matt Portune <mportune@bitwarden.com>
Co-authored-by: Matt Portune <59324545+mportune-bw@users.noreply.github.com>
2020-08-12 17:03:09 -04:00
Kyle Spearrin
056b4b9bf4
add api support for updating org identifier (#861)
* add api support for updating org identifier

* add identifier to response as well

* implement in EF repo
2020-08-12 16:38:22 -04:00
Addison Beck
c8220fdfa6
Plan And Price Updates (#859)
* Expanded the Plan model to make plan & product data a bit more dynamic 
* Created a Product enum to track versioned instances of the same plan
* Created and API call and Response model for getting plan & product data from the server
2020-08-11 14:19:56 -04:00
Timo N
61b11e398b
Added netcup to global equivalent domains list (#600) 2020-08-11 09:06:57 -04:00
Chad Scharf
5878d1b0db
Ref event should be base64 encoded (#853) 2020-08-06 20:29:35 -04:00
Jeremy Lin
562082e9ca
Add a complete list of Eventbrite equivalent domains (#851)
This list was extracted using:

$ curl -s https://www.eventbrite.com/ |
    tr '"' '\n' |
    grep -o 'www\.eventbrite\.[^/]*' |
    sed 's/www\.//' |
    sort -u
2020-08-06 14:07:45 -04:00
Kyle Spearrin
004e3c58ee
added more client redirect uris for clis (#849) 2020-08-05 10:53:55 -04:00
Kyle Spearrin
44717b2d4c remove non-verified eventbrite equivalent domains 2020-08-04 08:02:44 -04:00
Chad Scharf
b5ac20ec9f
Correct connection string for res queue (#847) 2020-08-03 15:22:38 -04:00
David Lemayian
ca224c1782
update welcome email download urls (#844)
* update welcome email download urls

Very cool service! Noticed the download urls in the welcome email didn't take me to the downloads. Hope this fixes it?

* Update Welcome.html.hbs

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-08-01 16:18:40 -04:00
Kyle Spearrin
623cd36bd4
upgrade identity server 4 to v4 (#842)
* upgrade identity server 4 to v4

* remove script ref
2020-07-30 17:00:13 -04:00
Kyle Spearrin
aa1665065d
add missing RedirectUris (#840) 2020-07-28 22:49:13 -04:00
Kyle Spearrin
c53e8cbf9d
return if org user has sso binding (#839) 2020-07-28 21:11:45 -04:00
Kyle Spearrin
2c4752f4ac
Sso user table, model and repo stubbed out (#837)
* Sso user table, model and repo stubbed out

* switch to nullable org id, bigint id

* update GetBySsoUserAsync

* cleanup migrator file

* fix EF user repo

* fix pg repo

* is `IS NULL` checks

* unique indexes

* update migration scripts

* add another unique index

* remove old script
2020-07-28 10:03:09 -04:00
Kyle Spearrin
69e8860767
Assign usepolicies when upgrading (#838) 2020-07-28 09:28:11 -04:00
Kyle Spearrin
5de236f294 update libs 2020-07-27 20:36:17 -04:00
Addison Beck
229478adae
Feature.web.534.allow multi select in org vault (#830)
* Set up API methods for bulk admin delete
2020-07-22 11:38:53 -05:00
Matt Portune
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
Chad Scharf
83e9468502
Transition reference id to data (#828)
* Transition reference id to data

* field length and request model updates
2020-07-20 15:19:46 -04:00
Kyle Spearrin
5892d52ed5 fix protocol 2020-07-16 08:03:57 -04:00
Kyle Spearrin
0d0c6c7167
sso integrations (#822)
* stub out hybrid sso

* support for PKCE authorization_code clients

* sso service urls

* sso client key

* abstract request validator

* support for verifying password

* custom AuthorizationCodeStore that does not remove codes

* cleanup

* comment

* created master password

* ResetMasterPassword

* rename Sso client to OidcIdentity

* update env builder

* bitwarden sso project in docker-compose

* sso path in nginx config
2020-07-16 08:01:39 -04:00
Chad Scharf
2742b414fd
reference event changes and cleanup (#823) 2020-07-15 12:38:45 -04:00
Matt Portune
92238eb0a9
Additional changes for enterprise portal sso config (#819)
* Additional changes for enterprise portal sso config

* Requested changes

* rename enum to Saml2

* Limit to one SSO config per org
2020-07-13 15:58:59 -04:00
Chad Scharf
7af50172e0
Reference event service implementation (#811)
* Reference event service implementation

* Fix IReferenceable implementation of Id

* add structure to event body
2020-07-07 12:01:34 -04:00
Vincent Salucci
b4524fbcb6
Added BusinessPortal property for use on client side (#810) 2020-07-06 12:59:57 -05:00
Chad Scharf
a37706eba1
Restore original collection method (#804) 2020-06-30 11:52:50 -04:00
Chad Scharf
d7b00f6c27
Subscription update to maintain auto charge (#803) 2020-06-29 20:29:19 -04:00
Kyle Spearrin
6bc7a3cdc0
adjust cors origin checks (#800)
* allow cors from bitwarden.com on cloud

* allow file:// cors for safari extension

* fix missing paren
2020-06-27 15:08:50 -04:00
Kyle Spearrin
b524029e5c bump dependency versions 2020-06-26 16:17:46 -04:00
Matt Portune
da9b81d552
Merge pull request #796 from bitwarden/sso-dal
Additional SSO & Org Identifier work
2020-06-26 10:47:17 -04:00
Matt Portune
bc5ea25d0b removed ssoConfig request/response models 2020-06-26 10:03:25 -04:00
Matt Portune
f46023f2f5 requested changes 2020-06-25 18:06:27 -04:00
Matt Portune
39a81af3e9 DAL & CRUD for SSO 2020-06-25 16:42:29 -04:00
Chad Scharf
47a6e607c6 Fixed validation error for Free org accounts 2020-06-25 15:58:08 -04:00
Chad Scharf
fca7b162bf Reference id storage and signup 2020-06-25 12:28:22 -04:00
Kyle Spearrin
f23a8edc45
Update stripe lib (#793) 2020-06-24 21:24:19 -04:00
Kyle Spearrin
8559e144c6 bump dependency minor/patch versions 2020-06-24 16:37:23 -04:00
Kyle Spearrin
cf70a5e480
set cors policies to only allow web vault origin (#787)
* set cors policy to only allow web vault

* vault cors policy service
2020-06-23 18:47:53 -04:00
Mike Hanson
398867a839 Parameterize AmazonSQSClient to allow testing 2020-06-18 10:16:23 -07:00
Chad Scharf
61b15c55d0
Merge pull request #782 from bitwarden/feature/tax-info-collection
Combined tax updates with other operations
2020-06-18 11:26:58 -04:00
Chad Scharf
0f28ac45f9 Consistency on TaxInfo use in service params 2020-06-18 10:41:55 -04:00
Kyle Spearrin
aeb6e4e7d4 formatting 2020-06-18 09:57:24 -04:00
Mike Hanson
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
Chad Scharf
b7a500eb63 combined tax updates with other operations 2020-06-17 19:49:27 -04:00
Chad Scharf
f7e5f1f15e
Merge pull request #776 from bitwarden/feature/tax-info-collection
Feature/tax info collection
2020-06-17 10:49:54 -04:00
Hinton
7145e3ea88 On create default ViewPassword to true. 2020-06-15 18:54:32 +02:00
Chad Scharf
b2cb9a2f69 Billing addr line1 fix, pr feedback 2020-06-15 09:12:03 -04:00
Chad Scharf
1552ff7b29 Collect tax info, correct line1 2020-06-12 19:35:17 -04:00
Pedro Lamas
21834223fd
Adds extra Amazon equivalent domains (#775) 2020-06-12 10:25:08 -04:00
Chad Scharf
5b3f81f47e
Merge pull request #743 from Hinton/feature/hide-passwords
Add support collection access, hide passwords
2020-06-11 14:24:04 -04:00
Code
d2625e47e1
Remove trailing comma and adjust formatting of some of the equivalent domain strings to match the rest (#773) 2020-06-09 16:53:48 -04:00
Kyle Spearrin
a7d7736806
Add i18nservice abstraction (#770) 2020-06-09 10:25:37 -04:00
Chad Scharf
d88838f19e API updates for tax info collection 2020-06-08 17:40:18 -04:00
Connor Gibson
cad7cf0200
Add office.com to Microsoft default equivalent domains. (#769) 2020-06-06 21:08:26 -04:00
Kyle Spearrin
4bd3e01a80
abstract context building to overrideable SetContextAsync (#766)
* abstract context building to overrideable SetContextAsync

* update method calls
2020-06-04 14:14:43 -04:00
André Paulo
e1a0d59fd1
Added Discord to Global Equivalent Domain (#752)
* add Discord to GlobalEquivalentDomainsType

* added discord domains to global domains
2020-05-28 19:48:51 -04:00
Matt Portune
0d156776cb
Merge pull request #737 from bitwarden/self-hosted-exp-email
License expiration email for self-hosted org/premium accounts
2020-05-27 09:07:47 -04:00
Roman V
a421be731c
Add syslog suport for sending application logs to a Syslog server (#742)
* Add syslog suport for sending application logs to a Syslog server

* Rename SyslogSettings.Certificate to SyslogSettings.CertificatePath
2020-05-22 21:19:59 -04:00
hinton
f2348d2264 Resolve review comments 2020-05-22 22:16:01 +02:00
hinton
36f15c67d0 Add support for new collection access, hide passwords 2020-05-21 15:38:57 +02:00
Matt Portune
545948220a additional formatting & inclusion of org name 2020-05-19 18:22:03 -04:00
Matt Portune
9bf3a467fa formatting 2020-05-19 12:37:45 -04:00
Kyle Spearrin
c205bf72e6 update some libs 2020-05-18 21:57:14 -04:00
Matt Portune
2cf7f18858 License expiration email for self-hosted org/premium accounts 2020-05-18 16:06:34 -04:00
Chad Scharf
d49cc18a41 Stripe not crediting customer balance after void 2020-05-18 12:38:00 -04:00
Chad Scharf
97158d607a
Merge pull request #727 from bitwarden/subscription-change-invoicing
Subscription change, invoice process update
2020-05-13 10:24:46 -04:00
Chad Scharf
9ef39bcadb Removed payment_behavior, errant whitespace 2020-05-13 09:54:10 -04:00
Chad Scharf
a024b43cea Updated code style and PR feedback 2020-05-12 17:22:04 -04:00
Kyle Spearrin
10a6e12d09
generate signin token for enterprise portal (#728) 2020-05-12 15:36:33 -04:00
Chad Scharf
a9a7003bfc Subscription change, invoice process update 2020-05-12 12:48:21 -04:00
Chad Scharf
9a2d8e96e4 Updated Stripe API SDK version to 36.9.0 2020-05-08 10:15:48 -04:00
Kyle Spearrin
3c5cd0ffb2 brand color updates 2020-05-05 17:08:53 -04:00
Kyle Spearrin
fae4a335dc
public API for organization import (#707) 2020-04-23 11:29:19 -04:00
Kyle Spearrin
c177714799
Remove www. URL from alibaba (#701) 2020-04-16 10:38:39 -04:00
Chad Scharf
145dcabba6 [Soft Delete] bulk import fails if DeletedDate null 2020-04-10 13:43:51 -04:00
Chad Scharf
4defd13395 [Soft Delete] - fix Upsert calls based on cipher supertype 2020-04-08 16:18:22 -04:00
Chad Scharf
c0019e7abc [Soft Delete] Update assignment of deleted and revision date to 1-liner 2020-04-02 10:56:22 -04:00
Chad Scharf
d07f27f274 [Soft-Delete] Simplify the data-tier, removed extra sprocs and reuse update 2020-04-01 16:39:27 -04:00
Chad Scharf
d014a597dd [Soft Delete] - API updates for soft delete + retrieval 2020-04-01 13:00:25 -04: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
Chad Scharf
55b937ff68 Updated PR comments, changed smart defaults for behavior, updated Cipher table index 2020-03-27 10:23:37 -04:00
Chad Scharf
bc46eccf70 Deleted date on Cipher table, related sprocs and repositories updated 2020-03-26 19:32:37 -04:00
Kyle Spearrin
1331cc90f7 check SettingHasValue instead of empty 2020-03-19 11:10:23 -04:00
Kyle Spearrin
9520a646ad UserId added to MemberResponseModel 2020-03-17 12:05:06 -04:00
David Roth
b7b06d77df
Use correct sentry integration package. Fixes #669 (#670) 2020-03-16 08:25:46 -04:00
Kyle Spearrin
7dc959c058 return empty policies array if none 2020-03-12 15:05:46 -04:00
Kyle Spearrin
0f9ec8d64f check user has 2fa enabled when confirming 2020-03-09 15:13:40 -04:00
Kyle Spearrin
218fec52f1 allow maintenance tasks to take 48 hours 2020-03-08 20:59:03 -04:00
Kyle Spearrin
518e94f60f upgrade more lgos. remove sendgrid 2020-03-05 10:33:44 -05:00
Kyle Spearrin
cd0ec26b07 upgrade libs 2020-03-04 22:01:28 -05:00
Kyle Spearrin
172525bf86 Merge branch 'master' of github.com:bitwarden/server 2020-03-04 21:57:50 -05:00
Kyle Spearrin
c8d7f04826 signalr redis support. remove old azure signalr refs 2020-03-04 21:57:42 -05:00
Alex Knight
d2fcf8f572
Additional Equivalent Domains Fix #649 (#662)
* Additional Equivalent Domains Fix #649

* Remove infinitysrv.com as resolves to 127.0.0.1
2020-03-04 10:55:58 -05:00
Kyle Spearrin
7b91fe55f0 set UsePolicies on license update 2020-03-03 22:32:59 -05:00
Kyle Spearrin
d5aa7b5624 allow configuring the validation urls for yubico otp servers 2020-03-03 08:32:50 -05:00
Kyle Spearrin
71d9ffdd9d
CheckPoliciesOnTwoFactorRemoval for 2fa recovery (#659) 2020-02-28 10:23:19 -05:00
Kyle Spearrin
ae893c72bd formatting 2020-02-28 09:15:47 -05:00
Kyle Spearrin
621192b701
enable email 2fa if joining an org with policy (#658) 2020-02-28 09:14:33 -05:00
Kyle Spearrin
0b9125be9c add column mapping to sql bulk copies 2020-02-27 22:45:43 -05:00
Kyle Spearrin
f54ebfdc75
email user whenever they're removed from org because of 2fa policy (#657) 2020-02-27 09:30:03 -05:00
Kyle Spearrin
81424a8526
Enforce 2fa policy (#654) 2020-02-19 14:56:16 -05:00
Kyle Spearrin
71995b21ee add check type to payment methods 2020-02-07 16:38:33 -05:00
Tristan Berger
b6274ac728
Add Envato network to equivalent domain sets (#647)
* Add Envato network to equivalent domain sets

Envato is an Alexa top 500 website that asks you to use the same login on many different domains. The login forms are on those domains, not envato.com.

For my use case, account-level domain equivalence rules don’t work because I want to share this with a team, and multiple URLs per login is duplicative because we have multiple Envato logins.

tutsplus.com is another Envato domain that accepts Envato logins, but I believe it also accepts tutsplus.com-specific logins, making it not fully equivalent.

* Add Envato to GlobalEquivalentDomainsType
2020-02-01 15:31:40 -05:00
Kyle Spearrin
725522128c sync org policies to client devices 2020-01-28 15:33:32 -05:00
Kyle Spearrin
82be2ae06b parse cancellation dates to detect refunds 2020-01-28 09:24:00 -05:00
Mario Limonciello
2c68e01e14 Add Docusign to equivalent domains (#642) 2020-01-23 22:10:23 -05:00
Kyle Spearrin
9266546d60 only 1 policy event 2020-01-20 09:02:41 -05:00
Kyle Spearrin
f3f1ac57d2 refactor policy apis 2020-01-20 08:53:15 -05:00
Kyle Spearrin
ff8731c82f add usepolicies to org profile object 2020-01-15 15:17:32 -05:00
Kyle Spearrin
0790f9859e usepolicies check 2020-01-15 15:01:31 -05:00
Kyle Spearrin
e8054df5b4 use policies property for orgs 2020-01-15 15:00:54 -05:00
Kyle Spearrin
58faf5266b policy events 2020-01-15 09:43:49 -05:00
Kyle Spearrin
3f9b44f493 public policy apis 2020-01-15 09:19:55 -05:00
Kyle Spearrin
937bb4359f policy service 2020-01-15 09:19:28 -05:00
Kyle Spearrin
85f32f450b policy controller 2020-01-15 08:35:53 -05:00
Kyle Spearrin
0628fb682e rename policy types 2020-01-15 08:19:47 -05:00
Kyle Spearrin
dda3c3a123 Async GetEmbeddedCertificate 2020-01-13 15:35:50 -05:00
Kyle Spearrin
3f4a4bac2a copytoasync 2020-01-13 15:32:22 -05:00
Kyle Spearrin
13370e011f fix admin cookie expiration 2020-01-13 12:03:10 -05:00
Kyle Spearrin
b1e8d16b9d update some libs 2020-01-13 09:33:12 -05:00
Kyle Spearrin
bc0901348b calculate storage updates 2020-01-10 20:05:58 -05:00
Kyle Spearrin
5bb440563f just type mapping for json docs 2020-01-10 18:54:44 -05:00
Kyle Spearrin
d653629e79 EF repo fixes 2020-01-10 18:14:45 -05:00
Kyle Spearrin
47b50e48ef update libs 2020-01-10 16:14:16 -05:00
Mart124
f7512445e4 Add windowsazure.com to eq domains (#637)
* Add windowsazure.com to eq domains

* Add azure.com to eq domains
2020-01-10 11:53:11 -05:00
Kyle Spearrin
7fd6e4359d fix warnings 2020-01-10 08:47:58 -05:00
Kyle Spearrin
29580684a3 upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
Kyle Spearrin
8026912eeb fixes for databasecontext and json types 2020-01-09 07:57:33 -05:00
Kyle Spearrin
002efaafd4 map json columns for org and user 2020-01-08 21:38:32 -05:00
Kyle Spearrin
9fa7f335bd org repo 2020-01-08 21:34:49 -05:00
Kyle Spearrin
46c258428e delete typoed class 2020-01-08 20:31:31 -05:00
Kyle Spearrin
7c5be176fa Stub out EF repo base with user repo 2020-01-08 20:28:16 -05:00
Kyle Spearrin
9caaab0537 stub out policy models and repos 2020-01-06 14:27:16 -05:00
Kyle Spearrin
36e97ccbd2 update 2fa recovery email copy 2019-12-23 15:31:55 -05:00
Kyle Spearrin
ad010f6080 Merge branch 'master' of github.com:bitwarden/server 2019-12-23 15:26:47 -05:00
Brian Becker
0be86072f7 Add email notification on Two Factor recovery use (#625)
* Add email notification on Two Factor recovery use

* A user who has lost their 2fa device can clear out the
  2fa settings using a recovery code.  When this happens
  it gets logged but no notification to the user occurs.
* Add a notification to be sent when 2fa recovery code is
  used

* Add email message templates
2019-12-23 15:26:39 -05:00
Kyle Spearrin
e2d65e5b08 switch to official bitpay light library 2019-12-19 10:27:06 -05:00
Kyle Spearrin
a5b809f477 update rolling file settings for LogRollBySizeLimit 2019-11-25 11:40:04 -05:00
Kyle Spearrin
654eb5e15f further validate email for org users 2019-11-25 10:57:55 -05:00
Kyle Spearrin
c7d34a7ac6 fix typo. roll 2019-11-22 10:36:17 -05:00
Kyle Spearrin
d270311393 config for rolling log files by size limit 2019-11-22 10:33:57 -05:00
Kyle Spearrin
2693ffeab0 include ip in log message. only for self host 2019-11-22 10:23:11 -05:00
Kyle Spearrin
d022517762 login failed log message 2019-11-22 07:30:32 -05:00
Kyle Spearrin
72750cf298 org re-invite api 2019-10-07 16:23:38 -04:00
Kyle Spearrin
5fd9df3beb app in review flag for iap receipt validation 2019-09-29 20:42:53 -04:00
Kyle Spearrin
5e7ac0a9bc handle appleReceipt already existing on customer 2019-09-23 10:27:14 -04:00
Kyle Spearrin
b72744eafc alloe sub cancellation when deleting account 2019-09-20 13:45:47 -04:00
Kyle Spearrin
784c86893f throw apple iap exceptions 2019-09-20 00:01:35 -04:00
Kyle Spearrin
ff5a0ff0ce payment service support for iap 2019-09-19 23:30:16 -04:00
Kyle Spearrin
8340b22c2a UsingInAppPurchase prop on sub models 2019-09-19 16:31:11 -04:00
Kyle Spearrin
ad95dd6bb2 check for valid transaction as well 2019-09-19 10:04:15 -04:00
Kyle Spearrin
62f4e67e8a save userId with receipt data 2019-09-19 09:36:26 -04:00
Kyle Spearrin
43f26925d1 fixes for meta repo and iapcheck model 2019-09-19 09:23:48 -04:00
Kyle Spearrin
e9174ba9f4 iap pre-purchase check 2019-09-19 08:46:26 -04:00
Kyle Spearrin
9ddfe3e947 fix json serialization of receipt status 2019-09-18 17:43:17 -04:00
Kyle Spearrin
bed2a0ab7b no additional storage for premium 2019-09-18 10:52:53 -04:00
Kyle Spearrin
b39d1e13d7 set owner context for org api 2019-09-18 10:47:36 -04:00
Kyle Spearrin
4ec05e111c fix typo 2019-09-18 09:47:42 -04:00
Kyle Spearrin
1495f6e507 fix typo 2019-09-18 09:47:25 -04:00
Kyle Spearrin
3af2fbd4e9 register new services 2019-09-18 09:46:26 -04:00
Kyle Spearrin
68b5ba6474 update to apple iap service 2019-09-17 22:58:38 -04:00
Kyle Spearrin
ed7da76bac add helpers and renewal info to receipt model 2019-09-17 22:58:06 -04:00
Kyle Spearrin
8290ddbb94 apple iap service 2019-09-17 19:48:40 -04:00
Kyle Spearrin
7a2e86c2ba new payment method types 2019-09-17 17:08:46 -04:00
Kyle Spearrin
64ddcaaf0f isUser function 2019-09-17 16:55:40 -04:00
Kyle Spearrin
dcbe30b80f noop 2019-09-17 16:09:23 -04:00
Kyle Spearrin
2c319af95b object name for meta data repo 2019-09-17 10:15:59 -04:00
Kyle Spearrin
c82947a5f8 update receipt object 2019-09-16 16:23:07 -04:00
Kyle Spearrin
9e51eaea28 Apple Iap service 2019-09-16 09:22:22 -04:00
Kyle Spearrin
d009aa57c0 noop meta data repo 2019-09-13 16:10:20 -04:00
Kyle Spearrin
3037b95920 metadata repository for table storage 2019-09-13 16:02:01 -04:00
Kyle Spearrin
12c8e4b124 format pg params object 2019-09-11 13:32:55 -04:00
Kyle Spearrin
294a6dbba5 set/use default payment method on customer 2019-09-06 08:47:36 -04:00
Kyle Spearrin
1be6e2008b qty is only 1 if re-creating after proration 2019-09-03 16:49:25 -04:00
Kyle Spearrin
aca274a49b add new properties to LogContext 2019-09-03 14:44:22 -04:00
Kyle Spearrin
72310701d2 move ip address method to core helpers 2019-09-03 14:08:08 -04:00
Kyle Spearrin
4982c21c37 qty should be 1 when restoring invoice items 2019-09-03 12:48:42 -04:00
Kyle Spearrin
54162d6531 fix credit card bug for premium 2019-09-02 20:23:43 -04:00
Kyle Spearrin
62732fa002 gateway check 2019-09-02 08:53:59 -04:00
Kyle Spearrin
a3b30595f5 null check paymentToken 2019-08-31 00:33:29 -04:00
Kyle Spearrin
81d2da8df4 update packages 2019-08-30 10:20:40 -04:00
Kyle Spearrin
235e796fff upgrade serilogs 2019-08-27 09:24:58 -04:00
Kyle Spearrin
25a8640d80 get rid of old smtp mail delivery service 2019-08-27 09:23:03 -04:00
Kyle Spearrin
1db442a5bf update libs 2019-08-27 09:21:08 -04:00
Kyle Spearrin
7957707559 add xbox to eq domains for microsoft 2019-08-13 22:53:17 -04:00
Kyle Spearrin
fa3bb0c081 set customer source and method earlier 2019-08-12 11:15:05 -04:00
Kyle Spearrin
5c3bf78226 handle sub incomplete status 2019-08-12 10:42:14 -04:00
Kyle Spearrin
41f9f6a7f0 only refund captured charges 2019-08-12 10:33:06 -04:00
Kyle Spearrin
157cafa551 PaymentResponseModel for storage and seat adjustments 2019-08-12 10:03:50 -04:00
Kyle Spearrin
74bbeae776 adjust storage with payment intent/method handling 2019-08-10 12:59:32 -04:00
Kyle Spearrin
e60f1a4f50 add missing sub create options 2019-08-10 12:07:24 -04:00
Kyle Spearrin
bc5322f4cf support for payment intent/method on org signup 2019-08-10 11:58:44 -04:00
Kyle Spearrin
00e808d731 payment intent/method support for incomplete status 2019-08-09 23:56:26 -04:00
Kyle Spearrin
efcf626999 update payment method with stripe card payment method 2019-08-09 16:29:23 -04:00
Kyle Spearrin
b11fd2fab8 handle PaymentMethods for PaymentSource billing info 2019-08-09 15:53:01 -04:00
Kyle Spearrin
9686b4bf2b process off session payment methods 2019-08-09 14:06:07 -04:00
Kyle Spearrin
3aea61cb63 remove unused service 2019-08-09 11:09:37 -04:00
Kyle Spearrin
ae386bfee4 remove old service refs 2019-08-08 23:22:46 -04:00
Kyle Spearrin
48ec345702 update stripe SDK 2019-08-08 17:36:41 -04:00
Kyle Spearrin
6d4e34b229 use SettingHasValue for smtp services 2019-08-07 19:39:37 -04:00
Kyle Spearrin
8d09a7ad13 org license are version 5 2019-07-26 21:56:48 -04:00
André Paulo
34eba3c465 Added AskUbuntu.com to StackExchange Domains (#538)
To make sure I wasn't missing any links, compiled a list of all the websites that you can check [here](https://gist.github.com/andre-paulo98/8cca381d09f2078b5eddc4e8516de3b4). [This is the source](https://stackexchange.com/sites?view=list#traffic)
2019-07-25 20:35:18 -04:00
Kyle Spearrin
6a91fd6be9 batch events 2019-07-25 15:50:13 -04:00
Kyle Spearrin
675b22cc9f single event for delete and share bulk operations 2019-07-25 15:39:25 -04:00
Kyle Spearrin
0f0cd3beeb handle bulk cipher events more efficiently 2019-07-25 15:34:14 -04:00
Kyle Spearrin
a23e081397 update some libs 2019-07-23 16:58:40 -04:00
Kyle Spearrin
94188fa0b5 update to net core 2.2 2019-07-23 16:38:49 -04:00
Kyle Spearrin
b21e89f264 hibp api v3 2019-07-22 21:23:09 -04:00
Kyle Spearrin
2c80e337ae Organization_ClientExportedVault event 2019-07-12 17:12:36 -04:00
Kyle Spearrin
b5d2a1da75 load certs from azure storage 2019-07-10 20:05:07 -04:00
Kyle Spearrin
da5c385d4a new client event types, pass date to event funcs 2019-07-09 11:44:09 -04:00
Kyle Spearrin
f7be870bfe up KDF max to 2 million 2019-07-06 23:34:10 -04:00
Kyle Spearrin
db41a1bd13 collect many events 2019-07-03 08:58:18 -04:00
Kyle Spearrin
69731ecb9d Add event types 2019-06-20 08:56:10 -04:00
Kyle Spearrin
6f0d64119a keep application cache in sync with service bus 2019-06-13 00:10:37 -04:00
Kyle Spearrin
2d63732085 normalize billing email 2019-06-12 22:09:32 -04:00
Kyle Spearrin
1c57492028 trim and tolower billing email 2019-06-12 22:08:53 -04:00
Kyle Spearrin
ad7c4b89c4 back to corehelpers 2019-06-11 17:17:23 -04:00
Kyle Spearrin
6ab2f4ff87 org invite exp hours configurable 2019-06-11 16:44:59 -04:00
Julien Brochet
da4918b4aa Fix Flickr equivalent domain with Yahoo (#512) 2019-06-05 08:00:49 -04:00
Kyle Spearrin
621f43c5cd fix token refresh logic 2019-05-30 23:06:02 -04:00
Sandro Jäckel
3feaaf8f01 Replace company.com with example.com (#502) 2019-05-22 20:07:39 -04:00
Kyle Spearrin
92505a2d4f dont remove owners when syncing directory 2019-05-14 13:09:56 -04:00
Kyle Spearrin
889d770cec formatting 2019-05-14 11:16:30 -04:00
Kyle Spearrin
6381634a92 update libs 2019-05-11 20:56:49 -04:00
Kyle Spearrin
0c760cf9e1 overwrite existing users on import 2019-05-06 21:31:36 -04:00
Kyle Spearrin
b4148d3532 fix issues on cipher admin endpoints 2019-05-01 09:38:13 -04:00
Kyle Spearrin
a416f5a912 support X-Real-IP 2019-04-26 11:02:38 -04:00
Kyle Spearrin
43eeebdc21 trim ip 2019-04-26 09:56:22 -04:00
Kyle Spearrin
e6baa1490c UseForwardedHeaders with known proxies 2019-04-26 09:52:54 -04:00
Kyle Spearrin
8b80478a97 otp can be >= 32 <= 48 2019-04-24 17:47:26 -04:00
Kyle Spearrin
271b9fa246 update mailkit 2019-04-16 13:22:54 -04:00
Kyle Spearrin
9ed52da2f5 rearrange file 2019-04-14 22:45:58 -04:00
Kyle Spearrin
5cc0b19da8 start tls mail config 2019-04-10 08:44:58 -04:00
Kyle Spearrin
7d47dac65f DisableEmailNewDevice 2019-04-01 08:28:36 -04:00
Kyle Spearrin
6c86996ab3 disable new device emails env variable. 2019-04-01 08:27:37 -04:00
Kyle Spearrin
0885264800 log error from exceptions on 2fa registration 2019-03-29 08:59:02 -04:00
Kyle Spearrin
54c46f716b Only owner can change the type of another owner.
resolves #467
2019-03-28 12:36:57 -04:00
Kyle Spearrin
5892842139 add account credit 2019-03-21 23:11:53 -04:00
Kyle Spearrin
5bfed59f9c upgrade org api 2019-03-21 21:36:03 -04:00
Kyle Spearrin
7f77d661c3 remove logging from base identity client service 2019-03-20 09:13:25 -04:00
Kyle Spearrin
bfdc4feaba remove debug logging 2019-03-20 08:46:55 -04:00
Kyle Spearrin
4ed309ea13 fix refs passed from multiservice push 2019-03-20 08:38:28 -04:00
Kyle Spearrin
9dedf359e5 updates to logging 2019-03-20 08:26:11 -04:00
Kyle Spearrin
2f3b38a941 more relay logging 2019-03-20 00:41:11 -04:00
Kyle Spearrin
dc0bdfa28b fix logger ref 2019-03-19 23:45:09 -04:00
Kyle Spearrin
685928a4c7 fix bitpay initalization 2019-03-19 23:32:54 -04:00
Kyle Spearrin
e2be61da0a testing: more logs 2019-03-19 22:47:53 -04:00
Kyle Spearrin
54b0db2128 log from BaseIdentityClientService for testing 2019-03-19 21:57:46 -04:00
Kyle Spearrin
6d581c57fe delete with etag 2019-03-19 21:41:24 -04:00
Kyle Spearrin
fd8a8c8b67 make event message processing idempotent 2019-03-19 17:12:55 -04:00
Kyle Spearrin
625ed1a1ee force SecureSocketOptions.none if 25 w/ no ssl 2019-03-19 00:47:07 -04:00
Kyle Spearrin
01a293cf76 record installation devices 2019-03-19 00:39:03 -04:00
Kyle Spearrin
8427c23b5e amazon sqs block ip queuing 2019-03-18 16:23:37 -04:00
Kyle Spearrin
df6d55584f group/member update ids apis 2019-03-13 17:07:48 -04:00
Kyle Spearrin
7e920b955c amazon ses mail delivery service 2019-03-13 16:19:00 -04:00
Kyle Spearrin
8d54442173 ses mail delivery service 2019-03-13 14:07:08 -04:00
Kyle Spearrin
cbd0f15224 back to regular ip string 2019-03-13 09:42:04 -04:00
Kyle Spearrin
14fd7e2801 throttle block messages and base64 encode them 2019-03-11 23:31:45 -04:00
Kyle Spearrin
2bdcff56b6 make new message for unblock 2019-03-10 23:11:28 -04:00
Kyle Spearrin
ec9be8bcfa ignore warning on release too 2019-03-07 22:59:40 -05:00
Kyle Spearrin
75f01a5774 collection externalId 2019-03-07 15:18:27 -05:00
Kyle Spearrin
14ee85eea2 collection update model 2019-03-07 09:34:20 -05:00
Kyle Spearrin
62503068c6 events apis 2019-03-07 09:13:39 -05:00
Kyle Spearrin
80e5258624 new twitter account 2019-03-06 15:08:02 -05:00
Kyle Spearrin
a6b14131ef public collection apis 2019-03-06 09:15:23 -05:00
Kyle Spearrin
de1b00533f org members public api 2019-03-05 23:24:14 -05:00
Kyle Spearrin
00f3c476ae apis for getting user details 2019-03-05 23:22:43 -05:00
Kyle Spearrin
df09b02ecc return collection associations with group response 2019-03-05 10:55:02 -05:00
Kyle Spearrin
42b104bc8f apikey apis for orgs 2019-03-04 09:52:43 -05:00
Kyle Spearrin
15cb0ad4c3 implement useapi and apikey 2019-03-02 15:09:33 -05:00
Kyle Spearrin
92d686ba36 public apis for groups 2019-03-01 17:38:22 -05:00
Kyle Spearrin
201f7d9aa4 current context for organization clients 2019-03-01 17:30:59 -05:00
Kyle Spearrin
8d51700120 modelstate and exception handling for public apis 2019-03-01 17:30:44 -05:00
Kyle Spearrin
e0d7da892e xml documentation for swaggergen 2019-03-01 09:34:07 -05:00
Kyle Spearrin
259d370edd add self host permission 2019-03-01 09:33:23 -05:00
Kyle Spearrin
6e4df8cb0b test group get api for swagger 2019-02-28 20:51:47 -05:00
Kyle Spearrin
0a82f472ef object is always first 2019-02-28 20:49:52 -05:00
Kyle Spearrin
b6696df055 set secret for dev 2019-02-28 00:03:11 -05:00
Kyle Spearrin
57ebe0de1a make sure global settings are set 2019-02-28 00:02:52 -05:00
Kyle Spearrin
aef68d4934 support for stripe sources in billing info 2019-02-27 10:16:46 -05:00
Kyle Spearrin
5923b4c9bd org API clients 2019-02-26 17:01:33 -05:00
Kyle Spearrin
c1c49fb67e show PII in dev mode 2019-02-26 17:01:06 -05:00
Kyle Spearrin
506fe28ee7 make payment method type required 2019-02-26 12:45:34 -05:00
Kyle Spearrin
91bbc3e8f9 display names for enums 2019-02-26 12:37:29 -05:00
Kyle Spearrin
b042fc5543 remove net471. all netcore now! 2019-02-26 11:33:09 -05:00
Kyle Spearrin
d6eeca3138 update identity server libs 2019-02-26 08:22:14 -05:00
Kyle Spearrin
35e986a077 update libs and remove old code/workarounds 2019-02-26 08:15:56 -05:00
Kyle Spearrin
b04b402490 bank is 6 2019-02-25 12:49:45 -05:00
Kyle Spearrin
3b8552b2fa billing info and tx management tools 2019-02-25 12:43:20 -05:00
Kyle Spearrin
b229985256 add new gateway and payment method type 2019-02-25 10:38:56 -05:00
Kyle Spearrin
b5782f7b72 fix paypal edge case 2019-02-23 17:40:46 -05:00
Kyle Spearrin
b4f026a946 add transaction currency to details 2019-02-23 10:21:06 -05:00
Kyle Spearrin
b0c90bc4b3 amounts are positive always 2019-02-23 07:53:47 -05:00
Kyle Spearrin
78fa990b1f fixes for credit add 2019-02-22 22:55:40 -05:00
Kyle Spearrin
c5b2a929d2 added credit email notification 2019-02-22 21:13:34 -05:00
Kyle Spearrin
4c84eeca5b bitpay ipn for processing credits 2019-02-22 08:49:11 -05:00
Kyle Spearrin
4e99ae0dd6 send notification IPNs on bitpay invoice 2019-02-22 08:08:48 -05:00
Kyle Spearrin
fdaa9504d5 bitpay invoice api 2019-02-21 22:43:37 -05:00
Kyle Spearrin
de2ca2ff95 throw No payment method is available. 2019-02-21 17:27:57 -05:00
Kyle Spearrin
9c5fde35f5 filter invoices 2019-02-20 23:58:54 -05:00
Kyle Spearrin
01d324a8b4 support credit purchases and prorated upgrades 2019-02-20 23:54:27 -05:00
Kyle Spearrin
e10c99ec96 credit payment type 2019-02-20 23:50:05 -05:00
Kyle Spearrin
494b3f18b6 process credit from ipn 2019-02-20 16:03:38 -05:00
Kyle Spearrin
a9336a0e02 add support for passing payment method type 2019-02-19 17:13:21 -05:00
Kyle Spearrin
707c0ccb36 remove business country from org signup 2019-02-18 23:37:35 -05:00
Kyle Spearrin
250784d197 remove charge and add balance to billing models 2019-02-18 17:09:56 -05:00
Kyle Spearrin
2397c6d862 comment on Expiration 2019-02-18 16:25:09 -05:00
Kyle Spearrin
ad577bafcc use existing stripe customer for premium signup 2019-02-18 16:08:58 -05:00
Kyle Spearrin
b036657d78 apis for subscription vs billing 2019-02-18 15:40:47 -05:00
Kyle Spearrin
5945c39b32 associated ah-hoc prorate invoice with sub 2019-02-18 08:07:30 -05:00
Kyle Spearrin
3b951ce5cc update some libs 2019-02-14 15:33:51 -05:00
Kyle Spearrin
558cf87e17 < , not <= 2019-02-14 15:26:44 -05:00
Kyle Spearrin
48343a519b ip blocks are 15 mins 2019-02-14 14:16:18 -05:00
Kyle Spearrin
022d5f19f2 remove google plus 2019-02-14 12:12:54 -05:00
Kyle Spearrin
67146cd4be send payment failed emails 2019-02-14 11:49:39 -05:00
Kyle Spearrin
f70ececa9d get rid of premium renewal jobs for braintree 2019-02-14 10:18:27 -05:00
Kyle Spearrin
f2aac6b8a0 continue if disables 2019-02-13 21:03:22 -05:00
Kyle Spearrin
f225b5d46a rename billing classes 2019-02-10 21:23:37 -05:00
Kyle Spearrin
d568b86e1e inject stripepaymentservice 2019-02-08 23:53:09 -05:00
Kyle Spearrin
a97a6216d7 return invoices and transactions on billing api 2019-02-08 23:24:48 -05:00
Kyle Spearrin
22c049c9c5 disable autostats for cipher table 2019-02-03 22:39:53 -05:00
Kyle Spearrin
856e331ef3 custom ids to braintree customers 2019-02-02 23:04:44 -05:00
Kyle Spearrin
0e4e3b22d1 reuse btCustomerId when changing from pp => new pp 2019-02-02 16:42:40 -05:00
Kyle Spearrin
a5044b6e6c rename to PayPal 2019-02-01 22:25:34 -05:00
Kyle Spearrin
44630e9728 handle transactions on paypal webhook 2019-02-01 22:22:08 -05:00
Kyle Spearrin
9882815e4a custom id fields for paypal 2019-02-01 09:18:34 -05:00
Kyle Spearrin
24fbec6c0e fix ambig. transaction refs 2019-01-31 16:55:04 -05:00
Kyle Spearrin
25f3b76e6b added transactions table 2019-01-31 16:45:01 -05:00
Kyle Spearrin
9f876d9bff purchase org with paypal support 2019-01-31 14:25:46 -05:00
Kyle Spearrin
952d624d72 change payment methods between stripe and paypal 2019-01-31 12:11:30 -05:00
Kyle Spearrin
fca1ee4253 CancelAndRecoverChargesAsync for braintree 2019-01-31 09:00:44 -05:00
Kyle Spearrin
87ee144edd preview and pay to invoice prior to sub change 2019-01-31 00:41:13 -05:00
Kyle Spearrin
d236bdd408 rework paypal payment to use customer balance 2019-01-30 16:27:20 -05:00
Kyle Spearrin
abb1751bfe stripe invoice handling. return credit amount. 2019-01-29 17:44:31 -05:00
Kyle Spearrin
a34ca4700d upgrade stripe lib and breaking changes 2019-01-29 14:41:37 -05:00
Kyle Spearrin
e54a381dba setup: process paypal with stripe subscription 2019-01-29 13:12:11 -05:00
Kyle Spearrin
ce35d768cb udo change to core.csproj 2019-01-25 00:14:29 -05:00
Kyle Spearrin
f8f7c339c3 get request up from cloudflare header 2019-01-25 00:01:24 -05:00
Kyle Spearrin
b19628c6f8 new device logged in email notification 2019-01-24 22:37:49 -05:00
Kyle Spearrin
a07f37e093 ssl override, deprecate defaultCreds and authType 2019-01-22 21:28:56 -05:00
Kyle Spearrin
17cc1d6543 deprecate smtpclient for mailkit smtp service 2019-01-22 19:44:03 -05:00
Kyle Spearrin
e7e0d17ac6 security stamp validation for passwordless login 2019-01-17 16:07:24 -05:00
Kyle Spearrin
7f9d979346 hibp breach api proxy 2019-01-17 01:03:11 -05:00
Kyle Spearrin
c3563db4d2 add bitwarden server category 2019-01-16 17:46:30 -05:00
Kyle Spearrin
130197cab6 add sendgrid categories to emails 2019-01-16 17:41:19 -05:00
Kyle Spearrin
acef40ee82 stub out user repo for postgresql 2019-01-15 22:07:13 -05:00
Kyle Spearrin
84800da1fb set up postgresql repository 2019-01-15 21:55:42 -05:00
Kyle Spearrin
8596ba2caa formatting 2019-01-11 09:44:49 -05:00
Kyle Spearrin
d6f1281f69 only log cipher deletes where user can edit 2019-01-11 08:46:55 -05:00
Kyle Spearrin
7116072cfa log events on bulk delete. ref #422 2019-01-10 22:24:08 -05:00
Kyle Spearrin
4ad1634d1d cancel on delete 2018-12-31 14:07:19 -05:00
Kyle Spearrin
6d173385b0 cancel sub completely if past exp date 2018-12-31 13:34:02 -05:00
Kyle Spearrin
3588db947a check duo config with duo's api 2018-12-20 15:39:36 -05:00
Kyle Spearrin
1a856fb2ab duo api class 2018-12-20 15:21:01 -05:00
Kyle Spearrin
73a2fa27ee dont check dots for duo 2018-12-20 15:20:48 -05:00
Kyle Spearrin
951e8f562e email token provider 2018-12-19 22:27:45 -05:00
Kyle Spearrin
4a38713c4b return twofactor enabled property on org users api 2018-12-19 11:48:36 -05:00
Kyle Spearrin
866cfefd80 remove unused using 2018-12-19 10:52:02 -05:00
Kyle Spearrin
ac7c7b5077 move some 2fa logic functions to userService 2018-12-19 10:47:53 -05:00
Kyle Spearrin
b9e7712b34 <= 1 2018-12-03 10:57:34 -05:00
Kyle Spearrin
002b642e50 sometimes delete org on user delete 2018-12-03 10:56:55 -05:00
Kyle Spearrin
0b20f64f2d premium access addon for families plans 2018-11-20 22:02:09 -05:00
Kyle Spearrin
331ee3266a support for sharing new attachments 2018-11-15 12:52:31 -05:00
Kyle Spearrin
7cda459127 support for attachments keys
load existing items and set attachments on key update
2018-11-14 17:19:04 -05:00
Kyle Spearrin
73cc221deb Allow UpdateKeyAsync when user already has key 2018-11-13 11:37:09 -05:00
Kyle Spearrin
a9195942fd we dont need to SetPropertiesAsync on upload 2018-11-09 09:47:25 -05:00
Kyle Spearrin
dc3e083bf0 set filename with ContentDisposition 2018-11-06 21:43:34 -05:00
Kyle Spearrin
16a4f6d932 ContentDisposition=attachment for azure blobs 2018-11-05 08:27:49 -05:00
Kyle Spearrin
d0421ab1df call proper sproc 2018-10-30 10:21:26 -04:00
Kyle Spearrin
0b166a080e limit collection scope option when creating cipher 2018-10-22 14:09:55 -04:00
Kyle Spearrin
3f319aee64 userid set only when creating with collection ids 2018-10-22 10:16:56 -04:00
Kyle Spearrin
c710226223 set cipher id to limit collection scope 2018-10-22 10:15:03 -04:00
Kyle Spearrin
39cc487667 formatting 2018-10-22 09:44:28 -04:00
Kyle Spearrin
84df4235c5 add missing string length checks 2018-10-22 09:40:44 -04:00
Kyle Spearrin
22033d075d increase group name length to 100 2018-10-22 09:34:26 -04:00
Kyle Spearrin
96b492fa07 apis for creating ciphers with org & collections 2018-10-19 12:07:31 -04:00
SoulSeekkor
976869c968 Fixed various typos. (#378) 2018-10-18 11:41:49 -04:00
Kyle Spearrin
45a77c8903 manager group user apis 2018-10-18 08:38:22 -04:00
Kyle Spearrin
33bfd12b7d apis for managing collection users 2018-10-17 22:18:03 -04:00
Kyle Spearrin
7db36e0005 api adjustments for manager role and collections 2018-10-17 14:58:45 -04:00
Kyle Spearrin
01d2306a07 update packages 2018-10-14 22:21:59 -04:00
Kyle Spearrin
455123c0c9 undo CancelAtPeriodEnd on reinstate 2018-10-14 22:10:34 -04:00
Kyle Spearrin
d10d25afea add null check 2018-10-13 16:06:54 -04:00
Kyle Spearrin
65e240c177 increase admin search timeouts 2018-10-11 22:21:59 -04:00
Kyle Spearrin
cce4969094 Log user premium license disabled reason 2018-10-11 15:07:22 -04:00
Kyle Spearrin
3f5a0a8249 Official premium no longer given by org assignment 2018-10-11 14:51:55 -04:00
Kyle Spearrin
7705776d6a self hosted storage is 10tb 2018-10-11 14:50:59 -04:00
Kyle Spearrin
bd7bc569db revert comments 2018-10-10 22:45:12 -04:00
Kyle Spearrin
006cfffab3 new "Challenge" token for U2f 2018-10-10 17:51:38 -04:00
Kyle Spearrin
5a75134cf6 revert back to v1 u2f core 2018-10-10 16:16:26 -04:00
Kyle Spearrin
7c70aff383 dont catch exception for testing 2018-10-10 16:00:53 -04:00
Kyle Spearrin
b5a4bad637 catch u2f exceptions 2018-10-10 15:21:54 -04:00
Kyle Spearrin
cbab6eb9d7 support for readonly sql db connection string 2018-10-09 17:21:12 -04:00
Kyle Spearrin
aba009c221 change event name to updated2fa 2018-10-09 15:59:07 -04:00
Kyle Spearrin
bfa6f68541 delete expired grants job 2018-10-09 10:23:52 -04:00
Kyle Spearrin
5812915677 database maintenance jobs setup in admin 2018-10-09 10:12:27 -04:00
Kyle Spearrin
bfc74060b6 add support for multiple u2f keys 2018-10-08 14:38:11 -04:00
Kyle Spearrin
7176e0ea22 update packages 2018-10-05 14:05:52 -04:00
Kyle Spearrin
38abfa6fe8 Merge branch 'master' of github.com:bitwarden/core 2018-10-02 08:39:46 -04:00
Kyle Spearrin
9b0bd1a632 only set compromised flag if counter is > 0 2018-10-02 08:39:31 -04:00
Yoshito Komatsu
036c03bd19 Remove amazon.co.jp from GlobalEquivalentDomainsType (#368) 2018-09-28 23:43:29 -04:00
Kyle Spearrin
7164f378fc purge org vault 2018-09-25 09:12:50 -04:00
Kyle Spearrin
6c8d7745a5 revert serilog docdb sink 2018-09-17 23:04:14 -04:00
Kyle Spearrin
41a2d0ed48 update azure storage lib 2018-09-17 15:25:54 -04:00
Kyle Spearrin
b3b0bfa221 update libs 2018-09-14 16:20:39 -04:00
Kyle Spearrin
99679f57fc update sendgrid sdk 2018-09-13 16:09:25 -04:00
Kyle Spearrin
ecd569fa0b use var 2018-09-13 14:06:06 -04:00
Kyle Spearrin
8fde736e98 update stripe sdk 2018-09-13 10:28:51 -04:00
Kyle Spearrin
07855a3203 AddIdentityCore for passwordless identity service 2018-09-12 10:35:05 -04:00
Kyle Spearrin
88384836b5 get rid of AddBasicCustomIdentityServices 2018-09-12 00:15:59 -04:00
Kyle Spearrin
ce309c27d4 update to aspnet 2.1.4 2018-09-11 13:29:34 -04:00
Kyle Spearrin
0fda72c6b0 add message id header to smtp mail 2018-09-10 08:45:57 -04:00
Kyle Spearrin
fb45f75bc8 catch gateway exception when canceling on delete 2018-09-07 14:00:56 -04:00
Kyle Spearrin
cb30a519a7 use 100k iterations 2018-09-01 10:42:44 -04:00
Kyle Spearrin
2562d5a40d reference OrganizationMembership instead 2018-08-31 17:05:27 -04:00
Kyle Spearrin
a1f0f04660 check enabled too 2018-08-29 13:51:24 -04:00
Kyle Spearrin
7ce5464e52 self hosted users get 1 TB 2018-08-29 09:45:57 -04:00
Kyle Spearrin
0983a35cf3 storageBytesRemaining by way of users get premium 2018-08-29 09:08:05 -04:00
Kyle Spearrin
db3316dd60 token providers cant inject userservice 2018-08-28 22:21:13 -04:00
Kyle Spearrin
cf73b168ee More CanAccessPremium checks 2018-08-28 17:40:08 -04:00
Kyle Spearrin
c41a1e0936 CanAccessPremium checks instead of User.Premium 2018-08-28 16:23:58 -04:00
Kyle Spearrin
90387cca0c sync org keys notification when removed from org 2018-08-28 08:52:20 -04:00
Kyle Spearrin
f96e3ee01b add push events throughout user service actions 2018-08-28 08:29:54 -04:00
Kyle Spearrin
18713054f6 add logout notification 2018-08-28 08:22:49 -04:00
Kyle Spearrin
3e2b220074 rename all to PBKDF2_SHA256 2018-08-27 19:57:45 -04:00
Kyle Spearrin
76caf1c580 PBKDF2 is SHA256 2018-08-27 19:55:38 -04:00
Kyle Spearrin
5ecd45abd6 rename notifications api endpoint to send 2018-08-24 20:31:17 -04:00
Kyle Spearrin
0816c609db check user access permissions on collections edit 2018-08-23 23:04:44 -04:00
Kyle Spearrin
61d2ba644c allow custom smtp auth type 2018-08-22 23:40:50 -04:00
Kyle Spearrin
d992125b5f add support for azuresignalr services 2018-08-22 16:04:27 -04:00
Kyle Spearrin
94b6f43fc6 send revision date with collection edits 2018-08-21 23:11:57 -04:00
Kyle Spearrin
3a08ebda1f fix notifications endpoint 2018-08-21 14:40:43 -04:00
Kyle Spearrin
255855887b fix double // 2018-08-21 14:32:09 -04:00
Kyle Spearrin
1b489daca1 send collection ids with cipher notification 2018-08-21 09:29:38 -04:00
Kyle Spearrin
ad5b71643a ip ban is for 30 minutes 2018-08-20 16:26:15 -04:00
Kyle Spearrin
b410a78b31 bump iterations to 75k 2018-08-18 22:02:43 -04:00
Kyle Spearrin
5766c1f6f3 enable notifications services 2018-08-17 18:04:11 -04:00
Kyle Spearrin
40a410917f rename hubapi notification service 2018-08-16 13:52:11 -04:00
Kyle Spearrin
1ffa712b75 more notification hub renames 2018-08-16 13:50:41 -04:00
Kyle Spearrin
42d3a2d8e3 hub configurations 2018-08-16 13:35:16 -04:00
Kyle Spearrin
030f85278c add internal api resource 2018-08-16 12:22:20 -04:00
Kyle Spearrin
28e6783a00 hub api notifications 2018-08-16 12:05:01 -04:00
Kyle Spearrin
ff01ce5ca7 internal identity authorization 2018-08-15 18:43:26 -04:00
Kyle Spearrin
25899fd326 adjusted serilog inclusion predicate with bypassid 2018-08-15 10:54:15 -04:00
Kyle Spearrin
6b4605e228 centralize AddIdentityAuthenticationServices 2018-08-15 09:26:19 -04:00
Kyle Spearrin
740453c900 link forgot master password article 2018-08-14 15:30:29 -04:00
Kyle Spearrin
9751b47900 fix email footer spacing 2018-08-14 15:30:17 -04:00
Kyle Spearrin
0932189ccb support for user defined kdf parameters 2018-08-14 15:30:04 -04:00
Kyle Spearrin
670f79a861 abstract quartz jobs sevrice out to core 2018-08-10 11:05:45 -04:00
Kyle Spearrin
10a19c90d3 Move jobs to api hosted service w/ quartz 2018-08-09 16:08:09 -04:00
Kyle Spearrin
05b8c4e489 remove extra closing tags 2018-08-06 22:45:36 -04:00
Kyle Spearrin
1fb26eb90e in the web vault 2018-08-06 21:34:32 -04:00
Kyle Spearrin
3c7ab22d8a Log in now 2018-08-06 21:30:30 -04:00
Kyle Spearrin
67830e12c8 use styled HTML for emails 2018-08-06 16:23:20 -04:00
Kyle Spearrin
f832ad0ed3 html email template formatting updates 2018-08-06 14:04:13 -04:00
Kyle Spearrin
a06502be9a remove markdown and razor mail templates/services 2018-08-06 13:58:28 -04:00
Kyle Spearrin
b2715503c3 update to new 2.0.0 preview for notification hub 2018-08-06 09:04:31 -04:00
Kyle Spearrin
58d29cc4a8 consolidate some deps 2018-08-03 23:57:15 -04:00
Kyle Spearrin
b2e6b49b14 handlebars template emails 2018-08-03 23:04:47 -04:00
Kyle Spearrin
cb902bf670 make ivalidatable 2018-08-02 23:13:17 -04:00
Kyle Spearrin
a4e91aa570 no azure queue service for now 2018-08-02 21:03:04 -04:00
Kyle Spearrin
0cde13e0c6 azure queue notification service 2018-08-02 17:23:37 -04:00
Kyle Spearrin
8b53ab2945 stub out signalr sync hub 2018-08-02 12:14:33 -04:00
Kyle Spearrin
14956f6383 encrypted string length attr 2018-08-02 08:57:32 -04:00
Kyle Spearrin
8393af9afc netcoreapp2.1 for sql dep 2018-08-01 10:47:35 -04:00
Kyle Spearrin
61cda87574 update to .net / asp.net 2.1 2018-08-01 10:07:20 -04:00
Kyle Spearrin
0685023e1d update libs 2018-08-01 07:53:17 -04:00
Kyle Spearrin
8f3c8512cf null or whitespace 2018-07-31 22:10:15 -04:00
Kyle Spearrin
cf6334e37d check to make sure user actually needs key update 2018-07-31 08:19:49 -04:00
Kyle Spearrin
99df132cc7 null checks 2018-07-30 21:36:11 -04:00
Kyle Spearrin
5c31a35cfe store password history and revision dates 2018-07-27 17:49:27 -04:00