d11n
d5d0be5824
Code formatting updates ( #4502 )
...
* Editorconfig: Add space_before_self_closing setting
This was a difference between the way dotnet-format and Rider format code. See https://www.jetbrains.com/help/rider/EditorConfig_Index.html
* Editorconfig: Keep 4 spaces indentation for Swagger JSON files
They are all formatted that way, let's keep it like that.
* Apply dotnet-format, mostly white-space related changes
2023-01-06 22:18:07 +09:00
Nicolas Dorier
e4866a8265
Can disable cert check for email server ( #3908 )
2022-06-29 23:38:44 +09:00
nicolas.dorier
4a71b952b6
Revert "Fix: If SMTP port is 25, SSL shouldn't be used"
...
This reverts commit 9423bc4ea7
.
2022-06-29 15:12:30 +09:00
nicolas.dorier
9423bc4ea7
Fix: If SMTP port is 25, SSL shouldn't be used
2022-06-27 10:54:02 +09:00
Nicolas Dorier
c89f7aaaed
Improve email settings validation and UX ( #3891 )
2022-06-23 13:41:52 +09:00
Andrew Camilleri
c2d72e71aa
Store Emails ( #3611 )
...
* Store Emails
* fix test
* Update email rules layout
* Cleanups
* Test cleanups
* Add back comments
* Update view; add test
* Show email rules link even if email settings aren't completed
* Validate email addresses
* No redirect, display warning
* Fix test
* Refactoring: Change email argument types to MailAddress
* Test fix
* Refactoring: Use MailboxAddress
* Parse emails properly in controllers and backend
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2022-06-22 12:05:32 +09:00
Nicolas Dorier
891809a13a
Merge pull request #3772 from NicolasDorier/experimental
...
Add experimental mode
2022-05-24 19:05:38 +09:00
nicolas.dorier
67eeb4b69a
Allow resolution of any settings via DI
2022-05-24 14:10:19 +09:00
Umar Bolatov
d768314f03
Make login and password not required for sending email ( #3764 )
...
* Make login and password not required for sending email
close #3656
* Add space
* Remove unused "using" statements
2022-05-23 19:00:34 +09:00
Kukks
dca986eb2e
Add Greenfield Store Email API
2022-03-26 21:46:40 +00:00
nicolas.dorier
50d4b55f73
Warning if not using 'simple using'
2022-01-14 17:50:29 +09:00
Nicolas Dorier
04b8eafacb
Run dotnet format ( #3244 )
2021-12-31 16:59:02 +09:00
nicolas.dorier
db1a124ffb
Do not check certificates for SMTP settings if local server
2021-12-29 18:24:24 +09:00
Nicolas Dorier
ed5b159fb6
Use ArgumentNullException.ThrowIfNull everywhere ( #3239 )
2021-12-28 17:39:54 +09:00
Nicolas Dorier
ac099aa513
Change implementation of the Smtp server ( #3202 )
...
* Change implementation of the Smtp server
* Update BTCPayServer/Services/Mails/EmailSettings.cs
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2021-12-15 21:30:46 +09:00
nicolas.dorier
35aad4ebf9
Remove Logs static singletons
2021-11-23 13:55:34 +09:00
Andrew Camilleri
14e4d2d675
Make CSSThemeManager really only focus on theme ( #2457 )
...
* Make Settings Repository cache in memory
* Make use of SettingsRepo directly instead of CssThemeManager
* Completely remove CssThemeManager
2021-07-27 21:08:54 +09:00
Kukks
dfd7c6d4a6
add tests and reword setting
2020-12-08 08:12:29 +01:00
Kukks
c17b8e4d9e
Introduce Spam protection
...
fixes #1958
Adds 2 new options:
* Do not allow stores to use the email settings of the server. Instead, they would need to fill in the email settings in their own store
* Do not allow user creation through the API unless you are an admin.
Both are opt-in and turned off by default.
2020-12-04 08:08:05 +01:00
nicolas.dorier
60cadb8b6d
Do not show password in clear text in email configuration ( Fix #1790 )
2020-10-05 17:57:50 +09:00
rockstardev
f88c02cccd
Removing unused usings, readonly fields where possible
2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de
Cleaning up bom from cs files
2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format
2020-06-28 17:55:27 +09:00
Kukks
e99767c7e2
Greenfield API: Create User
...
Slightly big PR because I started refactoring to reduce code duplication between the UI based business logic and the api one.
2020-03-17 08:21:27 +01:00
nicolas.dorier
d3408b91be
bump libraries
2020-01-12 15:32:26 +09:00
nicolas.dorier
f257f9f91d
[Refactor] Move SQL classes in their own assembly
2019-08-30 18:22:13 +09:00
Wouter Samaey
ff533994d8
UI improvements to SMTP settings + Quick fill function for Gmail and Hotmail
2019-08-07 21:31:08 +02:00
Wouter Samaey
c37086e000
Change type of SMTP password field to plain text, preventing autofill once and for all
2019-08-04 17:17:55 +02:00
nicolas.dorier
010ba4d5b6
Can specify display name for sender in email settings (Fix https://github.com/btcpayserver/btcpayserver/issues/910 )
2019-07-14 22:45:14 +09:00
Andrew Camilleri
e8abc1137b
remove duplicate view code for email and fix password bug ( #788 )
...
closes #786
2019-05-01 12:17:25 +09:00
nicolas.dorier
c767a49f2d
Increase notitifcation timeout to 1 minute, make sure that BackgroundJobScheduler is correctly cancelling tasks
2019-04-05 14:58:25 +09:00
sachili
0364a57cae
Added a space between Enable and SSL.
2019-03-03 17:39:22 -06:00
Kukks
cfb4b080d3
Emails on store level
2019-01-22 21:38:39 +09:00
nicolas.dorier
d85f03ba20
Remove HangFire dependency
2019-01-16 19:15:09 +09:00
nicolas.dorier
ead67887ab
Enable SSL was ignored
2018-05-23 00:59:50 +09:00
nicolas.dorier
efdc99b9d1
Do not spam the logs about failed mail
2018-05-05 01:42:42 +09:00
nicolas.dorier
e2533a93e3
Fix set email screen
2018-05-04 15:54:12 +09:00
nicolas.dorier
88779e7129
Make sure websockets does not throw, fix annying warning of emails
2018-01-12 18:32:46 +09:00
nicolas.dorier
4deb7c3270
Adopt dotnet core editorconfig, big reformating
2017-10-27 17:53:04 +09:00
NicolasDorier
878a13f1bf
Can ask user to confirm email
2017-09-27 14:18:09 +09:00
NicolasDorier
f8baab8138
Renaming + fix invoice display when paid and expired
2017-09-15 16:06:57 +09:00