Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-18 | [feature] add blobs as a incoming api backend | Victor Shyba | |
We started with CouchDB due legacy system relying on it. This commit adds the possibility of adding blobs as a IncomingAPI backend if blobs is enabled on config file. -- Resolves: #8868 | |||
2017-07-07 | [test] mark tests that depend on couchdb server | drebs | |
2017-07-02 | [bug] incoming doesnt accept encryption schemes | Victor Shyba | |
According to /incoming specification, this parameter doesn't exists. It was added on MX side and brought here on transition. This commit explicitly removes it, leaving a track on history that it got removed during transition. Further work on MX will also remove the "NONE" encryption scheme, which is part of dead code. | |||
2017-07-02 | [style] fix naming from review | Victor Shyba | |
2017-07-02 | [feature] add formatting from MX into incoming | Victor Shyba | |
Use the same formatting as MX was using for backwards compatibility. -- Resolves: #8828 | |||
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-08 | [refactor] _database -> _db | 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 | [refactor] create client _database module | 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-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 | [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 | [test] change assert for self.assertX | 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 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] upload/download integration test | Victor Shyba | |
2017-04-04 | [refactor] pass configured blobs resource to server auth class | drebs | |
2017-03-17 | [test] Prepare tests for python3 compatibility | efkin | |
2017-02-27 | [feat] add configurable blobs path in server | drebs | |
- Resolves: #8777 | |||
2017-02-25 | [refactor] pass soledad object to client secrets api | drebs | |
In order to be able to change passphrase, token and offline status of soledad from the bitmask client api, the secrets api also has to be able to use up-to-date values when encrypting/decrypting secrets and uploading/downloading them to the server. This commit makes public some soledad attributes that were previously "private" (i.e. used to start with "_" and were not meant to be accessed from outside), and passes the whole soledad object to the client secrets api. This makes the code cleaner and also allows for always getting newest values of soledad attributes. | |||
2017-02-15 | [style] pep8 | Victor Shyba | |
2017-02-15 | [tests] fix tests | Kali Kaneko | |
2017-02-13 | [tests] conf format changed, no more nesting | Victor Shyba | |
2017-02-13 | [tests] server parameter is gone, patch the module | Victor Shyba | |
2017-02-09 | [test] move server url mapper tests to its own file | drebs | |
2017-02-09 | [refactor] parametrize blobs toggling in soledad server resource | drebs | |
2017-02-09 | [refacor] make proper use of twisted web dyamic resources in server | drebs | |
2017-02-09 | [refactor] allow passing threadpool pool for server sync resource | drebs | |
2017-02-09 | [refactor] move wsgi sync setup to its own module | drebs | |
2017-02-09 | [test] add tests for server resource and server info | drebs | |
2017-02-09 | [test] move server auth tests to its own file | drebs | |
2017-02-09 | [feature] add server config option for blobs | drebs | |
2017-02-09 | [refactor] allow passing threadpool pool for server sync resource | drebs | |
Conflicts: server/src/leap/soledad/server/_resource.py testing/tests/server/test__resource.py | |||
2017-02-09 | [refactor] move wsgi sync setup to its own module | drebs | |
Conflicts: server/src/leap/soledad/server/_wsgi.py server/src/leap/soledad/server/entrypoint.py server/src/leap/soledad/server/resource.py testing/tests/server/test__resource.py | |||
2017-02-09 | [test] fix session and auth tests | drebs | |
2017-02-09 | [test] add tests for server auth session | drebs | |
2017-02-09 | [test] add tests for server auth | drebs | |
2017-02-09 | [test] split url mapper test in many smaller tests | drebs | |
2017-02-09 | [refactor] separate url mapper, avoid hanging tests | drebs | |
Because the wsgi resource has its own threadpool, tests might get confused when shutting down and the reactor may get clogged waiting for the threadpool to be stopped. By refactoring the URLMapper to its own module, server tests can avoid loading the resource module, where the wsgi threadpool resides, so the threapool will not be started. | |||
2017-02-09 | [feat] use twisted web http auth and creds | drebs | |