summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-12-05[bug] transfer maximum allowed number of blobsdrebs
-- Closes: #9004
2017-12-04[bug] escape tag and sizeVictor Shyba
It was generating spaces, causing split to fail sometimes.
2017-12-04[style] fixes from code reviewVictor Shyba
2017-12-01[feature] stream blobs from a CooperativeTaskVictor Shyba
Adds a CooperativeTask to stream blobs to client as the transport is able to handle it, pausing and resuming as necessary. -- Related: #8809
2017-12-01[feature] adds a stream downloaderVictor Shyba
First version, still missing consumer/producer model and some tweaks, but working. -- Related: #8809
2017-12-01[feature] add implementation for get_blob_sizeVictor Shyba
2017-12-01[refactor] get namespace as an optional query argVictor Shyba
2017-12-01[bug] missing self parameter on class methodVictor Shyba
2017-12-01[feature] add a streaming resourceVictor Shyba
-- Related: #8809
2017-12-01[style] fix typoVictor Shyba
2017-11-30[style] remove public get/set blob priority methodsdrebs
2017-11-30[bug] avoid overwriting priorities on sync status batch updatedrebs
2017-11-30[style] some sugar for setting the priorityKali Kaneko
2017-11-30[feature] add priorities for blob transfersdrebs
Closes: #8691
2017-11-29[feature] add bandwidth throttling to the clientdrebs
Intercept the creation of the protocol factory in the HTTP connection pool to use twisted.protocols.policies.ThrottlingFactory and control the incoming and outgoing bandwidth. The factory only controls one connection, so when throttling we limit the number of connections of the pool to one per host. This way, throttling happens in a per-host basis. Closes: #8931
2017-11-22[refactor] extract list dbs methodVictor Shyba
2017-11-22[refactor] remove unused parameterVictor Shyba
2017-11-22[feature] make logs less noisy by monkey-patching ↵drebs
twisted.internet.protocol.Factory
2017-11-22[bug] properly log missing schema version in config docdrebs
2017-11-22[bug] ensure shutdown happens only after reactor startdrebs
2017-11-22[bug] fix logging while checking CouchDB schema versions on server startupdrebs
2017-11-21[bug] use os._exit to ensure a clean log on startup failuredrebs
2017-11-20[bug] log and exit on server startup errorsdrebs
Some errors during server startup could leave the server in a zombie state (running, but not listening). This commit makes sure the server stops if errors occur during deferreds created on server startup. Closes #8997.
2017-11-20[bug] use reactor.stop() to exit when server startup checks faildrebs
Our current use of sys.exit(20) to stop the server when startup checks fail affects logging in a bad way. This commit uses a system event trigger to exit with the desired status code when startup checks fail. Closes: #8996
2017-11-19[feature] allow setting couchdb url from environmentdrebs
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] 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-03[doc] add blobs api docdrebs
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
2017-10-27[refactor] add a table for sync_statusVictor Shyba
As defined in #8970, this table and the new module will ease adding sync features such as priority queues and streaming. --Resolves: #8970
2017-10-27[style] E722 do not use bare exceptVictor Shyba
2017-10-27[bug] TypeError: Incorrect paddingVictor Shyba
preamble.py wasn't using urlsafe version of base64, while all other parts of blobs were using it. --Resolves: #8980
2017-10-27[refactor] split blobs into modulesVictor Shyba
So we can have manager, sync, sql and errors in its own places. --Related: #8970