Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-09 | [bug] add default version when decrypting secrets | Tulio Casagrande | |
Resolves: https://0xacab.org/leap/soledad/issues/8788 | |||
2017-03-02 | [test] add comments explaining behaviour of upload/download benchmark | drebs | |
2017-03-02 | [test] improve twistd startup and termination | drebs | |
- use subprocess.check_call() to ensure any errors during twistd startup will properly show up on test reports. - use SIGTERM instead of SIGKILL to gracefully terminate twistd. | |||
2017-03-02 | [test] mark benchmark tests using their group names | drebs | |
2017-03-02 | [test] bugfix: actually use an empty local db in download benchmarks | drebs | |
We were previously not using an empty local db for download benchmark tests, so there was actually nothing to sync. This commit fixes that by adding a way to force an empty local db on soledad client instantiation. | |||
2017-03-02 | [test] use new way of indicating the tcp port for twisted web | drebs | |
2017-03-02 | [test] fix test_sync_target for error handling | Victor Shyba | |
It needs a defer.Deferred | |||
2017-03-02 | [bug] handle error once | Victor Shyba | |
Handle it only if self.deferred wasnt called yet, otherwise that's just an out-of-sync call from a scheduled deferred. Since it was already logged, it's ok to ignore. | |||
2017-03-02 | [bug] fix shared database initialization | drebs | |
2017-02-27 | [style] move path config closer to blobs resource instantiation | drebs | |
2017-02-27 | [feat] add configurable blobs path in server | drebs | |
- Resolves: #8777 | |||
2017-02-25 | [bug] save client secret downloaded from remote storage | drebs | |
After refactor, the client secret bootstrap logic was flawed, and remote secret was not being saved properly. This commit fixed that and tries to improve the bootstrap code to make it more clear. | |||
2017-02-25 | [bug] remove unused named tuple from client secrets | drebs | |
2017-02-25 | [refactor] improve secret bootstrap code and doc | drebs | |
2017-02-25 | [doc] improve doc and rename EmitMixin to UserDataMixin | drebs | |
2017-02-25 | [refactor] pass soledad object to client secrets api | drebs | |
In order to be able to change passphrase, token and offline status of soledad from the bitmask client api, the secrets api also has to be able to use up-to-date values when encrypting/decrypting secrets and uploading/downloading them to the server. This commit makes public some soledad attributes that were previously "private" (i.e. used to start with "_" and were not meant to be accessed from outside), and passes the whole soledad object to the client secrets api. This makes the code cleaner and also allows for always getting newest values of soledad attributes. | |||
2017-02-23 | [refactor] remove syncable property from shared db | drebs | |
2017-02-23 | [feature] add offline status to soledad client api | drebs | |
2017-02-23 | [feat] avoid client sync if no token is set | drebs | |
2017-02-23 | [refactor] use get_token in client secrets api | drebs | |
2017-02-23 | [refactor] add EmitMixin for a cleaner emitting experience | drebs | |
2017-02-23 | [refactor] remove creds from client api | drebs | |
2017-02-17 | [bug] reuse wsgi threadpool | Kali Kaneko | |
it seems evident that the functions were thought to pass a threadpool along, but it finally wasn't properly passed and so there was a new threadpool created to handle every resource. I have removed the creation from the factory because I don't think it makes sense to create a threadpool on the fly, it's prone to errors. - Resolves: #8774 | |||
2017-02-17 | [refactor] create resources only once | Kali Kaneko | |
it doesn't make sense to create the resources for every request, we can reuse the same resource and create it in the constructor. - Resolves: #8770 | |||
2017-02-16 | [docs] add crypto preamble to changelog | Kali Kaneko | |
2017-02-16 | [style] add deprecation warning on legacy decoder | Victor Shyba | |
2017-02-16 | [feature] add doc size to preamble | Victor Shyba | |
That's necessary for blobs-io. Current code includes backwards compatibility branching and tests, which shall be removed on next releases. | |||
2017-02-15 | [tests] add tests for preamble encoding | Victor Shyba | |
2017-02-15 | [style] pep8 | Victor Shyba | |
2017-02-15 | [tests] fix tests | Kali Kaneko | |
2017-02-15 | [docs] add a to-do about perf | Kali Kaneko | |
2017-02-15 | [feature] add robots.txt | Kali Kaneko | |
-Resolves: #6178 | |||
2017-02-15 | [feature] authenticate as anonymous if no token in header | Kali Kaneko | |
and serve / banner and robots to anon users. instead of returning 401 for all cases, I treat the unauthenticated case as a special case, and switch the service tree apart. this allows to serve a different resource tree to unauthenticated users. the new URLs are registered with the mapper. I don't really like that dependency, could be handled by twisted alone, but meh. - Resolves: #8764 | |||
2017-02-15 | [pkg] restart service instead of starting it | Kali Kaneko | |
2017-02-15 | [feature] add version to the banner | Kali Kaneko | |
2017-02-15 | [bug] add expected attribute to authentication wrapper in entrypoint | Kali Kaneko | |
the authentication wrapper is goin to look for the _credentialFactories attribute. it will raise an exception if not found - Resolves: #8766 | |||
2017-02-13 | [pkg] add build-deb.sh script | drebs | |
2017-02-13 | [pkg] fail on errors | Kali Kaneko | |
2017-02-13 | [pkg] add script for deploying from git | Kali Kaneko | |
- Resolves: #8765 | |||
2017-02-13 | [bug] fix typo, again | Kali Kaneko | |
2017-02-13 | [bug] fix import typo on create-user-db | Kali Kaneko | |
2017-02-13 | [tests] conf format changed, no more nesting | Victor Shyba | |
2017-02-13 | [tests] server parameter is gone, patch the module | Victor Shyba | |
2017-02-13 | [bug] get a new server instance on each request to the tokens db | Kali Kaneko | |
2017-02-12 | [refactor] update create-user-db script to use config refactor | Kali Kaneko | |
2017-02-10 | [bug] fix config handling after refactor | Kali Kaneko | |
2017-02-10 | [bug] revert loading from the wsgi entrypoint | Kali Kaneko | |
2017-02-10 | [pkg] use the entrypoint from the systemd script too | Kali Kaneko | |
2017-02-10 | [bug] effectively load the configuration for the app | Kali Kaneko | |
the code for passing the configuration to the couch initialization was never called. it seems the entrypoint module wasn't finally hooked as expected. I think this fixes the problem, but further review is needed here: either the entrypoint module is to be used, or it better is removed. in the first case, this workaround probably needs to be reverted. | |||
2017-02-10 | [bug] fix import for the session module | Kali Kaneko | |