mastodon/app/controllers
Eugen Rochko e7adbf572a Switch to static URIs, new URI format in both protocols for new statuses (#4815)
* Decouple Status#local? from uri being nil

* Replace on-the-fly URI generation with stored URIs

- Generate URI in after_save hook for local statuses
- Use static value in TagManager when available, fallback to tag format
- Make TagManager use ActivityPub::TagManager to understand new format
- Adjust tests

* Use other heuristic for locality of old statuses, do not perform long query

* Exclude tombstone stream entries from Atom feed

* Prevent nil statuses from landing in Pubsubhubbub::DistributionWorker

* Fix URI not being saved (#4818)

* Add more specs for Status

* Save generated uri immediately

and also fix method order to minimize diff.

* Fix alternate HTML URL in Atom

* Fix tests

* Remove not-null constraint from statuses migration to speed it up
2017-09-06 19:01:28 +02:00
..
activitypub Instantly upgrade account to ActivityPub if we receive ActivityPub payload (#4766) 2017-09-03 01:11:23 +02:00
admin Fix typo in admin/status_controller.rb (#4679) 2017-08-24 04:03:52 +02:00
api Fix #4794 - Fake instant follow in API response when account is believed unlocked (#4799) 2017-09-05 17:48:13 +02:00
auth
concerns Support more variations of ActivityPub keyId in signature (#4630) 2017-08-21 22:57:34 +02:00
oauth
settings authorize-follow-requests-after-unlocking (#4658) 2017-08-26 12:40:03 +02:00
well_known
about_controller.rb
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
application_controller.rb
authorize_follows_controller.rb
follower_accounts_controller.rb Set correct content-type for ActivityPub JSON (#4592) 2017-08-14 04:16:43 +02:00
following_accounts_controller.rb Set correct content-type for ActivityPub JSON (#4592) 2017-08-14 04:16:43 +02:00
home_controller.rb
intents_controller.rb Add protocol handler. Handle follow intents (#4511) 2017-08-14 04:53:31 +02:00
manifests_controller.rb
media_controller.rb
remote_follow_controller.rb
shares_controller.rb Make share intent modal to make "signed in as" shown. (#4611) 2017-08-16 16:48:44 +02:00
statuses_controller.rb Update status embeds (#4742) 2017-08-30 10:23:43 +02:00
stream_entries_controller.rb Update status embeds (#4742) 2017-08-30 10:23:43 +02:00
tags_controller.rb Set correct content-type for ActivityPub JSON (#4592) 2017-08-14 04:16:43 +02:00