Skip to content

Send events#1781

Merged
mrcasals merged 3 commits intofeature/follow-resourcesfrom
send-events
Aug 30, 2017
Merged

Send events#1781
mrcasals merged 3 commits intofeature/follow-resourcesfrom
send-events

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

🎩 What? Why?

This PR builds on top of #1780. Publishes events to the wire, with related data. Events will be processed in later PRs.

📌 Related Issues

@ghost ghost assigned mrcasals Aug 30, 2017
@ghost ghost added the in-progress label Aug 30, 2017
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 30, 2017

Codecov Report

❗ No coverage uploaded for pull request base (feature/follow-resources@fb5ed96). Click here to learn what that means.
The diff coverage is 89.13%.

@@                     Coverage Diff                     @@
##             feature/follow-resources    #1781   +/-   ##
===========================================================
  Coverage                            ?   98.63%           
===========================================================
  Files                               ?     1083           
  Lines                               ?    24441           
  Branches                            ?        0           
===========================================================
  Hits                                ?    24108           
  Misses                              ?      333           
  Partials                            ?        0

@mrcasals mrcasals merged commit c12b925 into feature/follow-resources Aug 30, 2017
@mrcasals mrcasals deleted the send-events branch August 30, 2017 13:49
@ghost ghost removed the in-review label Aug 30, 2017
beagleknight pushed a commit that referenced this pull request Sep 7, 2017
* Publish update/close meeting events

* Separate events from followable resources

* Fix factory
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants