Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-11 | [bug] track namespace information on blobs client | Victor Shyba | |
A reported bug on namespace feature was that we couldn't delete a namespaced blob after a cold start, since the client wasn't able to check which namespace it belongs. This commits completes the tracking of namespace over client site code, making it possible to query and store namespce information on disk, through sqlcipher. -- Resolves: #8882 | |||
2017-08-11 | [feature] add path partitioning to namespaces | Victor Shyba | |
All blobs were being stored in a single folder when using namespaces, this commits adds path partitioning as discussed on #8882, which should help with a large number of files (each folder will hold a smaller subset, allowing the use of better filesystem walk strategies). Also, the default empty namespace is now called 'default' to prevent it from listing other namespaces contents. So everything will always use namespaces, with the option to use it explicitly or just fall to the default one. -- Related: #8882 | |||
2017-08-03 | [bug] make download namespace-aware | Victor Shyba | |
2017-07-21 | [feature] add get/set flags | Victor Shyba | |
IncomingBox spec has a flags feature for the processing flow of messages. This commit adds it using a .flags file. -- Resolves: #8869 | |||
2017-07-18 | [feature] remote list sorting by date | Victor Shyba | |
Listing by date is useful for listing newest/oldest documents on blobs storage and should be used for listing new IncomingMessages as described on specification. -- Resolves: #8879 | |||
2017-07-02 | [feature] namespace capability to BlobsBackend | Victor Shyba | |
Adds an extra parameter called "namespace" on the backend interface and on FileSystemBlobsBackend. This parameter overrides default id partitioning and uses a separate folder for a custom namespace. -- Resolves: #8889 | |||
2017-05-12 | [tests] fix flaky blobs manager tests due id reuse | Victor Shyba | |
2017-05-09 | [refactor] move interfaces out | Kali Kaneko | |
- rename add_tag method - reorder blob interface methods for clarity - use mkdir_p from leap.common | |||
2017-05-08 | [refactor] _database -> _db | Victor Shyba | |
2017-05-04 | [tests] improve readability | Victor Shyba | |
2017-05-02 | [feature] add and integrate DELETE to blobs server | Victor Shyba | |
Add a DELETE method for blobs server and integrate it into client's BlobManager. - Resolves: #8846 | |||
2017-05-01 | [feature] delete method on blob sqlcipher backend | Victor Shyba | |
- Related: #8846 | |||
2017-05-01 | [refactor] unify path validation | Victor Shyba | |
2017-05-01 | [refactor] merge refactor from drebs | Victor Shyba | |
2017-05-01 | [refactor] create client _database module | drebs | |
2017-05-01 | [feature] blobs path validation | Victor Shyba | |
Check if user and blob_id are valid strings, then check if the resulting path is a subdirectory of blobs configured path. - Related: #8800 | |||
2017-05-01 | [test] missing inlineCallback | Victor Shyba | |
- Related: #8812 | |||
2017-05-01 | [test] add tests for sqlcipher client backend | Victor Shyba | |
BlobManager tests covers them indirectly, but testing them directly may help locating source of bugs. - Related: #8812 | |||
2017-05-01 | [test] rename file to match test case name | Victor Shyba | |
- Related: #8812 | |||
2017-05-01 | [test] rename and add comments for clarity | Victor Shyba | |
- Related: #8812 | |||
2017-05-01 | [bug] fail locally if blob exists | Victor Shyba | |
We can't let the local DB try an isertion before making sure doc isn't already there. - Resolves: #8845 | |||
2017-04-26 | [feature] use Twisted getProcessOutput on backend | Victor Shyba | |
This makes process communication async during quota measurement, as specified on #8832 - Related: #8832 | |||
2017-04-19 | [tests] dont mock local db on local tests | Victor Shyba | |
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-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-04 | [test] change assert for self.assertX | 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 listing to local blob db | Victor Shyba | |
2017-04-04 | [feature] add blobs listing | 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 | [test] fix treq -> _client change | Victor Shyba | |
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 | [test] use mock instead of directly patching | Victor Shyba | |
2017-04-04 | [test] patch pinned client in blobs test | 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 | [test] BlobManager encrypt test | Victor Shyba | |
2017-04-04 | [feature] unarmored incremental blobs decrypt | Victor Shyba | |