{"push_id":536880878,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b435a07ab65d120f61a608c28e2f2217f03cb5aa","before":"02810b79247552496f5a79e85372ea234386ed44","commits":[{"sha":"b435a07ab65d120f61a608c28e2f2217f03cb5aa","author":{"email":"36ad85fc286234f05a3bd1b3ab93bd36964397f2@hotmail.co.uk","name":"maxmememax"},"message":"Refined command argument to support all formats instead of throwing exceptions, also simplified the code a little bit\nCommand now excepts allowNullArguments which when false will check the argument array for null arguments and throw an exception if found\nAdded quotes into CommandNotFoundException to make the error more readable\nAdded quotes into ArgumentNotFoundException to make the error more readable, also made it take the command so if multiple commands were being done you could differentiate.\nAdded allowNullArguments as a param into the command handler methods\nAdded concat values to the config class to allow concatenation of more than one config value.\nThe server class is no longer a thread but does run its listener in the thread so that methods that are ran will interact on the same thread but the stopping accept method will always run on a seperate thread allowing listening of commands and client commands at the same time.\nCleaned up messager code and added the exception class to it as exceptions like NullReferenceException have a null exception message (OHH THE IRONY)\nTorrent size is now MB instead of bytes\nAdded torrent state that represents what stage in usage / downloading a torrent is currently in, also added method for loading it from the files / existing content it can find.\nAdded torrent downloading with the use of a progress action class that will get updates every time the torrent progresses onto a new stage of downloading and when it progresses through said stage.\nAdded sorting to the torrent manager and commented the majority of its methods (Only public / public static are commented).\nAdded new commands, viewOne, download and sort (Not tested download or sort yet). And separated getting the torrent from arguments into its own function.\nAdded new helper function to get the total size of a directory, used by torrent to check its current state.\nRefined shutdown handler, added new commands to registration, implemented the requirements for torrent downloading and added new config options to main.\nRemoved dependency upon ttorrent, it lacks DHT connections and thus the ability to download torrent info from a magnet link.\nAdded dependency jlibtorrent which is a SWIG based Java wrapper for C++ libtorrent, also added the native library files for libtorrent which jlibtorrent needs.\nAdded todo\nUpdated intellij IDE settings for building.","distinct":true,"url":"https://api.github.com/repos/maxmememax/EasyTV/commits/b435a07ab65d120f61a608c28e2f2217f03cb5aa"}]}