summaryrefslogtreecommitdiff
path: root/client
AgeCommit message (Collapse)Author
2014-02-20add locks for create_doc and update_indexes. Closes: #5139Kali Kaneko
This solves a InterfaceError (sqlite error code 21) we were having with massive concurrent creation/puts.
2014-02-19Remove global client rw lockKali Kaneko
leap.mail is handling locks in a finer-grained way now, so we do not need to block everything so much
2014-01-27Always return unicode, even on UnicodeError.Ivan Alejandro
2014-01-26add pragmas for temp_store=mem and synchronous=offKali Kaneko
controlled by environmental variables
2014-01-15add rw_lock to client opsKali Kaneko
2014-01-06Add proper error reporting to shared db lock.drebs
2013-12-24Avoid concurrent sync attempts from the same replica in the client (#4451).drebs
2013-12-20catch cannotsendrequest exceptionKali Kaneko
2013-12-19Set soledad timeout default to 2 minKali Kaneko
2013-12-19Do not instantiate the synchronizer each time.Kali Kaneko
This has the nice effect of letting the persistent-connection reuse the existing connection, avoiding the ssl handshake overhead each time we try to synchronize. This can be traced by logging the instantiation of HttpClientBase in u1db.remote I *think* we should be fine with the timeouts as long as we keep the sync period along the 1 min we are doing now. For other cases, we should look into how to override the default timeout in httplib (used by u1db http_client).
2013-12-19add http-encoding header, decode it tooKali Kaneko
2013-12-17Use git.exe instead of git.cmd in windows since we use GitBashTomás Touceda
2013-12-16patch the _version file so it reports the running versionKali Kaneko
until now this was only possible when running python setup.py version from the source tree. now the <module>.__version__ also reports correctly the runnng version
2013-12-13Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/kali/feature/expand-sqlicipher-capabilities' into develop
2013-12-13get_count_from_indexKali Kaneko
2013-12-12Merge remote-tracking branch 'chiiph/bug/unlock_shared_if_failed' into developIvan Alejandro
2013-12-12Unlock shared db if bootstrapping fails in any wayTomás Touceda
2013-12-09pep8 happyKali Kaneko
2013-12-06Fold in changesTomás Touceda
2013-12-04Revert "Stop creating per-user databases. Closes #4626."Tomás Touceda
This reverts commit 6eeed5c116d38ebae7d9309dd2f11660f6cff37e.
2013-11-29Stop creating per-user databases. Closes #4626.drebs
2013-11-21Add scripts for debugging client and server side databases.drebs
2013-11-21Add unicode conversion to put_doc. Closes #4095.drebs
2013-11-19Merge remote-tracking branch ↵Tomás Touceda
'drebs/feature/4348_add-mac-verification-to-recovery-doc' into develop
2013-11-19Add MAC verification to recovery document. Closes #4348.drebs
2013-11-15Fold in changesTomás Touceda
2013-11-08Merge remote-tracking branch 'kali/bug/default-detected-encoding-to-utf8' ↵Tomás Touceda
into develop
2013-11-08default detected encoding to utf-8Kali Kaneko
2013-11-07open db in autocommit modeKali Kaneko
2013-11-01Fold in changesTomás Touceda
2013-10-31change error severityKali Kaneko
2013-10-30add freeze_debianver commandKali Kaneko
2013-10-29Passphrase is already an unicode object.Ivan Alejandro
As we enforce to have the passphrase as an unicode object, we no longer need this conversion. [Related to bug #4330]
2013-10-28Add shared db locking.drebs
* Improve bootstrap sequence: - stages are more organized. - there are less useless requests to server. * Improve shared db access: - instantiate the shared db only once. - also results in less requests to server. * Handle unicode passphrases. * Move some common functions and global variables to common. * Improve security of recovery document: - access to the recovery document now depends on the user password. * Improve documentation.
2013-10-28use chardet as fallbackKali Kaneko
2013-10-23Support use of non-ascii passwords.Ivan Alejandro
[Closes #4001]
2013-10-03Convert to utf8 all the strings before saving themTomás Touceda
2013-09-30Updates to client docstringsKali Kaneko
* Add a more precise description of cert_file * change docstring placeholder to be compliant with sphinx rst
2013-09-18remove redundant loggingKali Kaneko
2013-09-16reorder importsKali Kaneko
2013-09-06Fold in changes.0.3.2Ivan Alejandro
2013-08-28Use dirspec instead of plain xdg. Closes #3574.Ivan Alejandro
2013-08-27Merge remote-tracking branch 'kali/hotfix/add_manifest_license' into developTomás Touceda
2013-08-27add manifest.in and license to the 3 subprojectsKali Kaneko
2013-08-26Add some notes about the package split.Kali Kaneko
* in description line * in readme * add each package crate icon and link.
2013-08-23Fold in changes0.3.1Tomás Touceda
2013-08-23packaging improvementsKali Kaneko
* add versioneer (patched for our particular repo config) * add parse_requirements to unify requirement handling
2013-08-22remove unused dbwrapperKali Kaneko
2013-08-21Split soledad into common, client and server.drebs