silverpill on Nostr: Mitra 3.19.0 includes a number of improvements to import-object command. Now it can ...
Mitra 3.19.0 includes a number of improvements to import-object command. Now it can handle any ActivityPub object, including activities and collections:
mitractl import-object --object-type=any https://social.example/object
The retrieved object is duck typed using the FEP-2277 algorithm. If object is a collection, then its item type is again determined by duck typing the first item.
This is very useful for development (for example, I can load Fedibird's emojiReactions collections now), but also may eventually be connected to the search box, making it work like URL bar in web browsers.
RE: https://mitra.social/objects/01957822-1a5a-6a81-6318-3f65fe1ebd79
mitractl import-object --object-type=any https://social.example/object
The retrieved object is duck typed using the FEP-2277 algorithm. If object is a collection, then its item type is again determined by duck typing the first item.
This is very useful for development (for example, I can load Fedibird's emojiReactions collections now), but also may eventually be connected to the search box, making it work like URL bar in web browsers.
RE: https://mitra.social/objects/01957822-1a5a-6a81-6318-3f65fe1ebd79
quoting nevent1q…wycs#Mitra v3.19.0
https://codeberg.org/silverpill/mitra/releases/tag/v3.19.0
https://codeberg.org/silverpill/mitra-web/releases/tag/v3.19.0
- Added mark-sensitive filter action.
- reject-data filter action now blocks deliveries too.
- Improved support for custom themes. Documentation: https://codeberg.org/silverpill/mitra/src/branch/main/docs/custom_themes.md
- import-object command can be used to load any ActivityPub collection