tubackkhoa / gbif-dataportal

Automatically exported from code.google.com/p/gbif-dataportal
0 stars 1 forks source link

Review/fix handling of user feedback sent through mirror sites #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When a data portal user submits a feedback message through one of the mirror
sites (e.g. http://de.mirror.gbif.org/datasets/resource/1682/), the message
appears not to be sent out. Fixing this requires
- enable mirror sites to send out email
- ensure that feedback messages stored in a mirror database
(gbif_log_message) are collated in the main database at rollover time

Original issue reported on code.google.com by josecua...@gmail.com on 31 Jul 2009 at 8:21

GoogleCodeExporter commented 8 years ago

Original comment by josecua...@gmail.com on 31 Jul 2009 at 8:26

GoogleCodeExporter commented 8 years ago
Email has been sent to mirror sites to see what are their possibilities to 
provide themselves a SMTP server to 
which the portal web app can communicate to.

Most recommended approach right now:
Take out the SMTP server configuration to the portal.properties file and let 
them configure it the way they need 
it.

Original comment by josecua...@gmail.com on 14 Aug 2009 at 9:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Now mirrors can configure their own STMP server in the portal.properties file:

....

# Database credentials for the database that is used for writing the log 
entries 
logDataSource.username=root
logDataSource.password=
logDataSource.url=jdbc:mysql://localhost:3306/portal?
autoReconnect=true&useUnicode=true&characterEncoding=UTF8&characterSetResults=UT
F8

# You can configure your mirror's SMTP server here
# (if no user/passwd is needed, you can leave those fields blank)
mailSender.host=smtp.gbif.org
mailSender.username=
mailSender.password=
mailSender.port=25

Original comment by josecua...@gmail.com on 22 Sep 2009 at 2:58

GoogleCodeExporter commented 8 years ago
Still to be done in the future:

- ensure that feedback messages stored in a mirror database
(gbif_log_message) are collated in the main database at rollover time

Original comment by josecua...@gmail.com on 25 Sep 2009 at 10:04