<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/lib, branch version/0.10</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<entry>
<title>Version 0.10.0</title>
<updated>2017-08-03T14:41:18+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-08-03T14:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=4a9ac60d97b02680ea7197ddb9c00c261b9a33f3'/>
<id>4a9ac60d97b02680ea7197ddb9c00c261b9a33f3</id>
<content type='text'>
This is a maintainance release - bugfixes and upgrades of dependencies.

This release fixes a major issue with leaking file descriptors. Please
upgrade as soon as possible. Ruby 2.1 is required - no other upgrade
issues are known.

bugfixes:
 * #3 handle domains without A-record
 * filedescriptor leak from http_adapters
 * send empty json object on 404 rather than nil
 * remote nicknym is on port 6425
 * use user:password@ prefix in http basic auth

upgrades:
 * require at least ruby 2.1
 * upgrade bundled gems to latest available

tests:
 * more meaningful error messages in case of failures
 * test bundle is up to date
 * regression test for nonexisting domain

integration:
 * Add systemd service unit file
 * Restart nickserver automatically from systemd
 * gitignore: bundle dir

cleanup:
 * old empty adapters and tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a maintainance release - bugfixes and upgrades of dependencies.

This release fixes a major issue with leaking file descriptors. Please
upgrade as soon as possible. Ruby 2.1 is required - no other upgrade
issues are known.

bugfixes:
 * #3 handle domains without A-record
 * filedescriptor leak from http_adapters
 * send empty json object on 404 rather than nil
 * remote nicknym is on port 6425
 * use user:password@ prefix in http basic auth

upgrades:
 * require at least ruby 2.1
 * upgrade bundled gems to latest available

tests:
 * more meaningful error messages in case of failures
 * test bundle is up to date
 * regression test for nonexisting domain

integration:
 * Add systemd service unit file
 * Restart nickserver automatically from systemd
 * gitignore: bundle dir

cleanup:
 * old empty adapters and tests
</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>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>bugfix: send empty json object on 404 rather than nil</title>
<updated>2016-12-05T13:38:43+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-05T13:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=8e4dca14c904c405fd56d27e6efe77ec17e80457'/>
<id>8e4dca14c904c405fd56d27e6efe77ec17e80457</id>
<content type='text'>
sending nothing was keeping the connection alive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sending nothing was keeping the connection alive.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: remote nicknym is on port 6425</title>
<updated>2016-12-02T18:21:11+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T18:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=afdfd541dedf77c0cb2dba62edd364e7b145d1b5'/>
<id>afdfd541dedf77c0cb2dba62edd364e7b145d1b5</id>
<content type='text'>
We may use a different port in the config that is then mapped somehow.
But this should not affect where we try to contact remote nicknym servers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We may use a different port in the config that is then mapped somehow.
But this should not affect where we try to contact remote nicknym servers.
</pre>
</div>
</content>
</entry>
<entry>
<title>debug: raise error on 401</title>
<updated>2016-12-02T11:24:13+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T11:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=0aa101524270c0c398fe17c287d51927f810e499'/>
<id>0aa101524270c0c398fe17c287d51927f810e499</id>
<content type='text'>
This will get us more debug info in the logs if it happens again
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will get us more debug info in the logs if it happens again
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: use user:password@ prefix in http basic auth</title>
<updated>2016-12-02T10:36:02+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T10:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=65600992f5317ec8889428001313e36629b1e877'/>
<id>65600992f5317ec8889428001313e36629b1e877</id>
<content type='text'>
http.rb does not do this on its own.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http.rb does not do this on its own.
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup: old empty adapters and tests</title>
<updated>2016-12-02T10:31:20+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T10:31:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=396b34a52aa7594866fda090f1329827488e98bc'/>
<id>396b34a52aa7594866fda090f1329827488e98bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Version 0.9.0</title>
<updated>2016-10-17T09:02:40+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-10-02T13:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=968c6304e01b89cb6e5c62e8f067cf371c12dca4'/>
<id>968c6304e01b89cb6e5c62e8f067cf371c12dca4</id>
<content type='text'>
Allow queries by fingerprint (using keyservers to reply) and support key
lookup from other nickservers.

This is a major rewrite both in terms of our dependencies and our
architecture.  We moved the server and http_client from eventmachine to
Celluloid based libraries. This allows for a more concise syntax and
proper https handling.

In addition we now support ruby 2.3, use a Logger instead of stdout and handle
network errors properly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow queries by fingerprint (using keyservers to reply) and support key
lookup from other nickservers.

This is a major rewrite both in terms of our dependencies and our
architecture.  We moved the server and http_client from eventmachine to
Celluloid based libraries. This allows for a more concise syntax and
proper https handling.

In addition we now support ruby 2.3, use a Logger instead of stdout and handle
network errors properly
</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>
</feed>
