summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-15[feature] authenticate as anonymous if no token in headerKali 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 itKali Kaneko
2017-02-15[feature] add version to the bannerKali Kaneko
2017-02-15[bug] add expected attribute to authentication wrapper in entrypointKali 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 scriptdrebs
2017-02-13[pkg] fail on errorsKali Kaneko
2017-02-13[pkg] add script for deploying from gitKali Kaneko
- Resolves: #8765
2017-02-13[bug] fix typo, againKali Kaneko
2017-02-13[bug] fix import typo on create-user-dbKali Kaneko
2017-02-13[tests] conf format changed, no more nestingVictor Shyba
2017-02-13[tests] server parameter is gone, patch the moduleVictor Shyba
2017-02-13[bug] get a new server instance on each request to the tokens dbKali Kaneko
2017-02-12[refactor] update create-user-db script to use config refactorKali Kaneko
2017-02-10[bug] fix config handling after refactorKali Kaneko
2017-02-10[bug] revert loading from the wsgi entrypointKali Kaneko
2017-02-10[pkg] use the entrypoint from the systemd script tooKali Kaneko
2017-02-10[bug] effectively load the configuration for the appKali 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 moduleKali Kaneko
2017-02-10[bug] fix typo in the resource pathKali Kaneko
2017-02-09[docs] add changelog-next fileKali Kaneko
2017-02-09[pkg] add systemd service file to masterKali Kaneko
this is to ease the packaging flow used in some environments like Pixelated, that use a debian branch against different branches. - Resolves: #8762
2017-02-09[test] move server url mapper tests to its own filedrebs
2017-02-09[refactor] parametrize blobs toggling in soledad server resourcedrebs
2017-02-09[refacor] make proper use of twisted web dyamic resources in serverdrebs
2017-02-09[refactor] allow passing threadpool pool for server sync resourcedrebs
2017-02-09[refactor] move wsgi sync setup to its own moduledrebs
2017-02-09[test] add tests for server resource and server infodrebs
2017-02-09[feature] announce server blobs capabilitiesdrebs
- add a new ServerInfo resource for / - move entrypoint to its own module
2017-02-09[refactor] rename server auth classesdrebs
2017-02-09[feature] add server config option for blobsdrebs
2017-02-09[test] move server auth tests to its own filedrebs
2017-02-09[feature] add server config option for blobsdrebs
2017-02-09[bug] Fix import for load_configuration on migration scriptThais Siqueira
2017-02-09[refactor] allow passing threadpool pool for server sync resourcedrebs
Conflicts: server/src/leap/soledad/server/_resource.py testing/tests/server/test__resource.py
2017-02-09[refactor] move wsgi sync setup to its own moduledrebs
Conflicts: server/src/leap/soledad/server/_wsgi.py server/src/leap/soledad/server/entrypoint.py server/src/leap/soledad/server/resource.py testing/tests/server/test__resource.py
2017-02-09[test] fix session and auth testsdrebs
2017-02-09[test] add tests for server auth sessiondrebs
2017-02-09[test] add tests for server authdrebs
2017-02-09[refactor] remove twisted session persistencedrebs
The need for token caching in server is a matter of debate, as is the ideal way to do it. Twisted sessions store the session id in a cookie and use that session id to persist. It is not clear if that implementation is needed, works with future features (as multiple soledad servers) or represents a security problem in some way. Because of these, this commit removes it for now. The feature is left in git history so we can bring it back later if needed.
2017-02-09[test] split url mapper test in many smaller testsdrebs
2017-02-09[bug] fix name of module on importdrebs
2017-02-09[refactor] remove leftover code from previous wsgi authdrebs
2017-02-09[refactor] separate url mapper, avoid hanging testsdrebs
Because the wsgi resource has its own threadpool, tests might get confused when shutting down and the reactor may get clogged waiting for the threadpool to be stopped. By refactoring the URLMapper to its own module, server tests can avoid loading the resource module, where the wsgi threadpool resides, so the threapool will not be started.
2017-02-09[feat] use cookies in the client syncerdrebs
2017-02-09[feat] cache session data in serverdrebs
2017-02-09[feat] use twisted web http auth and credsdrebs
2017-02-09[feat] reuse the url mapper instead of creating it for every requestdrebs
2017-02-09[bug] disallow all requests to "user-{uuid}/"drebs
2017-02-09[pkg] improve migration script loggingdrebs
2017-02-09[doc] improve comment for client secrets file migration functiondrebs