gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/controllers
Eugen Rochko e7adbf572a Switch to static URIs, new URI format in both protocols for new statuses ()
* 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 ()

* 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 () 2017-09-03 01:11:23 +02:00
admin Fix typo in admin/status_controller.rb () 2017-08-24 04:03:52 +02:00
api Fix - Fake instant follow in API response when account is believed unlocked () 2017-09-05 17:48:13 +02:00
auth Redirect to PasswordController#new when reset_password_token is invalid () 2017-08-03 17:45:45 +02:00
concerns Support more variations of ActivityPub keyId in signature () 2017-08-21 22:57:34 +02:00
oauth Fix - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
settings authorize-follow-requests-after-unlocking () 2017-08-26 12:40:03 +02:00
well_known Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper () 2017-06-02 22:21:36 +02:00
about_controller.rb Redesign the landing page, mount public timeline on it () 2017-07-11 15:27:59 +02:00
account_follow_controller.rb Restful refactor of accounts/ routes () 2017-04-19 13:52:37 +02:00
account_unfollow_controller.rb Restful refactor of accounts/ routes () 2017-04-19 13:52:37 +02:00
accounts_controller.rb Switch to static URIs, new URI format in both protocols for new statuses () 2017-09-06 19:01:28 +02:00
application_controller.rb Add "signed in as" header to some pages () 2017-08-05 04:24:58 +02:00
authorize_follows_controller.rb Add "signed in as" header to some pages () 2017-08-05 04:24:58 +02:00
follower_accounts_controller.rb Set correct content-type for ActivityPub JSON () 2017-08-14 04:16:43 +02:00
following_accounts_controller.rb Set correct content-type for ActivityPub JSON () 2017-08-14 04:16:43 +02:00
home_controller.rb Web Push Notifications () 2017-07-13 22:15:32 +02:00
intents_controller.rb Add protocol handler. Handle follow intents () 2017-08-14 04:53:31 +02:00
manifests_controller.rb Fix - Add dynamic app manifest () 2017-06-06 19:29:42 +02:00
media_controller.rb Extract authorization policy for viewing statuses () 2017-05-29 18:22:22 +02:00
remote_follow_controller.rb Add "signed in as" header to some pages () 2017-08-05 04:24:58 +02:00
shares_controller.rb Make share intent modal to make "signed in as" shown. () 2017-08-16 16:48:44 +02:00
statuses_controller.rb Update status embeds () 2017-08-30 10:23:43 +02:00
stream_entries_controller.rb Update status embeds () 2017-08-30 10:23:43 +02:00
tags_controller.rb Set correct content-type for ActivityPub JSON () 2017-08-14 04:16:43 +02:00