Skip to content

Commit

Permalink
📝 Add documentation changelog, add configuration email
Browse files Browse the repository at this point in the history
  • Loading branch information
LePetitTim committed Jul 25, 2023
1 parent 9e19089 commit 229aca9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ CHANGELOG
* Add contributions type / category filters
* Add contributions manager
* Add contribution status

* Send mail to managers when contribution is created
* Send mail to contributor when contribution is created

1.1.0 (2023-13-06)
-------------------------
Expand Down
30 changes: 29 additions & 1 deletion docs/usage/configuration.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
=============
Configuration
=============

Expand Down Expand Up @@ -63,4 +64,31 @@ To customize lists for each module, go to django administration page.
* Cities
* Districts
* Restricted area types
* Restricted areas
* Restricted areas


Email settings
--------------

Georiviere-admin will send emails:

* to administrators when internal errors occur
* to managers when a contribution is created
* to contributors when a contribution is created

Email configuration takes place in ``var/conf/custom.py``, where you control
recipients emails (``ADMINS``, ``MANAGERS``) and email server configuration.

You can test your configuration with the following command. A fake email will
be sent to the managers:

::

docker-compose run --rm web ./manage.py sendtestemail --managers

If you don't want to send an email to contributors when they create a contribution on portal website,
change this setting in ``var/conf/custom.py``:

::

SEND_REPORT_ACK = False

0 comments on commit 229aca9

Please sign in to comment.