Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-22 | [test] limit cpu sets for docker perf test containers | drebs | |
2016-06-22 | [test] add commit/branch checkout to docker test running script | drebs | |
2016-06-22 | [test] add logging to client running on docker container | drebs | |
2016-06-22 | [test] improve docker scripts README file | drebs | |
2016-06-22 | [test] refactor of docker scripts | drebs | |
2016-06-22 | [test] improve docker run-test script | drebs | |
2016-06-22 | [test] improve repo config and checkout on docker scripts | drebs | |
2016-06-22 | [test] create dir before cert on setup-env script | drebs | |
2016-06-22 | [test] update docker image before test | drebs | |
2016-06-22 | [test] add memory limit to docker containers | drebs | |
2016-06-22 | [style] pep8 fix | drebs | |
2016-06-22 | [test] add docker perf tests | drebs | |
2016-06-22 | [style] pep8 | Kali Kaneko | |
2016-06-22 | [bug] fix test processing order | NavaL | |
This moves the reactor time to the loopingcall period. This is necessary as the decryption is now deferred to a thread. The test will exit before the task is executed otherwise. | |||
2016-06-22 | [style] pep8 compatibility: indent and white space | NavaL | |
It was breaking E126 and E202 before | |||
2016-06-15 | [bug] move the decryption to a threadpool too | Kali Kaneko | |
2016-06-15 | [bug] initialize OpenSSL context just once | Kali Kaneko | |
Do not initialize the openssl context on each call to decrypt. I'm not 100% sure of the causal chain, but it seems that the initialization of the osrandom engine that openssl backend does might be breaking havoc when sqlcipher is calling rand_bytes concurrently. further testing is needed to confirm this is the ultimate cause, but in my tests this change avoids the occurrence of the dreaded Floating Point Exception in soledad/sqlcipher. - Resolves: #8180 | |||
2016-06-08 | [tests] avoid using get_all_docs on asserts | Victor Shyba | |
EncryptedSyncTestCase.test_sync_very_large_files is still getting an excessive amount of memory on very slow machines (specially on old spinning magnetic disks). This commit checks each doc at a time instead of getting them all. More refinement is necessary for this test to pass on any machine. | |||
2016-06-08 | [refactor] reorganize scripts dir | drebs | |
2016-06-08 | [feature] add script to run tests for a gitlab ci runner | drebs | |
2016-06-08 | [bug] install pip from default location | drebs | |
Old versions of pip do not accept the --trusted-host option and will complain when trying to upgrade pip from wheel. To fix that we upgrade pip from usual location instead of doing it from wheel. | |||
2016-06-08 | [feat] add .gitlab-ci.yml | drebs | |
2016-06-07 | [pkg] remove unused chardet dependency | Kali Kaneko | |
2016-06-06 | [doc] improve docker script docs | drebs | |
2016-06-06 | [test] add rule for running trial tests in a docker container | drebs | |
2016-06-06 | [test] add rule and script to run soledad connection test | drebs | |
2016-06-06 | [test] add shared db setup to docker start server script | drebs | |
2016-06-06 | [test] add makefile option to rm all docker containers | drebs | |
2016-06-06 | [test] pep8 fix on test script | drebs | |
2016-06-06 | [test] fix docker image run example in readme file | drebs | |
2016-06-06 | [test] add soledad-perf repo to docker image | drebs | |
2016-06-06 | [test] fix test-env script command line option | drebs | |
2016-06-06 | [test] fix docker makefile target for running client test | drebs | |
2016-06-06 | [test] add missing deps to Dockerfile | drebs | |
2016-06-06 | [test] add files to create docker image | drebs | |
2016-06-06 | [style] remove misused lambdas | Tulio Casagrande | |
Pep8 was warning about assignment of lambdas. These lambdas should be partials | |||
2016-06-06 | [docs] add note about server token format | Kali Kaneko | |
2016-06-06 | [test] use inline deferreds in test for change passphrase | drebs | |
2016-06-06 | [test] turn test for _gen_secret into many unit tests | drebs | |
2016-06-06 | [feat] add recovery doc format version | drebs | |
2016-06-06 | [feature] add sync phase stats | drebs | |
2016-06-06 | [bug] ensures docs_received table has the sync_id column | NavaL | |
For the case where the user already has data synced, this commit will migrate the docs_received table to have the column sync_id. That is required by the refactoring in the previous commits. | |||
2016-06-06 | [bug] delete all docs on start and ensure isolation | Victor Shyba | |
Docs created from one failed sync would be there for the next one, possibly causing a lot of hard to find errors. This commit adds a sync_id field to track each sync documents isolated and cleans up the pool on start instead of constructor. | |||
2016-06-06 | [refactor] encdecpool queries and testing | Victor Shyba | |
This commit adds tests for doc ordering and encdecpool control (start/stop). Also optimizes by deleting in batch and checking for a sequence in memory before asking the local staging for documents. | |||
2016-06-06 | [refactor] bye multiprocessing pool | Victor Shyba | |
This commit removes the multiprocessing pool and gives a step closer to make encdecpool simpler. Download speed is now at a constant rate, CPU usage lower and reactor responding fast when running with a HTTP server like Pixelated. | |||
2016-06-06 | [feature] use deferred semaphore | Kali Kaneko | |
2016-06-06 | [bug] remove doc content conversion to unicode | drebs | |
Theoretically (until now), Soledad inherits from U1DB the behaviour of only accepting valid JSON for documents contents. JSON documents only allow for unicode strings. Despite that, until now we had implemented lossy convertion to unicode to avoid encoding errors when dumping/loading JSON content. This allowed for API users to pass non-unicode to Soledad, but caused the application to take more time because of conversion. There were 2 problem with this: (1) conversion may take a long time and a lot of memory when convertin large payloads; and (2) conversion was being made before deferring to the adbapi, and this was blocking the reactor. This commit completelly removes the conversion to unicode, thus leaving the responsibility of unicode conversion to users of the Soledad API. | |||
2016-06-06 | [refactor] adapt profiling script to local debug server | Kali Kaneko | |
2016-06-06 | [refactor] adapt create-user-db script to bypass auth for local tests | Kali Kaneko | |
2016-06-06 | [feature] debug-mode server with dummy authentication | Kali Kaneko | |
to ease debugging of local servers w/o neededing the Token machinery in place. this needs still some extra changes to be fully functional: - adapt the create-userdb script to work with no auth info. |