mastodon/spec/fabricators
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
..
access_token_fabricator.rb Introduce access token fabricators () 2017-07-27 15:16:07 +02:00
accessible_access_token_fabricator.rb Introduce access token fabricators () 2017-07-27 15:16:07 +02:00
account_domain_block_fabricator.rb Ensure unique identifiers in fabricated objects in tests () 2017-05-20 17:09:40 +02:00
account_fabricator.rb Ensure unique identifiers in fabricated objects in tests () 2017-05-20 17:09:40 +02:00
application_fabricator.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00
block_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
conversation_fabricator.rb Add conversation model, <ostatus:conversation /> () 2017-05-12 19:09:21 +02:00
conversation_mute_fabricator.rb Feature conversations muting () 2017-05-15 03:04:13 +02:00
domain_block_fabricator.rb Cover Admin::DomainBlocksController more () 2017-06-25 21:42:36 +02:00
favourite_fabricator.rb Delete records in smaller transaction () 2017-05-04 23:44:39 +02:00
follow_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
follow_request_fabricator.rb Remove redundant code in AtomSerializer and spec () 2017-06-03 20:51:08 +02:00
import_fabricator.rb Import feature for following/blocking lists (addresses , , , ) 2017-03-30 19:42:33 +02:00
media_attachment_fabricator.rb Update fabricator for MediaAttachment to attach a file according to type () 2017-06-20 20:40:45 +02:00
mention_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
mute_fabricator.rb More status specs () 2017-04-28 15:10:41 +02:00
notification_fabricator.rb Fixes slow query in notifications api () 2017-05-06 21:55:40 +02:00
preview_card_fabricator.rb Ensure unique identifiers in fabricated objects in tests () 2017-05-20 17:09:40 +02:00
report_fabricator.rb Admin reports controller improvements () 2017-04-14 11:10:28 +02:00
session_activation_fabricator.rb Revocable sessions () 2017-06-23 18:50:53 +02:00
status_fabricator.rb Switch to static URIs, new URI format in both protocols for new statuses () 2017-09-06 19:01:28 +02:00
status_pin_fabricator.rb Pinned statuses () 2017-08-25 01:41:18 +02:00
stream_entry_fabricator.rb Cover ApplicationController more in spec () 2017-05-22 17:58:57 +02:00
subscription_fabricator.rb Spec coverage and refactor for pubsub/delivery worker () 2017-05-12 20:35:36 +02:00
tag_fabricator.rb Ensure unique identifiers in fabricated objects in tests () 2017-05-20 17:09:40 +02:00
user_fabricator.rb Ensure unique identifiers in fabricated objects in tests () 2017-05-20 17:09:40 +02:00
web_push_subscription_fabricator.rb Web Push Notifications () 2017-07-13 22:15:32 +02:00
web_setting_fabricator.rb Persist UI settings, add missing localizations for German 2017-01-09 14:00:55 +01:00