stable

Clone or download

Read-only

Allow to send emails in background

This is done according to configuration (to allow progressive deployment) and need to have a configured RabbitMQ instance. In dev: Add into your .env: RABBITMQ_DEFAULT_USER=tuleap RABBITMQ_DEFAULT_PASS=SomePassword $> docker-compose up -d rabbitmq + copy and adapt /usr/share/tuleap/src/etc/rabbitmq.inc.dist into /etc/tuleap/conf/rabbitmq.inc Then you can configure in local.inc.dist the value of $sys_async_emails to 'all' (or just a couple of project ids) and launch the worker: codendiadm@tuleap-web# /usr/share/tuleap/plugins/tracker/bin/notify.php Part of request #10915: Tracker notifications should be send asynchronously Change-Id: I8b2d3a1d2e594433b32487937b10858f378d39d2

Modified Files

Name
M Makefile +2 −0 Go to diff View file
M docker-compose-distlp.yml +0 −10 Go to diff View file
M docker-compose.yml +8 −0 Go to diff View file
A plugins/tracker/bin/notify.php +26 −0 Go to diff View file
M plugins/tracker/etc/logrotate.syslog.dist +8 −1 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/Notification/AsynchronousNotifier.php +225 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/Notification/Notifier.php +49 −2 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M src/common/System/DaemonLocker.php +6 −0 Go to diff View file
M src/etc/local.inc.dist +13 −1 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +6 −0 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +6 −0 Go to diff View file