Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make backend send account-activiaton and passwort reset mails #509

Open
wellemut opened this issue Jan 22, 2024 · 7 comments · Fixed by #531
Open

Make backend send account-activiaton and passwort reset mails #509

wellemut opened this issue Jan 22, 2024 · 7 comments · Fixed by #531
Assignees
Labels
0 DB Improvementes in Backend (Rust / openfairDB) 10 high-priority 21 backend Issues for openfairdb.org 40 Enduser Issues relevant for the mass of endusers, which dont know anything about us but the plattform 42 Admins Issues needed for Admins and very close partners bug

Comments

@wellemut
Copy link
Member

Problem

it is not possible to register on:

solution

Start the mail service in the backend...

@wellemut wellemut added bug 40 Enduser Issues relevant for the mass of endusers, which dont know anything about us but the plattform 42 Admins Issues needed for Admins and very close partners labels Jan 22, 2024
@wellemut wellemut added this to Beauftragt in HLNUG via automation Jan 22, 2024
@alex0107
Copy link

E-Mail funktioniert wieder

Image

Image

HLNUG automation moved this from Beauftragt to Done Mar 23, 2024
@wellemut
Copy link
Member Author

Super, vielen Dank dir @alex0107

Wurden auch vergangenen Mails nach gesendet?
Oder werden sie nur wenn jetzt verschickt?

@wellemut
Copy link
Member Author

@flosse Wir (bzw. @alex0107 ) hat die Mailsubscription wieder deaktiviert, weil einfach zu viele verschickt wurden.

Dadurch sind aber offenbar auch die Passwort-REset Mails nicht mehr erreichbar.
Wir müssten also beide Services trennen. Könntest du das machen?

@wellemut wellemut reopened this Apr 25, 2024
HLNUG automation moved this from Done to In progress Apr 25, 2024
@flosse
Copy link
Collaborator

flosse commented Apr 25, 2024

Das ist alles Konfigurierbar:

[reminders]
task-interval-time = "2h"
send-max = 100
send-to = ["scouts"]
send-bcc = ["[email protected]"]
token-expire-in = "30d"

@wellemut
Copy link
Member Author

Super, was genau muss @alex0107 einstellen, damit nur Account relevante Mails und keine subscription updates geschickt werden?

@wellemut
Copy link
Member Author

wellemut commented Apr 25, 2024

Wir müssen die Reminders raus kommentieren. mit #

[db]
connection-sqlite = "openfair.db"
connection-pool-size = 10
index-dir = "idx-dir"

[entries]
accepted-licenses = ["CC0-1.0", "ODbL-1.0"]

[webserver]
cors = false
captcha = false

[geocoding]
gateway = "opencage"

[email]
gateway = "email-to-json-file"

## Geocoding Gateways ##

[gateway.opencage]
api-key = "YOUR-API-KEY"

## Email Gateways ##

[gateway.mailgun]
api-key = "YOUR-API-KEY"
domain = "example.com"
sender-address = "[email protected]"

[gateway.sendmail]
sender-address = "[email protected]"

[gateway.email-to-json-file]
dir = "/tmp/openfairdb-email-tests"

## Reminder Emails ##

# [reminders]
# task-interval-time = "2h"
# send-max = 100
# send-to = ["scouts"]
# send-bcc = ["[email protected]"]
# token-expire-in = "30d"

[reminders.scouts]
not-updated-for = "400d"

[reminders.owners]
not-updated-for = "1y"

@wellemut wellemut added the 0 DB Improvementes in Backend (Rust / openfairDB) label May 2, 2024
@wellemut wellemut changed the title Make backend send account-activiaton and passwort rest mails Make backend send account-activiaton and passwort reset mails Jun 6, 2024
@wellemut wellemut added this to New Issues in Subscriptions via automation Jun 6, 2024
@flosse flosse self-assigned this Jun 7, 2024
@wellemut wellemut linked a pull request Jun 8, 2024 that will close this issue
@wellemut wellemut added the 21 backend Issues for openfairdb.org label Jun 13, 2024
@wellemut
Copy link
Member Author

Since version 10 https://github.com/kartevonmorgen/openfairdb/blob/v0.12.10/CHANGELOG.md#v01210-2024-06-07
Mails are confirgurable

  1. Account / Registration Mails are allways acitve
  2. Subscriptions about changes can be deactivated (default deactivated)
  3. Request for update mails can be deactivated (possible since allways) (default deactivated)

Default config: https://github.com/kartevonmorgen/openfairdb/blob/main/src/config/openfairdb.default.toml

@alex0107 wenn du jetzt den Mailserver wieder startest, sollte es also klappen.

Sollten wir Subcriptoin und Mails aktivieren wollen müssten wir uns daran orientieren:

[subscriptions]
notify-on = [
"place-added",
"place-updated",
"event-added",
"event-updated",
]

To activate notifactions/subscriptions:

send-to = ["scouts, owners"]

[reminders.owners]
not-updated-for = "2y"

[reminders.scouts]
not-updated-for = "800d"

token-expire-in = "90d"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 DB Improvementes in Backend (Rust / openfairDB) 10 high-priority 21 backend Issues for openfairdb.org 40 Enduser Issues relevant for the mass of endusers, which dont know anything about us but the plattform 42 Admins Issues needed for Admins and very close partners bug
Projects
Status: 🔖 Ready
HLNUG
In progress
Status: Backlog
Status: New Issues
Subscriptions
  
New Issues
Development

Successfully merging a pull request may close this issue.

3 participants