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

Oranization management #71

Closed
n11ik opened this issue Dec 17, 2024 · 3 comments · Fixed by #73
Closed

Oranization management #71

n11ik opened this issue Dec 17, 2024 · 3 comments · Fixed by #73
Assignees
Labels
enhancement For improvements to existing features. feature For new features to be added. P2 High priority, should be addressed soon.

Comments

@n11ik
Copy link
Contributor

n11ik commented Dec 17, 2024

  • Create Organizations
  • Add users
@n11ik n11ik added enhancement For improvements to existing features. P2 High priority, should be addressed soon. feature For new features to be added. labels Dec 17, 2024
@n11ik n11ik self-assigned this Dec 17, 2024
@n11ik
Copy link
Contributor Author

n11ik commented Dec 18, 2024

TODO
Test if invitation email gets sent on staging
email: add link to registration site

n11ik pushed a commit that referenced this issue Dec 18, 2024
@n11ik
Copy link
Contributor Author

n11ik commented Dec 18, 2024

@silvioheinze ich habe jetzt die funktion implementiert, dass man user einladen kann und eine E-Mail gesendet wird fals noch kein user mit der E-Mail vorhanden ist.

Lokal bekomme ich folgenden fehler wenn ich eine E-Mail vom server schicken will:

<h1>ConnectionRefusedError
       at /campaigns/organizations/2/invite-user</h1>
  <pre class="exception_value">[Errno 111] Connection refused</pre>
  
Request Method: | POST
-- | --
http://localhost/campaigns/organizations/2/invite-user
5.1.2
ConnectionRefusedError
[Errno 111] Connection refused
/usr/local/lib/python3.12/socket.py, line 850, in create_connection
campaign.views.invite_user_to_organization
/usr/local/bin/python
3.12.8
['/usr/src/app',  '/usr/local/lib/python312.zip',  '/usr/local/lib/python3.12',  '/usr/local/lib/python3.12/lib-dynload',  '/usr/local/lib/python3.12/site-packages']
Wed, 18 Dec 2024 13:21:29 +0100

Weißt du ob das Problem nur Lokal auftritt oder ob man da nochwas einstellen muss?
Das .env file sollte bei mir die selben Einstellungen haben wie auf dem production system.

Kann es sein, dass wir da noch unseren Mail-Server eintragen müssen?

.env

EMAIL_HOST=mail.your-server.de

@silvioheinze
Copy link
Contributor

mail.your-server.de ist der E-Mail-Server von Hetzner. Das sollte so passen.

@n11ik n11ik closed this as completed Dec 19, 2024
@n11ik n11ik linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For improvements to existing features. feature For new features to be added. P2 High priority, should be addressed soon.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants