E1831 OSS Project Teal Email Notifications Enhancements
This wiki page is for the description of changes made under E1831 OSS assignment for Fall 2018, CSC 517.
About Expertiza
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the instructor to create new assignments and customize new or existing assignments. It also allows the instructor to create a list of topics the students can sign up for. Students can form teams in Expertiza to work on various projects and assignments. Students can also peer review other students' submissions. Expertiza supports submission across various document types, including the URLs and wiki pages.
What has been done previously
Students and instructors are notified of various events by e-mail, e.g., creation of a new account, submission of a review on their work, or updating of work that they have reviewed. This project is focused on adding new email functionalities.
Problem Statement
- Issue #296: Send out an email to the invitee when a participant sends out an invitation to another participant to join a team. The student who issued the invitation should also be e-mailed when the invitee joins the team. And also, when a student responds to a teammate advertisement, the person who created the advertisement must be notified by email. In general, all activity on ad responses and invitations should be reported to the other party by email (unless these emails are turned off in a (new) profile field).
- Notify an instructor by e-mail when a student suggests a topic.
- Issue #87: Create an option (in the instructor’s profile) to get a copy of emails being sent to students.
Files modified under in this project
Controllers
Views
- _invitation_accepted_html.html.erb
- _invitation_declined_html.html.erb
- _invitation_pending_html.html.erb
- new_suggested_topic.html.erb
- notify_grade_conflict_message.html.erb
- _new_submission_html.html.erb
- _submission_deadline_test_html.html.erb
- _additional_links.html.erb
- add.js.erb
- _prefs.html.erb
Mailers
Models
Database Migrations
Specs
Solutions Implemented
Sending mail to Instructor on creation of a new suggestion
As part of the email that is to be sent to the instructor, an important piece of information is the proposer. When a suggestion is made by a student, they can choose to make the suggestion in anonymous mode. The function set_proposer within suggestions controller determines whether the user has checked anonymous suggestion and then assigns the user_id to the proposer. In case, the student has chosen to make an anonymous suggestion, the proposer variable is set as the string “Anonymous”.