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

Enable notifications #151

Closed
12 of 15 tasks
syphax-bouazzouni opened this issue Dec 13, 2021 · 1 comment
Closed
12 of 15 tasks

Enable notifications #151

syphax-bouazzouni opened this issue Dec 13, 2021 · 1 comment
Labels
project managment issues used as development tasks in our projects

Comments

@syphax-bouazzouni
Copy link
Contributor

syphax-bouazzouni commented Dec 13, 2021

Current state

Notifications to check if working :

  • receive feedback (done by the UI)
  • error exception (done by the UI) (never used called in the code))
  • endlessloop exception (done by the UI) (never used called in the code)
  • Lost password (done by the ontology_linked_data in ontologies_api/users_controller)
  • new note (done by the ontology_linked_data/note.rb)
  • submission processed (done the ontology_linked_data/ontology_submisssion.rb)
  • remote pull failure (done by the ontology_linked_data)
  • new user created (done by the ontology_linked_data in ontologies_api/users_controller)
  • new ontology created (donne by the ontology_linked_data in ontologies_api/ontologies_controller)

Configuration files (exemple of stageportal) :

  • ui config file : /config/bioportal_config_appliance.rb
# Email settings
ActionMailer::Base.smtp_settings = {
  :address  => "smtp.lirmm.fr", # smtp server address, ex: smtp.example.org
  :port  => 25, # smtp server port
  :domain  => "lirmm.fr", # fqdn of rails server, ex: rails.example.org
}
# Announcements mailman mailing list REQUEST address, EX: list-request@lists.example.org
# NOTE: You must use the REQUEST address for the mailing list. ONLY WORKS WITH MAILMAN LISTS.
$ANNOUNCE_LIST = "sifrportal-support@lirmm.fr"

# Email used to send notifications
# Email addresses used for sending notifications (errors, feedback, support)
$SUPPORT_EMAIL = "sifrportal-support@lirmm.fr"
$ADMIN_EMAIL =  "sifrportal-support@lirmm.fr"
$ERROR_EMAIL = "sifrportal-support@lirmm.fr"
  • api config file : /config/environments/appliance.rb
# Email notifications
config.enable_notifications   = true 
config.email_sender           = "agroportal-support@lirmm.fr" # Default sender$
config.email_override         = "agroportal-support@lirmm.fr" # all email gets$
config.email_disable_override = true
config.smtp_host              = "smtp.lirmm.fr"
config.smtp_port              = 25
config.smtp_auth_type         = :none # :none, :plain, :login, :cram_md5
config.smtp_domain            = "lirmm.fr"
 config.admin_emails           = ["agroportal-support@lirmm.fr"]
  • cron config file : /config/bioportal_config_appliance.rb
# Email settings
ActionMailer::Base.smtp_settings = {
  :address  => "smtp.lirmm.fr", # smtp server address, ex: smtp.example.org
  :port  => 25, # smtp server port
  :domain  => "lirmm.fr", # fqdn of rails server, ex: rails.example.org
}
# Announcements mailman mailing list REQUEST address, EX: list-request@lists.example.org
# NOTE: You must use the REQUEST address for the mailing list. ONLY WORKS WITH MAILMAN LISTS.
$ANNOUNCE_LIST = "sifrportal-support@lirmm.fr"

# Email used to send notifications
# Email addresses used for sending notifications (errors, feedback, support)
$SUPPORT_EMAIL = "sifrportal-support@lirmm.fr"
$ADMIN_EMAIL =  "sifrportal-support@lirmm.fr"
$ERROR_EMAIL = "sifrportal-support@lirmm.fr"

bugs (for next release)

Deployment

Related issues

#141

@syphax-bouazzouni
Copy link
Contributor Author

syphax-bouazzouni commented Dec 17, 2021

contact ncbo team ncbo/bioportal_web_ui#183

@syphax-bouazzouni syphax-bouazzouni added the project managment issues used as development tasks in our projects label Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project managment issues used as development tasks in our projects
Projects
None yet
Development

No branches or pull requests

1 participant