summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2017-02-09[test] move client secrets tests to its own filedrebs
2017-02-09[bug] several fixes for secrets refactordrebs
- store ENC_METHOD value instead of string in secrets file - allow for migration of not-activated secrets - allow migration of 'aes256' and ENC_METHOD secrets cipher
2017-02-09[bug] Fix import for load_configuration on migration scriptThais Siqueira
Related with https://leap.se/code/issues/8742
2017-02-09[test] fix test after secrets refactordrebs
2017-02-09[bug] use derived key for local storagedrebs
2017-02-09[refactor] improve secrets generation and storage codedrebs
2017-01-31[pkg] add systemd service file to debian packagedrebs
2017-01-31[pkg] unify and fix override_dh_auto_cleandrebs
2016-12-23[pkg] avoid writing a pid filedrebs
The --pidfile= flag prevents twistd from writing a pidfile. A pidfile is not necessary when Twisted runs as a foreground process. See: https://twistedmatrix.com/documents/current/core/howto/systemd.html
2016-12-23[pkg] add soledad to the ssl-cert groupdrebs
Now that uid an gid of the application are changed earlier by systemd (instead of twistd), soledad will fail to start if it doesn't have permission to read the ssl certificate with the new uid/gid. This commit adds soledad to the ssl-cert group, which is the group of the certificate as set by the platform.
2016-12-23[pkg] use systemd in debian packagedrebs
2016-12-23[pkg] switch to systemd-style initdrebs
2016-12-23[pkg] add empty debian postrm file for soledad-serverdrebs
Seems that this file was removed in the process of packaging different versions of soledad. The missing file caused dh_installinit to create a standard debhelper file that violated lintian. See the following issue for more details: https://leap.se/code/issues/8701
2016-12-22[pkg] update debian changelogdrebs
2016-12-22Merge tag '0.9.2' into debian/platform-0.9drebs
Tag version 0.9.2
2016-12-22Merge tag '0.9.2'drebs
Tag version 0.9.2 # gpg: Signature made Thu 22 Dec 2016 05:33:30 PM BRST # gpg: using RSA key 0x6071E70DCACC60B2 # gpg: Good signature from "drebs (work key) <db@leap.se>" [ultimate] # gpg: aka "drebs (work key) <drebs@leap.se>" [ultimate] # Impressão da chave primária: 9F73 295B 6306 E06F 3151 99AE 6071 E70D CACC 60B2