Create notifications#1785
Merged
mrcasals merged 5 commits intofeature/follow-resourcesfrom Aug 31, 2017
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## feature/follow-resources #1785 +/- ##
============================================================
+ Coverage 98.63% 98.65% +0.01%
============================================================
Files 1083 1098 +15
Lines 24441 24617 +176
============================================================
+ Hits 24108 24285 +177
+ Misses 333 332 -1 |
Merged
beagleknight
pushed a commit
that referenced
this pull request
Sep 7, 2017
* Create a notification for each follower when event is triggered * Make events dcide who will receive the notification * Add basic NotificationEvent module * Only create notifications if event_class supports them * Add event classes
oriolgual
pushed a commit
that referenced
this pull request
Sep 7, 2017
* Add Follow & Notification models (#1780) * Add Follow entity * Add Notification entity * Add Followable concern * Send events (#1781) * Publish update/close meeting events * Separate events from followable resources * Fix factory * Create notifications (#1785) * Create a notification for each follower when event is triggered * Make events dcide who will receive the notification * Add basic NotificationEvent module * Only create notifications if event_class supports them * Add event classes * Send email on event (#1786) * Make meeting events support emails * Send emails from events * Add default values for event emails * Fix specs * Fix rubocop issues * Customize email texts per event * Add notification dashboard (#1788) * Add basic NotificationDashboard * Rename notification fields * Find participatory space manifest for processes and assemblies * Add read_at field to notifications * Notification titles i18n * Simplify notifications layout Remove unused pagination and filters * Mark notifications as read from UI * Add notifications link to user menu * Destroy notifications on read * Fix rubocop complaints * Paginate notifications * Mark all notifications as read * Improve JS code * Add tests for notification dashboard * Fix ivar name * Add follow button to UI (#1795) * Fix rubocop complains
This was referenced Sep 15, 2017
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
This PR generates notifications in the system every time an event is fired, and that event supports notifications.
📌 Related Issues