Skip to content

03 ‐ Notifications

LRVT edited this page Jul 24, 2024 · 13 revisions

VoucherVault makes use of Apprise push notifications.

You can find a list of supported notification channels here.

Enable Notifications

Browse the VoucherVault web application and login.

Now use the top right user profile section to access the Notification Settings.

Here you can configure one or multiple (comma-separated) Apprise URLs.

You can use the Test button to test your defined Apprise URLs. If everything works as expected, hit the Update button.

Warning

The Apprise URLs are not displayed again afterwards to protect secrets.

You can click the Test button again to ensure notification are still working though.

Disable Notifications

Browse the VoucherVault web application and login.

Now use the top right user profile section to access the Notification Settings.

Remove all previously configured Apprise URLs by clearing the input form.

Then hit the button Update. Notifications are disabled now.

Adjust Expiry Check Interval

The interval, how often items are checked against a potential expiry, is pre-defined (every Monday at 9AM) in the Django admin area.

Here, we are utilizing Django-Celery-Beat + a Redis instance for periodic task execution.

If you want to adjust the crontab interval, please head over to the admin area at Periodic Tasks > Periodic Expiry Check > Crontab Schedule > Edit and adjust to your liking. You must authenticate as superuser (default admin user).

Adjust Expiry Threshold

An item will trigger an expiry notification if the expiry date is within the number of days defined by the environment variable EXPIRY_THRESHOLD_DAYS.

By default, this threshold is set to 30 days.

You can adjust the threshold by modifying the Docker container's environment variable EXPIRY_THRESHOLD_DAYS. Typically, by adjusting the docker-compose.yml file and restarting the container.

Clone this wiki locally