Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-02 | [feature] make /incoming persist doc on CouchDB | Victor Shyba | |
-- Resolves: #8827 | |||
2017-07-02 | [feature] direct /incoming requests to IncomingResource | Victor Shyba | |
Adds the routing code for exposing /incoming from SoledadResource. - Related: #8827 | |||
2017-06-26 | [pkg] rename soledad-create-userdb script in all the places | Kali Kaneko | |
2017-05-12 | [refactor] make blobs resource backend configurable | Victor Shyba | |
- Resolves: #8804 | |||
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 | [refactor] improve readability on _document | 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 | [feat] add attachments api | 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-27 | [test] monitor cpu/mem for all benchmarks | drebs | |
2017-04-27 | [test] add memory measurement | drebs | |
2017-04-27 | [test] measure cpu percentage during benchmark | drebs | |
2017-04-26 | [feature] sanitize resource arguments | Victor Shyba | |
_validate will check if user_id and blob_id are letter, numbers, dashes and underscores. It is called on render_GET and render_POST, validating incoming arguments before handling on backend. - Resolves: #8832 | |||
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-25 | [test] ensure rev system works in shared db | drebs | |
During a meeting with pixelated we were asked to ensure that the u1db revision system was working for the shared database. This commit adds a test to make sure that documents in the shared database can be updated successfully if the include the correct revision, but will fail if the include the incorrect revision. Resolves: #8842. | |||
2017-04-19 | [test] avoid running sqlcipher synchonous tests when benchmarking | drebs | |
SQLCipher synchronous benchmark tests were introduced when we started developing benchmark tests to compare synchronous and asynchronous code. Synchronous access to sqlcipher database is not used in soledad, and those tests are much slower than asynchronous tests (more than 10 times using ssd drive), so we want to avoid running them on ci. This commit introduces a "synchronous" marker and avoid running tests markes as such in ci environment. | |||
2017-04-19 | [tests] dont mock local db on local tests | Victor Shyba | |
2017-04-19 | [tests] set pool to None during tests | Victor Shyba | |
2017-04-19 | [test] change assert for self.assertX | Victor Shyba | |
2017-04-19 | [feature] fetch new blobs from server | Victor Shyba | |
Check what server has, what we have, compare, fetch missing. - Related: #8808 | |||
2017-04-19 | [test] change assert for self.assertX | 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 | [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] improve docstrings and comments from review | Victor Shyba | |
2017-04-04 | [style] naming improvements | 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 | [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] upload/download integration test | Victor Shyba | |
2017-04-04 | [test] use mock instead of directly patching | Victor Shyba | |