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
Showing
- Gemfile 1 addition, 0 deletionsGemfile
- Gemfile.lock 5 additions, 0 deletionsGemfile.lock
- app/assets/javascripts/components/actions/notifications.jsx 7 additions, 5 deletionsapp/assets/javascripts/components/actions/notifications.jsx
- app/controllers/api/v1/notifications_controller.rb 8 additions, 2 deletionsapp/controllers/api/v1/notifications_controller.rb
- app/models/notification.rb 20 additions, 7 deletionsapp/models/notification.rb
- spec/controllers/api/v1/notifications_controller_spec.rb 59 additions, 3 deletionsspec/controllers/api/v1/notifications_controller_spec.rb
... | ... | @@ -68,6 +68,7 @@ end |
group :test do | ||
gem 'faker' | ||
gem 'rails-controller-testing' | ||
gem 'rspec-sidekiq' | ||
gem 'simplecov', require: false | ||
gem 'webmock' | ||
... | ... |
Please register or sign in to comment