]> cat aescling's git repositories - mastodon.git/commit
API param to exclude notification types from response (#1341)
authorEugen <eugen@zeonfederated.com>
Mon, 10 Apr 2017 21:45:29 +0000 (23:45 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Apr 2017 21:45:29 +0000 (23:45 +0200)
commit2810013b933bceb2a7c1d1b8b10d2714c39d1e15
tree07b24c54c1137b65f813b3033448b17e6a580f9d
parent0687ab8ae3c2573ba2aa1d37f62e3583d0c7ab01
API param to exclude notification types from response (#1341)

* Add exclude_types param to /api/v1/notifications

* Exclude notification types in web UI through exclude_types in the API
Gemfile
Gemfile.lock
app/assets/javascripts/components/actions/notifications.jsx
app/controllers/api/v1/notifications_controller.rb
app/models/notification.rb
spec/controllers/api/v1/notifications_controller_spec.rb