stable

Clone or download

Read-only

Docman notify user groups

This is part of story #9892: notify group of people in addition to individuals Run forgeupgrade, hack your database and insert an entry in the table plugin_docman_notification_ugroups. You need an item_id, a ugroup_id and a type ('plugin_docman'). Then update an item or a sub-item if you're monitoring a folder. Then given ugroup members should receive an email. No changes from the user interface. Change-Id: I1e7175d0ae0803b85ab0b3965bc332dd0b0934de

Modified Files

Name
M plugins/docman/db/install.sql +49 −41 Go to diff View file
A plugins/docman/db/mysql/updates/2017/201703141152_add_table_notification_ugroups.php +51 −0 Go to diff View file
M plugins/docman/db/uninstall.sql +1 −0 Go to diff View file
M plugins/docman/include/Docman_Controller.class.php +8 −1 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager.class.php +4 −1 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager_Delete.class.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_NotificationsManager_Move.class.php +3 −3 Go to diff View file
A plugins/docman/include/Notifications/UgroupsToNotifyDao.php +43 −0 Go to diff View file
M plugins/docman/include/Notifications/UsersRetriever.php +97 −18 Go to diff View file
M plugins/docman/include/autoload.php +3 −2 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +8 −1 Go to diff View file
A plugins/docman/tests/Notifications/UsersRetrieverTest.php +265 −0 Go to diff View file
M plugins/docman/tests/NotificationsManager_MoveTest.php +14 −3 Go to diff View file