<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/client/changes, branch release/bitmask-0.9.x-alpha</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[pkg] changes and version_compat bump</title>
<updated>2015-06-05T20:24:23+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-06-05T20:24:17+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=289ae33a90d7e2cb8b33c2bcac1676c6ef926773'/>
<id>289ae33a90d7e2cb8b33c2bcac1676c6ef926773</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag '0.7.0' into develop</title>
<updated>2015-06-04T14:15:28+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-06-04T14:15:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=b73d45aad428a530917a0f7b2e6e75645376eacc'/>
<id>b73d45aad428a530917a0f7b2e6e75645376eacc</id>
<content type='text'>
Tag version 0.7.0.

Conflicts:
	client/pkg/requirements.pip
	common/pkg/requirements.pip
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tag version 0.7.0.

Conflicts:
	client/pkg/requirements.pip
	common/pkg/requirements.pip
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] do not block when getting doc for async enc</title>
<updated>2015-06-03T19:07:50+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-06-02T11:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=36d3fe05282bbc586c52536962cebf636a9b499f'/>
<id>36d3fe05282bbc586c52536962cebf636a9b499f</id>
<content type='text'>
Previous to this change, the actual encryption method used to run on its own
thread. When the close method was called from another thread, the queue could
be deleted after the encryption method loop had started, but before the queue
was checked for new items.

By removing that thread and moving the encryption loop to the reactor, that
race condition should disappear.

Closes: #7088.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous to this change, the actual encryption method used to run on its own
thread. When the close method was called from another thread, the queue could
be deleted after the encryption method loop had started, but before the queue
was checked for new items.

By removing that thread and moving the encryption loop to the reactor, that
race condition should disappear.

Closes: #7088.
</pre>
</div>
</content>
</entry>
<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>
</feed>
