CSC/ECE 517 Fall 2019 - E1961. Email notification to reviewers and instructors: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 28: Line 28:
Call the email function to make the Experiza send the email to reviewee when reviewers submit the review
Call the email function to make the Experiza send the email to reviewee when reviewers submit the review
<pre>
<pre>
app/controllers/response_controller.rb:
   def send_email_to_reviewee(map)
   def send_email_to_reviewee(map)
     defn = {body: {type: "Peer Review", partial_name: "new_submission"} }
     defn = {body: {type: "Peer Review", partial_name: "new_submission"} }
Line 33: Line 35:
   end
   end
</pre>
</pre>


====Issue2====
====Issue2====

Revision as of 04:30, 23 October 2019

E1961 Email notification to reviewers and instructors


Brief Introduction

E1961 Project aims to fix the problems of making the email notification function more reliable.

The forked git repository for this project can be found [1]


Problem Statement

The following tasks were accomplished in this project:

  • Issue1: Fix the problem that the author(reviewee) cannot recceive the email notification about the review from someone else. The Expertiza is supposed to email authors each time a review of their work is submitted.
  • Issue2: Fix the bugs to make Expertiza emails reviewers each time an author that they have reviewed submits new work.
  • Issue3: The instructor could get a Blind carbon copy every time.
  • Issue4: The users can turn off those email notifications by unchecking boxes on their profile page.


Issue1

Call the email function to make the Experiza send the email to reviewee when reviewers submit the review

app/controllers/response_controller.rb:

  def send_email_to_reviewee(map)
    defn = {body: {type: "Peer Review", partial_name: "new_submission"} }
    map.email(defn, Assignment.find(Participant.find(map.reviewer_id).parent_id))
  end

Issue2

Issue3

Issue4

Process Video

Test

Team Information

  1. Siwei Wen (swen4@ncsu.edu)
  2. Shuzheng Wang (swang41@ncsu.edu)
  3. Zhifeng Zhu (zzhu25@ncsu.edu)
  4. Mentor: Ed Gehringer (efg@ncsu.edu)

References

  1. Expertiza on GitHub
  2. The live Expertiza website
  3. Expertiza project documentation wiki
  4. GitHub Project Repository Fork
  5. Demo link
  6. Rspec Documentation