stable

Clone or download

Read-only

Link in mail notifications should be the correct ones

part of story #13424 Be able to share a preview link Functional impact: Notifications are raised: - at document/creation/update/remove when you're montoring a folder and its cubcontent - when you add/remove user to monitoring list How to test: If project explicitly disabled new UI, mail in notifications should redirect all users on legacy UI. If not, all links in notifications redirect users on document UI (regardless of thier individual preferency) Change-Id: Iba863d13483e2c3856d50a6ce6b1953fe3c3a346

Modified Files

Name
M plugins/docman/include/Docman_NotificationsManager.class.php +20 −7 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager_Add.class.php +2 −2 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager_Delete.class.php +3 −3 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager_Move.class.php +5 −5 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager_Subscribers.class.php +3 −5 Go to diff View file
A plugins/docman/include/ExternalLinks/DocmanLinkProvider.php +60 −0 Go to diff View file
A plugins/docman/include/ExternalLinks/ILinkUrlProvider.php +37 −0 Go to diff View file
A plugins/docman/include/ExternalLinks/LegacyLinkProvider.php +63 −0 Go to diff View file
M plugins/docman/include/Notifications/NotificationBuilders.php +19 −5 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +15 −1 Go to diff View file
M plugins/docman/phpunit/Docman_NotificationsManager_AddTest.php +16 −3 Go to diff View file
M plugins/docman/phpunit/Docman_NotificationsManager_DeleteTest.php +21 −3 Go to diff View file
M plugins/docman/phpunit/Docman_NotificationsManager_MoveTest.php +46 −16 Go to diff View file
M plugins/docman/phpunit/NotificationsManagerTest.php +30 −9 Go to diff View file
M plugins/docman/tests/NotificationsManager_DeleteTest.php +11 −4 Go to diff View file
M plugins/docman/tests/NotificationsManager_MoveTest.php +4 −2 Go to diff View file
M plugins/document/include/DocumentUsageRetriever.php +5 −0 Go to diff View file
A plugins/document/include/LinkProvider/DocumentLinkProvider.php +74 −0 Go to diff View file
M plugins/document/include/documentPlugin.class.php +12 −0 Go to diff View file