stable
Clone or download
Read-only
part of story #8822 send mails on svn commits To test it : - on a SVN repository add mail notification rules Notifications rules to test : - only a mail, / and /<folder>/<folder> - multiple mail, / and /<folder>/<folder> - do a commit on another repository, you shouldn't receive mail - do a commit on another repository, the repository must have rules, but you commit doesn't verify rules, you shouldn't receive mail Change-Id: I207ed09fba88510e38370f3dcda96225fcc82da4
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/svn/bin/svn_post_commit.php | +62 | −0 | Go to diff View file |
A | plugins/svn/bin/svn_pre_commit.php | +26 | −0 | Go to diff View file |
R | plugins/svn/include/Svn/Admin/MailNotificationController.class.php | Go to diff View file | ||
M | plugins/svn/include/Svn/Admin/MailNotification.class.php | +7 | −7 | Go to diff View file |
M | plugins/svn/include/Svn/Admin/MailNotificationDao.class.php | +30 | −1 | Go to diff View file |
M | plugins/svn/include/Svn/Admin/MailNotificationManager.class.php | +9 | −0 | Go to diff View file |
A | plugins/svn/include/Svn/Admin/MailReference.class.php | +47 | −0 | Go to diff View file |
A | plugins/svn/include/Svn/Commit/CannotFindSVNCommitInfoException.class.php | +25 | −0 | Go to diff View file |
A | plugins/svn/include/Svn/Commit/CommitInfo.class.php | +109 | −0 | Go to diff View file |
A | plugins/svn/include/Svn/Commit/CommitInfoEnhancer.php | +113 | −0 | Go to diff View file |
A | plugins/svn/include/Svn/Commit/Svnlook.class.php | +52 | −0 | Go to diff View file |
A | plugins/svn/include/Svn/Hooks/PostCommit.class.php | +202 | −0 | Go to diff View file |
M | plugins/svn/include/Svn/Repository/Repository.class.php | +10 | −5 | Go to diff View file |
M | plugins/svn/include/Svn/Repository/RepositoryManager.class.php | +18 | −4 | Go to diff View file |
A | plugins/svn/include/Svn/Repository/RepositoryRegexpBuilder.php | +49 | −0 | Go to diff View file |
M | plugins/svn/include/Svn/SvnRouter.class.php | +16 | −9 | Go to diff View file |
M | plugins/svn/include/autoload.php | +10 | −3 | Go to diff View file |
M | plugins/svn/include/events/SystemEvent_SVN_CREATE_REPOSITORY.class.php | +1 | −1 | Go to diff View file |
M | plugins/svn/include/svnPlugin.class.php | +10 | −14 | Go to diff View file |
M | plugins/svn/site-content/en_US/svn.tab | +1 | −0 | Go to diff View file |
M | plugins/svn/site-content/fr_FR/svn.tab | +1 | −0 | Go to diff View file |
M | plugins/svn/templates/admin/mail_notification.mustache | +1 | −1 | Go to diff View file |
M | plugins/svn/tests/Svn/Repository/RepositoryManagerTest.php | +3 | −3 | Go to diff View file |
A | plugins/svn/tests/Svn/Repository/RepositoryRegexpBuilderTest.php | +45 | −0 | Go to diff View file |
M | src/common/backend/BackendSVN.class.php | +31 | −16 | Go to diff View file |
M | tests/simpletest/common/backend/BackendSVNTest.php | +16 | −2 | Go to diff View file |