<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git, branch bug/remove-unicode-conversion</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[refactor] change secrets import/export meth names to load/dump</title>
<updated>2016-05-07T20:56:04+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-07T20:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=7efa05d1b09b91c323815e85cae7e6d523259267'/>
<id>7efa05d1b09b91c323815e85cae7e6d523259267</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] remove unneeded asserts</title>
<updated>2016-05-07T20:56:00+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-07T20:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=73af9d386e08124d5cec0af2ec259d9cd5ec67a5'/>
<id>73af9d386e08124d5cec0af2ec259d9cd5ec67a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] use inline deferreds in test for change passphrase</title>
<updated>2016-05-07T20:55:38+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-07T20:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=7374cf48146ba5793b103efa6a6acf115a1391a7'/>
<id>7374cf48146ba5793b103efa6a6acf115a1391a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] turn test for _gen_secret into many unit tests</title>
<updated>2016-05-07T20:55:38+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-07T20:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=e8a8a4a7ee6623b33e5937b9dd6f7d056d871033'/>
<id>e8a8a4a7ee6623b33e5937b9dd6f7d056d871033</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] add recovery doc format version</title>
<updated>2016-05-07T20:55:34+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-07T20:09:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=3d363d0c4ec4f55643ab093c665a8c283d61b1f4'/>
<id>3d363d0c4ec4f55643ab093c665a8c283d61b1f4</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 semaphore parameters</title>
<updated>2016-05-03T13:52:26+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-02T23:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=e1cc83b7a8b66d3a0dabacc9c6dfd83869ad2054'/>
<id>e1cc83b7a8b66d3a0dabacc9c6dfd83869ad2054</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] add sync phase stats</title>
<updated>2016-05-03T13:52:25+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-01T22:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=96dfd54e057875e52e22309b73e58ad4d1ea02a5'/>
<id>96dfd54e057875e52e22309b73e58ad4d1ea02a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] use deferred semaphore</title>
<updated>2016-05-03T13:52:25+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2016-05-01T17:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=b7b7ddaeca42a9cde43c99cf6e3f9a937e5490a8'/>
<id>b7b7ddaeca42a9cde43c99cf6e3f9a937e5490a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] add script to manage test envs</title>
<updated>2016-05-03T13:52:22+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-01T01:33:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=33ecd8375e80e452486b727c2ef54d67d330505c'/>
<id>33ecd8375e80e452486b727c2ef54d67d330505c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] remove doc content conversion to unicode</title>
<updated>2016-05-01T17:25:23+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-05-01T16:34:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=856e302be8c9fbf1f098001d29c3ff1ac447cdcf'/>
<id>856e302be8c9fbf1f098001d29c3ff1ac447cdcf</id>
<content type='text'>
Theoretically (until now), Soledad inherits from U1DB the behaviour of only
accepting valid JSON for documents contents. JSON documents only allow for
unicode strings. Despite that, until now we had implemented lossy convertion
to unicode to avoid encoding errors when dumping/loading JSON content. This
allowed for API users to pass non-unicode to Soledad, but caused the
application to take more time because of conversion.

There were 2 problem with this: (1) conversion may take a long time and a lot
of memory when convertin large payloads; and (2) conversion was being made
before deferring to the adbapi, and this was blocking the reactor.

This commit completelly removes the conversion to unicode, thus leaving the
responsibility of unicode conversion to users of the Soledad API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Theoretically (until now), Soledad inherits from U1DB the behaviour of only
accepting valid JSON for documents contents. JSON documents only allow for
unicode strings. Despite that, until now we had implemented lossy convertion
to unicode to avoid encoding errors when dumping/loading JSON content. This
allowed for API users to pass non-unicode to Soledad, but caused the
application to take more time because of conversion.

There were 2 problem with this: (1) conversion may take a long time and a lot
of memory when convertin large payloads; and (2) conversion was being made
before deferring to the adbapi, and this was blocking the reactor.

This commit completelly removes the conversion to unicode, thus leaving the
responsibility of unicode conversion to users of the Soledad API.
</pre>
</div>
</content>
</entry>
</feed>
