summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-20[test] always use a tempdir for server fixture config filedrebs
When starting up a Soledad Server through the use of a fixture in tests, a config file is created with the options needed for that test. As the config file was being created in /etc and not being removed, this was influencing servers started by other tests that don't use that fixture. By always using a temporary directory in the server fixture, we make sure that the config file is used only for that test and is removed after the test is finished. Closes: #8995
2017-11-19[test] use environment to pass the couch_url to server TAC testdrebs
2017-11-19[feature] allow setting couchdb url from environmentdrebs
2017-11-19[test] TAC test now checks for server (with retries)drebs
After we fixed the server to wait for checks before listening on ports (201ef7a9b979f8c8efaedbe542c631944d8956f4), the TAC test started failing randomly in our CI, probably because sometimes the server takes more than 1 second to startup in the CI setup (docker in a vm). This commit adds a check with retry, and so the test will retry 10 times with an interval of 1 second before failing.
2017-11-19[benchmarks] pin elasticsearch-py version to avoid TLS certs bugdrebs
elasticsearch-py 6.0.0 introduced a TLS cert verification bug: https://github.com/elastic/elasticsearch-py/issues/669 That bug affects our benchmarks ci pipeline: https://0xacab.org/leap/soledad/issues/8993#note_128667 This commit only pins the version of elasticsearch-py used by benchamarks to avoid that bug. This pinning should probably be removed when the next version of elasticsearch-py is released. Closes #8993.
2017-11-15[pkg] update debian changelog0.10.4drebs
2017-11-15[pkg] bump sphinx release infodrebs
2017-11-15[pkg] update changelogdrebs
2017-11-14[refactor] factor server twisted app to it's own .py filedrebs
2017-11-14[style] comment fix and variable renamingdrebs
2017-11-14[bug] use custom logger everywhere in serverdrebs
2017-11-14[bug] remove unneeded delayed initialization of couch statedrebs
2017-11-14[bug] wait for checks before running serversdrebs
2017-11-14[refactor] rename entrypoints to match design docsdrebs
2017-11-14[pkg] make debian package report the correct versiondrebs
The Soledad python source currently makes use of versioneer to calculate versions dynamically and hardcode versions upon creation of the python package. Unfortunatlly, this procedure does not behave well with debian packaging, and we need to manually generate/replace the _version.py file so the code that ends up in the debian package reports the correct version of the software. This commit adds a script to replace the _version.py file with a static one and rules during packaging to run that script during preparation stage of debian helper.
2017-11-14[pkg] add man page for soledad-serverdrebs
2017-11-14[pkg] add binary command for soledad-serverdrebs
2017-11-13[style] fixes from code reviewVictor Shyba
2017-11-13[feature] support unsynced local_only blobsVictor Shyba
Adds the ability to have document that wont be synced. This enables applications to use soledad to store temporary blobs that should be discarded later instead of unnecessarily keeping the sync loop busy. -- Resolves: #8819
2017-11-13[feature] apply deletions from serverVictor Shyba
Sync method to propagate deletions in batch locally. -- Resolves: #8961
2017-11-13[feature] list deleted files from serverVictor Shyba
-- Related: #8961
2017-11-13[bug] update pending_upload from server listingVictor Shyba
We were doing it for downloads, but not for uploads.
2017-11-10[bug] mark deletion as pending_delete if offlineVictor Shyba
This commit creates a PENDING_DELETE sync status which can be used to keep track of whats deleted locally in order to propagate to server later. -- Related: #8961
2017-11-09[bug] retry on sqlcipher db timeouts for blobsdrebs
Closes: #8981.
2017-11-09[pkg] add man page for user db creation scriptdrebs
Closes: #8895
2017-11-09[pkg] make user db argument mandatory in user db creation scriptdrebs
2017-11-09[pkg] remove unused --migrate-all option from user db creation scriptdrebs
2017-11-09[tests] remove revision when copying couch dbsdrebs
2017-11-06[ci] do not update cache when packagingdrebs
2017-11-03[doc] improve blobs http api descriptiondrebs
2017-11-03[doc] move blobs data structure info to blobs sync sectiondrebs
2017-11-03[doc] add blob data format to docsdrebs
2017-11-03[doc] generalize client side encryption docdrebs
2017-11-03[doc] improve client-side dbs docdrebs
2017-11-03[doc] add blobs api docdrebs
2017-11-02[doc] add blobs sync docsdrebs
2017-11-02[doc] split blobs doc in many pagesdrebs
2017-11-02[benchmarks] make blob size configurable in scalability testsdrebs
2017-11-02[benchmarks] use only one user in scalability testsdrebs
2017-11-02[benchmarks] add some orchestration to scalability testsdrebs
2017-11-02[benchmarks] add code for stressing the serverdrebs
2017-11-02[benchmarks] add tokens setup to server scalability test controllerdrebs
2017-11-02[benchmarks] add blob template creator for scalability testdrebs
2017-11-02[benchmarks] add test controller for scalability testsdrebs
2017-10-31[bug] set errbacks before gathering resultsVictor Shyba
2017-10-31[feat] improve speed of server startupdrebs
To avoid corrupting data, Soledad Server checks all user databases during startup to make sure all of them use the correct schema version. This was done synchronously, so when there are many databases startup would take a long time. This commit makes that verification asynchronous, thus speeding up server startup.
2017-10-31[style] wrong/missing docs/comments (code review)Victor Shyba
2017-10-31[feature] add sync progress attributeVictor Shyba
--Resolves: #8848
2017-10-27[bug] there is no retry limit for usual transfersVictor Shyba
Retry limit was originally specified in #8825 as a protection mechanism, but #8822 (retry) doesn't specify a retry limit. In fact, blobs is supposed to retry until transfer is complete using timed delays between attempts, but never giving up. -- Related: #8822 -- Related: #8825
2017-10-27[refactor] semaphore.run instead acquire/releaseVictor Shyba