<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/client/src, branch 0.7.2</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[refactor] remove simplejson dep on client</title>
<updated>2015-08-24T17:38:14+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-24T17:38:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=6f3bbe60c5c8875698cc5424baf7aa26ae786770'/>
<id>6f3bbe60c5c8875698cc5424baf7aa26ae786770</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] always emit end-of-sync event</title>
<updated>2015-08-20T19:09:55+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-20T19:08:17+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=1da0dcad540a05828437b2ba0ead617ac40aeccc'/>
<id>1da0dcad540a05828437b2ba0ead617ac40aeccc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] update target metadata after first receive</title>
<updated>2015-08-20T14:27:40+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-20T14:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=39eb29aac3da15b55ff32a1642b6038cfdeaf720'/>
<id>39eb29aac3da15b55ff32a1642b6038cfdeaf720</id>
<content type='text'>
After we receive one document from the target database, we have to update the
target metadata or else we will not be able to succesfully return the new
generation and transaction id of the target when receiving exactly one
document during a sync.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After we receive one document from the target database, we have to update the
target metadata or else we will not be able to succesfully return the new
generation and transaction id of the target when receiving exactly one
document during a sync.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] return tuple in get_sync_info</title>
<updated>2015-08-20T14:26:45+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-20T14:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=350dcff39721a6c94b597ce8191fb58d47308eca'/>
<id>350dcff39721a6c94b597ce8191fb58d47308eca</id>
<content type='text'>
Tests actually expect a tuple instead of a list on the return value of
get_sync_info().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests actually expect a tuple instead of a list on the return value of
get_sync_info().
</pre>
</div>
</content>
</entry>
<entry>
<title>[style] pep8 cleanups</title>
<updated>2015-08-19T19:22:55+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-08-19T19:22:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=ee9ab32cd3cbe6a4fa73401a45faff6a36d16acf'/>
<id>ee9ab32cd3cbe6a4fa73401a45faff6a36d16acf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] wait for db init on sync decrypter pool</title>
<updated>2015-08-19T18:41:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-19T15:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=edf54f4a2c59990c91544614d6014a900a8e3af3'/>
<id>edf54f4a2c59990c91544614d6014a900a8e3af3</id>
<content type='text'>
Previous to this modification, the initialization of the sync decrypter pool
could happen concurrently with other database operations. That could cause the
pool to hang because it could be waiting for something that was mistakenly
deleted because of the wrong order of database operations.

This commit implements a standard which we already use in leap.keymanager and
leap.mail which makes some methods wait for the initialization operation
before they are actually called.

Closes: #7386
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous to this modification, the initialization of the sync decrypter pool
could happen concurrently with other database operations. That could cause the
pool to hang because it could be waiting for something that was mistakenly
deleted because of the wrong order of database operations.

This commit implements a standard which we already use in leap.keymanager and
leap.mail which makes some methods wait for the initialization operation
before they are actually called.

Closes: #7386
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] remove threadpool from sqlcipher backend</title>
<updated>2015-08-19T18:41:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-18T15:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=469136cb6018b7408e06f11131d5108c7892020d'/>
<id>469136cb6018b7408e06f11131d5108c7892020d</id>
<content type='text'>
The old strategy for having Soledad sync running asynchronously with other
API calls was to have the sync running in its own threadpool. This is not
needed now that all sync code uses deferreds and will not block. This commit
removes what's left from the old threadpool.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old strategy for having Soledad sync running asynchronously with other
API calls was to have the sync running in its own threadpool. This is not
needed now that all sync code uses deferreds and will not block. This commit
removes what's left from the old threadpool.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] hold sync lock while running post-sync hooks</title>
<updated>2015-08-19T18:41:25+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-18T15:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=3180d0544afc8000c06065c223d5cf104e806275'/>
<id>3180d0544afc8000c06065c223d5cf104e806275</id>
<content type='text'>
Previous to this modification, the post-sync hooks were run after the sync
lock was released. In that scenario, the next sync process could start before
the previous sync's post-sync hooks were run. In general, we want the hooks to
run while the current sync lock is still locked, even though for some plugins
this might not make a difference.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous to this modification, the post-sync hooks were run after the sync
lock was released. In that scenario, the next sync process could start before
the previous sync's post-sync hooks were run. In general, we want the hooks to
run while the current sync lock is still locked, even though for some plugins
this might not make a difference.
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] rename sync lock and improve docstrings</title>
<updated>2015-08-18T15:09:23+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-18T15:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=a8b9f9a659abd4b1eb7d4a7e7c48e8e1216ddcca'/>
<id>a8b9f9a659abd4b1eb7d4a7e7c48e8e1216ddcca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] clarify sync target closing</title>
<updated>2015-08-18T15:03:16+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-08-18T15:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=fd4412806c8afefc101cc8300d777c8f7e4b2858'/>
<id>fd4412806c8afefc101cc8300d777c8f7e4b2858</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
