Feature proposal #8462open
Remove support for individualized like/follow streams
These don't need to be streams, but just be features. Centralize their configuration in global parameters and that's it. Pass the object and object_id via encrypted json data on the element (e.g. data-like="HASHED_JSON" using openssl_encrypt or something similar) so we don't need to really worry about keeping track of it.
With #8458 and this complete only Activity and Comment streams will need stream storage behavior. The rest are just features.
All streams will send hashed object, object_id, target, and target_id for new endpoints (e.g. new activity, new comment, new like, etc..). The rest will just use respective object ids (e.g. activity id) and will build object, object_id, target, and target_id from stored values.
Added support for passing "asset" as encrypted string (uses Joomla API to encrypt and decrypt). This will be used for likes/follows and no longer requires a heavy stream object to be built. The result is Likes behavior currently now has a 300% performance improvement since it's A LOT more simple code wise to process.