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 Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
form Improve admin page (#4121) 2017-07-18 16:38:22 +02:00
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 Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
account_filter.rb Add coverage for ReportFilter and AccountFilter (#3236) 2017-05-22 15:50:58 -04:00
application_record.rb
block.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
conversation.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
conversation_mute.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
domain_block.rb Allow domain blocks that only reject media without silencing or suspending (#4325) 2017-07-24 14:26:55 +02:00
export.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
feed.rb Remove sort in Feed (#4050) 2017-07-03 13:17:27 +02:00
follow.rb Introduce recent to Follow (#3247) 2017-05-23 13:12:19 +02:00
follow_request.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
import.rb Validate data of Imports (#4782) 2017-09-02 20:45:42 +02:00
instance.rb Add Instance class to list admin records (#3443) 2017-05-31 20:38:44 +02:00
media_attachment.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
mention.rb Misc tidying and clean ups (#3445) 2017-05-31 20:38:17 +02:00
mute.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
notification.rb Update Rails to version 5.1.1 (#3121) 2017-06-01 20:53:37 +02:00
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 Refactor UpdateRemoteProfileService (#3690) 2017-06-11 10:41:59 +02:00
report.rb Add includes to Report#statuses (#3655) 2017-06-09 15:07:02 +02:00
report_filter.rb Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
session_activation.rb Refactor Web::PushSubscription, remove welcome message (#4524) 2017-09-01 13:35:23 +02:00
setting.rb Improve RuboCop rules (compatibility to Code Climate) (#3636) 2017-06-08 13:24:28 +02:00
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 Cover AccountsController more in spec (#3229) 2017-05-23 02:53:01 +02:00
subscription.rb Periodically remove expired PuSH subscribers (#4654) 2017-08-21 22:56:33 +02:00
tag.rb add validation to tag name (#4194) 2017-07-14 11:02:49 +02:00
user.rb Use request.remote_ip instead of request.ip (#4744) 2017-08-30 10:24:30 +02:00
web.rb