Start9Labs / synapse-startos

Apache License 2.0
3 stars 5 forks source link

restructure email settings #1

Closed MattDHill closed 3 years ago

MattDHill commented 3 years ago

This code is NOT tested.

Does a few of things:

Manifest

  1. sets min version to 0.2.12, but we will probably want this to be 0.2.13, allowing Matrix to act as a carrot for upgrading. This assumes we can get 0.2.13 out in the next few days, otherwise we can leave at 0.2.12.
  2. references correct release notes
  3. adds license info

Config Spec

  1. removes "advanced" and replaces it with "email-notifications"
  2. removes options for app_name and enable_notifs.
  3. introduces from-name.
  4. introduces email regex for from-address. Not sure if this is formatted properly.

Configurator

  1. sets enable_notifs to True if email-notifications are enabled.
  2. set notif_from to the concatenation of from-name and from-address