Some people are saying "fuck smtp, let's go full Nostr".
As discussed with @coyotte508 , the whole stuff can be a bit complicated (especially on admin & employee side, some being smtp-only for now).
In order to split the need, we'll first display a new option in /admin/config :
If enabled, hide email field on forms and just leave nostr field.
/identity
Before :
After when checked :
/checkout
Before :
After when checked :
tag widget
[ ] ⚠️ if session has a filled email (from before the email disabling, or from SSO/SAML session), don't prefill the "from" field with it when "Prefill with session information" is checked for this form
[ ] ⚠️ on /admin/form (new and existing), refuse email on "Target" field
[ ] ⚠️ on integrated form widget, refuse email on "From" field
notifications (can be on a 2nd time)
[ ] ⚠️ If I order with an account owning an email (from information filled previously before the option check in /admin/config, or from SSO/SAML) in addition to my filled npub, only send message through nostr, don't try to send email
[ ] ⚠️ For any employee notification through email, if the option is checked, don't trigger the smtp send :
[ ] for an employee notification, if a npub is filled for this employee on /admin/ARM, use nostr notification instead, otherwise don't send message
[ ] on /admin/config, option "Copy order emails to contact@pvh-labs.com (set in
identity section)" should be ignored and notifications should be send through nostr to superadmin npub if filled
Summary
Some people are saying "fuck smtp, let's go full Nostr". As discussed with @coyotte508 , the whole stuff can be a bit complicated (especially on admin & employee side, some being smtp-only for now). In order to split the need, we'll first display a new option in /admin/config : If enabled, hide email field on forms and just leave nostr field.
/identity
Before : After when checked :
/checkout
Before : After when checked :
tag widget
notifications (can be on a 2nd time)