Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-19 | [feature] add send_missing to send pending uploads | Victor Shyba | |
This method will gather a list of local docs and a list of remote docs, compare them and send docs which server doesn't have. - Related: #8807 | |||
2017-04-15 | [test] enforce bundled pysqlcipher in benchmark tests | drebs | |
The debian package for libsqlcipher does not enable the use of usleep(), and that might cause timeouts when doing concurrent access to sqlcipher databases. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859685 In benchmark tests we use twisted's asynchronous dbapi for creating thousands of documents, and if usleep() is not enabled this operation is very likelly to fail with a "db is locked" error. This commit adds a workaround for benchmark tests by reinstalling pysqlcipher with the "--bundled" option, what causes libsqlcipher to be built and bundled in the python package, with usleep() enabled. Resolves: #8835 | |||
2017-04-10 | [pkg] do not pass weird information to install_requires | Kali Kaneko | |
this commit deliberately *duplicates* the dependency information between the setup.py and requirements.pip. The rationale behind it is that one of them is the generic dependency information, to be passed to system helpers in order to package it. The requirements.pip has any pinning information that we want to impose during development, and it behaves as a well-known set. Read https://caremad.io/posts/2013/07/setup-vs-requirement/ for more explanations. - Resolves: #8830 | |||
2017-04-10 | [refactor] use fixed rev and remove doc_id (blobs) | Victor Shyba | |
doc_id wasn't being stored, loaded or used anywhere except for authentication. This commit removes it and uses a fixed value for rev since blobs is supposed to be immutable. - Resolves: #8813 | |||
2017-04-05 | Use $DOCKER_BUILD_OPTIONS for building | varac | |
2017-04-05 | Use soledad master branch, install curl and git | varac | |
2017-04-04 | [feat] add the host hostname to benchmark machine info | drebs | |
2017-04-04 | [test] change assert for self.assertX | Victor Shyba | |
2017-04-04 | [docs] add docstrings to _get_rounded_size | Victor Shyba | |
2017-04-04 | [bug] enable '/blobs/{uuid}' for GET on url_mapper | Victor Shyba | |
2017-04-04 | [style] fix wrong identation | Victor Shyba | |
2017-04-04 | [bug] use soledad_assert instead of assert | Victor Shyba | |
2017-04-04 | [docs] improve docstrings and comments from review | Victor Shyba | |
2017-04-04 | [style] naming improvements | Victor Shyba | |
2017-04-04 | [feature] add list to _blobs cli | Victor Shyba | |
2017-04-04 | [refactor] list is remote_list, avoiding confusion | Victor Shyba | |
2017-04-04 | [feature] add listing to local blob db | Victor Shyba | |
2017-04-04 | [feature] add blobs listing | Victor Shyba | |
2017-04-04 | [refactor] adds a PreamblePipe for preamble download | Victor Shyba | |
Downloading until there is a space then splitting the content was a mess. Extracted this behaviour out of DecrypterBuffer into a new component so it eases testing by introducing a single responsibility class. | |||
2017-04-04 | [refactor] extracts tail logic into TruncatedTailPipe | Victor Shyba | |
2017-04-04 | [feature] use 409 status code for existing blob id | Victor Shyba | |
Raising was generating 500, which is a generic status code for server side errors. This commit adds proper status code of 409 while handling the error on client side by translating the code into a proper exception class. | |||
2017-04-04 | [refactor] simplify HTTPClient | Victor Shyba | |
2017-04-04 | [test] fix treq -> _client change | Victor Shyba | |
2017-04-04 | [bug] cache pip instead of tox | Victor Shyba | |
Caching .tox breaks when installing new dependencies. Caching pip instead and asking tox to always recreate will ensure newer dependencies are installed while getting existing ones from cache. | |||
2017-04-04 | [refactor] change size into a required parameter where it is necessary | Victor Shyba | |
2017-04-04 | [bug] copy returns a closed handle | Victor Shyba | |
copy call returns a closed file handler, instead we can query for the blob after insertion and use the returned file handle to be consumed for upload. A better solution would be to "pipe" the writes into the database into the upload, but that involves solving a larger set of issues to be done later. | |||
2017-04-04 | [test] test blobs local db with file handlers | Victor Shyba | |
2017-04-04 | [test] test get inexistent on local sqlcipher for blobs client | Victor Shyba | |
2017-04-04 | [feature] adds a close method for local blobs store | Victor Shyba | |
2017-04-04 | [test] upload/download integration test | Victor Shyba | |
2017-04-04 | [test] use mock instead of directly patching | Victor Shyba | |
2017-04-04 | [bug] create dirs before checking disk usage | Victor Shyba | |
2017-04-04 | [refactor] quota and size configurable on constructor | Victor Shyba | |
2017-04-04 | [feature] improve error messages on preamble check | Victor Shyba | |
2017-04-04 | [bug] check status code on upload | Victor Shyba | |
2017-04-04 | [test] patch pinned client in blobs test | drebs | |
2017-04-04 | [refactor] pass configured blobs resource to server auth class | drebs | |
2017-04-04 | [bug] use postpath to get blobs user and id in server | drebs | |
2017-04-04 | [feat] use pinned token agent in client blobs | drebs | |
2017-04-04 | [feat] allow blobs urls in server | drebs | |
2017-04-04 | [feature] add a treq-based http client to soledad client | drebs | |
2017-04-04 | [feature] add a tls-pinned, token-authenticated http agent | drebs | |
2017-04-04 | [feat] add token auth to blobs client | drebs | |
2017-04-04 | [refactor] create blobs directory on server resource initialization | drebs | |
2017-04-04 | [test] check path partitioning | Victor Shyba | |
2017-04-04 | [test] check that write respects quota | Victor Shyba | |
2017-04-04 | [test] check blobs server cant overwrite | Victor Shyba | |
2017-04-04 | [test] check FS backend read | Victor Shyba | |
2017-04-04 | [test] check tag header on FS backend | Victor Shyba | |
2017-04-04 | [doc] remove excessive signal doc from client api | drebs | |