Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add change alerts email console command #992

Closed
jrjohnson opened this issue Aug 30, 2015 · 0 comments · Fixed by #1038
Closed

Add change alerts email console command #992

jrjohnson opened this issue Aug 30, 2015 · 0 comments · Fixed by #1038
Assignees
Milestone

Comments

@jrjohnson
Copy link
Member

The command should follow the ilios2 rules and send change alert emails.

https://github.com/ilios/ilios/blob/2.4.x/web/application/third_party/Ilios/ChangeAlert/NotificationProcess.php

Change alert templates can be overridden so we will need to handle that case with either a DB table for templates or else an override directory where implementers can place a new template file.

@jrjohnson jrjohnson added this to the v3.0.0 milestone Aug 30, 2015
homu added a commit that referenced this issue Oct 6, 2015
change alerts command.

```
vagrant@ilios:/vagrant$ bin/console ilios:messaging:send-change-alerts --help
Usage:
  ilios:messaging:send-change-alerts [options]

Options:
      --dry-run            Print out alerts instead of emailing them. Useful for testing/debugging purposes.
  -h, --help               Display this help message
  -q, --quiet              Do not output any message
  -V, --version            Display this application version
      --ansi               Force ANSI output
      --no-ansi            Disable ANSI output
  -n, --no-interaction     Do not ask any interactive question
  -s, --shell              Launch the shell.
      --process-isolation  Launch commands from shell as a separate process.
  -e, --env=ENV            The Environment name. [default: "dev"]
      --no-debug           Switches off debug mode.
  -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
 Sends out change alert message to configured email recipients.
```

fixes #992.
@homu homu closed this as completed in #1038 Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants