]> source.dussan.org Git - gitea.git/commit
Add team member invite by email (#20307)
authorKN4CK3R <admin@oldschoolhack.me>
Wed, 19 Oct 2022 12:40:28 +0000 (14:40 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Oct 2022 12:40:28 +0000 (14:40 +0200)
commitc3b2e44392e7f6c9a77a46664788c0bb9a6f33cb
tree6fe65807cd30770951ede4396a149ce03fb56b96
parent7d1aed83f4d0cdf096ec8758ff8a85ddccf1328d
Add team member invite by email (#20307)

Allows to add (not registered) team members by email.

related #5353

Invite by mail:

![grafik](https://user-images.githubusercontent.com/1666336/178154779-adcc547f-c0b7-4a2a-a131-4e41a3d9d3ad.png)

Pending invitations:

![grafik](https://user-images.githubusercontent.com/1666336/178154882-9d739bb8-2b04-46c1-a025-c1f4be26af98.png)

Email:

![grafik](https://user-images.githubusercontent.com/1666336/178164716-f2f90893-7ba6-4a5e-a3db-42538a660258.png)

Join form:

![grafik](https://user-images.githubusercontent.com/1666336/178154840-aaab983a-d922-4414-b01a-9b1a19c5cef7.png)

Co-authored-by: Jack Hay <jjphay@gmail.com>
18 files changed:
models/migrations/migrations.go
models/migrations/v228.go [new file with mode: 0644]
models/org_team.go
models/organization/org.go
models/organization/team.go
models/organization/team_invite.go [new file with mode: 0644]
models/organization/team_invite_test.go [new file with mode: 0644]
options/locale/locale_en-US.ini
routers/web/org/teams.go
routers/web/web.go
services/mailer/mail_release.go
services/mailer/mail_team_invite.go [new file with mode: 0644]
templates/mail/team_invite.tmpl [new file with mode: 0644]
templates/org/team/invite.tmpl [new file with mode: 0644]
templates/org/team/members.tmpl
tests/integration/org_team_invite_test.go [new file with mode: 0644]
web_src/js/features/comp/SearchUserBox.js
web_src/less/_organization.less