summaryrefslogtreecommitdiff
path: root/scripts/db_access
AgeCommit message (Collapse)Author
2016-12-12[refactor] improve loggingVictor Shyba
Some exceptions were missing a proper description and client_side_db.py script wasn't capturing logs from Twisted.
2016-12-12[test] fix test and remove leftovers defer_encryptionVictor Shyba
2016-06-06[test] pep8 fix on test scriptdrebs
2015-10-05[feat] Move config dir to /etc/soledadvarac
- Resolves: #7509
2015-08-03[style] pep8Kali Kaneko
2015-08-03[feat] allow repeated sync in client db 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-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-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-08-08Protect sync db with a password.drebs
2014-08-01Make client db access script defer decryption.drebs
2014-06-05Reorganize profiling scripts.drebs
2014-06-03Add password option to client db script.drebs
2014-03-26Add script for resetting users database.drebs
2014-03-14Improve client db access script.drebs
2014-03-11Add script to measure PUT memory usage.drebs