summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-07-21[refactor] fixes from reviewVictor Shyba
Improve test naming, creates a "count" method and filter flags files properly.
2017-07-21[docs] add docstrings to blobs clientVictor Shyba
2017-07-21[feature] LIST blobs - filter by flagsVictor Shyba
filter_flag parameter can now be used to filter listing blobs by a specific flags. Eg: I can ask for blobs on incoming namespace flagged as pending. -- Resolves: #8913
2017-07-21[feature] make DELETE support namespaces on clientVictor Shyba
Using a parameter, just like the other methods are doing. -- Resolves: #8873
2017-07-21[feature] add possibility to count on blob managerVictor Shyba
By using `only_count=True` parameter, instead of returning a full list, server just count the amount of blobs. -- Resolves: #8871
2017-07-21[feature] add get/set flagsVictor 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-21[refactor] creates a common.blobs with preambleVictor Shyba
Refactor suggested from !105 review.
2017-07-18[feat] use MX as default namepace for incoming blobsdrebs
2017-07-18[bug] avoid closing blobmanager if it doesn't existdrebs
2017-07-18[feat] toggle switch for blobs in the clientKali Kaneko
- Resolves: #8839
2017-07-18[style] fixes from reviewVictor Shyba
Updates IBlobsBackend with list_blobs order_by parameter and add a elif clause to order_by checking, raising if the ordering parameter isn't supported.
2017-07-18[feature] add namespace support for BlobsManagerVictor Shyba
'namespace' argument is supported by backend but not yet exposed on API for clients. Since IncomingBox makes heavy usage of it, this commit exposes the argument as a query string for clients to use it.
2017-07-18[feature] remote list sorting by dateVictor 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-18[feature] add blobs as a incoming api backendVictor 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-18[style] fix naming from reviewVictor Shyba
2017-07-18[feature] add blobs as a incoming api backendVictor 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-18[feature] add external/pgp to common/preambleVictor Shyba
Incoming API will receive externally encrypted PGP documents. This commit adds this kind of encryption scheme and method to preamble module on soledad.common -- Resolves: #8890
2017-07-18[refactor] move preamble module to commonVictor Shyba
This move allows server to use it on #8868 as described in #8890 -- Relates: #8890
2017-07-18[refactor] move preamble to a new moduleVictor Shyba
Extracted preamble code for making space to #8890 changes. -- Related: #8890
2017-07-18[style] pep8Kali Kaneko
2017-07-18[pkg] cover corner case with scrypt pathKali Kaneko
there is a combination that was failing, with a recent-enough version of cryptography coming from jessie-backports (>1.0), but still being linked to openssl 1.0 which does not have a usable scrypt backend. with this commit we fallback on doing scrypt using python's scrypt package.
2017-07-18[bug] use scrypt lib if an old cryptography foundKali Kaneko
2017-07-18[bug] fix bad importKali Kaneko
2017-07-18fix importkali kaneko
leap.common 0.6.0 renamed this method. we should think about not using the factory directly, since we want to deprecate leap.common.http
2017-07-08[feat] use OpenSSL backend for scrypt if availableKali Kaneko
This needs OpenSSL >= 1.1, otherwise it will keep using the scrypt dependency. We should think about deprecating scrypt as a dependency when we can be sure that the adoption of libssl 1.1 is wide enough. I think that at some point (soledad 0.11 or so) we can drop the scrypt dependency, which was being somehow problematic at times (the _scrypt.so was not appearing when installing with pip, needed workarounds). From that moment on, we can raise an error if an old libssl is found and no scrypt can be imported - leaving that to the user/packager. In debian stretch and afterwards, you can get that version by installing libssl-dev - Related: #8472
2017-07-02[feature] namespace capability to BlobsBackendVictor 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-07-02[bug] fix file path from repo unifyVictor Shyba
2017-07-02[feature] direct /incoming requests to IncomingResourceVictor Shyba
Adds the routing code for exposing /incoming from SoledadResource. - Related: #8827
2017-06-26[pkg] move examples folder to docs/Kali Kaneko
2017-06-26[pkg] remove non-needed gitignoreKali Kaneko
2017-06-24[pkg] use stock versioneerdrebs
2017-06-24[bug] fix package __version__ attributedrebs
2017-06-24[pkg] unify client and server into a single python packagedrebs
We have been discussing about this merge for a while. Its main goal is to simplify things: code navigation, but also packaging. The rationale is that the code is more cohesive in this way, and there's only one source package to install. Dependencies that are only for the server or the client will not be installed by default, and they are expected to be provided by the environment. There are setuptools extras defined for the client and the server. Debianization is still expected to split the single source package into 3 binaries. Another avantage is that the documentation can now install a single package with a single step, and therefore include the docstrings into the generated docs. - Resolves: #8896
2013-06-20Split client and server in two different packages and refactor.drebs
2013-06-13Merge remote-tracking branch 'remotes/chiiph/bug/modifiable_timeout' into ↵drebs
develop
2013-06-11Make request timeouts modifiableTomás Touceda
2013-06-07Do not list the backends as __all__Tomás Touceda
2013-06-06Add encrypted sync test case.drebs
2013-06-06Remove unneeded imports from Soledad tests.drebs
2013-06-05Remove strict dependency on leap.common.drebs
* Encapsulate leap_assert and leap_assert_type so Soledad works without them. * Remove dependency on leap.common.files.mkdir_p(). * Encapsulate signaling. * Add changes file.
2013-06-05Move symmetric encryption/decryption code from leap.common to leap.soledad.drebs
2013-06-05Use scrypt to derive key for local encryption.drebs
2013-06-03Merge remote-tracking branch ↵Tomás Touceda
'drebs/feature/2359-avoid-encoding-problems-when-storing-u1db-data' into develop
2013-06-03Add cipher, hmac and kdf info to docstrings.drebs
2013-06-01Encode all u1db data before storing.drebs
2013-05-31Add SQLCipher API to SQLCipher backend.drebs
* Add code for use of raw 64 hex-char key in sqlcipher databases. * Add encrypted db assertion according to sqlcipher doc. * Add the following PRAGMAS to the API: * PRAGMA cipher * PRAGMA kdf_iter * PRAGMA cipher_page_size * PRAGMA rekey
2013-05-30Fix pep8 style.drebs
2013-05-30Add tests for events signaling.drebs
2013-05-30Remove unneeded exception import.drebs
2013-05-28Remove uneeded KeyManager import.drebs