mastodon/spec/services
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 Don't process ActivityPub payload if signature is invalid (#4752) 2017-08-31 17:18:49 +02:00
pubsubhubbub Specs for pubsub subscribe service (#2951) 2017-05-09 20:48:30 +02:00
account_search_service_spec.rb Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847) 2017-06-19 01:51:04 +02:00
after_block_service_spec.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
authorize_follow_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
batched_remove_status_service_spec.rb Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730) 2017-08-29 16:11:05 +02:00
block_domain_from_account_service_spec.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
block_domain_service_spec.rb Domain block service cleanup (#2490) 2017-04-26 20:09:01 +02:00
block_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
fan_out_on_write_service_spec.rb Quick attempt to get pull requests passing 2017-04-04 12:14:44 -07:00
favourite_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
fetch_atom_service_spec.rb
fetch_link_card_service_spec.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
fetch_remote_account_service_spec.rb
fetch_remote_resource_service_spec.rb Add support for searching AP users (#4599) 2017-08-14 14:08:34 +02:00
fetch_remote_status_service_spec.rb
follow_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
mute_service_spec.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
notify_service_spec.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
post_status_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
precompute_feed_service_spec.rb Fix PrecomputeFeedService for filtered statuses (#4148) 2017-07-11 01:00:01 +02:00
process_feed_service_spec.rb Hook up URL-based resource look-up to ActivityPub (#4589) 2017-08-14 02:29:36 +02:00
process_interaction_service_spec.rb Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
process_mentions_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
reblog_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
reject_follow_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
remove_status_service_spec.rb Fix deletion of status which has been reblogged (#4728) 2017-08-28 21:38:59 +02:00
resolve_remote_account_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
search_service_spec.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 2017-05-05 17:26:04 +02:00
send_interaction_service_spec.rb
subscribe_service_spec.rb Fix webfinger retries (#4275) 2017-07-20 01:59:07 +02:00
suspend_account_service_spec.rb Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
unblock_domain_service_spec.rb Unblock domain service specs/refactor (#2867) 2017-05-07 14:44:28 +02:00
unblock_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
unfollow_service_spec.rb ActivityPub delivery (#4566) 2017-08-13 00:44:41 +02:00
unmute_service_spec.rb Mute button progress so far. WIP, doesn't entirely work correctly. 2017-03-01 22:31:21 -06:00
unsubscribe_service_spec.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
update_remote_profile_service_spec.rb Set correct attachment type for rejected media (#2599) 2017-04-29 00:18:32 +02:00