-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Allow Organisations to have a E-Mail #25082
Conversation
Test failure related:
|
@JakobDev I opened a PR to your branch: JakobDev#1 I fixed the failing test and also adjusted some styling to align icons properly. I think then the PR should be ready. |
I looks like something gone wrong with your PR |
@JakobDev I resolved the conflict |
Merge main into orgmail; fix test; adjust style
I merged it now. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use "Contact Email" and go on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I see that correctly, we don't need a migration.
LGTM as long as that is true.
The Organisation model is based on the User model, so it already has a EMail field. No Migration needed. |
* giteaofficial/main: (21 commits) Only show newly pushed branches message in the same repository (go-gitea#26148) Docusaurus-ify (go-gitea#26051) Display deprecated warning in admin panel pages as well as in the log file (go-gitea#26094) Remove "misc" scope check from public API endpoints (go-gitea#26134) Fix LFS object list style (go-gitea#26133) Drop the correct deleted branch table (go-gitea#26028) Fix CLI allowing creation of access tokens with existing name (go-gitea#26071) Fix incorrect router logger (go-gitea#26137) Increase table cell horizontal padding (go-gitea#26140) Update xorm version (go-gitea#26128) Fix UI for release tag page / wiki page / subscription page (go-gitea#25948) added ssh mirror workaround description (go-gitea#26096) Improve "gitea doctor" sub-command and fix "help" commands (go-gitea#26072) Fix wrong commit status in web ui (go-gitea#26121) remove IsWarning in tmpl (go-gitea#26120) Fix minor capitalization error in string (go-gitea#26100) Improve commit graph alignment and truncating (go-gitea#26112) Fix wrong workflow status when rerun a job in an already finished workflow (go-gitea#26119) Allow Organisations to have a E-Mail (go-gitea#25082) doc sync authentication.md to zh-cn (go-gitea#26117) ...
Resolves #25057
This adds a E-Mail field to Organisations. The E-Mail is just shown on the Profile when it is visited by a logged in User. The E-mail is not used for something else.
Screenshots: