• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / cadet / 2586 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2019 03:30PM UTC
Files 75
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jul 2019 03:28PM UTC coverage: 95.569% (-0.02%) from 95.588%
MIX_ENV=test

push

travis-ci

web-flow
Add notifications (#407)

* Added basic model for notifications

* Change from :submissions to :assessments

* Added MVC for notifications

* FIxed spelling

* Added submission_id and role to Notification

* Added factory for Notification

* Refactored notification

* Alter role to be virtual

* Implemented fetch for notifications, tried to work on write and acknowledge as well

* Did mix format

* Reworked acknowledge function in notification.ex

* Updated functions to work properly

* Applied credo suggestion

* Edited description

* Refactored write function

* Implemented unsubmit feature

* Added tests for notification functions

* Added tests to notification controller

* Added spec for handle_unsubmit

* Updated tests for unsubmit feature

* Integrated notification with unsubmit feature

* Added functions for autograding and grading notifications

* Refactored write_notification_when_autograded and write_notification_when_manually_graded in Cadet.Accounts.Notification. Also started work ona function for new assessments.

* Added function call to send notifications for new assessments in assessments.ex. This function was changed to use Ecto.Multi. Also, added functionality to send notifications to a grader when one of the students under that grader have submitted something.

* Refactored notifications

* Added :submitted notification for submissions that are due

* Further guard :submitted notification

* Ensure tests pass

* Added tests for new functions

* Applied credo suggestion

* Isolated functions into new module

* Remove unused deadline type

* Added tests

* Notification renders submission id

* Minor refactor

* Minor change to Cadet.Accounts.Notifications.write_notification_when_student_submits to record the assessment_id within the notification schema

* Modified Cadet.Accounts.Notifications.fetch/1 to preload assessments

* Fixed tests for notifications for n... (continued)

949 of 993 relevant lines covered (95.57%)

156.57 hits per line

Source Files on job 2586.1 (MIX_ENV=test)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 4
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2310
  • Travis Job 2586.1
  • 6bad453f on github
  • Prev Job for MIX_ENV=test on master (#2583.1)
  • Next Job for MIX_ENV=test on master (#2588.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc