{"push_id":863394733,"size":12,"distinct_size":1,"ref":"refs/heads/develop","head":"3aea1652d82755affdcf4c734f9f0ba004482046","before":"36f476c53f6f3532652d7428e306dcef1c37f879","commits":[{"sha":"bd316723244908010e81a6b745313df254b3004a","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] separate errors and model from couch\n\nCouchDocument is a subclass from SoledadDocument which holds conflicts,\nmaking the server side aware of them. There is a module called document\non soledad.common that holds SoledadDocument. This commit moves\nCouchDocument to its proper place.\nError raising logic and exceptions declarations are also moved into error\nmodule inside common.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/bd316723244908010e81a6b745313df254b3004a"},{"sha":"983644df965b391527fce51bda6f6b1f4b29c2ac","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] remove MultipartWriter monkey patch\n\nThis monkey patch was added to separate headers from content and use\nthem to PUT on couchdb. The original implementation makes it possible by\nusing two parameters in the constructor.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/983644df965b391527fce51bda6f6b1f4b29c2ac"},{"sha":"b0557f9c1d5e6f153f926ba3cb5876453ef23a10","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] separate SoledadBackend from CouchDatabase\n\nCouchDatabase was renamed to SoledadBackend and a new class\nCouchDatabase was created to hold all couchdb code. This should make\nSoledadBackend less tied to database implementation. A few more\nseparations are needed to split into modules.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/b0557f9c1d5e6f153f926ba3cb5876453ef23a10"},{"sha":"f0b96af943dcb6c8cde4f6d4280186d78c78096c","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] split out backend from couch database\n\nFirst step of splitting classes across files on common.\nbackend.py holds SoledadBackend (generic backend logic)\ncouch/ is now a directory with old code inside __init__.py and\nCouchServerState on state.py\nAlso removed mock IndexedSoledadBackend, since Soledad does not support\nindexing due to encryption on server side.\nAlso fixed DesignDocUnknownError to show up what is the message of the\noriginal exception. It was being lost.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/f0b96af943dcb6c8cde4f6d4280186d78c78096c"},{"sha":"9830bd00964a1c83cfc92151446adda6f14fbc54","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] CouchDocument is now ServerDocument\n\nAs SoledadBackend is intended to be database agnostic, a new generic\ndocument is now used instead of the old one made for CouchDB. The only\nattribute that really relates to couch was couch_rev, removed on this\ncommit as it can be set on CouchDatabase implementation when needed.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/9830bd00964a1c83cfc92151446adda6f14fbc54"},{"sha":"b9de2af55ab7fbccadf1fdb92d06858c9f29acfa","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] move couch errors and expose methods\n\nerrors.py was holding a few specific CouchDB errors, now moved into\ncouch.errors module. Also, some of CouchDatabase methods were declared\nas private, but external classes needs them.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/b9de2af55ab7fbccadf1fdb92d06858c9f29acfa"},{"sha":"421691ef71019d0bcd4447a773efa5e9b15b0c71","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] token verification moved to couch module + tests\n\nAdded tests for this token verification as it wasn't covered. Then moved\nit to the new couch module that implements a couch storage.\nThe ServerState was chosen to hold the verify_token method.\nCouchServerState holds the current implementation, which is called on\nauthentication middleware as the new test shows.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/421691ef71019d0bcd4447a773efa5e9b15b0c71"},{"sha":"eaf19626a57d5f5325653fee3aea9db27c9531fe","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] resource logic encapsulation\n\nCreating a resource from a path to use get_json causes a lot of dirty\ncode and unexplained things like response[2]. This commit extracts that\nlogic into a helper to let it more clear about what is happening.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/eaf19626a57d5f5325653fee3aea9db27c9531fe"},{"sha":"5e47ff186db38b1f610444f19ec57c838efbbf03","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[feat] add caching to a place that was missing\n\nWhen retrieving other replica info the cache wasnt being used, but when\nsaving it was. This commit applies caching on get as well.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/5e47ff186db38b1f610444f19ec57c838efbbf03"},{"sha":"397343f890dbce9b3d6e9377b54c1f804d39479c","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[style] pep8","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/397343f890dbce9b3d6e9377b54c1f804d39479c"},{"sha":"0cf6f3efd3cc7dd3361277a8f05577e823e361e5","author":{"email":"b3ef632dbcde53f3fcd5f0691c8811374c170a64@gmail.com","name":"Victor Shyba"},"message":"[refactor] remove exception based logic\n\nCreating a database was using a unnecessary complex try/except logic.\nSimplifying it should make the purpose more clear.","distinct":false,"url":"https://api.github.com/repos/pixelated/soledad/commits/0cf6f3efd3cc7dd3361277a8f05577e823e361e5"},{"sha":"3aea1652d82755affdcf4c734f9f0ba004482046","author":{"email":"cab2260b8d721f18e6a7ea6ce9c33f5480f28854@sindominio.net","name":"Ruben Pollan"},"message":"Merge branch 'refactor/isolated_couchdb_code' into develop\n\n- Releases: 0.8.0","distinct":true,"url":"https://api.github.com/repos/pixelated/soledad/commits/3aea1652d82755affdcf4c734f9f0ba004482046"}]}