Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-11 | Fix incorrect ssl context setup | Kali Kaneko | |
The changes introduced in aafa79c0f5 having to do with the cert verification are incorrect, regarding the use of the newest ssl context api introduced in python 2.7.9. There the use of the server setup was taken, instead of the correct client options. I hereby apologize for the insuficient testing on that fix. It happens that I wrongly tested in an evironment that did the fallback to pre-2.7.9 interpreter. | |||
2014-12-05 | fix ssl negotiation | Kali Kaneko | |
since ssl.SSLContext does not exist prior to python 2.7.9 | |||
2014-12-05 | Use SSL negotiation. | Kali Kaneko | |
Although the API can be misleading, PROTOCOL_SSLv23 selects the highest protocol version that both the client and server support. Despite the name, this option can select “TLS” protocols as well as “SSL”. In this way, we can use TLSv1.2 (PROTOCOL_TLSv1 will *only* give us TLS v1.0) In the client side, we try to disable SSLv2 and SSLv3 options explicitely. The python version in wheezy does not offer PROTOCOL_TLSv1_2 nor OP_NO_SSLv2 or OP_NO_SSLv3 (It's new in 2.7.9) | |||
2014-12-05 | force tls v1 in soledad client. Partially fixes #6437 | Kali Kaneko | |
2014-07-10 | Fix recovery from failed sync. | drebs | |
2014-07-09 | Close all connections after syncing (#5518). | drebs | |
2014-07-08 | Stop syncers when closing soledad. | drebs | |
2014-07-08 | Fix common exception handling gotchas. | drebs | |
2014-07-08 | Add doc for syncers dictionary. | drebs | |
2014-07-08 | Stop the target when exceptions occur. | drebs | |
2014-07-08 | Fix sqlcipher db syncing property. | drebs | |
2014-07-08 | Update target sync with sequential info (#5869). | drebs | |
2014-07-03 | Properly stop sync and cancel threads on fail. | drebs | |
2014-07-02 | Split sync_exchange into many requests (#5517). | drebs | |
2014-07-02 | Decouple sync from actual encryption/decryption (#5326). | drebs | |
2014-06-05 | Add missing doc. | drebs | |
2014-06-05 | Move the syncing lock to inside SQLCipherDatabase. | drebs | |
2014-06-05 | Reset synchronizer state in order to reuse the same synchronizer multiple times. | drebs | |
2014-06-05 | Replace client sync state by a sync_id. | drebs | |
2014-05-28 | Turn SQLCipher.sync_state into a ClientSyncState instance. | drebs | |
2014-05-28 | Fix stuff from kali's review. | drebs | |
2014-05-22 | fix allow interrupt in target client | drebs | |
2014-05-22 | Add sync status signals (#5517). | drebs | |
2014-05-22 | Allow for interrupting and recovering sync (#5571). | drebs | |
2014-05-22 | Split sync in multiple POST requests in client (#5571). | drebs | |
2014-05-22 | Cleanup and pep8 fix. | drebs | |
2014-04-15 | Close connection after syncing (#5507). | drebs | |
2014-03-12 | Do not autocreate remote db when syncing (#5302). | drebs | |
2014-03-11 | Fix docstring typo. | drebs | |
2014-03-10 | minor docstring corrections | Kali Kaneko | |
2014-03-05 | backward-compatibility for socket.create_connection in 2.6 | Kali Kaneko | |
Closes: #5208 | |||
2014-02-20 | Set Write-Ahead Logging | Kali Kaneko | |
with autocommit set to 50 pages, a value that will permit fast reads. also set synchronous mode to normal on regular operation. | |||
2014-02-20 | add locks for create_doc and update_indexes. Closes: #5139 | Kali Kaneko | |
This solves a InterfaceError (sqlite error code 21) we were having with massive concurrent creation/puts. | |||
2014-02-19 | Remove global client rw lock | Kali Kaneko | |
leap.mail is handling locks in a finer-grained way now, so we do not need to block everything so much | |||
2014-01-27 | Always return unicode, even on UnicodeError. | Ivan Alejandro | |
2014-01-26 | add pragmas for temp_store=mem and synchronous=off | Kali Kaneko | |
controlled by environmental variables | |||
2014-01-15 | add rw_lock to client ops | Kali Kaneko | |
2014-01-06 | Add proper error reporting to shared db lock. | drebs | |
2013-12-24 | Avoid concurrent sync attempts from the same replica in the client (#4451). | drebs | |
2013-12-20 | catch cannotsendrequest exception | Kali Kaneko | |
2013-12-19 | Set soledad timeout default to 2 min | Kali Kaneko | |
2013-12-19 | Do 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-19 | add http-encoding header, decode it too | Kali Kaneko | |
2013-12-16 | patch the _version file so it reports the running version | Kali 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-13 | Merge remote-tracking branch ↵ | Tomás Touceda | |
'refs/remotes/kali/feature/expand-sqlicipher-capabilities' into develop | |||
2013-12-13 | get_count_from_index | Kali Kaneko | |
2013-12-12 | Merge remote-tracking branch 'chiiph/bug/unlock_shared_if_failed' into develop | Ivan Alejandro | |
2013-12-12 | Unlock shared db if bootstrapping fails in any way | Tomás Touceda | |
2013-12-09 | pep8 happy | Kali Kaneko | |
2013-12-04 | Revert "Stop creating per-user databases. Closes #4626." | Tomás Touceda | |
This reverts commit 6eeed5c116d38ebae7d9309dd2f11660f6cff37e. |