<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/test/unit/nicknym, branch master</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<entry>
<title>style: rubocop mostly auto-correct</title>
<updated>2017-09-23T14:53:27+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-23T09:07:32+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=40916407517f4bdb75a295caf29e02d4f403349b'/>
<id>40916407517f4bdb75a295caf29e02d4f403349b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: #3 handle domains without A-record</title>
<updated>2017-07-24T08:03:22+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-24T07:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=b1738a78ccf5768f92068a27255f9f69be1c3147'/>
<id>b1738a78ccf5768f92068a27255f9f69be1c3147</id>
<content type='text'>
If a domain only has an mx record but no A record it
will trigger a ConnectionError when attempting the
nicknym key lookup.

We need to detect and handle this in the http adapter
already because once the exception is handled by Celluloid
our actor will be terminated.

So now we allow for handing a rescue option to the
adapter with a string that is checked for inclusion in
the error message. If the string is found the exception
will be caught and the adapter returns nil.

We only make use of this when checking the availability
of nicknym so far. That should be the only http request
going out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a domain only has an mx record but no A record it
will trigger a ConnectionError when attempting the
nicknym key lookup.

We need to detect and handle this in the http adapter
already because once the exception is handled by Celluloid
our actor will be terminated.

So now we allow for handing a rescue option to the
adapter with a string that is checked for inclusion in
the error message. If the string is found the exception
will be caught and the adapter returns nil.

We only make use of this when checking the availability
of nicknym so far. That should be the only http request
going out.
</pre>
</div>
</content>
</entry>
<entry>
<title>hand on connection errors to dispatcher so it can handle it</title>
<updated>2016-09-22T09:31:01+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-22T09:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=1202e3b03c3bb88cd3a63dae3866167564f1d25d'/>
<id>1202e3b03c3bb88cd3a63dae3866167564f1d25d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>deal with network issues in nicknym source</title>
<updated>2016-09-16T12:33:01+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-16T12:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=964cd0b049e67ca10bd37b67c4b14ccd37064511'/>
<id>964cd0b049e67ca10bd37b67c4b14ccd37064511</id>
<content type='text'>
This is a first step. In case the suspected nicknym server cannot be
reached we will now move on and try other sources.

It's robably not what we want in the long run. In order to know wether
no key exists or we just failed to connect to some servers a different
http response code would be nice if network errors occured.

This simplifies testing such scenarios in the unit test and makes the
remote tests skip on network failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a first step. In case the suspected nicknym server cannot be
reached we will now move on and try other sources.

It's robably not what we want in the long run. In order to know wether
no key exists or we just failed to connect to some servers a different
http response code would be nice if network errors occured.

This simplifies testing such scenarios in the unit test and makes the
remote tests skip on network failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: properly test nicknym source + fixes</title>
<updated>2016-09-16T10:12:34+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-13T14:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=f5bf2c6554f0e541c75d90fdcf4f0095e9801d4d'/>
<id>f5bf2c6554f0e541c75d90fdcf4f0095e9801d4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[wip] nicknym source query implemented</title>
<updated>2016-09-12T09:42:02+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-12T09:42:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=ce09dd9c21d79e2260f9436e41f9970b42935b27'/>
<id>ce09dd9c21d79e2260f9436e41f9970b42935b27</id>
<content type='text'>
Also changed Nickserver::Response to not include the status code.
This may be okay for error responses but in most cases we want to
have a parsable message and not some status code prepended to it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also changed Nickserver::Response to not include the status code.
This may be okay for error responses but in most cases we want to
have a parsable message and not some status code prepended to it.
</pre>
</div>
</content>
</entry>
<entry>
<title>wip: key lookup by address via leaps nicknym</title>
<updated>2016-08-31T10:14:52+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-08-30T10:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=625416ac16a1216240fc4c48aa19802ef8a967a1'/>
<id>625416ac16a1216240fc4c48aa19802ef8a967a1</id>
<content type='text'>
I added a RequestHandler that uses Nicknym::Source - but that has not
been implemented yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I added a RequestHandler that uses Nicknym::Source - but that has not
been implemented yet.
</pre>
</div>
</content>
</entry>
</feed>
