mastodon/app/controllers
Paul Woolcock 0c933c1b8c Add `account_id` param to `GET /api/v1/notifications` (#10796)
* Add `from_account` to notifications API

this adds the ability to filter notifications by the account they
originated from

* passing a non-existent user should cause none to be returned

* Fix codeclimate warnings

* fix more codeclimate warnings

* make requested changes:

* use account id instead of user@domain
* name the param `account_id` instead of `from_account`

* Don't use `return` in a lambda
2019-05-21 13:28:49 +02:00
..
activitypub
…
admin
…
api Add `account_id` param to `GET /api/v1/notifications` (#10796) 2019-05-21 13:28:49 +02:00
auth
…
concerns
…
oauth
…
settings
…
well_known
…
about_controller.rb
…
account_follow_controller.rb
…
account_unfollow_controller.rb
…
accounts_controller.rb
…
application_controller.rb
…
authorize_interactions_controller.rb
…
custom_css_controller.rb
…
directories_controller.rb
…
emojis_controller.rb
…
filters_controller.rb
…
follower_accounts_controller.rb
…
following_accounts_controller.rb
…
home_controller.rb
…
intents_controller.rb
…
invites_controller.rb
…
manifests_controller.rb
…
media_controller.rb
…
media_proxy_controller.rb
…
public_timelines_controller.rb Redesign landing page (#10232) 2019-03-12 17:34:00 +01:00
relationships_controller.rb
…
remote_follow_controller.rb
…
remote_interaction_controller.rb
…
remote_unfollows_controller.rb
…
shares_controller.rb
…
statuses_controller.rb
…
stream_entries_controller.rb
…
tags_controller.rb
…