stable
Clone or download
Read-only
This add a new route that will be used later by the "Invite" modal. For now it only works with a REST client like the API explorer. Known limitations that will be handled later: * email is pretty basic * no distinction between known/unknown users yet Part of story #16633: invite buddies to my Tuleap Change-Id: I26934b8462ca59bd4a47fcedb09d1d1ea161906e
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/en_US/mail/html_template.php | +13 | −11 | Go to diff View file |
M | site-content/en_US/mail/mail.tab | +4 | −5 | Go to diff View file |
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +25 | −0 | Go to diff View file |
M | site-content/fr_FR/mail/mail.tab | +3 | −4 | Go to diff View file |
A | src/common/InviteBuddy/InvitationEmailNotifier.php | +67 | −0 | Go to diff View file |
A | src/common/InviteBuddy/InvitationSender.php | +76 | −0 | Go to diff View file |
A | src/common/InviteBuddy/InvitationSenderGateKeeper.php | +62 | −0 | Go to diff View file |
A | src/common/InviteBuddy/InvitationSenderGateKeeperException.php | +27 | −0 | Go to diff View file |
M | src/common/InviteBuddy/InviteBuddyConfiguration.php | +9 | −6 | Go to diff View file |
A | src/common/InviteBuddy/REST/v1/InvitationPOSTRepresentation.php | +34 | −0 | Go to diff View file |
A | src/common/InviteBuddy/REST/v1/InvitationPOSTResultRepresentation.php | +42 | −0 | Go to diff View file |
A | src/common/InviteBuddy/REST/v1/InvitationsResource.php | +94 | −0 | Go to diff View file |
A | src/common/InviteBuddy/UnableToSendInvitationsException.php | +27 | −0 | Go to diff View file |
M | src/common/REST/ResourcesInjector.class.php | +2 | −0 | Go to diff View file |
M | src/common/mail/Tuleap_Template_Mail.class.php | +0 | −1 | Go to diff View file |
M | tests/rest/lib/TuleapConfig.php | +10 | −0 | Go to diff View file |
A | tests/rest/tests/InvitationsTest.php | +90 | −0 | Go to diff View file |
A | tests/unit/common/InviteBuddy/InvitationSenderGateKeeperTest.php | +86 | −0 | Go to diff View file |
A | tests/unit/common/InviteBuddy/InvitationSenderTest.php | +152 | −0 | Go to diff View file |
M | tests/unit/common/InviteBuddy/InviteBuddyConfigurationTest.php | +17 | −3 | Go to diff View file |