mastodon/app/controllers
ThibG 730c4053d6 Add ActivityPub actor representing the entire server (#11321)
* Add support for an instance actor

* Skip username validation for local Application accounts

* Add migration script to create instance actor

* Make Codeclimate happy

* Switch to id -99 for instance actor

* Remove unused `icon` and `image` attributes from instance actor

* Use if/elsif/else instead of return + ternary operator

* Add instance actor to fresh installs

* Use instance actor as instance representative

Use instance actor for forwarding reports, relay operations, and spam
auto-reporting.

* Seed database in test environment

* Fix single-user mode

* Fix tests

* Fix specs to accomodate for an extra `Account`

* Auto-reject follows on instance actor

Following an instance actor might make sense, but we are not handling that
right now, so auto-reject.

* Fix webfinger lookup and serialization for instance actor

* Rename instance actor

* Make it clear in the HTML view that the instance actor should not be blocked

* Raise cache time for instance actor as there's no dynamic content

* Re-use /about/more with a flash message for instance actor profile
2019-07-19 01:44:42 +02:00
..
activitypub Fix caching headers in ActivityPub endpoints (#11331) 2019-07-17 00:00:39 +02:00
admin Add setting to disable the anti-spam (#11296) 2019-07-17 21:09:15 +02:00
api Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
auth Check that an invite link is valid before bypassing approval mode (#10657) 2019-05-02 04:30:12 +02:00
concerns Add ActivityPub secure mode (#11269) 2019-07-11 20:11:09 +02:00
oauth Fix authorized applications list page design (#9969) 2019-02-04 22:25:42 +01:00
settings Add option to disable real-time updates in web UI (#9984) 2019-07-16 06:30:47 +02:00
well_known Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
about_controller.rb Add ActivityPub actor representing the entire server (#11321) 2019-07-19 01:44:42 +02: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 Add ActivityPub secure mode (#11269) 2019-07-11 20:11:09 +02:00
application_controller.rb Add ActivityPub actor representing the entire server (#11321) 2019-07-19 01:44:42 +02:00
authorize_interactions_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
custom_css_controller.rb Fix custom CSS controller (#11336) 2019-07-17 17:14:25 +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 Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
filters_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
follower_accounts_controller.rb Add ActivityPub secure mode (#11269) 2019-07-11 20:11:09 +02:00
following_accounts_controller.rb Add ActivityPub secure mode (#11269) 2019-07-11 20:11:09 +02:00
home_controller.rb Add ActivityPub actor representing the entire server (#11321) 2019-07-19 01:44:42 +02:00
instance_actors_controller.rb Add ActivityPub actor representing the entire server (#11321) 2019-07-19 01:44:42 +02:00
intents_controller.rb Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
invites_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
manifests_controller.rb Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
media_controller.rb Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
media_proxy_controller.rb Change domain blocks to automatically support subdomains (#11138) 2019-06-22 00:13:10 +02:00
public_timelines_controller.rb Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
relationships_controller.rb Add order options to relationship manager UI (#10404) 2019-03-28 02:16:01 +01:00
remote_follow_controller.rb Refactor controllers for statuses, accounts, and more (#11249) 2019-07-08 12:03:45 +02:00
remote_interaction_controller.rb Change remote interaction dialog to use specific actions (#9743) 2019-01-07 15:36:26 +01: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 ActivityPub secure mode (#11269) 2019-07-11 20:11:09 +02:00
tags_controller.rb Add ActivityPub secure mode (#11269) 2019-07-11 20:11:09 +02:00