Skip to content

Allow showing user e-mail address.#388

Open
baikiet wants to merge 1 commit intolinuxfrorg:masterfrom
baikiet:showemail
Open

Allow showing user e-mail address.#388
baikiet wants to merge 1 commit intolinuxfrorg:masterfrom
baikiet:showemail

Conversation

@baikiet
Copy link

@baikiet baikiet commented Mar 11, 2024

As per https://linuxfr.org/suivi/permettre-aux-utilisateurs-de-publier-leur-adresse-de-courriel

This adds an account preference field "show_email" that is controlled by the user. When it is enabled, the user's e-mail is displayed along their username in a similar way than their website, XMPP address and Mastodon identifier.

Test plan:

As per https://linuxfr.org/suivi/permettre-aux-utilisateurs-de-publier-leur-adresse-de-courriel

This adds an account preference field "show_email" that is controlled
by the user. When it is enabled, the user's e-mail is displayed along
their username in a similar way than their website, XMPP address and
Mastodon identifier.

Test plan:
* have a user with karma >0 and at least one post
* go to http://dlfp.lo/compte/modifier
* tick "Rendre mon adresse de courriel visible publiquement" and save
* check the e-mail is shown along the post
* go to http://dlfp.lo/statistiques/users#stats_fonctionnalites
* check "Publication de l'adresse de courriel" has at least one user
@Oumph
Copy link
Member

Oumph commented Feb 5, 2026

Extra fixes
- deactivate email publication when deactivating account
- fix for email_link (won't work at all without it)
- vocabulary: display more than publish
- update documentation
- also needs to modify database minimize script (outside this repo)

6e2e092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants