Go to file
Conrad Hoffmann 7dd83975ae api: make sendEmailNotification recipient explicit
Having sendEmailNotification take a full message as argument is very
powerful, but restricting it to only send mail to the currently
logged-in user will in fact not get us very far. Examples of mails that
should be sent (potentially encrypted) that are not triggered by a
logged-in user include the password reset email, billing emails
triggered by metasrht-daily, and possibly more in other services.

This commit extends the API to include the username of the desired
recipient. This will not add much overhead to the callers and more
importantly, still make sure to keep any PGP-related code in meta.sr.ht.
2022-11-09 12:09:42 +01:00
.builds .builds/alpine.yml: upgrade to 3.15 2022-02-21 16:07:10 +01:00
_static Update git.jpg and repo link 2018-11-15 18:53:01 -05:00
api api: make sendEmailNotification recipient explicit 2022-11-09 12:09:42 +01:00
contrib/key-expiration contrib/key-expiration: update to latest go-crypto 2022-09-22 10:58:14 +02:00
metasrht Fix additional issue with admin-initiated deletion 2022-11-08 12:34:17 +01:00
scripts revoke-expired-tokens: fix typo 2019-11-20 14:27:04 -05:00
scss Implement self-service account deletion 2022-11-08 12:24:34 +01:00
.gitignore Revert "api/graph: Enable GraphQL federation" 2022-08-06 21:36:10 +02:00
LICENSE Read oauth aliases from config 2017-04-09 14:03:50 -04:00
Makefile Makefile: update Python version 2022-03-24 12:38:29 +01:00
README.md Add README.md 2019-01-08 18:09:26 -05:00
config.example.ini config.example.ini: Add [sr.ht]global-domain 2022-08-29 11:11:53 +02:00
metasrht-daily Update welcome email, drop nagmail 2020-07-24 12:49:44 -04:00
metasrht-initdb add database stamp for core.sr.ht 2020-08-11 10:46:27 -04:00
metasrht-manageuser metasrht-manageuser: skip username blacklist 2020-11-18 10:27:07 -05:00
metasrht-migrate Migrate to sr.ht-operated alembic 2018-12-31 11:27:38 -05:00
run.py Use new way to run debug/local services 2019-01-13 09:32:36 -05:00
schema.sql Schema: fix more missing cascades 2022-11-03 13:26:23 +01:00
setup.py Drop sshpubkeys dependency 2022-10-19 11:27:27 +02:00
static Move templates and static into module 2017-04-02 10:54:09 -04:00

README.md

This repository contains the code for the sr.ht account management & billing service. For instructions on deploying or contributing to this project, visit the manual here:

https://man.sr.ht/meta.sr.ht/installation.md