<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/common/src, branch 0.7.1</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[bug] catch 'point is undefined' error on couch</title>
<updated>2015-07-01T17:33:14+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-07-01T17:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=a2fa8ab8b0135529234420555d3ab8890dad8d06'/>
<id>a2fa8ab8b0135529234420555d3ab8890dad8d06</id>
<content type='text'>
When trying to use an unexisting list function, to alter a view, the error is
not a missing document error, but an obscure "TypeError" saying that "point is
undefined" because of the way the javascript code in couchdb server tries to
find the list function.

This commit adds a catch for that error and raises the proper exception in the
soledad couch module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When trying to use an unexisting list function, to alter a view, the error is
not a missing document error, but an obscure "TypeError" saying that "point is
undefined" because of the way the javascript code in couchdb server tries to
find the list function.

This commit adds a catch for that error and raises the proper exception in the
soledad couch module.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix https tests by using new http client</title>
<updated>2015-06-30T19:41:52+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-06-30T19:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=3122e3fd70b9bccf429f790241472b366313d324'/>
<id>3122e3fd70b9bccf429f790241472b366313d324</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] add close() to mocked shared db test util</title>
<updated>2015-06-30T19:39:04+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-06-30T19:39:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=d56b7be02a854c40ca9c7a9570d0b5c3333f01f5'/>
<id>d56b7be02a854c40ca9c7a9570d0b5c3333f01f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] Make test_server parallelizable</title>
<updated>2015-06-26T20:47:40+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2015-05-24T21:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=813fa3940be6755619c29ddf0fbbcc83b446c36d'/>
<id>813fa3940be6755619c29ddf0fbbcc83b446c36d</id>
<content type='text'>
Using real uuid to separate Locks on each test allow them to
be run in parallel. Using real uuid also allows parallel syncs.
This is being done to allow test suite to run in parallel on future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using real uuid to separate Locks on each test allow them to
be run in parallel. Using real uuid also allows parallel syncs.
This is being done to allow test suite to run in parallel on future.
</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>[feat] Retry to start couch and clean properly</title>
<updated>2015-05-26T18:28:28+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2015-05-26T18:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=fe19e46c8f11f5b27164112a61a7405aa0e0d455'/>
<id>fe19e46c8f11f5b27164112a61a7405aa0e0d455</id>
<content type='text'>
Now the CouchDB based tests will try 3 times before give up due to
timeout or some temporary error. The stop function will also execute
properly even if the process wasn't created, leaving no lost files or
folders behind.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now the CouchDB based tests will try 3 times before give up due to
timeout or some temporary error. The stop function will also execute
properly even if the process wasn't created, leaving no lost files or
folders behind.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] Avoid infinite loop starting couch for tests</title>
<updated>2015-05-26T18:28:06+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2015-05-22T22:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=97cd46960c7dacdda3739223fee129c672fef82e'/>
<id>97cd46960c7dacdda3739223fee129c672fef82e</id>
<content type='text'>
As described in #4691, sometimes couch just hangs and all testing
freezes. This is due to no output from couch (sometimes meaning that an
error on boot wasn't logged). This adds a timeout and checks for it
while booting for tests. Closes #4691
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As described in #4691, sometimes couch just hangs and all testing
freezes. This is due to no output from couch (sometimes meaning that an
error on boot wasn't logged). This adds a timeout and checks for it
while booting for tests. Closes #4691
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fixes changes made by PR #211 due to bug 6833</title>
<updated>2015-05-26T18:27:33+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2015-05-22T22:01:03+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=e4963b12cd700e67c74b9a519a1f659990f2a689'/>
<id>e4963b12cd700e67c74b9a519a1f659990f2a689</id>
<content type='text'>
CouchServerState does not use two extra parameters anymore. Tests are
now reflecting this change. Relate to #6833
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CouchServerState does not use two extra parameters anymore. Tests are
now reflecting this change. Relate to #6833
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] tests now accept any couchdb version</title>
<updated>2015-05-25T20:55:56+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2015-05-22T21:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=c32a444be61b18269dcdba556a641546df1d9f78'/>
<id>c32a444be61b18269dcdba556a641546df1d9f78</id>
<content type='text'>
The .ini used before was very old and did not contain all the config
values that couch needs. Using -n resets the configuration file chain,
making it use what is provided without including the system defaults
needed. To make it work with all versions the util will now copy
default.ini to temp dir and use it as additional config, overwriting
only what is needed with couchdb.ini.template provided.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The .ini used before was very old and did not contain all the config
values that couch needs. Using -n resets the configuration file chain,
making it use what is provided without including the system defaults
needed. To make it work with all versions the util will now copy
default.ini to temp dir and use it as additional config, overwriting
only what is needed with couchdb.ini.template provided.
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] remove unneded params to CouchServerState</title>
<updated>2015-04-09T15:20:19+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-04-09T15:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=5a9eac4ba0d4ddc419fdaaee4d08dbc7d8115294'/>
<id>5a9eac4ba0d4ddc419fdaaee4d08dbc7d8115294</id>
<content type='text'>
This commit removes some leftover code from a time when Soledad Server used to
check for permissions on certain databases when starting (i.e. shared and
tokens databases). This was later removed as correct permissions enforcement
was relayed to tapicero.

Closes: #6833.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit removes some leftover code from a time when Soledad Server used to
check for permissions on certain databases when starting (i.e. shared and
tokens databases). This was later removed as correct permissions enforcement
was relayed to tapicero.

Closes: #6833.
</pre>
</div>
</content>
</entry>
</feed>
