Skip to content
  • Marcelo Rivera's avatar
    [Sprint/Yogi] (refactor): Improve the structure of Core/Boost (#192) · b5727362
    Marcelo Rivera authored and Mark Harding's avatar Mark Harding committed
    * (feat): Allow for api/v1/boost/fetch to work with offsets and skip cache
    
    * (fix): fixed Helpers/Counters and Core/Data/Cache/factory phpdoc
    
    * (refactor): Improve the structure of Core/Boost
    
    * (fix): setBoost outside of try/catch
    
    * (feat): implemented Iterator interface on Boost/Network/Iterator
    
    * (feat): added more metrics to Boost/Network/Metrics
    
    * (feat): added Boost\Network\Expire class
    
    * (fix): renamed Network/Expire->expireBoost() to expire()
    
    * (fix): fixed Boost/Network/Metrics. You now have to pass the boost as a parameter on incrementViews() and the other metric functions have a $handler parameter
    
    * (feat): updated Boost\Network\Iterator so it loads the list on rewind()
    
    * (fix): updated Metrics so you can query boosts by user
    
    * (feat): added revoke function to Network/Review
    (feat): added Peer/Review
    (feat): replace old functions with newer ones all over the place
    
    * (feat): removed accept(), reject() and revoke() from Boost/Network and Boost/Peer over to Network/Review and Peer/Review
    
    * (feat): some refactor and cleanup
    
    * (feat): minor cleanup and throw exception is boost wasn't set
    
    * (feat): unit tests
    
    * (fix): default to newsfeed if handler wasn't specified on api/v1/admin/boosts/analytics
    
    * (fix): removed compatibility with legacy boost
    
    * (fix): removed caching from Core/Boost/Network/Iterator
    
    * (feat): added offset to api/v1/boost/fetch
    
    * (feat): implements BoostReviewInterface
    
    * (fix): filter by boost type on boost/fetch.php
    
    * (fix): don't reset the array if it's null
    
    * (refactor): send type vs passing on each function
    
    * (fix): boost metrics
    
    * (fix): repairs tests
    b5727362
Loading