You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/lib/activitypub/activity
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
6 years ago
..
accept.rb Fix handling of ActivityPub activities lacking some attributes (#8864) 6 years ago
add.rb Resolve unknown status from Add activity, skip Remove if unknown (#7526) 7 years ago
announce.rb Refactor controllers for statuses, accounts, and more (#11249) 6 years ago
block.rb Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order (#9687) 6 years ago
create.rb Add a spam check (#11217) 6 years ago
delete.rb Refactor controllers for statuses, accounts, and more (#11249) 6 years ago
flag.rb Change domain blocks to automatically support subdomains (#11138) 6 years ago
follow.rb Add ActivityPub actor representing the entire server (#11321) 6 years ago
like.rb Handle duplicate ActivityPub activities (#4639) 8 years ago
move.rb Add handler for Move activity (#9629) 6 years ago
reject.rb Fix handling of ActivityPub activities lacking some attributes (#8864) 6 years ago
remove.rb Resolve unknown status from Add activity, skip Remove if unknown (#7526) 7 years ago
undo.rb Fix handling of ActivityPub activities lacking some attributes (#8864) 6 years ago
update.rb Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401) 6 years ago