1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-18 16:48:22 +09:00
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 Cache featured collections, as well as outbox, followers and following (#10467) 2019-04-04 01:30:44 +02:00
admin Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
api Add account_id param to GET /api/v1/notifications (#10796) 2019-05-21 13:28:49 +02:00
auth Check that an invite link is valid before bypassing approval mode (#10657) 2019-05-02 04:30:12 +02:00
concerns Mark the 410 gone response for suspended accounts as cachable (#10339) 2019-03-21 23:33:18 +01:00
oauth Fix authorized applications list page design (#9969) 2019-02-04 22:25:42 +01:00
settings Fix not being able to save e-mail preference for new pending accounts (#10622) 2019-04-25 02:49:06 +02:00
well_known Add Keybase integration (#10297) 2019-03-18 21:00:55 +01:00
about_controller.rb Add "why do you want to join" field to invite requests (#10524) 2019-04-09 23:06:30 +09:00
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
accounts_controller.rb Reduce server load caused by anonymous viewing. (#9059) 2019-03-17 15:39:25 +01:00
application_controller.rb Reduce server load caused by anonymous viewing. (#9059) 2019-03-17 15:39:25 +01:00
authorize_interactions_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
custom_css_controller.rb Add admin custom CSS setting (#8399) 2018-08-24 04:33:27 +02:00
directories_controller.rb Change icons of features on admin dashboard to remove bias (#10366) 2019-03-26 01:24:19 +01:00
emojis_controller.rb Unuse ActiveRecord::Base#cache_key (#8185) 2018-08-19 15:52:38 +02:00
filters_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
follower_accounts_controller.rb Cache featured collections, as well as outbox, followers and following (#10467) 2019-04-04 01:30:44 +02:00
following_accounts_controller.rb Cache featured collections, as well as outbox, followers and following (#10467) 2019-04-04 01:30:44 +02:00
home_controller.rb Record account suspend/silence time and keep track of domain blocks (#10660) 2019-05-14 19:05:02 +02:00
intents_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
invites_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
manifests_controller.rb Make Chrome splash screen same color as web UI's background color (#5169) 2017-10-02 01:23:32 +02:00
media_controller.rb fix CSP / X-Frame-Options for media embeds (#9558) 2018-12-18 16:40:30 +01:00
media_proxy_controller.rb Raise Mastodon::RaceConditionError if Redis lock failed (#7511) 2018-05-16 12:29:45 +02:00
public_timelines_controller.rb Redesign landing page (#10232) 2019-03-12 17:34:00 +01:00
relationships_controller.rb Add order options to relationship manager UI (#10404) 2019-03-28 02:16:01 +01:00
remote_follow_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
remote_interaction_controller.rb Change remote interaction dialog to use specific actions (#9743) 2019-01-07 15:36:26 +01:00
remote_unfollows_controller.rb Add tests for remote_unfollows_controller (#7879) 2018-06-24 19:55:55 +09:00
shares_controller.rb Fix admin validation being too strict about usernames (#10449) 2019-04-06 17:53:17 +02:00
statuses_controller.rb Add some caching for HTML versions of statuses pages (#10701) 2019-05-09 22:03:44 +02:00
stream_entries_controller.rb Add some caching for HTML versions of statuses pages (#10701) 2019-05-09 22:03:44 +02:00
tags_controller.rb Fix tagged param not being normalized before querying tags (#10249) 2019-03-13 13:02:13 +01:00