<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/test/support, branch 0.10.0</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<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>fix: filedescriptor leak from http_adapters</title>
<updated>2017-07-21T06:53:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-21T06:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=406234367544a4207141230683dddaccd98fb21a'/>
<id>406234367544a4207141230683dddaccd98fb21a</id>
<content type='text'>
Now we reuse a single adapter for all requests triggered
by an incoming request. Then we .terminate the adapter.

Includes a regression test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we reuse a single adapter for all requests triggered
by an incoming request. Then we .terminate the adapter.

Includes a regression test.
</pre>
</div>
</content>
</entry>
<entry>
<title>silence Celluloid.logger in tests</title>
<updated>2016-10-02T13:05:02+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-10-02T13:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=5967c4a568aff2c5e73e3ab933aa68d25387aeb1'/>
<id>5967c4a568aff2c5e73e3ab933aa68d25387aeb1</id>
<content type='text'>
Introduced CelluloidTest as a test class for all tests that depend on
Celluloid being up and running.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduced CelluloidTest as a test class for all tests that depend on
Celluloid being up and running.
</pre>
</div>
</content>
</entry>
<entry>
<title>change default adapter to CelluloidHttp</title>
<updated>2016-09-30T10:47:32+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-30T10:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=ab31d9ca7dca20c873a7240482d1736d0f6b6dae'/>
<id>ab31d9ca7dca20c873a7240482d1736d0f6b6dae</id>
<content type='text'>
Turns out without this nickserver will not respond to multiple concurrent requests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out without this nickserver will not respond to multiple concurrent requests.
</pre>
</div>
</content>
</entry>
<entry>
<title>use plain http.rb rather than celluloid i/o</title>
<updated>2016-09-24T10:02:12+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-24T10:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=5a93f2d29c96e649440101f2d1ca28247631b59e'/>
<id>5a93f2d29c96e649440101f2d1ca28247631b59e</id>
<content type='text'>
Turns out http.rb does not support celluloid i/o andymore and we were not making
use of it anyway.

Here's what https://github.com/httprb/http/wiki/Thread-Safety says:
(NOTE: this gem previously supported Celluloid::IO, but that support was removed to add the current timeout backend. It may be added back in a future version)

So now we have a plain http.rb adapter and use that as the default.
This prevents actors from crashing in the adapter (as we don't have any).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out http.rb does not support celluloid i/o andymore and we were not making
use of it anyway.

Here's what https://github.com/httprb/http/wiki/Thread-Safety says:
(NOTE: this gem previously supported Celluloid::IO, but that support was removed to add the current timeout backend. It may be added back in a future version)

So now we have a plain http.rb adapter and use that as the default.
This prevents actors from crashing in the adapter (as we don't have any).
</pre>
</div>
</content>
</entry>
<entry>
<title>feature: activate nicknym lookup</title>
<updated>2016-09-21T10:48:11+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-21T10:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=6f507ed7b4f53054313173ce795ffd2cbcecd0b7'/>
<id>6f507ed7b4f53054313173ce795ffd2cbcecd0b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: separate remote tests into own directory</title>
<updated>2016-09-12T14:34:57+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-12T14:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=ec875169b0231d84bb8c55bbe91c52b896561f1e'/>
<id>ec875169b0231d84bb8c55bbe91c52b896561f1e</id>
<content type='text'>
Dropped the webmock dependency. We have our own http adapter. So we can
stub that to inject a mock. As an added bonus this does not mess with
other http requests.

Also wrote down testing strategy. Not completely implemented yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dropped the webmock dependency. We have our own http adapter. So we can
stub that to inject a mock. As an added bonus this does not mess with
other http requests.

Also wrote down testing strategy. Not completely implemented yet.
</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>refactor: remove global require in test_helper</title>
<updated>2016-09-10T06:15:47+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-08-31T10:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=f18d698d09afda894a568de79c5770704a0c9de7'/>
<id>f18d698d09afda894a568de79c5770704a0c9de7</id>
<content type='text'>
require all the things we depend upon where we depend upon them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
require all the things we depend upon where we depend upon them.
</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>
