1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 08:18:53 +09:00
YuruToot/spec/helpers
Eugen Rochko 8c45cd0e36 Improve ActivityPub representations (#3844)
* Improve webfinger templates and make tests more flexible

* Clean up AS2 representation of actor

* Refactor outbox

* Create activities representation

* Add representations of followers/following collections, do not redirect /users/:username route if format is empty

* Remove unused translations

* ActivityPub endpoint for single statuses, add ActivityPub::TagManager for better
URL/URI generation

* Add ActivityPub::TagManager#to

* Represent all attachments as Document instead of Image/Video specifically
(Because for remote ones we may not know for sure)

Add mentions and hashtags representation to AP notes

* Add AP-resolvable hashtag URIs

* Use ActiveModelSerializers for ActivityPub

* Clean up unused translations

* Separate route for object and activity

* Adjust cc/to matrices

* Add to/cc to activities, ensure announce activity embeds target status and
not the wrapper status, add "id" to all collections
2017-07-15 03:01:39 +02:00
..
admin Rename admin/accounts_helper to admin/filter_helper (#1816) 2017-04-15 03:09:55 +02:00
application_helper_spec.rb Hold value of I18n.locale with ApplicationHelperSpec (#3474) 2017-05-31 17:09:28 +02:00
emoji_helper_spec.rb Fix #4149, fix #1199 - Store emojis as unicode (#4189) 2017-07-14 19:47:53 +02:00
flashes_helper_spec.rb Spec FlashesHelper (#3414) 2017-05-29 18:03:02 +02:00
home_helper_spec.rb Fix locale related specs (#3707) 2017-06-12 10:58:03 +02:00
instance_helper_spec.rb Use around hook to restore context in InstanceHelper spec (#3429) 2017-05-30 06:32:33 -04:00
settings_helper_spec.rb Ensure i18n matches options (#2358) 2017-04-23 19:09:52 +02:00
stream_entries_helper_spec.rb Fix RTL detection on Ruby side (#3867) 2017-06-20 18:45:09 +02:00