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

source-academy / cadet / 2586
97%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2019 03:30PM UTC
Jobs 1
Files 75
Run time 3min
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

pending completion
2586

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

Jobs
ID Job ID Ran Files Coverage
1 2586.1 (MIX_ENV=test) 25 Jul 2019 03:30PM UTC 0
95.57
Travis Job 2586.1
Source Files on build 2586
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2586
  • 6bad453f on github
  • Prev Build on master (#2583)
  • Next Build on master (#2588)
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