mastodon/app/models
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
..
concerns
form
web Fix WebPush (regression from #4524) (#4778) 2017-09-02 16:50:42 +02:00
account.rb Allow multiple pinned statuses to be shown and make them be ordered b… (#4690) 2017-08-25 18:50:52 +02:00
account_domain_block.rb
account_filter.rb
application_record.rb
block.rb
context.rb
conversation.rb
conversation_mute.rb
domain_block.rb
export.rb
favourite.rb
feed.rb
follow.rb
follow_request.rb
import.rb Validate data of Imports (#4782) 2017-09-02 20:45:42 +02:00
instance.rb
media_attachment.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
mention.rb
mute.rb
notification.rb
preview_card.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
remote_follow.rb rescue HTTP::ConnectionError in RemoteFollowController#create (#4726) 2017-08-28 19:12:09 +02:00
remote_profile.rb
report.rb
report_filter.rb
search.rb
session_activation.rb Refactor Web::PushSubscription, remove welcome message (#4524) 2017-09-01 13:35:23 +02:00
setting.rb
status.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
status_pin.rb Allow multiple pinned statuses to be shown and make them be ordered b… (#4690) 2017-08-25 18:50:52 +02:00
stream_entry.rb
subscription.rb
tag.rb
user.rb Use request.remote_ip instead of request.ip (#4744) 2017-08-30 10:24:30 +02:00
web.rb