<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/client/changes, branch debian/platform-0.7</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[pkg] fold in changes</title>
<updated>2015-06-01T17:54:27+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-06-01T17:54:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=9fb1c47ca7da06d6feef6846b812aec28128ed78'/>
<id>9fb1c47ca7da06d6feef6846b812aec28128ed78</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[pkg] bump dependency versions</title>
<updated>2015-06-01T17:46:10+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-06-01T17:46:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=72af2ac4cc2252883f358af85c0921e11ccf7f80'/>
<id>72af2ac4cc2252883f358af85c0921e11ccf7f80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] adapt to new events api on common</title>
<updated>2015-05-27T15:02:39+00:00</updated>
<author>
<name>Ivan Alejandro</name>
<email>ivanalejandro0@gmail.com</email>
</author>
<published>2015-05-06T20:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=7d4ab674a167d48686f61310ff4ff6a62a545e67'/>
<id>7d4ab674a167d48686f61310ff4ff6a62a545e67</id>
<content type='text'>
- Related: #6359
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Related: #6359
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] add pool of http/https connections</title>
<updated>2015-05-25T16:49:28+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-05-25T14:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=31757168f6ad243ec83ba52b2e022298ba08f8d1'/>
<id>31757168f6ad243ec83ba52b2e022298ba08f8d1</id>
<content type='text'>
Instead of opening one TCP connection for each HTTP request, we want to reuse
connections. Also, we need to be able to verify SSL certificates. This commit
implements both features in the twisted http client sync.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of opening one TCP connection for each HTTP request, we want to reuse
connections. Also, we need to be able to verify SSL certificates. This commit
implements both features in the twisted http client sync.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] use twisted.web.client in client sync</title>
<updated>2015-05-20T13:16:46+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-05-19T21:46:53+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=e62dafeba8f08c1f7588e37cf9cd3fb28e79a020'/>
<id>e62dafeba8f08c1f7588e37cf9cd3fb28e79a020</id>
<content type='text'>
This change uses twisted deferreds for the whole syncing process and paves the
way to implementing other transport schemes. It removes a lot of threaded code
that used locks and was very difficult to maintain, and lets twisted to the
dirty work. Furthermore, all blocking network i/o is now handled
asynchronously by the twisted.

This commit removes the possibility of interrupting a sync, and we should
reimplement it using cancellable deferreds if we need it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change uses twisted deferreds for the whole syncing process and paves the
way to implementing other transport schemes. It removes a lot of threaded code
that used locks and was very difficult to maintain, and lets twisted to the
dirty work. Furthermore, all blocking network i/o is now handled
asynchronously by the twisted.

This commit removes the possibility of interrupting a sync, and we should
reimplement it using cancellable deferreds if we need it.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix order of insertion of decrypted docs</title>
<updated>2015-05-20T13:16:46+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-05-07T17:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=eae4468d99029006cc36a021e82350a0f62f7006'/>
<id>eae4468d99029006cc36a021e82350a0f62f7006</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] use async adbapi for async decryption</title>
<updated>2015-05-20T13:16:46+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-05-04T16:04:56+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=3a7ddacd06fd57afb10cc3d7083c2aa196c9328f'/>
<id>3a7ddacd06fd57afb10cc3d7083c2aa196c9328f</id>
<content type='text'>
Since we started implementing twisted api in soledad, some pieces are missing.
Accessing the sqlcipher database directly with the twisted adbapi facilities
is one of them. The async encryption/decryption was touching the database
directly, and this was causing some difficulties like having different threads
accessing the same database. This commit implements the twisted adbapi stuff
for the asynchronous encryption/decryption facilities.

Next steps would be use async adbapi for async encryption and use async adbapi
for all sqlcipher access.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we started implementing twisted api in soledad, some pieces are missing.
Accessing the sqlcipher database directly with the twisted adbapi facilities
is one of them. The async encryption/decryption was touching the database
directly, and this was causing some difficulties like having different threads
accessing the same database. This commit implements the twisted adbapi stuff
for the asynchronous encryption/decryption facilities.

Next steps would be use async adbapi for async encryption and use async adbapi
for all sqlcipher access.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix log messages for secrets in storage</title>
<updated>2015-05-20T13:16:46+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-05-04T16:26:57+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=b75bedb065cfbbb2993659d867ef554ff70596ae'/>
<id>b75bedb065cfbbb2993659d867ef554ff70596ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix log messages when fetching documents</title>
<updated>2015-05-20T13:16:46+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-04-30T14:47:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=6ab3fe57764c2e5f2a5688d377fe46a51437f0be'/>
<id>6ab3fe57764c2e5f2a5688d377fe46a51437f0be</id>
<content type='text'>
We always got a log message saying "canceling sync threads" in the end of the
sync process, even when there was no error during the sync. This commit
changes that in a way that we only have that log when the sync was actually
cancelled because of an error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We always got a log message saying "canceling sync threads" in the end of the
sync process, even when there was no error during the sync. This commit
changes that in a way that we only have that log when the sync was actually
cancelled because of an error.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] always initialize sync db</title>
<updated>2015-05-20T13:16:46+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-04-30T14:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=3a3f2d8ca5b0ae2adb5007577f2d828677ff64e0'/>
<id>3a3f2d8ca5b0ae2adb5007577f2d828677ff64e0</id>
<content type='text'>
Both deferred encryption and decryption rely on a special sync db. Previous to
this fix, the sync db was only initialized if a syncer was configured with
deferred encryption capabilities. This was a problem when the syncer was not
configured like so, but the actual sync method was initiated configured to do
deferred decryption.

This commit fixes this by always initializing the sync db, so we have the
option of doing all combinations of deferred encryption and decryption.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both deferred encryption and decryption rely on a special sync db. Previous to
this fix, the sync db was only initialized if a syncer was configured with
deferred encryption capabilities. This was a problem when the syncer was not
configured like so, but the actual sync method was initiated configured to do
deferred decryption.

This commit fixes this by always initializing the sync db, so we have the
option of doing all combinations of deferred encryption and decryption.
</pre>
</div>
</content>
</entry>
</feed>
