Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-13 | [doc] add api doc for blobs backend | drebs | |
2017-12-04 | [bug] escape tag and size | Victor Shyba | |
It was generating spaces, causing split to fail sometimes. | |||
2017-12-04 | [style] fixes from code review | Victor Shyba | |
2017-12-01 | [feature] stream blobs from a CooperativeTask | Victor 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 downloader | Victor Shyba | |
First version, still missing consumer/producer model and some tweaks, but working. -- Related: #8809 | |||
2017-12-01 | [feature] add implementation for get_blob_size | Victor Shyba | |
2017-12-01 | [refactor] get namespace as an optional query arg | Victor Shyba | |
2017-12-01 | [bug] missing self parameter on class method | Victor Shyba | |
2017-12-01 | [feature] add a streaming resource | Victor Shyba | |
-- Related: #8809 | |||
2017-11-22 | [feature] make logs less noisy by monkey-patching ↵ | drebs | |
twisted.internet.protocol.Factory | |||
2017-11-22 | [bug] ensure shutdown happens only after reactor start | drebs | |
2017-11-21 | [bug] use os._exit to ensure a clean log on startup failure | drebs | |
2017-11-20 | [bug] log and exit on server startup errors | drebs | |
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 fail | drebs | |
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 environment | drebs | |
2017-11-14 | [refactor] factor server twisted app to it's own .py file | drebs | |
2017-11-14 | [style] comment fix and variable renaming | drebs | |
2017-11-14 | [bug] use custom logger everywhere in server | drebs | |
2017-11-14 | [bug] remove unneeded delayed initialization of couch state | drebs | |
2017-11-14 | [bug] wait for checks before running servers | drebs | |
2017-11-14 | [refactor] rename entrypoints to match design docs | drebs | |
2017-11-14 | [pkg] add binary command for soledad-server | drebs | |
2017-11-13 | [style] fixes from code review | Victor Shyba | |
2017-11-13 | [feature] list deleted files from server | Victor Shyba | |
-- Related: #8961 | |||
2017-10-31 | [feat] improve speed of server startup | drebs | |
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-27 | [style] E722 do not use bare except | Victor Shyba | |
2017-10-23 | [bug] revert unintentional changes from last commit | drebs | |
2017-10-23 | [doc] add script for copying doc to leap_se repo | drebs | |
2017-10-16 | [bug] use all default server config values | drebs | |
Server config dictionary was being poorly updated, and not all default values were being added in runtime. This was mainly a problem in tests, but fixing may avoid possible bugs with this implementation in the future. | |||
2017-10-12 | [feature] make concurrent blob writes configurable | drebs | |
2017-10-11 | [bug] limit concurrent blob writes in server | drebs | |
If there's no limit to the number of concurrent blob writes in the server, the maximum limit of open files will eventually be reached, and the processing of requests will start crashing. This commit adds a semaphore to limit the number of concurrent writes in the server. Related: #8973 | |||
2017-10-10 | [feature] log OS errors when writing blobs | drebs | |
2017-10-10 | [bug] handle put errors in the incoming blobs api | drebs | |
An errback was missing in the PUT renderer method of the incoming API. Because of that, requests to that endpoint were not being correctly finished in case of errors when writing blobs. That was causing delivery requests to hang until timeout. Closes: #8977 | |||
2017-10-05 | [bug] refuse to start if blobs is misconfigured | Victor Shyba | |
As kali pointed out, one can disable blobs after enabling it, which would cause data loss as blobs documents would become unreacheable. This commit adds a warning and refuses to start the server. -- Resolves: #8866 | |||
2017-10-05 | [style] fix typos on filenames and comments | Victor Shyba | |
2017-09-30 | [bug] fix argument passing in blobs queries | drebs | |
2017-09-29 | [bug] check all http response status codes | drebs | |
2017-09-14 | [pkg] standardize location of services tokens file | drebs | |
Introduction of local services authentication added a configuration file containing the auth tokens for each service. There were different names for that file, and this commit standardizes all of them to the same value: /etc/soledad/services.tokens | |||
2017-09-14 | [pkg] use /var/lib/soledad/blobs to store blobs | drebs | |
Soledad Server was previously using something in /srv to store blobs in the server side. Debian/lintian doesn't like that at all, so we are changing to /var/lib/soledad/blobs. Closes: #8948 | |||
2017-09-11 | [bug] close consumer on FileBodyProducer | Victor Shyba | |
It isn't closed by Twisted like the producer is. -- Resolves: #8924 -- Related: #8932 | |||
2017-09-08 | [bug] allow POST to blobs resource8938 | drebs | |
2017-09-05 | [doc] document environment variables | drebs | |
2017-09-05 | [feat] cache session data in server | drebs | |
2017-09-05 | [refactor] follow new resource class style naming | drebs | |
2017-09-05 | [bug] add schema to incoming couchdb backend | Victor Shyba | |
Schema was using a default value instead of using the one passed as a parameter. Additional test for formatter is also included. -- Related: #8867 | |||
2017-09-05 | [bug] avoid cross uuid checks on incoming | Victor Shyba | |
Incoming API is supposed to be able to, given a valid service token, write a incoming document into any user database. Leaving the parameter as 'uuid' triggers defensive code against unauthorized accesses between users. This commit renames the parameter so this isn't checked. -- Related: #8867 | |||
2017-09-05 | [style] improve naming and fixes from code review | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [bug] check for conflicting ports + systemd fixes | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [bug] remove incoming child from SoledadResource | Victor Shyba | |
-- Related: #8867 | |||
2017-09-05 | [pkg] move server.tac to server src folder | Victor Shyba | |
This way the file gets copied during package install. -- Related: #8867 |