summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2016-05-03[test] add script to manage test envsdrebs
2015-11-17[feat] add script to measure batch of uploadsKali Kaneko
- Releases: 0.8.0
2015-11-03[refactor] CouchDocument is now ServerDocumentVictor Shyba
As SoledadBackend is intended to be database agnostic, a new generic document is now used instead of the old one made for CouchDB. The only attribute that really relates to couch was couch_rev, removed on this commit as it can be set on CouchDatabase implementation when needed.
2015-10-05[feat] Move config dir to /etc/soledadvarac
- Resolves: #7509
2015-08-18[bug] always release lock on spam scriptdrebs
2015-08-11[tests] add util function to instantiate dowser mem profilerKali Kaneko
2015-08-11[feat] control sending messages in scriptKali Kaneko
- ability to disable sending (to get raw receive times) - ability to specify size and number of payloads - ability to point to a file to be used as raw source of payloads
2015-08-11[feat] add support for twisted-aware theseus profilerKali Kaneko
2015-08-11[bug] disable events on profilingKali Kaneko
2015-08-11[feat] update profile-sync script, add plop profilingKali Kaneko
Updating the profile-sync script to the latest deferred-based sync. - Added a couple of options to have finer control about what output to get. - Add support for the plop profiler https://pypi.python.org/pypi/plop/ - To get meaningful plop profiles, make sure to disable the system stats collection, like this:: ./profile-sync.py --no-stats --plop -b /tmp/syncdata/ -p sikret user@provider A good practice for this is having a pre-seeded soledad account (currently you have to do that through the wizard, a cli will be very nice to have in the coming future) with a known amount of data (for instance, sending some mails with known payload weight). It is VERY IMPORTANT that you *NEVER* process the data in this account (ie, do not ever log in with a mail client, for instance, since that will alter the original documents). In order to have comparable results, you should always run this sync script in similar conditions. Ideally, on a machine with runlevel 1. Also, make sure of deleting the contents in the folder if you are not using a temporal dir.
2015-08-03[style] pep8Kali Kaneko
2015-08-03[feat] allow repeated sync in client db scriptdrebs
2015-08-03[feat] use dynamic mx server in spam scriptdrebs
2015-07-27[feat] add smtp port and log level to spam scriptdrebs
2015-07-23[feat] several features in client db scriptdrebs
* Close soledad when finished. * Allow creation of many documents. * Store timestamp in documents. * Log errors. * Update docstrings.
2015-07-23[bug] properly close reactor on client db scriptdrebs
2015-07-23[feat] add auth data storage on client db scriptdrebs
2015-07-23[bug] use ssl smtp connection on spam scriptdrebs
2015-05-20[feature] ensure reactor stops on client db scriptdrebs
2015-05-20[feature] add --create-doc to client db scriptdrebs
2015-05-20[bug] fix order of insertion of decrypted docsdrebs
This commit actually does some different things: * When doing asynchronous decryption of incoming documents in soledad client during a sync, there was the possibility that a document corresponding to a newer generation would be decrypted and inserted in the local database before a document corresponding to an older generation. When this happened, the metadata about the target database (i.e. its locally-known generation) would be first updated to the newer generation, and then an attempt to insert a document corresponding to an older generation would cause the infamous InvalidGeneration error. To fix that we use the sync-index information that is contained in the sync stream to correctly find the insertable docs to be inserted in the local database, thus avoiding the problem described above. * Refactor the sync encrypt/decrypt pool to its own file. * Fix the use of twisted adbapi with multiprocessing. Closes: #6757.
2015-05-20[bug] fix log messages for secrets in storagedrebs
2015-04-23[bug] create directory in client db access scriptdrebs
2015-03-24[fix] turn client side db access script into asyncdrebs
With changes in soledad client api to make it async, the supporting scripts also have to be updated. This commit also adds more functionalities as exporting incoming mail and public or private keys.
2014-12-18Update testing scripts.drebs
2014-12-08Add key manager to client db access script.drebs
2014-12-08Update debian package building script.drebs
2014-09-10Add benchmarking scripts.drebs
2014-08-08Protect sync db with a password.drebs
2014-08-01Make client db access script defer decryption.drebs
2014-07-08Add spam script for profiling.drebs
2014-06-09Add profiling scripts.drebs
2014-06-05Reorganize profiling scripts.drebs
2014-06-03Add password option to client db script.drebs
2014-06-03Fix package build script.drebs
2014-04-09Reorganize scripts directory.drebs
2014-04-07Add script to compile design docs (#5315)drebs
2014-04-04Renew couch connection session after multipart PUT (#5448).drebs
2014-04-02Add test script for syncing many replicas concurrently (#5386).drebs
2014-03-26Add script for resetting users database.drebs
2014-03-14Improve client db access script.drebs
2014-03-12Add scripts to measure backend cpu usage.drebs
2014-03-11Add script to measure PUT memory usage.drebs
2014-03-11Add script for updating design docs.drebs
2014-03-11Remove old migration script.drebs
2014-03-07Improve local db script.drebs
2014-01-30Add script to find max upload size (#5011).drebs
2014-01-22Add debian package build dev script.drebs
2014-01-22Fix dev scripts doc and names.drebs
2013-12-18Add database migration script.drebs